v1alpha1

package
v0.2.0-kubernetes.115 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Overview

+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/loft-sh/kiosk/pkg/apis/tenancy +k8s:defaulter-gen=TypeMeta +groupName=tenancy.kiosk.sh

Index

Constants

This section is empty.

Variables

View Source
var (
	ApiVersion = builders.NewApiVersion("tenancy.kiosk.sh", "v1alpha1").WithResources(
		tenancy.TenancyAccountStorage,
		tenancy.TenancySpaceStorage,
	)

	// Required by code generated by go2idl
	AddToScheme = (&runtime.SchemeBuilder{
		ApiVersion.SchemeBuilder.AddToScheme,
		RegisterDefaults,
		RegisterConversions,
		addKnownTypes,
		func(scheme *runtime.Scheme) error {
			metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
			return nil
		},
	}).AddToScheme

	SchemeBuilder = ApiVersion.SchemeBuilder

	SchemeGroupVersion = ApiVersion.GroupVersion
)

Functions

func Convert_tenancy_AccountList_To_v1alpha1_AccountList

func Convert_tenancy_AccountList_To_v1alpha1_AccountList(in *tenancy.AccountList, out *AccountList, s conversion.Scope) error

Convert_tenancy_AccountList_To_v1alpha1_AccountList is an autogenerated conversion function.

func Convert_tenancy_AccountSpec_To_v1alpha1_AccountSpec

func Convert_tenancy_AccountSpec_To_v1alpha1_AccountSpec(in *tenancy.AccountSpec, out *AccountSpec, s conversion.Scope) error

Convert_tenancy_AccountSpec_To_v1alpha1_AccountSpec is an autogenerated conversion function.

func Convert_tenancy_AccountStatus_To_v1alpha1_AccountStatus

func Convert_tenancy_AccountStatus_To_v1alpha1_AccountStatus(in *tenancy.AccountStatus, out *AccountStatus, s conversion.Scope) error

Convert_tenancy_AccountStatus_To_v1alpha1_AccountStatus is an autogenerated conversion function.

func Convert_tenancy_Account_To_v1alpha1_Account

func Convert_tenancy_Account_To_v1alpha1_Account(in *tenancy.Account, out *Account, s conversion.Scope) error

Convert_tenancy_Account_To_v1alpha1_Account is an autogenerated conversion function.

func Convert_tenancy_SpaceList_To_v1alpha1_SpaceList

func Convert_tenancy_SpaceList_To_v1alpha1_SpaceList(in *tenancy.SpaceList, out *SpaceList, s conversion.Scope) error

Convert_tenancy_SpaceList_To_v1alpha1_SpaceList is an autogenerated conversion function.

func Convert_tenancy_SpaceSpec_To_v1alpha1_SpaceSpec

func Convert_tenancy_SpaceSpec_To_v1alpha1_SpaceSpec(in *tenancy.SpaceSpec, out *SpaceSpec, s conversion.Scope) error

Convert_tenancy_SpaceSpec_To_v1alpha1_SpaceSpec is an autogenerated conversion function.

func Convert_tenancy_SpaceStatus_To_v1alpha1_SpaceStatus

func Convert_tenancy_SpaceStatus_To_v1alpha1_SpaceStatus(in *tenancy.SpaceStatus, out *SpaceStatus, s conversion.Scope) error

Convert_tenancy_SpaceStatus_To_v1alpha1_SpaceStatus is an autogenerated conversion function.

func Convert_tenancy_Space_To_v1alpha1_Space

func Convert_tenancy_Space_To_v1alpha1_Space(in *tenancy.Space, out *Space, s conversion.Scope) error

Convert_tenancy_Space_To_v1alpha1_Space is an autogenerated conversion function.

func Convert_v1alpha1_AccountList_To_tenancy_AccountList

func Convert_v1alpha1_AccountList_To_tenancy_AccountList(in *AccountList, out *tenancy.AccountList, s conversion.Scope) error

Convert_v1alpha1_AccountList_To_tenancy_AccountList is an autogenerated conversion function.

func Convert_v1alpha1_AccountSpec_To_tenancy_AccountSpec

func Convert_v1alpha1_AccountSpec_To_tenancy_AccountSpec(in *AccountSpec, out *tenancy.AccountSpec, s conversion.Scope) error

Convert_v1alpha1_AccountSpec_To_tenancy_AccountSpec is an autogenerated conversion function.

func Convert_v1alpha1_AccountStatus_To_tenancy_AccountStatus

func Convert_v1alpha1_AccountStatus_To_tenancy_AccountStatus(in *AccountStatus, out *tenancy.AccountStatus, s conversion.Scope) error

Convert_v1alpha1_AccountStatus_To_tenancy_AccountStatus is an autogenerated conversion function.

func Convert_v1alpha1_Account_To_tenancy_Account

func Convert_v1alpha1_Account_To_tenancy_Account(in *Account, out *tenancy.Account, s conversion.Scope) error

Convert_v1alpha1_Account_To_tenancy_Account is an autogenerated conversion function.

func Convert_v1alpha1_SpaceList_To_tenancy_SpaceList

func Convert_v1alpha1_SpaceList_To_tenancy_SpaceList(in *SpaceList, out *tenancy.SpaceList, s conversion.Scope) error

Convert_v1alpha1_SpaceList_To_tenancy_SpaceList is an autogenerated conversion function.

func Convert_v1alpha1_SpaceSpec_To_tenancy_SpaceSpec

func Convert_v1alpha1_SpaceSpec_To_tenancy_SpaceSpec(in *SpaceSpec, out *tenancy.SpaceSpec, s conversion.Scope) error

Convert_v1alpha1_SpaceSpec_To_tenancy_SpaceSpec is an autogenerated conversion function.

func Convert_v1alpha1_SpaceStatus_To_tenancy_SpaceStatus

func Convert_v1alpha1_SpaceStatus_To_tenancy_SpaceStatus(in *SpaceStatus, out *tenancy.SpaceStatus, s conversion.Scope) error

Convert_v1alpha1_SpaceStatus_To_tenancy_SpaceStatus is an autogenerated conversion function.

func Convert_v1alpha1_Space_To_tenancy_Space

func Convert_v1alpha1_Space_To_tenancy_Space(in *Space, out *tenancy.Space, s conversion.Scope) error

Convert_v1alpha1_Space_To_tenancy_Space is an autogenerated conversion function.

func Kind

func Kind(kind string) schema.GroupKind

Required by code generated by go2idl Kind takes an unqualified kind and returns a Group qualified GroupKind

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Required by code generated by go2idl Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Account

type Account struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AccountSpec   `json:"spec,omitempty"`
	Status AccountStatus `json:"status,omitempty"`
}

Account +k8s:openapi-gen=true +resource:path=accounts,rest=AccountREST

func (*Account) DeepCopy

func (in *Account) DeepCopy() *Account

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

func (*Account) DeepCopyInto

func (in *Account) DeepCopyInto(out *Account)

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

func (*Account) DeepCopyObject

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

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

type AccountList

type AccountList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Account `json:"items"`
}

func (*AccountList) DeepCopy

func (in *AccountList) DeepCopy() *AccountList

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

func (*AccountList) DeepCopyInto

func (in *AccountList) DeepCopyInto(out *AccountList)

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

func (*AccountList) DeepCopyObject

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

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

type AccountSpec

type AccountSpec struct {
	configv1alpha1.AccountSpec `json:",inline"`
}

AccountSpec defines the desired state of Space

func (*AccountSpec) DeepCopy

func (in *AccountSpec) DeepCopy() *AccountSpec

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

func (*AccountSpec) DeepCopyInto

func (in *AccountSpec) DeepCopyInto(out *AccountSpec)

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

type AccountStatus

type AccountStatus struct {
	configv1alpha1.AccountStatus `json:",inline"`
}

AccountStatus defines the observed state of Space

func (*AccountStatus) DeepCopy

func (in *AccountStatus) DeepCopy() *AccountStatus

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

func (*AccountStatus) DeepCopyInto

func (in *AccountStatus) DeepCopyInto(out *AccountStatus)

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

type Space

type Space struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SpaceSpec   `json:"spec,omitempty"`
	Status SpaceStatus `json:"status,omitempty"`
}

Space +k8s:openapi-gen=true +resource:path=spaces,rest=SpaceREST

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.

type SpaceList

type SpaceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Space `json:"items"`
}

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 {
	// Account is the owning account of the space, this will be either filled automatically, if the requesting user is only part
	// of a single account or has to be filled by the user.
	// +optional
	Account string `json:"account,omitempty"`

	// Finalizers is an opaque list of values that must be empty to permanently remove object from storage.
	// More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
	// +optional
	Finalizers []corev1.FinalizerName `json:"finalizers,omitempty"`
}

SpaceSpec defines the desired state of Space

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 SpaceStatus

type SpaceStatus struct {
	// Phase is the current lifecycle phase of the namespace.
	// More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
	// +optional
	Phase corev1.NamespacePhase `json:"phase,omitempty"`
}

SpaceStatus defines the observed state of Space

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