v1

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2021 License: EUPL-1.2 Imports: 3 Imported by: 0

Documentation

Overview

Package v1 is the v1 version of the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder initializes a scheme builder.
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   "getambassador.io",
	Version: "v1",
}

SchemeGroupVersion is group version used to register these objects. Define your schema name and the version.

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind TBD - What is this?

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource TBD - What is this?

Types

type KubernetesEndpointResolver

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

KubernetesEndpointResolver is a top-level type

func (*KubernetesEndpointResolver) DeepCopy

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

func (*KubernetesEndpointResolver) DeepCopyInto

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

func (*KubernetesEndpointResolver) DeepCopyObject

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

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

type KubernetesEndpointResolverList

type KubernetesEndpointResolverList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []KubernetesEndpointResolver `json:"items"`
}

KubernetesEndpointResolverList is a list of KubernetesEndpointResolver resources

func (*KubernetesEndpointResolverList) DeepCopy

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

func (*KubernetesEndpointResolverList) DeepCopyInto

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

func (*KubernetesEndpointResolverList) DeepCopyObject

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

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

type Mapping

type Mapping struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MappingSpec `json:"spec"`
}

Mapping is a top-level type

func (*Mapping) DeepCopy

func (in *Mapping) DeepCopy() *Mapping

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

func (*Mapping) DeepCopyInto

func (in *Mapping) DeepCopyInto(out *Mapping)

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

func (*Mapping) DeepCopyObject

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

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

type MappingList

type MappingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []Mapping `json:"items"`
}

MappingList is a list of Mapping resources

func (*MappingList) DeepCopy

func (in *MappingList) DeepCopy() *MappingList

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

func (*MappingList) DeepCopyInto

func (in *MappingList) DeepCopyInto(out *MappingList)

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

func (*MappingList) DeepCopyObject

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

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

type MappingSpec

type MappingSpec struct {
	Host              string            `json:"host"`
	PrefixRegex       bool              `json:"prefix_regex"`
	Prefix            string            `json:"prefix"`
	Rewrite           string            `json:"rewrite"`
	Service           string            `json:"service"`
	Precedence        int               `json:"precedence"`
	Resolver          string            `json:"resolver"`
	LoadBalancer      map[string]string `json:"load_balancer"`
	Websocket         bool              `json:"use_websocket"`
	AddRequestHeaders map[string]string `json:"add_request_headers"`
	TimeoutMs         int               `json:"timeout_ms"`
}

MappingSpec is the custom spec of Mapping

func (*MappingSpec) DeepCopy

func (in *MappingSpec) DeepCopy() *MappingSpec

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

func (*MappingSpec) DeepCopyInto

func (in *MappingSpec) DeepCopyInto(out *MappingSpec)

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

type TCPMapping added in v0.1.13

type TCPMapping struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TCPMappingSpec `json:"spec"`
}

TCPMapping is a top-level type

func (*TCPMapping) DeepCopy added in v0.1.13

func (in *TCPMapping) DeepCopy() *TCPMapping

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

func (*TCPMapping) DeepCopyInto added in v0.1.13

func (in *TCPMapping) DeepCopyInto(out *TCPMapping)

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

func (*TCPMapping) DeepCopyObject added in v0.1.13

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

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

type TCPMappingList added in v0.1.13

type TCPMappingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []TCPMapping `json:"items"`
}

TCPMappingList is a list of TCPMapping resources

func (*TCPMappingList) DeepCopy added in v0.1.13

func (in *TCPMappingList) DeepCopy() *TCPMappingList

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

func (*TCPMappingList) DeepCopyInto added in v0.1.13

func (in *TCPMappingList) DeepCopyInto(out *TCPMappingList)

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

func (*TCPMappingList) DeepCopyObject added in v0.1.13

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

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

type TCPMappingSpec added in v0.1.13

type TCPMappingSpec struct {
	Port     int    `json:"port"`
	Service  string `json:"service"`
	Resolver string `json:"resolver"`
}

TCPMappingSpec is the custom spec of TCPMapping

func (*TCPMappingSpec) DeepCopy added in v0.1.13

func (in *TCPMappingSpec) DeepCopy() *TCPMappingSpec

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

func (*TCPMappingSpec) DeepCopyInto added in v0.1.13

func (in *TCPMappingSpec) DeepCopyInto(out *TCPMappingSpec)

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

type TLSContext

type TLSContext struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TLSContextSpec `json:"spec"`
}

TLSContext is a top-level type

func (*TLSContext) DeepCopy

func (in *TLSContext) DeepCopy() *TLSContext

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

func (*TLSContext) DeepCopyInto

func (in *TLSContext) DeepCopyInto(out *TLSContext)

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

func (*TLSContext) DeepCopyObject

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

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

type TLSContextList

type TLSContextList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []TLSContext `json:"items"`
}

TLSContextList is a list of TLSContext resources

func (*TLSContextList) DeepCopy

func (in *TLSContextList) DeepCopy() *TLSContextList

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

func (*TLSContextList) DeepCopyInto

func (in *TLSContextList) DeepCopyInto(out *TLSContextList)

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

func (*TLSContextList) DeepCopyObject

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

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

type TLSContextSpec

type TLSContextSpec struct {
	Hosts                 []string `json:"hosts"`
	Secret                string   `json:"secret"`
	CaSecret              string   `json:"ca_secret"`
	RedirectCleartextFrom int32    `json:"redirect_cleartext_from"`
	MinTLSVersion         string   `json:"min_tls_version,omitempty"`
	MaxTLSVersion         string   `json:"max_tls_version,omitempty"`
	CipherSuites          []string `json:"cipher_suites,omitempty"`
	ECDHCurves            []string `json:"ecdh_curves,omitempty"`
}

TLSContextSpec is the custom spec of TLSContext

func (*TLSContextSpec) DeepCopy

func (in *TLSContextSpec) DeepCopy() *TLSContextSpec

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

func (*TLSContextSpec) DeepCopyInto

func (in *TLSContextSpec) DeepCopyInto(out *TLSContextSpec)

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