cryptokey

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCryptoKeyInstance

func GenerateCryptoKeyInstance(in v1alpha1.CryptoKeyParameters, ck *cloudkms.CryptoKey)

GenerateCryptoKeyInstance generates *kmsv1.CryptoKey instance from CryptoKeyParameters.

func GenerateObservation

func GenerateObservation(in cloudkms.CryptoKey) v1alpha1.CryptoKeyObservation

GenerateObservation produces CryptoKeyObservation object from cloudkms.CryptoKey object.

func IsUpToDate

func IsUpToDate(in *v1alpha1.CryptoKeyParameters, observed *cloudkms.CryptoKey) (bool, string, error)

IsUpToDate checks whether current state is up-to-date compared to the given set of parameters.

func LateInitializeSpec

func LateInitializeSpec(spec *v1alpha1.CryptoKeyParameters, in cloudkms.CryptoKey)

LateInitializeSpec fills unassigned fields with the values in cloudkms.CryptoKey object.

Types

type Client

type Client interface {
	Create(parent string, cryptokey *cloudkms.CryptoKey) *cloudkms.ProjectsLocationsKeyRingsCryptoKeysCreateCall
	Get(name string) *cloudkms.ProjectsLocationsKeyRingsCryptoKeysGetCall
	Patch(name string, cryptokey *cloudkms.CryptoKey) *cloudkms.ProjectsLocationsKeyRingsCryptoKeysPatchCall
}

Client should be satisfied to conduct SA operations.

Jump to

Keyboard shortcuts

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