v1

package
v0.0.0-...-c4bdc48 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "doit-intl.com"
View Source
const GroupVersion = "v1"

Variables

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

Functions

This section is empty.

Types

type Rbs

type Rbs struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata,omitempty"`
	Spec               RbsSpec `json:"spec"`
}

func (*Rbs) DeepCopyInto

func (in *Rbs) DeepCopyInto(out *Rbs)

DeepCopyInto copies all properties of this object into another object of the same type that is provided as a pointer.

func (*Rbs) DeepCopyObject

func (in *Rbs) DeepCopyObject() runtime.Object

DeepCopyObject returns a generically typed copy of an object

type RbsList

type RbsList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata,omitempty"`
	Items            []Rbs `json:"items"`
}

func (*RbsList) DeepCopyObject

func (in *RbsList) DeepCopyObject() runtime.Object

DeepCopyObject returns a generically typed copy of an object

type RbsSpec

type RbsSpec struct {
	WatchPeriod   int    `json:"watchperiod"`
	MetricsSource string `json:"metricssource"`
	Namespaces    []struct {
		Name        string `json:"name"`
		Deployments []struct {
			Deployment struct {
				Name      string `json:"name"`
				Metric    string `json:"metric"`
				Threshold int    `json:"threshold"`
			} `json:"deployment"`
		} `json:"deployments"`
	} `json:"namespaces"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL