v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=space.ibm.kubeform.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: space.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

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

func (in *Space) DeepCopy() *Space

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

func (*Space) DeepCopyInto

func (in *Space) DeepCopyInto(out *Space)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Space) DeepCopyObject

func (in *Space) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Space) SetupWebhookWithManager

func (r *Space) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Space) ValidateCreate

func (r *Space) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Space) ValidateDelete

func (r *Space) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Space) ValidateUpdate

func (r *Space) ValidateUpdate(old runtime.Object) error

ValidateUpdate 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

func (in *SpaceList) DeepCopy() *SpaceList

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

func (*SpaceList) DeepCopyInto

func (in *SpaceList) DeepCopyInto(out *SpaceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SpaceList) DeepCopyObject

func (in *SpaceList) DeepCopyObject() runtime.Object

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

func (in *SpaceSpec) DeepCopy() *SpaceSpec

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

func (*SpaceSpec) DeepCopyInto

func (in *SpaceSpec) DeepCopyInto(out *SpaceSpec)

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.

Jump to

Keyboard shortcuts

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