kubernetes_service

package
v0.1.49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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"`
}

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    []KubeConfig `json:"kube_config" hcle:"omitempty"`
}

type AzureIdentity

type AzureIdentity struct {
	PrincipalId string `hcl:"principal_id,expr"  hcle:"omitempty"`
	TenantId    string `hcl:"tenant_id,expr"  hcle:"omitempty"`
	Type        string `hcl:"type" hcle:"omitempty"`
}

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 KubeConfig added in v0.1.46

type KubeConfig struct {
	Host                 string `json:"host" hcle:"omitempty"`
	ClusterCaCertificate string `json:"cluster_ca_certificate" hcle:"omitempty"`
}

type KubernetesNetworkConfig added in v0.1.37

type KubernetesNetworkConfig struct {
	ServiceIpv4Cidr string `hcl:"service_ipv4_cidr"`
}

type NetworkProfile added in v0.1.37

type NetworkProfile struct {
	NetworkPlugin    string `hcl:"network_plugin"`
	DnsServiceIp     string `hcl:"dns_service_ip"`
	DockerBridgeCidr string `hcl:"docker_bridge_cidr"`
	ServiceCidr      string `hcl:"service_cidr"`
}

type VpcConfig

type VpcConfig struct {
	SubnetIds             []string `hcl:"subnet_ids,expr"`
	EndpointPrivateAccess bool     `hcl:"endpoint_private_access"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL