Documentation ¶
Index ¶
- type AwsEksCluster
- type AzureEksCluster
- type AzureIdentity
- type AzureKubeConfig
- type AzureUserAssignedIdentity
- type CertificateAuthority
- type GoogleContainerCluster
- type GoogleContainerClusterAuth
- type GoogleContainerClusterIpAllocationPolicy
- type KubeConfig
- type KubeConfigCluster
- type KubeConfigContext
- type KubeConfigExec
- type KubeConfigUser
- type KubernetesNetworkConfig
- type NamedKubeConfigCluster
- type NamedKubeConfigContext
- type NetworkProfile
- type VpcConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsEksCluster ¶
type AwsEksCluster struct { *common.AwsResource `hcl:",squash" default:"name=aws_eks_cluster"` RoleArn string `hcl:"role_arn,expr"` VpcConfig VpcConfig `hcl:"vpc_config"` KubernetesNetworkConfig KubernetesNetworkConfig `hcl:"kubernetes_network_config"` Name string `hcl:"name"` // outputs Endpoint string `json:"endpoint" hcle:"omitempty"` CertificateAuthority []CertificateAuthority `json:"certificate_authority" hcle:"omitempty"` Arn string `json:"arn" hcle:"omitempty"` }
type AzureEksCluster ¶
type AzureEksCluster struct { *common.AzResource `hcl:",squash" default:"name=azurerm_kubernetes_cluster"` DefaultNodePool *kubernetes_node_pool.AzureKubernetesNodePool `hcl:"default_node_pool"` DnsPrefix string `hcl:"dns_prefix"` Identity []AzureIdentity `hcl:"identity,blocks"` NetworkProfile NetworkProfile `hcl:"network_profile"` // outputs KubeConfigRaw string `json:"kube_config_raw" hcle:"omitempty"` KubeConfig []AzureKubeConfig `json:"kube_config" hcle:"omitempty"` }
type AzureIdentity ¶
type AzureKubeConfig ¶ added in v0.1.52
type AzureUserAssignedIdentity ¶
type AzureUserAssignedIdentity struct {
*common.AzResource `hcl:",squash" default:"name=azurerm_user_assigned_identity"`
}
func (AzureUserAssignedIdentity) GetIdentity ¶
func (r AzureUserAssignedIdentity) GetIdentity() AzureIdentity
type CertificateAuthority ¶ added in v0.1.46
type CertificateAuthority struct {
Data string `json:"data" hcle:"omitempty"`
}
type GoogleContainerCluster ¶ added in v0.1.52
type GoogleContainerCluster struct { *common.GcpResource `hcl:",squash" default:"name=google_container_cluster"` RemoveDefaultNodePool bool `hcl:"remove_default_node_pool"` InitialNodeCount int `hcl:"initial_node_count"` Subnetwork string `hcl:"subnetwork,expr"` Network string `hcl:"network,expr"` IpAllocationPolicy GoogleContainerClusterIpAllocationPolicy `hcl:"ip_allocation_policy"` Location string `hcl:"location"` NodeConfig kubernetes_node_pool.GoogleContainerNodeConfig `hcl:"node_config"` // outputs Endpoint string `json:"endpoint" hcle:"omitempty"` MasterAuth []GoogleContainerClusterAuth `json:"master_auth" hcle:"omitempty"` }
type GoogleContainerClusterAuth ¶ added in v0.1.52
type GoogleContainerClusterIpAllocationPolicy ¶ added in v0.1.52
type GoogleContainerClusterIpAllocationPolicy struct { //ClusterIpv4CidrBlock string `hcl:"cluster_ipv_4_cidr_block"` ServicesIpv4CidrBlock string `hcl:"services_ipv4_cidr_block"` }
type KubeConfig ¶ added in v0.1.46
type KubeConfig struct { ApiVersion string `yaml:"apiVersion"` Clusters []NamedKubeConfigCluster `yaml:"clusters"` Contexts []NamedKubeConfigContext `yaml:"contexts"` CurrentContext string `yaml:"current-context"` Users []KubeConfigUser `yaml:"users"` Kind string `yaml:"kind"` }
type KubeConfigCluster ¶ added in v0.1.52
type KubeConfigContext ¶ added in v0.1.52
type KubeConfigExec ¶ added in v0.1.52
type KubeConfigUser ¶ added in v0.1.52
type KubeConfigUser struct { Name string `yaml:"name"` User struct { Exec KubeConfigExec `yaml:"exec"` } `yaml:"user"` }
type KubernetesNetworkConfig ¶ added in v0.1.37
type KubernetesNetworkConfig struct {
ServiceIpv4Cidr string `hcl:"service_ipv4_cidr"`
}
type NamedKubeConfigCluster ¶ added in v0.1.52
type NamedKubeConfigCluster struct { Name string `yaml:"name"` Cluster KubeConfigCluster `yaml:"cluster"` }
type NamedKubeConfigContext ¶ added in v0.1.52
type NamedKubeConfigContext struct { Name string `yaml:"name"` Context KubeConfigContext `yaml:"context"` }
type NetworkProfile ¶ added in v0.1.37
Click to show internal directories.
Click to hide internal directories.