Documentation
¶
Overview ¶
Package v1 is the v1 version of the API. +groupName=gloo.solo.io
Index ¶
Constants ¶
const ( GroupName = "gloo.solo.io" Version = "v1" )
Variables ¶
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, } )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Attribute.
func (*Attribute) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Attribute) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role.
func (*Role) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Role) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleList.
func (*RoleList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Spec.
func (*Spec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Upstream.
func (*Upstream) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Upstream) DeepCopyObject ¶
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.