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 ¶
- Variables
- func Convert_tenancy_AccountList_To_v1alpha1_AccountList(in *tenancy.AccountList, out *AccountList, s conversion.Scope) error
- func Convert_tenancy_AccountSpec_To_v1alpha1_AccountSpec(in *tenancy.AccountSpec, out *AccountSpec, s conversion.Scope) error
- func Convert_tenancy_AccountStatus_To_v1alpha1_AccountStatus(in *tenancy.AccountStatus, out *AccountStatus, s conversion.Scope) error
- func Convert_tenancy_Account_To_v1alpha1_Account(in *tenancy.Account, out *Account, s conversion.Scope) error
- func Convert_tenancy_SpaceList_To_v1alpha1_SpaceList(in *tenancy.SpaceList, out *SpaceList, s conversion.Scope) error
- func Convert_tenancy_SpaceSpec_To_v1alpha1_SpaceSpec(in *tenancy.SpaceSpec, out *SpaceSpec, s conversion.Scope) error
- func Convert_tenancy_SpaceStatus_To_v1alpha1_SpaceStatus(in *tenancy.SpaceStatus, out *SpaceStatus, s conversion.Scope) error
- func Convert_tenancy_Space_To_v1alpha1_Space(in *tenancy.Space, out *Space, s conversion.Scope) error
- func Convert_v1alpha1_AccountList_To_tenancy_AccountList(in *AccountList, out *tenancy.AccountList, s conversion.Scope) error
- func Convert_v1alpha1_AccountSpec_To_tenancy_AccountSpec(in *AccountSpec, out *tenancy.AccountSpec, s conversion.Scope) error
- func Convert_v1alpha1_AccountStatus_To_tenancy_AccountStatus(in *AccountStatus, out *tenancy.AccountStatus, s conversion.Scope) error
- func Convert_v1alpha1_Account_To_tenancy_Account(in *Account, out *tenancy.Account, s conversion.Scope) error
- func Convert_v1alpha1_SpaceList_To_tenancy_SpaceList(in *SpaceList, out *tenancy.SpaceList, s conversion.Scope) error
- func Convert_v1alpha1_SpaceSpec_To_tenancy_SpaceSpec(in *SpaceSpec, out *tenancy.SpaceSpec, s conversion.Scope) error
- func Convert_v1alpha1_SpaceStatus_To_tenancy_SpaceStatus(in *SpaceStatus, out *tenancy.SpaceStatus, s conversion.Scope) error
- func Convert_v1alpha1_Space_To_tenancy_Space(in *Space, out *tenancy.Space, s conversion.Scope) error
- func Kind(kind string) schema.GroupKind
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type Account
- type AccountList
- type AccountSpec
- type AccountStatus
- type Space
- type SpaceList
- type SpaceSpec
- type SpaceStatus
Constants ¶
This section is empty.
Variables ¶
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 ¶
Required by code generated by go2idl Kind takes an unqualified kind and returns a Group qualified GroupKind
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Account.
func (*Account) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Account) DeepCopyObject ¶
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 ¶
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.
type SpaceList ¶
type SpaceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Space `json:"items"` }
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 { // 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 ¶
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 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.