Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Action
- type GlobalConfiguration
- type GlobalConfigurationList
- type GlobalConfigurationSpec
- type HealthCheck
- type Listener
- type Match
- type SessionParameters
- type TransportServer
- type TransportServerList
- type TransportServerListener
- type TransportServerSpec
- type TransportServerStatus
- type Upstream
- type UpstreamParameters
Constants ¶
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 ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: configuration.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these object.
Functions ¶
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Action.
func (*Action) DeepCopyInto ¶ added in v1.7.0
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
func (in *GlobalConfigurationList) DeepCopy() *GlobalConfigurationList
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
func (in *GlobalConfigurationSpec) DeepCopy() *GlobalConfigurationSpec
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 HealthCheck ¶ added in v1.11.0
type HealthCheck struct { Enabled bool `json:"enable"` Timeout string `json:"timeout"` Jitter string `json:"jitter"` Port int `json:"port"` Interval string `json:"interval"` Passes int `json:"passes"` Fails int `json:"fails"` Match *Match `json:"match"` }
HealthCheck defines the parameters for active Upstream HealthChecks.
func (*HealthCheck) DeepCopy ¶ added in v1.11.0
func (in *HealthCheck) DeepCopy() *HealthCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheck.
func (*HealthCheck) DeepCopyInto ¶ added in v1.11.0
func (in *HealthCheck) DeepCopyInto(out *HealthCheck)
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Listener.
func (*Listener) DeepCopyInto ¶ added in v1.7.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Match ¶
Match defines the parameters of a custom health check.
func (*Match) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Match.
func (*Match) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SessionParameters ¶ added in v1.11.0
type SessionParameters struct {
Timeout string `json:"timeout"`
}
SessionParameters defines session parameters.
func (*SessionParameters) DeepCopy ¶ added in v1.11.0
func (in *SessionParameters) DeepCopy() *SessionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionParameters.
func (*SessionParameters) DeepCopyInto ¶ added in v1.11.0
func (in *SessionParameters) DeepCopyInto(out *SessionParameters)
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"` Status TransportServerStatus `json:"status"` }
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
TransportServerListener defines a listener for a TransportServer.
func (*TransportServerListener) DeepCopy ¶ added in v1.7.0
func (in *TransportServerListener) DeepCopy() *TransportServerListener
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 { IngressClass string `json:"ingressClassName"` Listener TransportServerListener `json:"listener"` ServerSnippets string `json:"serverSnippets"` StreamSnippets string `json:"streamSnippets"` Host string `json:"host"` Upstreams []Upstream `json:"upstreams"` UpstreamParameters *UpstreamParameters `json:"upstreamParameters"` SessionParameters *SessionParameters `json:"sessionParameters"` 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 TransportServerStatus ¶ added in v1.11.0
type TransportServerStatus struct { State string `json:"state"` Reason string `json:"reason"` Message string `json:"message"` }
TransportServerStatus defines the status for the TransportServer resource.
func (*TransportServerStatus) DeepCopy ¶ added in v1.11.0
func (in *TransportServerStatus) DeepCopy() *TransportServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransportServerStatus.
func (*TransportServerStatus) DeepCopyInto ¶ added in v1.11.0
func (in *TransportServerStatus) DeepCopyInto(out *TransportServerStatus)
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"` FailTimeout string `json:"failTimeout"` MaxFails *int `json:"maxFails"` MaxConns *int `json:"maxConns"` HealthCheck *HealthCheck `json:"healthCheck"` LoadBalancingMethod string `json:"loadBalancingMethod"` }
Upstream defines an upstream.
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.
type UpstreamParameters ¶ added in v1.7.0
type UpstreamParameters struct { UDPRequests *int `json:"udpRequests"` UDPResponses *int `json:"udpResponses"` ConnectTimeout string `json:"connectTimeout"` NextUpstream bool `json:"nextUpstream"` NextUpstreamTimeout string `json:"nextUpstreamTimeout"` NextUpstreamTries int `json:"nextUpstreamTries"` }
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.