Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
rancher
master
Rancher
Account
AccountLink
ActiveSetting
AddOutputsInput
AddRemoveServiceLinkInput
Agent
Amazonec2Config
ApiKey
AuditLog
Azureadconfig
AzureConfig
Backup
BackupTarget
BaseMachineConfig
Binding
BlkioDeviceOption
CatalogTemplate
Certificate
ChangeSecretInput
Client
ClusterMembership
Collection
ComposeConfig
ComposeConfigInput
ComposeProject
ComposeService
Config
ConfigItem
ConfigItemStatus
Container
ContainerEvent
ContainerExec
ContainerLogs
ContainerProxy
Credential
Databasechangelog
Databasechangeloglock
DefaultNetwork
DigitaloceanConfig
DnsService
DockerBuild
ExtensionImplementation
ExtensionPoint
ExternalCredential
ExternalDnsEvent
ExternalEvent
ExternalHandler
ExternalHandlerExternalHandlerProcessMap
ExternalHandlerProcess
ExternalHandlerProcessConfig
ExternalHostEvent
ExternalService
ExternalServiceEvent
ExternalStoragePoolEvent
ExternalVolumeEvent
FieldDocumentation
GenericConfig
GenericObject
HaConfig
HaConfigInput
HealthcheckInstanceHostMap
Host
HostAccess
HostApiProxyToken
HostTemplate
Identity
Image
InServiceUpgradeStrategy
Instance
InstanceConsole
InstanceConsoleInput
InstanceHealthCheck
InstanceLink
InstanceStop
IpAddress
KubernetesService
KubernetesStack
KubernetesStackUpgrade
Label
LaunchConfig
LbConfig
LbTargetConfig
LoadBalancerCookieStickinessPolicy
LoadBalancerService
LocalAuthConfig
LogConfig
Machine
MachineDriver
Mount
MountEntry
Network
NetworkDriver
NetworkDriverService
NetworkPolicyRule
NetworkPolicyRuleBetween
NetworkPolicyRuleMember
NetworkPolicyRuleWithin
NfsConfig
Object
Openldapconfig
PacketConfig
Password
PhysicalHost
Port
PortRule
ProcessDefinition
ProcessExecution
ProcessInstance
ProcessPool
ProcessSummary
Project
ProjectMember
ProjectTemplate
PublicEndpoint
Publish
PullTask
RecreateOnQuorumStrategyConfig
Region
Register
RegistrationToken
Registry
RegistryCredential
ResourceDefinition
RestartPolicy
RestoreFromBackupInput
RevertToSnapshotInput
RollingRestartStrategy
ScalePolicy
ScheduledUpgrade
Schema
SecondaryLaunchConfig
Secret
SecretReference
Service
ServiceBinding
ServiceConsumeMap
ServiceEvent
ServiceExposeMap
ServiceLink
ServiceLog
ServiceProxy
ServiceRestart
ServicesPortRange
ServiceUpgrade
ServiceUpgradeStrategy
SetProjectMembersInput
SetServiceLinksInput
Setting
Snapshot
SnapshotBackupInput
Stack
StackUpgrade
StateTransition
StatsAccess
StorageDriver
StorageDriverService
StoragePool
Subnet
Subscribe
TargetPortRule
Task
TaskInstance
ToServiceUpgradeStrategy
TypeDocumentation
Ulimit
UserPreference
VirtualMachine
VirtualMachineDisk
Volume
VolumeActivateInput
VolumeSnapshotInput
VolumeTemplate
Template
Built with Crystal 1.9.2
2023-10-07 21:34:36 UTC
class
Rancher::Config
Rancher::Config
Reference
Object
Defined in:
rancher/config.cr
Constructors
.new
(url : String, access_key : String, secret_key : String)
Class Method Summary
.from_env
Instance Method Summary
#access_key
: String
#secret_key
: String
#url
: String
Constructor Detail
def self.
new
(url : String, access_key : String, secret_key : String)
#
[
View source
]
Class Method Detail
def self.
from_env
#
[
View source
]
Instance Method Detail
def
access_key
: String
#
[
View source
]
def
secret_key
: String
#
[
View source
]
def
url
: String
#
[
View source
]