Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +kubebuilder:object:generate=true +groupName=core.aeto.net
Index ¶
- Constants
- Variables
- type Blueprint
- func (b Blueprint) CommonAnnotations(tenant Tenant) map[string]string
- func (b Blueprint) CommonLabels(tenant Tenant) map[string]string
- func (in *Blueprint) DeepCopy() *Blueprint
- func (in *Blueprint) DeepCopyInto(out *Blueprint)
- func (in *Blueprint) DeepCopyObject() runtime.Object
- func (b Blueprint) NamespacedName() types.NamespacedName
- type BlueprintList
- type BlueprintResourceGroup
- type BlueprintSpec
- type BlueprintStatus
- type BlueprintValueRef
- type EmbeddedResource
- type Parameter
- type ParameterValue
- type ResourceNameRule
- type ResourceNamespaceRule
- type ResourceSet
- type ResourceSetList
- type ResourceSetPhase
- type ResourceSetResource
- type ResourceSetResourceList
- type ResourceSetSpec
- type ResourceSetStatus
- type ResourceTemplate
- type ResourceTemplateList
- type ResourceTemplateParameterList
- func (in ResourceTemplateParameterList) DeepCopy() ResourceTemplateParameterList
- func (in ResourceTemplateParameterList) DeepCopyInto(out *ResourceTemplateParameterList)
- func (rtp ResourceTemplateParameterList) SetValues(pvs []ParameterValue, resolverFunc func(ValueRef) (string, error)) (err error)
- func (rtp ResourceTemplateParameterList) Validate() (err error)
- type ResourceTemplateRules
- type ResourceTemplateSpec
- type ResourceTemplateStatus
- type ResourceValueRef
- type Tenant
- type TenantList
- type TenantSpec
- type TenantStatus
- type ValueRef
Constants ¶
const ( ResourceNameKeep ResourceNameRule = "keep" ResourceNameTenant ResourceNameRule = "tenant" ResourceNamespaceKeep ResourceNamespaceRule = "keep" ResourceNamespaceTenant ResourceNamespaceRule = "tenant" ResourceNamespaceOperator ResourceNamespaceRule = "operator" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "core.aeto.net", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Blueprint ¶
type Blueprint struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BlueprintSpec `json:"spec,omitempty"` Status BlueprintStatus `json:"status,omitempty"` }
Blueprint is the Schema for the blueprints API
func (Blueprint) CommonAnnotations ¶
CommonAnnotations merges annotations from tenant and blueprint with default annotations to create a common set
func (Blueprint) CommonLabels ¶
CommonLabels merges labels from tenant and blueprint with default labels to create a common set
func (*Blueprint) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Blueprint.
func (*Blueprint) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Blueprint) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (Blueprint) NamespacedName ¶
func (b Blueprint) NamespacedName() types.NamespacedName
NamespacedName returns a namespaced name for the custom resource
type BlueprintList ¶
type BlueprintList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Blueprint `json:"items"` }
BlueprintList contains a list of Blueprint
func (*BlueprintList) DeepCopy ¶
func (in *BlueprintList) DeepCopy() *BlueprintList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlueprintList.
func (*BlueprintList) DeepCopyInto ¶
func (in *BlueprintList) DeepCopyInto(out *BlueprintList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BlueprintList) DeepCopyObject ¶
func (in *BlueprintList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BlueprintResourceGroup ¶
type BlueprintResourceGroup struct { // Name defines the name of the resource group // +kubebuilder:validation:Required Name string `json:"name"` // Template defines the namespace/name of the template used to generate resources // +kubebuilder:validation:Required Template string `json:"template"` // Parameters defines the parameters that applies to the template // +kubebuilder:validation:Optional Parameters []ParameterValue `json:"parameters,omitempty"` }
BlueprintResourceGroup defines a group of resources used when generating tenant resource sets
func (*BlueprintResourceGroup) DeepCopy ¶
func (in *BlueprintResourceGroup) DeepCopy() *BlueprintResourceGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlueprintResourceGroup.
func (*BlueprintResourceGroup) DeepCopyInto ¶
func (in *BlueprintResourceGroup) DeepCopyInto(out *BlueprintResourceGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BlueprintSpec ¶
type BlueprintSpec struct { // ResourceNamePrefix defines the prefix to use when naming resources // +kubebuilder:validation:Required ResourceNamePrefix string `json:"resourceNamePrefix"` // Resources defines the resources groups used when generating tenant resource sets // +kubebuilder:validation:Required Resources []BlueprintResourceGroup `json:"resources"` }
BlueprintSpec defines the desired state of Blueprint
func (*BlueprintSpec) DeepCopy ¶
func (in *BlueprintSpec) DeepCopy() *BlueprintSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlueprintSpec.
func (*BlueprintSpec) DeepCopyInto ¶
func (in *BlueprintSpec) DeepCopyInto(out *BlueprintSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BlueprintStatus ¶
type BlueprintStatus struct { }
BlueprintStatus defines the observed state of Blueprint
func (*BlueprintStatus) DeepCopy ¶
func (in *BlueprintStatus) DeepCopy() *BlueprintStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlueprintStatus.
func (*BlueprintStatus) DeepCopyInto ¶
func (in *BlueprintStatus) DeepCopyInto(out *BlueprintStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BlueprintValueRef ¶
type BlueprintValueRef struct { // ResourceGroup defines the resource group // +kubebuilder:validation:Required ResourceGroup string `json:"resourceGroup"` // JsonPath holds a path expression for the desired value // +kubebuilder:validation:Required JsonPath string `json:"jsonPath"` }
BlueprintValueRef defines a reference to a value in a blueprint resource group
func (*BlueprintValueRef) DeepCopy ¶
func (in *BlueprintValueRef) DeepCopy() *BlueprintValueRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlueprintValueRef.
func (*BlueprintValueRef) DeepCopyInto ¶
func (in *BlueprintValueRef) DeepCopyInto(out *BlueprintValueRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmbeddedResource ¶
type EmbeddedResource struct {
runtime.RawExtension `json:",inline"`
}
EmbeddedResource holds a kubernetes resource +kubebuilder:validation:XPreserveUnknownFields +kubebuilder:validation:XEmbeddedResource
func (*EmbeddedResource) DeepCopy ¶
func (in *EmbeddedResource) DeepCopy() *EmbeddedResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmbeddedResource.
func (*EmbeddedResource) DeepCopyInto ¶
func (in *EmbeddedResource) DeepCopyInto(out *EmbeddedResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Parameter ¶
type Parameter struct { // Name defines the name of the parameter // +kubebuilder:validation:Required Name string `json:"name"` // Required make the parameter required // +kubebuilder:default=true // +kubebuilder:validation:Optional Required bool `json:"required,omitempty"` // Default holds the default value for the parameter // +kubebuilder:validation:Optional Default string `json:"default,omitempty"` // contains filtered or unexported fields }
Parameter defines a template parameter
func (*Parameter) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parameter.
func (*Parameter) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ParameterValue ¶
type ParameterValue struct { // Name defines the name of the parameter // +kubebuilder:validation:Required Name string `json:"name"` // Value holds a value for the parameter // +kubebuilder:validation:Optional Value string `json:"value,omitempty"` // ValueFrom holds a value for the parameter // +kubebuilder:validation:Optional ValueFrom *ValueRef `json:"valueFrom,omitempty"` }
ParameterValue defines a template parameter
func (*ParameterValue) DeepCopy ¶
func (in *ParameterValue) DeepCopy() *ParameterValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParameterValue.
func (*ParameterValue) DeepCopyInto ¶
func (in *ParameterValue) DeepCopyInto(out *ParameterValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceNameRule ¶
type ResourceNameRule string
type ResourceNamespaceRule ¶
type ResourceNamespaceRule string
type ResourceSet ¶
type ResourceSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ResourceSetSpec `json:"spec,omitempty"` Status ResourceSetStatus `json:"status,omitempty"` }
ResourceSet is the Schema for the resourcesets API
func (*ResourceSet) DeepCopy ¶
func (in *ResourceSet) DeepCopy() *ResourceSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSet.
func (*ResourceSet) DeepCopyInto ¶
func (in *ResourceSet) DeepCopyInto(out *ResourceSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceSet) DeepCopyObject ¶
func (in *ResourceSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (ResourceSet) NamespacedName ¶
func (rs ResourceSet) NamespacedName() types.NamespacedName
NamespacedName returns a namespaced name for the custom resource
type ResourceSetList ¶
type ResourceSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ResourceSet `json:"items"` }
ResourceSetList contains a list of ResourceSet
func (*ResourceSetList) DeepCopy ¶
func (in *ResourceSetList) DeepCopy() *ResourceSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSetList.
func (*ResourceSetList) DeepCopyInto ¶
func (in *ResourceSetList) DeepCopyInto(out *ResourceSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceSetList) DeepCopyObject ¶
func (in *ResourceSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceSetPhase ¶
type ResourceSetPhase string
const ( // ResourceSetReconciling means the resource set is reconciling ResourceSetReconciling ResourceSetPhase = "Reconciling" // ResourceSetTerminating means the resource set is undergoing graceful termination ResourceSetTerminating ResourceSetPhase = "Terminating" // ResourceSetPaused means the resource set reconciliation has been paused ResourceSetPaused ResourceSetPhase = "Paused" )
These are the valid phases of a namespace.
type ResourceSetResource ¶
type ResourceSetResource struct { // Id holds the unique identifier of the resource // +kubebuilder:validation:Required Id string `json:"id"` // Order holds the desired order in which the resource should be applied // +kubebuilder:validation:Required Order int `json:"order"` // Embedded holds an embedded kubernetes resource // +kubebuilder:validation:Required Embedded EmbeddedResource `json:"embedded"` }
ResourceSetResource defines a resource in a ResourceSet
func (*ResourceSetResource) DeepCopy ¶
func (in *ResourceSetResource) DeepCopy() *ResourceSetResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSetResource.
func (*ResourceSetResource) DeepCopyInto ¶
func (in *ResourceSetResource) DeepCopyInto(out *ResourceSetResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceSetResourceList ¶
type ResourceSetResourceList []ResourceSetResource
ResourceSetResourceList defines a list of resources in a ResourceSet
func (ResourceSetResourceList) DeepCopy ¶
func (in ResourceSetResourceList) DeepCopy() ResourceSetResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSetResourceList.
func (ResourceSetResourceList) DeepCopyInto ¶
func (in ResourceSetResourceList) DeepCopyInto(out *ResourceSetResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ResourceSetResourceList) Find ¶
func (rl ResourceSetResourceList) Find(id string) (index int, existing *ResourceSetResource)
Find returns the first matching resource and it's index in the list matching the specified id
type ResourceSetSpec ¶
type ResourceSetSpec struct { // Active defines the state of the ResourceSet. When active, desired state will be reconciled and deleting the ResourceSet will cause cleanup of resources defined by the ResourceSet. There should only ever be a single active ResourceSet per tenant. Active bool `json:"active"` // Resources contains embedded resources // +kubebuilder:validation:Required Resources ResourceSetResourceList `json:"resources"` }
ResourceSetSpec defines the desired state of ResourceSet
func (*ResourceSetSpec) DeepCopy ¶
func (in *ResourceSetSpec) DeepCopy() *ResourceSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSetSpec.
func (*ResourceSetSpec) DeepCopyInto ¶
func (in *ResourceSetSpec) DeepCopyInto(out *ResourceSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceSetStatus ¶
type ResourceSetStatus struct { // ObservedGeneration is the last reconciled generation. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // ResourceVersion is the last reconciled resource version. ResourceVersion string `json:"resourceVersion,omitempty"` // Status is the current lifecycle phase of the ResourceSet. Status ResourceSetPhase `json:"status,omitempty"` // Conditions represent the latest available observations of the ResourceSet state. Conditions []metav1.Condition `json:"conditions"` }
ResourceSetStatus defines the observed state of ResourceSet
func (*ResourceSetStatus) DeepCopy ¶
func (in *ResourceSetStatus) DeepCopy() *ResourceSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSetStatus.
func (*ResourceSetStatus) DeepCopyInto ¶
func (in *ResourceSetStatus) DeepCopyInto(out *ResourceSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceTemplate ¶
type ResourceTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ResourceTemplateSpec `json:"spec,omitempty"` Status ResourceTemplateStatus `json:"status,omitempty"` }
ResourceTemplate is the Schema for the resourcetemplates API
func (*ResourceTemplate) DeepCopy ¶
func (in *ResourceTemplate) DeepCopy() *ResourceTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceTemplate.
func (*ResourceTemplate) DeepCopyInto ¶
func (in *ResourceTemplate) DeepCopyInto(out *ResourceTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceTemplate) DeepCopyObject ¶
func (in *ResourceTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (ResourceTemplate) NamespacedName ¶
func (rt ResourceTemplate) NamespacedName() types.NamespacedName
NamespacedName returns a namespaced name for the custom resource
type ResourceTemplateList ¶
type ResourceTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ResourceTemplate `json:"items"` }
ResourceTemplateList contains a list of ResourceTemplate
func (*ResourceTemplateList) DeepCopy ¶
func (in *ResourceTemplateList) DeepCopy() *ResourceTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceTemplateList.
func (*ResourceTemplateList) DeepCopyInto ¶
func (in *ResourceTemplateList) DeepCopyInto(out *ResourceTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceTemplateList) DeepCopyObject ¶
func (in *ResourceTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceTemplateParameterList ¶
type ResourceTemplateParameterList []*Parameter
func (ResourceTemplateParameterList) DeepCopy ¶
func (in ResourceTemplateParameterList) DeepCopy() ResourceTemplateParameterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceTemplateParameterList.
func (ResourceTemplateParameterList) DeepCopyInto ¶
func (in ResourceTemplateParameterList) DeepCopyInto(out *ResourceTemplateParameterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ResourceTemplateParameterList) SetValues ¶
func (rtp ResourceTemplateParameterList) SetValues(pvs []ParameterValue, resolverFunc func(ValueRef) (string, error)) (err error)
SetValues applies parameter values to the resource template parameter list
func (ResourceTemplateParameterList) Validate ¶
func (rtp ResourceTemplateParameterList) Validate() (err error)
Validate returns an error if the resource template parameter list contains validation errors
type ResourceTemplateRules ¶
type ResourceTemplateRules struct { // Name defines the naming rule to apply for the resources in the ResourceTemplate // +kubebuilder:validation:Optional // +kubebuilder:default=tenant Name ResourceNameRule `json:"name"` // Namespace defines the namespace source to use for the resources in the ResourceTemplate // +kubebuilder:validation:Optional // +kubebuilder:default=tenant Namespace ResourceNamespaceRule `json:"namespace"` }
ResourceTemplateRules defines rules of the ResourceTemplate
func (*ResourceTemplateRules) DeepCopy ¶
func (in *ResourceTemplateRules) DeepCopy() *ResourceTemplateRules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceTemplateRules.
func (*ResourceTemplateRules) DeepCopyInto ¶
func (in *ResourceTemplateRules) DeepCopyInto(out *ResourceTemplateRules)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceTemplateSpec ¶
type ResourceTemplateSpec struct { // Rules contains embedded resources in go templating format // +kubebuilder:validation:Required Rules ResourceTemplateRules `json:"rules"` // Parameters contains parameters used for templating // +kubebuilder:validation:Required Parameters ResourceTemplateParameterList `json:"parameters"` // Resources contains embedded resources in go templating format // +kubebuilder:validation:Optional Resources []EmbeddedResource `json:"resources,omitempty"` // Raw contains raw yaml documents in go templating format (prefer using Manifests over Raw) // +kubebuilder:validation:Optional Raw []string `json:"raw,omitempty"` }
ResourceTemplateSpec defines the desired state of ResourceTemplate
func (*ResourceTemplateSpec) DeepCopy ¶
func (in *ResourceTemplateSpec) DeepCopy() *ResourceTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceTemplateSpec.
func (*ResourceTemplateSpec) DeepCopyInto ¶
func (in *ResourceTemplateSpec) DeepCopyInto(out *ResourceTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceTemplateStatus ¶
type ResourceTemplateStatus struct { }
ResourceTemplateStatus defines the observed state of ResourceTemplate
func (*ResourceTemplateStatus) DeepCopy ¶
func (in *ResourceTemplateStatus) DeepCopy() *ResourceTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceTemplateStatus.
func (*ResourceTemplateStatus) DeepCopyInto ¶
func (in *ResourceTemplateStatus) DeepCopyInto(out *ResourceTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceValueRef ¶
type ResourceValueRef struct { // ApiVersion defines the api version of the kubernetes resource // +kubebuilder:validation:Required ApiVersion string `json:"apiVersion"` // Kind defines the kind of the kubernetes resource // +kubebuilder:validation:Required Kind string `json:"kind"` // Name defines the name of the kubernetes resource // +kubebuilder:validation:Required Name string `json:"name"` // Namespace defines the namespace of the kubernetes resource // +kubebuilder:validation:Required Namespace string `json:"namespace"` // JsonPath holds a path expression for the desired value // +kubebuilder:validation:Required JsonPath string `json:"jsonPath"` }
ResourceValueRef defines a reference to a value in a kubernetes resource
func (*ResourceValueRef) DeepCopy ¶
func (in *ResourceValueRef) DeepCopy() *ResourceValueRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceValueRef.
func (*ResourceValueRef) DeepCopyInto ¶
func (in *ResourceValueRef) DeepCopyInto(out *ResourceValueRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Tenant ¶
type Tenant struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TenantSpec `json:"spec,omitempty"` Status TenantStatus `json:"status,omitempty"` }
Tenant is the Schema for the tenants API
func (*Tenant) Blueprint ¶
Blueprint returns the name of the blueprint to use for generating tenant resources
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) NamespacedName ¶
func (t Tenant) NamespacedName() types.NamespacedName
NamespacedName returns a namespaced name for the custom resource
type TenantList ¶
type TenantList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Tenant `json:"items"` }
TenantList contains a list of Tenant
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 TenantSpec ¶
type TenantSpec struct { // Name is the full name of the tenant // +kubebuilder:validation:Required Name string `json:"name"` // Blueprint contains the name of the Blueprint to use for the tenant // +kubebuilder:validation:Optional Blueprint string `json:"blueprint,omitempty"` }
TenantSpec defines the desired state of Tenant
func (*TenantSpec) DeepCopy ¶
func (in *TenantSpec) DeepCopy() *TenantSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantSpec.
func (*TenantSpec) DeepCopyInto ¶
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 ¶
type TenantStatus struct { // Namespace is the namespace for the Tenant. Namespace string `json:"namespace,omitempty"` // Blueprint is the namespace/name of the Blueprint in use by the Tenant. Blueprint string `json:"blueprint,omitempty"` // ResourceSet is the the namespace/name of the ResourceSet in use by the Tenant. ResourceSet string `json:"resourceSet,omitempty"` // Events is the number of events produced for the Tenant. Events int `json:"events,omitempty"` // Status is the current lifecycle phase of the Tenant. Status string `json:"status,omitempty"` // Conditions represent the latest available observations of the Tenants state. Conditions []metav1.Condition `json:"conditions"` }
TenantStatus defines the observed state of Tenant
func (*TenantStatus) DeepCopy ¶
func (in *TenantStatus) DeepCopy() *TenantStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantStatus.
func (*TenantStatus) DeepCopyInto ¶
func (in *TenantStatus) DeepCopyInto(out *TenantStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ValueRef ¶
type ValueRef struct { // Blueprint defines a reference to a value from a blueprint resource group // +kubebuilder:validation:Optional Blueprint *BlueprintValueRef `json:"blueprint,omitempty"` // Resource defines a reference to a value from a kubernetes resource // +kubebuilder:validation:Optional Resource *ResourceValueRef `json:"resource,omitempty"` }
ValueRef defines a reference to a value
func (*ValueRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueRef.
func (*ValueRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.