Documentation ¶
Index ¶
- func GenerateCryptoKeyInstance(in v1alpha1.CryptoKeyParameters, ck *cloudkms.CryptoKey)
- func GenerateObservation(in cloudkms.CryptoKey) v1alpha1.CryptoKeyObservation
- func IsUpToDate(in *v1alpha1.CryptoKeyParameters, observed *cloudkms.CryptoKey) (bool, string, error)
- func LateInitializeSpec(spec *v1alpha1.CryptoKeyParameters, in cloudkms.CryptoKey)
- type Client
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.
Click to show internal directories.
Click to hide internal directories.