v1beta1

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the capsule.clastix.io v1beta1 API group +kubebuilder:object:generate=true +groupName=capsule.clastix.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	//nolint:gochecknoglobals
	GroupVersion = schema.GroupVersion{Group: "capsule.clastix.io", Version: "v1beta1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	//nolint:gochecknoglobals
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	//nolint:gochecknoglobals
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type OwnerSpec

type OwnerSpec struct {
	// Kind of tenant owner. Possible values are "User", "Group", and "ServiceAccount"
	Kind v1beta2.OwnerKind `json:"kind"`
	// Name of tenant owner.
	Name string `json:"name"`
	// Proxy settings for tenant owner.
	ProxyOperations []v1beta2.ProxySettings `json:"proxySettings,omitempty"`
}

func (*OwnerSpec) DeepCopy

func (in *OwnerSpec) DeepCopy() *OwnerSpec

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

func (*OwnerSpec) DeepCopyInto

func (in *OwnerSpec) DeepCopyInto(out *OwnerSpec)

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

type ProxySetting

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

	Spec ProxySettingSpec `json:"spec,omitempty"`
}

ProxySetting is the Schema for the proxysettings API.

func (*ProxySetting) DeepCopy

func (in *ProxySetting) DeepCopy() *ProxySetting

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

func (*ProxySetting) DeepCopyInto

func (in *ProxySetting) DeepCopyInto(out *ProxySetting)

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

func (*ProxySetting) DeepCopyObject

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

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

type ProxySettingList

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

ProxySettingList contains a list of ProxySetting.

func (*ProxySettingList) DeepCopy

func (in *ProxySettingList) DeepCopy() *ProxySettingList

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

func (*ProxySettingList) DeepCopyInto

func (in *ProxySettingList) DeepCopyInto(out *ProxySettingList)

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

func (*ProxySettingList) DeepCopyObject

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

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

type ProxySettingSpec

type ProxySettingSpec struct {
	// Subjects that should receive additional permissions.
	// +kubebuilder:validation:MinItems=1
	Subjects []OwnerSpec `json:"subjects"`
}

ProxySettingSpec defines the additional Capsule Proxy settings for additional users of the Tenant. Resource is Namespace-scoped and applies the settings to the belonged Tenant.

func (*ProxySettingSpec) DeepCopy

func (in *ProxySettingSpec) DeepCopy() *ProxySettingSpec

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

func (*ProxySettingSpec) DeepCopyInto

func (in *ProxySettingSpec) DeepCopyInto(out *ProxySettingSpec)

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