Documentation ¶
Overview ¶
Package v1 is the v1 version of the API.
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AccessControl
- type Action
- type ActionProxy
- type ActionRedirect
- type ActionReturn
- type AddHeader
- type Condition
- type EgressMTLS
- type ErrorPage
- type ErrorPageRedirect
- type ErrorPageReturn
- type ExternalEndpoint
- type Header
- type HealthCheck
- type IngressMTLS
- type JWTAuth
- type Match
- type OIDC
- type Policy
- type PolicyList
- type PolicyReference
- type PolicySpec
- type PolicyStatus
- type ProxyRequestHeaders
- type ProxyResponseHeaders
- type RateLimit
- type Route
- type SecurityLog
- type SessionCookie
- type Split
- type TLS
- type TLSRedirect
- type Upstream
- type UpstreamBuffers
- type UpstreamQueue
- type UpstreamTLS
- type VirtualServer
- type VirtualServerList
- type VirtualServerRoute
- type VirtualServerRouteList
- type VirtualServerRouteSpec
- type VirtualServerRouteStatus
- type VirtualServerSpec
- type VirtualServerStatus
- type WAF
Constants ¶
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 ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: configuration.GroupName, Version: "v1"}
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 AccessControl ¶ added in v1.10.0
AccessControl defines an access policy based on the source IP of a request. policy status: production-ready
func (*AccessControl) DeepCopy ¶ added in v1.10.0
func (in *AccessControl) DeepCopy() *AccessControl
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControl.
func (*AccessControl) DeepCopyInto ¶ added in v1.10.0
func (in *AccessControl) DeepCopyInto(out *AccessControl)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Action.
func (*Action) DeepCopyInto ¶
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 ¶
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
AddHeader 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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddHeader.
func (*AddHeader) DeepCopyInto ¶ added in v1.8.0
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EgressMTLS ¶ added in v1.10.0
type EgressMTLS struct { TLSSecret string `json:"tlsSecret"` VerifyServer bool `json:"verifyServer"` VerifyDepth *int `json:"verifyDepth"` Protocols string `json:"protocols"` SessionReuse *bool `json:"sessionReuse"` Ciphers string `json:"ciphers"` TrustedCertSecret string `json:"trustedCertSecret"` ServerName bool `json:"serverName"` SSLName string `json:"sslName"` }
EgressMTLS defines an Egress MTLS policy. policy status: preview
func (*EgressMTLS) DeepCopy ¶ added in v1.10.0
func (in *EgressMTLS) DeepCopy() *EgressMTLS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressMTLS.
func (*EgressMTLS) DeepCopyInto ¶ added in v1.10.0
func (in *EgressMTLS) DeepCopyInto(out *EgressMTLS)
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ErrorPage.
func (*ErrorPage) DeepCopyInto ¶ added in v1.7.0
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
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 ¶
Header defines an HTTP Header.
func (*Header) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Header.
func (*Header) DeepCopyInto ¶
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 IngressMTLS ¶ added in v1.10.0
type IngressMTLS struct { ClientCertSecret string `json:"clientCertSecret"` VerifyClient string `json:"verifyClient"` VerifyDepth *int `json:"verifyDepth"` }
IngressMTLS defines an Ingress MTLS policy. policy status: preview
func (*IngressMTLS) DeepCopy ¶ added in v1.10.0
func (in *IngressMTLS) DeepCopy() *IngressMTLS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressMTLS.
func (*IngressMTLS) DeepCopyInto ¶ added in v1.10.0
func (in *IngressMTLS) DeepCopyInto(out *IngressMTLS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JWTAuth ¶ added in v1.10.0
type JWTAuth struct { Realm string `json:"realm"` Secret string `json:"secret"` Token string `json:"token"` }
JWTAuth holds JWT authentication configuration. policy status: preview
func (*JWTAuth) DeepCopy ¶ added in v1.10.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JWTAuth.
func (*JWTAuth) DeepCopyInto ¶ added in v1.10.0
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 ¶
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 OIDC ¶ added in v1.10.0
type OIDC struct { AuthEndpoint string `json:"authEndpoint"` TokenEndpoint string `json:"tokenEndpoint"` JWKSURI string `json:"jwksURI"` ClientID string `json:"clientID"` ClientSecret string `json:"clientSecret"` Scope string `json:"scope"` RedirectURI string `json:"redirectURI"` }
OIDC defines an Open ID Connect policy.
func (*OIDC) DeepCopy ¶ added in v1.10.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OIDC.
func (*OIDC) DeepCopyInto ¶ added in v1.10.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Policy ¶ added in v1.10.0
type Policy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PolicySpec `json:"spec"` Status PolicyStatus `json:"status"` }
Policy defines a Policy for VirtualServer and VirtualServerRoute resources.
func (*Policy) DeepCopy ¶ added in v1.10.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (*Policy) DeepCopyInto ¶ added in v1.10.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Policy) DeepCopyObject ¶ added in v1.10.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PolicyList ¶ added in v1.10.0
type PolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Policy `json:"items"` }
PolicyList is a list of the Policy resources.
func (*PolicyList) DeepCopy ¶ added in v1.10.0
func (in *PolicyList) DeepCopy() *PolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList.
func (*PolicyList) DeepCopyInto ¶ added in v1.10.0
func (in *PolicyList) DeepCopyInto(out *PolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyList) DeepCopyObject ¶ added in v1.10.0
func (in *PolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PolicyReference ¶ added in v1.8.0
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 PolicySpec ¶ added in v1.10.0
type PolicySpec struct { AccessControl *AccessControl `json:"accessControl"` RateLimit *RateLimit `json:"rateLimit"` JWTAuth *JWTAuth `json:"jwt"` IngressMTLS *IngressMTLS `json:"ingressMTLS"` EgressMTLS *EgressMTLS `json:"egressMTLS"` OIDC *OIDC `json:"oidc"` WAF *WAF `json:"waf"` }
PolicySpec is the spec of the Policy resource. The spec includes multiple fields, where each field represents a different policy. Only one policy (field) is allowed.
func (*PolicySpec) DeepCopy ¶ added in v1.10.0
func (in *PolicySpec) DeepCopy() *PolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec.
func (*PolicySpec) DeepCopyInto ¶ added in v1.10.0
func (in *PolicySpec) DeepCopyInto(out *PolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyStatus ¶ added in v1.11.0
type PolicyStatus struct { State string `json:"state"` Reason string `json:"reason"` Message string `json:"message"` }
PolicyStatus is the status of the policy resource
func (*PolicyStatus) DeepCopy ¶ added in v1.11.0
func (in *PolicyStatus) DeepCopy() *PolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyStatus.
func (*PolicyStatus) DeepCopyInto ¶ added in v1.11.0
func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProxyRequestHeaders ¶ added in v1.8.0
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"` }
ProxyResponseHeaders defines the response headers manipulation in an ActionProxy.
func (*ProxyResponseHeaders) DeepCopy ¶ added in v1.8.0
func (in *ProxyResponseHeaders) DeepCopy() *ProxyResponseHeaders
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 RateLimit ¶ added in v1.10.0
type RateLimit struct { Rate string `json:"rate"` Key string `json:"key"` Delay *int `json:"delay"` NoDelay *bool `json:"noDelay"` Burst *int `json:"burst"` ZoneSize string `json:"zoneSize"` DryRun *bool `json:"dryRun"` LogLevel string `json:"logLevel"` RejectCode *int `json:"rejectCode"` }
RateLimit defines a rate limit policy. policy status: preview
func (*RateLimit) DeepCopy ¶ added in v1.10.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimit.
func (*RateLimit) DeepCopyInto ¶ added in v1.10.0
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.
func (*Route) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityLog ¶ added in v1.11.0
type SecurityLog struct { Enable bool `json:"enable"` ApLogConf string `json:"apLogConf"` LogDest string `json:"logDest"` }
SecurityLog defines the security log of a WAF policy.
func (*SecurityLog) DeepCopy ¶ added in v1.11.0
func (in *SecurityLog) DeepCopy() *SecurityLog
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityLog.
func (*SecurityLog) DeepCopyInto ¶ added in v1.11.0
func (in *SecurityLog) DeepCopyInto(out *SecurityLog)
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 ¶
Split defines a split.
func (*Split) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Split.
func (*Split) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLS.
func (*TLS) DeepCopyInto ¶
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"` UseClusterIP bool `json:"use-cluster-ip"` }
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 UpstreamBuffers ¶
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 ¶
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"` }
VirtualServerRoute defines the VirtualServerRoute resource.
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 ¶
func (in *VirtualServerRouteList) DeepCopy() *VirtualServerRouteList
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"` }
VirtualServerRouteSpec is the spec of the VirtualServerRoute resource.
func (*VirtualServerRouteSpec) DeepCopy ¶
func (in *VirtualServerRouteSpec) DeepCopy() *VirtualServerRouteSpec
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
func (in *VirtualServerRouteStatus) DeepCopy() *VirtualServerRouteStatus
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.
type WAF ¶ added in v1.11.0
type WAF struct { Enable bool `json:"enable"` ApPolicy string `json:"apPolicy"` SecurityLog *SecurityLog `json:"securityLog"` }
WAF defines an WAF policy. policy status: preview
func (*WAF) DeepCopy ¶ added in v1.11.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WAF.
func (*WAF) DeepCopyInto ¶ added in v1.11.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.