Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostingAutoscalingPolicy ¶
type HostingAutoscalingPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HostingAutoscalingPolicySpec `json:"spec"` Status HostingAutoscalingPolicyStatus `json:"status,omitempty"` }
HostingAutoscalingPolicy is the Schema for the HostingAutoscalingPolicy API
func (*HostingAutoscalingPolicy) DeepCopy ¶
func (in *HostingAutoscalingPolicy) DeepCopy() *HostingAutoscalingPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostingAutoscalingPolicy.
func (*HostingAutoscalingPolicy) DeepCopyInto ¶
func (in *HostingAutoscalingPolicy) DeepCopyInto(out *HostingAutoscalingPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostingAutoscalingPolicy) DeepCopyObject ¶
func (in *HostingAutoscalingPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HostingAutoscalingPolicyList ¶
type HostingAutoscalingPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HostingAutoscalingPolicy `json:"items"` }
HostingAutoscalingPolicyList contains a list of HostingAutoscalingPolicies
func (*HostingAutoscalingPolicyList) DeepCopy ¶
func (in *HostingAutoscalingPolicyList) DeepCopy() *HostingAutoscalingPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostingAutoscalingPolicyList.
func (*HostingAutoscalingPolicyList) DeepCopyInto ¶
func (in *HostingAutoscalingPolicyList) DeepCopyInto(out *HostingAutoscalingPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostingAutoscalingPolicyList) DeepCopyObject ¶
func (in *HostingAutoscalingPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HostingAutoscalingPolicySpec ¶
type HostingAutoscalingPolicySpec struct { Region *string `json:"region"` MinCapacity *int64 `json:"minCapacity,omitempty"` MaxCapacity *int64 `json:"maxCapacity,omitempty"` ScalableDimension *string `json:"scalableDimension,omitempty"` // The autoscaling policy name. This is optional for the SageMaker K8s operator. If it is empty, // the operator will populate it with a generated name. // +kubebuilder:validation:MaxLength=256 PolicyName *string `json:"policyName,omitempty"` // The autoscaling policy type. This is optional for the SageMaker K8s operator. If it is empty, // the operator will populate it with TargetTrackingScaling PolicyType *string `json:"policyType,omitempty"` // +kubebuilder:validation:MinItems=1 ResourceID []*commonv1.AutoscalingResource `json:"resourceId,omitempty"` ServiceNamespace *string `json:"serviceNamespace,omitempty"` SuspendedState *commonv1.HAPSuspendedState `json:"suspendedState,omitempty"` // A custom SageMaker endpoint to use when communicating with SageMaker. // +kubebuilder:validation:Pattern="^(https|http)://.*$" SageMakerEndpoint *string `json:"sageMakerEndpoint,omitempty"` TargetTrackingScalingPolicyConfiguration *commonv1.TargetTrackingScalingPolicyConfig `json:"targetTrackingScalingPolicyConfiguration,omitempty"` }
HostingAutoscalingPolicySpec defines the desired state of the cluster for HostingAutoscalingPolicy
func (*HostingAutoscalingPolicySpec) DeepCopy ¶
func (in *HostingAutoscalingPolicySpec) DeepCopy() *HostingAutoscalingPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostingAutoscalingPolicySpec.
func (*HostingAutoscalingPolicySpec) DeepCopyInto ¶
func (in *HostingAutoscalingPolicySpec) DeepCopyInto(out *HostingAutoscalingPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostingAutoscalingPolicyStatus ¶
type HostingAutoscalingPolicyStatus struct { PolicyName string `json:"policyName,omitempty"` HostingAutoscalingPolicyStatus string `json:"hostingAutoscalingPolicyStatus,omitempty"` ResourceIDList []string `json:"resourceIDList,omitempty"` // Field to store additional information, for example if // we are unable to check the status we update this. Additional string `json:"additional,omitempty"` // The last time that we checked the status of the job. LastCheckTime *metav1.Time `json:"lastCheckTime,omitempty"` }
HostingAutoscalingPolicyStatus defines the observed state of HostingAutoscalingPolicy
func (*HostingAutoscalingPolicyStatus) DeepCopy ¶
func (in *HostingAutoscalingPolicyStatus) DeepCopy() *HostingAutoscalingPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostingAutoscalingPolicyStatus.
func (*HostingAutoscalingPolicyStatus) DeepCopyInto ¶
func (in *HostingAutoscalingPolicyStatus) DeepCopyInto(out *HostingAutoscalingPolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.