resource

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSTS

func CreateSTS(installerRoleARN, supportRoleARN string, masterRoleARN *string, 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(clusterTopology rosaTypes.ClusterTopology,
	awsTags map[string]string, ec2MetadataHttpTokens *string,
	rootVolumeKmsKeyArn *string, etcdKmsKeyArn *string,
	isPrivateLink bool, awsAccountID *string, awsBillingAccountId *string,
	stsBuilder *cmv1.STSBuilder, awsSubnetIDs []string,
	privateHostedZoneID *string, privateHostedZoneRoleARN *string,
	additionalComputeSecurityGroupIds []string,
	additionalInfraSecurityGroupIds []string,
	additionalControlPlaneSecurityGroupIds []string) error

func (*Cluster) CreateNodes

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

func (*Cluster) GetClusterBuilder

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

func (*Cluster) ProcessEtcKMSKeyARN added in v1.6.0

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

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