v1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

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

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: autoscale.GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

View Source
var (
	ServiceScaleRecommendationResourceName = "servicescalerecommendations"
)
View Source
var (
	ServiceScaleRecommendationSynced = condition.Cond("Synced")
)

Functions

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 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

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

func (*ServiceScaleRecommendation) DeepCopyInto

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

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

func (*ServiceScaleRecommendationList) DeepCopyInto

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

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

func (*ServiceScaleRecommendationSpec) DeepCopyInto

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

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

func (*ServiceScaleRecommendationStatus) 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