v1

package
v3.4.3 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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"
	// HTTPProtocol defines a constant for the HTTP protocol in GlobalConfinguration.
	HTTPProtocol = "HTTP"
	// 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 builds a scheme
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme adds to a scheme
	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 AccessControl

type AccessControl struct {
	Allow []string `json:"allow"`
	Deny  []string `json:"deny"`
}

AccessControl defines an access policy based on the source IP of a request.

func (*AccessControl) DeepCopy

func (in *AccessControl) DeepCopy() *AccessControl

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

func (*AccessControl) DeepCopyInto

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

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

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

func (in *ActionProxy) DeepCopy() *ActionProxy

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

func (*ActionProxy) DeepCopyInto

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

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

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

func (*AddHeader) DeepCopy

func (in *AddHeader) DeepCopy() *AddHeader

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

func (*AddHeader) DeepCopyInto

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

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

type BasicAuth

type BasicAuth struct {
	Realm  string `json:"realm"`
	Secret string `json:"secret"`
}

BasicAuth holds HTTP Basic authentication configuration policy status: preview

func (*BasicAuth) DeepCopy

func (in *BasicAuth) DeepCopy() *BasicAuth

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

func (*BasicAuth) DeepCopyInto

func (in *BasicAuth) DeepCopyInto(out *BasicAuth)

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

type CertManager

type CertManager struct {
	ClusterIssuer string `json:"cluster-issuer"`
	Issuer        string `json:"issuer"`
	IssuerKind    string `json:"issuer-kind"`
	IssuerGroup   string `json:"issuer-group"`
	CommonName    string `json:"common-name"`
	Duration      string `json:"duration"`
	RenewBefore   string `json:"renew-before"`
	Usages        string `json:"usages"`
	IssueTempCert bool   `json:"issue-temp-cert"`
}

CertManager defines a cert manager config for a TLS.

func (*CertManager) DeepCopy

func (in *CertManager) DeepCopy() *CertManager

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

func (*CertManager) DeepCopyInto

func (in *CertManager) DeepCopyInto(out *CertManager)

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 EgressMTLS

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.

func (*EgressMTLS) DeepCopy

func (in *EgressMTLS) DeepCopy() *EgressMTLS

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

func (*EgressMTLS) DeepCopyInto

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

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

func (in *ErrorPage) DeepCopy() *ErrorPage

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

func (*ErrorPage) DeepCopyInto

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

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

ErrorPageRedirect defines a redirect for an ErrorPage.

func (*ErrorPageRedirect) DeepCopy

func (in *ErrorPageRedirect) DeepCopy() *ErrorPageRedirect

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

func (*ErrorPageRedirect) DeepCopyInto

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

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

ErrorPageReturn defines a return for an ErrorPage.

func (*ErrorPageReturn) DeepCopy

func (in *ErrorPageReturn) DeepCopy() *ErrorPageReturn

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

func (*ErrorPageReturn) DeepCopyInto

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

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

type ExternalDNS

type ExternalDNS struct {
	Enable     bool   `json:"enable"`
	RecordType string `json:"recordType,omitempty"`
	// TTL for the record
	RecordTTL int64 `json:"recordTTL,omitempty"`
	// Labels stores labels defined for the Endpoint
	// +optional
	Labels map[string]string `json:"labels,omitempty"`
	// ProviderSpecific stores provider specific config
	// +optional
	ProviderSpecific ProviderSpecific `json:"providerSpecific,omitempty"`
}

ExternalDNS defines externaldns sub-resource of a virtual server.

func (*ExternalDNS) DeepCopy

func (in *ExternalDNS) DeepCopy() *ExternalDNS

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

func (*ExternalDNS) DeepCopyInto

func (in *ExternalDNS) DeepCopyInto(out *ExternalDNS)

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

type ExternalEndpoint

type ExternalEndpoint struct {
	IP       string `json:"ip,omitempty"`
	Hostname string `json:"hostname,omitempty"`
	Ports    string `json:"ports"`
}

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

func (*ExternalEndpoint) DeepCopy

func (in *ExternalEndpoint) DeepCopy() *ExternalEndpoint

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

func (*ExternalEndpoint) DeepCopyInto

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

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

type GlobalConfiguration

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

	Spec GlobalConfigurationSpec `json:"spec"`
}

GlobalConfiguration defines the GlobalConfiguration resource.

func (*GlobalConfiguration) DeepCopy

func (in *GlobalConfiguration) DeepCopy() *GlobalConfiguration

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

func (*GlobalConfiguration) DeepCopyInto

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

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

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

type GlobalConfigurationList

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

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

func (*GlobalConfigurationList) DeepCopyInto

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

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

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

type GlobalConfigurationSpec

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

GlobalConfigurationSpec is the spec of the GlobalConfiguration resource.

func (*GlobalConfigurationSpec) DeepCopy

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

func (*GlobalConfigurationSpec) DeepCopyInto

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

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"`
	GRPCStatus     *int         `json:"grpcStatus"`
	GRPCService    string       `json:"grpcService"`
	Mandatory      bool         `json:"mandatory"`
	Persistent     bool         `json:"persistent"`
	KeepaliveTime  string       `json:"keepalive-time"`
}

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

type IngressMTLS struct {
	ClientCertSecret string `json:"clientCertSecret"`
	CrlFileName      string `json:"crlFileName"`
	VerifyClient     string `json:"verifyClient"`
	VerifyDepth      *int   `json:"verifyDepth"`
}

IngressMTLS defines an Ingress MTLS policy.

func (*IngressMTLS) DeepCopy

func (in *IngressMTLS) DeepCopy() *IngressMTLS

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

func (*IngressMTLS) DeepCopyInto

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

type JWTAuth struct {
	Realm    string `json:"realm"`
	Secret   string `json:"secret"`
	Token    string `json:"token"`
	JwksURI  string `json:"jwksURI"`
	KeyCache string `json:"keyCache"`
}

JWTAuth holds JWT authentication configuration.

func (*JWTAuth) DeepCopy

func (in *JWTAuth) DeepCopy() *JWTAuth

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

func (*JWTAuth) DeepCopyInto

func (in *JWTAuth) DeepCopyInto(out *JWTAuth)

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

type Listener

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

Listener defines a listener.

func (*Listener) DeepCopy

func (in *Listener) DeepCopy() *Listener

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

func (*Listener) DeepCopyInto

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

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 OIDC

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"`
	ZoneSyncLeeway    *int     `json:"zoneSyncLeeway"`
	AuthExtraArgs     []string `json:"authExtraArgs"`
	AccessTokenEnable bool     `json:"accessTokenEnable"`
}

OIDC defines an Open ID Connect policy.

func (*OIDC) DeepCopy

func (in *OIDC) DeepCopy() *OIDC

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

func (*OIDC) DeepCopyInto

func (in *OIDC) DeepCopyInto(out *OIDC)

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

type Policy

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

func (in *Policy) DeepCopy() *Policy

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

func (*Policy) DeepCopyInto

func (in *Policy) DeepCopyInto(out *Policy)

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

func (*Policy) DeepCopyObject

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

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

type PolicyList

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

func (in *PolicyList) DeepCopy() *PolicyList

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

func (*PolicyList) DeepCopyInto

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

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

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

type PolicyReference

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

PolicyReference references a policy by name and an optional namespace.

func (*PolicyReference) DeepCopy

func (in *PolicyReference) DeepCopy() *PolicyReference

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

func (*PolicyReference) DeepCopyInto

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

type PolicySpec struct {
	IngressClass  string         `json:"ingressClassName"`
	AccessControl *AccessControl `json:"accessControl"`
	RateLimit     *RateLimit     `json:"rateLimit"`
	JWTAuth       *JWTAuth       `json:"jwt"`
	BasicAuth     *BasicAuth     `json:"basicAuth"`
	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

func (in *PolicySpec) DeepCopy() *PolicySpec

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

func (*PolicySpec) DeepCopyInto

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

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

func (in *PolicyStatus) DeepCopy() *PolicyStatus

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

func (*PolicyStatus) DeepCopyInto

func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus)

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

type ProviderSpecific

type ProviderSpecific []ProviderSpecificProperty

ProviderSpecific is a list of properties.

func (ProviderSpecific) DeepCopy

func (in ProviderSpecific) DeepCopy() ProviderSpecific

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

func (ProviderSpecific) DeepCopyInto

func (in ProviderSpecific) DeepCopyInto(out *ProviderSpecific)

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

type ProviderSpecificProperty

type ProviderSpecificProperty struct {
	// Name of the property
	Name string `json:"name,omitempty"`
	// Value of the property
	Value string `json:"value,omitempty"`
}

ProviderSpecificProperty defines specific property for using with ExternalDNS sub-resource.

func (*ProviderSpecificProperty) DeepCopy

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

func (*ProviderSpecificProperty) DeepCopyInto

func (in *ProviderSpecificProperty) DeepCopyInto(out *ProviderSpecificProperty)

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

type ProxyRequestHeaders

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

ProxyRequestHeaders defines the request headers manipulation in an ActionProxy.

func (*ProxyRequestHeaders) DeepCopy

func (in *ProxyRequestHeaders) DeepCopy() *ProxyRequestHeaders

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

func (*ProxyRequestHeaders) DeepCopyInto

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

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

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

func (*ProxyResponseHeaders) DeepCopyInto

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

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.

func (*RateLimit) DeepCopy

func (in *RateLimit) DeepCopy() *RateLimit

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

func (*RateLimit) DeepCopyInto

func (in *RateLimit) DeepCopyInto(out *RateLimit)

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"`
	Dos              string            `json:"dos"`
}

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 SecurityLog

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

func (in *SecurityLog) DeepCopy() *SecurityLog

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

func (*SecurityLog) DeepCopyInto

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"`
	SameSite string `json:"samesite"`
}

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 SessionParameters

type SessionParameters struct {
	Timeout string `json:"timeout"`
}

SessionParameters defines session parameters.

func (*SessionParameters) DeepCopy

func (in *SessionParameters) DeepCopy() *SessionParameters

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

func (*SessionParameters) DeepCopyInto

func (in *SessionParameters) DeepCopyInto(out *SessionParameters)

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"`
	CertManager *CertManager `json:"cert-manager"`
}

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 TransportServer

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

func (in *TransportServer) DeepCopy() *TransportServer

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

func (*TransportServer) DeepCopyInto

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

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

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

type TransportServerAction

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

TransportServerAction defines an action.

func (*TransportServerAction) DeepCopy

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

func (*TransportServerAction) DeepCopyInto

func (in *TransportServerAction) DeepCopyInto(out *TransportServerAction)

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

type TransportServerHealthCheck

type TransportServerHealthCheck 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    *TransportServerMatch `json:"match"`
}

TransportServerHealthCheck defines the parameters for active Upstream HealthChecks.

func (*TransportServerHealthCheck) DeepCopy

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

func (*TransportServerHealthCheck) DeepCopyInto

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

type TransportServerList

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

func (in *TransportServerList) DeepCopy() *TransportServerList

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

func (*TransportServerList) DeepCopyInto

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

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

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

type TransportServerListener

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

TransportServerListener defines a listener for a TransportServer.

func (*TransportServerListener) DeepCopy

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

func (*TransportServerListener) DeepCopyInto

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

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

type TransportServerMatch

type TransportServerMatch struct {
	Send   string `json:"send"`
	Expect string `json:"expect"`
}

TransportServerMatch defines the parameters of a custom health check.

func (*TransportServerMatch) DeepCopy

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

func (*TransportServerMatch) DeepCopyInto

func (in *TransportServerMatch) DeepCopyInto(out *TransportServerMatch)

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

type TransportServerSpec

type TransportServerSpec struct {
	IngressClass       string                    `json:"ingressClassName"`
	TLS                *TransportServerTLS       `json:"tls"`
	Listener           TransportServerListener   `json:"listener"`
	ServerSnippets     string                    `json:"serverSnippets"`
	StreamSnippets     string                    `json:"streamSnippets"`
	Host               string                    `json:"host"`
	Upstreams          []TransportServerUpstream `json:"upstreams"`
	UpstreamParameters *UpstreamParameters       `json:"upstreamParameters"`
	SessionParameters  *SessionParameters        `json:"sessionParameters"`
	Action             *TransportServerAction    `json:"action"`
}

TransportServerSpec is the spec of the TransportServer resource.

func (*TransportServerSpec) DeepCopy

func (in *TransportServerSpec) DeepCopy() *TransportServerSpec

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

func (*TransportServerSpec) DeepCopyInto

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

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

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

func (*TransportServerStatus) DeepCopyInto

func (in *TransportServerStatus) DeepCopyInto(out *TransportServerStatus)

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

type TransportServerTLS

type TransportServerTLS struct {
	Secret string `json:"secret"`
}

TransportServerTLS defines TransportServerTLS configuration for a TransportServer.

func (*TransportServerTLS) DeepCopy

func (in *TransportServerTLS) DeepCopy() *TransportServerTLS

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

func (*TransportServerTLS) DeepCopyInto

func (in *TransportServerTLS) DeepCopyInto(out *TransportServerTLS)

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

type TransportServerUpstream

type TransportServerUpstream 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         *TransportServerHealthCheck `json:"healthCheck"`
	LoadBalancingMethod string                      `json:"loadBalancingMethod"`
	Backup              *string                     `json:"backup"`
	BackupPort          *uint16                     `json:"backupPort"`
}

TransportServerUpstream defines an upstream.

func (*TransportServerUpstream) DeepCopy

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

func (*TransportServerUpstream) DeepCopyInto

func (in *TransportServerUpstream) DeepCopyInto(out *TransportServerUpstream)

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"`
	NTLM                     bool              `json:"ntlm"`
	Type                     string            `json:"type"`
	Backup                   *string           `json:"backup"`
	BackupPort               *uint16           `json:"backupPort"`
}

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 UpstreamParameters

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

func (in *UpstreamParameters) DeepCopy() *UpstreamParameters

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

func (*UpstreamParameters) DeepCopyInto

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

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 VirtualServerListener

type VirtualServerListener struct {
	HTTP  string `json:"http"`
	HTTPS string `json:"https"`
}

VirtualServerListener references a custom http and/or https listener defined in GlobalConfiguration.

func (*VirtualServerListener) DeepCopy

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

func (*VirtualServerListener) DeepCopyInto

func (in *VirtualServerListener) DeepCopyInto(out *VirtualServerListener)

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

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"`
}

VirtualServerRouteList is a list of VirtualServerRoute

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"`
}

VirtualServerRouteSpec is the spec of the VirtualServerRoute resource.

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

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

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

func (*VirtualServerRouteStatus) DeepCopyInto

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"`
	Listener       *VirtualServerListener `json:"listener"`
	TLS            *TLS                   `json:"tls"`
	Gunzip         bool                   `json:"gunzip"`
	Policies       []PolicyReference      `json:"policies"`
	Upstreams      []Upstream             `json:"upstreams"`
	Routes         []Route                `json:"routes"`
	HTTPSnippets   string                 `json:"http-snippets"`
	ServerSnippets string                 `json:"server-snippets"`
	Dos            string                 `json:"dos"`
	ExternalDNS    ExternalDNS            `json:"externalDNS"`
	// InternalRoute allows for the configuration of internal routing.
	InternalRoute bool `json:"internalRoute"`
}

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

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

func (in *VirtualServerStatus) DeepCopy() *VirtualServerStatus

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

func (*VirtualServerStatus) DeepCopyInto

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

type WAF struct {
	Enable       bool           `json:"enable"`
	ApPolicy     string         `json:"apPolicy"`
	ApBundle     string         `json:"apBundle"`
	SecurityLog  *SecurityLog   `json:"securityLog"`
	SecurityLogs []*SecurityLog `json:"securityLogs"`
}

WAF defines an WAF policy.

func (*WAF) DeepCopy

func (in *WAF) DeepCopy() *WAF

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

func (*WAF) DeepCopyInto

func (in *WAF) DeepCopyInto(out *WAF)

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