Documentation ¶
Overview ¶
+groupName=space.ibm.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Space
- func (in *Space) DeepCopy() *Space
- func (in *Space) DeepCopyInto(out *Space)
- func (in *Space) DeepCopyObject() runtime.Object
- func (r *Space) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Space) ValidateCreate() error
- func (r *Space) ValidateDelete() error
- func (r *Space) ValidateUpdate(old runtime.Object) error
- type SpaceList
- type SpaceSpec
- type SpaceSpecResource
- type SpaceStatus
Constants ¶
This section is empty.
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: space.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Space ¶
type Space struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SpaceSpec `json:"spec,omitempty"` Status SpaceStatus `json:"status,omitempty"` }
func (*Space) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Space.
func (*Space) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Space) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Space) SetupWebhookWithManager ¶
func (*Space) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Space) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type SpaceList ¶
type SpaceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Space CRD objects Items []Space `json:"items,omitempty"` }
SpaceList is a list of Spaces
func (*SpaceList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceList.
func (*SpaceList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SpaceList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SpaceSpec ¶
type SpaceSpec struct { State *SpaceSpecResource `json:"state,omitempty" tf:"-"` Resource SpaceSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*SpaceSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSpec.
func (*SpaceSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpaceSpecResource ¶
type SpaceSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // The IBMID of the users who will have auditor role in this space, ex - user@example.com // +optional Auditors []string `json:"auditors,omitempty" tf:"auditors"` // The IBMID of the users who will have developer role in this space, ex - user@example.com // +optional Developers []string `json:"developers,omitempty" tf:"developers"` // The IBMID of the users who will have manager role in this space, ex - user@example.com // +optional Managers []string `json:"managers,omitempty" tf:"managers"` // The name for the space Name *string `json:"name" tf:"name"` // The org this space belongs to Org *string `json:"org" tf:"org"` // The name of the Space Quota Definition // +optional SpaceQuota *string `json:"spaceQuota,omitempty" tf:"space_quota"` // +optional Tags []string `json:"tags,omitempty" tf:"tags"` }
func (*SpaceSpecResource) DeepCopy ¶
func (in *SpaceSpecResource) DeepCopy() *SpaceSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSpecResource.
func (*SpaceSpecResource) DeepCopyInto ¶
func (in *SpaceSpecResource) DeepCopyInto(out *SpaceSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpaceStatus ¶
type SpaceStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*SpaceStatus) DeepCopy ¶
func (in *SpaceStatus) DeepCopy() *SpaceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceStatus.
func (*SpaceStatus) DeepCopyInto ¶
func (in *SpaceStatus) DeepCopyInto(out *SpaceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.