v1

package
v0.1.1-rc1 Latest Latest
Warning

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

Go to latest
Published: May 21, 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 (
	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 {
	ServiceNameToRead string            `json:"serviceNameToRead,omitempty"`
	ZeroScaleService  string            `json:"zeroScaleService,omitempty"`
	MinScale          int32             `json:"minScale,omitempty"`
	MaxScale          int32             `json:"maxScale,omitempty"`
	Concurrency       int               `json:"concurrency,omitempty"`
	PrometheusURL     string            `json:"prometheusURL,omitempty"`
	Selector          map[string]string `json:"selector,omitempty"`
}

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 {
	DesiredScale *int32                              `json:"desiredScale,omitempty"`
	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