Documentation ¶
Overview ¶
+groupName=kp.ibm.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Key
- func (in *Key) DeepCopy() *Key
- func (in *Key) DeepCopyInto(out *Key)
- func (in *Key) DeepCopyObject() runtime.Object
- func (r *Key) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Key) ValidateCreate() error
- func (r *Key) ValidateDelete() error
- func (r *Key) ValidateUpdate(old runtime.Object) error
- type KeyList
- type KeySpec
- type KeySpecResource
- type KeyStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: kp.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Key ¶
type Key struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KeySpec `json:"spec,omitempty"` Status KeyStatus `json:"status,omitempty"` }
func (*Key) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Key.
func (*Key) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Key) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Key) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Key) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type KeyList ¶
type KeyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Key CRD objects Items []Key `json:"items,omitempty"` }
KeyList is a list of Keys
func (*KeyList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyList.
func (*KeyList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeyList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeySpec ¶
type KeySpec struct { State *KeySpecResource `json:"state,omitempty" tf:"-"` Resource KeySpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*KeySpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeySpec.
func (*KeySpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeySpecResource ¶
type KeySpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // Crn of the key // +optional Crn *string `json:"crn,omitempty" tf:"crn"` // Only for imported root key // +optional EncryptedNonce *string `json:"encryptedNonce,omitempty" tf:"encrypted_nonce"` // set to true to force delete the key // +optional ForceDelete *bool `json:"forceDelete,omitempty" tf:"force_delete"` // Only for imported root key // +optional IvValue *string `json:"ivValue,omitempty" tf:"iv_value"` // Key ID // +optional KeyID *string `json:"keyID,omitempty" tf:"key_id"` // Key name KeyName *string `json:"keyName" tf:"key_name"` // Key protect instance ID KeyProtectID *string `json:"keyProtectID" tf:"key_protect_id"` // +optional Payload *string `json:"payload,omitempty" tf:"payload"` // The URL of the IBM Cloud dashboard that can be used to explore and view details about the resource // +optional ResourceControllerURL *string `json:"resourceControllerURL,omitempty" tf:"resource_controller_url"` // The crn of the resource // +optional ResourceCrn *string `json:"resourceCrn,omitempty" tf:"resource_crn"` // The resource group name in which resource is provisioned // +optional ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name"` // The name of the resource // +optional ResourceName *string `json:"resourceName,omitempty" tf:"resource_name"` // The status of the resource // +optional ResourceStatus *string `json:"resourceStatus,omitempty" tf:"resource_status"` // Standard key type // +optional StandardKey *bool `json:"standardKey,omitempty" tf:"standard_key"` }
func (*KeySpecResource) DeepCopy ¶
func (in *KeySpecResource) DeepCopy() *KeySpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeySpecResource.
func (*KeySpecResource) DeepCopyInto ¶
func (in *KeySpecResource) DeepCopyInto(out *KeySpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyStatus ¶
type KeyStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*KeyStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyStatus.
func (*KeyStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.