v1alpha1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder initializes a scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: rtcfg.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

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 Generic

type Generic struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Selector GenericSelector `json:"selector"`
	Spec     GenericSpec     `json:"spec"`
	Status   GenericStatus   `json:"status"`
}

Generic is a specification for a Generic resource

func (*Generic) DeepCopy

func (in *Generic) DeepCopy() *Generic

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

func (*Generic) DeepCopyInto

func (in *Generic) DeepCopyInto(out *Generic)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Generic) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GenericList

type GenericList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Generic `json:"items"`
}

GenericList is a list of Generic resources

func (*GenericList) DeepCopy

func (in *GenericList) DeepCopy() *GenericList

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

func (*GenericList) DeepCopyInto

func (in *GenericList) DeepCopyInto(out *GenericList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GenericList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GenericSelector

type GenericSelector struct {
	MatchLabels map[string]string `json:"matchLabels"`
}

GenericSelector - selector of pods for applying Generic resource

func (*GenericSelector) DeepCopy

func (in *GenericSelector) DeepCopy() *GenericSelector

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

func (*GenericSelector) DeepCopyInto

func (in *GenericSelector) DeepCopyInto(out *GenericSelector)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GenericSpec

type GenericSpec struct {
	Service string            `json:"service"`
	Config  GenericSpecConfig `json:"config"`
}

GenericSpec is the spec for a Generic resource

func (*GenericSpec) DeepCopy

func (in *GenericSpec) DeepCopy() *GenericSpec

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

func (*GenericSpec) DeepCopyInto

func (in *GenericSpec) DeepCopyInto(out *GenericSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GenericSpecConfig

type GenericSpecConfig struct {
	Parameters map[string]string `json:"parameters"`
}

func (*GenericSpecConfig) DeepCopy

func (in *GenericSpecConfig) DeepCopy() *GenericSpecConfig

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

func (*GenericSpecConfig) DeepCopyInto

func (in *GenericSpecConfig) DeepCopyInto(out *GenericSpecConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GenericStatus

type GenericStatus struct {
	SeenBy int32 `json:"seenBy"`
}

GenericStatus is the status for a Generic resource

func (*GenericStatus) DeepCopy

func (in *GenericStatus) DeepCopy() *GenericStatus

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

func (*GenericStatus) DeepCopyInto

func (in *GenericStatus) DeepCopyInto(out *GenericStatus)

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