Documentation ¶
Overview ¶
+k8s:openapi-gen=true +k8s:deepcopy-gen=package +k8s:defaulter-gen=TypeMeta +groupName=offline.licenses.appscode.com
Index ¶
- Constants
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetObjectDefaults_AddOfflineLicense(in *AddOfflineLicense)
- func SetObjectDefaults_OfflineLicense(in *OfflineLicense)
- func SetObjectDefaults_OfflineLicenseList(in *OfflineLicenseList)
- type AddOfflineLicense
- type AddOfflineLicenseRequest
- type AddOfflineLicenseResponse
- type OfflineLicense
- type OfflineLicenseList
- type OfflineLicenseStatus
Constants ¶
const ( ResourceKindAddOfflineLicense = "AddOfflineLicense" ResourceAddOfflineLicense = "addofflinelicense" ResourceAddOfflineLicenses = "addofflinelicenses" )
const ( ResourceKindOfflineLicense = "OfflineLicense" ResourceOfflineLicense = "offlinelicense" ResourceOfflineLicenses = "offlinelicenses" )
const GroupName = "offline.licenses.appscode.com"
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: GroupName, Version: "v1alpha1"}
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
func SetObjectDefaults_AddOfflineLicense ¶ added in v0.0.42
func SetObjectDefaults_AddOfflineLicense(in *AddOfflineLicense)
func SetObjectDefaults_OfflineLicense ¶ added in v0.0.42
func SetObjectDefaults_OfflineLicense(in *OfflineLicense)
func SetObjectDefaults_OfflineLicenseList ¶ added in v0.0.42
func SetObjectDefaults_OfflineLicenseList(in *OfflineLicenseList)
Types ¶
type AddOfflineLicense ¶
type AddOfflineLicense struct { metav1.TypeMeta `json:",inline"` // +optional Request *AddOfflineLicenseRequest `json:"request,omitempty"` // +optional Response *AddOfflineLicenseResponse `json:"response,omitempty"` }
func (*AddOfflineLicense) DeepCopy ¶
func (in *AddOfflineLicense) DeepCopy() *AddOfflineLicense
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddOfflineLicense.
func (*AddOfflineLicense) DeepCopyInto ¶
func (in *AddOfflineLicense) DeepCopyInto(out *AddOfflineLicense)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AddOfflineLicense) DeepCopyObject ¶
func (in *AddOfflineLicense) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AddOfflineLicenseRequest ¶
type AddOfflineLicenseRequest struct { Namespace string `json:"namespace"` License string `json:"license"` }
func (*AddOfflineLicenseRequest) DeepCopy ¶
func (in *AddOfflineLicenseRequest) DeepCopy() *AddOfflineLicenseRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddOfflineLicenseRequest.
func (*AddOfflineLicenseRequest) DeepCopyInto ¶
func (in *AddOfflineLicenseRequest) DeepCopyInto(out *AddOfflineLicenseRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AddOfflineLicenseResponse ¶
type AddOfflineLicenseResponse struct { // +optional SecretKeyRef *core.SecretKeySelector `json:"secretKeyRef,omitempty"` }
func (*AddOfflineLicenseResponse) DeepCopy ¶
func (in *AddOfflineLicenseResponse) DeepCopy() *AddOfflineLicenseResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddOfflineLicenseResponse.
func (*AddOfflineLicenseResponse) DeepCopyInto ¶
func (in *AddOfflineLicenseResponse) DeepCopyInto(out *AddOfflineLicenseResponse)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OfflineLicense ¶
type OfflineLicense struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` Status OfflineLicenseStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=offlinelicenses,singular=offlinelicense +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*OfflineLicense) DeepCopy ¶
func (in *OfflineLicense) DeepCopy() *OfflineLicense
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OfflineLicense.
func (*OfflineLicense) DeepCopyInto ¶
func (in *OfflineLicense) DeepCopyInto(out *OfflineLicense)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OfflineLicense) DeepCopyObject ¶
func (in *OfflineLicense) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OfflineLicenseList ¶
type OfflineLicenseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OfflineLicense `json:"items,omitempty"` }
func (*OfflineLicenseList) DeepCopy ¶
func (in *OfflineLicenseList) DeepCopy() *OfflineLicenseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OfflineLicenseList.
func (*OfflineLicenseList) DeepCopyInto ¶
func (in *OfflineLicenseList) DeepCopyInto(out *OfflineLicenseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OfflineLicenseList) DeepCopyObject ¶
func (in *OfflineLicenseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OfflineLicenseStatus ¶
type OfflineLicenseStatus struct { License licenseapi.License `json:"license"` // +optional SecretKeyRef *core.SecretKeySelector `json:"secretKeyRef,omitempty"` }
OfflineLicenseStatus defines the observed state of OfflineLicense
func (*OfflineLicenseStatus) DeepCopy ¶
func (in *OfflineLicenseStatus) DeepCopy() *OfflineLicenseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OfflineLicenseStatus.
func (*OfflineLicenseStatus) DeepCopyInto ¶
func (in *OfflineLicenseStatus) DeepCopyInto(out *OfflineLicenseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.