v1

package
v0.0.0-...-e0434a4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AggregateResourceSingular = "aggregate"
	AggregateResourcePlural   = "aggregate"
	AggregateResourceVersion  = "v1"
	AggregateResourceKind     = "Aggregate"

	AggregateResourceAPIVersion = aggregator.GroupName + "/" + AggregateResourceVersion
)

Variables

View Source
var (
	// SchemeBuilder needs to be exported as `SchemeBuilder` so
	// the code-generation can find it.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is exposed for API installation
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	AggregateGvk = SchemeGroupVersion.WithKind(AggregateResourceKind)
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: aggregator.GroupName, Version: AggregateResourceVersion}

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 a Group qualified GroupKind.

Types

type Aggregate

type Aggregate struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata,omitempty"`
	voyager.Location   `json:",inline"`
	Name               string      `json:"name"`
	Body               interface{} `json:"body,omitempty"`
	StatusCode         int         `json:"statusCode"`
	Error              *string     `json:"error,omitempty"`
}

+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*Aggregate) DeepCopy

func (in *Aggregate) DeepCopy() *Aggregate

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

func (*Aggregate) DeepCopyInto

func (in *Aggregate) DeepCopyInto(out *Aggregate)

func (*Aggregate) DeepCopyObject

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

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

type AggregateList

type AggregateList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata,omitempty"`

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

AggregateList is a list of Aggregates. +k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*AggregateList) DeepCopy

func (in *AggregateList) DeepCopy() *AggregateList

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

func (*AggregateList) DeepCopyInto

func (in *AggregateList) DeepCopyInto(out *AggregateList)

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

func (*AggregateList) DeepCopyObject

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

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

Jump to

Keyboard shortcuts

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