v1

package
v0.10.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const QuotaRequestCondition = "quota-request"
View Source
const Unlimited = -1
View Source
const Version = "v1"

Variables

View Source
var (
	ErrExceededResources = fmt.Errorf("quota would be exceeded for resources")
)

Functions

func Add added in v0.9.0

func Add(c, i int) int

func AddQuantity added in v0.9.0

func AddQuantity(c, i resource.Quantity) resource.Quantity

func AddToScheme

func AddToScheme(scheme *runtime.Scheme) error

func Fits added in v0.9.0

func Fits(current, incoming int) bool

func FitsQuantity added in v0.9.0

func FitsQuantity(current, incoming resource.Quantity) bool

func GetDefaultComputeClass

func GetDefaultComputeClass(ctx context.Context, c client.Client, namespace string) (string, error)

func ResourcesToString added in v0.9.0

func ResourcesToString(resources map[string]int, quantityResources map[string]resource.Quantity) string

ResourceToString will return a string representation of the resource and value if its value is greater than 0.

func Sub added in v0.9.0

func Sub(c, i int) int

func SubQuantity added in v0.9.0

func SubQuantity(c, i resource.Quantity) resource.Quantity

func UnlimitedQuantity added in v0.9.0

func UnlimitedQuantity() resource.Quantity

NewUnlimitedQuantity creates a Quantity with an Unlimited value

Types

type BaseResources added in v0.9.0

type BaseResources struct {
	Apps       int `json:"apps"`
	Containers int `json:"containers"`
	Jobs       int `json:"jobs"`
	Volumes    int `json:"volumes"`
	Images     int `json:"images"`

	VolumeStorage resource.Quantity `json:"volumeStorage"`
	Memory        resource.Quantity `json:"memory"`
	CPU           resource.Quantity `json:"cpu"`
}

BaseResources defines resources that should be tracked at any scoped. The two main exclusions currently are Secrets and Projects as they have situations they should be not be tracked.

func (*BaseResources) Add added in v0.9.0

func (current *BaseResources) Add(incoming BaseResources)

Add will add the BaseResources of another BaseResources struct into the current one.

func (*BaseResources) DeepCopy added in v0.9.0

func (in *BaseResources) DeepCopy() *BaseResources

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

func (*BaseResources) DeepCopyInto added in v0.9.0

func (in *BaseResources) DeepCopyInto(out *BaseResources)

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

func (*BaseResources) Equals added in v0.9.0

func (current *BaseResources) Equals(incoming BaseResources) bool

Equals will check if the current BaseResources struct is equal to another. This is useful to avoid needing to do a deep equal on the entire struct.

func (*BaseResources) Fits added in v0.9.0

func (current *BaseResources) Fits(incoming BaseResources) error

Fits will check if a group of BaseResources will be able to contain another group of BaseResources. If the BaseResources are not able to fit, an aggregated error will be returned with all exceeded BaseResources. If the current BaseResources defines unlimited, then it will always fit.

func (*BaseResources) Remove added in v0.9.0

func (current *BaseResources) Remove(incoming BaseResources, all bool)

Remove will remove the BaseResources of another BaseResources struct from the current one. Calling remove will be a no-op for any resource values that are set to unlimited.

func (*BaseResources) ToString added in v0.9.0

func (current *BaseResources) ToString() string

ToString will return a string representation of the BaseResources within the struct.

type ClusterComputeClassInstance

type ClusterComputeClassInstance ProjectComputeClassInstance

func (*ClusterComputeClassInstance) DeepCopy

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

func (*ClusterComputeClassInstance) DeepCopyInto

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

func (*ClusterComputeClassInstance) DeepCopyObject

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

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

func (*ClusterComputeClassInstance) EnsureRegion

func (in *ClusterComputeClassInstance) EnsureRegion(region string) bool

EnsureRegion checks that the class supports the region. If it does not, then the region is added.

func (*ClusterComputeClassInstance) HasRegion

func (in *ClusterComputeClassInstance) HasRegion(region string) bool

func (*ClusterComputeClassInstance) NamespaceScoped

func (in *ClusterComputeClassInstance) NamespaceScoped() bool

type ClusterComputeClassInstanceList

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

func (*ClusterComputeClassInstanceList) DeepCopy

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

func (*ClusterComputeClassInstanceList) DeepCopyInto

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

func (*ClusterComputeClassInstanceList) DeepCopyObject

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

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

type ClusterImageRoleAuthorizationInstance added in v0.9.0

type ClusterImageRoleAuthorizationInstance ImageRoleAuthorizationInstance

func (*ClusterImageRoleAuthorizationInstance) DeepCopy added in v0.9.0

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

func (*ClusterImageRoleAuthorizationInstance) DeepCopyInto added in v0.9.0

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

func (*ClusterImageRoleAuthorizationInstance) DeepCopyObject added in v0.9.0

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

func (*ClusterImageRoleAuthorizationInstance) NamespaceScoped added in v0.9.0

func (in *ClusterImageRoleAuthorizationInstance) NamespaceScoped() bool

type ClusterImageRoleAuthorizationInstanceList added in v0.9.0

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

func (*ClusterImageRoleAuthorizationInstanceList) DeepCopy added in v0.9.0

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

func (*ClusterImageRoleAuthorizationInstanceList) DeepCopyInto added in v0.9.0

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

func (*ClusterImageRoleAuthorizationInstanceList) DeepCopyObject added in v0.9.0

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

type ClusterVolumeClassInstance

type ClusterVolumeClassInstance ProjectVolumeClassInstance

func (*ClusterVolumeClassInstance) DeepCopy

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

func (*ClusterVolumeClassInstance) DeepCopyInto

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

func (*ClusterVolumeClassInstance) DeepCopyObject

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

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

func (*ClusterVolumeClassInstance) EnsureRegion

func (c *ClusterVolumeClassInstance) EnsureRegion(region string) bool

EnsureRegion checks that the class supports the region. If it does not, then the region is added.

func (*ClusterVolumeClassInstance) HasRegion

func (c *ClusterVolumeClassInstance) HasRegion(region string) bool

func (*ClusterVolumeClassInstance) NamespaceScoped

func (c *ClusterVolumeClassInstance) NamespaceScoped() bool

type ClusterVolumeClassInstanceList

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

func (*ClusterVolumeClassInstanceList) DeepCopy

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

func (*ClusterVolumeClassInstanceList) DeepCopyInto

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

func (*ClusterVolumeClassInstanceList) DeepCopyObject

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

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

type ComputeClassMemory

type ComputeClassMemory struct {
	Min           string   `json:"min,omitempty"`
	Max           string   `json:"max,omitempty"`
	Default       string   `json:"default,omitempty"`
	RequestScaler float64  `json:"requestScaler,omitempty"`
	Values        []string `json:"values,omitempty"`
}

func (*ComputeClassMemory) DeepCopy

func (in *ComputeClassMemory) DeepCopy() *ComputeClassMemory

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

func (*ComputeClassMemory) DeepCopyInto

func (in *ComputeClassMemory) DeepCopyInto(out *ComputeClassMemory)

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

type ImageRoleAuthorizationInstance added in v0.9.0

type ImageRoleAuthorizationInstance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   ImageRoleAuthorizationInstanceSpec   `json:"spec,omitempty"`
	Status ImageRoleAuthorizationInstanceStatus `json:"status,omitempty"`
}

func (*ImageRoleAuthorizationInstance) DeepCopy added in v0.9.0

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

func (*ImageRoleAuthorizationInstance) DeepCopyInto added in v0.9.0

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

func (*ImageRoleAuthorizationInstance) DeepCopyObject added in v0.9.0

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

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

type ImageRoleAuthorizationInstanceList added in v0.9.0

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

func (*ImageRoleAuthorizationInstanceList) DeepCopy added in v0.9.0

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

func (*ImageRoleAuthorizationInstanceList) DeepCopyInto added in v0.9.0

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

func (*ImageRoleAuthorizationInstanceList) DeepCopyObject added in v0.9.0

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

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

type ImageRoleAuthorizationInstanceSpec added in v0.9.0

type ImageRoleAuthorizationInstanceSpec struct {
	ImageSelector internalv1.ImageSelector `json:"imageSelector,omitempty"`
	Roles         RoleAuthorizations       `json:"roles,omitempty"`
}

func (*ImageRoleAuthorizationInstanceSpec) DeepCopy added in v0.9.0

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

func (*ImageRoleAuthorizationInstanceSpec) DeepCopyInto added in v0.9.0

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

type ImageRoleAuthorizationInstanceStatus added in v0.9.0

type ImageRoleAuthorizationInstanceStatus struct {
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

func (*ImageRoleAuthorizationInstanceStatus) DeepCopy added in v0.9.0

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

func (*ImageRoleAuthorizationInstanceStatus) DeepCopyInto added in v0.9.0

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

type ProjectComputeClassInstance

type ProjectComputeClassInstance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Description       string                       `json:"description,omitempty"`
	CPUScaler         float64                      `json:"cpuScaler,omitempty"`
	Default           bool                         `json:"default"`
	Affinity          *corev1.Affinity             `json:"affinity,omitempty"`
	Tolerations       []corev1.Toleration          `json:"tolerations,omitempty"`
	Memory            ComputeClassMemory           `json:"memory,omitempty"`
	SupportedRegions  []string                     `json:"supportedRegions,omitempty"`
	PriorityClassName string                       `json:"priorityClassName,omitempty"`
	RuntimeClassName  string                       `json:"runtimeClassName,omitempty"`
	Resources         *corev1.ResourceRequirements `json:"resources,omitempty"`
}

func (*ProjectComputeClassInstance) DeepCopy

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

func (*ProjectComputeClassInstance) DeepCopyInto

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

func (*ProjectComputeClassInstance) DeepCopyObject

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

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

type ProjectComputeClassInstanceList

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

func (*ProjectComputeClassInstanceList) DeepCopy

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

func (*ProjectComputeClassInstanceList) DeepCopyInto

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

func (*ProjectComputeClassInstanceList) DeepCopyObject

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

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

type ProjectVolumeClassInstance

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

	StorageClassName   string          `json:"storageClassName"`
	Description        string          `json:"description"`
	Default            bool            `json:"default,omitempty"`
	AllowedAccessModes v1.AccessModes  `json:"allowedAccessModes,omitempty"`
	Size               VolumeClassSize `json:"size,omitempty"`
	Inactive           bool            `json:"inactive,omitempty"`
	SupportedRegions   []string        `json:"supportedRegions,omitempty"`
}

func (*ProjectVolumeClassInstance) DeepCopy

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

func (*ProjectVolumeClassInstance) DeepCopyInto

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

func (*ProjectVolumeClassInstance) DeepCopyObject

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

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

type ProjectVolumeClassInstanceList

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

func (*ProjectVolumeClassInstanceList) DeepCopy

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

func (*ProjectVolumeClassInstanceList) DeepCopyInto

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

func (*ProjectVolumeClassInstanceList) DeepCopyObject

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

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

type QuotaRequestInstance

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

	Spec   QuotaRequestInstanceSpec   `json:"spec,omitempty"`
	Status QuotaRequestInstanceStatus `json:"status,omitempty"`
}

func (*QuotaRequestInstance) Conditions

func (in *QuotaRequestInstance) Conditions() *[]v1.Condition

func (*QuotaRequestInstance) DeepCopy

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

func (*QuotaRequestInstance) DeepCopyInto

func (in *QuotaRequestInstance) DeepCopyInto(out *QuotaRequestInstance)

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

func (*QuotaRequestInstance) DeepCopyObject

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

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

func (*QuotaRequestInstance) EnsureRegion

func (in *QuotaRequestInstance) EnsureRegion(region string) bool

EnsureRegion checks or sets the region of a QuotaRequstInstance. If a QuotaRequstInstance's region is unset, EnsureRegion sets it to the given region and returns true. Otherwise, it returns true if and only if the Volume belongs to the given region.

func (*QuotaRequestInstance) GetRegion

func (in *QuotaRequestInstance) GetRegion() string

func (*QuotaRequestInstance) HasRegion

func (in *QuotaRequestInstance) HasRegion(region string) bool

type QuotaRequestInstanceList

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

func (*QuotaRequestInstanceList) DeepCopy

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

func (*QuotaRequestInstanceList) DeepCopyInto

func (in *QuotaRequestInstanceList) DeepCopyInto(out *QuotaRequestInstanceList)

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

func (*QuotaRequestInstanceList) DeepCopyObject

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

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

type QuotaRequestInstanceSpec

type QuotaRequestInstanceSpec struct {
	Region    string                `json:"region,omitempty"`
	Resources QuotaRequestResources `json:"resources,omitempty"`
}

func (*QuotaRequestInstanceSpec) DeepCopy

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

func (*QuotaRequestInstanceSpec) DeepCopyInto

func (in *QuotaRequestInstanceSpec) DeepCopyInto(out *QuotaRequestInstanceSpec)

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

type QuotaRequestInstanceStatus

type QuotaRequestInstanceStatus struct {
	ObservedGeneration int64                  `json:"observedGeneration,omitempty"`
	AllocatedResources QuotaRequestResources  `json:"allocatedResources,omitempty"`
	FailedResources    *QuotaRequestResources `json:"failedResources,omitempty"`
	Conditions         []v1.Condition         `json:"conditions,omitempty"`
}

func (*QuotaRequestInstanceStatus) Condition

func (in *QuotaRequestInstanceStatus) Condition(name string) v1.Condition

func (*QuotaRequestInstanceStatus) DeepCopy

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

func (*QuotaRequestInstanceStatus) DeepCopyInto

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

type QuotaRequestResources added in v0.9.0

type QuotaRequestResources struct {
	BaseResources `json:",inline"`
	Secrets       int `json:"secrets"`
}

QuotaRequestResources defines resources that should can be created by an AppInstance.

func (*QuotaRequestResources) Add added in v0.9.0

func (current *QuotaRequestResources) Add(incoming QuotaRequestResources)

Add will add the QuotaRequestResources of another QuotaRequestResources struct into the current one.

func (*QuotaRequestResources) DeepCopy added in v0.9.0

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

func (*QuotaRequestResources) DeepCopyInto added in v0.9.0

func (in *QuotaRequestResources) DeepCopyInto(out *QuotaRequestResources)

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

func (*QuotaRequestResources) Equals added in v0.9.0

func (current *QuotaRequestResources) Equals(incoming QuotaRequestResources) bool

Equals will check if the current QuotaRequestResources struct is equal to another. This is useful to avoid needing to do a deep equal on the entire struct.

func (*QuotaRequestResources) Fits added in v0.9.0

func (current *QuotaRequestResources) Fits(incoming QuotaRequestResources) error

Fits will check if a group QuotaRequestResources will be able to contain another group of QuotaRequestResources. If the QuotaRequestResources are not able to fit, an aggregated error will be returned with all exceeded QuotaRequestResources. If the current QuotaRequestResources defines unlimited, then it will always fit.

func (*QuotaRequestResources) Remove added in v0.9.0

func (current *QuotaRequestResources) Remove(incoming QuotaRequestResources, all bool)

Remove will remove the QuotaRequestResources of another QuotaRequestResources struct from the current one. Calling remove will be a no-op for any resource values that are set to unlimited.

func (*QuotaRequestResources) ToString added in v0.9.0

func (current *QuotaRequestResources) ToString() string

ToString will return a string representation of the QuotaRequestResources within the struct.

type RoleAuthorizations added in v0.9.0

type RoleAuthorizations struct {
	Scopes   []string  `json:"scopes,omitempty"`
	RoleRefs []RoleRef `json:"roleRefs,omitempty"`
}

func (*RoleAuthorizations) DeepCopy added in v0.9.0

func (in *RoleAuthorizations) DeepCopy() *RoleAuthorizations

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

func (*RoleAuthorizations) DeepCopyInto added in v0.9.0

func (in *RoleAuthorizations) DeepCopyInto(out *RoleAuthorizations)

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

type RoleRef added in v0.9.0

type RoleRef struct {
	Name string `json:"name,omitempty"`
	Kind string `json:"kind,omitempty"` // ClusterRole (or Role - if not cluster-scoped)
}

func (*RoleRef) DeepCopy added in v0.9.0

func (in *RoleRef) DeepCopy() *RoleRef

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

func (*RoleRef) DeepCopyInto added in v0.9.0

func (in *RoleRef) DeepCopyInto(out *RoleRef)

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

type VolumeClassSize

type VolumeClassSize struct {
	Default v1.Quantity `json:"default,omitempty"`
	Min     v1.Quantity `json:"min,omitempty"`
	Max     v1.Quantity `json:"max,omitempty"`
}

func (*VolumeClassSize) DeepCopy

func (in *VolumeClassSize) DeepCopy() *VolumeClassSize

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

func (*VolumeClassSize) DeepCopyInto

func (in *VolumeClassSize) DeepCopyInto(out *VolumeClassSize)

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