Documentation ¶
Overview ¶
Package v2 contains API Schema definitions for the getambassador.io v2 API group
Index ¶
- Constants
- Variables
- type ACMEProviderSpec
- type AddedHeader
- type AdditionalLogHeaders
- type AmbassadorConfigSpec
- type AmbassadorConfigStatus
- type AmbassadorID
- type AuthService
- type AuthServiceIncludeBody
- type AuthServiceList
- type AuthServiceSpec
- type AuthServiceStatusOnError
- type BoolOrString
- type CORS
- type CircuitBreaker
- type ConsulResolver
- type ConsulResolverList
- type ConsulResolverSpec
- type DomainMap
- type DriverConfig
- type Features
- type Host
- type HostList
- type HostPhase
- type HostSpec
- type HostState
- type HostStatus
- type HostTLSCertificateSource
- type InsecureRequestPolicy
- type KeepAlive
- type KubernetesEndpointResolver
- type KubernetesEndpointResolverList
- type KubernetesEndpointResolverSpec
- type KubernetesServiceResolver
- type KubernetesServiceResolverList
- type KubernetesServiceResolverSpec
- type LoadBalancer
- type LoadBalancerCookie
- type LogService
- type LogServiceList
- type LogServiceSpec
- type Mapping
- type MappingLabels
- type MappingLabelsArray
- type MappingList
- type MappingSpec
- type MappingStatus
- type Module
- type ModuleList
- type ModuleSpec
- type PreviewURLSpec
- type PreviewURLType
- type RateLimitService
- type RateLimitServiceList
- type RateLimitServiceSpec
- type RequestPolicy
- type RetryPolicy
- type StringOrMappingLabels
- type StringOrStringList
- type TCPMapping
- type TCPMappingList
- type TCPMappingSpec
- type TLSConfig
- type TLSContext
- type TLSContextList
- type TLSContextSpec
- type TraceConfig
- type TraceSampling
- type TracingService
- type TracingServiceList
- type TracingServiceSpec
- type UntypedDict
- type UntypedValue
Constants ¶
const ( HostState_Initial = HostState(iota) HostState_Pending HostState_Ready HostState_Error )
const ( HostPhase_NA = HostPhase(iota) HostPhase_DefaultsFilled HostPhase_ACMEUserPrivateKeyCreated HostPhase_ACMEUserRegistered HostPhase_ACMECertificateChallenge )
const ( HostTLSCertificateSource_Unknown = "Unknown" HostTLSCertificateSource_None = "None" HostTLSCertificateSource_Other = "Other" HostTLSCertificateSource_ACME = "ACME" )
const (
PreviewURLType_Path = "Path"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "getambassador.io", Version: "v2"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type ACMEProviderSpec ¶
type ACMEProviderSpec struct { // Specifies who to talk ACME with to get certs. Defaults to Let's // Encrypt; if "none" (case-insensitive), do not try to do ACME for // this Host. Authority string `json:"authority,omitempty"` Email string `json:"email,omitempty"` PrivateKeySecret *corev1.LocalObjectReference `json:"privateKeySecret,omitempty"` // This is normally set automatically Registration string `json:"registration,omitempty"` }
func (*ACMEProviderSpec) DeepCopy ¶ added in v1.6.0
func (in *ACMEProviderSpec) DeepCopy() *ACMEProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEProviderSpec.
func (*ACMEProviderSpec) DeepCopyInto ¶ added in v1.6.0
func (in *ACMEProviderSpec) DeepCopyInto(out *ACMEProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AddedHeader ¶ added in v1.6.0
type AddedHeader struct { String *string Bool *bool Object *UntypedDict }
+kubebuilder:validation:Type="d6e-union:string,boolean,object"
func (*AddedHeader) DeepCopy ¶ added in v1.6.0
func (in *AddedHeader) DeepCopy() *AddedHeader
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddedHeader.
func (*AddedHeader) DeepCopyInto ¶ added in v1.6.0
func (in *AddedHeader) DeepCopyInto(out *AddedHeader)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (AddedHeader) MarshalJSON ¶ added in v1.6.0
func (o AddedHeader) MarshalJSON() ([]byte, error)
MarshalJSON is important both so that we generate the proper output, and to trigger controller-gen to not try to generate jsonschema for our sub-fields: https://github.com/kubernetes-sigs/controller-tools/pull/427
func (*AddedHeader) UnmarshalJSON ¶ added in v1.6.0
func (o *AddedHeader) UnmarshalJSON(data []byte) error
type AdditionalLogHeaders ¶ added in v1.6.0
type AdditionalLogHeaders struct { HeaderName string `json:"header_name,omitempty"` DuringRequest bool `json:"during_request,omitempty"` DuringResponse bool `json:"during_response,omitempty"` DuringTrailer bool `json:"during_trailer,omitempty"` }
func (*AdditionalLogHeaders) DeepCopy ¶ added in v1.6.0
func (in *AdditionalLogHeaders) DeepCopy() *AdditionalLogHeaders
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalLogHeaders.
func (*AdditionalLogHeaders) DeepCopyInto ¶ added in v1.6.0
func (in *AdditionalLogHeaders) DeepCopyInto(out *AdditionalLogHeaders)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AmbassadorConfigSpec ¶ added in v1.6.0
type AmbassadorConfigSpec struct { // Common to all Ambassador objects (and optional). AmbassadorID AmbassadorID `json:"ambassador_id,omitempty"` // admin_port is the port where Ambassador's Envoy will listen for // low-level admin requests. You should almost never need to change // this. AdminPort int `json:"admin_port,omitempty"` // diag_port is the port where Ambassador will listen for requests // to the diagnostic service. DiagPort int `json:"diag_port,omitempty"` // By default Envoy sets server_name response header to 'envoy' // Override it with this variable ServerName string `json:"server_name,omitempty"` // If present, service_port will be the port Ambassador listens // on for microservice access. If not present, Ambassador will // use 8443 if TLS is configured, 8080 otherwise. ServicePort int `json:"service_port,omitempty"` Features *Features `json:"features,omitempty"` // run a custom lua script on every request. see below for more details. LuaScripts string `json:"lua_scripts,omitempty"` // +kubebuilder:validation:Enum={"text", "json"} EnvoyLogType string `json:"envoy_log_type,omitempty"` // envoy_log_path defines the path of log envoy will use. By default this is standard output EnvoyLogPath string `json:"envoy_log_path,omitempty"` LoadBalancer *LoadBalancer `json:"load_balancer,omitempty"` CircuitBreakers *CircuitBreaker `json:"circuit_breakers,omitempty"` RetryPolicy *RetryPolicy `json:"retry_policy,omitempty"` Cors *CORS `json:"cors,omitempty"` // Set the default upstream-connection idle timeout. If not set (the default), upstream // connections will never be closed due to idling. ClusterIdleTimeoutMS int `json:"cluster_idle_timeout_ms,omitempty"` // +kubebuilder:validation:Enum={"safe", "unsafe"} RegexType string `json:"regex_type,omitempty"` // This field controls the RE2 “program size” which is a rough estimate of how complex a compiled regex is to // evaluate. A regex that has a program size greater than the configured value will fail to compile. RegexMaxSize int `json:"regex_max_size,omitempty"` }
AmbassadorConfigSpec defines the desired state of AmbassadorConfig
func (*AmbassadorConfigSpec) DeepCopy ¶ added in v1.6.0
func (in *AmbassadorConfigSpec) DeepCopy() *AmbassadorConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AmbassadorConfigSpec.
func (*AmbassadorConfigSpec) DeepCopyInto ¶ added in v1.6.0
func (in *AmbassadorConfigSpec) DeepCopyInto(out *AmbassadorConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AmbassadorConfigStatus ¶ added in v1.6.0
type AmbassadorConfigStatus struct { }
AmbassadorConfigStatus defines the observed state of AmbassadorConfig
func (*AmbassadorConfigStatus) DeepCopy ¶ added in v1.6.0
func (in *AmbassadorConfigStatus) DeepCopy() *AmbassadorConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AmbassadorConfigStatus.
func (*AmbassadorConfigStatus) DeepCopyInto ¶ added in v1.6.0
func (in *AmbassadorConfigStatus) DeepCopyInto(out *AmbassadorConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AmbassadorID ¶ added in v1.6.0
type AmbassadorID []string
AmbassadorID declares which Ambassador instances should pay attention to this resource. May either be a string or a list of strings. If no value is provided, the default is:
ambassador_id: - "default"
+kubebuilder:validation:Type="d6e-union:string,array"
func (AmbassadorID) DeepCopy ¶ added in v1.6.0
func (in AmbassadorID) DeepCopy() AmbassadorID
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AmbassadorID.
func (AmbassadorID) DeepCopyInto ¶ added in v1.6.0
func (in AmbassadorID) DeepCopyInto(out *AmbassadorID)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AmbassadorID) UnmarshalJSON ¶ added in v1.6.0
func (aid *AmbassadorID) UnmarshalJSON(data []byte) error
type AuthService ¶ added in v1.6.0
type AuthService struct { metav1.TypeMeta `json:""` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AuthServiceSpec `json:"spec,omitempty"` }
AuthService is the Schema for the authservices API
+kubebuilder:object:root=true
func (*AuthService) DeepCopy ¶ added in v1.6.0
func (in *AuthService) DeepCopy() *AuthService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthService.
func (*AuthService) DeepCopyInto ¶ added in v1.6.0
func (in *AuthService) DeepCopyInto(out *AuthService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AuthService) DeepCopyObject ¶ added in v1.6.0
func (in *AuthService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AuthServiceIncludeBody ¶ added in v1.6.0
type AuthServiceIncludeBody struct { // +kubebuilder:validation:Required MaxBytes int `json:"max_bytes,omitempty"` // +kubebuilder:validation:Required AllowPartial bool `json:"allow_partial,omitempty"` }
func (*AuthServiceIncludeBody) DeepCopy ¶ added in v1.6.0
func (in *AuthServiceIncludeBody) DeepCopy() *AuthServiceIncludeBody
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthServiceIncludeBody.
func (*AuthServiceIncludeBody) DeepCopyInto ¶ added in v1.6.0
func (in *AuthServiceIncludeBody) DeepCopyInto(out *AuthServiceIncludeBody)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthServiceList ¶ added in v1.6.0
type AuthServiceList struct { metav1.TypeMeta `json:""` metav1.ListMeta `json:"metadata,omitempty"` Items []AuthService `json:"items"` }
AuthServiceList contains a list of AuthServices.
+kubebuilder:object:root=true
func (*AuthServiceList) DeepCopy ¶ added in v1.6.0
func (in *AuthServiceList) DeepCopy() *AuthServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthServiceList.
func (*AuthServiceList) DeepCopyInto ¶ added in v1.6.0
func (in *AuthServiceList) DeepCopyInto(out *AuthServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AuthServiceList) DeepCopyObject ¶ added in v1.6.0
func (in *AuthServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AuthServiceSpec ¶ added in v1.6.0
type AuthServiceSpec struct { AmbassadorID AmbassadorID `json:"ambassador_id,omitempty"` AuthService string `json:"auth_service,omitempty"` PathPrefix string `json:"path_prefix,omitempty"` TLS *BoolOrString `json:"tls,omitempty"` // +kubebuilder:validation:Enum={"http","grpc"} Proto string `json:"proto,omitempty"` TimeoutMs int `json:"timeout_ms,omitempty"` AllowedRequestHeaders []string `json:"allowed_request_headers,omitempty"` AllowedAuthorizationHeaders []string `json:"allowed_authorization_headers,omitempty"` AddAuthHeaders map[string]BoolOrString `json:"add_auth_headers,omitempty"` AllowRequestBody bool `json:"allow_request_body,omitempty"` AddLinkerdHeaders bool `json:"add_linkerd_headers,omitempty"` FailureModeAllow bool `json:"failure_mode_allow,omitempty"` IncludeBody *AuthServiceIncludeBody `json:"include_body,omitempty"` StatusOnError *AuthServiceStatusOnError `json:"status_on_error,omitempty"` }
AuthServiceSpec defines the desired state of AuthService
func (*AuthServiceSpec) DeepCopy ¶ added in v1.6.0
func (in *AuthServiceSpec) DeepCopy() *AuthServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthServiceSpec.
func (*AuthServiceSpec) DeepCopyInto ¶ added in v1.6.0
func (in *AuthServiceSpec) DeepCopyInto(out *AuthServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthServiceStatusOnError ¶ added in v1.6.0
type AuthServiceStatusOnError struct {
Code int `json:"code,omitempty"`
}
Why isn't this just an int??
func (*AuthServiceStatusOnError) DeepCopy ¶ added in v1.6.0
func (in *AuthServiceStatusOnError) DeepCopy() *AuthServiceStatusOnError
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthServiceStatusOnError.
func (*AuthServiceStatusOnError) DeepCopyInto ¶ added in v1.6.0
func (in *AuthServiceStatusOnError) DeepCopyInto(out *AuthServiceStatusOnError)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BoolOrString ¶ added in v1.6.0
BoolOrString is a type that can hold a Boolean or a string.
+kubebuilder:validation:Type="d6e-union:string,boolean"
func (*BoolOrString) DeepCopy ¶ added in v1.6.0
func (in *BoolOrString) DeepCopy() *BoolOrString
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BoolOrString.
func (*BoolOrString) DeepCopyInto ¶ added in v1.6.0
func (in *BoolOrString) DeepCopyInto(out *BoolOrString)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (BoolOrString) MarshalJSON ¶ added in v1.6.0
func (o BoolOrString) MarshalJSON() ([]byte, error)
MarshalJSON is important both so that we generate the proper output, and to trigger controller-gen to not try to generate jsonschema for our sub-fields: https://github.com/kubernetes-sigs/controller-tools/pull/427
func (*BoolOrString) UnmarshalJSON ¶ added in v1.6.0
func (o *BoolOrString) UnmarshalJSON(data []byte) error
type CORS ¶ added in v1.6.0
type CORS struct { Origins StringOrStringList `json:"origins,omitempty"` Methods StringOrStringList `json:"methods,omitempty"` Headers StringOrStringList `json:"headers,omitempty"` Credentials bool `json:"credentials,omitempty"` ExposedHeaders StringOrStringList `json:"exposed_headers,omitempty"` MaxAge string `json:"max_age,omitempty"` }
func (*CORS) DeepCopy ¶ added in v1.6.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CORS.
func (*CORS) DeepCopyInto ¶ added in v1.6.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CircuitBreaker ¶ added in v1.6.0
type CircuitBreaker struct { // +kubebuilder:validation:Enum={"default", "high"} Priority string `json:"priority,omitempty"` MaxConnections int `json:"max_connections,omitempty"` MaxPendingRequests int `json:"max_pending_requests,omitempty"` MaxRequests int `json:"max_requests,omitempty"` MaxRetries int `json:"max_retries,omitempty"` }
func (*CircuitBreaker) DeepCopy ¶ added in v1.6.0
func (in *CircuitBreaker) DeepCopy() *CircuitBreaker
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CircuitBreaker.
func (*CircuitBreaker) DeepCopyInto ¶ added in v1.6.0
func (in *CircuitBreaker) DeepCopyInto(out *CircuitBreaker)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConsulResolver ¶ added in v1.6.0
type ConsulResolver struct { metav1.TypeMeta `json:""` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ConsulResolverSpec `json:"spec,omitempty"` }
ConsulResolver is the Schema for the ConsulResolver API
+kubebuilder:object:root=true
func (*ConsulResolver) DeepCopy ¶ added in v1.6.0
func (in *ConsulResolver) DeepCopy() *ConsulResolver
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsulResolver.
func (*ConsulResolver) DeepCopyInto ¶ added in v1.6.0
func (in *ConsulResolver) DeepCopyInto(out *ConsulResolver)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConsulResolver) DeepCopyObject ¶ added in v1.6.0
func (in *ConsulResolver) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConsulResolverList ¶ added in v1.6.0
type ConsulResolverList struct { metav1.TypeMeta `json:""` metav1.ListMeta `json:"metadata,omitempty"` Items []ConsulResolver `json:"items"` }
ConsulResolverList contains a list of ConsulResolvers.
+kubebuilder:object:root=true
func (*ConsulResolverList) DeepCopy ¶ added in v1.6.0
func (in *ConsulResolverList) DeepCopy() *ConsulResolverList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsulResolverList.
func (*ConsulResolverList) DeepCopyInto ¶ added in v1.6.0
func (in *ConsulResolverList) DeepCopyInto(out *ConsulResolverList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConsulResolverList) DeepCopyObject ¶ added in v1.6.0
func (in *ConsulResolverList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConsulResolverSpec ¶ added in v1.6.0
type ConsulResolverSpec struct { AmbassadorID AmbassadorID `json:"ambassador_id,omitempty"` Address string `json:"address,omitempty"` Datacenter string `json:"datacenter,omitempty"` }
ConsulResolver tells Ambassador to use Consul to resolve services. In addition to the AmbassadorID, it needs information about which Consul server and DC to use.
func (*ConsulResolverSpec) DeepCopy ¶ added in v1.6.0
func (in *ConsulResolverSpec) DeepCopy() *ConsulResolverSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsulResolverSpec.
func (*ConsulResolverSpec) DeepCopyInto ¶ added in v1.6.0
func (in *ConsulResolverSpec) DeepCopyInto(out *ConsulResolverSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DomainMap ¶ added in v1.7.0
type DomainMap map[string]MappingLabelsArray
func (DomainMap) DeepCopy ¶ added in v1.7.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainMap.
func (DomainMap) DeepCopyInto ¶ added in v1.7.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DriverConfig ¶ added in v1.6.0
type DriverConfig struct {
AdditionalLogHeaders []*AdditionalLogHeaders `json:"additional_log_headers,omitempty"`
}
func (*DriverConfig) DeepCopy ¶ added in v1.6.0
func (in *DriverConfig) DeepCopy() *DriverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DriverConfig.
func (*DriverConfig) DeepCopyInto ¶ added in v1.6.0
func (in *DriverConfig) DeepCopyInto(out *DriverConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Features ¶ added in v1.6.0
type Features struct { // The diagnostic service (at /ambassador/v0/diag/) defaults on, but // you can disable the api route. It will remain accessible on // diag_port. Diagnostics bool `json:"diagnostics,omitempty"` // Should we automatically add Linkerd `l5d-dst-override` headers? LinkerdHeaders bool `json:"linkerd_headers,omitempty"` // Should we enable the gRPC-http11 bridge? GrpcHttp11Bridge bool `json:"grpc_http11_bridge,omitempty"` // Should we enable the grpc-Web protocol? GrpcWeb bool `json:"grpc_web,omitempty"` // Should we enable http/1.0 protocol? Http10 bool `json:"http10,omitempty"` // Should we do IPv4 DNS lookups when contacting services? Defaults to true, // but can be overridden in a [`Mapping`](/reference/mappings). Ipv4Dns bool `json:"ipv4_dns,omitempty"` // Should we do IPv6 DNS lookups when contacting services? Defaults to false, // but can be overridden in a [`Mapping`](/reference/mappings). Ipv6Dns bool `json:"ipv6_dns,omitempty"` // liveness_probe defaults on, but you can disable the api route. // It will remain accessible on diag_port. LivenessProbe bool `json:"liveness_probe,omitempty"` // readiness_probe defaults on, but you can disable the api route. // It will remain accessible on diag_port. ReadinessProbe bool `json:"readiness_probe,omitempty"` // xff_num_trusted_hops controls the how Envoy sets the trusted // client IP address of a request. If you have a proxy in front // of Ambassador, Envoy will set the trusted client IP to the // address of that proxy. To preserve the orginal client IP address, // setting x_num_trusted_hops: 1 will tell Envoy to use the client IP // address in X-Forwarded-For. Please see the envoy documentation for // more information: https://www.envoyproxy.io/docs/envoy/latest/configuration/http_conn_man/headers#x-forwarded-for XffNumTrustedHops int `json:"xff_num_trusted_hops,omitempty"` // proxy_proto controls whether Envoy will honor the PROXY // protocol on incoming requests. ProxyProto bool `json:"proxy_proto,omitempty"` // remote_address controls whether Envoy will trust the remote // address of incoming connections or rely exclusively on the // X-Forwarded_For header. RemoteAddress bool `json:"remote_address,omitempty"` // Ambassador lets through only the HTTP requests with // `X-FORWARDED-PROTO: https` header set, and redirects all the other // requests to HTTPS if this field is set to true. Note that `use_remote_address` // must be set to false for this feature to work as expected. XForwardedProtoRedirect bool `json:"x_forwarded_proto_redirect,omitempty"` }
func (*Features) DeepCopy ¶ added in v1.6.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Features.
func (*Features) DeepCopyInto ¶ added in v1.6.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Host ¶
type Host struct { metav1.TypeMeta `json:""` metav1.ObjectMeta `json:"metadata,omitempty"` Spec *HostSpec `json:"spec,omitempty"` Status HostStatus `json:"status,omitempty"` }
Host is the Schema for the hosts API
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Hostname",type=string,JSONPath=`.spec.hostname` +kubebuilder:printcolumn:name="State",type=string,JSONPath=`.status.state` +kubebuilder:printcolumn:name="Phase Completed",type=string,JSONPath=`.status.phaseCompleted` +kubebuilder:printcolumn:name="Phase Pending",type=string,JSONPath=`.status.phasePending` +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
func (*Host) DeepCopy ¶ added in v1.6.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Host.
func (*Host) DeepCopyInto ¶ added in v1.6.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Host) DeepCopyObject ¶ added in v1.6.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HostList ¶ added in v1.6.0
type HostList struct { metav1.TypeMeta `json:""` metav1.ListMeta `json:"metadata,omitempty"` Items []Host `json:"items"` }
HostList contains a list of Hosts.
+kubebuilder:object:root=true
func (*HostList) DeepCopy ¶ added in v1.6.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostList.
func (*HostList) DeepCopyInto ¶ added in v1.6.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostList) DeepCopyObject ¶ added in v1.6.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HostPhase ¶
type HostPhase int
+kubebuilder:validation:Type=string +kubebuilder:validation:Enum={"NA","DefaultsFilled","ACMEUserPrivateKeyCreated","ACMEUserRegistered","ACMECertificateChallenge"}
func (HostPhase) MarshalJSON ¶ added in v1.6.0
func (*HostPhase) UnmarshalJSON ¶ added in v1.6.0
type HostSpec ¶
type HostSpec struct { // Common to all Ambassador objects (and optional). AmbassadorID AmbassadorID `json:"ambassador_id,omitempty"` // A compatibility alias for "ambassador_id"; because Host // used to be specified with protobuf, and jsonpb allowed // either "ambassador_id" or "ambassadorId", and even though // we didn't tell people about "ambassadorId" it's what the // web policy console generated because of jsonpb. So Hosts // with 'ambassadorId' exist in the wild. DeprecatedAmbassadorID AmbassadorID `json:"ambassadorId,omitempty"` // Hostname by which the Ambassador can be reached. Hostname string `json:"hostname,omitempty"` // Selector by which we can find further configuration. Defaults to hostname=$hostname Selector *metav1.LabelSelector `json:"selector,omitempty"` // Specifies whether/who to talk ACME with to automatically manage the $tlsSecret. AcmeProvider *ACMEProviderSpec `json:"acmeProvider,omitempty"` // Name of the Kubernetes secret into which to save generated // certificates. If ACME is enabled (see $acmeProvider), then the // default is $hostname; otherwise the default is "". If the value // is "", then we do not do TLS for this Host. TLSSecret *corev1.LocalObjectReference `json:"tlsSecret,omitempty"` // Request policy definition. RequestPolicy *RequestPolicy `json:"requestPolicy,omitempty"` // Configuration for the Preview URL feature of Service Preview. Defaults to preview URLs not enabled. PreviewUrl *PreviewURLSpec `json:"previewUrl,omitempty"` // Name of the TLSContext the Host resource is linked with. // It is not valid to specify both `tlsContext` and `tls`. TLSContext *corev1.LocalObjectReference `json:"tlsContext,omitempty"` // TLS configuration. It is not valid to specify both // `tlsContext` and `tls`. TLS *TLSConfig `json:"tls,omitempty"` }
HostSpec defines the desired state of Host
func (*HostSpec) DeepCopy ¶ added in v1.6.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostSpec.
func (*HostSpec) DeepCopyInto ¶ added in v1.6.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostState ¶
type HostState int
The first value listed in the Enum marker becomes the "zero" value, and it would be great if "Pending" could be the default value; but it's Important that the "zero" value be able to be shown as empty/omitted from display, and we really do want `kubectl get hosts` to say "Pending" in the "STATE" column, and not leave the column empty.
+kubebuilder:validation:Type=string +kubebuilder:validation:Enum={"Initial","Pending","Ready","Error"}
func (HostState) MarshalJSON ¶ added in v1.6.0
func (*HostState) UnmarshalJSON ¶ added in v1.6.0
type HostStatus ¶
type HostStatus struct { TLSCertificateSource HostTLSCertificateSource `json:"tlsCertificateSource,omitempty"` State HostState `json:"state,omitempty"` // phaseCompleted and phasePending are valid when state==Pending or // state==Error. PhaseCompleted HostPhase `json:"phaseCompleted,omitempty"` // phaseCompleted and phasePending are valid when state==Pending or // state==Error. PhasePending HostPhase `json:"phasePending,omitempty"` // errorReason, errorTimestamp, and errorBackoff are valid when state==Error. ErrorReason string `json:"errorReason,omitempty"` ErrorTimestamp *metav1.Time `json:"errorTimestamp,omitempty"` ErrorBackoff *metav1.Duration `json:"errorBackoff,omitempty"` }
HostStatus defines the observed state of Host
func (*HostStatus) DeepCopy ¶ added in v1.6.0
func (in *HostStatus) DeepCopy() *HostStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostStatus.
func (*HostStatus) DeepCopyInto ¶ added in v1.6.0
func (in *HostStatus) DeepCopyInto(out *HostStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostTLSCertificateSource ¶
type HostTLSCertificateSource string
+kubebuilder:validation:Enum={"Unknown","None","Other","ACME"}
type InsecureRequestPolicy ¶
type InsecureRequestPolicy struct { // +kubebuilder:validation:Enum={"Redirect","Reject","Route"} Action string `json:"action,omitempty"` AdditionalPort int `json:"additionalPort,omitempty"` }
func (*InsecureRequestPolicy) DeepCopy ¶ added in v1.6.0
func (in *InsecureRequestPolicy) DeepCopy() *InsecureRequestPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsecureRequestPolicy.
func (*InsecureRequestPolicy) DeepCopyInto ¶ added in v1.6.0
func (in *InsecureRequestPolicy) DeepCopyInto(out *InsecureRequestPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeepAlive ¶ added in v1.6.0
type KeepAlive struct { Probes int `json:"probes,omitempty"` IdleTime int `json:"idle_time,omitempty"` Interval int `json:"interval,omitempty"` }
func (*KeepAlive) DeepCopy ¶ added in v1.6.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeepAlive.
func (*KeepAlive) DeepCopyInto ¶ added in v1.6.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesEndpointResolver ¶ added in v1.6.0
type KubernetesEndpointResolver struct { metav1.TypeMeta `json:""` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KubernetesEndpointResolverSpec `json:"spec,omitempty"` }
KubernetesEndpointResolver is the Schema for the kubernetesendpointresolver API
+kubebuilder:object:root=true
func (*KubernetesEndpointResolver) DeepCopy ¶ added in v1.6.0
func (in *KubernetesEndpointResolver) DeepCopy() *KubernetesEndpointResolver
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesEndpointResolver.
func (*KubernetesEndpointResolver) DeepCopyInto ¶ added in v1.6.0
func (in *KubernetesEndpointResolver) DeepCopyInto(out *KubernetesEndpointResolver)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KubernetesEndpointResolver) DeepCopyObject ¶ added in v1.6.0
func (in *KubernetesEndpointResolver) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KubernetesEndpointResolverList ¶ added in v1.6.0
type KubernetesEndpointResolverList struct { metav1.TypeMeta `json:""` metav1.ListMeta `json:"metadata,omitempty"` Items []KubernetesEndpointResolver `json:"items"` }
KubernetesEndpointResolverList contains a list of KubernetesEndpointResolvers.
+kubebuilder:object:root=true
func (*KubernetesEndpointResolverList) DeepCopy ¶ added in v1.6.0
func (in *KubernetesEndpointResolverList) DeepCopy() *KubernetesEndpointResolverList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesEndpointResolverList.
func (*KubernetesEndpointResolverList) DeepCopyInto ¶ added in v1.6.0
func (in *KubernetesEndpointResolverList) DeepCopyInto(out *KubernetesEndpointResolverList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KubernetesEndpointResolverList) DeepCopyObject ¶ added in v1.6.0
func (in *KubernetesEndpointResolverList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KubernetesEndpointResolverSpec ¶ added in v1.6.0
type KubernetesEndpointResolverSpec struct {
AmbassadorID AmbassadorID `json:"ambassador_id,omitempty"`
}
KubernetesEndpointResolver tells Ambassador to use Kubernetes Endpoints resources to resolve services. It actually has no spec other than the AmbassadorID.
func (*KubernetesEndpointResolverSpec) DeepCopy ¶ added in v1.6.0
func (in *KubernetesEndpointResolverSpec) DeepCopy() *KubernetesEndpointResolverSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesEndpointResolverSpec.
func (*KubernetesEndpointResolverSpec) DeepCopyInto ¶ added in v1.6.0
func (in *KubernetesEndpointResolverSpec) DeepCopyInto(out *KubernetesEndpointResolverSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesServiceResolver ¶ added in v1.6.0
type KubernetesServiceResolver struct { metav1.TypeMeta `json:""` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KubernetesServiceResolverSpec `json:"spec,omitempty"` }
KubernetesServiceResolver is the Schema for the kubernetesserviceresolver API
+kubebuilder:object:root=true
func (*KubernetesServiceResolver) DeepCopy ¶ added in v1.6.0
func (in *KubernetesServiceResolver) DeepCopy() *KubernetesServiceResolver
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesServiceResolver.
func (*KubernetesServiceResolver) DeepCopyInto ¶ added in v1.6.0
func (in *KubernetesServiceResolver) DeepCopyInto(out *KubernetesServiceResolver)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KubernetesServiceResolver) DeepCopyObject ¶ added in v1.6.0
func (in *KubernetesServiceResolver) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KubernetesServiceResolverList ¶ added in v1.6.0
type KubernetesServiceResolverList struct { metav1.TypeMeta `json:""` metav1.ListMeta `json:"metadata,omitempty"` Items []KubernetesServiceResolver `json:"items"` }
KubernetesServiceResolverList contains a list of KubernetesServiceResolvers.
+kubebuilder:object:root=true
func (*KubernetesServiceResolverList) DeepCopy ¶ added in v1.6.0
func (in *KubernetesServiceResolverList) DeepCopy() *KubernetesServiceResolverList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesServiceResolverList.
func (*KubernetesServiceResolverList) DeepCopyInto ¶ added in v1.6.0
func (in *KubernetesServiceResolverList) DeepCopyInto(out *KubernetesServiceResolverList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KubernetesServiceResolverList) DeepCopyObject ¶ added in v1.6.0
func (in *KubernetesServiceResolverList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KubernetesServiceResolverSpec ¶ added in v1.6.0
type KubernetesServiceResolverSpec struct {
AmbassadorID AmbassadorID `json:"ambassador_id,omitempty"`
}
KubernetesServiceResolver tells Ambassador to use Kubernetes Service resources to resolve services. It actually has no spec other than the AmbassadorID.
func (*KubernetesServiceResolverSpec) DeepCopy ¶ added in v1.6.0
func (in *KubernetesServiceResolverSpec) DeepCopy() *KubernetesServiceResolverSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesServiceResolverSpec.
func (*KubernetesServiceResolverSpec) DeepCopyInto ¶ added in v1.6.0
func (in *KubernetesServiceResolverSpec) DeepCopyInto(out *KubernetesServiceResolverSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancer ¶ added in v1.6.0
type LoadBalancer struct { // +kubebuilder:validation:Enum={"round_robin","ring_hash","maglev","least_request"} // +kubebuilder:validation:Required Policy string `json:"policy,omitempty"` Cookie *LoadBalancerCookie `json:"cookie,omitempty"` Header string `json:"header,omitempty"` SourceIp bool `json:"source_ip,omitempty"` }
func (*LoadBalancer) DeepCopy ¶ added in v1.6.0
func (in *LoadBalancer) DeepCopy() *LoadBalancer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancer.
func (*LoadBalancer) DeepCopyInto ¶ added in v1.6.0
func (in *LoadBalancer) DeepCopyInto(out *LoadBalancer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancerCookie ¶ added in v1.6.0
type LoadBalancerCookie struct { // +kubebuilder:validation:Required Name string `json:"name,omitempty"` Path string `json:"path,omitempty"` Ttl string `json:"ttl,omitempty"` }
func (*LoadBalancerCookie) DeepCopy ¶ added in v1.6.0
func (in *LoadBalancerCookie) DeepCopy() *LoadBalancerCookie
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerCookie.
func (*LoadBalancerCookie) DeepCopyInto ¶ added in v1.6.0
func (in *LoadBalancerCookie) DeepCopyInto(out *LoadBalancerCookie)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogService ¶ added in v1.6.0
type LogService struct { metav1.TypeMeta `json:""` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LogServiceSpec `json:"spec,omitempty"` }
LogService is the Schema for the logservices API
+kubebuilder:object:root=true
func (*LogService) DeepCopy ¶ added in v1.6.0
func (in *LogService) DeepCopy() *LogService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogService.
func (*LogService) DeepCopyInto ¶ added in v1.6.0
func (in *LogService) DeepCopyInto(out *LogService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogService) DeepCopyObject ¶ added in v1.6.0
func (in *LogService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LogServiceList ¶ added in v1.6.0
type LogServiceList struct { metav1.TypeMeta `json:""` metav1.ListMeta `json:"metadata,omitempty"` Items []LogService `json:"items"` }
LogServiceList contains a list of LogServices.
+kubebuilder:object:root=true
func (*LogServiceList) DeepCopy ¶ added in v1.6.0
func (in *LogServiceList) DeepCopy() *LogServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogServiceList.
func (*LogServiceList) DeepCopyInto ¶ added in v1.6.0
func (in *LogServiceList) DeepCopyInto(out *LogServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogServiceList) DeepCopyObject ¶ added in v1.6.0
func (in *LogServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LogServiceSpec ¶ added in v1.6.0
type LogServiceSpec struct { AmbassadorID AmbassadorID `json:"ambassador_id,omitempty"` Service string `json:"service,omitempty"` // +kubebuilder:validation:Enum={"tcp","http"} Driver string `json:"driver,omitempty"` DriverConfig *DriverConfig `json:"driver_config,omitempty"` FlushIntervalTime int `json:"flush_interval_time,omitempty"` FlushIntervalByteSize int `json:"flush_interval_byte_size,omitempty"` GRPC bool `json:"grpc,omitempty"` }
LogServiceSpec defines the desired state of LogService
func (*LogServiceSpec) DeepCopy ¶ added in v1.6.0
func (in *LogServiceSpec) DeepCopy() *LogServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogServiceSpec.
func (*LogServiceSpec) DeepCopyInto ¶ added in v1.6.0
func (in *LogServiceSpec) DeepCopyInto(out *LogServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Mapping ¶ added in v1.6.0
type Mapping struct { metav1.TypeMeta `json:""` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MappingSpec `json:"spec,omitempty"` Status *MappingStatus `json:"status,omitempty"` }
Mapping is the Schema for the mappings API
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Prefix",type=string,JSONPath=`.spec.prefix` +kubebuilder:printcolumn:name="Service",type=string,JSONPath=`.spec.service` +kubebuilder:printcolumn:name="State",type=string,JSONPath=`.status.state` +kubebuilder:printcolumn:name="Reason",type=string,JSONPath=`.status.reason`
func (*Mapping) DeepCopy ¶ added in v1.6.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Mapping.
func (*Mapping) DeepCopyInto ¶ added in v1.6.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Mapping) DeepCopyObject ¶ added in v1.6.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MappingLabels ¶ added in v1.6.0
type MappingLabels map[string]StringOrMappingLabels
Python: MappingLabels = Dict[str, Union[str,'MappingLabels']]
func (MappingLabels) DeepCopy ¶ added in v1.6.0
func (in MappingLabels) DeepCopy() MappingLabels
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingLabels.
func (MappingLabels) DeepCopyInto ¶ added in v1.6.0
func (in MappingLabels) DeepCopyInto(out *MappingLabels)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MappingLabelsArray ¶ added in v1.7.0
type MappingLabelsArray []MappingLabels
func (MappingLabelsArray) DeepCopy ¶ added in v1.7.0
func (in MappingLabelsArray) DeepCopy() MappingLabelsArray
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingLabelsArray.
func (MappingLabelsArray) DeepCopyInto ¶ added in v1.7.0
func (in MappingLabelsArray) DeepCopyInto(out *MappingLabelsArray)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MappingList ¶ added in v1.6.0
type MappingList struct { metav1.TypeMeta `json:""` metav1.ListMeta `json:"metadata,omitempty"` Items []Mapping `json:"items"` }
MappingList contains a list of Mappings.
+kubebuilder:object:root=true
func (*MappingList) DeepCopy ¶ added in v1.6.0
func (in *MappingList) DeepCopy() *MappingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingList.
func (*MappingList) DeepCopyInto ¶ added in v1.6.0
func (in *MappingList) DeepCopyInto(out *MappingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MappingList) DeepCopyObject ¶ added in v1.6.0
func (in *MappingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MappingSpec ¶ added in v1.6.0
type MappingSpec struct { AmbassadorID AmbassadorID `json:"ambassador_id,omitempty"` Prefix string `json:"prefix,omitempty"` PrefixRegex bool `json:"prefix_regex,omitempty"` PrefixExact bool `json:"prefix_exact,omitempty"` Service string `json:"service,omitempty"` AddRequestHeaders map[string]AddedHeader `json:"add_request_headers,omitempty"` AddResponseHeaders map[string]AddedHeader `json:"add_response_headers,omitempty"` AddLinkerdHeaders bool `json:"add_linkerd_headers,omitempty"` AutoHostRewrite bool `json:"auto_host_rewrite,omitempty"` CaseSensitive bool `json:"case_sensitive,omitempty"` EnableIPv4 bool `json:"enable_ipv4,omitempty"` EnableIPv6 bool `json:"enable_ipv6,omitempty"` CircuitBreakers []*CircuitBreaker `json:"circuit_breakers,omitempty"` KeepAlive *KeepAlive `json:"keepalive,omitempty"` CORS *CORS `json:"cors,omitempty"` RetryPolicy *RetryPolicy `json:"retry_policy,omitempty"` GRPC bool `json:"grpc,omitempty"` HostRedirect bool `json:"host_redirect,omitempty"` HostRewrite string `json:"host_rewrite,omitempty"` Method string `json:"method,omitempty"` MethodRegex bool `json:"method_regex,omitempty"` OutlierDetection string `json:"outlier_detection,omitempty"` PathRedirect string `json:"path_redirect,omitempty"` Priority string `json:"priority,omitempty"` Precedence int `json:"precedence,omitempty"` ClusterTag string `json:"cluster_tag,omitempty"` RemoveRequestHeaders StringOrStringList `json:"remove_request_headers,omitempty"` RemoveResponseHeaders StringOrStringList `json:"remove_response_headers,omitempty"` Resolver string `json:"resolver,omitempty"` Rewrite *string `json:"rewrite,omitempty"` RegexRewrite map[string]BoolOrString `json:"regex_rewrite,omitempty"` Shadow bool `json:"shadow,omitempty"` ConnectTimeoutMs int `json:"connect_timeout_ms,omitempty"` ClusterIdleTimeoutMs int `json:"cluster_idle_timeout_ms,omitempty"` TimeoutMs int `json:"timeout_ms,omitempty"` IdleTimeoutMs int `json:"idle_timeout_ms,omitempty"` TLS *BoolOrString `json:"tls,omitempty"` // use_websocket is deprecated, and is equivlaent to setting // `allow_upgrade: ["websocket"]` UseWebsocket bool `json:"use_websocket,omitempty"` // A case-insensitive list of the non-HTTP protocols to allow // "upgrading" to from HTTP via the "Connection: upgrade" // mechanism[1]. After the upgrade, Ambassador does not // interpret the traffic, and behaves similarly to how it does // for TCPMappings. // // [1]: https://tools.ietf.org/html/rfc7230#section-6.7 // // For example, if your upstream service supports WebSockets, // you would write // // allow_upgrade: // - websocket // // Or if your upstream service supports upgrading from HTTP to // SPDY (as the Kubernetes apiserver does for `kubectl exec` // functionality), you would write // // allow_upgrade: // - spdy/3.1 AllowUpgrade []string `json:"allow_upgrade,omitempty"` Weight int `json:"weight,omitempty"` BypassAuth bool `json:"bypass_auth,omitempty"` Modules []UntypedDict `json:"modules,omitempty"` Host string `json:"host,omitempty"` HostRegex bool `json:"host_regex,omitempty"` Headers map[string]BoolOrString `json:"headers,omitempty"` RegexHeaders map[string]BoolOrString `json:"regex_headers,omitempty"` Labels DomainMap `json:"labels,omitempty"` EnvoyOverride *UntypedDict `json:"envoy_override,omitempty"` LoadBalancer *LoadBalancer `json:"load_balancer,omitempty"` QueryParameters map[string]BoolOrString `json:"query_parameters,omitempty"` RegexQueryParameters map[string]BoolOrString `json:"regex_query_parameters,omitempty"` }
MappingSpec defines the desired state of Mapping
func (*MappingSpec) DeepCopy ¶ added in v1.6.0
func (in *MappingSpec) DeepCopy() *MappingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingSpec.
func (*MappingSpec) DeepCopyInto ¶ added in v1.6.0
func (in *MappingSpec) DeepCopyInto(out *MappingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MappingStatus ¶ added in v1.6.0
type MappingStatus struct { // +kubebuilder:validation:Enum={"","Inactive","Running"} State string `json:"state,omitempty"` Reason string `json:"reason,omitempty"` }
MappingStatus defines the observed state of Mapping
func (*MappingStatus) DeepCopy ¶ added in v1.6.0
func (in *MappingStatus) DeepCopy() *MappingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingStatus.
func (*MappingStatus) DeepCopyInto ¶ added in v1.6.0
func (in *MappingStatus) DeepCopyInto(out *MappingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Module ¶ added in v1.6.0
type Module struct { metav1.TypeMeta `json:""` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ModuleSpec `json:"spec,omitempty"` }
A Module defines system-wide configuration. The type of module is controlled by the .metadata.name; valid names are "ambassador" or "tls".
https://www.getambassador.io/docs/latest/topics/running/ambassador/#the-ambassador-module https://www.getambassador.io/docs/latest/topics/running/tls/#tls-module-deprecated
+kubebuilder:object:root=true
func (*Module) DeepCopy ¶ added in v1.6.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Module.
func (*Module) DeepCopyInto ¶ added in v1.6.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Module) DeepCopyObject ¶ added in v1.6.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ModuleList ¶ added in v1.6.0
type ModuleList struct { metav1.TypeMeta `json:""` metav1.ListMeta `json:"metadata,omitempty"` Items []Module `json:"items"` }
ModuleList contains a list of Modules.
+kubebuilder:object:root=true
func (*ModuleList) DeepCopy ¶ added in v1.6.0
func (in *ModuleList) DeepCopy() *ModuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleList.
func (*ModuleList) DeepCopyInto ¶ added in v1.6.0
func (in *ModuleList) DeepCopyInto(out *ModuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ModuleList) DeepCopyObject ¶ added in v1.6.0
func (in *ModuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ModuleSpec ¶ added in v1.6.0
type ModuleSpec struct { AmbassadorID AmbassadorID `json:"ambassador_id,omitempty"` Config UntypedDict `json:"config,omitempty"` }
func (*ModuleSpec) DeepCopy ¶ added in v1.6.0
func (in *ModuleSpec) DeepCopy() *ModuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleSpec.
func (*ModuleSpec) DeepCopyInto ¶ added in v1.6.0
func (in *ModuleSpec) DeepCopyInto(out *ModuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PreviewURLSpec ¶ added in v1.5.0
type PreviewURLSpec struct { // Is the Preview URL feature enabled? Enabled bool `json:"enabled,omitempty"` // What type of Preview URL is allowed? Type PreviewURLType `json:"type,omitempty"` }
func (*PreviewURLSpec) DeepCopy ¶ added in v1.6.0
func (in *PreviewURLSpec) DeepCopy() *PreviewURLSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreviewURLSpec.
func (*PreviewURLSpec) DeepCopyInto ¶ added in v1.6.0
func (in *PreviewURLSpec) DeepCopyInto(out *PreviewURLSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PreviewURLType ¶ added in v1.5.0
type PreviewURLType string
What type of Preview URL is allowed?
- path
- wildcard
- datawire // FIXME rename this before release
+kubebuilder:validation:Enum={"Path"}
type RateLimitService ¶ added in v1.6.0
type RateLimitService struct { metav1.TypeMeta `json:""` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RateLimitServiceSpec `json:"spec,omitempty"` }
RateLimitService is the Schema for the ratelimitservices API
+kubebuilder:object:root=true
func (*RateLimitService) DeepCopy ¶ added in v1.6.0
func (in *RateLimitService) DeepCopy() *RateLimitService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimitService.
func (*RateLimitService) DeepCopyInto ¶ added in v1.6.0
func (in *RateLimitService) DeepCopyInto(out *RateLimitService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RateLimitService) DeepCopyObject ¶ added in v1.6.0
func (in *RateLimitService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RateLimitServiceList ¶ added in v1.6.0
type RateLimitServiceList struct { metav1.TypeMeta `json:""` metav1.ListMeta `json:"metadata,omitempty"` Items []RateLimitService `json:"items"` }
RateLimitServiceList contains a list of RateLimitServices.
+kubebuilder:object:root=true
func (*RateLimitServiceList) DeepCopy ¶ added in v1.6.0
func (in *RateLimitServiceList) DeepCopy() *RateLimitServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimitServiceList.
func (*RateLimitServiceList) DeepCopyInto ¶ added in v1.6.0
func (in *RateLimitServiceList) DeepCopyInto(out *RateLimitServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RateLimitServiceList) DeepCopyObject ¶ added in v1.6.0
func (in *RateLimitServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RateLimitServiceSpec ¶ added in v1.6.0
type RateLimitServiceSpec struct { // Common to all Ambassador objects. AmbassadorID AmbassadorID `json:"ambassador_id,omitempty"` Service string `json:"service,omitempty"` TimeoutMs int `json:"timeout_ms,omitempty"` Domain string `json:"domain,omitempty"` TLS *BoolOrString `json:"tls,omitempty"` }
RateLimitServiceSpec defines the desired state of RateLimitService
func (*RateLimitServiceSpec) DeepCopy ¶ added in v1.6.0
func (in *RateLimitServiceSpec) DeepCopy() *RateLimitServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimitServiceSpec.
func (*RateLimitServiceSpec) DeepCopyInto ¶ added in v1.6.0
func (in *RateLimitServiceSpec) DeepCopyInto(out *RateLimitServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequestPolicy ¶
type RequestPolicy struct {
Insecure InsecureRequestPolicy `json:"insecure,omitempty"`
}
func (*RequestPolicy) DeepCopy ¶ added in v1.6.0
func (in *RequestPolicy) DeepCopy() *RequestPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestPolicy.
func (*RequestPolicy) DeepCopyInto ¶ added in v1.6.0
func (in *RequestPolicy) DeepCopyInto(out *RequestPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RetryPolicy ¶ added in v1.6.0
type RetryPolicy struct { // +kubebuilder:validation:Enum={"5xx","gateway-error","connect-failure","retriable-4xx","refused-stream","retriable-status-codes"} RetryOn string `json:"retry_on,omitempty"` NumRetries int `json:"num_retries,omitempty"` PerTryTimeout string `json:"per_try_timeout,omitempty"` }
func (*RetryPolicy) DeepCopy ¶ added in v1.6.0
func (in *RetryPolicy) DeepCopy() *RetryPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetryPolicy.
func (*RetryPolicy) DeepCopyInto ¶ added in v1.6.0
func (in *RetryPolicy) DeepCopyInto(out *RetryPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StringOrMappingLabels ¶ added in v1.6.0
type StringOrMappingLabels struct { String *string Labels []StringOrMappingLabels }
StringOrMapping labels is the `Union[str,'MappingLabels']` part of the MappingLabels type.
See the remarks about schema on custom types in `./common.go`.
+kubebuilder:validation:Type=""
func (*StringOrMappingLabels) DeepCopy ¶ added in v1.6.0
func (in *StringOrMappingLabels) DeepCopy() *StringOrMappingLabels
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringOrMappingLabels.
func (*StringOrMappingLabels) DeepCopyInto ¶ added in v1.6.0
func (in *StringOrMappingLabels) DeepCopyInto(out *StringOrMappingLabels)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (StringOrMappingLabels) MarshalJSON ¶ added in v1.6.0
func (o StringOrMappingLabels) MarshalJSON() ([]byte, error)
MarshalJSON is important both so that we generate the proper output, and to trigger controller-gen to not try to generate jsonschema for our sub-fields: https://github.com/kubernetes-sigs/controller-tools/pull/427
func (*StringOrMappingLabels) UnmarshalJSON ¶ added in v1.6.0
func (o *StringOrMappingLabels) UnmarshalJSON(data []byte) error
type StringOrStringList ¶ added in v1.6.0
type StringOrStringList []string
+kubebuilder:validation:Type="d6e-union:string,array"
func (StringOrStringList) DeepCopy ¶ added in v1.6.0
func (in StringOrStringList) DeepCopy() StringOrStringList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringOrStringList.
func (StringOrStringList) DeepCopyInto ¶ added in v1.6.0
func (in StringOrStringList) DeepCopyInto(out *StringOrStringList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StringOrStringList) UnmarshalJSON ¶ added in v1.6.0
func (sl *StringOrStringList) UnmarshalJSON(data []byte) error
type TCPMapping ¶ added in v1.6.0
type TCPMapping struct { metav1.TypeMeta `json:""` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TCPMappingSpec `json:"spec,omitempty"` }
TCPMapping is the Schema for the tcpmappings API
+kubebuilder:object:root=true
func (*TCPMapping) DeepCopy ¶ added in v1.6.0
func (in *TCPMapping) DeepCopy() *TCPMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPMapping.
func (*TCPMapping) DeepCopyInto ¶ added in v1.6.0
func (in *TCPMapping) DeepCopyInto(out *TCPMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TCPMapping) DeepCopyObject ¶ added in v1.6.0
func (in *TCPMapping) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TCPMappingList ¶ added in v1.6.0
type TCPMappingList struct { metav1.TypeMeta `json:""` metav1.ListMeta `json:"metadata,omitempty"` Items []TCPMapping `json:"items"` }
TCPMappingList contains a list of TCPMappings.
+kubebuilder:object:root=true
func (*TCPMappingList) DeepCopy ¶ added in v1.6.0
func (in *TCPMappingList) DeepCopy() *TCPMappingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPMappingList.
func (*TCPMappingList) DeepCopyInto ¶ added in v1.6.0
func (in *TCPMappingList) DeepCopyInto(out *TCPMappingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TCPMappingList) DeepCopyObject ¶ added in v1.6.0
func (in *TCPMappingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TCPMappingSpec ¶ added in v1.6.0
type TCPMappingSpec struct { AmbassadorID AmbassadorID `json:"ambassador_id,omitempty"` Port int `json:"port,omitempty"` Host string `json:"host,omitempty"` Address string `json:"address,omitempty"` Service string `json:"service,omitempty"` EnableIPv4 bool `json:"enable_ipv4,omitempty"` EnableIPv6 bool `json:"enable_ipv6,omitempty"` CircuitBreakers []CircuitBreaker `json:"circuit_breakers,omitempty"` // FIXME(lukeshu): Surely this should be an 'int'? IdleTimeoutMs string `json:"idle_timeout_ms,omitempty"` Resolver string `json:"resolver,omitempty"` TLS BoolOrString `json:"tls,omitempty"` Weight int `json:"weight,omitempty"` ClusterTag string `json:"cluster_tag,omitempty"` }
TCPMappingSpec defines the desired state of TCPMapping
func (*TCPMappingSpec) DeepCopy ¶ added in v1.6.0
func (in *TCPMappingSpec) DeepCopy() *TCPMappingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPMappingSpec.
func (*TCPMappingSpec) DeepCopyInto ¶ added in v1.6.0
func (in *TCPMappingSpec) DeepCopyInto(out *TCPMappingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TLSConfig ¶ added in v1.6.0
type TLSConfig struct { CertChainFile string `json:"cert_chain_file,omitempty"` PrivateKeyFile string `json:"private_key_file,omitempty"` CASecret string `json:"ca_secret,omitempty"` CAcertChainFile string `json:"cacert_chain_file,omitempty"` AlpnProtocols string `json:"alpn_protocols,omitempty"` CertRequired bool `json:"cert_required,omitempty"` MinTLSVersion string `json:"min_tls_version,omitempty"` MaxTLSVersion string `json:"max_tls_version,omitempty"` CipherSuites []string `json:"cipher_suites,omitempty"` ECDHCurves []string `json:"ecdh_curves,omitempty"` RedirectCleartextFrom int `json:"redirect_cleartext_from,omitempty"` SNI string `json:"sni,omitempty"` }
func (*TLSConfig) DeepCopy ¶ added in v1.6.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSConfig.
func (*TLSConfig) DeepCopyInto ¶ added in v1.6.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TLSContext ¶ added in v1.6.0
type TLSContext struct { metav1.TypeMeta `json:""` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TLSContextSpec `json:"spec,omitempty"` }
TLSContext is the Schema for the tlscontexts API
+kubebuilder:object:root=true
func (*TLSContext) DeepCopy ¶ added in v1.6.0
func (in *TLSContext) DeepCopy() *TLSContext
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSContext.
func (*TLSContext) DeepCopyInto ¶ added in v1.6.0
func (in *TLSContext) DeepCopyInto(out *TLSContext)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TLSContext) DeepCopyObject ¶ added in v1.6.0
func (in *TLSContext) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TLSContextList ¶ added in v1.6.0
type TLSContextList struct { metav1.TypeMeta `json:""` metav1.ListMeta `json:"metadata,omitempty"` Items []TLSContext `json:"items"` }
TLSContextList contains a list of TLSContexts.
+kubebuilder:object:root=true
func (*TLSContextList) DeepCopy ¶ added in v1.6.0
func (in *TLSContextList) DeepCopy() *TLSContextList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSContextList.
func (*TLSContextList) DeepCopyInto ¶ added in v1.6.0
func (in *TLSContextList) DeepCopyInto(out *TLSContextList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TLSContextList) DeepCopyObject ¶ added in v1.6.0
func (in *TLSContextList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TLSContextSpec ¶ added in v1.6.0
type TLSContextSpec struct { AmbassadorID AmbassadorID `json:"ambassador_id,omitempty"` Hosts []string `json:"hosts,omitempty"` Secret string `json:"secret,omitempty"` CertChainFile string `json:"cert_chain_file,omitempty"` PrivateKeyFile string `json:"private_key_file,omitempty"` CASecret string `json:"ca_secret,omitempty"` CACertChainFile string `json:"cacert_chain_file,omitempty"` ALPNProtocols string `json:"alpn_protocols,omitempty"` CertRequired bool `json:"cert_required,omitempty"` // +kubebuilder:validation:Enum={"v1.0", "v1.1", "v1.2", "v1.3"} MinTLSVersion string `json:"min_tls_version,omitempty"` // +kubebuilder:validation:Enum={"v1.0", "v1.1", "v1.2", "v1.3"} MaxTLSVersion string `json:"max_tls_version,omitempty"` CipherSuites []string `json:"cipher_suites,omitempty"` ECDHCurves []string `json:"ecdh_curves,omitempty"` SecretNamespacing *bool `json:"secret_namespacing,omitempty"` RedirectCleartextFrom int `json:"redirect_cleartext_from,omitempty"` SNI string `json:"sni,omitempty"` }
TLSContextSpec defines the desired state of TLSContext
func (*TLSContextSpec) DeepCopy ¶ added in v1.6.0
func (in *TLSContextSpec) DeepCopy() *TLSContextSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSContextSpec.
func (*TLSContextSpec) DeepCopyInto ¶ added in v1.6.0
func (in *TLSContextSpec) DeepCopyInto(out *TLSContextSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TraceConfig ¶ added in v1.6.0
type TraceConfig struct { AccessTokenFile string `json:"access_token_file,omitempty"` CollectorCluster string `json:"collector_cluster,omitempty"` CollectorEndpoint string `json:"collector_endpoint,omitempty"` // +kubebuilder:validation:Enum=HTTP_JSON_V1;HTTP_JSON;HTTP_PROTO CollectorEndpointVersion string `json:"collector_endpoint_version,omitempty"` TraceID128Bit bool `json:"trace_id_128bit,omitempty"` ServiceName string `json:"service_name,omitempty"` }
func (*TraceConfig) DeepCopy ¶ added in v1.6.0
func (in *TraceConfig) DeepCopy() *TraceConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraceConfig.
func (*TraceConfig) DeepCopyInto ¶ added in v1.6.0
func (in *TraceConfig) DeepCopyInto(out *TraceConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TraceSampling ¶ added in v1.6.0
type TraceSampling struct { Client int `json:"client,omitempty"` Random int `json:"random,omitempty"` Overall int `json:"overall,omitempty"` }
func (*TraceSampling) DeepCopy ¶ added in v1.6.0
func (in *TraceSampling) DeepCopy() *TraceSampling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraceSampling.
func (*TraceSampling) DeepCopyInto ¶ added in v1.6.0
func (in *TraceSampling) DeepCopyInto(out *TraceSampling)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TracingService ¶ added in v1.6.0
type TracingService struct { metav1.TypeMeta `json:""` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TracingServiceSpec `json:"spec,omitempty"` }
TracingService is the Schema for the tracingservices API
+kubebuilder:object:root=true
func (*TracingService) DeepCopy ¶ added in v1.6.0
func (in *TracingService) DeepCopy() *TracingService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TracingService.
func (*TracingService) DeepCopyInto ¶ added in v1.6.0
func (in *TracingService) DeepCopyInto(out *TracingService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TracingService) DeepCopyObject ¶ added in v1.6.0
func (in *TracingService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TracingServiceList ¶ added in v1.6.0
type TracingServiceList struct { metav1.TypeMeta `json:""` metav1.ListMeta `json:"metadata,omitempty"` Items []TracingService `json:"items"` }
TracingServiceList contains a list of TracingServices.
+kubebuilder:object:root=true
func (*TracingServiceList) DeepCopy ¶ added in v1.6.0
func (in *TracingServiceList) DeepCopy() *TracingServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TracingServiceList.
func (*TracingServiceList) DeepCopyInto ¶ added in v1.6.0
func (in *TracingServiceList) DeepCopyInto(out *TracingServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TracingServiceList) DeepCopyObject ¶ added in v1.6.0
func (in *TracingServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TracingServiceSpec ¶ added in v1.6.0
type TracingServiceSpec struct { AmbassadorID AmbassadorID `json:"ambassador_id,omitempty"` // +kubebuilder:validation:Enum={"lightstep","zipkin","datadog"} Driver string `json:"driver,omitempty"` Service string `json:"service,omitempty"` Sampling *TraceSampling `json:"sampling,omitempty"` TagHeaders []string `json:"tag_headers,omitempty"` Config *TraceConfig `json:"config,omitempty"` }
TracingServiceSpec defines the desired state of TracingService
func (*TracingServiceSpec) DeepCopy ¶ added in v1.6.0
func (in *TracingServiceSpec) DeepCopy() *TracingServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TracingServiceSpec.
func (*TracingServiceSpec) DeepCopyInto ¶ added in v1.6.0
func (in *TracingServiceSpec) DeepCopyInto(out *TracingServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UntypedDict ¶ added in v1.6.0
type UntypedDict struct {
Values map[string]UntypedValue
}
UntypedDict is relatively opaque as a Go type, but it preserves its contents in a roundtrippable way. +kubebuilder:validation:Type="object"
func (*UntypedDict) DeepCopy ¶ added in v1.6.0
func (in *UntypedDict) DeepCopy() *UntypedDict
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UntypedDict.
func (*UntypedDict) DeepCopyInto ¶ added in v1.6.0
func (in *UntypedDict) DeepCopyInto(out *UntypedDict)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (UntypedDict) MarshalJSON ¶ added in v1.7.0
func (u UntypedDict) MarshalJSON() ([]byte, error)
func (*UntypedDict) UnmarshalJSON ¶ added in v1.7.0
func (u *UntypedDict) UnmarshalJSON(data []byte) error
type UntypedValue ¶ added in v1.7.0
type UntypedValue struct {
// contains filtered or unexported fields
}
func (*UntypedValue) DeepCopy ¶ added in v1.7.0
func (in *UntypedValue) DeepCopy() *UntypedValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UntypedValue.
func (*UntypedValue) DeepCopyInto ¶ added in v1.7.0
func (in *UntypedValue) DeepCopyInto(out *UntypedValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (UntypedValue) MarshalJSON ¶ added in v1.7.0
func (u UntypedValue) MarshalJSON() ([]byte, error)
func (*UntypedValue) UnmarshalJSON ¶ added in v1.7.0
func (u *UntypedValue) UnmarshalJSON(data []byte) error