Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Index ¶
Constants ¶
const ( TenantConditionProvisioned = "Provisioned" TenantConditionReady = "Ready" )
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: tenancy.GroupName, Version: "v1alpha1"} // SchemeBuilder initializes a scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Tenant ¶
type Tenant struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TenantSpec `json:"spec,omitempty"` Status TenantStatus `json:"status,omitempty"` }
func (*Tenant) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tenant.
func (*Tenant) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Tenant) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Tenant) GetConditions ¶ added in v0.0.1
func (*Tenant) SetConditions ¶ added in v0.0.1
type TenantConditionType ¶ added in v0.0.1
type TenantConditionType string
type TenantList ¶
type TenantList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Tenant `json:"items"` }
func (*TenantList) DeepCopy ¶
func (in *TenantList) DeepCopy() *TenantList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantList.
func (*TenantList) DeepCopyInto ¶
func (in *TenantList) DeepCopyInto(out *TenantList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TenantList) DeepCopyObject ¶
func (in *TenantList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TenantPhase ¶ added in v0.0.1
type TenantPhase string
const ( TenantPhasePending TenantPhase = "Pending" TenantPhaseProvisioning TenantPhase = "Provisioning" TenantPhaseProvisioned TenantPhase = "Provisioned" TenantPhaseReady TenantPhase = "Ready" TenantPhaseFailed TenantPhase = "Failed" TenantPhaseTerminating TenantPhase = "Terminating" TenantPhaseUnknown TenantPhase = "Unknown" )
type TenantSpec ¶ added in v0.0.1
type TenantSpec struct { }
func (*TenantSpec) DeepCopy ¶ added in v0.0.1
func (in *TenantSpec) DeepCopy() *TenantSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantSpec.
func (*TenantSpec) DeepCopyInto ¶ added in v0.0.1
func (in *TenantSpec) DeepCopyInto(out *TenantSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TenantStatus ¶ added in v0.0.1
type TenantStatus struct { // Phase represents the current phase of Tenant. // E.g. Pending, Running, Terminating, Failed etc. // +optional Phase string `json:"phase,omitempty"` // Conditions defines current service state of Tenant. // +optional Conditions []metav1.Condition `json:"conditions,omitempty"` }
func (*TenantStatus) DeepCopy ¶ added in v0.0.1
func (in *TenantStatus) DeepCopy() *TenantStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantStatus.
func (*TenantStatus) DeepCopyInto ¶ added in v0.0.1
func (in *TenantStatus) DeepCopyInto(out *TenantStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TenantStatus) IsPhase ¶ added in v0.0.1
func (t *TenantStatus) IsPhase(p TenantPhase) bool
func (*TenantStatus) SetPhase ¶ added in v0.0.1
func (t *TenantStatus) SetPhase(p TenantPhase)