Documentation ¶
Overview ¶
+groupName=apiaccess.newrelic.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: apiaccess.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
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.
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:"-"` SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*KeySpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeySpec.
type KeySpecResource ¶
type KeySpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` AccountID *int64 `json:"accountID" tf:"account_id"` // +optional IngestType *string `json:"ingestType,omitempty" tf:"ingest_type"` // +optional Key *string `json:"-" sensitive:"true" tf:"key"` KeyType *string `json:"keyType" tf:"key_type"` // +optional Name *string `json:"name,omitempty" tf:"name"` // +optional Notes *string `json:"notes,omitempty" tf:"notes"` // +optional UserID *int64 `json:"userID,omitempty" tf:"user_id"` }
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.