v1alpha1

package
v0.0.45 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+k8s:openapi-gen=true +k8s:deepcopy-gen=package +k8s:defaulter-gen=TypeMeta +groupName=offline.licenses.appscode.com

Index

Constants

View Source
const (
	ResourceKindAddOfflineLicense = "AddOfflineLicense"
	ResourceAddOfflineLicense     = "addofflinelicense"
	ResourceAddOfflineLicenses    = "addofflinelicenses"
)
View Source
const (
	ResourceKindOfflineLicense = "OfflineLicense"
	ResourceOfflineLicense     = "offlinelicense"
	ResourceOfflineLicenses    = "offlinelicenses"
)
View Source
const GroupName = "offline.licenses.appscode.com"

Variables

View Source
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
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

Functions

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddOfflineLicenseResponse.

func (*AddOfflineLicenseResponse) DeepCopyInto

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL