v1alpha1

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2020 License: Apache-2.0 Imports: 4 Imported by: 33

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Index

Constants

View Source
const (
	// TLSPassthroughListenerName is the name of a built-in TLS Passthrough listener.
	TLSPassthroughListenerName = "tls-passthrough"
	// TLSPassthroughListenerProtocol is the protocol of a built-in TLS Passthrough listener.
	TLSPassthroughListenerProtocol = "TLS_PASSTHROUGH"
)

Variables

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

SchemeGroupVersion is group version used to register these object.

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 Action added in v1.7.0

type Action struct {
	Pass string `json:"pass"`
}

Action defines an action.

func (*Action) DeepCopy added in v1.7.0

func (in *Action) DeepCopy() *Action

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

func (*Action) DeepCopyInto added in v1.7.0

func (in *Action) DeepCopyInto(out *Action)

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

type GlobalConfiguration added in v1.7.0

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

	Spec GlobalConfigurationSpec `json:"spec"`
}

GlobalConfiguration defines the GlobalConfiguration resource.

func (*GlobalConfiguration) DeepCopy added in v1.7.0

func (in *GlobalConfiguration) DeepCopy() *GlobalConfiguration

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

func (*GlobalConfiguration) DeepCopyInto added in v1.7.0

func (in *GlobalConfiguration) DeepCopyInto(out *GlobalConfiguration)

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

func (*GlobalConfiguration) DeepCopyObject added in v1.7.0

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

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

type GlobalConfigurationList added in v1.7.0

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

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

GlobalConfigurationList is a list of the GlobalConfiguration resources.

func (*GlobalConfigurationList) DeepCopy added in v1.7.0

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

func (*GlobalConfigurationList) DeepCopyInto added in v1.7.0

func (in *GlobalConfigurationList) DeepCopyInto(out *GlobalConfigurationList)

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

func (*GlobalConfigurationList) DeepCopyObject added in v1.7.0

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

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

type GlobalConfigurationSpec added in v1.7.0

type GlobalConfigurationSpec struct {
	Listeners []Listener `json:"listeners"`
}

GlobalConfigurationSpec is the spec of the GlobalConfiguration resource.

func (*GlobalConfigurationSpec) DeepCopy added in v1.7.0

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

func (*GlobalConfigurationSpec) DeepCopyInto added in v1.7.0

func (in *GlobalConfigurationSpec) DeepCopyInto(out *GlobalConfigurationSpec)

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

type Listener added in v1.7.0

type Listener struct {
	Name     string `json:"name"`
	Port     int    `json:"port"`
	Protocol string `json:"protocol"`
}

Listener defines a listener.

func (*Listener) DeepCopy added in v1.7.0

func (in *Listener) DeepCopy() *Listener

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

func (*Listener) DeepCopyInto added in v1.7.0

func (in *Listener) DeepCopyInto(out *Listener)

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

type TransportServer added in v1.7.0

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

	Spec TransportServerSpec `json:"spec"`
}

TransportServer defines the TransportServer resource.

func (*TransportServer) DeepCopy added in v1.7.0

func (in *TransportServer) DeepCopy() *TransportServer

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

func (*TransportServer) DeepCopyInto added in v1.7.0

func (in *TransportServer) DeepCopyInto(out *TransportServer)

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

func (*TransportServer) DeepCopyObject added in v1.7.0

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

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

type TransportServerList added in v1.7.0

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

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

TransportServerList is a list of the TransportServer resources.

func (*TransportServerList) DeepCopy added in v1.7.0

func (in *TransportServerList) DeepCopy() *TransportServerList

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

func (*TransportServerList) DeepCopyInto added in v1.7.0

func (in *TransportServerList) DeepCopyInto(out *TransportServerList)

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

func (*TransportServerList) DeepCopyObject added in v1.7.0

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

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

type TransportServerListener added in v1.7.0

type TransportServerListener struct {
	Name     string `json:"name"`
	Protocol string `json:"protocol"`
}

TransportServerListener defines a listener for a TransportServer.

func (*TransportServerListener) DeepCopy added in v1.7.0

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

func (*TransportServerListener) DeepCopyInto added in v1.7.0

func (in *TransportServerListener) DeepCopyInto(out *TransportServerListener)

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

type TransportServerSpec added in v1.7.0

type TransportServerSpec struct {
	Listener           TransportServerListener `json:"listener"`
	Host               string                  `json:"host"`
	Upstreams          []Upstream              `json:"upstreams"`
	UpstreamParameters *UpstreamParameters     `json:"upstreamParameters"`
	Action             *Action                 `json:"action"`
}

TransportServerSpec is the spec of the TransportServer resource.

func (*TransportServerSpec) DeepCopy added in v1.7.0

func (in *TransportServerSpec) DeepCopy() *TransportServerSpec

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

func (*TransportServerSpec) DeepCopyInto added in v1.7.0

func (in *TransportServerSpec) DeepCopyInto(out *TransportServerSpec)

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

type Upstream

type Upstream struct {
	Name    string `json:"name"`
	Service string `json:"service"`
	Port    int    `json:"port"`
}

Upstream defines an upstream.

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.

type UpstreamParameters added in v1.7.0

type UpstreamParameters struct {
	UDPRequests  *int `json:"udpRequests"`
	UDPResponses *int `json:"udpResponses"`
}

UpstreamParameters defines parameters for an upstream.

func (*UpstreamParameters) DeepCopy added in v1.7.0

func (in *UpstreamParameters) DeepCopy() *UpstreamParameters

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

func (*UpstreamParameters) DeepCopyInto added in v1.7.0

func (in *UpstreamParameters) DeepCopyInto(out *UpstreamParameters)

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