Documentation ¶
Index ¶
- Constants
- Variables
- func AddKnownTypesGenerator(groupVersions []schema.GroupVersion) func(scheme *runtime.Scheme) error
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AAQ
- type AAQCertConfig
- type AAQConfiguration
- type AAQJobQueueConfig
- type AAQJobQueueConfigList
- type AAQJobQueueConfigSpec
- type AAQJobQueueConfigStatus
- type AAQList
- type AAQPhase
- type AAQPriorityClass
- type AAQSpec
- type AAQStatus
- type ApplicationAwareAppliedClusterResourceQuota
- func (in *ApplicationAwareAppliedClusterResourceQuota) DeepCopy() *ApplicationAwareAppliedClusterResourceQuota
- func (in *ApplicationAwareAppliedClusterResourceQuota) DeepCopyInto(out *ApplicationAwareAppliedClusterResourceQuota)
- func (in *ApplicationAwareAppliedClusterResourceQuota) DeepCopyObject() runtime.Object
- type ApplicationAwareAppliedClusterResourceQuotaList
- func (in *ApplicationAwareAppliedClusterResourceQuotaList) DeepCopy() *ApplicationAwareAppliedClusterResourceQuotaList
- func (in *ApplicationAwareAppliedClusterResourceQuotaList) DeepCopyInto(out *ApplicationAwareAppliedClusterResourceQuotaList)
- func (in *ApplicationAwareAppliedClusterResourceQuotaList) DeepCopyObject() runtime.Object
- type ApplicationAwareClusterResourceQuota
- type ApplicationAwareClusterResourceQuotaList
- func (in *ApplicationAwareClusterResourceQuotaList) DeepCopy() *ApplicationAwareClusterResourceQuotaList
- func (in *ApplicationAwareClusterResourceQuotaList) DeepCopyInto(out *ApplicationAwareClusterResourceQuotaList)
- func (in *ApplicationAwareClusterResourceQuotaList) DeepCopyObject() runtime.Object
- type ApplicationAwareClusterResourceQuotaSpec
- type ApplicationAwareClusterResourceQuotaStatus
- type ApplicationAwareResourceQuota
- type ApplicationAwareResourceQuotaList
- type ApplicationAwareResourceQuotaSpec
- type ApplicationAwareResourceQuotaStatus
- type CertConfig
- type VmiCalcConfigName
- type VmiCalculatorConfiguration
Constants ¶
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 ¶
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"} )
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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AAQ.
func (*AAQ) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AAQ) DeepCopyObject ¶
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 ¶
func (in *AAQJobQueueConfigList) DeepCopy() *AAQJobQueueConfigList
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 ¶
func (in *AAQJobQueueConfigSpec) DeepCopy() *AAQJobQueueConfigSpec
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 ¶
func (in *AAQJobQueueConfigStatus) DeepCopy() *AAQJobQueueConfigStatus
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AAQList.
func (*AAQList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AAQList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AAQSpec.
func (*AAQSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AAQStatus ¶
AAQStatus defines the status of the installation
func (*AAQStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AAQStatus.
func (*AAQStatus) DeepCopyInto ¶
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
func (in *ApplicationAwareAppliedClusterResourceQuota) DeepCopy() *ApplicationAwareAppliedClusterResourceQuota
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationAwareAppliedClusterResourceQuota.
func (*ApplicationAwareAppliedClusterResourceQuota) DeepCopyInto ¶ added in v1.1.5
func (in *ApplicationAwareAppliedClusterResourceQuota) DeepCopyInto(out *ApplicationAwareAppliedClusterResourceQuota)
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
func (in *ApplicationAwareAppliedClusterResourceQuota) DeepCopyObject() runtime.Object
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
func (in *ApplicationAwareAppliedClusterResourceQuotaList) DeepCopy() *ApplicationAwareAppliedClusterResourceQuotaList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationAwareAppliedClusterResourceQuotaList.
func (*ApplicationAwareAppliedClusterResourceQuotaList) DeepCopyInto ¶ added in v1.1.5
func (in *ApplicationAwareAppliedClusterResourceQuotaList) DeepCopyInto(out *ApplicationAwareAppliedClusterResourceQuotaList)
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
func (in *ApplicationAwareAppliedClusterResourceQuotaList) DeepCopyObject() runtime.Object
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 ¶
func (in *ApplicationAwareClusterResourceQuota) DeepCopy() *ApplicationAwareClusterResourceQuota
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationAwareClusterResourceQuota.
func (*ApplicationAwareClusterResourceQuota) DeepCopyInto ¶
func (in *ApplicationAwareClusterResourceQuota) DeepCopyInto(out *ApplicationAwareClusterResourceQuota)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationAwareClusterResourceQuota) DeepCopyObject ¶
func (in *ApplicationAwareClusterResourceQuota) DeepCopyObject() runtime.Object
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 ¶
func (in *ApplicationAwareClusterResourceQuotaList) DeepCopy() *ApplicationAwareClusterResourceQuotaList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationAwareClusterResourceQuotaList.
func (*ApplicationAwareClusterResourceQuotaList) DeepCopyInto ¶
func (in *ApplicationAwareClusterResourceQuotaList) DeepCopyInto(out *ApplicationAwareClusterResourceQuotaList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationAwareClusterResourceQuotaList) DeepCopyObject ¶
func (in *ApplicationAwareClusterResourceQuotaList) DeepCopyObject() runtime.Object
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 ¶
func (in *ApplicationAwareClusterResourceQuotaSpec) DeepCopy() *ApplicationAwareClusterResourceQuotaSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationAwareClusterResourceQuotaSpec.
func (*ApplicationAwareClusterResourceQuotaSpec) DeepCopyInto ¶
func (in *ApplicationAwareClusterResourceQuotaSpec) DeepCopyInto(out *ApplicationAwareClusterResourceQuotaSpec)
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 ¶
func (in *ApplicationAwareClusterResourceQuotaStatus) DeepCopy() *ApplicationAwareClusterResourceQuotaStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationAwareClusterResourceQuotaStatus.
func (*ApplicationAwareClusterResourceQuotaStatus) DeepCopyInto ¶
func (in *ApplicationAwareClusterResourceQuotaStatus) DeepCopyInto(out *ApplicationAwareClusterResourceQuotaStatus)
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 ¶
func (in *ApplicationAwareResourceQuota) DeepCopy() *ApplicationAwareResourceQuota
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationAwareResourceQuota.
func (*ApplicationAwareResourceQuota) DeepCopyInto ¶
func (in *ApplicationAwareResourceQuota) DeepCopyInto(out *ApplicationAwareResourceQuota)
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 ¶
func (in *ApplicationAwareResourceQuotaList) DeepCopy() *ApplicationAwareResourceQuotaList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationAwareResourceQuotaList.
func (*ApplicationAwareResourceQuotaList) DeepCopyInto ¶
func (in *ApplicationAwareResourceQuotaList) DeepCopyInto(out *ApplicationAwareResourceQuotaList)
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 ¶
func (in *ApplicationAwareResourceQuotaSpec) DeepCopy() *ApplicationAwareResourceQuotaSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationAwareResourceQuotaSpec.
func (*ApplicationAwareResourceQuotaSpec) DeepCopyInto ¶
func (in *ApplicationAwareResourceQuotaSpec) DeepCopyInto(out *ApplicationAwareResourceQuotaSpec)
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 ¶
func (in *ApplicationAwareResourceQuotaStatus) DeepCopy() *ApplicationAwareResourceQuotaStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationAwareResourceQuotaStatus.
func (*ApplicationAwareResourceQuotaStatus) DeepCopyInto ¶
func (in *ApplicationAwareResourceQuotaStatus) DeepCopyInto(out *ApplicationAwareResourceQuotaStatus)
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 ¶
func (in *VmiCalculatorConfiguration) DeepCopy() *VmiCalculatorConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VmiCalculatorConfiguration.
func (*VmiCalculatorConfiguration) DeepCopyInto ¶
func (in *VmiCalculatorConfiguration) DeepCopyInto(out *VmiCalculatorConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.