v1

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 4 Imported by: 7

Documentation

Overview

Package v1 is the v1 version of the API.

Index

Constants

View Source
const (
	// StateWarning is used when the resource has been validated and accepted but it might work in a degraded state.
	StateWarning = "Warning"
	// StateValid is used when the resource has been validated and accepted and is working as expected.
	StateValid = "Valid"
	// StateInvalid is used when the resource failed validation or NGINX failed to reload the corresponding config.
	StateInvalid = "Invalid"
)

Variables

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

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

type Action struct {
	Pass     string          `json:"pass"`
	Redirect *ActionRedirect `json:"redirect"`
	Return   *ActionReturn   `json:"return"`
	Proxy    *ActionProxy    `json:"proxy"`
}

Action defines an action.

func (*Action) DeepCopy

func (in *Action) DeepCopy() *Action

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

func (*Action) DeepCopyInto

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

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

type ActionProxy added in v1.8.0

type ActionProxy struct {
	Upstream        string                `json:"upstream"`
	RewritePath     string                `json:"rewritePath"`
	RequestHeaders  *ProxyRequestHeaders  `json:"requestHeaders"`
	ResponseHeaders *ProxyResponseHeaders `json:"responseHeaders"`
}

ActionProxy defines a proxy in an Action.

func (*ActionProxy) DeepCopy added in v1.8.0

func (in *ActionProxy) DeepCopy() *ActionProxy

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

func (*ActionProxy) DeepCopyInto added in v1.8.0

func (in *ActionProxy) DeepCopyInto(out *ActionProxy)

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

type ActionRedirect

type ActionRedirect struct {
	URL  string `json:"url"`
	Code int    `json:"code"`
}

ActionRedirect defines a redirect in an Action.

func (*ActionRedirect) DeepCopy

func (in *ActionRedirect) DeepCopy() *ActionRedirect

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

func (*ActionRedirect) DeepCopyInto

func (in *ActionRedirect) DeepCopyInto(out *ActionRedirect)

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

type ActionReturn

type ActionReturn struct {
	Code int    `json:"code"`
	Type string `json:"type"`
	Body string `json:"body"`
}

ActionReturn defines a return in an Action.

func (*ActionReturn) DeepCopy

func (in *ActionReturn) DeepCopy() *ActionReturn

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

func (*ActionReturn) DeepCopyInto

func (in *ActionReturn) DeepCopyInto(out *ActionReturn)

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

type AddHeader added in v1.8.0

type AddHeader struct {
	Header `json:",inline"`
	Always bool `json:"always"`
}

Header defines an HTTP Header with an optional Always field to use with the add_header NGINX directive.

func (*AddHeader) DeepCopy added in v1.8.0

func (in *AddHeader) DeepCopy() *AddHeader

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

func (*AddHeader) DeepCopyInto added in v1.8.0

func (in *AddHeader) DeepCopyInto(out *AddHeader)

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

type Condition

type Condition struct {
	Header   string `json:"header"`
	Cookie   string `json:"cookie"`
	Argument string `json:"argument"`
	Variable string `json:"variable"`
	Value    string `json:"value"`
}

Condition defines a condition in a MatchRule.

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

type ErrorPage added in v1.7.0

type ErrorPage struct {
	Codes    []int              `json:"codes"`
	Return   *ErrorPageReturn   `json:"return"`
	Redirect *ErrorPageRedirect `json:"redirect"`
}

ErrorPage defines an ErrorPage in a Route.

func (*ErrorPage) DeepCopy added in v1.7.0

func (in *ErrorPage) DeepCopy() *ErrorPage

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

func (*ErrorPage) DeepCopyInto added in v1.7.0

func (in *ErrorPage) DeepCopyInto(out *ErrorPage)

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

type ErrorPageRedirect added in v1.7.0

type ErrorPageRedirect struct {
	ActionRedirect `json:",inline"`
}

ErrorPageRedirect defines a redirect for an ErrorPage.

func (*ErrorPageRedirect) DeepCopy added in v1.7.0

func (in *ErrorPageRedirect) DeepCopy() *ErrorPageRedirect

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

func (*ErrorPageRedirect) DeepCopyInto added in v1.7.0

func (in *ErrorPageRedirect) DeepCopyInto(out *ErrorPageRedirect)

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

type ErrorPageReturn added in v1.7.0

type ErrorPageReturn struct {
	ActionReturn `json:",inline"`
	Headers      []Header `json:"headers"`
}

ErrorPageReturn defines a return for an ErrorPage.

func (*ErrorPageReturn) DeepCopy added in v1.7.0

func (in *ErrorPageReturn) DeepCopy() *ErrorPageReturn

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

func (*ErrorPageReturn) DeepCopyInto added in v1.7.0

func (in *ErrorPageReturn) DeepCopyInto(out *ErrorPageReturn)

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

type ExternalEndpoint added in v1.8.0

type ExternalEndpoint struct {
	IP    string `json:"ip"`
	Ports string `json:"ports"`
}

ExternalEndpoint defines the IP and ports used to connect to this resource.

func (*ExternalEndpoint) DeepCopy added in v1.8.0

func (in *ExternalEndpoint) DeepCopy() *ExternalEndpoint

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

func (*ExternalEndpoint) DeepCopyInto added in v1.8.0

func (in *ExternalEndpoint) DeepCopyInto(out *ExternalEndpoint)

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

type Header struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

Header defines an HTTP Header.

func (*Header) DeepCopy

func (in *Header) DeepCopy() *Header

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

func (*Header) DeepCopyInto

func (in *Header) DeepCopyInto(out *Header)

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

type HealthCheck

type HealthCheck struct {
	Enable         bool         `json:"enable"`
	Path           string       `json:"path"`
	Interval       string       `json:"interval"`
	Jitter         string       `json:"jitter"`
	Fails          int          `json:"fails"`
	Passes         int          `json:"passes"`
	Port           int          `json:"port"`
	TLS            *UpstreamTLS `json:"tls"`
	ConnectTimeout string       `json:"connect-timeout"`
	ReadTimeout    string       `json:"read-timeout"`
	SendTimeout    string       `json:"send-timeout"`
	Headers        []Header     `json:"headers"`
	StatusMatch    string       `json:"statusMatch"`
}

HealthCheck defines the parameters for active Upstream HealthChecks.

func (*HealthCheck) DeepCopy

func (in *HealthCheck) DeepCopy() *HealthCheck

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

func (*HealthCheck) DeepCopyInto

func (in *HealthCheck) DeepCopyInto(out *HealthCheck)

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

type Match

type Match struct {
	Conditions []Condition `json:"conditions"`
	Action     *Action     `json:"action"`
	Splits     []Split     `json:"splits"`
}

Match defines a match.

func (*Match) DeepCopy

func (in *Match) DeepCopy() *Match

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

func (*Match) DeepCopyInto

func (in *Match) DeepCopyInto(out *Match)

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

type PolicyReference added in v1.8.0

type PolicyReference struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

PolicyReference references a policy by name and an optional namespace.

func (*PolicyReference) DeepCopy added in v1.8.0

func (in *PolicyReference) DeepCopy() *PolicyReference

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

func (*PolicyReference) DeepCopyInto added in v1.8.0

func (in *PolicyReference) DeepCopyInto(out *PolicyReference)

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

type ProxyRequestHeaders added in v1.8.0

type ProxyRequestHeaders struct {
	Pass *bool    `json:"pass"`
	Set  []Header `json:"set"`
}

ProxyRequestHeaders defines the request headers manipulation in an ActionProxy.

func (*ProxyRequestHeaders) DeepCopy added in v1.8.0

func (in *ProxyRequestHeaders) DeepCopy() *ProxyRequestHeaders

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

func (*ProxyRequestHeaders) DeepCopyInto added in v1.8.0

func (in *ProxyRequestHeaders) DeepCopyInto(out *ProxyRequestHeaders)

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

type ProxyResponseHeaders added in v1.8.0

type ProxyResponseHeaders struct {
	Hide   []string    `json:"hide"`
	Pass   []string    `json:"pass"`
	Ignore []string    `json:"ignore"`
	Add    []AddHeader `json:"add"`
}

ProxyRequestHeaders defines the response headers manipulation in an ActionProxy.

func (*ProxyResponseHeaders) DeepCopy added in v1.8.0

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

func (*ProxyResponseHeaders) DeepCopyInto added in v1.8.0

func (in *ProxyResponseHeaders) DeepCopyInto(out *ProxyResponseHeaders)

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

type Route

type Route struct {
	Path             string            `json:"path"`
	Policies         []PolicyReference `json:"policies"`
	Route            string            `json:"route"`
	Action           *Action           `json:"action"`
	Splits           []Split           `json:"splits"`
	Matches          []Match           `json:"matches"`
	ErrorPages       []ErrorPage       `json:"errorPages"`
	LocationSnippets string            `json:"location-snippets"`
}

Route defines a route.

func (*Route) DeepCopy

func (in *Route) DeepCopy() *Route

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

func (*Route) DeepCopyInto

func (in *Route) DeepCopyInto(out *Route)

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

type SessionCookie

type SessionCookie struct {
	Enable   bool   `json:"enable"`
	Name     string `json:"name"`
	Path     string `json:"path"`
	Expires  string `json:"expires"`
	Domain   string `json:"domain"`
	HTTPOnly bool   `json:"httpOnly"`
	Secure   bool   `json:"secure"`
}

SessionCookie defines the parameters for session persistence.

func (*SessionCookie) DeepCopy

func (in *SessionCookie) DeepCopy() *SessionCookie

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

func (*SessionCookie) DeepCopyInto

func (in *SessionCookie) DeepCopyInto(out *SessionCookie)

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

type Split

type Split struct {
	Weight int     `json:"weight"`
	Action *Action `json:"action"`
}

Split defines a split.

func (*Split) DeepCopy

func (in *Split) DeepCopy() *Split

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

func (*Split) DeepCopyInto

func (in *Split) DeepCopyInto(out *Split)

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

type TLS

type TLS struct {
	Secret   string       `json:"secret"`
	Redirect *TLSRedirect `json:"redirect"`
}

TLS defines TLS configuration for a VirtualServer.

func (*TLS) DeepCopy

func (in *TLS) DeepCopy() *TLS

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

func (*TLS) DeepCopyInto

func (in *TLS) DeepCopyInto(out *TLS)

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

type TLSRedirect

type TLSRedirect struct {
	Enable  bool   `json:"enable"`
	Code    *int   `json:"code"`
	BasedOn string `json:"basedOn"`
}

TLSRedirect defines a redirect for a TLS.

func (*TLSRedirect) DeepCopy

func (in *TLSRedirect) DeepCopy() *TLSRedirect

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

func (*TLSRedirect) DeepCopyInto

func (in *TLSRedirect) DeepCopyInto(out *TLSRedirect)

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"`
	Subselector              map[string]string `json:"subselector"`
	Port                     uint16            `json:"port"`
	LBMethod                 string            `json:"lb-method"`
	FailTimeout              string            `json:"fail-timeout"`
	MaxFails                 *int              `json:"max-fails"`
	MaxConns                 *int              `json:"max-conns"`
	Keepalive                *int              `json:"keepalive"`
	ProxyConnectTimeout      string            `json:"connect-timeout"`
	ProxyReadTimeout         string            `json:"read-timeout"`
	ProxySendTimeout         string            `json:"send-timeout"`
	ProxyNextUpstream        string            `json:"next-upstream"`
	ProxyNextUpstreamTimeout string            `json:"next-upstream-timeout"`
	ProxyNextUpstreamTries   int               `json:"next-upstream-tries"`
	ProxyBuffering           *bool             `json:"buffering"`
	ProxyBuffers             *UpstreamBuffers  `json:"buffers"`
	ProxyBufferSize          string            `json:"buffer-size"`
	ClientMaxBodySize        string            `json:"client-max-body-size"`
	TLS                      UpstreamTLS       `json:"tls"`
	HealthCheck              *HealthCheck      `json:"healthCheck"`
	SlowStart                string            `json:"slow-start"`
	Queue                    *UpstreamQueue    `json:"queue"`
	SessionCookie            *SessionCookie    `json:"sessionCookie"`
}

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 UpstreamBuffers

type UpstreamBuffers struct {
	Number int    `json:"number"`
	Size   string `json:"size"`
}

UpstreamBuffers defines Buffer Configuration for an Upstream.

func (*UpstreamBuffers) DeepCopy

func (in *UpstreamBuffers) DeepCopy() *UpstreamBuffers

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

func (*UpstreamBuffers) DeepCopyInto

func (in *UpstreamBuffers) DeepCopyInto(out *UpstreamBuffers)

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

type UpstreamQueue

type UpstreamQueue struct {
	Size    int    `json:"size"`
	Timeout string `json:"timeout"`
}

UpstreamQueue defines Queue Configuration for an Upstream.

func (*UpstreamQueue) DeepCopy

func (in *UpstreamQueue) DeepCopy() *UpstreamQueue

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

func (*UpstreamQueue) DeepCopyInto

func (in *UpstreamQueue) DeepCopyInto(out *UpstreamQueue)

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

type UpstreamTLS

type UpstreamTLS struct {
	Enable bool `json:"enable"`
}

UpstreamTLS defines a TLS configuration for an Upstream.

func (*UpstreamTLS) DeepCopy

func (in *UpstreamTLS) DeepCopy() *UpstreamTLS

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

func (*UpstreamTLS) DeepCopyInto

func (in *UpstreamTLS) DeepCopyInto(out *UpstreamTLS)

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

type VirtualServer

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

	Spec   VirtualServerSpec   `json:"spec"`
	Status VirtualServerStatus `json:"status"`
}

VirtualServer defines the VirtualServer resource.

func (*VirtualServer) DeepCopy

func (in *VirtualServer) DeepCopy() *VirtualServer

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

func (*VirtualServer) DeepCopyInto

func (in *VirtualServer) DeepCopyInto(out *VirtualServer)

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

func (*VirtualServer) DeepCopyObject

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

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

type VirtualServerList

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

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

VirtualServerList is a list of the VirtualServer resources.

func (*VirtualServerList) DeepCopy

func (in *VirtualServerList) DeepCopy() *VirtualServerList

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

func (*VirtualServerList) DeepCopyInto

func (in *VirtualServerList) DeepCopyInto(out *VirtualServerList)

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

func (*VirtualServerList) DeepCopyObject

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

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

type VirtualServerRoute

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

	Spec   VirtualServerRouteSpec   `json:"spec"`
	Status VirtualServerRouteStatus `json:"status"`
}

func (*VirtualServerRoute) DeepCopy

func (in *VirtualServerRoute) DeepCopy() *VirtualServerRoute

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

func (*VirtualServerRoute) DeepCopyInto

func (in *VirtualServerRoute) DeepCopyInto(out *VirtualServerRoute)

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

func (*VirtualServerRoute) DeepCopyObject

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

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

type VirtualServerRouteList

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

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

func (*VirtualServerRouteList) DeepCopy

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

func (*VirtualServerRouteList) DeepCopyInto

func (in *VirtualServerRouteList) DeepCopyInto(out *VirtualServerRouteList)

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

func (*VirtualServerRouteList) DeepCopyObject

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

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

type VirtualServerRouteSpec

type VirtualServerRouteSpec struct {
	IngressClass string     `json:"ingressClassName"`
	Host         string     `json:"host"`
	Upstreams    []Upstream `json:"upstreams"`
	Subroutes    []Route    `json:"subroutes"`
}

func (*VirtualServerRouteSpec) DeepCopy

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

func (*VirtualServerRouteSpec) DeepCopyInto

func (in *VirtualServerRouteSpec) DeepCopyInto(out *VirtualServerRouteSpec)

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

type VirtualServerRouteStatus added in v1.8.0

type VirtualServerRouteStatus struct {
	State             string             `json:"state"`
	Reason            string             `json:"reason"`
	Message           string             `json:"message"`
	ReferencedBy      string             `json:"referencedBy"`
	ExternalEndpoints []ExternalEndpoint `json:"externalEndpoints,omitempty"`
}

VirtualServerRouteStatus defines the status for the VirtualServerRoute resource.

func (*VirtualServerRouteStatus) DeepCopy added in v1.8.0

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

func (*VirtualServerRouteStatus) DeepCopyInto added in v1.8.0

func (in *VirtualServerRouteStatus) DeepCopyInto(out *VirtualServerRouteStatus)

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

type VirtualServerSpec

type VirtualServerSpec struct {
	IngressClass   string            `json:"ingressClassName"`
	Host           string            `json:"host"`
	TLS            *TLS              `json:"tls"`
	Policies       []PolicyReference `json:"policies"`
	Upstreams      []Upstream        `json:"upstreams"`
	Routes         []Route           `json:"routes"`
	HTTPSnippets   string            `json:"http-snippets"`
	ServerSnippets string            `json:"server-snippets"`
}

VirtualServerSpec is the spec of the VirtualServer resource.

func (*VirtualServerSpec) DeepCopy

func (in *VirtualServerSpec) DeepCopy() *VirtualServerSpec

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

func (*VirtualServerSpec) DeepCopyInto

func (in *VirtualServerSpec) DeepCopyInto(out *VirtualServerSpec)

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

type VirtualServerStatus added in v1.8.0

type VirtualServerStatus struct {
	State             string             `json:"state"`
	Reason            string             `json:"reason"`
	Message           string             `json:"message"`
	ExternalEndpoints []ExternalEndpoint `json:"externalEndpoints,omitempty"`
}

VirtualServerStatus defines the status for the VirtualServer resource.

func (*VirtualServerStatus) DeepCopy added in v1.8.0

func (in *VirtualServerStatus) DeepCopy() *VirtualServerStatus

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

func (*VirtualServerStatus) DeepCopyInto added in v1.8.0

func (in *VirtualServerStatus) DeepCopyInto(out *VirtualServerStatus)

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