Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupCryptoKey ¶
func SetupCryptoKey(mgr ctrl.Manager, o controller.Options) error
SetupCryptoKey adds a controller that reconciles CryptoKeys.
func SetupCryptoKeyPolicy ¶
func SetupCryptoKeyPolicy(mgr ctrl.Manager, o controller.Options) error
SetupCryptoKeyPolicy adds a controller that reconciles CryptoKeyPolicys.
func SetupKeyRing ¶
func SetupKeyRing(mgr ctrl.Manager, o controller.Options) error
SetupKeyRing adds a controller that reconciles KeyRings.
Types ¶
type RelativeResourceNamerKeyRing ¶
type RelativeResourceNamerKeyRing struct {
// contains filtered or unexported fields
}
RelativeResourceNamerKeyRing allows the controller to generate the "relative resource name" for the KeyRing and GCP project based on the keyRing external-name annotation. https://cloud.google.com/apis/design/resource_names#relative_resource_name The relative resource name for KeyRing has the following format: projects/{projectName}/locations/{location}/keyRings/{keyRingName}
func NewRelativeResourceNamerKeyRing ¶
func NewRelativeResourceNamerKeyRing(projectName, location string) RelativeResourceNamerKeyRing
NewRelativeResourceNamerKeyRing makes an instance of the RelativeResourceNamerKeyRing which is the only type that is allowed to know how to construct GCP resource names for the KMS Keyring type.
func (RelativeResourceNamerKeyRing) LocationRRN ¶
func (rrn RelativeResourceNamerKeyRing) LocationRRN() string
LocationRRN yields the relative resource name for a GCP Project Location
func (RelativeResourceNamerKeyRing) ProjectRRN ¶
func (rrn RelativeResourceNamerKeyRing) ProjectRRN() string
ProjectRRN yields the relative resource name for a GCP project
func (RelativeResourceNamerKeyRing) ResourceName ¶
func (rrn RelativeResourceNamerKeyRing) ResourceName(kr *v1alpha1.KeyRing) string
ResourceName yields the relative resource name for the KeyRing resource