Documentation
¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=networking.arangodb.com
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type ArangoRoute
- func (a *ArangoRoute) AsOwner() meta.OwnerReference
- func (in *ArangoRoute) DeepCopy() *ArangoRoute
- func (in *ArangoRoute) DeepCopyInto(out *ArangoRoute)
- func (in *ArangoRoute) DeepCopyObject() runtime.Object
- func (a *ArangoRoute) GetStatus() ArangoRouteStatus
- func (a *ArangoRoute) SetStatus(status ArangoRouteStatus)
- type ArangoRouteDestinationProtocol
- type ArangoRouteList
- type ArangoRouteSpec
- func (in *ArangoRouteSpec) DeepCopy() *ArangoRouteSpec
- func (in *ArangoRouteSpec) DeepCopyInto(out *ArangoRouteSpec)
- func (s *ArangoRouteSpec) GetDeployment() string
- func (s *ArangoRouteSpec) GetDestination() *ArangoRouteSpecDestination
- func (s *ArangoRouteSpec) GetRoute() *ArangoRouteSpecRoute
- func (s *ArangoRouteSpec) Validate() error
- type ArangoRouteSpecAuthenticationPassMode
- type ArangoRouteSpecAuthenticationType
- type ArangoRouteSpecDestination
- func (in *ArangoRouteSpecDestination) DeepCopy() *ArangoRouteSpecDestination
- func (in *ArangoRouteSpecDestination) DeepCopyInto(out *ArangoRouteSpecDestination)
- func (a *ArangoRouteSpecDestination) GetAuthentication() *ArangoRouteSpecDestinationAuthentication
- func (a *ArangoRouteSpecDestination) GetEndpoints() *ArangoRouteSpecDestinationEndpoints
- func (a *ArangoRouteSpecDestination) GetPath() string
- func (a *ArangoRouteSpecDestination) GetProtocol() *ArangoRouteDestinationProtocol
- func (a *ArangoRouteSpecDestination) GetSchema() *ArangoRouteSpecDestinationSchema
- func (a *ArangoRouteSpecDestination) GetService() *ArangoRouteSpecDestinationService
- func (a *ArangoRouteSpecDestination) GetTLS() *ArangoRouteSpecDestinationTLS
- func (a *ArangoRouteSpecDestination) GetTimeout() meta.Duration
- func (a *ArangoRouteSpecDestination) Validate() error
- type ArangoRouteSpecDestinationAuthentication
- func (in *ArangoRouteSpecDestinationAuthentication) DeepCopy() *ArangoRouteSpecDestinationAuthentication
- func (in *ArangoRouteSpecDestinationAuthentication) DeepCopyInto(out *ArangoRouteSpecDestinationAuthentication)
- func (a *ArangoRouteSpecDestinationAuthentication) GetPassMode() ArangoRouteSpecAuthenticationPassMode
- func (a *ArangoRouteSpecDestinationAuthentication) GetType() ArangoRouteSpecAuthenticationType
- func (a *ArangoRouteSpecDestinationAuthentication) Validate() error
- type ArangoRouteSpecDestinationEndpoints
- func (in *ArangoRouteSpecDestinationEndpoints) DeepCopy() *ArangoRouteSpecDestinationEndpoints
- func (in *ArangoRouteSpecDestinationEndpoints) DeepCopyInto(out *ArangoRouteSpecDestinationEndpoints)
- func (a *ArangoRouteSpecDestinationEndpoints) GetPort() *intstr.IntOrString
- func (a *ArangoRouteSpecDestinationEndpoints) Validate() error
- type ArangoRouteSpecDestinationSchema
- type ArangoRouteSpecDestinationService
- func (in *ArangoRouteSpecDestinationService) DeepCopy() *ArangoRouteSpecDestinationService
- func (in *ArangoRouteSpecDestinationService) DeepCopyInto(out *ArangoRouteSpecDestinationService)
- func (a *ArangoRouteSpecDestinationService) GetPort() *intstr.IntOrString
- func (a *ArangoRouteSpecDestinationService) Validate() error
- type ArangoRouteSpecDestinationTLS
- type ArangoRouteSpecOptionUpgrade
- type ArangoRouteSpecOptions
- type ArangoRouteSpecOptionsUpgrade
- type ArangoRouteSpecRoute
- func (a *ArangoRouteSpecRoute) AsStatus() ArangoRouteStatusTargetRoute
- func (in *ArangoRouteSpecRoute) DeepCopy() *ArangoRouteSpecRoute
- func (in *ArangoRouteSpecRoute) DeepCopyInto(out *ArangoRouteSpecRoute)
- func (a *ArangoRouteSpecRoute) GetPath() string
- func (a *ArangoRouteSpecRoute) Validate() error
- type ArangoRouteStatus
- type ArangoRouteStatusTarget
- type ArangoRouteStatusTargetAuthentication
- type ArangoRouteStatusTargetDestination
- type ArangoRouteStatusTargetDestinations
- type ArangoRouteStatusTargetOptionUpgrade
- type ArangoRouteStatusTargetOptions
- type ArangoRouteStatusTargetOptionsUpgrade
- type ArangoRouteStatusTargetRoute
- type ArangoRouteStatusTargetTLS
- type ArangoRouteStatusTargetType
- type ArangoRouteUpgradeOptionType
Constants ¶
const ( ReadyCondition api.ConditionType = "Ready" DeploymentFoundCondition api.ConditionType = "DeploymentFound" DestinationValidCondition api.ConditionType = "DestinationValid" SpecValidCondition api.ConditionType = "SpecValid" )
const (
ArangoNetworkingVersion = string(utilConstants.VersionV1Alpha1)
)
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme SchemeGroupVersion = schema.GroupVersion{Group: networking.ArangoNetworkingGroupName, Version: ArangoNetworkingVersion} )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource gets an ArangoCluster GroupResource for a specified resource
Types ¶
type ArangoRoute ¶
type ArangoRoute struct {
meta.TypeMeta `json:",inline"`
meta.ObjectMeta `json:"metadata,omitempty"`
Spec ArangoRouteSpec `json:"spec"`
Status ArangoRouteStatus `json:"status"`
}
ArangoRoute contains definition and status of the Arango Route.
func (*ArangoRoute) AsOwner ¶
func (a *ArangoRoute) AsOwner() meta.OwnerReference
AsOwner creates an OwnerReference for the given Extension
func (*ArangoRoute) DeepCopy ¶
func (in *ArangoRoute) DeepCopy() *ArangoRoute
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRoute.
func (*ArangoRoute) DeepCopyInto ¶
func (in *ArangoRoute) DeepCopyInto(out *ArangoRoute)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoRoute) DeepCopyObject ¶
func (in *ArangoRoute) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ArangoRoute) GetStatus ¶
func (a *ArangoRoute) GetStatus() ArangoRouteStatus
func (*ArangoRoute) SetStatus ¶
func (a *ArangoRoute) SetStatus(status ArangoRouteStatus)
type ArangoRouteDestinationProtocol ¶
type ArangoRouteDestinationProtocol string
const ( ArangoRouteDestinationProtocolHTTP1 ArangoRouteDestinationProtocol = "http1" ArangoRouteDestinationProtocolHTTP2 ArangoRouteDestinationProtocol = "http2" ArangoRouteDestinationProtocolDefault = ArangoRouteDestinationProtocolHTTP1 )
func (*ArangoRouteDestinationProtocol) Get ¶
func (a *ArangoRouteDestinationProtocol) Get() ArangoRouteDestinationProtocol
func (*ArangoRouteDestinationProtocol) String ¶
func (a *ArangoRouteDestinationProtocol) String() string
func (*ArangoRouteDestinationProtocol) Validate ¶
func (a *ArangoRouteDestinationProtocol) Validate() error
type ArangoRouteList ¶
type ArangoRouteList struct {
meta.TypeMeta `json:",inline"`
meta.ListMeta `json:"metadata,omitempty"`
Items []ArangoRoute `json:"items"`
}
ArangoRouteList is a list of Arango Routes.
func (*ArangoRouteList) DeepCopy ¶
func (in *ArangoRouteList) DeepCopy() *ArangoRouteList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteList.
func (*ArangoRouteList) DeepCopyInto ¶
func (in *ArangoRouteList) DeepCopyInto(out *ArangoRouteList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoRouteList) DeepCopyObject ¶
func (in *ArangoRouteList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ArangoRouteSpec ¶
type ArangoRouteSpec struct {
// Deployment specifies the ArangoDeployment object name
// +doc/required
Deployment *string `json:"deployment,omitempty"`
// Destination defines the route destination
// +doc/required
Destination *ArangoRouteSpecDestination `json:"destination,omitempty"`
// Route defines the route spec
Route *ArangoRouteSpecRoute `json:"route,omitempty"`
// Options defines connection upgrade options
Options *ArangoRouteSpecOptions `json:"options,omitempty"`
}
func (*ArangoRouteSpec) DeepCopy ¶
func (in *ArangoRouteSpec) DeepCopy() *ArangoRouteSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteSpec.
func (*ArangoRouteSpec) DeepCopyInto ¶
func (in *ArangoRouteSpec) DeepCopyInto(out *ArangoRouteSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoRouteSpec) GetDeployment ¶
func (s *ArangoRouteSpec) GetDeployment() string
func (*ArangoRouteSpec) GetDestination ¶
func (s *ArangoRouteSpec) GetDestination() *ArangoRouteSpecDestination
func (*ArangoRouteSpec) GetRoute ¶
func (s *ArangoRouteSpec) GetRoute() *ArangoRouteSpecRoute
func (*ArangoRouteSpec) Validate ¶
func (s *ArangoRouteSpec) Validate() error
type ArangoRouteSpecAuthenticationPassMode ¶
type ArangoRouteSpecAuthenticationPassMode string
const ( ArangoRouteSpecAuthenticationPassModePass ArangoRouteSpecAuthenticationPassMode = "pass" ArangoRouteSpecAuthenticationPassModeOverride ArangoRouteSpecAuthenticationPassMode = "override" ArangoRouteSpecAuthenticationPassModeRemove ArangoRouteSpecAuthenticationPassMode = "remove" )
func (*ArangoRouteSpecAuthenticationPassMode) Hash ¶
func (a *ArangoRouteSpecAuthenticationPassMode) Hash() string
func (*ArangoRouteSpecAuthenticationPassMode) Validate ¶
func (a *ArangoRouteSpecAuthenticationPassMode) Validate() error
type ArangoRouteSpecAuthenticationType ¶
type ArangoRouteSpecAuthenticationType string
const ( ArangoRouteSpecAuthenticationTypeRequired ArangoRouteSpecAuthenticationType = "required" ArangoRouteSpecAuthenticationTypeOptional ArangoRouteSpecAuthenticationType = "optional" )
func (*ArangoRouteSpecAuthenticationType) Get ¶
func (a *ArangoRouteSpecAuthenticationType) Get() ArangoRouteSpecAuthenticationType
func (*ArangoRouteSpecAuthenticationType) Hash ¶
func (a *ArangoRouteSpecAuthenticationType) Hash() string
func (*ArangoRouteSpecAuthenticationType) Validate ¶
func (a *ArangoRouteSpecAuthenticationType) Validate() error
type ArangoRouteSpecDestination ¶
type ArangoRouteSpecDestination struct {
// Service defines service upstream reference
Service *ArangoRouteSpecDestinationService `json:"service,omitempty"`
// Endpoints defines service upstream reference - which is used to find endpoints
Endpoints *ArangoRouteSpecDestinationEndpoints `json:"endpoints,omitempty"`
// Schema defines HTTP/S schema used for connection
// +doc/enum: http|HTTP Connection
// +doc/enum: https|HTTPS Connection (HTTP with TLS)
Schema *ArangoRouteSpecDestinationSchema `json:"schema,omitempty"`
// Protocol defines http protocol used for the route
// +doc/enum: http1|HTTP 1.1 Protocol
// +doc/enum: http2|HTTP 2 Protocol
Protocol *ArangoRouteDestinationProtocol `json:"protocol,omitempty"`
// TLS defines TLS Configuration
TLS *ArangoRouteSpecDestinationTLS `json:"tls,omitempty"`
// Path defines service path used for overrides
Path *string `json:"path,omitempty"`
// Authentication defines auth methods
Authentication *ArangoRouteSpecDestinationAuthentication `json:"authentication,omitempty"`
// Timeout specify the upstream request timeout
// +doc/type: string
// +doc/default: 1m0s
Timeout *meta.Duration `json:"timeout,omitempty"`
}
func (*ArangoRouteSpecDestination) DeepCopy ¶
func (in *ArangoRouteSpecDestination) DeepCopy() *ArangoRouteSpecDestination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteSpecDestination.
func (*ArangoRouteSpecDestination) DeepCopyInto ¶
func (in *ArangoRouteSpecDestination) DeepCopyInto(out *ArangoRouteSpecDestination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoRouteSpecDestination) GetAuthentication ¶
func (a *ArangoRouteSpecDestination) GetAuthentication() *ArangoRouteSpecDestinationAuthentication
func (*ArangoRouteSpecDestination) GetEndpoints ¶
func (a *ArangoRouteSpecDestination) GetEndpoints() *ArangoRouteSpecDestinationEndpoints
func (*ArangoRouteSpecDestination) GetPath ¶
func (a *ArangoRouteSpecDestination) GetPath() string
func (*ArangoRouteSpecDestination) GetProtocol ¶
func (a *ArangoRouteSpecDestination) GetProtocol() *ArangoRouteDestinationProtocol
func (*ArangoRouteSpecDestination) GetSchema ¶
func (a *ArangoRouteSpecDestination) GetSchema() *ArangoRouteSpecDestinationSchema
func (*ArangoRouteSpecDestination) GetService ¶
func (a *ArangoRouteSpecDestination) GetService() *ArangoRouteSpecDestinationService
func (*ArangoRouteSpecDestination) GetTLS ¶
func (a *ArangoRouteSpecDestination) GetTLS() *ArangoRouteSpecDestinationTLS
func (*ArangoRouteSpecDestination) GetTimeout ¶
func (a *ArangoRouteSpecDestination) GetTimeout() meta.Duration
func (*ArangoRouteSpecDestination) Validate ¶
func (a *ArangoRouteSpecDestination) Validate() error
type ArangoRouteSpecDestinationAuthentication ¶
type ArangoRouteSpecDestinationAuthentication struct {
// PassMode define authorization details pass mode when authorization was successful
// +doc/enum: override|Generates new token for the user
// +doc/enum: pass|Pass token provided by the user
// +doc/enum: remove|Removes authorization details from the request
PassMode *ArangoRouteSpecAuthenticationPassMode `json:"passMode,omitempty"`
// Type of the authentication
// +doc/enum: optional|Authentication is header is validated and passed to the service. In case if is unauthorized, requests is still passed
// +doc/enum: required|Authentication is header is validated and passed to the service. In case if is unauthorized, returns 403
Type *ArangoRouteSpecAuthenticationType `json:"type,omitempty"`
}
func (*ArangoRouteSpecDestinationAuthentication) DeepCopy ¶
func (in *ArangoRouteSpecDestinationAuthentication) DeepCopy() *ArangoRouteSpecDestinationAuthentication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteSpecDestinationAuthentication.
func (*ArangoRouteSpecDestinationAuthentication) DeepCopyInto ¶
func (in *ArangoRouteSpecDestinationAuthentication) DeepCopyInto(out *ArangoRouteSpecDestinationAuthentication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoRouteSpecDestinationAuthentication) GetPassMode ¶
func (a *ArangoRouteSpecDestinationAuthentication) GetPassMode() ArangoRouteSpecAuthenticationPassMode
func (*ArangoRouteSpecDestinationAuthentication) GetType ¶
func (a *ArangoRouteSpecDestinationAuthentication) GetType() ArangoRouteSpecAuthenticationType
func (*ArangoRouteSpecDestinationAuthentication) Validate ¶
func (a *ArangoRouteSpecDestinationAuthentication) Validate() error
type ArangoRouteSpecDestinationEndpoints ¶
type ArangoRouteSpecDestinationEndpoints struct {
// Keeps information on the service, which maps then to the endpoints
// +doc/skip: uid
// +doc/skip: checksum
*sharedApi.Object `json:",inline,omitempty"`
// Port defines Port or Port Name used as destination
// +doc/type: intstr.IntOrString
// +doc/required
Port *intstr.IntOrString `json:"port,omitempty"`
}
func (*ArangoRouteSpecDestinationEndpoints) DeepCopy ¶
func (in *ArangoRouteSpecDestinationEndpoints) DeepCopy() *ArangoRouteSpecDestinationEndpoints
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteSpecDestinationEndpoints.
func (*ArangoRouteSpecDestinationEndpoints) DeepCopyInto ¶
func (in *ArangoRouteSpecDestinationEndpoints) DeepCopyInto(out *ArangoRouteSpecDestinationEndpoints)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoRouteSpecDestinationEndpoints) GetPort ¶
func (a *ArangoRouteSpecDestinationEndpoints) GetPort() *intstr.IntOrString
func (*ArangoRouteSpecDestinationEndpoints) Validate ¶
func (a *ArangoRouteSpecDestinationEndpoints) Validate() error
type ArangoRouteSpecDestinationSchema ¶
type ArangoRouteSpecDestinationSchema string
const ( ArangoRouteSpecDestinationSchemaHTTP ArangoRouteSpecDestinationSchema = "http" ArangoRouteSpecDestinationSchemaHTTPS ArangoRouteSpecDestinationSchema = "https" ArangoRouteSpecDestinationSchemaDefault = ArangoRouteSpecDestinationSchemaHTTP )
func (*ArangoRouteSpecDestinationSchema) Get ¶
func (a *ArangoRouteSpecDestinationSchema) Get() ArangoRouteSpecDestinationSchema
func (*ArangoRouteSpecDestinationSchema) String ¶
func (a *ArangoRouteSpecDestinationSchema) String() string
func (*ArangoRouteSpecDestinationSchema) Validate ¶
func (a *ArangoRouteSpecDestinationSchema) Validate() error
type ArangoRouteSpecDestinationService ¶
type ArangoRouteSpecDestinationService struct {
// +doc/skip: uid
// +doc/skip: checksum
*sharedApi.Object `json:",inline,omitempty"`
// Port defines Port or Port Name used as destination
// +doc/type: intstr.IntOrString
// +doc/required
Port *intstr.IntOrString `json:"port,omitempty"`
}
func (*ArangoRouteSpecDestinationService) DeepCopy ¶
func (in *ArangoRouteSpecDestinationService) DeepCopy() *ArangoRouteSpecDestinationService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteSpecDestinationService.
func (*ArangoRouteSpecDestinationService) DeepCopyInto ¶
func (in *ArangoRouteSpecDestinationService) DeepCopyInto(out *ArangoRouteSpecDestinationService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoRouteSpecDestinationService) GetPort ¶
func (a *ArangoRouteSpecDestinationService) GetPort() *intstr.IntOrString
func (*ArangoRouteSpecDestinationService) Validate ¶
func (a *ArangoRouteSpecDestinationService) Validate() error
type ArangoRouteSpecDestinationTLS ¶
type ArangoRouteSpecDestinationTLS struct {
// Insecure allows Insecure traffic
Insecure *bool `json:"insecure,omitempty"`
}
func (*ArangoRouteSpecDestinationTLS) DeepCopy ¶
func (in *ArangoRouteSpecDestinationTLS) DeepCopy() *ArangoRouteSpecDestinationTLS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteSpecDestinationTLS.
func (*ArangoRouteSpecDestinationTLS) DeepCopyInto ¶
func (in *ArangoRouteSpecDestinationTLS) DeepCopyInto(out *ArangoRouteSpecDestinationTLS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoRouteSpecDestinationTLS) GetInsecure ¶
func (a *ArangoRouteSpecDestinationTLS) GetInsecure() bool
func (*ArangoRouteSpecDestinationTLS) Validate ¶
func (a *ArangoRouteSpecDestinationTLS) Validate() error
type ArangoRouteSpecOptionUpgrade ¶
type ArangoRouteSpecOptionUpgrade struct {
// Type defines type of the Upgrade
// +doc/enum: websocket|HTTP WebSocket Upgrade type
Type ArangoRouteUpgradeOptionType `json:"type"`
// Enabled defines if upgrade option is enabled
Enabled *bool `json:"enabled,omitempty"`
}
func (*ArangoRouteSpecOptionUpgrade) DeepCopy ¶
func (in *ArangoRouteSpecOptionUpgrade) DeepCopy() *ArangoRouteSpecOptionUpgrade
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteSpecOptionUpgrade.
func (*ArangoRouteSpecOptionUpgrade) DeepCopyInto ¶
func (in *ArangoRouteSpecOptionUpgrade) DeepCopyInto(out *ArangoRouteSpecOptionUpgrade)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ArangoRouteSpecOptionUpgrade) Validate ¶
func (a ArangoRouteSpecOptionUpgrade) Validate() error
type ArangoRouteSpecOptions ¶
type ArangoRouteSpecOptions struct {
// Upgrade keeps the connection upgrade options
Upgrade ArangoRouteSpecOptionsUpgrade `json:"upgrade,omitempty"`
}
func (*ArangoRouteSpecOptions) AsStatus ¶
func (a *ArangoRouteSpecOptions) AsStatus() *ArangoRouteStatusTargetOptions
func (*ArangoRouteSpecOptions) DeepCopy ¶
func (in *ArangoRouteSpecOptions) DeepCopy() *ArangoRouteSpecOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteSpecOptions.
func (*ArangoRouteSpecOptions) DeepCopyInto ¶
func (in *ArangoRouteSpecOptions) DeepCopyInto(out *ArangoRouteSpecOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoRouteSpecOptions) Validate ¶
func (a *ArangoRouteSpecOptions) Validate() error
type ArangoRouteSpecOptionsUpgrade ¶
type ArangoRouteSpecOptionsUpgrade []ArangoRouteSpecOptionUpgrade
func (ArangoRouteSpecOptionsUpgrade) DeepCopy ¶
func (in ArangoRouteSpecOptionsUpgrade) DeepCopy() ArangoRouteSpecOptionsUpgrade
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteSpecOptionsUpgrade.
func (ArangoRouteSpecOptionsUpgrade) DeepCopyInto ¶
func (in ArangoRouteSpecOptionsUpgrade) DeepCopyInto(out *ArangoRouteSpecOptionsUpgrade)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ArangoRouteSpecOptionsUpgrade) Validate ¶
func (a ArangoRouteSpecOptionsUpgrade) Validate() error
type ArangoRouteSpecRoute ¶
type ArangoRouteSpecRoute struct {
// Path specifies the Path route
Path *string `json:"path,omitempty"`
}
func (*ArangoRouteSpecRoute) AsStatus ¶
func (a *ArangoRouteSpecRoute) AsStatus() ArangoRouteStatusTargetRoute
func (*ArangoRouteSpecRoute) DeepCopy ¶
func (in *ArangoRouteSpecRoute) DeepCopy() *ArangoRouteSpecRoute
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteSpecRoute.
func (*ArangoRouteSpecRoute) DeepCopyInto ¶
func (in *ArangoRouteSpecRoute) DeepCopyInto(out *ArangoRouteSpecRoute)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoRouteSpecRoute) GetPath ¶
func (a *ArangoRouteSpecRoute) GetPath() string
func (*ArangoRouteSpecRoute) Validate ¶
func (a *ArangoRouteSpecRoute) Validate() error
type ArangoRouteStatus ¶
type ArangoRouteStatus struct {
// Conditions specific to the entire extension
// +doc/type: api.Conditions
Conditions api.ConditionList `json:"conditions,omitempty"`
// Deployment keeps the ArangoDeployment reference
Deployment *sharedApi.Object `json:"deployment,omitempty"`
// Target keeps the target details
Target *ArangoRouteStatusTarget `json:"target,omitempty"`
}
func (*ArangoRouteStatus) DeepCopy ¶
func (in *ArangoRouteStatus) DeepCopy() *ArangoRouteStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteStatus.
func (*ArangoRouteStatus) DeepCopyInto ¶
func (in *ArangoRouteStatus) DeepCopyInto(out *ArangoRouteStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArangoRouteStatusTarget ¶
type ArangoRouteStatusTarget struct {
// Destinations keeps target destinations
Destinations ArangoRouteStatusTargetDestinations `json:"destinations,omitempty"`
// Type define destination type
Type ArangoRouteStatusTargetType `json:"type,omitempty"`
// TLS Keeps target TLS Settings (if not nil, TLS is enabled)
TLS *ArangoRouteStatusTargetTLS `json:"tls,omitempty"`
// Protocol defines http protocol used for the route
Protocol ArangoRouteDestinationProtocol `json:"protocol,omitempty"`
// Authentication specifies the authentication details
Authentication ArangoRouteStatusTargetAuthentication `json:"authentication,omitempty"`
// Options defines connection upgrade options
Options *ArangoRouteStatusTargetOptions `json:"options,omitempty"`
// Path specifies request path override
Path string `json:"path,omitempty"`
// Route defines the route status
Route ArangoRouteStatusTargetRoute `json:"route,omitempty"`
// Timeout specify the upstream request timeout
Timeout meta.Duration `json:"timeout,omitempty"`
}
func (*ArangoRouteStatusTarget) DeepCopy ¶
func (in *ArangoRouteStatusTarget) DeepCopy() *ArangoRouteStatusTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteStatusTarget.
func (*ArangoRouteStatusTarget) DeepCopyInto ¶
func (in *ArangoRouteStatusTarget) DeepCopyInto(out *ArangoRouteStatusTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoRouteStatusTarget) Hash ¶
func (a *ArangoRouteStatusTarget) Hash() string
func (*ArangoRouteStatusTarget) RenderURLs ¶
func (a *ArangoRouteStatusTarget) RenderURLs() []string
type ArangoRouteStatusTargetAuthentication ¶
type ArangoRouteStatusTargetAuthentication struct {
Type ArangoRouteSpecAuthenticationType `json:"type,omitempty"`
PassMode ArangoRouteSpecAuthenticationPassMode `json:"passMode,omitempty"`
}
func (*ArangoRouteStatusTargetAuthentication) DeepCopy ¶
func (in *ArangoRouteStatusTargetAuthentication) DeepCopy() *ArangoRouteStatusTargetAuthentication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteStatusTargetAuthentication.
func (*ArangoRouteStatusTargetAuthentication) DeepCopyInto ¶
func (in *ArangoRouteStatusTargetAuthentication) DeepCopyInto(out *ArangoRouteStatusTargetAuthentication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoRouteStatusTargetAuthentication) Hash ¶
func (a *ArangoRouteStatusTargetAuthentication) Hash() string
type ArangoRouteStatusTargetDestination ¶
type ArangoRouteStatusTargetDestination struct {
Host string `json:"host,omitempty"`
Port int32 `json:"port,omitempty"`
}
func (*ArangoRouteStatusTargetDestination) DeepCopy ¶
func (in *ArangoRouteStatusTargetDestination) DeepCopy() *ArangoRouteStatusTargetDestination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteStatusTargetDestination.
func (*ArangoRouteStatusTargetDestination) DeepCopyInto ¶
func (in *ArangoRouteStatusTargetDestination) DeepCopyInto(out *ArangoRouteStatusTargetDestination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoRouteStatusTargetDestination) Hash ¶
func (a *ArangoRouteStatusTargetDestination) Hash() string
type ArangoRouteStatusTargetDestinations ¶
type ArangoRouteStatusTargetDestinations []ArangoRouteStatusTargetDestination
func (ArangoRouteStatusTargetDestinations) DeepCopy ¶
func (in ArangoRouteStatusTargetDestinations) DeepCopy() ArangoRouteStatusTargetDestinations
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteStatusTargetDestinations.
func (ArangoRouteStatusTargetDestinations) DeepCopyInto ¶
func (in ArangoRouteStatusTargetDestinations) DeepCopyInto(out *ArangoRouteStatusTargetDestinations)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ArangoRouteStatusTargetDestinations) Hash ¶
func (a ArangoRouteStatusTargetDestinations) Hash() string
type ArangoRouteStatusTargetOptionUpgrade ¶
type ArangoRouteStatusTargetOptionUpgrade struct {
// Type defines type of the Upgrade
// +doc/enum: websocket|HTTP WebSocket Upgrade type
Type ArangoRouteUpgradeOptionType `json:"type"`
// Enabled defines if upgrade option is enabled
Enabled *bool `json:"enabled,omitempty"`
}
func (*ArangoRouteStatusTargetOptionUpgrade) DeepCopy ¶
func (in *ArangoRouteStatusTargetOptionUpgrade) DeepCopy() *ArangoRouteStatusTargetOptionUpgrade
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteStatusTargetOptionUpgrade.
func (*ArangoRouteStatusTargetOptionUpgrade) DeepCopyInto ¶
func (in *ArangoRouteStatusTargetOptionUpgrade) DeepCopyInto(out *ArangoRouteStatusTargetOptionUpgrade)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoRouteStatusTargetOptionUpgrade) Hash ¶
func (a *ArangoRouteStatusTargetOptionUpgrade) Hash() string
type ArangoRouteStatusTargetOptions ¶
type ArangoRouteStatusTargetOptions struct {
// Upgrade keeps the connection upgrade options
Upgrade ArangoRouteStatusTargetOptionsUpgrade `json:"upgrade,omitempty"`
}
func (*ArangoRouteStatusTargetOptions) DeepCopy ¶
func (in *ArangoRouteStatusTargetOptions) DeepCopy() *ArangoRouteStatusTargetOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteStatusTargetOptions.
func (*ArangoRouteStatusTargetOptions) DeepCopyInto ¶
func (in *ArangoRouteStatusTargetOptions) DeepCopyInto(out *ArangoRouteStatusTargetOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoRouteStatusTargetOptions) Hash ¶
func (a *ArangoRouteStatusTargetOptions) Hash() string
type ArangoRouteStatusTargetOptionsUpgrade ¶
type ArangoRouteStatusTargetOptionsUpgrade []ArangoRouteStatusTargetOptionUpgrade
func (ArangoRouteStatusTargetOptionsUpgrade) DeepCopy ¶
func (in ArangoRouteStatusTargetOptionsUpgrade) DeepCopy() ArangoRouteStatusTargetOptionsUpgrade
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteStatusTargetOptionsUpgrade.
func (ArangoRouteStatusTargetOptionsUpgrade) DeepCopyInto ¶
func (in ArangoRouteStatusTargetOptionsUpgrade) DeepCopyInto(out *ArangoRouteStatusTargetOptionsUpgrade)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ArangoRouteStatusTargetOptionsUpgrade) Hash ¶
func (a ArangoRouteStatusTargetOptionsUpgrade) Hash() string
type ArangoRouteStatusTargetRoute ¶
type ArangoRouteStatusTargetRoute struct {
// Path specifies the Path route
Path string `json:"path,omitempty"`
}
func (*ArangoRouteStatusTargetRoute) DeepCopy ¶
func (in *ArangoRouteStatusTargetRoute) DeepCopy() *ArangoRouteStatusTargetRoute
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteStatusTargetRoute.
func (*ArangoRouteStatusTargetRoute) DeepCopyInto ¶
func (in *ArangoRouteStatusTargetRoute) DeepCopyInto(out *ArangoRouteStatusTargetRoute)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ArangoRouteStatusTargetRoute) Hash ¶
func (a ArangoRouteStatusTargetRoute) Hash() string
type ArangoRouteStatusTargetTLS ¶
type ArangoRouteStatusTargetTLS struct {
// Insecure allows Insecure traffic
Insecure *bool `json:"insecure"`
}
func (*ArangoRouteStatusTargetTLS) DeepCopy ¶
func (in *ArangoRouteStatusTargetTLS) DeepCopy() *ArangoRouteStatusTargetTLS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoRouteStatusTargetTLS.
func (*ArangoRouteStatusTargetTLS) DeepCopyInto ¶
func (in *ArangoRouteStatusTargetTLS) DeepCopyInto(out *ArangoRouteStatusTargetTLS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoRouteStatusTargetTLS) Hash ¶
func (a *ArangoRouteStatusTargetTLS) Hash() string
func (*ArangoRouteStatusTargetTLS) IsInsecure ¶
func (a *ArangoRouteStatusTargetTLS) IsInsecure() bool
type ArangoRouteStatusTargetType ¶
type ArangoRouteStatusTargetType string
const ( ArangoRouteStatusTargetServiceType ArangoRouteStatusTargetType = "service" ArangoRouteStatusTargetEndpointsType ArangoRouteStatusTargetType = "endpoints" )
func (ArangoRouteStatusTargetType) Hash ¶
func (a ArangoRouteStatusTargetType) Hash() string
type ArangoRouteUpgradeOptionType ¶
type ArangoRouteUpgradeOptionType string
const (
ArangoRouteUpgradeOptionWebsocket ArangoRouteUpgradeOptionType = "websocket"
)
func (ArangoRouteUpgradeOptionType) Validate ¶
func (a ArangoRouteUpgradeOptionType) Validate() error
Source Files
¶
- conditions.go
- doc.go
- register.go
- route.go
- route_spec.go
- route_spec_authentication_pass_mode.go
- route_spec_authentication_type.go
- route_spec_destination.go
- route_spec_destination_authentication.go
- route_spec_destination_endpoint.go
- route_spec_destination_schema.go
- route_spec_destination_service.go
- route_spec_destination_tls.go
- route_spec_options.go
- route_spec_options_upgrade.go
- route_spec_protocol.go
- route_spec_route.go
- route_status.go
- route_status_target.go
- route_status_target_authentication.go
- route_status_target_destination.go
- route_status_target_options.go
- route_status_target_options_upgrade.go
- route_status_target_route.go
- route_status_target_tls.go
- route_status_target_type.go
- route_upgrade_type.go
- zz_generated.deepcopy.go