v1

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 is the v1 version of the API. +groupName=gloo.solo.io

Index

Constants

View Source
const (
	GroupName = "gloo.solo.io"
	Version   = "v1"
)

Variables

View Source
var (
	UpstreamCRD = crd{
		Plural:    "upstreams",
		Group:     GroupName,
		Version:   Version,
		Kind:      "Upstream",
		ShortName: "us",
	}
	VirtualServiceCRD = crd{
		Plural:    "virtualservices",
		Group:     GroupName,
		Version:   Version,
		Kind:      "VirtualService",
		ShortName: "vs",
	}
	RoleCRD = crd{
		Plural:    "roles",
		Group:     GroupName,
		Version:   Version,
		Kind:      "Role",
		ShortName: "r",
	}
	AttributeCRD = crd{
		Plural:    "attributes",
		Group:     GroupName,
		Version:   Version,
		Kind:      "Attribute",
		ShortName: "a",
	}
	KnownCRDs = []crd{
		UpstreamCRD,
		VirtualServiceCRD,
		RoleCRD,
		AttributeCRD,
	}
)
View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}

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 Attribute

type Attribute struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Status            *v1.Status `json:"status"`
	Spec              *Spec      `json:"spec"`
}

Attribute is the generic Kubernetes API object wrapper for Gloo Attributes

func (*Attribute) DeepCopy

func (in *Attribute) DeepCopy() *Attribute

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

func (*Attribute) DeepCopyInto

func (in *Attribute) DeepCopyInto(out *Attribute)

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

func (*Attribute) DeepCopyObject

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

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

type AttributeList

type AttributeList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata"`
	metav1.Status   `json:"status,omitempty"`
	Items           []Attribute `json:"items"`
}

AttributeList is the generic Kubernetes API object wrapper

func (*AttributeList) DeepCopy

func (in *AttributeList) DeepCopy() *AttributeList

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

func (*AttributeList) DeepCopyInto

func (in *AttributeList) DeepCopyInto(out *AttributeList)

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

func (*AttributeList) DeepCopyObject

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

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

type Role

type Role struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Status            *v1.Status `json:"status"`
	Spec              *Spec      `json:"spec"`
}

Role is the generic Kubernetes API object wrapper for Gloo Roles

func (*Role) DeepCopy

func (in *Role) DeepCopy() *Role

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

func (*Role) DeepCopyInto

func (in *Role) DeepCopyInto(out *Role)

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

func (*Role) DeepCopyObject

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

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

type RoleList

type RoleList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata"`
	metav1.Status   `json:"status,omitempty"`
	Items           []Role `json:"items"`
}

RoleList is the generic Kubernetes API object wrapper

func (*RoleList) DeepCopy

func (in *RoleList) DeepCopy() *RoleList

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

func (*RoleList) DeepCopyInto

func (in *RoleList) DeepCopyInto(out *RoleList)

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

func (*RoleList) DeepCopyObject

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

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

type Spec

type Spec map[string]interface{}

spec implements deepcopy

func (Spec) DeepCopy

func (in Spec) DeepCopy() Spec

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

func (*Spec) DeepCopyInto

func (in *Spec) DeepCopyInto(out *Spec)

type Upstream

type Upstream struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Status            *v1.Status `json:"status"`
	Spec              *Spec      `json:"spec"`
}

Upstream is the generic Kubernetes API object wrapper for Gloo Upstreams

func (*Upstream) DeepCopy

func (in *Upstream) DeepCopy() *Upstream

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

func (*Upstream) DeepCopyInto

func (in *Upstream) DeepCopyInto(out *Upstream)

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

func (*Upstream) DeepCopyObject

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

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

type UpstreamList

type UpstreamList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata"`
	Items           []Upstream `json:"items"`
}

UpstreamList is the generic Kubernetes API object wrapper

func (*UpstreamList) DeepCopy

func (in *UpstreamList) DeepCopy() *UpstreamList

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

func (*UpstreamList) DeepCopyInto

func (in *UpstreamList) DeepCopyInto(out *UpstreamList)

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

func (*UpstreamList) DeepCopyObject

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

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

type VirtualService

type VirtualService struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Status            *v1.Status `json:"status"`
	Spec              *Spec      `json:"spec"`
}

VirtualService is the generic Kubernetes API object wrapper for Gloo VirtualServices

func (*VirtualService) DeepCopy

func (in *VirtualService) DeepCopy() *VirtualService

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

func (*VirtualService) DeepCopyInto

func (in *VirtualService) DeepCopyInto(out *VirtualService)

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

func (*VirtualService) DeepCopyObject

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

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

type VirtualServiceList

type VirtualServiceList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata"`
	metav1.Status   `json:"status,omitempty"`
	Items           []VirtualService `json:"items"`
}

VirtualServiceList is the generic Kubernetes API object wrapper

func (*VirtualServiceList) DeepCopy

func (in *VirtualServiceList) DeepCopy() *VirtualServiceList

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

func (*VirtualServiceList) DeepCopyInto

func (in *VirtualServiceList) DeepCopyInto(out *VirtualServiceList)

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

func (*VirtualServiceList) DeepCopyObject

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