Documentation ¶
Overview ¶
+groupName=licenses.appscode.com
Index ¶
Constants ¶
This section is empty.
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: licenses.GroupName, Version: "v1alpha1"}
Functions ¶
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"` Issuer string `json:"issuer,omitempty"` // byte.builders Products []string `json:"products,omitempty"` Clusters []string `json:"clusters,omitempty"` // cluster_id ? NotBefore *metav1.Time `json:"notBefore,omitempty"` // start of subscription start NotAfter *metav1.Time `json:"notAfter,omitempty"` // if set, use this ID string `json:"id,omitempty"` // license ID Status LicenseStatus `json:"status"` Reason string `json:"reason"` }
License defines a AppsCode product license info.
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.
type LicenseStatus ¶
type LicenseStatus string
const ( LicenseUnknown LicenseStatus = "unknown" LicenseActive LicenseStatus = "active" LicenseExpired LicenseStatus = "expired" LicenseCanceled LicenseStatus = "canceled" )
Click to show internal directories.
Click to hide internal directories.