cluster

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AnnotationLastRequestedNumShards is an annotation whose value is the value of NumShards
	// passed in as input to either the create or modify API called most recently
	AnnotationLastRequestedNumShards = svcapitypes.AnnotationPrefix + "last-requested-num-shards"
	// AnnotationLastRequestedNumReplicasPerShard is an annotation whose value is the value of NumReplicasPerShard
	// passed in as input to either the create or modify API called most recently
	AnnotationLastRequestedNumReplicasPerShard = svcapitypes.AnnotationPrefix + "last-requested-num-replicas-per-shard"
	// AnnotationLastRequestedNodeType is an annotation whose value is the value of NodeType
	// passed in as input to either the create or modify API called most recently
	AnnotationLastRequestedNodeType = svcapitypes.AnnotationPrefix + "last-requested-node-type"
)
View Source
const (
	StatusAvailable    = "available"
	StatusDeleting     = "deleting"
	StatusUpdating     = "updating"
	StatusCreateFailed = "create-failed"
)

Variables

View Source
var (
	GroupVersionResource = svcapitypes.GroupVersion.WithResource("clusters")
	GroupKind            = metav1.GroupKind{
		Group: "memorydb.services.k8s.aws",
		Kind:  "Cluster",
	}
)

Functions

func FromACKTags added in v0.0.3

func FromACKTags(tags acktags.Tags) []*svcapitypes.Tag

FromACKTags converts the tags parameter into []*svcapitypes.Tag shape. This method helps in setting the tags back inside AWSResource after merging default controller tags with existing resource tags.

func ToACKTags added in v0.0.3

func ToACKTags(tags []*svcapitypes.Tag) acktags.Tags

ToACKTags converts the tags parameter into 'acktags.Tags' shape. This method helps in creating the hub(acktags.Tags) for merging default controller tags with existing resource tags.

Types

This section is empty.

Jump to

Keyboard shortcuts

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