Documentation ¶
Index ¶
- Constants
- Variables
- func AreEqual(o, n interface{}) bool
- func Base64Decode(s string) (string, error)
- func Base64Encode(s string) string
- func DoGet(url, username, password, token, cacert string, insecure bool) ([]byte, error)
- func DoPost(url, data, cacert string, insecure bool, headers map[string]string) (map[string]interface{}, error)
- func DoUserLogin(url, user, pass, ttl, desc, cacert string, insecure bool) (string, string, error)
- func FileExist(path string) (bool, error)
- func GetRandomPass(n int) string
- func GlobalDNSFields() map[string]*schema.Schema
- func HashPasswordString(password string) (string, error)
- func IsBadGatewayError(err error) bool
- func IsBase64(s string) bool
- func IsConflict(err error) bool
- func IsForbidden(err error) bool
- func IsNotAccessibleByID(err error) bool
- func IsNotAllowed(err error) bool
- func IsNotFound(err error) bool
- func IsServerError(err error) bool
- func IsServiceUnavailableError(err error) bool
- func IsUnknownSchemaType(err error) bool
- func IsVersionGreaterThanOrEqual(ver1, ver2 string) (bool, error)
- func IsVersionLessThan(ver1, ver2 string) (bool, error)
- func JSONToYAML(in string) (string, error)
- func NewListOpts(filters map[string]interface{}) *types.ListOpts
- func NormalizeURL(input string) (string, error)
- func Provider() terraform.ResourceProvider
- func ToLower(s string) string
- func TrimSpace(val interface{}) string
- func YAMLToJSON(in string) (string, error)
- type AmazonElasticContainerServiceConfig
- type AppV2
- type AppV2Operation
- type AzureKubernetesServiceConfig
- type ByNameClusterTemplateRevisions
- type CLIConfig
- type Client
- type CloudCredential
- type Cluster
- type ClusterRepo
- type ClusterRepoCollection
- type ClusterV2
- type Config
- func (c *Config) CatalogV2Client(id string) (*clientbase.APIBaseClient, error)
- func (c *Config) CheckAuthConfigEnabled(id string) error
- func (c *Config) ClusterClient(id string) (*clusterClient.Client, error)
- func (c *Config) ClusterExist(id string) error
- func (c *Config) ClusterRegistrationTokenExist(id string) error
- func (c *Config) CreateCatalog(scope string, catalog interface{}) (interface{}, error)
- func (c *Config) CreateCertificate(cert interface{}) (interface{}, error)
- func (c *Config) CreateClientOpts() *clientbase.ClientOpts
- func (c *Config) CreateRegistry(registry interface{}) (interface{}, error)
- func (c *Config) CreateSecret(secret interface{}) (interface{}, error)
- func (c *Config) DeleteCatalog(scope string, catalog interface{}) error
- func (c *Config) DeleteCertificate(cert interface{}) error
- func (c *Config) DeleteRegistry(registry interface{}) error
- func (c *Config) DeleteSecret(secret interface{}) error
- func (c *Config) DeleteToken(id string) error
- func (c *Config) GenerateUserToken(username, desc string, ttl int) (string, string, error)
- func (c *Config) GetAuthConfig(in *managementClient.AuthConfig) (interface{}, error)
- func (c *Config) GetCatalog(id, scope string) (interface{}, error)
- func (c *Config) GetCatalogByName(name, scope string) (interface{}, error)
- func (c *Config) GetCertificate(id, projectID, namespaceID string) (interface{}, error)
- func (c *Config) GetCertificateByFilters(filters map[string]interface{}) (interface{}, error)
- func (c *Config) GetClusterByID(id string) (*managementClient.Cluster, error)
- func (c *Config) GetClusterByName(name string) (*managementClient.Cluster, error)
- func (c *Config) GetClusterIDByName(name string) (string, error)
- func (c *Config) GetClusterNodes(id string) ([]managementClient.Node, error)
- func (c *Config) GetClusterProjects(id string) ([]managementClient.Project, error)
- func (c *Config) GetClusterRegistrationTokenByID(id string) (*managementClient.ClusterRegistrationToken, error)
- func (c *Config) GetClusterSpecialProjectsID(id string) (string, string, error)
- func (c *Config) GetGlobalRoleByID(id string) (*managementClient.GlobalRole, error)
- func (c *Config) GetProjectByID(id string) (*managementClient.Project, error)
- func (c *Config) GetProjectByName(name, clusterID string) (*managementClient.Project, error)
- func (c *Config) GetProjectIDByName(name, clusterID string) (string, error)
- func (c *Config) GetProjectNameByID(id string) (string, error)
- func (c *Config) GetProjectRoleTemplateBindingsByProjectID(projectID string) ([]managementClient.ProjectRoleTemplateBinding, error)
- func (c *Config) GetRancherVersion() (string, error)
- func (c *Config) GetRecipientByNotifier(id string) (*managementClient.Recipient, error)
- func (c *Config) GetRegistry(id, projectID, namespaceID string) (interface{}, error)
- func (c *Config) GetRegistryByFilters(filters map[string]interface{}) (interface{}, error)
- func (c *Config) GetRoleTemplateByID(id string) (*managementClient.RoleTemplate, error)
- func (c *Config) GetSecret(id, projectID, namespaceID string) (interface{}, error)
- func (c *Config) GetSecretByFilters(filters map[string]interface{}) (interface{}, error)
- func (c *Config) GetSetting(name string) (*managementClient.Setting, error)
- func (c *Config) GetSettingV2ByID(id string) (*SettingV2, error)
- func (c *Config) GetSettingValue(name string) (string, error)
- func (c *Config) GetUserByName(name string) (*managementClient.User, error)
- func (c *Config) GetUserIDByName(name string) (string, error)
- func (c *Config) GlobalRoleExist(id string) error
- func (c *Config) IsProjectDefault(project *managementClient.Project) bool
- func (c *Config) IsProjectSystem(project *managementClient.Project) bool
- func (c *Config) IsRancherVersionGreaterThanOrEqual(ver string) (bool, error)
- func (c *Config) IsRancherVersionGreaterThanOrEqualAndLessThan(ver1, ver2 string) (bool, error)
- func (c *Config) IsRancherVersionLessThan(ver string) (bool, error)
- func (c *Config) IsTokenExpired(id string) (bool, error)
- func (c *Config) ManagementClient() (*managementClient.Client, error)
- func (c *Config) NormalizeURL() error
- func (c *Config) ProjectClient(id string) (*projectClient.Client, error)
- func (c *Config) ProjectExist(id string) error
- func (c *Config) RefreshCatalog(scope string, catalog interface{}) (*managementClient.CatalogRefresh, error)
- func (c *Config) RestartClients() error
- func (c *Config) RoleTemplateExist(id string) error
- func (c *Config) SetSetting(name, value string) error
- func (c *Config) SetUserPassword(user *managementClient.User, pass string) (bool, *managementClient.User, error)
- func (c *Config) SetUserPasswordByName(username, pass string) (bool, string, *managementClient.User, error)
- func (c *Config) UpdateAuthConfig(url string, createObj interface{}, respObject interface{}) error
- func (c *Config) UpdateCatalog(scope string, catalog interface{}, update map[string]interface{}) (interface{}, error)
- func (c *Config) UpdateCertificate(cert interface{}, update interface{}) (interface{}, error)
- func (c *Config) UpdateClusterByID(cluster *managementClient.Cluster, update map[string]interface{}) (*managementClient.Cluster, error)
- func (c *Config) UpdateRegistry(registry interface{}, update map[string]interface{}) (interface{}, error)
- func (c *Config) UpdateSecret(secret interface{}, update map[string]interface{}) (interface{}, error)
- func (c *Config) UpdateToken(token string) error
- func (c *Config) UserPasswordChanged(user *managementClient.User, pass string) bool
- func (c *Config) WaitForClusterState(clusterID, state string, interval time.Duration) (*managementClient.Cluster, error)
- type ConfigMapV2
- type GoogleKubernetesEngineConfig
- type MachineConfigV2
- type MachineConfigV2Amazonec2
- type MachineConfigV2Azure
- type MachineConfigV2Digitalocean
- type MachineConfigV2Harvester
- type MachineConfigV2Linode
- type MachineConfigV2Openstack
- type MachineConfigV2Vmwarevsphere
- type NodeTemplate
- type OracleKubernetesEngineConfig
- type SecretV2
- type SettingV2
- type StorageClassV2
Constants ¶
const ( DefaultProcMount string = "Default" UnmaskedProcMount string = "Unmasked" )
const ( RunAsGroupStrategyMustRunAs = "MustRunAs" RunAsGroupStrategyMustRunAsNonRoot = "MustRunAsNonRoot" RunAsGroupStrategyRunAsAny = "RunAsAny" )
const ( RunAsUserStrategyMustRunAs = "MustRunAs" RunAsUserStrategyMustRunAsNonRoot = "MustRunAsNonRoot" RunAsUserStrategyRunAsAny = "RunAsAny" )
const ( SELinuxStrategyMustRunAs = "MustRunAs" SELinuxStrategyRunAsAny = "RunAsAny" )
const ( SupplementalGroupsStrategyMayRunAs = "MayRunAs" SupplementalGroupsStrategyMustRunAs = "MustRunAs" SupplementalGroupsStrategyRunAsAny = "RunAsAny" )
const ( AzureFile string = "azureFile" Flocker string = "flocker" FlexVolume string = "flexVolume" HostPath string = "hostPath" EmptyDir string = "emptyDir" GCEPersistentDisk string = "gcePersistentDisk" AWSElasticBlockStore string = "awsElasticBlockStore" GitRepo string = "gitRepo" Secret string = "secret" NFS string = "nfs" ISCSI string = "iscsi" Glusterfs string = "glusterfs" PersistentVolumeClaim string = "persistentVolumeClaim" RBD string = "rbd" Cinder string = "cinder" CephFS string = "cephFS" DownwardAPI string = "downwardAPI" FC string = "fc" ConfigMap string = "configMap" VsphereVolume string = "vsphereVolume" Quobyte string = "quobyte" AzureDisk string = "azureDisk" PhotonPersistentDisk string = "photonPersistentDisk" StorageOS string = "storageos" Projected string = "projected" PortworxVolume string = "portworxVolume" ScaleIO string = "scaleIO" CSI string = "csi" All string = "*" )
const ( AppTemplateExternalIDPrefix = "catalog://?" AppCatalogClusterLocalPrefix = "local" AppCatalogClusterPrefix = "c-" AppCatalogProjectPrefix = "p-" )
const AuthConfigADFSName = "adfs"
const AuthConfigActiveDirectoryName = "activedirectory"
const AuthConfigAzureADName = "azuread"
const AuthConfigFreeIpaName = "freeipa"
const AuthConfigGithubName = "github"
const AuthConfigKeyCloakName = "keycloak"
const AuthConfigOKTAName = "okta"
const AuthConfigOpenLdapName = "openldap"
const AuthConfigPingName = "ping"
const (
MultiClusterAppTemplatePrefix = "cattle-global-data:"
)
Variables ¶
var ( ProcMountTypes = []string{ DefaultProcMount, UnmaskedProcMount, } )
var ( // RKEConfigNodesRoles available RKE roles for nodes RKEConfigNodesRoles = []string{"controlplane", "etcd", "worker"} )
Functions ¶
func Base64Decode ¶
func Base64Encode ¶
func DoUserLogin ¶
func GetRandomPass ¶
func GlobalDNSFields ¶
func HashPasswordString ¶
func IsBadGatewayError ¶
IsBadGatewayError checks if the given APIError is a Bad Gateway Server Error HTTP statuscode
func IsConflict ¶
IsConflict checks if the given APIError is a Conflict HTTP statuscode
func IsForbidden ¶
IsForbidden checks if the given APIError is a Forbidden HTTP statuscode
func IsNotAccessibleByID ¶ added in v1.24.0
func IsNotAllowed ¶
IsNotAllowed checks if the given APIError is a Method Not Allowed HTTP statuscode
func IsNotFound ¶
func IsServerError ¶
IsServerError checks if the given APIError is a Internal Server Error HTTP statuscode
func IsServiceUnavailableError ¶
IsServiceUnavailableError checks if the given APIError is a Service Unavailable Server Error HTTP statuscode
func IsUnknownSchemaType ¶
func IsVersionLessThan ¶
func JSONToYAML ¶
func NewListOpts ¶
func NormalizeURL ¶
func Provider ¶
func Provider() terraform.ResourceProvider
Provider returns a terraform.ResourceProvider.
func YAMLToJSON ¶
Types ¶
type AmazonElasticContainerServiceConfig ¶
type AmazonElasticContainerServiceConfig struct { AMI string `json:"ami,omitempty" yaml:"ami,omitempty"` AccessKey string `json:"accessKey,omitempty" yaml:"accessKey,omitempty"` AssociateWorkerNodePublicIP *bool `json:"associateWorkerNodePublicIp,omitempty" yaml:"associateWorkerNodePublicIp,omitempty"` DesiredNodes int64 `json:"desiredNodes,omitempty" yaml:"desiredNodes,omitempty"` DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"` DriverName string `json:"driverName,omitempty" yaml:"driverName,omitempty"` EBSEncryption bool `json:"ebsEncryption,omitempty" yaml:"ebsEncryption,omitempty"` InstanceType string `json:"instanceType,omitempty" yaml:"instanceType,omitempty"` KeyPairName string `json:"keyPairName,omitempty" yaml:"keyPairName,omitempty"` KubernetesVersion string `json:"kubernetesVersion,omitempty" yaml:"kubernetesVersion,omitempty"` MaximumNodes int64 `json:"maximumNodes,omitempty" yaml:"maximumNodes,omitempty"` MinimumNodes int64 `json:"minimumNodes,omitempty" yaml:"minimumNodes,omitempty"` NodeVolumeSize int64 `json:"nodeVolumeSize,omitempty" yaml:"nodeVolumeSize,omitempty"` Region string `json:"region,omitempty" yaml:"region,omitempty"` SecretKey string `json:"secretKey,omitempty" yaml:"secretKey,omitempty"` SecurityGroups []string `json:"securityGroups,omitempty" yaml:"securityGroups,omitempty"` ServiceRole string `json:"serviceRole,omitempty" yaml:"serviceRole,omitempty"` SessionToken string `json:"sessionToken,omitempty" yaml:"sessionToken,omitempty"` Subnets []string `json:"subnets,omitempty" yaml:"subnets,omitempty"` UserData string `json:"userData,omitempty" yaml:"userData,omitempty"` VirtualNetwork string `json:"virtualNetwork,omitempty" yaml:"virtualNetwork,omitempty"` }
type AzureKubernetesServiceConfig ¶
type AzureKubernetesServiceConfig struct { AADClientAppID string `json:"addClientAppId,omitempty" yaml:"addClientAppId,omitempty"` AADServerAppID string `json:"addServerAppId,omitempty" yaml:"addServerAppId,omitempty"` AADServerAppSecret string `json:"addServerAppSecret,omitempty" yaml:"addServerAppSecret,omitempty"` AADTenantID string `json:"addTenantId,omitempty" yaml:"addTenantId,omitempty"` AdminUsername string `json:"adminUsername,omitempty" yaml:"adminUsername,omitempty"` AgentDNSPrefix string `json:"agentDnsPrefix,omitempty" yaml:"agentDnsPrefix,omitempty"` AgentOsdiskSizeGB int64 `json:"agentOsdiskSize,omitempty" yaml:"agentOsdiskSize,omitempty"` AgentPoolName string `json:"agentPoolName,omitempty" yaml:"agentPoolName,omitempty"` AgentStorageProfile string `json:"agentStorageProfile,omitempty" yaml:"agentStorageProfile,omitempty"` AgentVMSize string `json:"agentVmSize,omitempty" yaml:"agentVmSize,omitempty"` AuthBaseURL string `json:"authBaseUrl" yaml:"authBaseUrl"` BaseURL string `json:"baseUrl,omitempty" yaml:"baseUrl,omitempty"` ClientID string `json:"clientId,omitempty" yaml:"clientId,omitempty"` ClientSecret string `json:"clientSecret,omitempty" yaml:"clientSecret,omitempty"` Count int64 `json:"count,omitempty" yaml:"count,omitempty"` DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"` DriverName string `json:"driverName,omitempty" yaml:"driverName,omitempty"` DNSServiceIP string `json:"dnsServiceIp,omitempty" yaml:"dnsServiceIp,omitempty"` DockerBridgeCIDR string `json:"dockerBridgeCidr,omitempty" yaml:"dockerBridgeCidr,omitempty"` EnableHTTPApplicationRouting bool `json:"enableHttpApplicationRouting,omitempty" yaml:"enableHttpApplicationRouting,omitempty"` EnableMonitoring *bool `json:"enableMonitoring,omitempty" yaml:"enableMonitoring,omitempty"` KubernetesVersion string `json:"kubernetesVersion,omitempty" yaml:"kubernetesVersion,omitempty"` LoadBalancerSku string `json:"loadBalancerSku,omitempty" yaml:"loadBalancerSku,omitempty"` Location string `json:"location,omitempty" yaml:"location,omitempty"` LogAnalyticsWorkspace string `json:"logAnalyticsWorkspace,omitempty" yaml:"logAnalyticsWorkspace,omitempty"` LogAnalyticsWorkspaceResourceGroup string `json:"logAnalyticsWorkspaceResourceGroup,omitempty" yaml:"logAnalyticsWorkspaceResourceGroup,omitempty"` MasterDNSPrefix string `json:"masterDnsPrefix,omitempty" yaml:"masterDnsPrefix,omitempty"` MaxPods int64 `json:"maxPods,omitempty" yaml:"maxPods,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` NetworkPlugin string `json:"networkPlugin,omitempty" yaml:"networkPlugin,omitempty"` NetworkPolicy string `json:"networkPolicy,omitempty" yaml:"networkPolicy,omitempty"` PodCIDR string `json:"podCidr,omitempty" yaml:"podCidr,omitempty"` ResourceGroup string `json:"resourceGroup,omitempty" yaml:"resourceGroup,omitempty"` SSHPublicKeyContents string `json:"sshPublicKeyContents,omitempty" yaml:"sshPublicKeyContents,omitempty"` ServiceCIDR string `json:"serviceCidr,omitempty" yaml:"serviceCidr,omitempty"` Subnet string `json:"subnet,omitempty" yaml:"subnet,omitempty"` SubscriptionID string `json:"subscriptionId,omitempty" yaml:"subscriptionId,omitempty"` Tags []string `json:"tags,omitempty" yaml:"tags,omitempty"` TenantID string `json:"tenantId,omitempty" yaml:"tenantId,omitempty"` VirtualNetwork string `json:"virtualNetwork,omitempty" yaml:"virtualNetwork,omitempty"` VirtualNetworkResourceGroup string `json:"virtualNetworkResourceGroup,omitempty" yaml:"virtualNetworkResourceGroup,omitempty"` }
type ByNameClusterTemplateRevisions ¶
type ByNameClusterTemplateRevisions []managementClient.ClusterTemplateRevision
func (ByNameClusterTemplateRevisions) Len ¶
func (a ByNameClusterTemplateRevisions) Len() int
func (ByNameClusterTemplateRevisions) Less ¶
func (a ByNameClusterTemplateRevisions) Less(i, j int) bool
func (ByNameClusterTemplateRevisions) Swap ¶
func (a ByNameClusterTemplateRevisions) Swap(i, j int)
type CLIConfig ¶
type CLIConfig struct { AdminPass string `json:"adminpass"` AccessKey string `json:"accessKey"` SecretKey string `json:"secretKey"` TokenKey string `json:"tokenKey"` CACerts string `json:"caCerts"` Insecure bool `json:"insecure,omitempty"` URL string `json:"url"` Project string `json:"project"` Path string `json:"path,omitempty"` }
CLIConfig used to store data from file.
type Client ¶
type Client struct { Management *managementClient.Client CatalogV2 map[string]*clientbase.APIBaseClient Cluster map[string]*clusterClient.Client Project map[string]*projectClient.Client }
Client are the client kind for a Rancher v3 API
type CloudCredential ¶
type CloudCredential struct { managementClient.CloudCredential Amazonec2CredentialConfig *amazonec2CredentialConfig `json:"amazonec2credentialConfig,omitempty" yaml:"amazonec2credentialConfig,omitempty"` AzureCredentialConfig *azureCredentialConfig `json:"azurecredentialConfig,omitempty" yaml:"azurecredentialConfig,omitempty"` DigitaloceanCredentialConfig *digitaloceanCredentialConfig `json:"digitaloceancredentialConfig,omitempty" yaml:"digitaloceancredentialConfig,omitempty"` GoogleCredentialConfig *googleCredentialConfig `json:"googlecredentialConfig,omitempty" yaml:"googlecredentialConfig,omitempty"` HarvesterCredentialConfig *harvesterCredentialConfig `json:"harvestercredentialConfig,omitempty" yaml:"harvestercredentialConfig,omitempty"` LinodeCredentialConfig *linodeCredentialConfig `json:"linodecredentialConfig,omitempty" yaml:"linodecredentialConfig,omitempty"` OpenstackCredentialConfig *openstackCredentialConfig `json:"openstackcredentialConfig,omitempty" yaml:"openstackcredentialConfig,omitempty"` VmwarevsphereCredentialConfig *vmwarevsphereCredentialConfig `json:"vmwarevspherecredentialConfig,omitempty" yaml:"vmwarevspherecredentialConfig,omitempty"` }
type Cluster ¶
type Cluster struct { managementClient.Cluster AmazonElasticContainerServiceConfig *AmazonElasticContainerServiceConfig `json:"amazonElasticContainerServiceConfig,omitempty" yaml:"amazonElasticContainerServiceConfig,omitempty"` AzureKubernetesServiceConfig *AzureKubernetesServiceConfig `json:"azureKubernetesServiceConfig,omitempty" yaml:"azureKubernetesServiceConfig,omitempty"` GoogleKubernetesEngineConfig *GoogleKubernetesEngineConfig `json:"googleKubernetesEngineConfig,omitempty" yaml:"googleKubernetesEngineConfig,omitempty"` OracleKubernetesEngineConfig *OracleKubernetesEngineConfig `json:"okeEngineConfig,omitempty" yaml:"okeEngineConfig,omitempty"` }
type ClusterRepo ¶
type ClusterRepo struct { norman.Resource v1.ClusterRepo }
type ClusterRepoCollection ¶
type ClusterRepoCollection struct { norman.Collection Data []ClusterRepo `json:"data,omitempty"` }
type Config ¶
type Config struct { TokenKey string `json:"tokenKey"` URL string `json:"url"` CACerts string `json:"cacert"` Insecure bool `json:"insecure"` Bootstrap bool `json:"bootstrap"` ClusterID string `json:"clusterId"` ProjectID string `json:"projectId"` Timeout time.Duration RancherVersion string K8SDefaultVersion string K8SSupportedVersions []string Sync sync.Mutex Client Client }
Config is the configuration parameters for a Rancher v3 API
func (*Config) CatalogV2Client ¶
func (c *Config) CatalogV2Client(id string) (*clientbase.APIBaseClient, error)
CatalogV2Client creates a Rancher client scoped to a Cluster API
func (*Config) CheckAuthConfigEnabled ¶
func (*Config) ClusterClient ¶
func (c *Config) ClusterClient(id string) (*clusterClient.Client, error)
ClusterClient creates a Rancher client scoped to a Cluster API
func (*Config) ClusterExist ¶
func (*Config) ClusterRegistrationTokenExist ¶
func (*Config) CreateCatalog ¶
func (*Config) CreateCertificate ¶
func (*Config) CreateClientOpts ¶
func (c *Config) CreateClientOpts() *clientbase.ClientOpts
func (*Config) CreateRegistry ¶
func (*Config) CreateSecret ¶
func (*Config) DeleteCatalog ¶
func (*Config) DeleteCertificate ¶
func (*Config) DeleteRegistry ¶
func (*Config) DeleteSecret ¶
func (*Config) DeleteToken ¶
func (*Config) GenerateUserToken ¶
GenerateUserToken generates token with ttl measured in seconds
func (*Config) GetAuthConfig ¶
func (c *Config) GetAuthConfig(in *managementClient.AuthConfig) (interface{}, error)
func (*Config) GetCatalog ¶
func (*Config) GetCatalogByName ¶
func (*Config) GetCertificate ¶
func (*Config) GetCertificateByFilters ¶
func (*Config) GetClusterByID ¶
func (c *Config) GetClusterByID(id string) (*managementClient.Cluster, error)
func (*Config) GetClusterByName ¶
func (c *Config) GetClusterByName(name string) (*managementClient.Cluster, error)
func (*Config) GetClusterIDByName ¶
func (*Config) GetClusterNodes ¶
func (c *Config) GetClusterNodes(id string) ([]managementClient.Node, error)
func (*Config) GetClusterProjects ¶
func (c *Config) GetClusterProjects(id string) ([]managementClient.Project, error)
func (*Config) GetClusterRegistrationTokenByID ¶
func (c *Config) GetClusterRegistrationTokenByID(id string) (*managementClient.ClusterRegistrationToken, error)
func (*Config) GetClusterSpecialProjectsID ¶
func (*Config) GetGlobalRoleByID ¶
func (c *Config) GetGlobalRoleByID(id string) (*managementClient.GlobalRole, error)
func (*Config) GetProjectByID ¶
func (c *Config) GetProjectByID(id string) (*managementClient.Project, error)
func (*Config) GetProjectByName ¶
func (c *Config) GetProjectByName(name, clusterID string) (*managementClient.Project, error)
func (*Config) GetProjectIDByName ¶
func (*Config) GetProjectRoleTemplateBindingsByProjectID ¶
func (c *Config) GetProjectRoleTemplateBindingsByProjectID(projectID string) ([]managementClient.ProjectRoleTemplateBinding, error)
func (*Config) GetRancherVersion ¶
GetRancherVersion get Rancher server version
func (*Config) GetRecipientByNotifier ¶
func (c *Config) GetRecipientByNotifier(id string) (*managementClient.Recipient, error)
func (*Config) GetRegistry ¶
func (*Config) GetRegistryByFilters ¶
func (*Config) GetRoleTemplateByID ¶
func (c *Config) GetRoleTemplateByID(id string) (*managementClient.RoleTemplate, error)
func (*Config) GetSecretByFilters ¶
func (*Config) GetSetting ¶
func (c *Config) GetSetting(name string) (*managementClient.Setting, error)
func (*Config) GetUserByName ¶
func (c *Config) GetUserByName(name string) (*managementClient.User, error)
func (*Config) GlobalRoleExist ¶
func (*Config) IsProjectDefault ¶
func (c *Config) IsProjectDefault(project *managementClient.Project) bool
func (*Config) IsProjectSystem ¶
func (c *Config) IsProjectSystem(project *managementClient.Project) bool
func (*Config) IsRancherVersionGreaterThanOrEqual ¶
func (*Config) IsRancherVersionGreaterThanOrEqualAndLessThan ¶
func (*Config) IsRancherVersionLessThan ¶
func (*Config) ManagementClient ¶
func (c *Config) ManagementClient() (*managementClient.Client, error)
ManagementClient creates a Rancher client scoped to the management API
func (*Config) NormalizeURL ¶
func (*Config) ProjectClient ¶
func (c *Config) ProjectClient(id string) (*projectClient.Client, error)
ProjectClient creates a Rancher client scoped to a Project API
func (*Config) ProjectExist ¶
func (*Config) RefreshCatalog ¶
func (c *Config) RefreshCatalog(scope string, catalog interface{}) (*managementClient.CatalogRefresh, error)
func (*Config) RoleTemplateExist ¶
func (*Config) SetSetting ¶
func (*Config) SetUserPassword ¶
func (c *Config) SetUserPassword(user *managementClient.User, pass string) (bool, *managementClient.User, error)
func (*Config) SetUserPasswordByName ¶
func (*Config) UpdateAuthConfig ¶
func (*Config) UpdateCatalog ¶
func (*Config) UpdateCertificate ¶
func (*Config) UpdateClusterByID ¶
func (c *Config) UpdateClusterByID(cluster *managementClient.Cluster, update map[string]interface{}) (*managementClient.Cluster, error)
func (*Config) UpdateRegistry ¶
func (*Config) UpdateSecret ¶
func (*Config) UpdateToken ¶
UpdateToken update tokenkey and restart client connections
func (*Config) UserPasswordChanged ¶
func (c *Config) UserPasswordChanged(user *managementClient.User, pass string) bool
func (*Config) WaitForClusterState ¶
type GoogleKubernetesEngineConfig ¶
type GoogleKubernetesEngineConfig struct { ClusterIpv4Cidr string `json:"clusterIpv4Cidr,omitempty" yaml:"clusterIpv4Cidr,omitempty"` Credential string `json:"credential,omitempty" yaml:"credential,omitempty"` Description string `json:"description,omitempty" yaml:"description,omitempty"` DiskSizeGb int64 `json:"diskSizeGb,omitempty" yaml:"diskSizeGb,omitempty"` DiskType string `json:"diskType,omitempty" yaml:"diskType,omitempty"` DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"` DriverName string `json:"driverName,omitempty" yaml:"driverName,omitempty"` EnableAlphaFeature bool `json:"enableAlphaFeature,omitempty" yaml:"enableAlphaFeature,omitempty"` EnableAutoRepair bool `json:"enableAutoRepair,omitempty" yaml:"enableAutoRepair,omitempty"` EnableAutoUpgrade bool `json:"enableAutoUpgrade,omitempty" yaml:"enableAutoUpgrade,omitempty"` EnableHorizontalPodAutoscaling *bool `json:"enableHorizontalPodAutoscaling,omitempty" yaml:"enableHorizontalPodAutoscaling,omitempty"` EnableHTTPLoadBalancing *bool `json:"enableHttpLoadBalancing,omitempty" yaml:"enableHttpLoadBalancing,omitempty"` EnableKubernetesDashboard bool `json:"enableKubernetesDashboard,omitempty" yaml:"enableKubernetesDashboard,omitempty"` EnableLegacyAbac bool `json:"enableLegacyAbac,omitempty" yaml:"enableLegacyAbac,omitempty"` EnableMasterAuthorizedNetwork bool `json:"enableMasterAuthorizedNetwork,omitempty" yaml:"enableMasterAuthorizedNetwork,omitempty"` EnableNetworkPolicyConfig *bool `json:"enableNetworkPolicyConfig,omitempty" yaml:"enableNetworkPolicyConfig,omitempty"` EnableNodepoolAutoscaling bool `json:"enableNodepoolAutoscaling,omitempty" yaml:"enableNodepoolAutoscaling,omitempty"` EnablePrivateEndpoint bool `json:"enablePrivateEndpoint,omitempty" yaml:"enablePrivateEndpoint,omitempty"` EnablePrivateNodes bool `json:"enablePrivateNodes,omitempty" yaml:"enablePrivateNodes,omitempty"` EnableStackdriverLogging *bool `json:"enableStackdriverLogging,omitempty" yaml:"enableStackdriverLogging,omitempty"` EnableStackdriverMonitoring *bool `json:"enableStackdriverMonitoring,omitempty" yaml:"enableStackdriverMonitoring,omitempty"` ImageType string `json:"imageType,omitempty" yaml:"imageType,omitempty"` IPPolicyClusterIpv4CidrBlock string `json:"ipPolicyClusterIpv4CidrBlock,omitempty" yaml:"ipPolicyClusterIpv4CidrBlock,omitempty"` IPPolicyClusterSecondaryRangeName string `json:"ipPolicyClusterSecondaryRangeName,omitempty" yaml:"ipPolicyClusterSecondaryRangeName,omitempty"` IPPolicyCreateSubnetwork bool `json:"ipPolicyCreateSubnetwork,omitempty" yaml:"ipPolicyCreateSubnetwork,omitempty"` IPPolicyNodeIpv4CidrBlock string `json:"ipPolicyNodeIpv4CidrBlock,omitempty" yaml:"ipPolicyNodeIpv4CidrBlock,omitempty"` IPPolicyServicesIpv4CidrBlock string `json:"ipPolicyServicesIpv4CidrBlock,omitempty" yaml:"ipPolicyServicesIpv4CidrBlock,omitempty"` IPPolicyServicesSecondaryRangeName string `json:"ipPolicyServicesSecondaryRangeName,omitempty" yaml:"ipPolicyServicesSecondaryRangeName,omitempty"` IPPolicySubnetworkName string `json:"ipPolicySubnetworkName,omitempty" yaml:"ipPolicySubnetworkName,omitempty"` IssueClientCertificate bool `json:"issueClientCertificate,omitempty" yaml:"issueClientCertificate,omitempty"` KubernetesDashboard bool `json:"kubernetesDashboard,omitempty" yaml:"kubernetesDashboard,omitempty"` Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` LocalSsdCount int64 `json:"localSsdCount,omitempty" yaml:"localSsdCount,omitempty"` Locations []string `json:"locations,omitempty" yaml:"locations,omitempty"` MachineType string `json:"machineType,omitempty" yaml:"machineType,omitempty"` MaintenanceWindow string `json:"maintenanceWindow,omitempty" yaml:"maintenanceWindow,omitempty"` MasterAuthorizedNetworkCidrBlocks []string `json:"masterAuthorizedNetworkCidrBlocks,omitempty" yaml:"masterAuthorizedNetworkCidrBlocks,omitempty"` MasterIpv4CidrBlock string `json:"masterIpv4CidrBlock,omitempty" yaml:"masterIpv4CidrBlock,omitempty"` MasterVersion string `json:"masterVersion,omitempty" yaml:"masterVersion,omitempty"` MaxNodeCount int64 `json:"maxNodeCount,omitempty" yaml:"maxNodeCount,omitempty"` MinNodeCount int64 `json:"minNodeCount,omitempty" yaml:"minNodeCount,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` Network string `json:"network,omitempty" yaml:"network,omitempty"` NodeCount int64 `json:"nodeCount,omitempty" yaml:"nodeCount,omitempty"` NodePool string `json:"nodePool,omitempty" yaml:"nodePool,omitempty"` NodeVersion string `json:"nodeVersion,omitempty" yaml:"nodeVersion,omitempty"` OauthScopes []string `json:"oauthScopes,omitempty" yaml:"oauthScopes,omitempty"` Preemptible bool `json:"preemptible,omitempty" yaml:"preemptible,omitempty"` ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"` Region string `json:"region,omitempty" yaml:"region,omitempty"` ResourceLabels map[string]string `json:"resourceLabels,omitempty" yaml:"resourceLabels,omitempty"` ServiceAccount string `json:"serviceAccount,omitempty" yaml:"serviceAccount,omitempty"` SubNetwork string `json:"subNetwork,omitempty" yaml:"subNetwork,omitempty"` UseIPAliases bool `json:"useIpAliases,omitempty" yaml:"useIpAliases,omitempty"` Taints []string `json:"taints,omitempty" yaml:"taints,omitempty"` Zone string `json:"zone,omitempty" yaml:"zone,omitempty"` }
type MachineConfigV2 ¶
type MachineConfigV2Azure ¶
type MachineConfigV2Harvester ¶ added in v1.23.0
type MachineConfigV2Linode ¶
type NodeTemplate ¶
type NodeTemplate struct { managementClient.NodeTemplate Amazonec2Config *amazonec2Config `json:"amazonec2Config,omitempty" yaml:"amazonec2Config,omitempty"` AzureConfig *azureConfig `json:"azureConfig,omitempty" yaml:"azureConfig,omitempty"` DigitaloceanConfig *digitaloceanConfig `json:"digitaloceanConfig,omitempty" yaml:"digitaloceanConfig,omitempty"` HarvesterConfig *harvesterConfig `json:"harvesterConfig,omitempty" yaml:"harvesterConfig,omitempty"` HetznerConfig *hetznerConfig `json:"hetznerConfig,omitempty" yaml:"hetznerConfig,omitempty"` LinodeConfig *linodeConfig `json:"linodeConfig,omitempty" yaml:"linodeConfig,omitempty"` OpennebulaConfig *opennebulaConfig `json:"opennebulaConfig,omitempty" yaml:"opennebulaConfig,omitempty"` OpenstackConfig *openstackConfig `json:"openstackConfig,omitempty" yaml:"openstackConfig,omitempty"` VmwarevsphereConfig *vmwarevsphereConfig `json:"vmwarevsphereConfig,omitempty" yaml:"vmwarevsphereConfig,omitempty"` OutscaleConfig *outscaleConfig `json:"outscaleConfig,omitempty" yaml:"outscaleConfig,omitempty"` }
type OracleKubernetesEngineConfig ¶
type OracleKubernetesEngineConfig struct { CompartmentID string `json:"compartmentId,omitempty" yaml:"compartmentId,omitempty"` CustomBootVolumeSize int64 `json:"customBootVolumeSize,omitempty" yaml:"customBootVolumeSize,omitempty"` Description string `json:"description,omitempty" yaml:"description,omitempty"` DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"` EnableKubernetesDashboard bool `json:"enableKubernetesDashboard,omitempty" yaml:"enableKubernetesDashboard,omitempty"` Fingerprint string `json:"fingerprint,omitempty" yaml:"fingerprint,omitempty"` FlexOCPUs int64 `json:"flexOcpus,omitempty" yaml:"flexOcpus,omitempty"` KubernetesVersion string `json:"kubernetesVersion,omitempty" yaml:"kubernetesVersion,omitempty"` DriverName string `json:"driverName,omitempty" yaml:"driverName,omitempty"` KMSKeyID string `json:"kmsKeyId" yaml:"kmsKeyId"` LimitNodeCount int64 `json:"limitNodeCount,omitempty" yaml:"limitNodeCount,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` NodeImage string `json:"nodeImage,omitempty" yaml:"nodeImage,omitempty"` NodePoolSubnetDNSDomainName string `json:"nodePoolDnsDomainName,omitempty" yaml:"nodePoolDnsDomainName,omitempty"` NodePoolSubnetName string `json:"nodePoolSubnetName,omitempty" yaml:"nodePoolSubnetName,omitempty"` NodePublicSSHKeyContents string `json:"nodePublicKeyContents,omitempty" yaml:"nodePublicKeyContents,omitempty"` NodeShape string `json:"nodeShape,omitempty" yaml:"nodeShape,omitempty"` PrivateControlPlane bool `json:"enablePrivateControlPlane,omitempty" yaml:"enablePrivateControlPlane,omitempty"` PrivateKeyContents string `json:"privateKeyContents,omitempty" yaml:"privateKeyContents,omitempty"` PrivateKeyPassphrase string `json:"privateKeyPassphrase,omitempty" yaml:"privateKeyPassphrase,omitempty"` PrivateNodes bool `json:"enablePrivateNodes,omitempty" yaml:"enablePrivateNodes,omitempty"` PodCidr string `json:"podCidr,omitempty" yaml:"podCidr,omitempty"` QuantityOfSubnets int64 `json:"quantityOfNodeSubnets,omitempty" yaml:"quantityOfNodeSubnets,omitempty"` QuantityPerSubnet int64 `json:"quantityPerSubnet,omitempty" yaml:"quantityPerSubnet,omitempty"` Region string `json:"region,omitempty" yaml:"region,omitempty"` ServiceCidr string `json:"serviceCidr,omitempty" yaml:"serviceCidr,omitempty"` ServiceLBSubnet1Name string `json:"loadBalancerSubnetName1,omitempty" yaml:"loadBalancerSubnetName1,omitempty"` ServiceLBSubnet2Name string `json:"loadBalancerSubnetName2,omitempty" yaml:"loadBalancerSubnetName2,omitempty"` ServiceSubnetDNSDomainName string `json:"serviceDnsDomainName,omitempty" yaml:"serviceDnsDomainName,omitempty"` SkipVCNDelete bool `json:"skipVcnDelete,omitempty" yaml:"skipVcnDelete,omitempty"` TenancyID string `json:"tenancyId,omitempty" yaml:"tenancyId,omitempty"` UserOCID string `json:"userOcid,omitempty" yaml:"userOcid,omitempty"` VCNName string `json:"vcnName,omitempty" yaml:"vcnName,omitempty"` VcnCompartmentID string `json:"vcnCompartmentId,omitempty" yaml:"vcnCompartmentId,omitempty"` WorkerNodeIngressCidr string `json:"workerNodeIngressCidr,omitempty" yaml:"workerNodeIngressCidr,omitempty"` }
type StorageClassV2 ¶
type StorageClassV2 struct { norman.Resource storageV1.StorageClass }
Source Files ¶
- config.go
- data_source_rancher2_app.go
- data_source_rancher2_catalog.go
- data_source_rancher2_catalog_v2.go
- data_source_rancher2_certificate.go
- data_source_rancher2_cloud_credential.go
- data_source_rancher2_cluster.go
- data_source_rancher2_cluster_alert_group.go
- data_source_rancher2_cluster_alert_rule.go
- data_source_rancher2_cluster_driver.go
- data_source_rancher2_cluster_logging.go
- data_source_rancher2_cluster_role_template_binding.go
- data_source_rancher2_cluster_scan.go
- data_source_rancher2_cluster_template.go
- data_source_rancher2_cluster_v2.go
- data_source_rancher2_config_map_v2.go
- data_source_rancher2_etcd_backup.go
- data_source_rancher2_global_dns_provider.go
- data_source_rancher2_global_role.go
- data_source_rancher2_global_role_binding.go
- data_source_rancher2_multi_cluster_app.go
- data_source_rancher2_namespace.go
- data_source_rancher2_node_driver.go
- data_source_rancher2_node_pool.go
- data_source_rancher2_node_template.go
- data_source_rancher2_notifier.go
- data_source_rancher2_pod_security_policy_template.go
- data_source_rancher2_principal.go
- data_source_rancher2_project.go
- data_source_rancher2_project_alert_group.go
- data_source_rancher2_project_alert_rule.go
- data_source_rancher2_project_logging.go
- data_source_rancher2_project_role_template_binding.go
- data_source_rancher2_registry.go
- data_source_rancher2_role_template.go
- data_source_rancher2_secret.go
- data_source_rancher2_secret_v2.go
- data_source_rancher2_setting.go
- data_source_rancher2_storage_class_v2.go
- data_source_rancher2_user.go
- import_rancher2_app.go
- import_rancher2_app_v2.go
- import_rancher2_catalog.go
- import_rancher2_catalog_v2.go
- import_rancher2_cloud_credentials.go
- import_rancher2_cluster.go
- import_rancher2_cluster_alert_group.go
- import_rancher2_cluster_alert_rule.go
- import_rancher2_cluster_driver.go
- import_rancher2_cluster_logging.go
- import_rancher2_cluster_role_template_binding.go
- import_rancher2_cluster_template.go
- import_rancher2_cluster_v2.go
- import_rancher2_config_map_v2.go
- import_rancher2_etcd_backup.go
- import_rancher2_global_dns.go
- import_rancher2_global_dns_provider.go
- import_rancher2_global_role.go
- import_rancher2_global_role_binding.go
- import_rancher2_multi_cluster_app.go
- import_rancher2_namespace.go
- import_rancher2_node_driver.go
- import_rancher2_node_pool.go
- import_rancher2_node_template.go
- import_rancher2_notifier.go
- import_rancher2_pod_security_policy_template.go
- import_rancher2_project.go
- import_rancher2_project_alert_group.go
- import_rancher2_project_alert_rule.go
- import_rancher2_project_logging.go
- import_rancher2_project_role_template_binding.go
- import_rancher2_registry.go
- import_rancher2_role_template.go
- import_rancher2_secret.go
- import_rancher2_secret_v2.go
- import_rancher2_setting.go
- import_rancher2_storage_class_v2.go
- import_rancher2_user.go
- provider.go
- resource_rancher2_app.go
- resource_rancher2_app_v2.go
- resource_rancher2_auth_config_activedirectory.go
- resource_rancher2_auth_config_adfs.go
- resource_rancher2_auth_config_azuread.go
- resource_rancher2_auth_config_freeipa.go
- resource_rancher2_auth_config_github.go
- resource_rancher2_auth_config_keycloak.go
- resource_rancher2_auth_config_okta.go
- resource_rancher2_auth_config_openldap.go
- resource_rancher2_auth_config_ping.go
- resource_rancher2_bootstrap.go
- resource_rancher2_catalog.go
- resource_rancher2_catalog_v2.go
- resource_rancher2_certificate.go
- resource_rancher2_cloud_credential.go
- resource_rancher2_cluster.go
- resource_rancher2_cluster_alert_group.go
- resource_rancher2_cluster_alert_rule.go
- resource_rancher2_cluster_driver.go
- resource_rancher2_cluster_logging.go
- resource_rancher2_cluster_role_template_binding.go
- resource_rancher2_cluster_sync.go
- resource_rancher2_cluster_template.go
- resource_rancher2_cluster_v2.go
- resource_rancher2_config_map_v2.go
- resource_rancher2_etcd_backup.go
- resource_rancher2_feature.go
- resource_rancher2_global_dns.go
- resource_rancher2_global_dns_provider.go
- resource_rancher2_global_role.go
- resource_rancher2_global_role_binding.go
- resource_rancher2_machine_config_v2.go
- resource_rancher2_multi_cluster_app.go
- resource_rancher2_namespace.go
- resource_rancher2_node_driver.go
- resource_rancher2_node_pool.go
- resource_rancher2_node_template.go
- resource_rancher2_notifier.go
- resource_rancher2_pod_security_policy_template.go
- resource_rancher2_project.go
- resource_rancher2_project_alert_group.go
- resource_rancher2_project_alert_rule.go
- resource_rancher2_project_logging.go
- resource_rancher2_project_role_template_binding.go
- resource_rancher2_registry.go
- resource_rancher2_role_template.go
- resource_rancher2_secret.go
- resource_rancher2_secret_v2.go
- resource_rancher2_setting.go
- resource_rancher2_storage_class_v2.go
- resource_rancher2_token.go
- resource_rancher2_user.go
- schema_alert_group.go
- schema_alert_rule.go
- schema_answer.go
- schema_app.go
- schema_app_v2.go
- schema_auth_config.go
- schema_auth_config_activedirectory.go
- schema_auth_config_adfs.go
- schema_auth_config_azuread.go
- schema_auth_config_freeipa.go
- schema_auth_config_github.go
- schema_auth_config_keycloak.go
- schema_auth_config_ldap.go
- schema_auth_config_okta.go
- schema_auth_config_openldap.go
- schema_auth_config_ping.go
- schema_bootstrap.go
- schema_catalog.go
- schema_catalog_v2.go
- schema_certificate.go
- schema_cloud_credential.go
- schema_cloud_credential_amazonec2.go
- schema_cloud_credential_azure.go
- schema_cloud_credential_digitalocean.go
- schema_cloud_credential_google.go
- schema_cloud_credential_harvester.go
- schema_cloud_credential_linode.go
- schema_cloud_credential_openstack.go
- schema_cloud_credential_s3.go
- schema_cloud_credential_vsphere.go
- schema_cluster.go
- schema_cluster_aks_config.go
- schema_cluster_aks_config_v2.go
- schema_cluster_alert_group.go
- schema_cluster_alert_rule.go
- schema_cluster_driver.go
- schema_cluster_eks_config.go
- schema_cluster_eks_config_v2.go
- schema_cluster_gke_config.go
- schema_cluster_gke_config_v2.go
- schema_cluster_k3s_config.go
- schema_cluster_logging.go
- schema_cluster_oke_config.go
- schema_cluster_rke2_config.go
- schema_cluster_rke_config.go
- schema_cluster_rke_config_authentication.go
- schema_cluster_rke_config_authorization.go
- schema_cluster_rke_config_bastion_host.go
- schema_cluster_rke_config_cloud_provider.go
- schema_cluster_rke_config_cloud_provider_aws.go
- schema_cluster_rke_config_cloud_provider_azure.go
- schema_cluster_rke_config_cloud_provider_openstack.go
- schema_cluster_rke_config_cloud_provider_vsphere.go
- schema_cluster_rke_config_dns.go
- schema_cluster_rke_config_ingress.go
- schema_cluster_rke_config_monitoring.go
- schema_cluster_rke_config_network.go
- schema_cluster_rke_config_nodes.go
- schema_cluster_rke_config_private_registries.go
- schema_cluster_rke_config_services.go
- schema_cluster_rke_config_services_etcd.go
- schema_cluster_rke_config_services_kube_api.go
- schema_cluster_rke_config_services_kube_controller.go
- schema_cluster_rke_config_services_kubelet.go
- schema_cluster_rke_config_services_kubeproxy.go
- schema_cluster_rke_config_services_scheduler.go
- schema_cluster_role_template_binding.go
- schema_cluster_scan.go
- schema_cluster_sync.go
- schema_cluster_template.go
- schema_cluster_v2.go
- schema_cluster_v2_rke_config.go
- schema_cluster_v2_rke_config_certificate_rotation.go
- schema_cluster_v2_rke_config_etcd.go
- schema_cluster_v2_rke_config_local_auth_endpoint.go
- schema_cluster_v2_rke_config_machine_pool.go
- schema_cluster_v2_rke_config_registry.go
- schema_cluster_v2_rke_config_snapshot_create.go
- schema_cluster_v2_rke_config_snapshot_restore.go
- schema_cluster_v2_rke_config_system_config.go
- schema_cluster_v2_rke_config_upgrade_strategy.go
- schema_common.go
- schema_config_map_v2.go
- schema_container_resource_limit.go
- schema_env_var.go
- schema_etcd_backup.go
- schema_feature.go
- schema_global_dns.go
- schema_global_dns_provider.go
- schema_global_role.go
- schema_global_role_binding.go
- schema_logging_custom_target_config.go
- schema_logging_elasticsearch_config.go
- schema_logging_fluentd_config.go
- schema_logging_kafka_config.go
- schema_logging_splunk_config.go
- schema_logging_syslog_config.go
- schema_machine_config_v2.go
- schema_machine_config_v2_amazonec2.go
- schema_machine_config_v2_azure.go
- schema_machine_config_v2_digitalocean.go
- schema_machine_config_v2_harvester.go
- schema_machine_config_v2_linode.go
- schema_machine_config_v2_openstack.go
- schema_machine_config_v2_vsphere.go
- schema_member.go
- schema_monitoring_input.go
- schema_multi_cluster_app.go
- schema_namespace.go
- schema_node_driver.go
- schema_node_pool.go
- schema_node_template.go
- schema_node_template_amazonec2.go
- schema_node_template_azure.go
- schema_node_template_digitalocean.go
- schema_node_template_harvester.go
- schema_node_template_hetzner.go
- schema_node_template_linode.go
- schema_node_template_opennebula.go
- schema_node_template_openstack.go
- schema_node_template_outscale.go
- schema_node_template_vsphere.go
- schema_notifier.go
- schema_notifier_dingtalk_config.go
- schema_notifier_msteams_config.go
- schema_notifier_pagerduty_config.go
- schema_notifier_slack_config.go
- schema_notifier_smtp_config.go
- schema_notifier_webhook_config.go
- schema_notifier_wechat_config.go
- schema_pod_security_policy_allowed_csi_drivers.go
- schema_pod_security_policy_allowed_flex_volumes.go
- schema_pod_security_policy_allowed_host_paths.go
- schema_pod_security_policy_fs_group.go
- schema_pod_security_policy_host_port_range.go
- schema_pod_security_policy_id_range.go
- schema_pod_security_policy_proc_mount_type.go
- schema_pod_security_policy_run_as_group.go
- schema_pod_security_policy_run_as_user.go
- schema_pod_security_policy_runtime_class.go
- schema_pod_security_policy_se_linux_options.go
- schema_pod_security_policy_se_linux_strategy.go
- schema_pod_security_policy_supplemental_groups.go
- schema_pod_security_policy_template.go
- schema_pod_security_policy_volumes.go
- schema_policy_rule.go
- schema_project.go
- schema_project_alert_group.go
- schema_project_alert_rule.go
- schema_project_logging.go
- schema_project_role_template_binding.go
- schema_recipient.go
- schema_registry.go
- schema_role_template.go
- schema_scheduled_cluster_scan.go
- schema_secret.go
- schema_secret_v2.go
- schema_setting.go
- schema_storage_class_v2.go
- schema_taint.go
- schema_taint_v2.go
- schema_target.go
- schema_token.go
- schema_toleration.go
- schema_upgrade_strategy.go
- schema_user.go
- structure_alert_rule.go
- structure_answer.go
- structure_app.go
- structure_app_v2.go
- structure_auth_config_activedirectory.go
- structure_auth_config_adfs.go
- structure_auth_config_azuread.go
- structure_auth_config_freeipa.go
- structure_auth_config_github.go
- structure_auth_config_keycloak.go
- structure_auth_config_ldap.go
- structure_auth_config_okta.go
- structure_auth_config_openldap.go
- structure_auth_config_ping.go
- structure_catalog.go
- structure_catalog_v2.go
- structure_certificate.go
- structure_cloud_credential.go
- structure_cloud_credential_amazonec2.go
- structure_cloud_credential_azure.go
- structure_cloud_credential_digitalocean.go
- structure_cloud_credential_google.go
- structure_cloud_credential_harvester.go
- structure_cloud_credential_linode.go
- structure_cloud_credential_openstack.go
- structure_cloud_credential_s3.go
- structure_cloud_credential_vsphere.go
- structure_cluster.go
- structure_cluster_aks_config.go
- structure_cluster_aks_config_v2.go
- structure_cluster_alert_group.go
- structure_cluster_alert_rule.go
- structure_cluster_driver.go
- structure_cluster_eks_config.go
- structure_cluster_eks_config_v2.go
- structure_cluster_gke_config.go
- structure_cluster_gke_config_v2.go
- structure_cluster_k3s_config.go
- structure_cluster_logging.go
- structure_cluster_oke_config.go
- structure_cluster_rke2_config.go
- structure_cluster_rke_config.go
- structure_cluster_rke_config_authentication.go
- structure_cluster_rke_config_authorization.go
- structure_cluster_rke_config_bastion_host.go
- structure_cluster_rke_config_cloud_provider.go
- structure_cluster_rke_config_cloud_provider_aws.go
- structure_cluster_rke_config_cloud_provider_azure.go
- structure_cluster_rke_config_cloud_provider_openstack.go
- structure_cluster_rke_config_cloud_provider_vsphere.go
- structure_cluster_rke_config_dns.go
- structure_cluster_rke_config_ingress.go
- structure_cluster_rke_config_monitoring.go
- structure_cluster_rke_config_network.go
- structure_cluster_rke_config_nodes.go
- structure_cluster_rke_config_private_registries.go
- structure_cluster_rke_config_services.go
- structure_cluster_rke_config_services_etcd.go
- structure_cluster_rke_config_services_kube_api.go
- structure_cluster_rke_config_services_kube_controller.go
- structure_cluster_rke_config_services_kubelet.go
- structure_cluster_rke_config_services_kubeproxy.go
- structure_cluster_rke_config_services_scheduler.go
- structure_cluster_role_template_binding.go
- structure_cluster_scan.go
- structure_cluster_template.go
- structure_cluster_v2.go
- structure_cluster_v2_local_auth_endpoint.go
- structure_cluster_v2_rke_config.go
- structure_cluster_v2_rke_config_certificate_rotation.go
- structure_cluster_v2_rke_config_etcd.go
- structure_cluster_v2_rke_config_etcd_snapshot_create.go
- structure_cluster_v2_rke_config_etcd_snapshot_restore.go
- structure_cluster_v2_rke_config_machine_pool.go
- structure_cluster_v2_rke_config_registry.go
- structure_cluster_v2_rke_config_system_config.go
- structure_cluster_v2_rke_config_upgrade_strategy.go
- structure_config_map_v2.go
- structure_env_var.go
- structure_env_var_v2.go
- structure_etcd_backup.go
- structure_feature.go
- structure_global_dns.go
- structure_global_dns_provider.go
- structure_global_role.go
- structure_global_role_binding.go
- structure_logging_custom_target_config.go
- structure_logging_elasticsearch_config.go
- structure_logging_fluentd_config.go
- structure_logging_kafka_config.go
- structure_logging_splunk_config.go
- structure_logging_syslog_config.go
- structure_machine_config_v2.go
- structure_machine_config_v2_amazonec2.go
- structure_machine_config_v2_azure.go
- structure_machine_config_v2_digitalocean.go
- structure_machine_config_v2_harvester.go
- structure_machine_config_v2_linode.go
- structure_machine_config_v2_openstack.go
- structure_machine_config_v2_vsphere.go
- structure_member.go
- structure_monitoring_input.go
- structure_multi_cluster_app.go
- structure_namespace.go
- structure_node_driver.go
- structure_node_pool.go
- structure_node_template.go
- structure_node_template_amazonec2.go
- structure_node_template_azure.go
- structure_node_template_digitalocean.go
- structure_node_template_harvester.go
- structure_node_template_hetzner.go
- structure_node_template_linode.go
- structure_node_template_opennebula.go
- structure_node_template_openstack.go
- structure_node_template_outscale.go
- structure_node_template_vsphere.go
- structure_notifier.go
- structure_notifier_dingtalk_config.go
- structure_notifier_msteams_config.go
- structure_notifier_pagerduty_config.go
- structure_notifier_slack_config.go
- structure_notifier_smtp_config.go
- structure_notifier_webhook_config.go
- structure_notifier_wechat_config.go
- structure_pod_security_policy_allowed_csi_drivers.go
- structure_pod_security_policy_allowed_flex_volumes.go
- structure_pod_security_policy_allowed_host_paths.go
- structure_pod_security_policy_fs_group.go
- structure_pod_security_policy_host_port_range.go
- structure_pod_security_policy_id_ranges.go
- structure_pod_security_policy_run_as_group.go
- structure_pod_security_policy_run_as_user.go
- structure_pod_security_policy_runtime_class_strategy.go
- structure_pod_security_policy_se_linux_options.go
- structure_pod_security_policy_se_linux_strategy.go
- structure_pod_security_policy_supplemental_groups.go
- structure_pod_security_policy_template.go
- structure_policy_rule.go
- structure_project.go
- structure_project_alert_group.go
- structure_project_alert_rule.go
- structure_project_logging.go
- structure_project_role_template_binding.go
- structure_recipient.go
- structure_registry.go
- structure_role_template.go
- structure_scheduled_cluster_scan.go
- structure_secret.go
- structure_secret_v2.go
- structure_setting.go
- structure_storage_class_v2.go
- structure_taint.go
- structure_taint_v2.go
- structure_target.go
- structure_token.go
- structure_toleration.go
- structure_upgrade_strategy.go
- structure_user.go
- util.go