resource

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSTS

func CreateSTS(installerRoleARN, supportRoleARN, masterRoleARN, workerRoleARN,
	operatorRolePrefix string, oidcConfigID *string) *cmv1.STSBuilder

Types

type Cluster

type Cluster struct {
	// contains filtered or unexported fields
}

func NewCluster

func NewCluster() *Cluster

func (*Cluster) Build

func (c *Cluster) Build() (object *cmv1.Cluster, err error)

func (*Cluster) CreateAWSBuilder

func (c *Cluster) CreateAWSBuilder(awsTags map[string]string, ec2MetadataHttpTokens *string, kmsKeyARN *string,
	isPrivateLink bool, awsAccountID *string, stsBuilder *cmv1.STSBuilder, awsSubnetIDs []string,
	privateHostedZoneID *string, privateHostedZoneRoleARN *string,
	additionalComputeSecurityGroupIds []string,
	additionalInfraSecurityGroupIds []string,
	additionalControlPlaneSecurityGroupIds []string) error

func (*Cluster) CreateNodes

func (c *Cluster) CreateNodes(autoScalingEnabled bool, replicas *int64, minReplicas *int64,
	maxReplicas *int64, computeMachineType *string, labels map[string]string,
	availabilityZones []string, multiAZ bool, workerDiskSize *int64) error

func (*Cluster) GetClusterBuilder

func (c *Cluster) GetClusterBuilder() *cmv1.ClusterBuilder

func (*Cluster) ProcessKMSKeyARN added in v1.5.0

func (c *Cluster) ProcessKMSKeyARN(kmsKeyARN *string, awsBuilder *cmv1.AWSBuilder) error

func (*Cluster) SetAPIPrivacy

func (c *Cluster) SetAPIPrivacy(isPrivate bool, isPrivateLink bool, isSTS bool) error

type DNSDomain

type DNSDomain struct {
	// contains filtered or unexported fields
}

func NewDNSDomain

func NewDNSDomain(client *cmv1.DNSDomainsClient) *DNSDomain

func (*DNSDomain) Create

func (d *DNSDomain) Create() (*cmv1.DNSDomainsAddResponse, error)

func (*DNSDomain) Delete

func (d *DNSDomain) Delete(id string) error

func (*DNSDomain) Get

func (*DNSDomain) GetDNSDomainBuilder

func (d *DNSDomain) GetDNSDomainBuilder() *cmv1.DNSDomainBuilder

Jump to

Keyboard shortcuts

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