cloudmemorystore

package
v0.21.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	StateUnspecified = "STATE_UNSPECIFIED"
	StateCreating    = "CREATING"
	StateReady       = "READY"
	StateUpdating    = "UPDATING"
	StateDeleting    = "DELETING"
	StateRepairing   = "REPAIRING"
	StateMaintenance = "MAINTENANCE"
	StateImporting   = "IMPORTING"
	StateFailingOver = "FAILING_OVER"
)

Valid states for a CloudMemorystore Instance.

Variables

This section is empty.

Functions

func GenerateAuthStringObservation added in v0.18.0

func GenerateAuthStringObservation(r redis.InstanceAuthString) string

GenerateAuthStringObservation is used to produce an observation object from GCP's Redis Instance AuthString data.

func GenerateObservation

GenerateObservation is used to produce an observation object from GCP's Redis Instance object.

func GenerateRedisInstance

func GenerateRedisInstance(name string, s v1beta1.CloudMemorystoreInstanceParameters, r *redis.Instance)

GenerateRedisInstance is used to convert Crossplane CloudMemorystoreInstanceParameters to GCP's Redis Instance object. Name must be a fully qualified name for the instance.

func GetFullyQualifiedName added in v0.18.0

func GetFullyQualifiedName(project string, p v1beta1.CloudMemorystoreInstanceParameters, name string) string

GetFullyQualifiedName builds the fully qualified name of the instance.

func GetFullyQualifiedParent added in v0.18.0

func GetFullyQualifiedParent(project string, p v1beta1.CloudMemorystoreInstanceParameters) string

GetFullyQualifiedParent builds the fully qualified name of the instance parent.

func IsUpToDate

func IsUpToDate(name string, in *v1beta1.CloudMemorystoreInstanceParameters, observed *redis.Instance) (bool, error)

IsUpToDate returns true if the supplied Kubernetes resource differs from the supplied GCP resource. It considers only fields that can be modified in place without deleting and recreating the instance.

func LateInitializeSpec

func LateInitializeSpec(spec *v1beta1.CloudMemorystoreInstanceParameters, r redis.Instance)

LateInitializeSpec fills empty spec fields with the data retrieved from GCP.

Types

This section is empty.

Jump to

Keyboard shortcuts

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