Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=autoscale.rio.cattle.io
+k8s:deepcopy-gen=package +groupName=autoscale.rio.cattle.io
+k8s:deepcopy-gen=package +groupName=autoscale.rio.cattle.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: autoscale.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
var (
ServiceScaleRecommendationSynced = condition.Cond("Synced")
)
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ServiceScaleRecommendation ¶
type ServiceScaleRecommendation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceScaleRecommendationSpec `json:"spec,omitempty"` Status ServiceScaleRecommendationStatus `json:"status,omitempty"` }
func NewServiceScaleRecommendation ¶
func NewServiceScaleRecommendation(namespace, name string, obj ServiceScaleRecommendation) *ServiceScaleRecommendation
func (*ServiceScaleRecommendation) DeepCopy ¶
func (in *ServiceScaleRecommendation) DeepCopy() *ServiceScaleRecommendation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceScaleRecommendation.
func (*ServiceScaleRecommendation) DeepCopyInto ¶
func (in *ServiceScaleRecommendation) DeepCopyInto(out *ServiceScaleRecommendation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceScaleRecommendation) DeepCopyObject ¶
func (in *ServiceScaleRecommendation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceScaleRecommendationList ¶
type ServiceScaleRecommendationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ServiceScaleRecommendation `json:"items"` }
ServiceScaleRecommendationList is a list of ServiceScaleRecommendation resources
func (*ServiceScaleRecommendationList) DeepCopy ¶
func (in *ServiceScaleRecommendationList) DeepCopy() *ServiceScaleRecommendationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceScaleRecommendationList.
func (*ServiceScaleRecommendationList) DeepCopyInto ¶
func (in *ServiceScaleRecommendationList) DeepCopyInto(out *ServiceScaleRecommendationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceScaleRecommendationList) DeepCopyObject ¶
func (in *ServiceScaleRecommendationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceScaleRecommendationSpec ¶
type ServiceScaleRecommendationSpec struct { Replicas *int32 `json:"replicas,omitempty"` Selector *metav1.LabelSelector `json:"selector"` }
func (*ServiceScaleRecommendationSpec) DeepCopy ¶
func (in *ServiceScaleRecommendationSpec) DeepCopy() *ServiceScaleRecommendationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceScaleRecommendationSpec.
func (*ServiceScaleRecommendationSpec) DeepCopyInto ¶
func (in *ServiceScaleRecommendationSpec) DeepCopyInto(out *ServiceScaleRecommendationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceScaleRecommendationStatus ¶
type ServiceScaleRecommendationStatus struct {
Conditions []genericcondition.GenericCondition `json:"conditions,omitempty"`
}
func (*ServiceScaleRecommendationStatus) DeepCopy ¶
func (in *ServiceScaleRecommendationStatus) DeepCopy() *ServiceScaleRecommendationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceScaleRecommendationStatus.
func (*ServiceScaleRecommendationStatus) DeepCopyInto ¶
func (in *ServiceScaleRecommendationStatus) DeepCopyInto(out *ServiceScaleRecommendationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.