Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArePoliciesSame ¶
func ArePoliciesSame(p1, p2 *cloudkms.Policy) bool
ArePoliciesSame compares and returns true if two policies are same
func GenerateCryptoKeyPolicyInstance ¶
func GenerateCryptoKeyPolicyInstance(in v1alpha1.CryptoKeyPolicyParameters, ck *cloudkms.Policy)
GenerateCryptoKeyPolicyInstance generates *kmsv1.Policy instance from CryptoKeyPolicyParameters.
func IsUpToDate ¶
func IsUpToDate(in *v1alpha1.CryptoKeyPolicyParameters, observed *cloudkms.Policy) (bool, error)
IsUpToDate checks whether current state is up-to-date compared to the given set of parameters.
Types ¶
type Client ¶
type Client interface { GetIamPolicy(resource string) *cloudkms.ProjectsLocationsKeyRingsCryptoKeysGetIamPolicyCall SetIamPolicy(resource string, setiampolicyrequest *cloudkms.SetIamPolicyRequest) *cloudkms.ProjectsLocationsKeyRingsCryptoKeysSetIamPolicyCall }
Client should be satisfied to conduct SA operations.
Click to show internal directories.
Click to hide internal directories.