Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +k8s:deepcopy-gen=package +k8s:defaulter-gen=TypeMeta +groupName=arbiter.k8s.com.cn
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type ActionCondition
- type ActionInfo
- type Condition
- type ConditionReason
- type ConditionType
- type LogicPhase
- type ObservabilityActionPolicy
- type ObservabilityActionPolicyList
- type ObservabilityActionPolicySpec
- type ObservabilityActionPolicyStatus
- type ObservabilityIndicant
- type ObservabilityIndicantList
- type ObservabilityIndicantSpec
- type ObservabilityIndicantSpecLog
- type ObservabilityIndicantSpecMetric
- type ObservabilityIndicantSpecMetricAbility
- type ObservabilityIndicantSpecTargetRef
- type ObservabilityIndicantSpecTrace
- type ObservabilityIndicantStatus
- type ObservabilityIndicantStatusAggregationItem
- type ObservabilityIndicantStatusMetricInfo
- type ObservabilityIndicantStatusTimeInfo
- type ObservabilityTimeInfo
- type Record
- type Scheduler
- type SchedulerList
- type SchedulerSpec
- type SchedulerStatus
- type Score
- type ScoreList
- type ScoreSpec
- type ScoreStatus
Constants ¶
const GroupName = "arbiter.k8s.com.cn"
GroupName specifies the group name used to register the objects.
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder // Depreciated: use Install instead AddToScheme = localSchemeBuilder.AddToScheme Install = localSchemeBuilder.AddToScheme )
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1alpha1"}
GroupVersion specifies the group and the version used to register the objects.
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ActionCondition ¶
type ActionCondition struct { Expression string `json:"expression,omitempty"` Operator string `json:"operator,omitempty"` TargetValue string `json:"targetValue,omitempty"` }
ActionCondition is the condition for the action
func (*ActionCondition) DeepCopy ¶
func (in *ActionCondition) DeepCopy() *ActionCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionCondition.
func (*ActionCondition) DeepCopyInto ¶
func (in *ActionCondition) DeepCopyInto(out *ActionCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ActionInfo ¶
type ActionInfo struct { // ResourceName is the name of the pod ResourceName string `json:"resourceName,omitempty"` ExpressionValue string `json:"expressionValue,omitempty"` ConditionValue string `json:"conditionValue,omitempty"` }
ActionInfo is the information to identify whether a resource is updated
func (*ActionInfo) DeepCopy ¶
func (in *ActionInfo) DeepCopy() *ActionInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionInfo.
func (*ActionInfo) DeepCopyInto ¶
func (in *ActionInfo) DeepCopyInto(out *ActionInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
type Condition struct { // +optional Type ConditionType `json:"type,omitempty"` // +optional Status v1.ConditionStatus `json:"status,omitempty"` // +optional Reason ConditionReason `json:"reason,omitempty"` // +optional Message string `json:"message,omitempty"` // +optional LastHeartbeatTime metav1.Time `json:"lastHeartbeatTime,omitempty"` // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` }
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionReason ¶
type ConditionReason string
const ( NotFoundResource ConditionReason = "NotFoundResource" FetchDataError ConditionReason = "FetchDataError" FetchDataSuccess ConditionReason = "FetchDataDone" )
type ConditionType ¶
type ConditionType string
ConditionType represent a resource's status
const ( ConditionFetching ConditionType = "Fetching" ConditionFetchDataDone ConditionType = "FetchDataDone" // ConditionFailure represents Failure state of an object ConditionFailure ConditionType = "Failure" )
type LogicPhase ¶
type LogicPhase string
LogicPhase ...
const ( // LogicPhasePending ... LogicPhasePending LogicPhase = "Pending" // LogicPhaseRunning means logic has been in running phase. LogicPhaseRunning LogicPhase = "Running" // LogicPhaseFailed means logic is failed. LogicPhaseFailed LogicPhase = "Failed" )
These are the valid phase of LogicPhase.
type ObservabilityActionPolicy ¶
type ObservabilityActionPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ObservabilityActionPolicySpec `json:"spec,omitempty"` Status ObservabilityActionPolicyStatus `json:"status,omitempty"` }
ObservabilityActionPolicy is the Schema for the ObservabilityActionpolicies API
func (*ObservabilityActionPolicy) DeepCopy ¶
func (in *ObservabilityActionPolicy) DeepCopy() *ObservabilityActionPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservabilityActionPolicy.
func (*ObservabilityActionPolicy) DeepCopyInto ¶
func (in *ObservabilityActionPolicy) DeepCopyInto(out *ObservabilityActionPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObservabilityActionPolicy) DeepCopyObject ¶
func (in *ObservabilityActionPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObservabilityActionPolicyList ¶
type ObservabilityActionPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ObservabilityActionPolicy `json:"items"` }
ObservabilityActionPolicyList contains a list of ObservabilityActionPolicy
func (*ObservabilityActionPolicyList) DeepCopy ¶
func (in *ObservabilityActionPolicyList) DeepCopy() *ObservabilityActionPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservabilityActionPolicyList.
func (*ObservabilityActionPolicyList) DeepCopyInto ¶
func (in *ObservabilityActionPolicyList) DeepCopyInto(out *ObservabilityActionPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObservabilityActionPolicyList) DeepCopyObject ¶
func (in *ObservabilityActionPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObservabilityActionPolicySpec ¶
type ObservabilityActionPolicySpec struct { // ObIndicantName is the name of a ObservabilityIndicant. ObIndicantName string `json:"obIndicantname,omitempty"` Condition ActionCondition `json:"condition,omitempty"` Parameters map[string]string `json:"parameters,omitempty"` }
ObservabilityActionPolicySpec defines the desired state of ObservabilityActionPolicy
func (*ObservabilityActionPolicySpec) DeepCopy ¶
func (in *ObservabilityActionPolicySpec) DeepCopy() *ObservabilityActionPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservabilityActionPolicySpec.
func (*ObservabilityActionPolicySpec) DeepCopyInto ¶
func (in *ObservabilityActionPolicySpec) DeepCopyInto(out *ObservabilityActionPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObservabilityActionPolicyStatus ¶
type ObservabilityActionPolicyStatus struct { // Names of the updated resources ActionInfo []ActionInfo `json:"actionInfo,omitempty"` TimeInfo ObservabilityTimeInfo `json:"timeInfo,omitempty"` }
ObservabilityActionPolicyStatus defines the observed state of ObservabilityActionPolicy
func (*ObservabilityActionPolicyStatus) DeepCopy ¶
func (in *ObservabilityActionPolicyStatus) DeepCopy() *ObservabilityActionPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservabilityActionPolicyStatus.
func (*ObservabilityActionPolicyStatus) DeepCopyInto ¶
func (in *ObservabilityActionPolicyStatus) DeepCopyInto(out *ObservabilityActionPolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObservabilityIndicant ¶
type ObservabilityIndicant struct { // +optional metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` Spec ObservabilityIndicantSpec `json:"spec,omitempty"` // +kubebuilder:pruning:PreserveUnknownFields // +optional // +nullable Status ObservabilityIndicantStatus `json:"status,omitempty"` }
+genclient +genclient:noStatus +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:resource:shortName={obi}
func (*ObservabilityIndicant) DeepCopy ¶
func (in *ObservabilityIndicant) DeepCopy() *ObservabilityIndicant
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservabilityIndicant.
func (*ObservabilityIndicant) DeepCopyInto ¶
func (in *ObservabilityIndicant) DeepCopyInto(out *ObservabilityIndicant)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObservabilityIndicant) DeepCopyObject ¶
func (in *ObservabilityIndicant) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObservabilityIndicantList ¶
type ObservabilityIndicantList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ObservabilityIndicant `json:"items"` }
func (*ObservabilityIndicantList) DeepCopy ¶
func (in *ObservabilityIndicantList) DeepCopy() *ObservabilityIndicantList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservabilityIndicantList.
func (*ObservabilityIndicantList) DeepCopyInto ¶
func (in *ObservabilityIndicantList) DeepCopyInto(out *ObservabilityIndicantList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObservabilityIndicantList) DeepCopyObject ¶
func (in *ObservabilityIndicantList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObservabilityIndicantSpec ¶
type ObservabilityIndicantSpec struct { TargetRef ObservabilityIndicantSpecTargetRef `json:"targetRef"` Source string `json:"source"` // +optional Metric *ObservabilityIndicantSpecMetric `json:"metric"` // +optional Trace *ObservabilityIndicantSpecTrace `json:"trace,omitempty"` // +optional Log *ObservabilityIndicantSpecLog `json:"log,omitempty"` }
func (*ObservabilityIndicantSpec) DeepCopy ¶
func (in *ObservabilityIndicantSpec) DeepCopy() *ObservabilityIndicantSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservabilityIndicantSpec.
func (*ObservabilityIndicantSpec) DeepCopyInto ¶
func (in *ObservabilityIndicantSpec) DeepCopyInto(out *ObservabilityIndicantSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObservabilityIndicantSpecLog ¶
type ObservabilityIndicantSpecLog struct { }
func (*ObservabilityIndicantSpecLog) DeepCopy ¶
func (in *ObservabilityIndicantSpecLog) DeepCopy() *ObservabilityIndicantSpecLog
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservabilityIndicantSpecLog.
func (*ObservabilityIndicantSpecLog) DeepCopyInto ¶
func (in *ObservabilityIndicantSpecLog) DeepCopyInto(out *ObservabilityIndicantSpecLog)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObservabilityIndicantSpecMetric ¶
type ObservabilityIndicantSpecMetric struct { Metrics map[string]ObservabilityIndicantSpecMetricAbility `json:"metrics"` TimeRangeSeconds int64 `json:"timeRangeSeconds"` // +kubebuilder:validation:Minimum=30 MetricIntervalSeconds int64 `json:"metricIntervalSeconds"` // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=1 // Currently this field can only be set to 1 HistoryLimit int64 `json:"historyLimit"` }
func (*ObservabilityIndicantSpecMetric) DeepCopy ¶
func (in *ObservabilityIndicantSpecMetric) DeepCopy() *ObservabilityIndicantSpecMetric
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservabilityIndicantSpecMetric.
func (*ObservabilityIndicantSpecMetric) DeepCopyInto ¶
func (in *ObservabilityIndicantSpecMetric) DeepCopyInto(out *ObservabilityIndicantSpecMetric)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObservabilityIndicantSpecMetricAbility ¶
type ObservabilityIndicantSpecMetricAbility struct { // allow user to define query sql // +optional Query string `json:"query,omitempty"` // +optional Description string `json:"description,omitempty"` Unit string `json:"unit"` // +optional Aggregations []string `json:"aggregations"` }
func (*ObservabilityIndicantSpecMetricAbility) DeepCopy ¶
func (in *ObservabilityIndicantSpecMetricAbility) DeepCopy() *ObservabilityIndicantSpecMetricAbility
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservabilityIndicantSpecMetricAbility.
func (*ObservabilityIndicantSpecMetricAbility) DeepCopyInto ¶
func (in *ObservabilityIndicantSpecMetricAbility) DeepCopyInto(out *ObservabilityIndicantSpecMetricAbility)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObservabilityIndicantSpecTargetRef ¶
type ObservabilityIndicantSpecTargetRef struct { Group string `json:"group"` // apps Version string `json:"version"` // v1 Kind string `json:"kind"` // deployments // Under which namespace is the resource // +optional Namespace string `json:"namespace,omitempty"` // +optional Name string `json:"name,omitempty"` // +optional Labels map[string]string `json:"labels,omitempty"` // When using label, there will be a set of resources, // these resources are sorted by name, and the target resource is selected through the index field. // +optional // +kubebuilder:default=0 Index uint64 `json:"index,omitempty"` }
func (*ObservabilityIndicantSpecTargetRef) DeepCopy ¶
func (in *ObservabilityIndicantSpecTargetRef) DeepCopy() *ObservabilityIndicantSpecTargetRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservabilityIndicantSpecTargetRef.
func (*ObservabilityIndicantSpecTargetRef) DeepCopyInto ¶
func (in *ObservabilityIndicantSpecTargetRef) DeepCopyInto(out *ObservabilityIndicantSpecTargetRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObservabilityIndicantSpecTrace ¶
type ObservabilityIndicantSpecTrace struct { }
func (*ObservabilityIndicantSpecTrace) DeepCopy ¶
func (in *ObservabilityIndicantSpecTrace) DeepCopy() *ObservabilityIndicantSpecTrace
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservabilityIndicantSpecTrace.
func (*ObservabilityIndicantSpecTrace) DeepCopyInto ¶
func (in *ObservabilityIndicantSpecTrace) DeepCopyInto(out *ObservabilityIndicantSpecTrace)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObservabilityIndicantStatus ¶
type ObservabilityIndicantStatus struct { // +optional Phase ConditionType `json:"phase"` // log and trace retain // +optional Metrics map[string][]ObservabilityIndicantStatusMetricInfo `json:"metrics"` // +optional Conditions []Condition `json:"conditions"` }
func (*ObservabilityIndicantStatus) DeepCopy ¶
func (in *ObservabilityIndicantStatus) DeepCopy() *ObservabilityIndicantStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservabilityIndicantStatus.
func (*ObservabilityIndicantStatus) DeepCopyInto ¶
func (in *ObservabilityIndicantStatus) DeepCopyInto(out *ObservabilityIndicantStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObservabilityIndicantStatusAggregationItem ¶
type ObservabilityIndicantStatusAggregationItem struct { // +optional Value string `json:"value"` // +optional TargetItem string `json:"targetItem"` }
func (*ObservabilityIndicantStatusAggregationItem) DeepCopy ¶
func (in *ObservabilityIndicantStatusAggregationItem) DeepCopy() *ObservabilityIndicantStatusAggregationItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservabilityIndicantStatusAggregationItem.
func (*ObservabilityIndicantStatusAggregationItem) DeepCopyInto ¶
func (in *ObservabilityIndicantStatusAggregationItem) DeepCopyInto(out *ObservabilityIndicantStatusAggregationItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObservabilityIndicantStatusMetricInfo ¶
type ObservabilityIndicantStatusMetricInfo struct { // +optional Unit string `json:"unit,omitempty"` // +optional TargetItem string `json:"targetItem,omitempty"` // +optional Records []Record `json:"records"` // +optional StartTime metav1.Time `json:"startTime"` // +optional EndTime metav1.Time `json:"endTime"` }
func (*ObservabilityIndicantStatusMetricInfo) DeepCopy ¶
func (in *ObservabilityIndicantStatusMetricInfo) DeepCopy() *ObservabilityIndicantStatusMetricInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservabilityIndicantStatusMetricInfo.
func (*ObservabilityIndicantStatusMetricInfo) DeepCopyInto ¶
func (in *ObservabilityIndicantStatusMetricInfo) DeepCopyInto(out *ObservabilityIndicantStatusMetricInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObservabilityIndicantStatusTimeInfo ¶
type ObservabilityIndicantStatusTimeInfo struct { // +optional StartTime metav1.Time `json:"startTime"` // +optional EndTime metav1.Time `json:"endTime"` }
func (*ObservabilityIndicantStatusTimeInfo) DeepCopy ¶
func (in *ObservabilityIndicantStatusTimeInfo) DeepCopy() *ObservabilityIndicantStatusTimeInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservabilityIndicantStatusTimeInfo.
func (*ObservabilityIndicantStatusTimeInfo) DeepCopyInto ¶
func (in *ObservabilityIndicantStatusTimeInfo) DeepCopyInto(out *ObservabilityIndicantStatusTimeInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObservabilityTimeInfo ¶
type ObservabilityTimeInfo struct { StartTime metav1.Time `json:"startTime,omitempty"` EndTime metav1.Time `json:"endTime,omitempty"` IntervalSeconds int64 `json:"metricIntervalSeconds,omitempty"` }
ObservabilityTimeInfo defines the observed time range of ObservabilityIndicant
func (*ObservabilityTimeInfo) DeepCopy ¶
func (in *ObservabilityTimeInfo) DeepCopy() *ObservabilityTimeInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservabilityTimeInfo.
func (*ObservabilityTimeInfo) DeepCopyInto ¶
func (in *ObservabilityTimeInfo) DeepCopyInto(out *ObservabilityTimeInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Record ¶
type Record struct { // +optional Timestamp int64 `json:"timestamp"` // +optional Value string `json:"value"` }
func (*Record) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Record.
func (*Record) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Scheduler ¶
type Scheduler struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // ElasticQuotaSpec defines the Min and Max for Quota. // +optional Spec SchedulerSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // ElasticQuotaStatus defines the observed use. // +optional Status SchedulerStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
Scheduler ...
func (*Scheduler) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scheduler.
func (*Scheduler) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Scheduler) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SchedulerList ¶
type SchedulerList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata. // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is a list of ElasticQuota objects. Items []Scheduler `json:"items" protobuf:"bytes,2,rep,name=items"` }
SchedulerList ...
func (*SchedulerList) DeepCopy ¶
func (in *SchedulerList) DeepCopy() *SchedulerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerList.
func (*SchedulerList) DeepCopyInto ¶
func (in *SchedulerList) DeepCopyInto(out *SchedulerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SchedulerList) DeepCopyObject ¶
func (in *SchedulerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SchedulerSpec ¶
type SchedulerSpec struct { // +optional Score string `json:"score,omitempty" protobuf:"bytes,1,opt,name=score"` }
SchedulerSpec ...
func (*SchedulerSpec) DeepCopy ¶
func (in *SchedulerSpec) DeepCopy() *SchedulerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerSpec.
func (*SchedulerSpec) DeepCopyInto ¶
func (in *SchedulerSpec) DeepCopyInto(out *SchedulerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SchedulerStatus ¶
type SchedulerStatus struct { }
SchedulerStatus ...
func (*SchedulerStatus) DeepCopy ¶
func (in *SchedulerStatus) DeepCopy() *SchedulerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerStatus.
func (*SchedulerStatus) DeepCopyInto ¶
func (in *SchedulerStatus) DeepCopyInto(out *SchedulerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Score ¶
type Score struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the desired behavior of the pod group. // +optional Spec ScoreSpec `json:"spec,omitempty"` // Status represents the current information about a pod group. // This data may not be up to date. // +optional Status ScoreStatus `json:"status,omitempty"` }
Score ...
func (*Score) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Score.
func (*Score) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Score) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ScoreList ¶
type ScoreList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata. // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is a list of ElasticQuota objects. Items []Score `json:"items" protobuf:"bytes,2,rep,name=items"` }
ScoreList is a list of ElasticQuota items.
func (*ScoreList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScoreList.
func (*ScoreList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScoreList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ScoreSpec ¶
type ScoreSpec struct { // todo Logic string `json:"logic"` }
ScoreSpec ...
func (*ScoreSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScoreSpec.
func (*ScoreSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScoreStatus ¶
type ScoreStatus struct { // Current phase of Logic LogicPhase LogicPhase `json:"phase,omitempty"` // ScheduleStartTime of the group ScheduleStartTime metav1.Time `json:"scheduleStartTime,omitempty"` }
ScoreStatus ...
func (*ScoreStatus) DeepCopy ¶
func (in *ScoreStatus) DeepCopy() *ScoreStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScoreStatus.
func (*ScoreStatus) DeepCopyInto ¶
func (in *ScoreStatus) DeepCopyInto(out *ScoreStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.