Documentation ¶
Overview ¶
+groupName=license.vsphere.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 License
- func (in *License) DeepCopy() *License
- func (in *License) DeepCopyInto(out *License)
- func (in *License) DeepCopyObject() runtime.Object
- func (r *License) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *License) ValidateCreate() error
- func (r *License) ValidateDelete() error
- func (r *License) ValidateUpdate(old runtime.Object) error
- type LicenseList
- type LicenseSpec
- type LicenseSpecResource
- type LicenseStatus
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: license.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 License ¶
type License struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LicenseSpec `json:"spec,omitempty"` Status LicenseStatus `json:"status,omitempty"` }
func (*License) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new License.
func (*License) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*License) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*License) SetupWebhookWithManager ¶
func (*License) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*License) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type LicenseList ¶
type LicenseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of License CRD objects Items []License `json:"items,omitempty"` }
LicenseList is a list of Licenses
func (*LicenseList) DeepCopy ¶
func (in *LicenseList) DeepCopy() *LicenseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LicenseList.
func (*LicenseList) DeepCopyInto ¶
func (in *LicenseList) DeepCopyInto(out *LicenseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LicenseList) DeepCopyObject ¶
func (in *LicenseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LicenseSpec ¶
type LicenseSpec struct { State *LicenseSpecResource `json:"state,omitempty" tf:"-"` Resource LicenseSpecResource `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 (*LicenseSpec) DeepCopy ¶
func (in *LicenseSpec) DeepCopy() *LicenseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LicenseSpec.
func (*LicenseSpec) DeepCopyInto ¶
func (in *LicenseSpec) DeepCopyInto(out *LicenseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LicenseSpecResource ¶
type LicenseSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional EditionKey *string `json:"editionKey,omitempty" tf:"edition_key"` // +optional Labels *map[string]string `json:"labels,omitempty" tf:"labels"` LicenseKey *string `json:"licenseKey" tf:"license_key"` // +optional Name *string `json:"name,omitempty" tf:"name"` // +optional Total *int64 `json:"total,omitempty" tf:"total"` // +optional Used *int64 `json:"used,omitempty" tf:"used"` }
func (*LicenseSpecResource) DeepCopy ¶
func (in *LicenseSpecResource) DeepCopy() *LicenseSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LicenseSpecResource.
func (*LicenseSpecResource) DeepCopyInto ¶
func (in *LicenseSpecResource) DeepCopyInto(out *LicenseSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LicenseStatus ¶
type LicenseStatus 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 (*LicenseStatus) DeepCopy ¶
func (in *LicenseStatus) DeepCopy() *LicenseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LicenseStatus.
func (*LicenseStatus) DeepCopyInto ¶
func (in *LicenseStatus) DeepCopyInto(out *LicenseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.