v1alpha1

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 5

Documentation

Index

Constants

View Source
const (
	// VmiPodUsage (default) calculates pod usage for VM-associated pods while concealing migration-specific resources.
	VmiPodUsage VmiCalcConfigName = "VmiPodUsage"
	// VirtualResources allocates resources for VM-associated pods, using the VM's RAM size for memory and CPU threads
	// for processing.
	VirtualResources VmiCalcConfigName = "VirtualResources"
	// DedicatedVirtualResources allocates resources for VM-associated pods,
	//appending a /vm suffix to requests/limits.cpu and requests/limits.memory,
	//derived from the VM's RAM size and CPU threads.
	//Notably, it does not allocate resources for the standard requests/limits.cpu and requests/limits.memory.
	DedicatedVirtualResources VmiCalcConfigName = "DedicatedVirtualResources"
	// avoids allocating VM-associated pods differently from normal pods, maintaining uniform resource allocation.
	IgnoreVmiCalculator VmiCalcConfigName = "IgnoreVmiCalculator"
	//VirtualResources:
	// ResourcePodsOfVmi Launcher Pods, number.
	ResourcePodsOfVmi corev1.ResourceName = "requests.instances/vmi"
	// Vmi CPUs, Total Threads number(Cores*Sockets*Threads).
	ResourceRequestsVmiCPU corev1.ResourceName = "requests.cpu/vmi"
	// Vmi Memory Ram Size, in bytes. (500Gi = 500GiB = 500 * 1024 * 1024 * 1024)
	ResourceRequestsVmiMemory corev1.ResourceName = "requests.memory/vmi"
)

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion                                   = schema.GroupVersion{Group: applicationAwareResourceQuota.GroupName, Version: applicationAwareResourceQuota.LatestVersion}
	ApplicationAwareResourceQuotaGroupVersionKind        = schema.GroupVersionKind{Group: applicationAwareResourceQuota.GroupName, Version: applicationAwareResourceQuota.LatestVersion, Kind: "ApplicationAwareResourceQuota"}
	ApplicationAwareClusterResourceQuotaGroupVersionKind = schema.GroupVersionKind{Group: applicationAwareResourceQuota.GroupName, Version: applicationAwareResourceQuota.LatestVersion, Kind: "ApplicationAwareClusterResourceQuota"}
)
View Source
var (
	// SchemeBuilder initializes a scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func AddKnownTypesGenerator

func AddKnownTypesGenerator(groupVersions []schema.GroupVersion) func(scheme *runtime.Scheme) error

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back 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 AAQ

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

	Spec AAQSpec `json:"spec"`
	// +optional
	Status AAQStatus `json:"status"`
}

AAQ is the AAQ Operator CRD +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:resource:shortName=aaq;aaqs,scope=Cluster +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=".status.phase"

func (*AAQ) DeepCopy

func (in *AAQ) DeepCopy() *AAQ

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

func (*AAQ) DeepCopyInto

func (in *AAQ) DeepCopyInto(out *AAQ)

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

func (*AAQ) DeepCopyObject

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

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

type AAQCertConfig

type AAQCertConfig struct {
	// CA configuration
	// CA certs are kept in the CA bundle as long as they are valid
	CA *CertConfig `json:"ca,omitempty"`

	// Server configuration
	// Certs are rotated and discarded
	Server *CertConfig `json:"server,omitempty"`
}

AAQCertConfig has the CertConfigs for AAQ

func (*AAQCertConfig) DeepCopy

func (in *AAQCertConfig) DeepCopy() *AAQCertConfig

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

func (*AAQCertConfig) DeepCopyInto

func (in *AAQCertConfig) DeepCopyInto(out *AAQCertConfig)

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

type AAQConfiguration

type AAQConfiguration struct {
	// VmiCalculatorConfiguration determine how resource allocation will be done with ApplicationAwareResourceQuota
	VmiCalculatorConfiguration VmiCalculatorConfiguration `json:"vmiCalculatorConfiguration,omitempty"`
	// SidecarEvaluators allow custom quota counting for external operator
	SidecarEvaluators []corev1.Container `json:"sidecarEvaluators,omitempty"`
	// AllowApplicationAwareClusterResourceQuota can be set to true to allow creation and management
	// of ApplicationAwareClusterResourceQuota. Defaults to false
	AllowApplicationAwareClusterResourceQuota bool `json:"allowApplicationAwareClusterResourceQuota,omitempty"`
}

AAQConfiguration holds all AAQ configurations

func (*AAQConfiguration) DeepCopy

func (in *AAQConfiguration) DeepCopy() *AAQConfiguration

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

func (*AAQConfiguration) DeepCopyInto

func (in *AAQConfiguration) DeepCopyInto(out *AAQConfiguration)

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

type AAQJobQueueConfig

type AAQJobQueueConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// CA configuration
	// CA certs are kept in the CA bundle as long as they are valid
	Spec AAQJobQueueConfigSpec `json:"spec"`
	// +optional
	Status AAQJobQueueConfigStatus `json:"status"`
}

AAQJobQueueConfig +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:resource:shortName=aaqjqc;aaqjqcs,categories=all +kubebuilder:subresource:status

func (*AAQJobQueueConfig) DeepCopy

func (in *AAQJobQueueConfig) DeepCopy() *AAQJobQueueConfig

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

func (*AAQJobQueueConfig) DeepCopyInto

func (in *AAQJobQueueConfig) DeepCopyInto(out *AAQJobQueueConfig)

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

func (*AAQJobQueueConfig) DeepCopyObject

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

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

type AAQJobQueueConfigList

type AAQJobQueueConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	// Items provides a list of AAQ
	Items []AAQJobQueueConfig `json:"items"`
}

AAQJobQueueConfigList provides the needed parameters to do request a list of AAQJobQueueConfigs from the system +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*AAQJobQueueConfigList) DeepCopy

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

func (*AAQJobQueueConfigList) DeepCopyInto

func (in *AAQJobQueueConfigList) DeepCopyInto(out *AAQJobQueueConfigList)

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

func (*AAQJobQueueConfigList) DeepCopyObject

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

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

type AAQJobQueueConfigSpec

type AAQJobQueueConfigSpec struct {
}

AAQJobQueueConfigSpec defines our specification for JobQueueConfigs

func (*AAQJobQueueConfigSpec) DeepCopy

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

func (*AAQJobQueueConfigSpec) DeepCopyInto

func (in *AAQJobQueueConfigSpec) DeepCopyInto(out *AAQJobQueueConfigSpec)

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

type AAQJobQueueConfigStatus

type AAQJobQueueConfigStatus struct {
	// BuiltInCalculationConfigToApply
	PodsInJobQueue []string        `json:"podsInJobQueue,omitempty"`
	ControllerLock map[string]bool `json:"controllerLock,omitempty"`
}

AAQJobQueueConfigStatus defines the status with metadata for current jobs

func (*AAQJobQueueConfigStatus) DeepCopy

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

func (*AAQJobQueueConfigStatus) DeepCopyInto

func (in *AAQJobQueueConfigStatus) DeepCopyInto(out *AAQJobQueueConfigStatus)

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

type AAQList

type AAQList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	// Items provides a list of AAQ
	Items []AAQ `json:"items"`
}

AAQList provides the needed parameters to do request a list of AAQ from the system +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*AAQList) DeepCopy

func (in *AAQList) DeepCopy() *AAQList

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

func (*AAQList) DeepCopyInto

func (in *AAQList) DeepCopyInto(out *AAQList)

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

func (*AAQList) DeepCopyObject

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

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

type AAQPhase

type AAQPhase string

AAQPhase is the current phase of the AAQ deployment

type AAQPriorityClass

type AAQPriorityClass string

AAQPriorityClass defines the priority class of the AAQ control plane.

type AAQSpec

type AAQSpec struct {
	// +kubebuilder:validation:Enum=Always;IfNotPresent;Never
	// PullPolicy describes a policy for if/when to pull a container image
	ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty" valid:"required"`
	// Rules on which nodes AAQ infrastructure pods will be scheduled
	Infra sdkapi.NodePlacement `json:"infra,omitempty"`
	// Restrict on which nodes AAQ workload pods will be scheduled
	Workloads sdkapi.NodePlacement `json:"workload,omitempty"`
	// certificate configuration
	CertConfig *AAQCertConfig `json:"certConfig,omitempty"`
	// PriorityClass of the AAQ control plane
	PriorityClass *AAQPriorityClass `json:"priorityClass,omitempty"`
	// namespaces where pods should be gated before scheduling
	// Defaults to targeting namespaces with an "application-aware-quota/enable-gating" label key.
	NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty"`
	// holds aaq configurations.
	Configuration AAQConfiguration `json:"configuration,omitempty"`
}

AAQSpec defines our specification for the AAQ installation

func (*AAQSpec) DeepCopy

func (in *AAQSpec) DeepCopy() *AAQSpec

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

func (*AAQSpec) DeepCopyInto

func (in *AAQSpec) DeepCopyInto(out *AAQSpec)

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

type AAQStatus

type AAQStatus struct {
	sdkapi.Status `json:",inline"`
}

AAQStatus defines the status of the installation

func (*AAQStatus) DeepCopy

func (in *AAQStatus) DeepCopy() *AAQStatus

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

func (*AAQStatus) DeepCopyInto

func (in *AAQStatus) DeepCopyInto(out *AAQStatus)

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

type ApplicationAwareAppliedClusterResourceQuota added in v1.1.5

type ApplicationAwareAppliedClusterResourceQuota struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is the standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the desired quota
	Spec ApplicationAwareClusterResourceQuotaSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`

	// Status defines the actual enforced quota and its current usage
	Status ApplicationAwareClusterResourceQuotaStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

ApplicationAwareAppliedClusterResourceQuota mirrors ApplicationAwareAppliedClusterResourceQuota at a project scope, for projection into a project. It allows a project-admin to know which ClusterResourceQuotas are applied to his project and their associated usage. +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:resource:shortName=aacrq;aacrqs,categories=all +k8s:openapi-gen=true

func (*ApplicationAwareAppliedClusterResourceQuota) DeepCopy added in v1.1.5

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

func (*ApplicationAwareAppliedClusterResourceQuota) DeepCopyInto added in v1.1.5

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

func (*ApplicationAwareAppliedClusterResourceQuota) DeepCopyObject added in v1.1.5

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

type ApplicationAwareAppliedClusterResourceQuotaList added in v1.1.5

type ApplicationAwareAppliedClusterResourceQuotaList struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is the standard list's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of AppliedApplicationAwareClusterResourceQuota
	Items []ApplicationAwareAppliedClusterResourceQuota `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ApplicationAwareAppliedClusterResourceQuotaList is a collection of AppliedApplicationAwareClusterResourceQuotas +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*ApplicationAwareAppliedClusterResourceQuotaList) DeepCopy added in v1.1.5

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

func (*ApplicationAwareAppliedClusterResourceQuotaList) DeepCopyInto added in v1.1.5

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

func (*ApplicationAwareAppliedClusterResourceQuotaList) DeepCopyObject added in v1.1.5

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

type ApplicationAwareClusterResourceQuota

type ApplicationAwareClusterResourceQuota struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is the standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the desired quota
	Spec ApplicationAwareClusterResourceQuotaSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`

	// Status defines the actual enforced quota and its current usage
	Status ApplicationAwareClusterResourceQuotaStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

ApplicationAwareClusterResourceQuota mirrors ResourceQuota at a cluster scope. This object is easily convertible to synthetic ResourceQuota object to allow quota evaluation re-use. +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:resource:shortName=acrq;acrqs,scope=Cluster +kubebuilder:subresource:status +k8s:openapi-gen=true

func (*ApplicationAwareClusterResourceQuota) DeepCopy

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

func (*ApplicationAwareClusterResourceQuota) DeepCopyInto

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

func (*ApplicationAwareClusterResourceQuota) DeepCopyObject

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

type ApplicationAwareClusterResourceQuotaList

type ApplicationAwareClusterResourceQuotaList struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is the standard list's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of ApplicationAwareClusterResourceQuota
	Items []ApplicationAwareClusterResourceQuota `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ApplicationAwareClusterResourceQuotaList is a collection of ClusterResourceQuotas +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*ApplicationAwareClusterResourceQuotaList) DeepCopy

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

func (*ApplicationAwareClusterResourceQuotaList) DeepCopyInto

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

func (*ApplicationAwareClusterResourceQuotaList) DeepCopyObject

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

type ApplicationAwareClusterResourceQuotaSpec

type ApplicationAwareClusterResourceQuotaSpec struct {
	ocquotav1.ClusterResourceQuotaSpec `json:",inline"`
}

ApplicationAwareClusterResourceQuotaSpec defines the desired quota restrictions

func (*ApplicationAwareClusterResourceQuotaSpec) DeepCopy

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

func (*ApplicationAwareClusterResourceQuotaSpec) DeepCopyInto

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

type ApplicationAwareClusterResourceQuotaStatus

type ApplicationAwareClusterResourceQuotaStatus struct {
	ocquotav1.ClusterResourceQuotaStatus `json:",inline"`
}

ApplicationAwareClusterResourceQuotaStatus defines the actual enforced quota and its current usage

func (*ApplicationAwareClusterResourceQuotaStatus) DeepCopy

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

func (*ApplicationAwareClusterResourceQuotaStatus) DeepCopyInto

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

type ApplicationAwareResourceQuota

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

	Spec   ApplicationAwareResourceQuotaSpec   `json:"spec" valid:"required"`
	Status ApplicationAwareResourceQuotaStatus `json:"status,omitempty"`
}

ApplicationAwareResourceQuota defines resources that should be reserved for a VMI migration

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:resource:shortName=arq;arqs,categories=all +kubebuilder:subresource:status +k8s:openapi-gen=true +genclient

func (*ApplicationAwareResourceQuota) DeepCopy

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

func (*ApplicationAwareResourceQuota) DeepCopyInto

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

func (*ApplicationAwareResourceQuota) DeepCopyObject

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

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

type ApplicationAwareResourceQuotaList

type ApplicationAwareResourceQuotaList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// +listType=atomic
	Items []ApplicationAwareResourceQuota `json:"items"`
}

ApplicationAwareResourceQuota List is a list of ApplicationAwareResourceQuota

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*ApplicationAwareResourceQuotaList) DeepCopy

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

func (*ApplicationAwareResourceQuotaList) DeepCopyInto

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

func (*ApplicationAwareResourceQuotaList) DeepCopyObject

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

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

type ApplicationAwareResourceQuotaSpec

type ApplicationAwareResourceQuotaSpec struct {
	corev1.ResourceQuotaSpec `json:",inline"`
}

ApplicationAwareResourceQuotaSpec is an extension of corev1.ResourceQuotaSpec

func (*ApplicationAwareResourceQuotaSpec) DeepCopy

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

func (*ApplicationAwareResourceQuotaSpec) DeepCopyInto

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

type ApplicationAwareResourceQuotaStatus

type ApplicationAwareResourceQuotaStatus struct {
	corev1.ResourceQuotaStatus `json:",inline"`
}

ApplicationAwareResourceQuotaStatus is an extension of corev1.ResourceQuotaStatus

func (*ApplicationAwareResourceQuotaStatus) DeepCopy

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

func (*ApplicationAwareResourceQuotaStatus) DeepCopyInto

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

type CertConfig

type CertConfig struct {
	// The requested 'duration' (i.e. lifetime) of the Certificate.
	Duration *metav1.Duration `json:"duration,omitempty"`

	// The amount of time before the currently issued certificate's `notAfter`
	// time that we will begin to attempt to renew the certificate.
	RenewBefore *metav1.Duration `json:"renewBefore,omitempty"`
}

CertConfig contains the tunables for TLS certificates

func (*CertConfig) DeepCopy

func (in *CertConfig) DeepCopy() *CertConfig

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

func (*CertConfig) DeepCopyInto

func (in *CertConfig) DeepCopyInto(out *CertConfig)

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

type VmiCalcConfigName

type VmiCalcConfigName string

type VmiCalculatorConfiguration

type VmiCalculatorConfiguration struct {
	// ConfigName determine how resource allocation will be done with ApplicationAwareResourceQuota.
	// allowed values are: VmiPodUsage, VirtualResources, DedicatedVirtualResources or IgnoreVmiCalculator
	// +kubebuilder:validation:Enum=VmiPodUsage;VirtualResources;DedicatedVirtualResources;IgnoreVmiCalculator
	// +kubebuilder:default=DedicatedVirtualResources
	ConfigName VmiCalcConfigName `json:"configName,omitempty"`
}

func (*VmiCalculatorConfiguration) DeepCopy

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

func (*VmiCalculatorConfiguration) DeepCopyInto

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