Documentation ¶
Index ¶
- Constants
- type AWSCloudProvider
- type AciNetworkProvider
- type AuditLog
- type AuditLogConfig
- type AuthWebhookConfig
- type AuthnConfig
- type AuthzConfig
- type AzureCloudProvider
- type BackupConfig
- type BaseService
- type BastionHost
- type BlockStorageOpenstackOpts
- type CalicoNetworkProvider
- type CanalNetworkProvider
- type CloudProvider
- type Configuration
- type DNSConfig
- type DaemonSetUpdateStrategy
- type DeploymentStrategy
- type DiskVsphereOpts
- type ECRCredentialPlugin
- type ETCDService
- type EtcdBackupCondition
- type EtcdBackupSpec
- type EtcdBackupStatus
- type EventRateLimit
- type ExtraEnv
- type ExtraVolume
- type ExtraVolumeMount
- type File
- type FlannelNetworkProvider
- type GlobalAwsOpts
- type GlobalOpenstackOpts
- type GlobalVsphereOpts
- type HarvesterCloudProvider
- type HealthCheck
- type IngressConfig
- type K8sVersionInfo
- type KubeAPIService
- type KubeControllerService
- type KubeletService
- type KubeproxyService
- type KubernetesServicesOptions
- type Limit
- type LimitType
- type LinearAutoscalerParams
- type LoadBalancerOpenstackOpts
- type MetadataOpenstackOpts
- type MonitoringConfig
- type NetworkConfig
- type NetworkVshpereOpts
- type NodeDrainInput
- type NodeUpgradeStrategy
- type Nodelocal
- type OpenstackCloudProvider
- type PortCheck
- type PrivateRegistry
- type Process
- type RKEConfigNode
- type RKEConfigNodePlan
- type RKEConfigServices
- type RKEPlan
- type RKESystemImages
- type RKETaint
- type RancherKubernetesEngineConfig
- type RestoreConfig
- type RotateCertificates
- type RouteOpenstackOpts
- type S3BackupConfig
- type SchedulerService
- type SecretsEncryptionConfig
- type ServiceOverride
- type VirtualCenterConfig
- type VsphereCloudProvider
- type WeaveNetworkProvider
- type WorkspaceVsphereOpts
Constants ¶
const ( BackupConditionCreated condition.Cond = "Created" BackupConditionCompleted condition.Cond = "Completed" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSCloudProvider ¶
type AWSCloudProvider struct { Global GlobalAwsOpts `json:"global" yaml:"global" ini:"Global,omitempty"` ServiceOverride map[string]ServiceOverride `json:"serviceOverride,omitempty" yaml:"service_override,omitempty" ini:"ServiceOverride,omitempty"` }
AWSCloudProvider options
func (*AWSCloudProvider) DeepCopy ¶
func (in *AWSCloudProvider) DeepCopy() *AWSCloudProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSCloudProvider.
func (*AWSCloudProvider) DeepCopyInto ¶
func (in *AWSCloudProvider) DeepCopyInto(out *AWSCloudProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AciNetworkProvider ¶ added in v1.2.4
type AciNetworkProvider struct { SystemIdentifier string `yaml:"system_id,omitempty" json:"systemId,omitempty"` ApicHosts []string `yaml:"apic_hosts" json:"apicHosts,omitempty"` Token string `yaml:"token,omitempty" json:"token,omitempty"` ApicUserName string `yaml:"apic_user_name,omitempty" json:"apicUserName,omitempty"` ApicUserKey string `yaml:"apic_user_key,omitempty" json:"apicUserKey,omitempty"` ApicUserCrt string `yaml:"apic_user_crt,omitempty" json:"apicUserCrt,omitempty"` ApicRefreshTime string `yaml:"apic_refresh_time,omitempty" json:"apicRefreshTime,omitempty" norman:"default=1200"` VmmDomain string `yaml:"vmm_domain,omitempty" json:"vmmDomain,omitempty"` VmmController string `yaml:"vmm_controller,omitempty" json:"vmmController,omitempty"` EncapType string `yaml:"encap_type,omitempty" json:"encapType,omitempty"` NodeSubnet string `yaml:"node_subnet,omitempty" json:"nodeSubnet,omitempty"` McastRangeStart string `yaml:"mcast_range_start,omitempty" json:"mcastRangeStart,omitempty"` McastRangeEnd string `yaml:"mcast_range_end,omitempty" json:"mcastRangeEnd,omitempty"` AEP string `yaml:"aep,omitempty" json:"aep,omitempty"` VRFName string `yaml:"vrf_name,omitempty" json:"vrfName,omitempty"` VRFTenant string `yaml:"vrf_tenant,omitempty" json:"vrfTenant,omitempty"` L3Out string `yaml:"l3out,omitempty" json:"l3out,omitempty"` L3OutExternalNetworks []string `yaml:"l3out_external_networks" json:"l3outExternalNetworks,omitempty"` DynamicExternalSubnet string `yaml:"extern_dynamic,omitempty" json:"externDynamic,omitempty"` StaticExternalSubnet string `yaml:"extern_static,omitempty" json:"externStatic,omitempty"` ServiceGraphSubnet string `yaml:"node_svc_subnet,omitempty" json:"nodeSvcSubnet,omitempty"` KubeAPIVlan string `yaml:"kube_api_vlan,omitempty" json:"kubeApiVlan,omitempty"` ServiceVlan string `yaml:"service_vlan,omitempty" json:"serviceVlan,omitempty"` InfraVlan string `yaml:"infra_vlan,omitempty" json:"infraVlan,omitempty"` Tenant string `yaml:"tenant,omitempty" json:"tenant,omitempty"` OVSMemoryLimit string `yaml:"ovs_memory_limit,omitempty" json:"ovsMemoryLimit,omitempty"` ImagePullPolicy string `yaml:"image_pull_policy,omitempty" json:"imagePullPolicy,omitempty"` ImagePullSecret string `yaml:"image_pull_secret,omitempty" json:"imagePullSecret,omitempty"` ServiceMonitorInterval string `yaml:"service_monitor_interval,omitempty" json:"serviceMonitorInterval,omitempty"` PBRTrackingNonSnat string `yaml:"pbr_tracking_non_snat,omitempty" json:"pbrTrackingNonSnat,omitempty"` InstallIstio string `yaml:"install_istio,omitempty" json:"installIstio,omitempty"` IstioProfile string `yaml:"istio_profile,omitempty" json:"istioProfile,omitempty"` DropLogEnable string `yaml:"drop_log_enable,omitempty" json:"dropLogEnable,omitempty"` ControllerLogLevel string `yaml:"controller_log_level,omitempty" json:"controllerLogLevel,omitempty"` HostAgentLogLevel string `yaml:"host_agent_log_level,omitempty" json:"hostAgentLogLevel,omitempty"` OpflexAgentLogLevel string `yaml:"opflex_log_level,omitempty" json:"opflexLogLevel,omitempty"` UseAciCniPriorityClass string `yaml:"use_aci_cni_priority_class,omitempty" json:"useAciCniPriorityClass,omitempty"` NoPriorityClass string `yaml:"no_priority_class,omitempty" json:"noPriorityClass,omitempty"` MaxNodesSvcGraph string `yaml:"max_nodes_svc_graph,omitempty" json:"maxNodesSvcGraph,omitempty"` SnatContractScope string `yaml:"snat_contract_scope,omitempty" json:"snatContractScope,omitempty"` PodSubnetChunkSize string `yaml:"pod_subnet_chunk_size,omitempty" json:"podSubnetChunkSize,omitempty"` EnableEndpointSlice string `yaml:"enable_endpoint_slice,omitempty" json:"enableEndpointSlice,omitempty"` SnatNamespace string `yaml:"snat_namespace,omitempty" json:"snatNamespace,omitempty"` EpRegistry string `yaml:"ep_registry,omitempty" json:"epRegistry,omitempty"` OpflexMode string `yaml:"opflex_mode,omitempty" json:"opflexMode,omitempty"` SnatPortRangeStart string `yaml:"snat_port_range_start,omitempty" json:"snatPortRangeStart,omitempty"` SnatPortRangeEnd string `yaml:"snat_port_range_end,omitempty" json:"snatPortRangeEnd,omitempty"` SnatPortsPerNode string `yaml:"snat_ports_per_node,omitempty" json:"snatPortsPerNode,omitempty"` OpflexClientSSL string `yaml:"opflex_client_ssl,omitempty" json:"opflexClientSsl,omitempty"` UsePrivilegedContainer string `yaml:"use_privileged_container,omitempty" json:"usePrivilegedContainer,omitempty"` UseHostNetnsVolume string `yaml:"use_host_netns_volume,omitempty" json:"useHostNetnsVolume,omitempty"` UseOpflexServerVolume string `yaml:"use_opflex_server_volume,omitempty" json:"useOpflexServerVolume,omitempty"` SubnetDomainName string `yaml:"subnet_domain_name,omitempty" json:"subnetDomainName,omitempty"` KafkaBrokers []string `yaml:"kafka_brokers,omitempty" json:"kafkaBrokers,omitempty"` KafkaClientCrt string `yaml:"kafka_client_crt,omitempty" json:"kafkaClientCrt,omitempty"` KafkaClientKey string `yaml:"kafka_client_key,omitempty" json:"kafkaClientKey,omitempty"` CApic string `yaml:"capic,omitempty" json:"capic,omitempty"` UseAciAnywhereCRD string `yaml:"use_aci_anywhere_crd,omitempty" json:"useAciAnywhereCrd,omitempty"` OverlayVRFName string `yaml:"overlay_vrf_name,omitempty" json:"overlayVrfName,omitempty"` GbpPodSubnet string `yaml:"gbp_pod_subnet,omitempty" json:"gbpPodSubnet,omitempty"` RunGbpContainer string `yaml:"run_gbp_container,omitempty" json:"runGbpContainer,omitempty"` RunOpflexServerContainer string `yaml:"run_opflex_server_container,omitempty" json:"runOpflexServerContainer,omitempty"` OpflexServerPort string `yaml:"opflex_server_port,omitempty" json:"opflexServerPort,omitempty"` DurationWaitForNetwork string `yaml:"duration_wait_for_network,omitempty" json:"durationWaitForNetwork,omitempty"` DisableWaitForNetwork string `yaml:"disable_wait_for_network,omitempty" json:"disableWaitForNetwork,omitempty"` ApicSubscriptionDelay string `yaml:"apic_subscription_delay,omitempty" json:"apicSubscriptionDelay,omitempty"` ApicRefreshTickerAdjust string `yaml:"apic_refresh_ticker_adjust,omitempty" json:"apicRefreshTickerAdjust,omitempty"` DisablePeriodicSnatGlobalInfoSync string `yaml:"disable_periodic_snat_global_info_sync,omitempty" json:"disablePeriodicSnatGlobalInfoSync,omitempty"` OpflexDeviceDeleteTimeout string `yaml:"opflex_device_delete_timeout,omitempty" json:"opflexDeviceDeleteTimeout,omitempty"` MTUHeadRoom string `yaml:"mtu_head_room,omitempty" json:"mtuHeadRoom,omitempty"` NodePodIfEnable string `yaml:"node_pod_if_enable,omitempty" json:"nodePodIfEnable,omitempty"` SriovEnable string `yaml:"sriov_enable,omitempty" json:"sriovEnable,omitempty"` MultusDisable string `yaml:"multus_disable,omitempty" json:"multusDisable,omitempty"` UseClusterRole string `yaml:"use_cluster_role,omitempty" json:"useClusterRole,omitempty"` NoWaitForServiceEpReadiness string `yaml:"no_wait_for_service_ep_readiness,omitempty" json:"noWaitForServiceEpReadiness,omitempty"` AddExternalSubnetsToRdconfig string `yaml:"add_external_subnets_to_rdconfig,omitempty" json:"addExternalSubnetsToRdconfig,omitempty"` ServiceGraphEndpointAddDelay string `yaml:"service_graph_endpoint_add_delay,omitempty" json:"serviceGraphEndpointAddDelay,omitempty"` ServiceGraphEndpointAddServices []map[string]string `yaml:"service_graph_endpoint_add_services,omitempty" json:"serviceGraphEndpointAddServices,omitempty"` HppOptimization string `yaml:"hpp_optimization,omitempty" json:"hppOptimization,omitempty"` SleepTimeSnatGlobalInfoSync string `yaml:"sleep_time_snat_global_info_sync,omitempty" json:"sleepTimeSnatGlobalInfoSync,omitempty"` OpflexAgentOpflexAsyncjsonEnabled string `yaml:"opflex_agent_opflex_asyncjson_enabled,omitempty" json:"opflexAgentOpflexAsyncjsonEnabled,omitempty"` OpflexAgentOvsAsyncjsonEnabled string `yaml:"opflex_agent_ovs_asyncjson_enabled,omitempty" json:"opflexAgentOvsAsyncjsonEnabled,omitempty"` OpflexAgentPolicyRetryDelayTimer string `yaml:"opflex_agent_policy_retry_delay_timer,omitempty" json:"opflexAgentPolicyRetryDelayTimer,omitempty"` AciMultipod string `yaml:"aci_multipod,omitempty" json:"aciMultipod,omitempty"` AciMultipodUbuntu string `yaml:"aci_multipod_ubuntu,omitempty" json:"aciMultipodUbuntu,omitempty"` DhcpRenewMaxRetryCount string `yaml:"dhcp_renew_max_retry_count,omitempty" json:"dhcpRenewMaxRetryCount,omitempty"` DhcpDelay string `yaml:"dhcp_delay,omitempty" json:"dhcpDelay,omitempty"` }
func (*AciNetworkProvider) DeepCopy ¶ added in v1.2.4
func (in *AciNetworkProvider) DeepCopy() *AciNetworkProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AciNetworkProvider.
func (*AciNetworkProvider) DeepCopyInto ¶ added in v1.2.4
func (in *AciNetworkProvider) DeepCopyInto(out *AciNetworkProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuditLog ¶
type AuditLog struct { Enabled bool `yaml:"enabled" json:"enabled,omitempty"` Configuration *AuditLogConfig `yaml:"configuration" json:"configuration,omitempty"` }
func (*AuditLog) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditLog.
func (*AuditLog) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuditLogConfig ¶
type AuditLogConfig struct { MaxAge int `yaml:"max_age" json:"maxAge,omitempty"` MaxBackup int `yaml:"max_backup" json:"maxBackup,omitempty"` MaxSize int `yaml:"max_size" json:"maxSize,omitempty"` Path string `yaml:"path" json:"path,omitempty"` Format string `yaml:"format" json:"format,omitempty"` Policy *auditv1.Policy `yaml:"policy" json:"policy,omitempty" norman:"type=map[json]"` }
func (*AuditLogConfig) DeepCopy ¶
func (in *AuditLogConfig) DeepCopy() *AuditLogConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditLogConfig.
func (*AuditLogConfig) DeepCopyInto ¶
func (in *AuditLogConfig) DeepCopyInto(out *AuditLogConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthWebhookConfig ¶
type AuthWebhookConfig struct { // ConfigFile is a multiline string that represent a custom webhook config file ConfigFile string `yaml:"config_file" json:"configFile,omitempty"` // CacheTimeout controls how long to cache authentication decisions CacheTimeout string `yaml:"cache_timeout" json:"cacheTimeout,omitempty"` }
func (*AuthWebhookConfig) DeepCopy ¶
func (in *AuthWebhookConfig) DeepCopy() *AuthWebhookConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthWebhookConfig.
func (*AuthWebhookConfig) DeepCopyInto ¶
func (in *AuthWebhookConfig) DeepCopyInto(out *AuthWebhookConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthnConfig ¶
type AuthnConfig struct { // Authentication strategy that will be used in kubernetes cluster Strategy string `yaml:"strategy" json:"strategy,omitempty" norman:"default=x509"` // List of additional hostnames and IPs to include in the api server PKI cert SANs []string `yaml:"sans" json:"sans,omitempty"` // Webhook configuration options Webhook *AuthWebhookConfig `yaml:"webhook" json:"webhook,omitempty"` }
func (*AuthnConfig) DeepCopy ¶
func (in *AuthnConfig) DeepCopy() *AuthnConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthnConfig.
func (*AuthnConfig) DeepCopyInto ¶
func (in *AuthnConfig) DeepCopyInto(out *AuthnConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthzConfig ¶
type AuthzConfig struct { // Authorization mode used by kubernetes Mode string `yaml:"mode" json:"mode,omitempty"` // Authorization mode options Options map[string]string `yaml:"options" json:"options,omitempty"` }
func (*AuthzConfig) DeepCopy ¶
func (in *AuthzConfig) DeepCopy() *AuthzConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthzConfig.
func (*AuthzConfig) DeepCopyInto ¶
func (in *AuthzConfig) DeepCopyInto(out *AuthzConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureCloudProvider ¶
type AzureCloudProvider struct { // The cloud environment identifier. Takes values from https://github.com/Azure/go-autorest/blob/ec5f4903f77ed9927ac95b19ab8e44ada64c1356/autorest/azure/environments.go#L13 Cloud string `json:"cloud" yaml:"cloud"` // The AAD Tenant ID for the Subscription that the cluster is deployed in TenantID string `json:"tenantId" yaml:"tenantId"` // The ID of the Azure Subscription that the cluster is deployed in SubscriptionID string `json:"subscriptionId" yaml:"subscriptionId"` // The name of the resource group that the cluster is deployed in ResourceGroup string `json:"resourceGroup" yaml:"resourceGroup"` // The location of the resource group that the cluster is deployed in Location string `json:"location" yaml:"location"` // The name of the VNet that the cluster is deployed in VnetName string `json:"vnetName" yaml:"vnetName"` // The name of the resource group that the Vnet is deployed in VnetResourceGroup string `json:"vnetResourceGroup" yaml:"vnetResourceGroup"` // The name of the subnet that the cluster is deployed in SubnetName string `json:"subnetName" yaml:"subnetName"` // The name of the security group attached to the cluster's subnet SecurityGroupName string `json:"securityGroupName" yaml:"securityGroupName"` // (Optional in 1.6) The name of the route table attached to the subnet that the cluster is deployed in RouteTableName string `json:"routeTableName" yaml:"routeTableName"` // (Optional) The name of the availability set that should be used as the load balancer backend // If this is set, the Azure cloudprovider will only add nodes from that availability set to the load // balancer backend pool. If this is not set, and multiple agent pools (availability sets) are used, then // the cloudprovider will try to add all nodes to a single backend pool which is forbidden. // In other words, if you use multiple agent pools (availability sets), you MUST set this field. PrimaryAvailabilitySetName string `json:"primaryAvailabilitySetName" yaml:"primaryAvailabilitySetName"` // The type of azure nodes. Candidate valudes are: vmss and standard. // If not set, it will be default to standard. VMType string `json:"vmType" yaml:"vmType"` // The name of the scale set that should be used as the load balancer backend. // If this is set, the Azure cloudprovider will only add nodes from that scale set to the load // balancer backend pool. If this is not set, and multiple agent pools (scale sets) are used, then // the cloudprovider will try to add all nodes to a single backend pool which is forbidden. // In other words, if you use multiple agent pools (scale sets), you MUST set this field. PrimaryScaleSetName string `json:"primaryScaleSetName" yaml:"primaryScaleSetName"` // The ClientID for an AAD application with RBAC access to talk to Azure RM APIs // This's used for service principal authentication: https://github.com/Azure/aks-engine/blob/master/docs/topics/service-principals.md AADClientID string `json:"aadClientId" yaml:"aadClientId"` // The ClientSecret for an AAD application with RBAC access to talk to Azure RM APIs // This's used for service principal authentication: https://github.com/Azure/aks-engine/blob/master/docs/topics/service-principals.md AADClientSecret string `json:"aadClientSecret" yaml:"aadClientSecret" norman:"type=password"` // The path of a client certificate for an AAD application with RBAC access to talk to Azure RM APIs // This's used for client certificate authentication: https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-protocols-oauth-service-to-service AADClientCertPath string `json:"aadClientCertPath" yaml:"aadClientCertPath"` // The password of the client certificate for an AAD application with RBAC access to talk to Azure RM APIs // This's used for client certificate authentication: https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-protocols-oauth-service-to-service AADClientCertPassword string `json:"aadClientCertPassword" yaml:"aadClientCertPassword" norman:"type=password"` // Enable exponential backoff to manage resource request retries CloudProviderBackoff bool `json:"cloudProviderBackoff" yaml:"cloudProviderBackoff"` // Backoff retry limit CloudProviderBackoffRetries int `json:"cloudProviderBackoffRetries" yaml:"cloudProviderBackoffRetries"` // Backoff exponent CloudProviderBackoffExponent int `json:"cloudProviderBackoffExponent" yaml:"cloudProviderBackoffExponent"` // Backoff duration CloudProviderBackoffDuration int `json:"cloudProviderBackoffDuration" yaml:"cloudProviderBackoffDuration"` // Backoff jitter CloudProviderBackoffJitter int `json:"cloudProviderBackoffJitter" yaml:"cloudProviderBackoffJitter"` // Enable rate limiting CloudProviderRateLimit bool `json:"cloudProviderRateLimit" yaml:"cloudProviderRateLimit"` // Rate limit QPS CloudProviderRateLimitQPS int `json:"cloudProviderRateLimitQPS" yaml:"cloudProviderRateLimitQPS"` // Rate limit Bucket Size CloudProviderRateLimitBucket int `json:"cloudProviderRateLimitBucket" yaml:"cloudProviderRateLimitBucket"` // Use instance metadata service where possible UseInstanceMetadata bool `json:"useInstanceMetadata" yaml:"useInstanceMetadata"` // Use managed service identity for the virtual machine to access Azure ARM APIs // This's used for managed identity authentication: https://docs.microsoft.com/en-us/azure/active-directory/managed-service-identity/overview // For user-assigned managed identity, need to set the below UserAssignedIdentityID UseManagedIdentityExtension bool `json:"useManagedIdentityExtension" yaml:"useManagedIdentityExtension"` // The Client ID of the user assigned MSI which is assigned to the underlying VMs // This's used for managed identity authentication: https://docs.microsoft.com/en-us/azure/active-directory/managed-service-identity/overview UserAssignedIdentityID string `json:"userAssignedIdentityID,omitempty" yaml:"userAssignedIdentityID,omitempty"` // Maximum allowed LoadBalancer Rule Count is the limit enforced by Azure Load balancer, default(0) to 148 MaximumLoadBalancerRuleCount int `json:"maximumLoadBalancerRuleCount" yaml:"maximumLoadBalancerRuleCount"` // Sku of Load Balancer and Public IP: `basic` or `standard`, default(blank) to `basic` LoadBalancerSku string `json:"loadBalancerSku,omitempty" yaml:"loadBalancerSku,omitempty"` // Excludes master nodes (labeled with `node-role.kubernetes.io/master`) from the backend pool of Azure standard loadbalancer, default(nil) to `true` // If want adding the master nodes to ALB, this should be set to `false` and remove the `node-role.kubernetes.io/master` label from master nodes ExcludeMasterFromStandardLB *bool `json:"excludeMasterFromStandardLB,omitempty" yaml:"excludeMasterFromStandardLB,omitempty"` // Tags to be added to shared resources: `foo=bar,bar=foo` Tags string `json:"tags,omitempty" yaml:"tags,omitempty"` }
AzureCloudProvider options
func (*AzureCloudProvider) DeepCopy ¶
func (in *AzureCloudProvider) DeepCopy() *AzureCloudProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureCloudProvider.
func (*AzureCloudProvider) DeepCopyInto ¶
func (in *AzureCloudProvider) DeepCopyInto(out *AzureCloudProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupConfig ¶
type BackupConfig struct { // Enable or disable recurring backups in rancher Enabled *bool `yaml:"enabled" json:"enabled,omitempty" norman:"default=true"` // Backup interval in hours IntervalHours int `yaml:"interval_hours" json:"intervalHours,omitempty" norman:"default=12"` // Number of backups to keep Retention int `yaml:"retention" json:"retention,omitempty" norman:"default=6"` // s3 target S3BackupConfig *S3BackupConfig `yaml:",omitempty" json:"s3BackupConfig"` // replace special characters in snapshot names SafeTimestamp bool `yaml:"safe_timestamp" json:"safeTimestamp,omitempty"` // Backup execution timeout Timeout int `yaml:"timeout" json:"timeout,omitempty" norman:"default=300"` }
func (*BackupConfig) DeepCopy ¶
func (in *BackupConfig) DeepCopy() *BackupConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfig.
func (*BackupConfig) DeepCopyInto ¶
func (in *BackupConfig) DeepCopyInto(out *BackupConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BaseService ¶
type BaseService struct { // Docker image of the service Image string `yaml:"image" json:"image,omitempty"` // Extra arguments that are added to the services ExtraArgs map[string]string `yaml:"extra_args" json:"extraArgs,omitempty"` // Extra arguments that can be specified multiple times which are added to the services ExtraArgsArray map[string][]string `yaml:"extra_args_array" json:"extraArgsArray,omitempty"` // Extra binds added to the nodes ExtraBinds []string `yaml:"extra_binds" json:"extraBinds,omitempty"` // this is to provide extra env variable to the docker container running kubernetes service ExtraEnv []string `yaml:"extra_env" json:"extraEnv,omitempty"` // Windows nodes only of the same as the above // Extra arguments that are added to the services WindowsExtraArgs map[string]string `yaml:"win_extra_args" json:"winExtraArgs,omitempty"` // Extra arguments that can be specified multiple times which are added to the services WindowsExtraArgsArray map[string][]string `yaml:"win_extra_args_array" json:"winExtraArgsArray,omitempty"` // Extra binds added to the nodes WindowsExtraBinds []string `yaml:"win_extra_binds" json:"winExtraBinds,omitempty"` // this is to provide extra env variable to the docker container running kubernetes service WindowsExtraEnv []string `yaml:"win_extra_env" json:"winExtraEnv,omitempty"` }
func (*BaseService) DeepCopy ¶
func (in *BaseService) DeepCopy() *BaseService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseService.
func (*BaseService) DeepCopyInto ¶
func (in *BaseService) DeepCopyInto(out *BaseService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BastionHost ¶
type BastionHost struct { // Address of Bastion Host Address string `yaml:"address" json:"address,omitempty"` // SSH Port of Bastion Host Port string `yaml:"port" json:"port,omitempty"` // ssh User to Bastion Host User string `yaml:"user" json:"user,omitempty"` // SSH Agent Auth enable SSHAgentAuth bool `yaml:"ssh_agent_auth,omitempty" json:"sshAgentAuth,omitempty"` // SSH Private Key SSHKey string `yaml:"ssh_key" json:"sshKey,omitempty" norman:"type=password"` // SSH Private Key Path SSHKeyPath string `yaml:"ssh_key_path" json:"sshKeyPath,omitempty"` // SSH Certificate SSHCert string `yaml:"ssh_cert" json:"sshCert,omitempty"` // SSH Certificate Path SSHCertPath string `yaml:"ssh_cert_path" json:"sshCertPath,omitempty"` // Ignore proxy environment variables IgnoreProxyEnvVars bool `yaml:"ignore_proxy_env_vars" json:"ignoreProxyEnvVars,omitempty"` }
func (*BastionHost) DeepCopy ¶
func (in *BastionHost) DeepCopy() *BastionHost
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHost.
func (*BastionHost) DeepCopyInto ¶
func (in *BastionHost) DeepCopyInto(out *BastionHost)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BlockStorageOpenstackOpts ¶
type BlockStorageOpenstackOpts struct { BSVersion string `json:"bs-version" yaml:"bs-version" ini:"bs-version,omitempty"` // overrides autodetection. v1 or v2. Defaults to auto TrustDevicePath bool `json:"trust-device-path" yaml:"trust-device-path" ini:"trust-device-path,omitempty"` // See Issue #33128 IgnoreVolumeAZ bool `json:"ignore-volume-az" yaml:"ignore-volume-az" ini:"ignore-volume-az,omitempty"` }
func (*BlockStorageOpenstackOpts) DeepCopy ¶
func (in *BlockStorageOpenstackOpts) DeepCopy() *BlockStorageOpenstackOpts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockStorageOpenstackOpts.
func (*BlockStorageOpenstackOpts) DeepCopyInto ¶
func (in *BlockStorageOpenstackOpts) DeepCopyInto(out *BlockStorageOpenstackOpts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CalicoNetworkProvider ¶
type CalicoNetworkProvider struct { // Cloud provider type used with calico CloudProvider string `json:"cloudProvider"` }
func (*CalicoNetworkProvider) DeepCopy ¶
func (in *CalicoNetworkProvider) DeepCopy() *CalicoNetworkProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CalicoNetworkProvider.
func (*CalicoNetworkProvider) DeepCopyInto ¶
func (in *CalicoNetworkProvider) DeepCopyInto(out *CalicoNetworkProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CanalNetworkProvider ¶
type CanalNetworkProvider struct {
FlannelNetworkProvider `yaml:",inline" json:",inline"`
}
func (*CanalNetworkProvider) DeepCopy ¶
func (in *CanalNetworkProvider) DeepCopy() *CanalNetworkProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanalNetworkProvider.
func (*CanalNetworkProvider) DeepCopyInto ¶
func (in *CanalNetworkProvider) DeepCopyInto(out *CanalNetworkProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudProvider ¶
type CloudProvider struct { // Name of the Cloud Provider Name string `yaml:"name" json:"name,omitempty"` // Only configured for AWS currently, add for other providers as needed UseInstanceMetadataHostname *bool ` yaml:"useInstanceMetadataHostname,omitempty" json:"useInstanceMetadataHostname,omitempty"` // AWSCloudProvider AWSCloudProvider *AWSCloudProvider `yaml:"awsCloudProvider,omitempty" json:"awsCloudProvider,omitempty"` // AzureCloudProvider AzureCloudProvider *AzureCloudProvider `yaml:"azureCloudProvider,omitempty" json:"azureCloudProvider,omitempty"` // OpenstackCloudProvider OpenstackCloudProvider *OpenstackCloudProvider `yaml:"openstackCloudProvider,omitempty" json:"openstackCloudProvider,omitempty"` // VsphereCloudProvider VsphereCloudProvider *VsphereCloudProvider `yaml:"vsphereCloudProvider,omitempty" json:"vsphereCloudProvider,omitempty"` // HarvesterCloudProvider HarvesterCloudProvider *HarvesterCloudProvider `yaml:"harvesterCloudProvider,omitempty" json:"harvesterCloudProvider,omitempty"` // CustomCloudProvider is a multiline string that represent a custom cloud config file CustomCloudProvider string `yaml:"customCloudProvider,omitempty" json:"customCloudProvider,omitempty"` }
func (*CloudProvider) DeepCopy ¶
func (in *CloudProvider) DeepCopy() *CloudProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudProvider.
func (*CloudProvider) DeepCopyInto ¶
func (in *CloudProvider) DeepCopyInto(out *CloudProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Configuration ¶
type Configuration struct { metav1.TypeMeta `json:",inline"` // limits are the limits to place on event queries received. // Limits can be placed on events received server-wide, per namespace, // per user, and per source+object. // At least one limit is required. Limits []Limit `json:"limits"` }
Configuration provides configuration for the EventRateLimit admission controller.
func (*Configuration) DeepCopy ¶
func (in *Configuration) DeepCopy() *Configuration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (*Configuration) DeepCopyInto ¶
func (in *Configuration) DeepCopyInto(out *Configuration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Configuration) DeepCopyObject ¶
func (in *Configuration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DNSConfig ¶
type DNSConfig struct { // DNS provider Provider string `yaml:"provider" json:"provider,omitempty"` // DNS config options Options map[string]string `yaml:"options" json:"options,omitempty"` // Upstream nameservers UpstreamNameservers []string `yaml:"upstreamnameservers" json:"upstreamnameservers,omitempty"` // ReverseCIDRs ReverseCIDRs []string `yaml:"reversecidrs" json:"reversecidrs,omitempty"` // Stubdomains StubDomains map[string][]string `yaml:"stubdomains" json:"stubdomains,omitempty"` // NodeSelector key pair NodeSelector map[string]string `yaml:"node_selector" json:"nodeSelector,omitempty"` // Nodelocal DNS Nodelocal *Nodelocal `yaml:"nodelocal" json:"nodelocal,omitempty"` // Update strategy UpdateStrategy *DeploymentStrategy `yaml:"update_strategy" json:"updateStrategy,omitempty"` // Autoscaler fields to determine number of dns replicas LinearAutoscalerParams *LinearAutoscalerParams `yaml:"linear_autoscaler_params" json:"linearAutoscalerParams,omitempty"` // Tolerations for Deployments Tolerations []v1.Toleration `yaml:"tolerations" json:"tolerations,omitempty"` }
func (*DNSConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSConfig.
func (*DNSConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DaemonSetUpdateStrategy ¶
type DaemonSetUpdateStrategy struct { // Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate. // +optional Strategy appsv1.DaemonSetUpdateStrategyType `json:"strategy,omitempty" protobuf:"bytes,1,opt,name=type"` // Rolling update config params. Present only if type = "RollingUpdate". //--- // TODO: Update this to follow our convention for oneOf, whatever we decide it // to be. Same as Deployment `strategy.rollingUpdate`. // See https://github.com/kubernetes/kubernetes/issues/35345 // +optional RollingUpdate *appsv1.RollingUpdateDaemonSet `json:"rollingUpdate,omitempty" protobuf:"bytes,2,opt,name=rollingUpdate"` }
DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.
func (*DaemonSetUpdateStrategy) DeepCopy ¶
func (in *DaemonSetUpdateStrategy) DeepCopy() *DaemonSetUpdateStrategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetUpdateStrategy.
func (*DaemonSetUpdateStrategy) DeepCopyInto ¶
func (in *DaemonSetUpdateStrategy) DeepCopyInto(out *DaemonSetUpdateStrategy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploymentStrategy ¶
type DeploymentStrategy struct { // Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate. // +optional Strategy appsv1.DeploymentStrategyType `json:"strategy,omitempty" protobuf:"bytes,1,opt,name=type,casttype=DeploymentStrategyType"` // Rolling update config params. Present only if DeploymentStrategyType = // RollingUpdate. //--- // TODO: Update this to follow our convention for oneOf, whatever we decide it // to be. // +optional RollingUpdate *appsv1.RollingUpdateDeployment `json:"rollingUpdate,omitempty" protobuf:"bytes,2,opt,name=rollingUpdate"` }
DeploymentStrategy describes how to replace existing pods with new ones.
func (*DeploymentStrategy) DeepCopy ¶
func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy.
func (*DeploymentStrategy) DeepCopyInto ¶
func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiskVsphereOpts ¶
type DiskVsphereOpts struct {
SCSIControllerType string `json:"scsicontrollertype,omitempty" yaml:"scsicontrollertype,omitempty" ini:"scsicontrollertype,omitempty"`
}
func (*DiskVsphereOpts) DeepCopy ¶
func (in *DiskVsphereOpts) DeepCopy() *DiskVsphereOpts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskVsphereOpts.
func (*DiskVsphereOpts) DeepCopyInto ¶
func (in *DiskVsphereOpts) DeepCopyInto(out *DiskVsphereOpts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ECRCredentialPlugin ¶ added in v1.3.0
type ECRCredentialPlugin struct { AwsAccessKeyID string `yaml:"aws_access_key_id" json:"awsAccessKeyId,omitempty"` AwsSecretAccessKey string `yaml:"aws_secret_access_key" json:"awsSecretAccessKey,omitempty"` AwsSessionToken string `yaml:"aws_session_token" json:"awsAccessToken,omitempty"` }
func (*ECRCredentialPlugin) DeepCopy ¶ added in v1.3.0
func (in *ECRCredentialPlugin) DeepCopy() *ECRCredentialPlugin
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ECRCredentialPlugin.
func (*ECRCredentialPlugin) DeepCopyInto ¶ added in v1.3.0
func (in *ECRCredentialPlugin) DeepCopyInto(out *ECRCredentialPlugin)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ETCDService ¶
type ETCDService struct { // Base service properties BaseService `yaml:",inline" json:",inline"` // List of etcd urls ExternalURLs []string `yaml:"external_urls" json:"externalUrls,omitempty"` // External CA certificate CACert string `yaml:"ca_cert" json:"caCert,omitempty"` // External Client certificate Cert string `yaml:"cert" json:"cert,omitempty"` // External Client key Key string `yaml:"key" json:"key,omitempty"` // External etcd prefix Path string `yaml:"path" json:"path,omitempty"` // UID to run etcd container as UID int `yaml:"uid" json:"uid,omitempty"` // GID to run etcd container as GID int `yaml:"gid" json:"gid,omitempty"` // Etcd Recurring snapshot Service, used by rke only Snapshot *bool `yaml:"snapshot" json:"snapshot,omitempty" norman:"default=false"` // Etcd snapshot Retention period Retention string `yaml:"retention" json:"retention,omitempty" norman:"default=72h"` // Etcd snapshot Creation period Creation string `yaml:"creation" json:"creation,omitempty" norman:"default=12h"` // Backup backend for etcd snapshots BackupConfig *BackupConfig `yaml:"backup_config" json:"backupConfig,omitempty"` }
func (*ETCDService) DeepCopy ¶
func (in *ETCDService) DeepCopy() *ETCDService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDService.
func (*ETCDService) DeepCopyInto ¶
func (in *ETCDService) DeepCopyInto(out *ETCDService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EtcdBackupCondition ¶
type EtcdBackupCondition struct { // Type of condition. Type string `json:"type"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status"` // The last time this condition was updated. LastUpdateTime string `json:"lastUpdateTime,omitempty"` // Last time the condition transitioned from one status to another. LastTransitionTime string `json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition. Reason string `json:"reason,omitempty"` // Human-readable message indicating details about last transition Message string `json:"message,omitempty"` }
func (*EtcdBackupCondition) DeepCopy ¶
func (in *EtcdBackupCondition) DeepCopy() *EtcdBackupCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdBackupCondition.
func (*EtcdBackupCondition) DeepCopyInto ¶
func (in *EtcdBackupCondition) DeepCopyInto(out *EtcdBackupCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EtcdBackupSpec ¶
type EtcdBackupSpec struct { // cluster ID ClusterID string `json:"clusterId,omitempty" norman:"required,type=reference[cluster],noupdate"` // manual backup flag Manual bool `yaml:"manual" json:"manual,omitempty"` // actual file name on the target Filename string `yaml:"filename" json:"filename,omitempty" norman:"noupdate"` // backupConfig BackupConfig BackupConfig `yaml:",omitempty" json:"backupConfig,omitempty" norman:"noupdate"` }
func (*EtcdBackupSpec) DeepCopy ¶
func (in *EtcdBackupSpec) DeepCopy() *EtcdBackupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdBackupSpec.
func (*EtcdBackupSpec) DeepCopyInto ¶
func (in *EtcdBackupSpec) DeepCopyInto(out *EtcdBackupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EtcdBackupStatus ¶
type EtcdBackupStatus struct { Conditions []EtcdBackupCondition `json:"conditions"` // version of k8s in the backup pulled from rke config KubernetesVersion string `yaml:"kubernetesVersion" json:"kubernetesVersion,omitempty" norman:"noupdate"` // json + gzipped + base64 backup of the cluster object when the backup was created ClusterObject string `yaml:"clusterObject" json:"clusterObject,omitempty" norman:"type=password,noupdate"` }
func (*EtcdBackupStatus) DeepCopy ¶
func (in *EtcdBackupStatus) DeepCopy() *EtcdBackupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdBackupStatus.
func (*EtcdBackupStatus) DeepCopyInto ¶
func (in *EtcdBackupStatus) DeepCopyInto(out *EtcdBackupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventRateLimit ¶
type EventRateLimit struct { Enabled bool `yaml:"enabled" json:"enabled,omitempty"` Configuration *Configuration `yaml:"configuration" json:"configuration,omitempty" norman:"type=map[json]"` }
func (*EventRateLimit) DeepCopy ¶
func (in *EventRateLimit) DeepCopy() *EventRateLimit
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventRateLimit.
func (*EventRateLimit) DeepCopyInto ¶
func (in *EventRateLimit) DeepCopyInto(out *EventRateLimit)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtraEnv ¶
func (*ExtraEnv) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraEnv.
func (*ExtraEnv) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtraVolume ¶
func (*ExtraVolume) DeepCopy ¶
func (in *ExtraVolume) DeepCopy() *ExtraVolume
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraVolume.
func (*ExtraVolume) DeepCopyInto ¶
func (in *ExtraVolume) DeepCopyInto(out *ExtraVolume)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtraVolumeMount ¶
type ExtraVolumeMount struct {
v1.VolumeMount
}
func (*ExtraVolumeMount) DeepCopy ¶
func (in *ExtraVolumeMount) DeepCopy() *ExtraVolumeMount
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraVolumeMount.
func (*ExtraVolumeMount) DeepCopyInto ¶
func (in *ExtraVolumeMount) DeepCopyInto(out *ExtraVolumeMount)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type File ¶
type File struct { Name string `json:"name,omitempty"` Contents string `json:"contents,omitempty"` }
func (*File) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new File.
func (*File) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FlannelNetworkProvider ¶
type FlannelNetworkProvider struct { // Alternate cloud interface for flannel Iface string `json:"iface"` }
func (*FlannelNetworkProvider) DeepCopy ¶
func (in *FlannelNetworkProvider) DeepCopy() *FlannelNetworkProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlannelNetworkProvider.
func (*FlannelNetworkProvider) DeepCopyInto ¶
func (in *FlannelNetworkProvider) DeepCopyInto(out *FlannelNetworkProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GlobalAwsOpts ¶
type GlobalAwsOpts struct { // TODO: Is there any use for this? We can get it from the instance metadata service // Maybe if we're not running on AWS, e.g. bootstrap; for now it is not very useful Zone string `json:"zone" yaml:"zone" ini:"Zone,omitempty"` // The AWS VPC flag enables the possibility to run the master components // on a different aws account, on a different cloud provider or on-premises. // If the flag is set also the KubernetesClusterTag must be provided VPC string `json:"vpc" yaml:"vpc" ini:"VPC,omitempty"` // SubnetID enables using a specific subnet to use for ELB's SubnetID string `json:"subnet-id" yaml:"subnet-id" ini:"SubnetID,omitempty"` // RouteTableID enables using a specific RouteTable RouteTableID string `json:"routetable-id" yaml:"routetable-id" ini:"RouteTableID,omitempty"` // RoleARN is the IAM role to assume when interaction with AWS APIs. RoleARN string `json:"role-arn" yaml:"role-arn" ini:"RoleARN,omitempty"` // KubernetesClusterTag is the legacy cluster id we'll use to identify our cluster resources KubernetesClusterTag string `json:"kubernetes-cluster-tag" yaml:"kubernetes-cluster-tag" ini:"KubernetesClusterTag,omitempty"` // KubernetesClusterID is the cluster id we'll use to identify our cluster resources KubernetesClusterID string `json:"kubernetes-cluster-id" yaml:"kubernetes-cluster-id" ini:"KubernetesClusterID,omitempty"` //The aws provider creates an inbound rule per load balancer on the node security //group. However, this can run into the AWS security group rule limit of 50 if //many LoadBalancers are created. // //This flag disables the automatic ingress creation. It requires that the user //has setup a rule that allows inbound traffic on kubelet ports from the //local VPC subnet (so load balancers can access it). E.g. 10.82.0.0/16 30000-32000. DisableSecurityGroupIngress bool `json:"disable-security-group-ingress" yaml:"disable-security-group-ingress" ini:"DisableSecurityGroupIngress,omitempty"` //AWS has a hard limit of 500 security groups. For large clusters creating a security group for each ELB //can cause the max number of security groups to be reached. If this is set instead of creating a new //Security group for each ELB this security group will be used instead. ElbSecurityGroup string `json:"elb-security-group" yaml:"elb-security-group" ini:"ElbSecurityGroup,omitempty"` //During the instantiation of an new AWS cloud provider, the detected region //is validated against a known set of regions. // //In a non-standard, AWS like environment (e.g. Eucalyptus), this check may //be undesirable. Setting this to true will disable the check and provide //a warning that the check was skipped. Please note that this is an //experimental feature and work-in-progress for the moment. If you find //yourself in an non-AWS cloud and open an issue, please indicate that in the //issue body. DisableStrictZoneCheck bool `json:"disable-strict-zone-check" yaml:"disable-strict-zone-check" ini:"DisableStrictZoneCheck,omitempty"` }
func (*GlobalAwsOpts) DeepCopy ¶
func (in *GlobalAwsOpts) DeepCopy() *GlobalAwsOpts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalAwsOpts.
func (*GlobalAwsOpts) DeepCopyInto ¶
func (in *GlobalAwsOpts) DeepCopyInto(out *GlobalAwsOpts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GlobalOpenstackOpts ¶
type GlobalOpenstackOpts struct { AuthURL string `json:"auth-url" yaml:"auth-url" ini:"auth-url,omitempty"` Username string `json:"username" yaml:"username" ini:"username,omitempty"` UserID string `json:"user-id" yaml:"user-id" ini:"user-id,omitempty"` Password string `json:"password" yaml:"password" ini:"password,omitempty" norman:"type=password"` TenantID string `json:"tenant-id" yaml:"tenant-id" ini:"tenant-id,omitempty"` TenantName string `json:"tenant-name" yaml:"tenant-name" ini:"tenant-name,omitempty"` TrustID string `json:"trust-id" yaml:"trust-id" ini:"trust-id,omitempty"` DomainID string `json:"domain-id" yaml:"domain-id" ini:"domain-id,omitempty"` DomainName string `json:"domain-name" yaml:"domain-name" ini:"domain-name,omitempty"` Region string `json:"region" yaml:"region" ini:"region,omitempty"` CAFile string `json:"ca-file" yaml:"ca-file" ini:"ca-file,omitempty"` }
func (*GlobalOpenstackOpts) DeepCopy ¶
func (in *GlobalOpenstackOpts) DeepCopy() *GlobalOpenstackOpts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalOpenstackOpts.
func (*GlobalOpenstackOpts) DeepCopyInto ¶
func (in *GlobalOpenstackOpts) DeepCopyInto(out *GlobalOpenstackOpts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GlobalVsphereOpts ¶
type GlobalVsphereOpts struct { User string `json:"user,omitempty" yaml:"user,omitempty" ini:"user,omitempty"` Password string `json:"password,omitempty" yaml:"password,omitempty" ini:"password,omitempty" norman:"type=password"` VCenterIP string `json:"server,omitempty" yaml:"server,omitempty" ini:"server,omitempty"` VCenterPort string `json:"port,omitempty" yaml:"port,omitempty" ini:"port,omitempty"` InsecureFlag bool `json:"insecure-flag,omitempty" yaml:"insecure-flag,omitempty" ini:"insecure-flag,omitempty"` Datacenter string `json:"datacenter,omitempty" yaml:"datacenter,omitempty" ini:"datacenter,omitempty"` Datacenters string `json:"datacenters,omitempty" yaml:"datacenters,omitempty" ini:"datacenters,omitempty"` DefaultDatastore string `json:"datastore,omitempty" yaml:"datastore,omitempty" ini:"datastore,omitempty"` WorkingDir string `json:"working-dir,omitempty" yaml:"working-dir,omitempty" ini:"working-dir,omitempty"` RoundTripperCount int `json:"soap-roundtrip-count,omitempty" yaml:"soap-roundtrip-count,omitempty" ini:"soap-roundtrip-count,omitempty"` VMUUID string `json:"vm-uuid,omitempty" yaml:"vm-uuid,omitempty" ini:"vm-uuid,omitempty"` VMName string `json:"vm-name,omitempty" yaml:"vm-name,omitempty" ini:"vm-name,omitempty"` }
func (*GlobalVsphereOpts) DeepCopy ¶
func (in *GlobalVsphereOpts) DeepCopy() *GlobalVsphereOpts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalVsphereOpts.
func (*GlobalVsphereOpts) DeepCopyInto ¶
func (in *GlobalVsphereOpts) DeepCopyInto(out *GlobalVsphereOpts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HarvesterCloudProvider ¶ added in v1.3.3
type HarvesterCloudProvider struct {
CloudConfig string `json:"cloudConfig" yaml:"cloud_config"`
}
func (*HarvesterCloudProvider) DeepCopy ¶ added in v1.3.3
func (in *HarvesterCloudProvider) DeepCopy() *HarvesterCloudProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarvesterCloudProvider.
func (*HarvesterCloudProvider) DeepCopyInto ¶ added in v1.3.3
func (in *HarvesterCloudProvider) DeepCopyInto(out *HarvesterCloudProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HealthCheck ¶
type HealthCheck struct { // Healthcheck URL URL string `json:"url,omitempty"` }
func (*HealthCheck) DeepCopy ¶
func (in *HealthCheck) DeepCopy() *HealthCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheck.
func (*HealthCheck) DeepCopyInto ¶
func (in *HealthCheck) DeepCopyInto(out *HealthCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressConfig ¶
type IngressConfig struct { // Ingress controller type used by kubernetes Provider string `yaml:"provider" json:"provider,omitempty" norman:"default=nginx"` // These options are NOT for configuring Ingress's addon template. // They are used for its ConfigMap options specifically. Options map[string]string `yaml:"options" json:"options,omitempty"` // NodeSelector key pair NodeSelector map[string]string `yaml:"node_selector" json:"nodeSelector,omitempty"` // Ingress controller extra arguments ExtraArgs map[string]string `yaml:"extra_args" json:"extraArgs,omitempty"` // DNS Policy DNSPolicy string `yaml:"dns_policy" json:"dnsPolicy,omitempty"` // Extra Env vars ExtraEnvs []ExtraEnv `yaml:"extra_envs" json:"extraEnvs,omitempty" norman:"type=array[json]"` // Extra volumes ExtraVolumes []ExtraVolume `yaml:"extra_volumes" json:"extraVolumes,omitempty" norman:"type=array[json]"` // Extra volume mounts ExtraVolumeMounts []ExtraVolumeMount `yaml:"extra_volume_mounts" json:"extraVolumeMounts,omitempty" norman:"type=array[json]"` // nginx daemonset upgrade strategy UpdateStrategy *DaemonSetUpdateStrategy `yaml:"update_strategy" json:"updateStrategy,omitempty"` // Http port for ingress controller daemonset HTTPPort int `yaml:"http_port" json:"httpPort,omitempty"` // Https port for ingress controller daemonset HTTPSPort int `yaml:"https_port" json:"httpsPort,omitempty"` // NetworkMode selector for ingress controller pods. Default is HostNetwork NetworkMode string `yaml:"network_mode" json:"networkMode,omitempty"` // Tolerations for Deployments Tolerations []v1.Toleration `yaml:"tolerations" json:"tolerations,omitempty"` // Enable or disable nginx default-http-backend DefaultBackend *bool `yaml:"default_backend" json:"defaultBackend,omitempty" norman:"default=true"` // Priority class name for Nginx-Ingress's "default-http-backend" deployment DefaultHTTPBackendPriorityClassName string `yaml:"default_http_backend_priority_class_name" json:"defaultHttpBackendPriorityClassName,omitempty"` // Priority class name for Nginx-Ingress's "nginx-ingress-controller" daemonset NginxIngressControllerPriorityClassName string `yaml:"nginx_ingress_controller_priority_class_name" json:"nginxIngressControllerPriorityClassName,omitempty"` // Enable or disable nginx default-http-backend DefaultIngressClass *bool `yaml:"default_ingress_class" json:"defaultIngressClass,omitempty" norman:"default=true"` }
func (*IngressConfig) DeepCopy ¶
func (in *IngressConfig) DeepCopy() *IngressConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressConfig.
func (*IngressConfig) DeepCopyInto ¶
func (in *IngressConfig) DeepCopyInto(out *IngressConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type K8sVersionInfo ¶
type K8sVersionInfo struct { MinRKEVersion string `yaml:"min_rke_version" json:"minRKEVersion,omitempty"` MaxRKEVersion string `yaml:"max_rke_version" json:"maxRKEVersion,omitempty"` DeprecateRKEVersion string `yaml:"deprecate_rke_version" json:"deprecateRKEVersion,omitempty"` MinRancherVersion string `yaml:"min_rancher_version" json:"minRancherVersion,omitempty"` MaxRancherVersion string `yaml:"max_rancher_version" json:"maxRancherVersion,omitempty"` DeprecateRancherVersion string `yaml:"deprecate_rancher_version" json:"deprecateRancherVersion,omitempty"` }
func (*K8sVersionInfo) DeepCopy ¶
func (in *K8sVersionInfo) DeepCopy() *K8sVersionInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8sVersionInfo.
func (*K8sVersionInfo) DeepCopyInto ¶
func (in *K8sVersionInfo) DeepCopyInto(out *K8sVersionInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeAPIService ¶
type KubeAPIService struct { // Base service properties BaseService `yaml:",inline" json:",inline"` // Virtual IP range that will be used by Kubernetes services ServiceClusterIPRange string `yaml:"service_cluster_ip_range" json:"serviceClusterIpRange,omitempty"` // Port range for services defined with NodePort type ServiceNodePortRange string `yaml:"service_node_port_range" json:"serviceNodePortRange,omitempty" norman:"default=30000-32767"` // Enabled/Disable PodSecurityPolicy PodSecurityPolicy bool `yaml:"pod_security_policy" json:"podSecurityPolicy,omitempty"` // Enable/Disable AlwaysPullImages admissions plugin AlwaysPullImages bool `yaml:"always_pull_images" json:"alwaysPullImages,omitempty"` // Secrets encryption provider config SecretsEncryptionConfig *SecretsEncryptionConfig `yaml:"secrets_encryption_config" json:"secretsEncryptionConfig,omitempty"` // Audit Log Configuration AuditLog *AuditLog `yaml:"audit_log" json:"auditLog,omitempty"` // AdmissionConfiguration AdmissionConfiguration *apiserverv1alpha1.AdmissionConfiguration `yaml:"admission_configuration" json:"admissionConfiguration,omitempty" norman:"type=map[json]"` // Event Rate Limit configuration EventRateLimit *EventRateLimit `yaml:"event_rate_limit" json:"eventRateLimit,omitempty"` }
func (*KubeAPIService) DeepCopy ¶
func (in *KubeAPIService) DeepCopy() *KubeAPIService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeAPIService.
func (*KubeAPIService) DeepCopyInto ¶
func (in *KubeAPIService) DeepCopyInto(out *KubeAPIService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeControllerService ¶
type KubeControllerService struct { // Base service properties BaseService `yaml:",inline" json:",inline"` // CIDR Range for Pods in cluster ClusterCIDR string `yaml:"cluster_cidr" json:"clusterCidr,omitempty"` // Virtual IP range that will be used by Kubernetes services ServiceClusterIPRange string `yaml:"service_cluster_ip_range" json:"serviceClusterIpRange,omitempty"` }
func (*KubeControllerService) DeepCopy ¶
func (in *KubeControllerService) DeepCopy() *KubeControllerService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeControllerService.
func (*KubeControllerService) DeepCopyInto ¶
func (in *KubeControllerService) DeepCopyInto(out *KubeControllerService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeletService ¶
type KubeletService struct { // Base service properties BaseService `yaml:",inline" json:",inline"` // Domain of the cluster (default: "cluster.local") ClusterDomain string `yaml:"cluster_domain" json:"clusterDomain,omitempty"` // The image whose network/ipc namespaces containers in each pod will use InfraContainerImage string `yaml:"infra_container_image" json:"infraContainerImage,omitempty"` // Cluster DNS service ip ClusterDNSServer string `yaml:"cluster_dns_server" json:"clusterDnsServer,omitempty"` // Fail if swap is enabled FailSwapOn bool `yaml:"fail_swap_on" json:"failSwapOn,omitempty"` // Generate per node kubelet serving certificates created using kube-ca GenerateServingCertificate bool `yaml:"generate_serving_certificate" json:"generateServingCertificate,omitempty"` }
func (*KubeletService) DeepCopy ¶
func (in *KubeletService) DeepCopy() *KubeletService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletService.
func (*KubeletService) DeepCopyInto ¶
func (in *KubeletService) DeepCopyInto(out *KubeletService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeproxyService ¶
type KubeproxyService struct { // Base service properties BaseService `yaml:",inline" json:",inline"` }
func (*KubeproxyService) DeepCopy ¶
func (in *KubeproxyService) DeepCopy() *KubeproxyService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeproxyService.
func (*KubeproxyService) DeepCopyInto ¶
func (in *KubeproxyService) DeepCopyInto(out *KubeproxyService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesServicesOptions ¶
type KubernetesServicesOptions struct { // Additional options passed to Etcd Etcd map[string]string `json:"etcd"` // Additional options passed to KubeAPI KubeAPI map[string]string `json:"kubeapi"` // Additional options passed to Kubelet Kubelet map[string]string `json:"kubelet"` // Additional options passed to Kubeproxy Kubeproxy map[string]string `json:"kubeproxy"` // Additional options passed to KubeController KubeController map[string]string `json:"kubeController"` // Additional options passed to Scheduler Scheduler map[string]string `json:"scheduler"` }
func (*KubernetesServicesOptions) DeepCopy ¶
func (in *KubernetesServicesOptions) DeepCopy() *KubernetesServicesOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesServicesOptions.
func (*KubernetesServicesOptions) DeepCopyInto ¶
func (in *KubernetesServicesOptions) DeepCopyInto(out *KubernetesServicesOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Limit ¶
type Limit struct { // type is the type of limit to which this configuration applies Type LimitType `json:"type"` // qps is the number of event queries per second that are allowed for this // type of limit. The qps and burst fields are used together to determine if // a particular event query is accepted. The qps determines how many queries // are accepted once the burst amount of queries has been exhausted. QPS int32 `json:"qps"` // burst is the burst number of event queries that are allowed for this type // of limit. The qps and burst fields are used together to determine if a // particular event query is accepted. The burst determines the maximum size // of the allowance granted for a particular bucket. For example, if the burst // is 10 and the qps is 3, then the admission control will accept 10 queries // before blocking any queries. Every second, 3 more queries will be allowed. // If some of that allowance is not used, then it will roll over to the next // second, until the maximum allowance of 10 is reached. Burst int32 `json:"burst"` // cacheSize is the size of the LRU cache for this type of limit. If a bucket // is evicted from the cache, then the allowance for that bucket is reset. If // more queries are later received for an evicted bucket, then that bucket // will re-enter the cache with a clean slate, giving that bucket a full // allowance of burst queries. // // The default cache size is 4096. // // If limitType is 'server', then cacheSize is ignored. // +optional CacheSize int32 `json:"cacheSize,omitempty"` }
Limit is the configuration for a particular limit type
func (*Limit) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Limit.
func (*Limit) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LimitType ¶
type LimitType string
LimitType is the type of the limit (e.g., per-namespace)
const ( // ServerLimitType is a type of limit where there is one bucket shared by // all of the event queries received by the API Server. ServerLimitType LimitType = "Server" // NamespaceLimitType is a type of limit where there is one bucket used by // each namespace NamespaceLimitType LimitType = "Namespace" // UserLimitType is a type of limit where there is one bucket used by each // user UserLimitType LimitType = "User" // SourceAndObjectLimitType is a type of limit where there is one bucket used // by each combination of source and involved object of the event. SourceAndObjectLimitType LimitType = "SourceAndObject" )
type LinearAutoscalerParams ¶
type LinearAutoscalerParams struct { CoresPerReplica float64 `yaml:"cores_per_replica" json:"coresPerReplica,omitempty" norman:"default=128"` NodesPerReplica float64 `yaml:"nodes_per_replica" json:"nodesPerReplica,omitempty" norman:"default=4"` Min int `yaml:"min" json:"min,omitempty" norman:"default=1"` Max int `yaml:"max" json:"max,omitempty"` PreventSinglePointFailure bool `yaml:"prevent_single_point_failure" json:"preventSinglePointFailure,omitempty" norman:"default=true"` }
LinearAutoscalerParams contains fields expected by the cluster-proportional-autoscaler https://github.com/kubernetes-incubator/cluster-proportional-autoscaler/blob/0c61e63fc81449abdd52315aa27179a17e5d1580/pkg/autoscaler/controller/linearcontroller/linear_controller.go#L50
func (*LinearAutoscalerParams) DeepCopy ¶
func (in *LinearAutoscalerParams) DeepCopy() *LinearAutoscalerParams
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinearAutoscalerParams.
func (*LinearAutoscalerParams) DeepCopyInto ¶
func (in *LinearAutoscalerParams) DeepCopyInto(out *LinearAutoscalerParams)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancerOpenstackOpts ¶
type LoadBalancerOpenstackOpts struct { LBVersion string `json:"lb-version" yaml:"lb-version" ini:"lb-version,omitempty"` // overrides autodetection. Only support v2. UseOctavia bool `json:"use-octavia" yaml:"use-octavia" ini:"use-octavia,omitempty"` // uses Octavia V2 service catalog endpoint SubnetID string `json:"subnet-id" yaml:"subnet-id" ini:"subnet-id,omitempty"` // overrides autodetection. FloatingNetworkID string `json:"floating-network-id" yaml:"floating-network-id" ini:"floating-network-id,omitempty"` // If specified, will create floating ip for loadbalancer, or do not create floating ip. LBMethod string `json:"lb-method" yaml:"lb-method" ini:"lb-method,omitempty"` // default to ROUND_ROBIN. LBProvider string `json:"lb-provider" yaml:"lb-provider" ini:"lb-provider,omitempty"` CreateMonitor bool `json:"create-monitor" yaml:"create-monitor" ini:"create-monitor,omitempty"` MonitorDelay string `json:"monitor-delay" yaml:"monitor-delay" ini:"monitor-delay,omitempty"` MonitorTimeout string `json:"monitor-timeout" yaml:"monitor-timeout" ini:"monitor-timeout,omitempty"` MonitorMaxRetries int `json:"monitor-max-retries" yaml:"monitor-max-retries" ini:"monitor-max-retries,omitempty"` ManageSecurityGroups bool `json:"manage-security-groups" yaml:"manage-security-groups" ini:"manage-security-groups,omitempty"` }
func (*LoadBalancerOpenstackOpts) DeepCopy ¶
func (in *LoadBalancerOpenstackOpts) DeepCopy() *LoadBalancerOpenstackOpts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerOpenstackOpts.
func (*LoadBalancerOpenstackOpts) DeepCopyInto ¶
func (in *LoadBalancerOpenstackOpts) DeepCopyInto(out *LoadBalancerOpenstackOpts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetadataOpenstackOpts ¶
type MetadataOpenstackOpts struct { SearchOrder string `json:"search-order" yaml:"search-order" ini:"search-order,omitempty"` RequestTimeout int `json:"request-timeout" yaml:"request-timeout" ini:"request-timeout,omitempty"` }
func (*MetadataOpenstackOpts) DeepCopy ¶
func (in *MetadataOpenstackOpts) DeepCopy() *MetadataOpenstackOpts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOpenstackOpts.
func (*MetadataOpenstackOpts) DeepCopyInto ¶
func (in *MetadataOpenstackOpts) DeepCopyInto(out *MetadataOpenstackOpts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitoringConfig ¶
type MonitoringConfig struct { // Monitoring server provider Provider string `yaml:"provider" json:"provider,omitempty" norman:"default=metrics-server"` // These options are NOT for configuring the Metrics-Server's addon template. // They are used to pass command args to the metric-server's deployment containers specifically. Options map[string]string `yaml:"options" json:"options,omitempty"` // NodeSelector key pair NodeSelector map[string]string `yaml:"node_selector" json:"nodeSelector,omitempty"` // Update strategy UpdateStrategy *DeploymentStrategy `yaml:"update_strategy" json:"updateStrategy,omitempty"` // Number of monitoring addon pods Replicas *int32 `yaml:"replicas" json:"replicas,omitempty" norman:"default=1"` // Tolerations for Deployments Tolerations []v1.Toleration `yaml:"tolerations" json:"tolerations,omitempty"` // Priority class name for Metrics-Server's "metrics-server" deployment MetricsServerPriorityClassName string `yaml:"metrics_server_priority_class_name" json:"metricsServerPriorityClassName,omitempty"` }
func (*MonitoringConfig) DeepCopy ¶
func (in *MonitoringConfig) DeepCopy() *MonitoringConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringConfig.
func (*MonitoringConfig) DeepCopyInto ¶
func (in *MonitoringConfig) DeepCopyInto(out *MonitoringConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkConfig ¶
type NetworkConfig struct { // Network Plugin That will be used in kubernetes cluster Plugin string `yaml:"plugin" json:"plugin,omitempty" norman:"default=canal"` // Plugin options to configure network properties Options map[string]string `yaml:"options" json:"options,omitempty"` // Set MTU for CNI provider MTU int `yaml:"mtu" json:"mtu,omitempty"` // CalicoNetworkProvider CalicoNetworkProvider *CalicoNetworkProvider `yaml:"calico_network_provider,omitempty" json:"calicoNetworkProvider,omitempty"` // CanalNetworkProvider CanalNetworkProvider *CanalNetworkProvider `yaml:"canal_network_provider,omitempty" json:"canalNetworkProvider,omitempty"` // FlannelNetworkProvider FlannelNetworkProvider *FlannelNetworkProvider `yaml:"flannel_network_provider,omitempty" json:"flannelNetworkProvider,omitempty"` // WeaveNetworkProvider WeaveNetworkProvider *WeaveNetworkProvider `yaml:"weave_network_provider,omitempty" json:"weaveNetworkProvider,omitempty"` // AciNetworkProvider AciNetworkProvider *AciNetworkProvider `yaml:"aci_network_provider,omitempty" json:"aciNetworkProvider,omitempty"` // NodeSelector key pair NodeSelector map[string]string `yaml:"node_selector" json:"nodeSelector,omitempty"` // Network plugin daemonset upgrade strategy UpdateStrategy *DaemonSetUpdateStrategy `yaml:"update_strategy" json:"updateStrategy,omitempty"` // Tolerations for Deployments Tolerations []v1.Toleration `yaml:"tolerations" json:"tolerations,omitempty"` }
func (*NetworkConfig) DeepCopy ¶
func (in *NetworkConfig) DeepCopy() *NetworkConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfig.
func (*NetworkConfig) DeepCopyInto ¶
func (in *NetworkConfig) DeepCopyInto(out *NetworkConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkVshpereOpts ¶
type NetworkVshpereOpts struct {
PublicNetwork string `json:"public-network,omitempty" yaml:"public-network,omitempty" ini:"public-network,omitempty"`
}
func (*NetworkVshpereOpts) DeepCopy ¶
func (in *NetworkVshpereOpts) DeepCopy() *NetworkVshpereOpts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkVshpereOpts.
func (*NetworkVshpereOpts) DeepCopyInto ¶
func (in *NetworkVshpereOpts) DeepCopyInto(out *NetworkVshpereOpts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeDrainInput ¶
type NodeDrainInput struct { // Drain node even if there are pods not managed by a ReplicationController, Job, or DaemonSet // Drain will not proceed without Force set to true if there are such pods Force bool `yaml:"force" json:"force,omitempty"` // If there are DaemonSet-managed pods, drain will not proceed without IgnoreDaemonSets set to true // (even when set to true, kubectl won't delete pods - so setting default to true) IgnoreDaemonSets *bool `yaml:"ignore_daemonsets" json:"ignoreDaemonSets,omitempty" norman:"default=true"` // Continue even if there are pods using emptyDir DeleteLocalData bool `yaml:"delete_local_data" json:"deleteLocalData,omitempty"` //Period of time in seconds given to each pod to terminate gracefully. // If negative, the default value specified in the pod will be used GracePeriod int `yaml:"grace_period" json:"gracePeriod,omitempty" norman:"default=-1"` // Time to wait (in seconds) before giving up for one try Timeout int `yaml:"timeout" json:"timeout" norman:"min=1,max=10800,default=120"` }
func (*NodeDrainInput) DeepCopy ¶
func (in *NodeDrainInput) DeepCopy() *NodeDrainInput
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeDrainInput.
func (*NodeDrainInput) DeepCopyInto ¶
func (in *NodeDrainInput) DeepCopyInto(out *NodeDrainInput)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeUpgradeStrategy ¶
type NodeUpgradeStrategy struct { string `yaml:"max_unavailable_worker" json:"maxUnavailableWorker,omitempty" norman:"min=1,default=10%"` // MaxUnavailableControlplane input can be a number of nodes or a percentage of nodes Drain *bool `yaml:"drain" json:"drain,omitempty"` DrainInput *NodeDrainInput `yaml:"node_drain_input" json:"nodeDrainInput,omitempty"` }MaxUnavailableWorker
func (*NodeUpgradeStrategy) DeepCopy ¶
func (in *NodeUpgradeStrategy) DeepCopy() *NodeUpgradeStrategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeUpgradeStrategy.
func (*NodeUpgradeStrategy) DeepCopyInto ¶
func (in *NodeUpgradeStrategy) DeepCopyInto(out *NodeUpgradeStrategy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Nodelocal ¶
type Nodelocal struct { // link-local IP for nodelocal DNS IPAddress string `yaml:"ip_address" json:"ipAddress,omitempty"` // Nodelocal DNS daemonset upgrade strategy UpdateStrategy *DaemonSetUpdateStrategy `yaml:"update_strategy" json:"updateStrategy,omitempty"` // NodeSelector key pair NodeSelector map[string]string `yaml:"node_selector" json:"nodeSelector,omitempty"` // Priority class name for NodeLocal's "node-local-dns" daemonset NodeLocalDNSPriorityClassName string `yaml:"node_local_dns_priority_class_name" json:"nodeLocalDnsPriorityClassName,omitempty"` }
func (*Nodelocal) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Nodelocal.
func (*Nodelocal) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenstackCloudProvider ¶
type OpenstackCloudProvider struct { Global GlobalOpenstackOpts `json:"global" yaml:"global" ini:"Global,omitempty"` LoadBalancer LoadBalancerOpenstackOpts `json:"loadBalancer" yaml:"load_balancer" ini:"LoadBalancer,omitempty"` BlockStorage BlockStorageOpenstackOpts `json:"blockStorage" yaml:"block_storage" ini:"BlockStorage,omitempty"` Route RouteOpenstackOpts `json:"route" yaml:"route" ini:"Route,omitempty"` Metadata MetadataOpenstackOpts `json:"metadata" yaml:"metadata" ini:"Metadata,omitempty"` }
OpenstackCloudProvider options
func (*OpenstackCloudProvider) DeepCopy ¶
func (in *OpenstackCloudProvider) DeepCopy() *OpenstackCloudProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenstackCloudProvider.
func (*OpenstackCloudProvider) DeepCopyInto ¶
func (in *OpenstackCloudProvider) DeepCopyInto(out *OpenstackCloudProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortCheck ¶
type PortCheck struct { // Portcheck address to check. Address string `json:"address,omitempty"` // Port number Port int `json:"port,omitempty"` // Port Protocol Protocol string `json:"protocol,omitempty"` }
func (*PortCheck) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortCheck.
func (*PortCheck) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivateRegistry ¶
type PrivateRegistry struct { // URL for the registry URL string `yaml:"url" json:"url,omitempty"` // User name for registry acces User string `yaml:"user" json:"user,omitempty"` // Password for registry access Password string `yaml:"password" json:"password,omitempty" norman:"type=password"` // Default registry IsDefault bool `yaml:"is_default" json:"isDefault,omitempty"` // ECRCredentialPlugin ECRCredentialPlugin *ECRCredentialPlugin `yaml:"ecr_credential_plugin" json:"ecrCredentialPlugin,omitempty"` }
func (*PrivateRegistry) DeepCopy ¶
func (in *PrivateRegistry) DeepCopy() *PrivateRegistry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateRegistry.
func (*PrivateRegistry) DeepCopyInto ¶
func (in *PrivateRegistry) DeepCopyInto(out *PrivateRegistry)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Process ¶
type Process struct { // Process name, this should be the container name Name string `json:"name,omitempty"` // Process Entrypoint command Command []string `json:"command,omitempty"` // Process args Args []string `json:"args,omitempty"` // Environment variables list Env []string `json:"env,omitempty"` // Process docker image Image string `json:"image,omitempty"` //AuthConfig for image private registry ImageRegistryAuthConfig string `json:"imageRegistryAuthConfig,omitempty"` // Process docker image VolumesFrom VolumesFrom []string `json:"volumesFrom,omitempty"` // Process docker container bind mounts Binds []string `json:"binds,omitempty"` // Process docker container netwotk mode NetworkMode string `json:"networkMode,omitempty"` // Process container restart policy RestartPolicy string `json:"restartPolicy,omitempty"` // Process container pid mode PidMode string `json:"pidMode,omitempty"` // Run process in privileged container Privileged bool `json:"privileged,omitempty"` // Process healthcheck HealthCheck HealthCheck `json:"healthCheck,omitempty"` // Process docker container Labels Labels map[string]string `json:"labels,omitempty"` // Process docker publish container's port to host Publish []string `json:"publish,omitempty"` // docker will run the container with this user User string `json:"user,omitempty"` }
func (*Process) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Process.
func (*Process) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RKEConfigNode ¶
type RKEConfigNode struct { // Name of the host provisioned via docker machine NodeName string `yaml:"nodeName,omitempty" json:"nodeName,omitempty" norman:"type=reference[node]"` // IP or FQDN that is fully resolvable and used for SSH communication Address string `yaml:"address" json:"address,omitempty"` // Port used for SSH communication Port string `yaml:"port" json:"port,omitempty"` // Optional - Internal address that will be used for components communication InternalAddress string `yaml:"internal_address" json:"internalAddress,omitempty"` // Node role in kubernetes cluster (controlplane, worker, or etcd) Role []string `yaml:"role" json:"role,omitempty" norman:"type=array[enum],options=etcd|worker|controlplane"` // Optional - Hostname of the node HostnameOverride string `yaml:"hostname_override" json:"hostnameOverride,omitempty"` // SSH usesr that will be used by RKE User string `yaml:"user" json:"user,omitempty"` // Optional - Docker socket on the node that will be used in tunneling DockerSocket string `yaml:"docker_socket" json:"dockerSocket,omitempty"` // SSH Agent Auth enable SSHAgentAuth bool `yaml:"ssh_agent_auth,omitempty" json:"sshAgentAuth,omitempty"` // SSH Private Key SSHKey string `yaml:"ssh_key" json:"sshKey,omitempty" norman:"type=password"` // SSH Private Key Path SSHKeyPath string `yaml:"ssh_key_path" json:"sshKeyPath,omitempty"` // SSH Certificate SSHCert string `yaml:"ssh_cert" json:"sshCert,omitempty"` // SSH Certificate Path SSHCertPath string `yaml:"ssh_cert_path" json:"sshCertPath,omitempty"` // Node Labels Labels map[string]string `yaml:"labels" json:"labels,omitempty"` // Node Taints Taints []RKETaint `yaml:"taints" json:"taints,omitempty"` }
func (*RKEConfigNode) DeepCopy ¶
func (in *RKEConfigNode) DeepCopy() *RKEConfigNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RKEConfigNode.
func (*RKEConfigNode) DeepCopyInto ¶
func (in *RKEConfigNode) DeepCopyInto(out *RKEConfigNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RKEConfigNodePlan ¶
type RKEConfigNodePlan struct { // Node address Address string `json:"address,omitempty"` // map of named processes that should run on the node Processes map[string]Process `json:"processes,omitempty"` // List of portchecks that should be open on the node PortChecks []PortCheck `json:"portChecks,omitempty"` // List of files to deploy on the node Files []File `json:"files,omitempty"` // Node Annotations Annotations map[string]string `json:"annotations,omitempty"` // Node Labels Labels map[string]string `json:"labels,omitempty"` // Node Taints Taints []RKETaint `json:"taints,omitempty"` }
func (*RKEConfigNodePlan) DeepCopy ¶
func (in *RKEConfigNodePlan) DeepCopy() *RKEConfigNodePlan
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RKEConfigNodePlan.
func (*RKEConfigNodePlan) DeepCopyInto ¶
func (in *RKEConfigNodePlan) DeepCopyInto(out *RKEConfigNodePlan)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RKEConfigServices ¶
type RKEConfigServices struct { // Etcd Service Etcd ETCDService `yaml:"etcd" json:"etcd,omitempty"` // KubeAPI Service KubeAPI KubeAPIService `yaml:"kube-api" json:"kubeApi,omitempty"` // KubeController Service KubeController KubeControllerService `yaml:"kube-controller" json:"kubeController,omitempty"` // Scheduler Service Scheduler SchedulerService `yaml:"scheduler" json:"scheduler,omitempty"` // Kubelet Service Kubelet KubeletService `yaml:"kubelet" json:"kubelet,omitempty"` // KubeProxy Service Kubeproxy KubeproxyService `yaml:"kubeproxy" json:"kubeproxy,omitempty"` }
func (*RKEConfigServices) DeepCopy ¶
func (in *RKEConfigServices) DeepCopy() *RKEConfigServices
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RKEConfigServices.
func (*RKEConfigServices) DeepCopyInto ¶
func (in *RKEConfigServices) DeepCopyInto(out *RKEConfigServices)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RKEPlan ¶
type RKEPlan struct { // List of node Plans Nodes []RKEConfigNodePlan `json:"nodes,omitempty"` }
func (*RKEPlan) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RKEPlan.
func (*RKEPlan) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RKESystemImages ¶
type RKESystemImages struct { // etcd image Etcd string `yaml:"etcd" json:"etcd,omitempty"` // Alpine image Alpine string `yaml:"alpine" json:"alpine,omitempty"` // rke-nginx-proxy image NginxProxy string `yaml:"nginx_proxy" json:"nginxProxy,omitempty"` // rke-cert-deployer image CertDownloader string `yaml:"cert_downloader" json:"certDownloader,omitempty"` // rke-service-sidekick image KubernetesServicesSidecar string `yaml:"kubernetes_services_sidecar" json:"kubernetesServicesSidecar,omitempty"` // KubeDNS image KubeDNS string `yaml:"kubedns" json:"kubedns,omitempty"` // DNSMasq image DNSmasq string `yaml:"dnsmasq" json:"dnsmasq,omitempty"` // KubeDNS side car image KubeDNSSidecar string `yaml:"kubedns_sidecar" json:"kubednsSidecar,omitempty"` // KubeDNS autoscaler image KubeDNSAutoscaler string `yaml:"kubedns_autoscaler" json:"kubednsAutoscaler,omitempty"` // CoreDNS image CoreDNS string `yaml:"coredns" json:"coredns,omitempty"` // CoreDNS autoscaler image CoreDNSAutoscaler string `yaml:"coredns_autoscaler" json:"corednsAutoscaler,omitempty"` // Nodelocal image Nodelocal string `yaml:"nodelocal" json:"nodelocal,omitempty"` // Kubernetes image Kubernetes string `yaml:"kubernetes" json:"kubernetes,omitempty"` // Flannel image Flannel string `yaml:"flannel" json:"flannel,omitempty"` // Flannel CNI image FlannelCNI string `yaml:"flannel_cni" json:"flannelCni,omitempty"` // Calico Node image CalicoNode string `yaml:"calico_node" json:"calicoNode,omitempty"` // Calico CNI image CalicoCNI string `yaml:"calico_cni" json:"calicoCni,omitempty"` // Calico Controllers image CalicoControllers string `yaml:"calico_controllers" json:"calicoControllers,omitempty"` // Calicoctl image CalicoCtl string `yaml:"calico_ctl" json:"calicoCtl,omitempty"` //CalicoFlexVol image CalicoFlexVol string `yaml:"calico_flexvol" json:"calicoFlexVol,omitempty"` // Canal Node Image CanalNode string `yaml:"canal_node" json:"canalNode,omitempty"` // Canal CNI image CanalCNI string `yaml:"canal_cni" json:"canalCni,omitempty"` // Canal Controllers Image needed for Calico/Canal v3.14.0+ CanalControllers string `yaml:"canal_controllers" json:"canalControllers,omitempty"` //CanalFlannel image CanalFlannel string `yaml:"canal_flannel" json:"canalFlannel,omitempty"` //CanalFlexVol image CanalFlexVol string `yaml:"canal_flexvol" json:"canalFlexVol,omitempty"` //Weave Node image WeaveNode string `yaml:"weave_node" json:"weaveNode,omitempty"` // Weave CNI image WeaveCNI string `yaml:"weave_cni" json:"weaveCni,omitempty"` // Pod infra container image PodInfraContainer string `yaml:"pod_infra_container" json:"podInfraContainer,omitempty"` // Ingress Controller image Ingress string `yaml:"ingress" json:"ingress,omitempty"` // Ingress Controller Backend image IngressBackend string `yaml:"ingress_backend" json:"ingressBackend,omitempty"` // Ingress Webhook image IngressWebhook string `yaml:"ingress_webhook" json:"ingressWebhook,omitempty"` // Metrics Server image MetricsServer string `yaml:"metrics_server" json:"metricsServer,omitempty"` // Pod infra container image for Windows WindowsPodInfraContainer string `yaml:"windows_pod_infra_container" json:"windowsPodInfraContainer,omitempty"` // Cni deployer container image for Cisco ACI AciCniDeployContainer string `yaml:"aci_cni_deploy_container" json:"aciCniDeployContainer,omitempty"` // host container image for Cisco ACI AciHostContainer string `yaml:"aci_host_container" json:"aciHostContainer,omitempty"` // opflex agent container image for Cisco ACI AciOpflexContainer string `yaml:"aci_opflex_container" json:"aciOpflexContainer,omitempty"` // mcast daemon container image for Cisco ACI AciMcastContainer string `yaml:"aci_mcast_container" json:"aciMcastContainer,omitempty"` // OpenvSwitch container image for Cisco ACI AciOpenvSwitchContainer string `yaml:"aci_ovs_container" json:"aciOvsContainer,omitempty"` // Controller container image for Cisco ACI AciControllerContainer string `yaml:"aci_controller_container" json:"aciControllerContainer,omitempty"` // GBP Server container image for Cisco ACI AciGbpServerContainer string `yaml:"aci_gbp_server_container" json:"aciGbpServerContainer,omitempty"` // Opflex Server container image for Cisco ACI AciOpflexServerContainer string `yaml:"aci_opflex_server_container" json:"aciOpflexServerContainer,omitempty"` }
func (*RKESystemImages) DeepCopy ¶
func (in *RKESystemImages) DeepCopy() *RKESystemImages
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RKESystemImages.
func (*RKESystemImages) DeepCopyInto ¶
func (in *RKESystemImages) DeepCopyInto(out *RKESystemImages)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RKETaint ¶
type RKETaint struct { Key string `json:"key,omitempty" yaml:"key"` Value string `json:"value,omitempty" yaml:"value"` Effect v1.TaintEffect `json:"effect,omitempty" yaml:"effect"` TimeAdded *metav1.Time `json:"timeAdded,omitempty" yaml:"timeAdded,omitempty"` }
func (*RKETaint) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RKETaint.
func (*RKETaint) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RancherKubernetesEngineConfig ¶
type RancherKubernetesEngineConfig struct { // Kubernetes nodes Nodes []RKEConfigNode `yaml:"nodes" json:"nodes,omitempty"` // Kubernetes components Services RKEConfigServices `yaml:"services" json:"services,omitempty"` // Network configuration used in the kubernetes cluster (flannel, calico) Network NetworkConfig `yaml:"network" json:"network,omitempty"` // Authentication configuration used in the cluster (default: x509) Authentication AuthnConfig `yaml:"authentication" json:"authentication,omitempty"` // YAML manifest for user provided addons to be deployed on the cluster Addons string `yaml:"addons" json:"addons,omitempty"` // List of urls or paths for addons AddonsInclude []string `yaml:"addons_include" json:"addonsInclude,omitempty"` // List of images used internally for proxy, cert download and kubedns SystemImages RKESystemImages `yaml:"system_images" json:"systemImages,omitempty"` // SSH Private Key Path SSHKeyPath string `yaml:"ssh_key_path" json:"sshKeyPath,omitempty" norman:"nocreate,noupdate"` // SSH Certificate Path SSHCertPath string `yaml:"ssh_cert_path" json:"sshCertPath,omitempty" norman:"nocreate,noupdate"` // SSH Agent Auth enable SSHAgentAuth bool `yaml:"ssh_agent_auth" json:"sshAgentAuth"` // Authorization mode configuration used in the cluster Authorization AuthzConfig `yaml:"authorization" json:"authorization,omitempty"` // Enable/disable strict docker version checking IgnoreDockerVersion *bool `yaml:"ignore_docker_version" json:"ignoreDockerVersion" norman:"default=true"` // Enable/disable using cri-dockerd EnableCRIDockerd *bool `yaml:"enable_cri_dockerd" json:"enableCriDockerd" norman:"default=false"` // Kubernetes version to use (if kubernetes image is specified, image version takes precedence) Version string `yaml:"kubernetes_version" json:"kubernetesVersion,omitempty"` // List of private registries and their credentials PrivateRegistries []PrivateRegistry `yaml:"private_registries" json:"privateRegistries,omitempty"` // Ingress controller used in the cluster Ingress IngressConfig `yaml:"ingress" json:"ingress,omitempty"` // Cluster Name used in the kube config ClusterName string `yaml:"cluster_name" json:"clusterName,omitempty"` // Cloud Provider options CloudProvider CloudProvider `yaml:"cloud_provider" json:"cloudProvider,omitempty"` // kubernetes directory path PrefixPath string `yaml:"prefix_path" json:"prefixPath,omitempty"` // kubernetes directory path for windows WindowsPrefixPath string `yaml:"win_prefix_path" json:"winPrefixPath,omitempty"` // Timeout in seconds for status check on addon deployment jobs AddonJobTimeout int `yaml:"addon_job_timeout" json:"addonJobTimeout,omitempty" norman:"default=45"` // Bastion/Jump Host configuration BastionHost BastionHost `yaml:"bastion_host" json:"bastionHost,omitempty"` // Monitoring Config Monitoring MonitoringConfig `yaml:"monitoring" json:"monitoring,omitempty"` // RestoreCluster flag Restore RestoreConfig `yaml:"restore" json:"restore,omitempty"` // Rotating Certificates Option RotateCertificates *RotateCertificates `yaml:"rotate_certificates,omitempty" json:"rotateCertificates,omitempty"` // Rotate Encryption Key Option RotateEncryptionKey bool `yaml:"rotate_encryption_key" json:"rotateEncryptionKey"` // DNS Config DNS *DNSConfig `yaml:"dns" json:"dns,omitempty"` // Upgrade Strategy for the cluster UpgradeStrategy *NodeUpgradeStrategy `yaml:"upgrade_strategy,omitempty" json:"upgradeStrategy,omitempty"` }
func (*RancherKubernetesEngineConfig) DeepCopy ¶
func (in *RancherKubernetesEngineConfig) DeepCopy() *RancherKubernetesEngineConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RancherKubernetesEngineConfig.
func (*RancherKubernetesEngineConfig) DeepCopyInto ¶
func (in *RancherKubernetesEngineConfig) DeepCopyInto(out *RancherKubernetesEngineConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RancherKubernetesEngineConfig) ObjClusterName ¶
func (r *RancherKubernetesEngineConfig) ObjClusterName() string
type RestoreConfig ¶
type RestoreConfig struct { Restore bool `yaml:"restore" json:"restore,omitempty"` SnapshotName string `yaml:"snapshot_name" json:"snapshotName,omitempty"` }
func (*RestoreConfig) DeepCopy ¶
func (in *RestoreConfig) DeepCopy() *RestoreConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreConfig.
func (*RestoreConfig) DeepCopyInto ¶
func (in *RestoreConfig) DeepCopyInto(out *RestoreConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RotateCertificates ¶
type RotateCertificates struct { // Rotate CA Certificates CACertificates bool `json:"caCertificates,omitempty"` // Services to rotate their certs Services []string `` /* 130-byte string literal not displayed */ }
func (*RotateCertificates) DeepCopy ¶
func (in *RotateCertificates) DeepCopy() *RotateCertificates
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RotateCertificates.
func (*RotateCertificates) DeepCopyInto ¶
func (in *RotateCertificates) DeepCopyInto(out *RotateCertificates)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteOpenstackOpts ¶
type RouteOpenstackOpts struct {
RouterID string `json:"router-id" yaml:"router-id" ini:"router-id,omitempty"` // required
}
func (*RouteOpenstackOpts) DeepCopy ¶
func (in *RouteOpenstackOpts) DeepCopy() *RouteOpenstackOpts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteOpenstackOpts.
func (*RouteOpenstackOpts) DeepCopyInto ¶
func (in *RouteOpenstackOpts) DeepCopyInto(out *RouteOpenstackOpts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S3BackupConfig ¶
type S3BackupConfig struct { // Access key ID AccessKey string `yaml:"access_key" json:"accessKey,omitempty"` // Secret access key SecretKey string `yaml:"secret_key" json:"secretKey,omitempty" norman:"type=password" ` // name of the bucket to use for backup BucketName string `yaml:"bucket_name" json:"bucketName,omitempty"` // AWS Region, AWS spcific Region string `yaml:"region" json:"region,omitempty"` // Endpoint is used if this is not an AWS API Endpoint string `yaml:"endpoint" json:"endpoint"` // CustomCA is used to connect to custom s3 endpoints CustomCA string `yaml:"custom_ca" json:"customCa,omitempty"` // Folder to place the files Folder string `yaml:"folder" json:"folder,omitempty"` }
func (*S3BackupConfig) DeepCopy ¶
func (in *S3BackupConfig) DeepCopy() *S3BackupConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3BackupConfig.
func (*S3BackupConfig) DeepCopyInto ¶
func (in *S3BackupConfig) DeepCopyInto(out *S3BackupConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SchedulerService ¶
type SchedulerService struct { // Base service properties BaseService `yaml:",inline" json:",inline"` }
func (*SchedulerService) DeepCopy ¶
func (in *SchedulerService) DeepCopy() *SchedulerService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerService.
func (*SchedulerService) DeepCopyInto ¶
func (in *SchedulerService) DeepCopyInto(out *SchedulerService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretsEncryptionConfig ¶
type SecretsEncryptionConfig struct { // Enable/disable secrets encryption provider config Enabled bool `yaml:"enabled" json:"enabled,omitempty"` // Custom Encryption Provider configuration object CustomConfig *configv1.EncryptionConfiguration `yaml:"custom_config" json:"customConfig,omitempty"` }
func (*SecretsEncryptionConfig) DeepCopy ¶
func (in *SecretsEncryptionConfig) DeepCopy() *SecretsEncryptionConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretsEncryptionConfig.
func (*SecretsEncryptionConfig) DeepCopyInto ¶
func (in *SecretsEncryptionConfig) DeepCopyInto(out *SecretsEncryptionConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceOverride ¶
type ServiceOverride struct { Service string `json:"service" yaml:"service" ini:"Service,omitempty"` Region string `json:"region" yaml:"region" ini:"Region,omitempty"` URL string `json:"url" yaml:"url" ini:"URL,omitempty"` SigningRegion string `json:"signing-region" yaml:"signing-region" ini:"SigningRegion,omitempty"` SigningMethod string `json:"signing-method" yaml:"signing-method" ini:"SigningMethod,omitempty"` SigningName string `json:"signing-name" yaml:"signing-name" ini:"SigningName,omitempty"` }
func (*ServiceOverride) DeepCopy ¶
func (in *ServiceOverride) DeepCopy() *ServiceOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceOverride.
func (*ServiceOverride) DeepCopyInto ¶
func (in *ServiceOverride) DeepCopyInto(out *ServiceOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualCenterConfig ¶
type VirtualCenterConfig struct { User string `json:"user,omitempty" yaml:"user,omitempty" ini:"user,omitempty"` Password string `json:"password,omitempty" yaml:"password,omitempty" ini:"password,omitempty" norman:"type=password"` VCenterPort string `json:"port,omitempty" yaml:"port,omitempty" ini:"port,omitempty"` Datacenters string `json:"datacenters,omitempty" yaml:"datacenters,omitempty" ini:"datacenters,omitempty"` RoundTripperCount int `json:"soap-roundtrip-count,omitempty" yaml:"soap-roundtrip-count,omitempty" ini:"soap-roundtrip-count,omitempty"` }
func (*VirtualCenterConfig) DeepCopy ¶
func (in *VirtualCenterConfig) DeepCopy() *VirtualCenterConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualCenterConfig.
func (*VirtualCenterConfig) DeepCopyInto ¶
func (in *VirtualCenterConfig) DeepCopyInto(out *VirtualCenterConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VsphereCloudProvider ¶
type VsphereCloudProvider struct { Global GlobalVsphereOpts `json:"global,omitempty" yaml:"global,omitempty" ini:"Global,omitempty"` VirtualCenter map[string]VirtualCenterConfig `json:"virtualCenter,omitempty" yaml:"virtual_center,omitempty" ini:"VirtualCenter,omitempty"` Network NetworkVshpereOpts `json:"network,omitempty" yaml:"network,omitempty" ini:"Network,omitempty"` Disk DiskVsphereOpts `json:"disk,omitempty" yaml:"disk,omitempty" ini:"Disk,omitempty"` Workspace WorkspaceVsphereOpts `json:"workspace,omitempty" yaml:"workspace,omitempty" ini:"Workspace,omitempty"` }
VsphereCloudProvider options
func (*VsphereCloudProvider) DeepCopy ¶
func (in *VsphereCloudProvider) DeepCopy() *VsphereCloudProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereCloudProvider.
func (*VsphereCloudProvider) DeepCopyInto ¶
func (in *VsphereCloudProvider) DeepCopyInto(out *VsphereCloudProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WeaveNetworkProvider ¶
type WeaveNetworkProvider struct {
Password string `yaml:"password,omitempty" json:"password,omitempty" norman:"type=password"`
}
func (*WeaveNetworkProvider) DeepCopy ¶
func (in *WeaveNetworkProvider) DeepCopy() *WeaveNetworkProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeaveNetworkProvider.
func (*WeaveNetworkProvider) DeepCopyInto ¶
func (in *WeaveNetworkProvider) DeepCopyInto(out *WeaveNetworkProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceVsphereOpts ¶
type WorkspaceVsphereOpts struct { VCenterIP string `json:"server,omitempty" yaml:"server,omitempty" ini:"server,omitempty"` Datacenter string `json:"datacenter,omitempty" yaml:"datacenter,omitempty" ini:"datacenter,omitempty"` Folder string `json:"folder,omitempty" yaml:"folder,omitempty" ini:"folder,omitempty"` DefaultDatastore string `json:"default-datastore,omitempty" yaml:"default-datastore,omitempty" ini:"default-datastore,omitempty"` ResourcePoolPath string `json:"resourcepool-path,omitempty" yaml:"resourcepool-path,omitempty" ini:"resourcepool-path,omitempty"` }
func (*WorkspaceVsphereOpts) DeepCopy ¶
func (in *WorkspaceVsphereOpts) DeepCopy() *WorkspaceVsphereOpts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceVsphereOpts.
func (*WorkspaceVsphereOpts) DeepCopyInto ¶
func (in *WorkspaceVsphereOpts) DeepCopyInto(out *WorkspaceVsphereOpts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.