meshv2beta1

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MPL-2.0 Imports: 12 Imported by: 7

Documentation

Overview

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Index

Constants

View Source
const (
	GroupName = "mesh"
	Version   = "v2beta1"

	APIGatewayKind                   = "APIGateway"
	ComputedExplicitDestinationsKind = "ComputedExplicitDestinations"
	ComputedImplicitDestinationsKind = "ComputedImplicitDestinations"
	ComputedProxyConfigurationKind   = "ComputedProxyConfiguration"
	ComputedRoutesKind               = "ComputedRoutes"
	DestinationPolicyKind            = "DestinationPolicy"
	DestinationsKind                 = "Destinations"
	DestinationsConfigurationKind    = "DestinationsConfiguration"
	GRPCRouteKind                    = "GRPCRoute"
	HTTPRouteKind                    = "HTTPRoute"
	MeshConfigurationKind            = "MeshConfiguration"
	MeshGatewayKind                  = "MeshGateway"
	ProxyConfigurationKind           = "ProxyConfiguration"
	ProxyStateTemplateKind           = "ProxyStateTemplate"
	TCPRouteKind                     = "TCPRoute"
)

Variables

View Source
var (
	ApiGatewayMarshaler   = &protojson.MarshalOptions{}
	ApiGatewayUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var (
	CommonMarshaler   = &protojson.MarshalOptions{}
	CommonUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var (
	ComputedExplicitDestinationsMarshaler   = &protojson.MarshalOptions{}
	ComputedExplicitDestinationsUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var (
	ComputedImplicitDestinationsMarshaler   = &protojson.MarshalOptions{}
	ComputedImplicitDestinationsUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var (
	ComputedProxyConfigurationMarshaler   = &protojson.MarshalOptions{}
	ComputedProxyConfigurationUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var (
	BackendTargetDetailsType_name = map[int32]string{
		0: "BACKEND_TARGET_DETAILS_TYPE_UNSPECIFIED",
		1: "BACKEND_TARGET_DETAILS_TYPE_DIRECT",
		2: "BACKEND_TARGET_DETAILS_TYPE_INDIRECT",
	}
	BackendTargetDetailsType_value = map[string]int32{
		"BACKEND_TARGET_DETAILS_TYPE_UNSPECIFIED": 0,
		"BACKEND_TARGET_DETAILS_TYPE_DIRECT":      1,
		"BACKEND_TARGET_DETAILS_TYPE_INDIRECT":    2,
	}
)

Enum value maps for BackendTargetDetailsType.

View Source
var (
	ComputedRoutesMarshaler   = &protojson.MarshalOptions{}
	ComputedRoutesUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var (
	BalanceConnections_name = map[int32]string{
		0: "BALANCE_CONNECTIONS_DEFAULT",
		1: "BALANCE_CONNECTIONS_EXACT",
	}
	BalanceConnections_value = map[string]int32{
		"BALANCE_CONNECTIONS_DEFAULT": 0,
		"BALANCE_CONNECTIONS_EXACT":   1,
	}
)

Enum value maps for BalanceConnections.

View Source
var (
	ConnectionMarshaler   = &protojson.MarshalOptions{}
	ConnectionUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var (
	LocalityPrioritizationMode_name = map[int32]string{
		0: "LOCALITY_PRIORITIZATION_MODE_UNSPECIFIED",
		1: "LOCALITY_PRIORITIZATION_MODE_NONE",
		2: "LOCALITY_PRIORITIZATION_MODE_FAILOVER",
	}
	LocalityPrioritizationMode_value = map[string]int32{
		"LOCALITY_PRIORITIZATION_MODE_UNSPECIFIED": 0,
		"LOCALITY_PRIORITIZATION_MODE_NONE":        1,
		"LOCALITY_PRIORITIZATION_MODE_FAILOVER":    2,
	}
)

Enum value maps for LocalityPrioritizationMode.

View Source
var (
	LoadBalancerPolicy_name = map[int32]string{
		0: "LOAD_BALANCER_POLICY_UNSPECIFIED",
		1: "LOAD_BALANCER_POLICY_RANDOM",
		2: "LOAD_BALANCER_POLICY_ROUND_ROBIN",
		3: "LOAD_BALANCER_POLICY_LEAST_REQUEST",
		4: "LOAD_BALANCER_POLICY_MAGLEV",
		5: "LOAD_BALANCER_POLICY_RING_HASH",
	}
	LoadBalancerPolicy_value = map[string]int32{
		"LOAD_BALANCER_POLICY_UNSPECIFIED":   0,
		"LOAD_BALANCER_POLICY_RANDOM":        1,
		"LOAD_BALANCER_POLICY_ROUND_ROBIN":   2,
		"LOAD_BALANCER_POLICY_LEAST_REQUEST": 3,
		"LOAD_BALANCER_POLICY_MAGLEV":        4,
		"LOAD_BALANCER_POLICY_RING_HASH":     5,
	}
)

Enum value maps for LoadBalancerPolicy.

View Source
var (
	HashPolicyField_name = map[int32]string{
		0: "HASH_POLICY_FIELD_UNSPECIFIED",
		1: "HASH_POLICY_FIELD_HEADER",
		2: "HASH_POLICY_FIELD_COOKIE",
		3: "HASH_POLICY_FIELD_QUERY_PARAMETER",
	}
	HashPolicyField_value = map[string]int32{
		"HASH_POLICY_FIELD_UNSPECIFIED":     0,
		"HASH_POLICY_FIELD_HEADER":          1,
		"HASH_POLICY_FIELD_COOKIE":          2,
		"HASH_POLICY_FIELD_QUERY_PARAMETER": 3,
	}
)

Enum value maps for HashPolicyField.

View Source
var (
	DestinationPolicyMarshaler   = &protojson.MarshalOptions{}
	DestinationPolicyUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var (
	DestinationsConfigurationMarshaler   = &protojson.MarshalOptions{}
	DestinationsConfigurationUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var (
	DestinationsMarshaler   = &protojson.MarshalOptions{}
	DestinationsUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var (
	ExposePathProtocol_name = map[int32]string{
		0: "EXPOSE_PATH_PROTOCOL_HTTP",
		1: "EXPOSE_PATH_PROTOCOL_HTTP2",
	}
	ExposePathProtocol_value = map[string]int32{
		"EXPOSE_PATH_PROTOCOL_HTTP":  0,
		"EXPOSE_PATH_PROTOCOL_HTTP2": 1,
	}
)

Enum value maps for ExposePathProtocol.

View Source
var (
	ExposeMarshaler   = &protojson.MarshalOptions{}
	ExposeUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var (
	GRPCMethodMatchType_name = map[int32]string{
		0: "GRPC_METHOD_MATCH_TYPE_UNSPECIFIED",
		1: "GRPC_METHOD_MATCH_TYPE_EXACT",
		2: "GRPC_METHOD_MATCH_TYPE_REGEX",
	}
	GRPCMethodMatchType_value = map[string]int32{
		"GRPC_METHOD_MATCH_TYPE_UNSPECIFIED": 0,
		"GRPC_METHOD_MATCH_TYPE_EXACT":       1,
		"GRPC_METHOD_MATCH_TYPE_REGEX":       2,
	}
)

Enum value maps for GRPCMethodMatchType.

View Source
var (
	GrpcRouteMarshaler   = &protojson.MarshalOptions{}
	GrpcRouteUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var (
	PathMatchType_name = map[int32]string{
		0: "PATH_MATCH_TYPE_UNSPECIFIED",
		1: "PATH_MATCH_TYPE_EXACT",
		2: "PATH_MATCH_TYPE_PREFIX",
		3: "PATH_MATCH_TYPE_REGEX",
	}
	PathMatchType_value = map[string]int32{
		"PATH_MATCH_TYPE_UNSPECIFIED": 0,
		"PATH_MATCH_TYPE_EXACT":       1,
		"PATH_MATCH_TYPE_PREFIX":      2,
		"PATH_MATCH_TYPE_REGEX":       3,
	}
)

Enum value maps for PathMatchType.

View Source
var (
	HeaderMatchType_name = map[int32]string{
		0: "HEADER_MATCH_TYPE_UNSPECIFIED",
		1: "HEADER_MATCH_TYPE_EXACT",
		2: "HEADER_MATCH_TYPE_REGEX",
		3: "HEADER_MATCH_TYPE_PRESENT",
		4: "HEADER_MATCH_TYPE_PREFIX",
		5: "HEADER_MATCH_TYPE_SUFFIX",
	}
	HeaderMatchType_value = map[string]int32{
		"HEADER_MATCH_TYPE_UNSPECIFIED": 0,
		"HEADER_MATCH_TYPE_EXACT":       1,
		"HEADER_MATCH_TYPE_REGEX":       2,
		"HEADER_MATCH_TYPE_PRESENT":     3,
		"HEADER_MATCH_TYPE_PREFIX":      4,
		"HEADER_MATCH_TYPE_SUFFIX":      5,
	}
)

Enum value maps for HeaderMatchType.

View Source
var (
	QueryParamMatchType_name = map[int32]string{
		0: "QUERY_PARAM_MATCH_TYPE_UNSPECIFIED",
		1: "QUERY_PARAM_MATCH_TYPE_EXACT",
		2: "QUERY_PARAM_MATCH_TYPE_REGEX",
		3: "QUERY_PARAM_MATCH_TYPE_PRESENT",
	}
	QueryParamMatchType_value = map[string]int32{
		"QUERY_PARAM_MATCH_TYPE_UNSPECIFIED": 0,
		"QUERY_PARAM_MATCH_TYPE_EXACT":       1,
		"QUERY_PARAM_MATCH_TYPE_REGEX":       2,
		"QUERY_PARAM_MATCH_TYPE_PRESENT":     3,
	}
)

Enum value maps for QueryParamMatchType.

View Source
var (
	HttpRouteMarshaler   = &protojson.MarshalOptions{}
	HttpRouteUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var (
	HttpRouteRetriesMarshaler   = &protojson.MarshalOptions{}
	HttpRouteRetriesUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var (
	HttpRouteTimeoutsMarshaler   = &protojson.MarshalOptions{}
	HttpRouteTimeoutsUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var (
	MeshConfigurationMarshaler   = &protojson.MarshalOptions{}
	MeshConfigurationUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var (
	MeshGatewayMarshaler   = &protojson.MarshalOptions{}
	MeshGatewayUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var (
	ProxyMode_name = map[int32]string{
		0: "PROXY_MODE_DEFAULT",
		1: "PROXY_MODE_TRANSPARENT",
		2: "PROXY_MODE_DIRECT",
	}
	ProxyMode_value = map[string]int32{
		"PROXY_MODE_DEFAULT":     0,
		"PROXY_MODE_TRANSPARENT": 1,
		"PROXY_MODE_DIRECT":      2,
	}
)

Enum value maps for ProxyMode.

View Source
var (
	LogSinkType_name = map[int32]string{
		0: "LOG_SINK_TYPE_DEFAULT",
		1: "LOG_SINK_TYPE_FILE",
		2: "LOG_SINK_TYPE_STDERR",
		3: "LOG_SINK_TYPE_STDOUT",
	}
	LogSinkType_value = map[string]int32{
		"LOG_SINK_TYPE_DEFAULT": 0,
		"LOG_SINK_TYPE_FILE":    1,
		"LOG_SINK_TYPE_STDERR":  2,
		"LOG_SINK_TYPE_STDOUT":  3,
	}
)

Enum value maps for LogSinkType.

View Source
var (
	MutualTLSMode_name = map[int32]string{
		0: "MUTUAL_TLS_MODE_DEFAULT",
		1: "MUTUAL_TLS_MODE_STRICT",
		2: "MUTUAL_TLS_MODE_PERMISSIVE",
	}
	MutualTLSMode_value = map[string]int32{
		"MUTUAL_TLS_MODE_DEFAULT":    0,
		"MUTUAL_TLS_MODE_STRICT":     1,
		"MUTUAL_TLS_MODE_PERMISSIVE": 2,
	}
)

Enum value maps for MutualTLSMode.

View Source
var (
	ProxyConfigurationMarshaler   = &protojson.MarshalOptions{}
	ProxyConfigurationUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var (
	ProxyStateMarshaler   = &protojson.MarshalOptions{}
	ProxyStateUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var (
	APIGatewayType = &pbresource.Type{
		Group:        GroupName,
		GroupVersion: Version,
		Kind:         APIGatewayKind,
	}

	ComputedExplicitDestinationsType = &pbresource.Type{
		Group:        GroupName,
		GroupVersion: Version,
		Kind:         ComputedExplicitDestinationsKind,
	}

	ComputedImplicitDestinationsType = &pbresource.Type{
		Group:        GroupName,
		GroupVersion: Version,
		Kind:         ComputedImplicitDestinationsKind,
	}

	ComputedProxyConfigurationType = &pbresource.Type{
		Group:        GroupName,
		GroupVersion: Version,
		Kind:         ComputedProxyConfigurationKind,
	}

	ComputedRoutesType = &pbresource.Type{
		Group:        GroupName,
		GroupVersion: Version,
		Kind:         ComputedRoutesKind,
	}

	DestinationPolicyType = &pbresource.Type{
		Group:        GroupName,
		GroupVersion: Version,
		Kind:         DestinationPolicyKind,
	}

	DestinationsType = &pbresource.Type{
		Group:        GroupName,
		GroupVersion: Version,
		Kind:         DestinationsKind,
	}

	DestinationsConfigurationType = &pbresource.Type{
		Group:        GroupName,
		GroupVersion: Version,
		Kind:         DestinationsConfigurationKind,
	}

	GRPCRouteType = &pbresource.Type{
		Group:        GroupName,
		GroupVersion: Version,
		Kind:         GRPCRouteKind,
	}

	HTTPRouteType = &pbresource.Type{
		Group:        GroupName,
		GroupVersion: Version,
		Kind:         HTTPRouteKind,
	}

	MeshConfigurationType = &pbresource.Type{
		Group:        GroupName,
		GroupVersion: Version,
		Kind:         MeshConfigurationKind,
	}

	MeshGatewayType = &pbresource.Type{
		Group:        GroupName,
		GroupVersion: Version,
		Kind:         MeshGatewayKind,
	}

	ProxyConfigurationType = &pbresource.Type{
		Group:        GroupName,
		GroupVersion: Version,
		Kind:         ProxyConfigurationKind,
	}

	ProxyStateTemplateType = &pbresource.Type{
		Group:        GroupName,
		GroupVersion: Version,
		Kind:         ProxyStateTemplateKind,
	}

	TCPRouteType = &pbresource.Type{
		Group:        GroupName,
		GroupVersion: Version,
		Kind:         TCPRouteKind,
	}
)
View Source
var (
	MeshGatewayMode_name = map[int32]string{
		0: "MESH_GATEWAY_MODE_UNSPECIFIED",
		1: "MESH_GATEWAY_MODE_NONE",
		2: "MESH_GATEWAY_MODE_LOCAL",
		3: "MESH_GATEWAY_MODE_REMOTE",
	}
	MeshGatewayMode_value = map[string]int32{
		"MESH_GATEWAY_MODE_UNSPECIFIED": 0,
		"MESH_GATEWAY_MODE_NONE":        1,
		"MESH_GATEWAY_MODE_LOCAL":       2,
		"MESH_GATEWAY_MODE_REMOTE":      3,
	}
)

Enum value maps for MeshGatewayMode.

View Source
var (
	TcpRouteMarshaler   = &protojson.MarshalOptions{}
	TcpRouteUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var File_pbmesh_v2beta1_api_gateway_proto protoreflect.FileDescriptor
View Source
var File_pbmesh_v2beta1_common_proto protoreflect.FileDescriptor
View Source
var File_pbmesh_v2beta1_computed_explicit_destinations_proto protoreflect.FileDescriptor
View Source
var File_pbmesh_v2beta1_computed_implicit_destinations_proto protoreflect.FileDescriptor
View Source
var File_pbmesh_v2beta1_computed_proxy_configuration_proto protoreflect.FileDescriptor
View Source
var File_pbmesh_v2beta1_computed_routes_proto protoreflect.FileDescriptor
View Source
var File_pbmesh_v2beta1_connection_proto protoreflect.FileDescriptor
View Source
var File_pbmesh_v2beta1_destination_policy_proto protoreflect.FileDescriptor
View Source
var File_pbmesh_v2beta1_destinations_configuration_proto protoreflect.FileDescriptor
View Source
var File_pbmesh_v2beta1_destinations_proto protoreflect.FileDescriptor
View Source
var File_pbmesh_v2beta1_expose_proto protoreflect.FileDescriptor
View Source
var File_pbmesh_v2beta1_grpc_route_proto protoreflect.FileDescriptor
View Source
var File_pbmesh_v2beta1_http_route_proto protoreflect.FileDescriptor
View Source
var File_pbmesh_v2beta1_http_route_retries_proto protoreflect.FileDescriptor
View Source
var File_pbmesh_v2beta1_http_route_timeouts_proto protoreflect.FileDescriptor
View Source
var File_pbmesh_v2beta1_mesh_configuration_proto protoreflect.FileDescriptor
View Source
var File_pbmesh_v2beta1_mesh_gateway_proto protoreflect.FileDescriptor
View Source
var File_pbmesh_v2beta1_proxy_configuration_proto protoreflect.FileDescriptor
View Source
var File_pbmesh_v2beta1_proxy_state_proto protoreflect.FileDescriptor
View Source
var File_pbmesh_v2beta1_routing_proto protoreflect.FileDescriptor
View Source
var File_pbmesh_v2beta1_tcp_route_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type APIGateway added in v0.6.0

type APIGateway struct {

	// GatewayClassName is the name of the GatewayClass used by the APIGateway
	GatewayClassName string `protobuf:"bytes,1,opt,name=gateway_class_name,json=gatewayClassName,proto3" json:"gateway_class_name,omitempty"`
	// +kubebuilder:validation:MinItems=1
	Listeners []*APIGatewayListener `protobuf:"bytes,2,rep,name=listeners,proto3" json:"listeners,omitempty"`
	// contains filtered or unexported fields
}

func (*APIGateway) DeepCopy added in v0.6.0

func (in *APIGateway) DeepCopy() *APIGateway

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIGateway. Required by controller-gen.

func (*APIGateway) DeepCopyInterface added in v0.6.0

func (in *APIGateway) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new APIGateway. Required by controller-gen.

func (*APIGateway) DeepCopyInto added in v0.6.0

func (in *APIGateway) DeepCopyInto(out *APIGateway)

DeepCopyInto supports using APIGateway within kubernetes types, where deepcopy-gen is used.

func (*APIGateway) Descriptor deprecated added in v0.6.0

func (*APIGateway) Descriptor() ([]byte, []int)

Deprecated: Use APIGateway.ProtoReflect.Descriptor instead.

func (*APIGateway) GetGatewayClassName added in v0.6.0

func (x *APIGateway) GetGatewayClassName() string

func (*APIGateway) GetListeners added in v0.6.0

func (x *APIGateway) GetListeners() []*APIGatewayListener

func (*APIGateway) MarshalBinary added in v0.6.0

func (msg *APIGateway) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*APIGateway) MarshalJSON added in v0.6.0

func (this *APIGateway) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for APIGateway

func (*APIGateway) ProtoMessage added in v0.6.0

func (*APIGateway) ProtoMessage()

func (*APIGateway) ProtoReflect added in v0.6.0

func (x *APIGateway) ProtoReflect() protoreflect.Message

func (*APIGateway) Reset added in v0.6.0

func (x *APIGateway) Reset()

func (*APIGateway) String added in v0.6.0

func (x *APIGateway) String() string

func (*APIGateway) UnmarshalBinary added in v0.6.0

func (msg *APIGateway) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*APIGateway) UnmarshalJSON added in v0.6.0

func (this *APIGateway) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for APIGateway

type APIGatewayListener added in v0.6.0

type APIGatewayListener struct {

	// Name is the name of the listener in a given gateway. This must be
	// unique within a gateway.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// +kubebuilder:validation:Maximum=65535
	// +kubebuilder:validation:Minimum=0
	Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// Protocol is the protocol that a listener should use, it must
	// either be "http" or "tcp"
	// +kubebuilder:validation≈ftg6:Enum=tcp,http
	Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// Hostname is the host name that a listener should be bound to, if
	// unspecified, the listener accepts requests for all hostnames.
	Hostname string `protobuf:"bytes,4,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// TLS is the TLS settings for the listener.
	Tls *APIGatewayTLSConfiguration `protobuf:"bytes,5,opt,name=tls,proto3" json:"tls,omitempty"` //TODO NET-7311 @Gateway-Management
	// contains filtered or unexported fields
}

func (*APIGatewayListener) DeepCopy added in v0.6.0

func (in *APIGatewayListener) DeepCopy() *APIGatewayListener

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIGatewayListener. Required by controller-gen.

func (*APIGatewayListener) DeepCopyInterface added in v0.6.0

func (in *APIGatewayListener) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new APIGatewayListener. Required by controller-gen.

func (*APIGatewayListener) DeepCopyInto added in v0.6.0

func (in *APIGatewayListener) DeepCopyInto(out *APIGatewayListener)

DeepCopyInto supports using APIGatewayListener within kubernetes types, where deepcopy-gen is used.

func (*APIGatewayListener) Descriptor deprecated added in v0.6.0

func (*APIGatewayListener) Descriptor() ([]byte, []int)

Deprecated: Use APIGatewayListener.ProtoReflect.Descriptor instead.

func (*APIGatewayListener) GetHostname added in v0.6.0

func (x *APIGatewayListener) GetHostname() string

func (*APIGatewayListener) GetName added in v0.6.0

func (x *APIGatewayListener) GetName() string

func (*APIGatewayListener) GetPort added in v0.6.0

func (x *APIGatewayListener) GetPort() uint32

func (*APIGatewayListener) GetProtocol added in v0.6.0

func (x *APIGatewayListener) GetProtocol() string

func (*APIGatewayListener) GetTls added in v0.6.0

func (*APIGatewayListener) MarshalBinary added in v0.6.0

func (msg *APIGatewayListener) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*APIGatewayListener) MarshalJSON added in v0.6.0

func (this *APIGatewayListener) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for APIGatewayListener

func (*APIGatewayListener) ProtoMessage added in v0.6.0

func (*APIGatewayListener) ProtoMessage()

func (*APIGatewayListener) ProtoReflect added in v0.6.0

func (x *APIGatewayListener) ProtoReflect() protoreflect.Message

func (*APIGatewayListener) Reset added in v0.6.0

func (x *APIGatewayListener) Reset()

func (*APIGatewayListener) String added in v0.6.0

func (x *APIGatewayListener) String() string

func (*APIGatewayListener) UnmarshalBinary added in v0.6.0

func (msg *APIGatewayListener) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*APIGatewayListener) UnmarshalJSON added in v0.6.0

func (this *APIGatewayListener) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for APIGatewayListener

type APIGatewayTLSConfiguration added in v0.6.0

type APIGatewayTLSConfiguration struct {

	// Certificates is a set of references to certificates
	// that a gateway listener uses for TLS termination.
	Certificates []*pbresource.Reference `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"`
	// TLSParameters contains optional configuration for running TLS termination.
	TlsParameters *pbproxystate.TLSParameters `protobuf:"bytes,2,opt,name=tls_parameters,json=tlsParameters,proto3,oneof" json:"tls_parameters,omitempty"`
	// contains filtered or unexported fields
}

APIGatewayTLSConfiguration specifies the configuration of a listener’s TLS settings.

func (*APIGatewayTLSConfiguration) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIGatewayTLSConfiguration. Required by controller-gen.

func (*APIGatewayTLSConfiguration) DeepCopyInterface added in v0.6.0

func (in *APIGatewayTLSConfiguration) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new APIGatewayTLSConfiguration. Required by controller-gen.

func (*APIGatewayTLSConfiguration) DeepCopyInto added in v0.6.0

DeepCopyInto supports using APIGatewayTLSConfiguration within kubernetes types, where deepcopy-gen is used.

func (*APIGatewayTLSConfiguration) Descriptor deprecated added in v0.6.0

func (*APIGatewayTLSConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use APIGatewayTLSConfiguration.ProtoReflect.Descriptor instead.

func (*APIGatewayTLSConfiguration) GetCertificates added in v0.6.0

func (x *APIGatewayTLSConfiguration) GetCertificates() []*pbresource.Reference

func (*APIGatewayTLSConfiguration) GetTlsParameters added in v0.6.0

func (x *APIGatewayTLSConfiguration) GetTlsParameters() *pbproxystate.TLSParameters

func (*APIGatewayTLSConfiguration) MarshalBinary added in v0.6.0

func (msg *APIGatewayTLSConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*APIGatewayTLSConfiguration) MarshalJSON added in v0.6.0

func (this *APIGatewayTLSConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for APIGatewayTLSConfiguration

func (*APIGatewayTLSConfiguration) ProtoMessage added in v0.6.0

func (*APIGatewayTLSConfiguration) ProtoMessage()

func (*APIGatewayTLSConfiguration) ProtoReflect added in v0.6.0

func (*APIGatewayTLSConfiguration) Reset added in v0.6.0

func (x *APIGatewayTLSConfiguration) Reset()

func (*APIGatewayTLSConfiguration) String added in v0.6.0

func (x *APIGatewayTLSConfiguration) String() string

func (*APIGatewayTLSConfiguration) UnmarshalBinary added in v0.6.0

func (msg *APIGatewayTLSConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*APIGatewayTLSConfiguration) UnmarshalJSON added in v0.6.0

func (this *APIGatewayTLSConfiguration) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for APIGatewayTLSConfiguration

type AccessLogsConfig

type AccessLogsConfig struct {

	// Enabled turns off all access logging
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// DisableListenerLogs turns off just listener logs for connections rejected by Envoy because they don't
	// have a matching listener filter.
	DisableListenerLogs bool `protobuf:"varint,2,opt,name=disable_listener_logs,json=disableListenerLogs,proto3" json:"disable_listener_logs,omitempty"`
	// Type selects the output for logs: "file", "stderr". "stdout"
	Type LogSinkType `protobuf:"varint,3,opt,name=type,proto3,enum=hashicorp.consul.mesh.v2beta1.LogSinkType" json:"type,omitempty"`
	// Path is the output file to write logs
	Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	// The presence of one format string or the other implies the access log string encoding.
	// Defining both is invalid.
	JsonFormat string `protobuf:"bytes,5,opt,name=json_format,json=jsonFormat,proto3" json:"json_format,omitempty"`
	TextFormat string `protobuf:"bytes,6,opt,name=text_format,json=textFormat,proto3" json:"text_format,omitempty"`
	// contains filtered or unexported fields
}

AccessLogsConfig contains the associated default settings for all Envoy instances within the datacenter or partition

func (*AccessLogsConfig) DeepCopy

func (in *AccessLogsConfig) DeepCopy() *AccessLogsConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessLogsConfig. Required by controller-gen.

func (*AccessLogsConfig) DeepCopyInterface

func (in *AccessLogsConfig) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AccessLogsConfig. Required by controller-gen.

func (*AccessLogsConfig) DeepCopyInto

func (in *AccessLogsConfig) DeepCopyInto(out *AccessLogsConfig)

DeepCopyInto supports using AccessLogsConfig within kubernetes types, where deepcopy-gen is used.

func (*AccessLogsConfig) Descriptor deprecated

func (*AccessLogsConfig) Descriptor() ([]byte, []int)

Deprecated: Use AccessLogsConfig.ProtoReflect.Descriptor instead.

func (*AccessLogsConfig) GetDisableListenerLogs

func (x *AccessLogsConfig) GetDisableListenerLogs() bool

func (*AccessLogsConfig) GetEnabled

func (x *AccessLogsConfig) GetEnabled() bool

func (*AccessLogsConfig) GetJsonFormat

func (x *AccessLogsConfig) GetJsonFormat() string

func (*AccessLogsConfig) GetPath

func (x *AccessLogsConfig) GetPath() string

func (*AccessLogsConfig) GetTextFormat

func (x *AccessLogsConfig) GetTextFormat() string

func (*AccessLogsConfig) GetType

func (x *AccessLogsConfig) GetType() LogSinkType

func (*AccessLogsConfig) MarshalBinary

func (msg *AccessLogsConfig) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*AccessLogsConfig) MarshalJSON

func (this *AccessLogsConfig) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for AccessLogsConfig

func (*AccessLogsConfig) ProtoMessage

func (*AccessLogsConfig) ProtoMessage()

func (*AccessLogsConfig) ProtoReflect

func (x *AccessLogsConfig) ProtoReflect() protoreflect.Message

func (*AccessLogsConfig) Reset

func (x *AccessLogsConfig) Reset()

func (*AccessLogsConfig) String

func (x *AccessLogsConfig) String() string

func (*AccessLogsConfig) UnmarshalBinary

func (msg *AccessLogsConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*AccessLogsConfig) UnmarshalJSON

func (this *AccessLogsConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for AccessLogsConfig

type BackendReference

type BackendReference struct {

	// For east/west configuration, this should point to a Service.
	Ref *pbresource.Reference `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	// For east/west this is the name of the Consul Service port to direct traffic to
	// or empty to imply using the same value as the parent ref.
	// For north/south this is TBD.
	//
	// For more details on potential values of this field, see documentation for
	// Service.ServicePort.
	Port       string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"`
	Datacenter string `protobuf:"bytes,3,opt,name=datacenter,proto3" json:"datacenter,omitempty"`
	// contains filtered or unexported fields
}

func (*BackendReference) DeepCopy

func (in *BackendReference) DeepCopy() *BackendReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendReference. Required by controller-gen.

func (*BackendReference) DeepCopyInterface

func (in *BackendReference) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new BackendReference. Required by controller-gen.

func (*BackendReference) DeepCopyInto

func (in *BackendReference) DeepCopyInto(out *BackendReference)

DeepCopyInto supports using BackendReference within kubernetes types, where deepcopy-gen is used.

func (*BackendReference) Descriptor deprecated

func (*BackendReference) Descriptor() ([]byte, []int)

Deprecated: Use BackendReference.ProtoReflect.Descriptor instead.

func (*BackendReference) GetDatacenter

func (x *BackendReference) GetDatacenter() string

func (*BackendReference) GetPort

func (x *BackendReference) GetPort() string

func (*BackendReference) GetRef

func (x *BackendReference) GetRef() *pbresource.Reference

func (*BackendReference) MarshalBinary

func (msg *BackendReference) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*BackendReference) MarshalJSON

func (this *BackendReference) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for BackendReference

func (*BackendReference) ProtoMessage

func (*BackendReference) ProtoMessage()

func (*BackendReference) ProtoReflect

func (x *BackendReference) ProtoReflect() protoreflect.Message

func (*BackendReference) Reset

func (x *BackendReference) Reset()

func (*BackendReference) String

func (x *BackendReference) String() string

func (*BackendReference) UnmarshalBinary

func (msg *BackendReference) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*BackendReference) UnmarshalJSON

func (this *BackendReference) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for BackendReference

type BackendTargetDetails

type BackendTargetDetails struct {
	Type              BackendTargetDetailsType `protobuf:"varint,1,opt,name=type,proto3,enum=hashicorp.consul.mesh.v2beta1.BackendTargetDetailsType" json:"type,omitempty"`
	BackendRef        *BackendReference        `protobuf:"bytes,2,opt,name=backend_ref,json=backendRef,proto3" json:"backend_ref,omitempty"`
	MeshPort          string                   `protobuf:"bytes,3,opt,name=mesh_port,json=meshPort,proto3" json:"mesh_port,omitempty"`
	FailoverConfig    *ComputedFailoverConfig  `protobuf:"bytes,4,opt,name=failover_config,json=failoverConfig,proto3" json:"failover_config,omitempty"`
	DestinationConfig *DestinationConfig       `protobuf:"bytes,5,opt,name=destination_config,json=destinationConfig,proto3" json:"destination_config,omitempty"`
	// ServiceEndpointsRef is not populated naturally and the field exists only for downstream consumers.
	ServiceEndpointsRef *pbproxystate.EndpointRef `protobuf:"bytes,24,opt,name=service_endpoints_ref,json=serviceEndpointsRef,proto3" json:"service_endpoints_ref,omitempty"`
	// IdentityRefs are not populated naturally and the field exists only for
	// downstream consumers.
	IdentityRefs []*pbresource.Reference `protobuf:"bytes,23,rep,name=identity_refs,json=identityRefs,proto3" json:"identity_refs,omitempty"`
	// contains filtered or unexported fields
}

func (*BackendTargetDetails) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendTargetDetails. Required by controller-gen.

func (*BackendTargetDetails) DeepCopyInterface

func (in *BackendTargetDetails) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new BackendTargetDetails. Required by controller-gen.

func (*BackendTargetDetails) DeepCopyInto

func (in *BackendTargetDetails) DeepCopyInto(out *BackendTargetDetails)

DeepCopyInto supports using BackendTargetDetails within kubernetes types, where deepcopy-gen is used.

func (*BackendTargetDetails) Descriptor deprecated

func (*BackendTargetDetails) Descriptor() ([]byte, []int)

Deprecated: Use BackendTargetDetails.ProtoReflect.Descriptor instead.

func (*BackendTargetDetails) GetBackendRef

func (x *BackendTargetDetails) GetBackendRef() *BackendReference

func (*BackendTargetDetails) GetDestinationConfig

func (x *BackendTargetDetails) GetDestinationConfig() *DestinationConfig

func (*BackendTargetDetails) GetFailoverConfig

func (x *BackendTargetDetails) GetFailoverConfig() *ComputedFailoverConfig

func (*BackendTargetDetails) GetIdentityRefs

func (x *BackendTargetDetails) GetIdentityRefs() []*pbresource.Reference

func (*BackendTargetDetails) GetMeshPort

func (x *BackendTargetDetails) GetMeshPort() string

func (*BackendTargetDetails) GetServiceEndpointsRef added in v0.6.0

func (x *BackendTargetDetails) GetServiceEndpointsRef() *pbproxystate.EndpointRef

func (*BackendTargetDetails) GetType

func (*BackendTargetDetails) MarshalBinary

func (msg *BackendTargetDetails) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*BackendTargetDetails) MarshalJSON

func (this *BackendTargetDetails) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for BackendTargetDetails

func (*BackendTargetDetails) ProtoMessage

func (*BackendTargetDetails) ProtoMessage()

func (*BackendTargetDetails) ProtoReflect

func (x *BackendTargetDetails) ProtoReflect() protoreflect.Message

func (*BackendTargetDetails) Reset

func (x *BackendTargetDetails) Reset()

func (*BackendTargetDetails) String

func (x *BackendTargetDetails) String() string

func (*BackendTargetDetails) UnmarshalBinary

func (msg *BackendTargetDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*BackendTargetDetails) UnmarshalJSON

func (this *BackendTargetDetails) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for BackendTargetDetails

type BackendTargetDetailsType

type BackendTargetDetailsType int32

+kubebuilder:validation:Enum=BACKEND_TARGET_DETAILS_TYPE_UNSPECIFIED;BACKEND_TARGET_DETAILS_TYPE_DIRECT;BACKEND_TARGET_DETAILS_TYPE_INDIRECT +kubebuilder:validation:Type=string

const (
	BackendTargetDetailsType_BACKEND_TARGET_DETAILS_TYPE_UNSPECIFIED BackendTargetDetailsType = 0
	// Direct means that the target is directly routable from a route. This does
	// not mean that the target is not also indirect though.
	BackendTargetDetailsType_BACKEND_TARGET_DETAILS_TYPE_DIRECT BackendTargetDetailsType = 1
	// Indirect means that the target is not directly routable from a route.
	//
	// One example would be for a FailoverPolicy destination.
	BackendTargetDetailsType_BACKEND_TARGET_DETAILS_TYPE_INDIRECT BackendTargetDetailsType = 2
)

func (BackendTargetDetailsType) Descriptor

func (BackendTargetDetailsType) Enum

func (BackendTargetDetailsType) EnumDescriptor deprecated

func (BackendTargetDetailsType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BackendTargetDetailsType.Descriptor instead.

func (BackendTargetDetailsType) Number

func (BackendTargetDetailsType) String

func (x BackendTargetDetailsType) String() string

func (BackendTargetDetailsType) Type

type BalanceConnections

type BalanceConnections int32

+kubebuilder:validation:Enum=BALANCE_CONNECTIONS_DEFAULT;BALANCE_CONNECTIONS_EXACT +kubebuilder:validation:Type=string

const (
	// buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
	BalanceConnections_BALANCE_CONNECTIONS_DEFAULT BalanceConnections = 0
	BalanceConnections_BALANCE_CONNECTIONS_EXACT   BalanceConnections = 1
)

func (BalanceConnections) Descriptor

func (BalanceConnections) Enum

func (BalanceConnections) EnumDescriptor deprecated

func (BalanceConnections) EnumDescriptor() ([]byte, []int)

Deprecated: Use BalanceConnections.Descriptor instead.

func (BalanceConnections) Number

func (BalanceConnections) String

func (x BalanceConnections) String() string

func (BalanceConnections) Type

type BootstrapConfig

type BootstrapConfig struct {
	StatsdUrl                       string   `protobuf:"bytes,1,opt,name=statsd_url,json=statsdUrl,proto3" json:"statsd_url,omitempty"`
	DogstatsdUrl                    string   `protobuf:"bytes,2,opt,name=dogstatsd_url,json=dogstatsdUrl,proto3" json:"dogstatsd_url,omitempty"`
	StatsTags                       []string `protobuf:"bytes,3,rep,name=stats_tags,json=statsTags,proto3" json:"stats_tags,omitempty"`
	PrometheusBindAddr              string   `protobuf:"bytes,4,opt,name=prometheus_bind_addr,json=prometheusBindAddr,proto3" json:"prometheus_bind_addr,omitempty"`
	StatsBindAddr                   string   `protobuf:"bytes,5,opt,name=stats_bind_addr,json=statsBindAddr,proto3" json:"stats_bind_addr,omitempty"`
	ReadyBindAddr                   string   `protobuf:"bytes,6,opt,name=ready_bind_addr,json=readyBindAddr,proto3" json:"ready_bind_addr,omitempty"`
	OverrideJsonTpl                 string   `protobuf:"bytes,7,opt,name=override_json_tpl,json=overrideJsonTpl,proto3" json:"override_json_tpl,omitempty"`
	StaticClustersJson              string   `protobuf:"bytes,8,opt,name=static_clusters_json,json=staticClustersJson,proto3" json:"static_clusters_json,omitempty"`
	StaticListenersJson             string   `protobuf:"bytes,9,opt,name=static_listeners_json,json=staticListenersJson,proto3" json:"static_listeners_json,omitempty"`
	StatsSinksJson                  string   `protobuf:"bytes,10,opt,name=stats_sinks_json,json=statsSinksJson,proto3" json:"stats_sinks_json,omitempty"`
	StatsConfigJson                 string   `protobuf:"bytes,11,opt,name=stats_config_json,json=statsConfigJson,proto3" json:"stats_config_json,omitempty"`
	StatsFlushInterval              string   `protobuf:"bytes,12,opt,name=stats_flush_interval,json=statsFlushInterval,proto3" json:"stats_flush_interval,omitempty"`
	TracingConfigJson               string   `protobuf:"bytes,13,opt,name=tracing_config_json,json=tracingConfigJson,proto3" json:"tracing_config_json,omitempty"`
	TelemetryCollectorBindSocketDir string   `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

BootstrapConfig is equivalent to configuration defined in our docs.

func (*BootstrapConfig) DeepCopy

func (in *BootstrapConfig) DeepCopy() *BootstrapConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapConfig. Required by controller-gen.

func (*BootstrapConfig) DeepCopyInterface

func (in *BootstrapConfig) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapConfig. Required by controller-gen.

func (*BootstrapConfig) DeepCopyInto

func (in *BootstrapConfig) DeepCopyInto(out *BootstrapConfig)

DeepCopyInto supports using BootstrapConfig within kubernetes types, where deepcopy-gen is used.

func (*BootstrapConfig) Descriptor deprecated

func (*BootstrapConfig) Descriptor() ([]byte, []int)

Deprecated: Use BootstrapConfig.ProtoReflect.Descriptor instead.

func (*BootstrapConfig) GetDogstatsdUrl

func (x *BootstrapConfig) GetDogstatsdUrl() string

func (*BootstrapConfig) GetOverrideJsonTpl

func (x *BootstrapConfig) GetOverrideJsonTpl() string

func (*BootstrapConfig) GetPrometheusBindAddr

func (x *BootstrapConfig) GetPrometheusBindAddr() string

func (*BootstrapConfig) GetReadyBindAddr

func (x *BootstrapConfig) GetReadyBindAddr() string

func (*BootstrapConfig) GetStaticClustersJson

func (x *BootstrapConfig) GetStaticClustersJson() string

func (*BootstrapConfig) GetStaticListenersJson

func (x *BootstrapConfig) GetStaticListenersJson() string

func (*BootstrapConfig) GetStatsBindAddr

func (x *BootstrapConfig) GetStatsBindAddr() string

func (*BootstrapConfig) GetStatsConfigJson

func (x *BootstrapConfig) GetStatsConfigJson() string

func (*BootstrapConfig) GetStatsFlushInterval

func (x *BootstrapConfig) GetStatsFlushInterval() string

func (*BootstrapConfig) GetStatsSinksJson

func (x *BootstrapConfig) GetStatsSinksJson() string

func (*BootstrapConfig) GetStatsTags

func (x *BootstrapConfig) GetStatsTags() []string

func (*BootstrapConfig) GetStatsdUrl

func (x *BootstrapConfig) GetStatsdUrl() string

func (*BootstrapConfig) GetTelemetryCollectorBindSocketDir

func (x *BootstrapConfig) GetTelemetryCollectorBindSocketDir() string

func (*BootstrapConfig) GetTracingConfigJson

func (x *BootstrapConfig) GetTracingConfigJson() string

func (*BootstrapConfig) MarshalBinary

func (msg *BootstrapConfig) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*BootstrapConfig) MarshalJSON

func (this *BootstrapConfig) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for BootstrapConfig

func (*BootstrapConfig) ProtoMessage

func (*BootstrapConfig) ProtoMessage()

func (*BootstrapConfig) ProtoReflect

func (x *BootstrapConfig) ProtoReflect() protoreflect.Message

func (*BootstrapConfig) Reset

func (x *BootstrapConfig) Reset()

func (*BootstrapConfig) String

func (x *BootstrapConfig) String() string

func (*BootstrapConfig) UnmarshalBinary

func (msg *BootstrapConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*BootstrapConfig) UnmarshalJSON

func (this *BootstrapConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for BootstrapConfig

type ComputedExplicitDestinations

type ComputedExplicitDestinations struct {

	// destinations is the list of explicit destinations to define for the selected workloads.
	Destinations []*Destination `protobuf:"bytes,1,rep,name=destinations,proto3" json:"destinations,omitempty"`
	// contains filtered or unexported fields
}

func (*ComputedExplicitDestinations) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputedExplicitDestinations. Required by controller-gen.

func (*ComputedExplicitDestinations) DeepCopyInterface

func (in *ComputedExplicitDestinations) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ComputedExplicitDestinations. Required by controller-gen.

func (*ComputedExplicitDestinations) DeepCopyInto

DeepCopyInto supports using ComputedExplicitDestinations within kubernetes types, where deepcopy-gen is used.

func (*ComputedExplicitDestinations) Descriptor deprecated

func (*ComputedExplicitDestinations) Descriptor() ([]byte, []int)

Deprecated: Use ComputedExplicitDestinations.ProtoReflect.Descriptor instead.

func (*ComputedExplicitDestinations) GetDestinations

func (x *ComputedExplicitDestinations) GetDestinations() []*Destination

func (*ComputedExplicitDestinations) MarshalBinary

func (msg *ComputedExplicitDestinations) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ComputedExplicitDestinations) MarshalJSON

func (this *ComputedExplicitDestinations) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ComputedExplicitDestinations

func (*ComputedExplicitDestinations) ProtoMessage

func (*ComputedExplicitDestinations) ProtoMessage()

func (*ComputedExplicitDestinations) ProtoReflect

func (*ComputedExplicitDestinations) Reset

func (x *ComputedExplicitDestinations) Reset()

func (*ComputedExplicitDestinations) String

func (*ComputedExplicitDestinations) UnmarshalBinary

func (msg *ComputedExplicitDestinations) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ComputedExplicitDestinations) UnmarshalJSON

func (this *ComputedExplicitDestinations) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ComputedExplicitDestinations

type ComputedFailoverConfig

type ComputedFailoverConfig struct {
	Destinations []*ComputedFailoverDestination `protobuf:"bytes,1,rep,name=destinations,proto3" json:"destinations,omitempty"`
	Mode         v2beta1.FailoverMode           `protobuf:"varint,2,opt,name=mode,proto3,enum=hashicorp.consul.catalog.v2beta1.FailoverMode" json:"mode,omitempty"`
	Regions      []string                       `protobuf:"bytes,3,rep,name=regions,proto3" json:"regions,omitempty"`
	// SamenessGroup specifies the sameness group to failover to.
	SamenessGroup string `protobuf:"bytes,4,opt,name=sameness_group,json=samenessGroup,proto3" json:"sameness_group,omitempty"`
	// contains filtered or unexported fields
}

func (*ComputedFailoverConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputedFailoverConfig. Required by controller-gen.

func (*ComputedFailoverConfig) DeepCopyInterface

func (in *ComputedFailoverConfig) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ComputedFailoverConfig. Required by controller-gen.

func (*ComputedFailoverConfig) DeepCopyInto

func (in *ComputedFailoverConfig) DeepCopyInto(out *ComputedFailoverConfig)

DeepCopyInto supports using ComputedFailoverConfig within kubernetes types, where deepcopy-gen is used.

func (*ComputedFailoverConfig) Descriptor deprecated

func (*ComputedFailoverConfig) Descriptor() ([]byte, []int)

Deprecated: Use ComputedFailoverConfig.ProtoReflect.Descriptor instead.

func (*ComputedFailoverConfig) GetDestinations

func (x *ComputedFailoverConfig) GetDestinations() []*ComputedFailoverDestination

func (*ComputedFailoverConfig) GetMode

func (*ComputedFailoverConfig) GetRegions

func (x *ComputedFailoverConfig) GetRegions() []string

func (*ComputedFailoverConfig) GetSamenessGroup

func (x *ComputedFailoverConfig) GetSamenessGroup() string

func (*ComputedFailoverConfig) MarshalBinary

func (msg *ComputedFailoverConfig) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ComputedFailoverConfig) MarshalJSON

func (this *ComputedFailoverConfig) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ComputedFailoverConfig

func (*ComputedFailoverConfig) ProtoMessage

func (*ComputedFailoverConfig) ProtoMessage()

func (*ComputedFailoverConfig) ProtoReflect

func (x *ComputedFailoverConfig) ProtoReflect() protoreflect.Message

func (*ComputedFailoverConfig) Reset

func (x *ComputedFailoverConfig) Reset()

func (*ComputedFailoverConfig) String

func (x *ComputedFailoverConfig) String() string

func (*ComputedFailoverConfig) UnmarshalBinary

func (msg *ComputedFailoverConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ComputedFailoverConfig) UnmarshalJSON

func (this *ComputedFailoverConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ComputedFailoverConfig

type ComputedFailoverDestination

type ComputedFailoverDestination struct {

	// BackendTarget must be a Service.
	BackendTarget string `protobuf:"bytes,1,opt,name=backend_target,json=backendTarget,proto3" json:"backend_target,omitempty"`
	// contains filtered or unexported fields
}

func (*ComputedFailoverDestination) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputedFailoverDestination. Required by controller-gen.

func (*ComputedFailoverDestination) DeepCopyInterface

func (in *ComputedFailoverDestination) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ComputedFailoverDestination. Required by controller-gen.

func (*ComputedFailoverDestination) DeepCopyInto

DeepCopyInto supports using ComputedFailoverDestination within kubernetes types, where deepcopy-gen is used.

func (*ComputedFailoverDestination) Descriptor deprecated

func (*ComputedFailoverDestination) Descriptor() ([]byte, []int)

Deprecated: Use ComputedFailoverDestination.ProtoReflect.Descriptor instead.

func (*ComputedFailoverDestination) GetBackendTarget

func (x *ComputedFailoverDestination) GetBackendTarget() string

func (*ComputedFailoverDestination) MarshalBinary

func (msg *ComputedFailoverDestination) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ComputedFailoverDestination) MarshalJSON

func (this *ComputedFailoverDestination) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ComputedFailoverDestination

func (*ComputedFailoverDestination) ProtoMessage

func (*ComputedFailoverDestination) ProtoMessage()

func (*ComputedFailoverDestination) ProtoReflect

func (*ComputedFailoverDestination) Reset

func (x *ComputedFailoverDestination) Reset()

func (*ComputedFailoverDestination) String

func (x *ComputedFailoverDestination) String() string

func (*ComputedFailoverDestination) UnmarshalBinary

func (msg *ComputedFailoverDestination) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ComputedFailoverDestination) UnmarshalJSON

func (this *ComputedFailoverDestination) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ComputedFailoverDestination

type ComputedGRPCBackendRef

type ComputedGRPCBackendRef struct {

	// BackendTarget indicates which key in the targets map provides
	// the rest of the configuration.
	//
	// If this field is set to the empty string, or is the sentinel value
	// "NULL-ROUTE" is an indication that all of the traffic destined for this
	// backend reference should be null routed in a format appropriate for the
	// protocol (i.e. for HTTP use 5xx).
	BackendTarget string             `protobuf:"bytes,1,opt,name=backend_target,json=backendTarget,proto3" json:"backend_target,omitempty"`
	Weight        uint32             `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	Filters       []*GRPCRouteFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"`
	// contains filtered or unexported fields
}

func (*ComputedGRPCBackendRef) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputedGRPCBackendRef. Required by controller-gen.

func (*ComputedGRPCBackendRef) DeepCopyInterface

func (in *ComputedGRPCBackendRef) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ComputedGRPCBackendRef. Required by controller-gen.

func (*ComputedGRPCBackendRef) DeepCopyInto

func (in *ComputedGRPCBackendRef) DeepCopyInto(out *ComputedGRPCBackendRef)

DeepCopyInto supports using ComputedGRPCBackendRef within kubernetes types, where deepcopy-gen is used.

func (*ComputedGRPCBackendRef) Descriptor deprecated

func (*ComputedGRPCBackendRef) Descriptor() ([]byte, []int)

Deprecated: Use ComputedGRPCBackendRef.ProtoReflect.Descriptor instead.

func (*ComputedGRPCBackendRef) GetBackendTarget

func (x *ComputedGRPCBackendRef) GetBackendTarget() string

func (*ComputedGRPCBackendRef) GetFilters

func (x *ComputedGRPCBackendRef) GetFilters() []*GRPCRouteFilter

func (*ComputedGRPCBackendRef) GetWeight

func (x *ComputedGRPCBackendRef) GetWeight() uint32

func (*ComputedGRPCBackendRef) MarshalBinary

func (msg *ComputedGRPCBackendRef) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ComputedGRPCBackendRef) MarshalJSON

func (this *ComputedGRPCBackendRef) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ComputedGRPCBackendRef

func (*ComputedGRPCBackendRef) ProtoMessage

func (*ComputedGRPCBackendRef) ProtoMessage()

func (*ComputedGRPCBackendRef) ProtoReflect

func (x *ComputedGRPCBackendRef) ProtoReflect() protoreflect.Message

func (*ComputedGRPCBackendRef) Reset

func (x *ComputedGRPCBackendRef) Reset()

func (*ComputedGRPCBackendRef) String

func (x *ComputedGRPCBackendRef) String() string

func (*ComputedGRPCBackendRef) UnmarshalBinary

func (msg *ComputedGRPCBackendRef) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ComputedGRPCBackendRef) UnmarshalJSON

func (this *ComputedGRPCBackendRef) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ComputedGRPCBackendRef

type ComputedGRPCRoute

type ComputedGRPCRoute struct {
	Rules []*ComputedGRPCRouteRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

func (*ComputedGRPCRoute) DeepCopy

func (in *ComputedGRPCRoute) DeepCopy() *ComputedGRPCRoute

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputedGRPCRoute. Required by controller-gen.

func (*ComputedGRPCRoute) DeepCopyInterface

func (in *ComputedGRPCRoute) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ComputedGRPCRoute. Required by controller-gen.

func (*ComputedGRPCRoute) DeepCopyInto

func (in *ComputedGRPCRoute) DeepCopyInto(out *ComputedGRPCRoute)

DeepCopyInto supports using ComputedGRPCRoute within kubernetes types, where deepcopy-gen is used.

func (*ComputedGRPCRoute) Descriptor deprecated

func (*ComputedGRPCRoute) Descriptor() ([]byte, []int)

Deprecated: Use ComputedGRPCRoute.ProtoReflect.Descriptor instead.

func (*ComputedGRPCRoute) GetRules

func (x *ComputedGRPCRoute) GetRules() []*ComputedGRPCRouteRule

func (*ComputedGRPCRoute) MarshalBinary

func (msg *ComputedGRPCRoute) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ComputedGRPCRoute) MarshalJSON

func (this *ComputedGRPCRoute) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ComputedGRPCRoute

func (*ComputedGRPCRoute) ProtoMessage

func (*ComputedGRPCRoute) ProtoMessage()

func (*ComputedGRPCRoute) ProtoReflect

func (x *ComputedGRPCRoute) ProtoReflect() protoreflect.Message

func (*ComputedGRPCRoute) Reset

func (x *ComputedGRPCRoute) Reset()

func (*ComputedGRPCRoute) String

func (x *ComputedGRPCRoute) String() string

func (*ComputedGRPCRoute) UnmarshalBinary

func (msg *ComputedGRPCRoute) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ComputedGRPCRoute) UnmarshalJSON

func (this *ComputedGRPCRoute) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ComputedGRPCRoute

type ComputedGRPCRouteRule

type ComputedGRPCRouteRule struct {
	Matches     []*GRPCRouteMatch         `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
	Filters     []*GRPCRouteFilter        `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"`
	BackendRefs []*ComputedGRPCBackendRef `protobuf:"bytes,3,rep,name=backend_refs,json=backendRefs,proto3" json:"backend_refs,omitempty"`
	Timeouts    *HTTPRouteTimeouts        `protobuf:"bytes,4,opt,name=timeouts,proto3" json:"timeouts,omitempty"`
	Retries     *HTTPRouteRetries         `protobuf:"bytes,5,opt,name=retries,proto3" json:"retries,omitempty"`
	// contains filtered or unexported fields
}

func (*ComputedGRPCRouteRule) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputedGRPCRouteRule. Required by controller-gen.

func (*ComputedGRPCRouteRule) DeepCopyInterface

func (in *ComputedGRPCRouteRule) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ComputedGRPCRouteRule. Required by controller-gen.

func (*ComputedGRPCRouteRule) DeepCopyInto

func (in *ComputedGRPCRouteRule) DeepCopyInto(out *ComputedGRPCRouteRule)

DeepCopyInto supports using ComputedGRPCRouteRule within kubernetes types, where deepcopy-gen is used.

func (*ComputedGRPCRouteRule) Descriptor deprecated

func (*ComputedGRPCRouteRule) Descriptor() ([]byte, []int)

Deprecated: Use ComputedGRPCRouteRule.ProtoReflect.Descriptor instead.

func (*ComputedGRPCRouteRule) GetBackendRefs

func (x *ComputedGRPCRouteRule) GetBackendRefs() []*ComputedGRPCBackendRef

func (*ComputedGRPCRouteRule) GetFilters

func (x *ComputedGRPCRouteRule) GetFilters() []*GRPCRouteFilter

func (*ComputedGRPCRouteRule) GetMatches

func (x *ComputedGRPCRouteRule) GetMatches() []*GRPCRouteMatch

func (*ComputedGRPCRouteRule) GetRetries

func (x *ComputedGRPCRouteRule) GetRetries() *HTTPRouteRetries

func (*ComputedGRPCRouteRule) GetTimeouts

func (x *ComputedGRPCRouteRule) GetTimeouts() *HTTPRouteTimeouts

func (*ComputedGRPCRouteRule) MarshalBinary

func (msg *ComputedGRPCRouteRule) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ComputedGRPCRouteRule) MarshalJSON

func (this *ComputedGRPCRouteRule) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ComputedGRPCRouteRule

func (*ComputedGRPCRouteRule) ProtoMessage

func (*ComputedGRPCRouteRule) ProtoMessage()

func (*ComputedGRPCRouteRule) ProtoReflect

func (x *ComputedGRPCRouteRule) ProtoReflect() protoreflect.Message

func (*ComputedGRPCRouteRule) Reset

func (x *ComputedGRPCRouteRule) Reset()

func (*ComputedGRPCRouteRule) String

func (x *ComputedGRPCRouteRule) String() string

func (*ComputedGRPCRouteRule) UnmarshalBinary

func (msg *ComputedGRPCRouteRule) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ComputedGRPCRouteRule) UnmarshalJSON

func (this *ComputedGRPCRouteRule) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ComputedGRPCRouteRule

type ComputedHTTPBackendRef

type ComputedHTTPBackendRef struct {

	// BackendTarget indicates which key in the targets map provides
	// the rest of the configuration.
	//
	// If this field is set to the empty string, or is the sentinel value
	// "NULL-ROUTE" is an indication that all of the traffic destined for this
	// backend reference should be null routed in a format appropriate for the
	// protocol (i.e. for HTTP use 5xx).
	BackendTarget string             `protobuf:"bytes,1,opt,name=backend_target,json=backendTarget,proto3" json:"backend_target,omitempty"`
	Weight        uint32             `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	Filters       []*HTTPRouteFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"`
	// contains filtered or unexported fields
}

func (*ComputedHTTPBackendRef) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputedHTTPBackendRef. Required by controller-gen.

func (*ComputedHTTPBackendRef) DeepCopyInterface

func (in *ComputedHTTPBackendRef) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ComputedHTTPBackendRef. Required by controller-gen.

func (*ComputedHTTPBackendRef) DeepCopyInto

func (in *ComputedHTTPBackendRef) DeepCopyInto(out *ComputedHTTPBackendRef)

DeepCopyInto supports using ComputedHTTPBackendRef within kubernetes types, where deepcopy-gen is used.

func (*ComputedHTTPBackendRef) Descriptor deprecated

func (*ComputedHTTPBackendRef) Descriptor() ([]byte, []int)

Deprecated: Use ComputedHTTPBackendRef.ProtoReflect.Descriptor instead.

func (*ComputedHTTPBackendRef) GetBackendTarget

func (x *ComputedHTTPBackendRef) GetBackendTarget() string

func (*ComputedHTTPBackendRef) GetFilters

func (x *ComputedHTTPBackendRef) GetFilters() []*HTTPRouteFilter

func (*ComputedHTTPBackendRef) GetWeight

func (x *ComputedHTTPBackendRef) GetWeight() uint32

func (*ComputedHTTPBackendRef) MarshalBinary

func (msg *ComputedHTTPBackendRef) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ComputedHTTPBackendRef) MarshalJSON

func (this *ComputedHTTPBackendRef) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ComputedHTTPBackendRef

func (*ComputedHTTPBackendRef) ProtoMessage

func (*ComputedHTTPBackendRef) ProtoMessage()

func (*ComputedHTTPBackendRef) ProtoReflect

func (x *ComputedHTTPBackendRef) ProtoReflect() protoreflect.Message

func (*ComputedHTTPBackendRef) Reset

func (x *ComputedHTTPBackendRef) Reset()

func (*ComputedHTTPBackendRef) String

func (x *ComputedHTTPBackendRef) String() string

func (*ComputedHTTPBackendRef) UnmarshalBinary

func (msg *ComputedHTTPBackendRef) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ComputedHTTPBackendRef) UnmarshalJSON

func (this *ComputedHTTPBackendRef) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ComputedHTTPBackendRef

type ComputedHTTPRoute

type ComputedHTTPRoute struct {
	Rules []*ComputedHTTPRouteRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

func (*ComputedHTTPRoute) DeepCopy

func (in *ComputedHTTPRoute) DeepCopy() *ComputedHTTPRoute

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputedHTTPRoute. Required by controller-gen.

func (*ComputedHTTPRoute) DeepCopyInterface

func (in *ComputedHTTPRoute) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ComputedHTTPRoute. Required by controller-gen.

func (*ComputedHTTPRoute) DeepCopyInto

func (in *ComputedHTTPRoute) DeepCopyInto(out *ComputedHTTPRoute)

DeepCopyInto supports using ComputedHTTPRoute within kubernetes types, where deepcopy-gen is used.

func (*ComputedHTTPRoute) Descriptor deprecated

func (*ComputedHTTPRoute) Descriptor() ([]byte, []int)

Deprecated: Use ComputedHTTPRoute.ProtoReflect.Descriptor instead.

func (*ComputedHTTPRoute) GetRules

func (x *ComputedHTTPRoute) GetRules() []*ComputedHTTPRouteRule

func (*ComputedHTTPRoute) MarshalBinary

func (msg *ComputedHTTPRoute) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ComputedHTTPRoute) MarshalJSON

func (this *ComputedHTTPRoute) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ComputedHTTPRoute

func (*ComputedHTTPRoute) ProtoMessage

func (*ComputedHTTPRoute) ProtoMessage()

func (*ComputedHTTPRoute) ProtoReflect

func (x *ComputedHTTPRoute) ProtoReflect() protoreflect.Message

func (*ComputedHTTPRoute) Reset

func (x *ComputedHTTPRoute) Reset()

func (*ComputedHTTPRoute) String

func (x *ComputedHTTPRoute) String() string

func (*ComputedHTTPRoute) UnmarshalBinary

func (msg *ComputedHTTPRoute) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ComputedHTTPRoute) UnmarshalJSON

func (this *ComputedHTTPRoute) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ComputedHTTPRoute

type ComputedHTTPRouteRule

type ComputedHTTPRouteRule struct {
	Matches     []*HTTPRouteMatch         `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
	Filters     []*HTTPRouteFilter        `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"`
	BackendRefs []*ComputedHTTPBackendRef `protobuf:"bytes,3,rep,name=backend_refs,json=backendRefs,proto3" json:"backend_refs,omitempty"`
	Timeouts    *HTTPRouteTimeouts        `protobuf:"bytes,4,opt,name=timeouts,proto3" json:"timeouts,omitempty"`
	Retries     *HTTPRouteRetries         `protobuf:"bytes,5,opt,name=retries,proto3" json:"retries,omitempty"`
	// contains filtered or unexported fields
}

func (*ComputedHTTPRouteRule) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputedHTTPRouteRule. Required by controller-gen.

func (*ComputedHTTPRouteRule) DeepCopyInterface

func (in *ComputedHTTPRouteRule) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ComputedHTTPRouteRule. Required by controller-gen.

func (*ComputedHTTPRouteRule) DeepCopyInto

func (in *ComputedHTTPRouteRule) DeepCopyInto(out *ComputedHTTPRouteRule)

DeepCopyInto supports using ComputedHTTPRouteRule within kubernetes types, where deepcopy-gen is used.

func (*ComputedHTTPRouteRule) Descriptor deprecated

func (*ComputedHTTPRouteRule) Descriptor() ([]byte, []int)

Deprecated: Use ComputedHTTPRouteRule.ProtoReflect.Descriptor instead.

func (*ComputedHTTPRouteRule) GetBackendRefs

func (x *ComputedHTTPRouteRule) GetBackendRefs() []*ComputedHTTPBackendRef

func (*ComputedHTTPRouteRule) GetFilters

func (x *ComputedHTTPRouteRule) GetFilters() []*HTTPRouteFilter

func (*ComputedHTTPRouteRule) GetMatches

func (x *ComputedHTTPRouteRule) GetMatches() []*HTTPRouteMatch

func (*ComputedHTTPRouteRule) GetRetries

func (x *ComputedHTTPRouteRule) GetRetries() *HTTPRouteRetries

func (*ComputedHTTPRouteRule) GetTimeouts

func (x *ComputedHTTPRouteRule) GetTimeouts() *HTTPRouteTimeouts

func (*ComputedHTTPRouteRule) MarshalBinary

func (msg *ComputedHTTPRouteRule) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ComputedHTTPRouteRule) MarshalJSON

func (this *ComputedHTTPRouteRule) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ComputedHTTPRouteRule

func (*ComputedHTTPRouteRule) ProtoMessage

func (*ComputedHTTPRouteRule) ProtoMessage()

func (*ComputedHTTPRouteRule) ProtoReflect

func (x *ComputedHTTPRouteRule) ProtoReflect() protoreflect.Message

func (*ComputedHTTPRouteRule) Reset

func (x *ComputedHTTPRouteRule) Reset()

func (*ComputedHTTPRouteRule) String

func (x *ComputedHTTPRouteRule) String() string

func (*ComputedHTTPRouteRule) UnmarshalBinary

func (msg *ComputedHTTPRouteRule) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ComputedHTTPRouteRule) UnmarshalJSON

func (this *ComputedHTTPRouteRule) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ComputedHTTPRouteRule

type ComputedImplicitDestinations added in v0.6.0

type ComputedImplicitDestinations struct {

	// destinations is the list of destinations.
	Destinations []*ImplicitDestination `protobuf:"bytes,1,rep,name=destinations,proto3" json:"destinations,omitempty"`
	// BoundReferences is a slice of mixed type references of resources that were
	// involved in the formulation of this resource.
	BoundReferences []*pbresource.Reference `protobuf:"bytes,2,rep,name=bound_references,json=boundReferences,proto3" json:"bound_references,omitempty"`
	// contains filtered or unexported fields
}

ImplicitDestinations tracks destination services for a given workload identity.

func (*ComputedImplicitDestinations) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputedImplicitDestinations. Required by controller-gen.

func (*ComputedImplicitDestinations) DeepCopyInterface added in v0.6.0

func (in *ComputedImplicitDestinations) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ComputedImplicitDestinations. Required by controller-gen.

func (*ComputedImplicitDestinations) DeepCopyInto added in v0.6.0

DeepCopyInto supports using ComputedImplicitDestinations within kubernetes types, where deepcopy-gen is used.

func (*ComputedImplicitDestinations) Descriptor deprecated added in v0.6.0

func (*ComputedImplicitDestinations) Descriptor() ([]byte, []int)

Deprecated: Use ComputedImplicitDestinations.ProtoReflect.Descriptor instead.

func (*ComputedImplicitDestinations) GetBoundReferences added in v0.6.0

func (x *ComputedImplicitDestinations) GetBoundReferences() []*pbresource.Reference

func (*ComputedImplicitDestinations) GetDestinations added in v0.6.0

func (x *ComputedImplicitDestinations) GetDestinations() []*ImplicitDestination

func (*ComputedImplicitDestinations) MarshalBinary added in v0.6.0

func (msg *ComputedImplicitDestinations) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ComputedImplicitDestinations) MarshalJSON added in v0.6.0

func (this *ComputedImplicitDestinations) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ComputedImplicitDestinations

func (*ComputedImplicitDestinations) ProtoMessage added in v0.6.0

func (*ComputedImplicitDestinations) ProtoMessage()

func (*ComputedImplicitDestinations) ProtoReflect added in v0.6.0

func (*ComputedImplicitDestinations) Reset added in v0.6.0

func (x *ComputedImplicitDestinations) Reset()

func (*ComputedImplicitDestinations) String added in v0.6.0

func (*ComputedImplicitDestinations) UnmarshalBinary added in v0.6.0

func (msg *ComputedImplicitDestinations) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ComputedImplicitDestinations) UnmarshalJSON added in v0.6.0

func (this *ComputedImplicitDestinations) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ComputedImplicitDestinations

type ComputedPortRoutes

type ComputedPortRoutes struct {

	// Types that are assignable to Config:
	//
	//	*ComputedPortRoutes_Http
	//	*ComputedPortRoutes_Grpc
	//	*ComputedPortRoutes_Tcp
	Config             isComputedPortRoutes_Config `protobuf_oneof:"config"`
	UsingDefaultConfig bool                        `protobuf:"varint,4,opt,name=using_default_config,json=usingDefaultConfig,proto3" json:"using_default_config,omitempty"` // TODO
	ParentRef          *ParentReference            `protobuf:"bytes,5,opt,name=parent_ref,json=parentRef,proto3" json:"parent_ref,omitempty"`
	// Protocol is the ParentRef.Port's protocol. It is based on the value in the
	// Service object, but may differ depending upon which xRoutes are actually
	// in use.
	Protocol v2beta1.Protocol `protobuf:"varint,6,opt,name=protocol,proto3,enum=hashicorp.consul.catalog.v2beta1.Protocol" json:"protocol,omitempty"`
	// map key is an opaque string; like disco chain target name
	Targets map[string]*BackendTargetDetails `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ComputedPortRoutes) DeepCopy

func (in *ComputedPortRoutes) DeepCopy() *ComputedPortRoutes

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputedPortRoutes. Required by controller-gen.

func (*ComputedPortRoutes) DeepCopyInterface

func (in *ComputedPortRoutes) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ComputedPortRoutes. Required by controller-gen.

func (*ComputedPortRoutes) DeepCopyInto

func (in *ComputedPortRoutes) DeepCopyInto(out *ComputedPortRoutes)

DeepCopyInto supports using ComputedPortRoutes within kubernetes types, where deepcopy-gen is used.

func (*ComputedPortRoutes) Descriptor deprecated

func (*ComputedPortRoutes) Descriptor() ([]byte, []int)

Deprecated: Use ComputedPortRoutes.ProtoReflect.Descriptor instead.

func (*ComputedPortRoutes) GetConfig

func (m *ComputedPortRoutes) GetConfig() isComputedPortRoutes_Config

func (*ComputedPortRoutes) GetGrpc

func (x *ComputedPortRoutes) GetGrpc() *ComputedGRPCRoute

func (*ComputedPortRoutes) GetHttp

func (x *ComputedPortRoutes) GetHttp() *ComputedHTTPRoute

func (*ComputedPortRoutes) GetParentRef

func (x *ComputedPortRoutes) GetParentRef() *ParentReference

func (*ComputedPortRoutes) GetProtocol

func (x *ComputedPortRoutes) GetProtocol() v2beta1.Protocol

func (*ComputedPortRoutes) GetTargets

func (x *ComputedPortRoutes) GetTargets() map[string]*BackendTargetDetails

func (*ComputedPortRoutes) GetTcp

func (x *ComputedPortRoutes) GetTcp() *ComputedTCPRoute

func (*ComputedPortRoutes) GetUsingDefaultConfig

func (x *ComputedPortRoutes) GetUsingDefaultConfig() bool

func (*ComputedPortRoutes) MarshalBinary

func (msg *ComputedPortRoutes) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ComputedPortRoutes) MarshalJSON

func (this *ComputedPortRoutes) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ComputedPortRoutes

func (*ComputedPortRoutes) ProtoMessage

func (*ComputedPortRoutes) ProtoMessage()

func (*ComputedPortRoutes) ProtoReflect

func (x *ComputedPortRoutes) ProtoReflect() protoreflect.Message

func (*ComputedPortRoutes) Reset

func (x *ComputedPortRoutes) Reset()

func (*ComputedPortRoutes) String

func (x *ComputedPortRoutes) String() string

func (*ComputedPortRoutes) UnmarshalBinary

func (msg *ComputedPortRoutes) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ComputedPortRoutes) UnmarshalJSON

func (this *ComputedPortRoutes) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ComputedPortRoutes

type ComputedPortRoutes_Grpc

type ComputedPortRoutes_Grpc struct {
	Grpc *ComputedGRPCRoute `protobuf:"bytes,2,opt,name=grpc,proto3,oneof"`
}

type ComputedPortRoutes_Http

type ComputedPortRoutes_Http struct {
	Http *ComputedHTTPRoute `protobuf:"bytes,1,opt,name=http,proto3,oneof"`
}

type ComputedPortRoutes_Tcp

type ComputedPortRoutes_Tcp struct {
	Tcp *ComputedTCPRoute `protobuf:"bytes,3,opt,name=tcp,proto3,oneof"`
}

type ComputedProxyConfiguration

type ComputedProxyConfiguration struct {

	// dynamic_config is the configuration that could be changed
	// dynamically (i.e. without needing restart).
	DynamicConfig *DynamicConfig `protobuf:"bytes,2,opt,name=dynamic_config,json=dynamicConfig,proto3" json:"dynamic_config,omitempty"`
	// bootstrap_config is the configuration that requires proxies
	// to be restarted to be applied.
	BootstrapConfig *BootstrapConfig `protobuf:"bytes,3,opt,name=bootstrap_config,json=bootstrapConfig,proto3" json:"bootstrap_config,omitempty"`
	// contains filtered or unexported fields
}

func (*ComputedProxyConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputedProxyConfiguration. Required by controller-gen.

func (*ComputedProxyConfiguration) DeepCopyInterface

func (in *ComputedProxyConfiguration) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ComputedProxyConfiguration. Required by controller-gen.

func (*ComputedProxyConfiguration) DeepCopyInto

DeepCopyInto supports using ComputedProxyConfiguration within kubernetes types, where deepcopy-gen is used.

func (*ComputedProxyConfiguration) Descriptor deprecated

func (*ComputedProxyConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use ComputedProxyConfiguration.ProtoReflect.Descriptor instead.

func (*ComputedProxyConfiguration) GetBootstrapConfig

func (x *ComputedProxyConfiguration) GetBootstrapConfig() *BootstrapConfig

func (*ComputedProxyConfiguration) GetDynamicConfig

func (x *ComputedProxyConfiguration) GetDynamicConfig() *DynamicConfig

func (*ComputedProxyConfiguration) IsTransparentProxy

func (p *ComputedProxyConfiguration) IsTransparentProxy() bool

func (*ComputedProxyConfiguration) MarshalBinary

func (msg *ComputedProxyConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ComputedProxyConfiguration) MarshalJSON

func (this *ComputedProxyConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ComputedProxyConfiguration

func (*ComputedProxyConfiguration) ProtoMessage

func (*ComputedProxyConfiguration) ProtoMessage()

func (*ComputedProxyConfiguration) ProtoReflect

func (*ComputedProxyConfiguration) Reset

func (x *ComputedProxyConfiguration) Reset()

func (*ComputedProxyConfiguration) String

func (x *ComputedProxyConfiguration) String() string

func (*ComputedProxyConfiguration) UnmarshalBinary

func (msg *ComputedProxyConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ComputedProxyConfiguration) UnmarshalJSON

func (this *ComputedProxyConfiguration) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ComputedProxyConfiguration

type ComputedRoutes

type ComputedRoutes struct {

	// PortedConfigs is the map of service ports to the ComputedPortRoutes for
	// those ports.
	//
	// The port identifier key here is always normalized to the target (workload)
	// port name regardless of whether a virtual or target port identifier was
	// provided in input config.
	PortedConfigs map[string]*ComputedPortRoutes `` /* 188-byte string literal not displayed */
	// BoundReferences is a slice of mixed type references of resources that were
	// involved in the formulation of this resource.
	BoundReferences []*pbresource.Reference `protobuf:"bytes,2,rep,name=bound_references,json=boundReferences,proto3" json:"bound_references,omitempty"`
	// contains filtered or unexported fields
}

This is a Resource type.

func (*ComputedRoutes) DeepCopy

func (in *ComputedRoutes) DeepCopy() *ComputedRoutes

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputedRoutes. Required by controller-gen.

func (*ComputedRoutes) DeepCopyInterface

func (in *ComputedRoutes) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ComputedRoutes. Required by controller-gen.

func (*ComputedRoutes) DeepCopyInto

func (in *ComputedRoutes) DeepCopyInto(out *ComputedRoutes)

DeepCopyInto supports using ComputedRoutes within kubernetes types, where deepcopy-gen is used.

func (*ComputedRoutes) Descriptor deprecated

func (*ComputedRoutes) Descriptor() ([]byte, []int)

Deprecated: Use ComputedRoutes.ProtoReflect.Descriptor instead.

func (*ComputedRoutes) GetBoundReferences

func (x *ComputedRoutes) GetBoundReferences() []*pbresource.Reference

func (*ComputedRoutes) GetPortedConfigs

func (x *ComputedRoutes) GetPortedConfigs() map[string]*ComputedPortRoutes

func (*ComputedRoutes) MarshalBinary

func (msg *ComputedRoutes) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ComputedRoutes) MarshalJSON

func (this *ComputedRoutes) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ComputedRoutes

func (*ComputedRoutes) ProtoMessage

func (*ComputedRoutes) ProtoMessage()

func (*ComputedRoutes) ProtoReflect

func (x *ComputedRoutes) ProtoReflect() protoreflect.Message

func (*ComputedRoutes) Reset

func (x *ComputedRoutes) Reset()

func (*ComputedRoutes) String

func (x *ComputedRoutes) String() string

func (*ComputedRoutes) UnmarshalBinary

func (msg *ComputedRoutes) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ComputedRoutes) UnmarshalJSON

func (this *ComputedRoutes) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ComputedRoutes

type ComputedTCPBackendRef

type ComputedTCPBackendRef struct {

	// BackendTarget indicates which key in the targets map provides
	// the rest of the configuration.
	//
	// If this field is set to the empty string, or is the sentinel value
	// "NULL-ROUTE" is an indication that all of the traffic destined for this
	// backend reference should be null routed in a format appropriate for the
	// protocol (i.e. for HTTP use 5xx).
	BackendTarget string `protobuf:"bytes,1,opt,name=backend_target,json=backendTarget,proto3" json:"backend_target,omitempty"`
	Weight        uint32 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

TODO: look into smuggling the target through a different typeURL, or just skip in favor of letting the caller do their own lookups?

func (*ComputedTCPBackendRef) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputedTCPBackendRef. Required by controller-gen.

func (*ComputedTCPBackendRef) DeepCopyInterface

func (in *ComputedTCPBackendRef) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ComputedTCPBackendRef. Required by controller-gen.

func (*ComputedTCPBackendRef) DeepCopyInto

func (in *ComputedTCPBackendRef) DeepCopyInto(out *ComputedTCPBackendRef)

DeepCopyInto supports using ComputedTCPBackendRef within kubernetes types, where deepcopy-gen is used.

func (*ComputedTCPBackendRef) Descriptor deprecated

func (*ComputedTCPBackendRef) Descriptor() ([]byte, []int)

Deprecated: Use ComputedTCPBackendRef.ProtoReflect.Descriptor instead.

func (*ComputedTCPBackendRef) GetBackendTarget

func (x *ComputedTCPBackendRef) GetBackendTarget() string

func (*ComputedTCPBackendRef) GetWeight

func (x *ComputedTCPBackendRef) GetWeight() uint32

func (*ComputedTCPBackendRef) MarshalBinary

func (msg *ComputedTCPBackendRef) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ComputedTCPBackendRef) MarshalJSON

func (this *ComputedTCPBackendRef) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ComputedTCPBackendRef

func (*ComputedTCPBackendRef) ProtoMessage

func (*ComputedTCPBackendRef) ProtoMessage()

func (*ComputedTCPBackendRef) ProtoReflect

func (x *ComputedTCPBackendRef) ProtoReflect() protoreflect.Message

func (*ComputedTCPBackendRef) Reset

func (x *ComputedTCPBackendRef) Reset()

func (*ComputedTCPBackendRef) String

func (x *ComputedTCPBackendRef) String() string

func (*ComputedTCPBackendRef) UnmarshalBinary

func (msg *ComputedTCPBackendRef) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ComputedTCPBackendRef) UnmarshalJSON

func (this *ComputedTCPBackendRef) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ComputedTCPBackendRef

type ComputedTCPRoute

type ComputedTCPRoute struct {
	Rules []*ComputedTCPRouteRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

func (*ComputedTCPRoute) DeepCopy

func (in *ComputedTCPRoute) DeepCopy() *ComputedTCPRoute

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputedTCPRoute. Required by controller-gen.

func (*ComputedTCPRoute) DeepCopyInterface

func (in *ComputedTCPRoute) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ComputedTCPRoute. Required by controller-gen.

func (*ComputedTCPRoute) DeepCopyInto

func (in *ComputedTCPRoute) DeepCopyInto(out *ComputedTCPRoute)

DeepCopyInto supports using ComputedTCPRoute within kubernetes types, where deepcopy-gen is used.

func (*ComputedTCPRoute) Descriptor deprecated

func (*ComputedTCPRoute) Descriptor() ([]byte, []int)

Deprecated: Use ComputedTCPRoute.ProtoReflect.Descriptor instead.

func (*ComputedTCPRoute) GetRules

func (x *ComputedTCPRoute) GetRules() []*ComputedTCPRouteRule

func (*ComputedTCPRoute) MarshalBinary

func (msg *ComputedTCPRoute) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ComputedTCPRoute) MarshalJSON

func (this *ComputedTCPRoute) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ComputedTCPRoute

func (*ComputedTCPRoute) ProtoMessage

func (*ComputedTCPRoute) ProtoMessage()

func (*ComputedTCPRoute) ProtoReflect

func (x *ComputedTCPRoute) ProtoReflect() protoreflect.Message

func (*ComputedTCPRoute) Reset

func (x *ComputedTCPRoute) Reset()

func (*ComputedTCPRoute) String

func (x *ComputedTCPRoute) String() string

func (*ComputedTCPRoute) UnmarshalBinary

func (msg *ComputedTCPRoute) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ComputedTCPRoute) UnmarshalJSON

func (this *ComputedTCPRoute) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ComputedTCPRoute

type ComputedTCPRouteRule

type ComputedTCPRouteRule struct {
	BackendRefs []*ComputedTCPBackendRef `protobuf:"bytes,1,rep,name=backend_refs,json=backendRefs,proto3" json:"backend_refs,omitempty"`
	// contains filtered or unexported fields
}

func (*ComputedTCPRouteRule) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputedTCPRouteRule. Required by controller-gen.

func (*ComputedTCPRouteRule) DeepCopyInterface

func (in *ComputedTCPRouteRule) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ComputedTCPRouteRule. Required by controller-gen.

func (*ComputedTCPRouteRule) DeepCopyInto

func (in *ComputedTCPRouteRule) DeepCopyInto(out *ComputedTCPRouteRule)

DeepCopyInto supports using ComputedTCPRouteRule within kubernetes types, where deepcopy-gen is used.

func (*ComputedTCPRouteRule) Descriptor deprecated

func (*ComputedTCPRouteRule) Descriptor() ([]byte, []int)

Deprecated: Use ComputedTCPRouteRule.ProtoReflect.Descriptor instead.

func (*ComputedTCPRouteRule) GetBackendRefs

func (x *ComputedTCPRouteRule) GetBackendRefs() []*ComputedTCPBackendRef

func (*ComputedTCPRouteRule) MarshalBinary

func (msg *ComputedTCPRouteRule) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ComputedTCPRouteRule) MarshalJSON

func (this *ComputedTCPRouteRule) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ComputedTCPRouteRule

func (*ComputedTCPRouteRule) ProtoMessage

func (*ComputedTCPRouteRule) ProtoMessage()

func (*ComputedTCPRouteRule) ProtoReflect

func (x *ComputedTCPRouteRule) ProtoReflect() protoreflect.Message

func (*ComputedTCPRouteRule) Reset

func (x *ComputedTCPRouteRule) Reset()

func (*ComputedTCPRouteRule) String

func (x *ComputedTCPRouteRule) String() string

func (*ComputedTCPRouteRule) UnmarshalBinary

func (msg *ComputedTCPRouteRule) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ComputedTCPRouteRule) UnmarshalJSON

func (this *ComputedTCPRouteRule) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ComputedTCPRouteRule

type ConnectionConfig

type ConnectionConfig struct {

	// +kubebuilder:validation:Format=duration
	ConnectTimeout *durationpb.Duration `protobuf:"bytes,1,opt,name=connect_timeout,json=connectTimeout,proto3" json:"connect_timeout,omitempty"`
	// +kubebuilder:validation:Format=duration
	RequestTimeout *durationpb.Duration `protobuf:"bytes,2,opt,name=request_timeout,json=requestTimeout,proto3" json:"request_timeout,omitempty"`
	// contains filtered or unexported fields
}

Referenced by ProxyConfiguration

func (*ConnectionConfig) DeepCopy

func (in *ConnectionConfig) DeepCopy() *ConnectionConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionConfig. Required by controller-gen.

func (*ConnectionConfig) DeepCopyInterface

func (in *ConnectionConfig) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionConfig. Required by controller-gen.

func (*ConnectionConfig) DeepCopyInto

func (in *ConnectionConfig) DeepCopyInto(out *ConnectionConfig)

DeepCopyInto supports using ConnectionConfig within kubernetes types, where deepcopy-gen is used.

func (*ConnectionConfig) Descriptor deprecated

func (*ConnectionConfig) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionConfig.ProtoReflect.Descriptor instead.

func (*ConnectionConfig) GetConnectTimeout

func (x *ConnectionConfig) GetConnectTimeout() *durationpb.Duration

func (*ConnectionConfig) GetRequestTimeout

func (x *ConnectionConfig) GetRequestTimeout() *durationpb.Duration

func (*ConnectionConfig) MarshalBinary

func (msg *ConnectionConfig) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ConnectionConfig) MarshalJSON

func (this *ConnectionConfig) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ConnectionConfig

func (*ConnectionConfig) ProtoMessage

func (*ConnectionConfig) ProtoMessage()

func (*ConnectionConfig) ProtoReflect

func (x *ConnectionConfig) ProtoReflect() protoreflect.Message

func (*ConnectionConfig) Reset

func (x *ConnectionConfig) Reset()

func (*ConnectionConfig) String

func (x *ConnectionConfig) String() string

func (*ConnectionConfig) UnmarshalBinary

func (msg *ConnectionConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ConnectionConfig) UnmarshalJSON

func (this *ConnectionConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ConnectionConfig

type CookieConfig

type CookieConfig struct {

	// Generates a session cookie with no expiration.
	Session bool `protobuf:"varint,1,opt,name=session,proto3" json:"session,omitempty"`
	// TTL for generated cookies. Cannot be specified for session cookies.
	// +kubebuilder:validation:Format=duration
	Ttl *durationpb.Duration `protobuf:"bytes,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
	// The path to set for the cookie
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

CookieConfig contains configuration for the "cookie" hash policy type. This is specified to have Envoy generate a cookie for a client on its first request.

func (*CookieConfig) DeepCopy

func (in *CookieConfig) DeepCopy() *CookieConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CookieConfig. Required by controller-gen.

func (*CookieConfig) DeepCopyInterface

func (in *CookieConfig) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new CookieConfig. Required by controller-gen.

func (*CookieConfig) DeepCopyInto

func (in *CookieConfig) DeepCopyInto(out *CookieConfig)

DeepCopyInto supports using CookieConfig within kubernetes types, where deepcopy-gen is used.

func (*CookieConfig) Descriptor deprecated

func (*CookieConfig) Descriptor() ([]byte, []int)

Deprecated: Use CookieConfig.ProtoReflect.Descriptor instead.

func (*CookieConfig) GetPath

func (x *CookieConfig) GetPath() string

func (*CookieConfig) GetSession

func (x *CookieConfig) GetSession() bool

func (*CookieConfig) GetTtl

func (x *CookieConfig) GetTtl() *durationpb.Duration

func (*CookieConfig) MarshalBinary

func (msg *CookieConfig) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*CookieConfig) MarshalJSON

func (this *CookieConfig) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for CookieConfig

func (*CookieConfig) ProtoMessage

func (*CookieConfig) ProtoMessage()

func (*CookieConfig) ProtoReflect

func (x *CookieConfig) ProtoReflect() protoreflect.Message

func (*CookieConfig) Reset

func (x *CookieConfig) Reset()

func (*CookieConfig) String

func (x *CookieConfig) String() string

func (*CookieConfig) UnmarshalBinary

func (msg *CookieConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*CookieConfig) UnmarshalJSON

func (this *CookieConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for CookieConfig

type Destination

type Destination struct {

	// DestinationRef is the reference to an destination service. This has to be pbcatalog.Service type.
	DestinationRef *pbresource.Reference `protobuf:"bytes,1,opt,name=destination_ref,json=destinationRef,proto3" json:"destination_ref,omitempty"`
	// DestinationPort is the port of the destination service.
	//
	// For more details on potential values of this field, see documentation for Service.ServicePort.
	DestinationPort string `protobuf:"bytes,2,opt,name=destination_port,json=destinationPort,proto3" json:"destination_port,omitempty"`
	// Datacenter is the datacenter for where this destination service lives.
	Datacenter string `protobuf:"bytes,3,opt,name=datacenter,proto3" json:"datacenter,omitempty"`
	// ListenAddr is the address where Envoy will listen for requests to this destination.
	// It can provided either as an ip:port or as a Unix domain socket.
	//
	// Types that are assignable to ListenAddr:
	//
	//	*Destination_IpPort
	//	*Destination_Unix
	ListenAddr isDestination_ListenAddr `protobuf_oneof:"listen_addr"`
	// contains filtered or unexported fields
}

func (*Destination) DeepCopy

func (in *Destination) DeepCopy() *Destination

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Destination. Required by controller-gen.

func (*Destination) DeepCopyInterface

func (in *Destination) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Destination. Required by controller-gen.

func (*Destination) DeepCopyInto

func (in *Destination) DeepCopyInto(out *Destination)

DeepCopyInto supports using Destination within kubernetes types, where deepcopy-gen is used.

func (*Destination) Descriptor deprecated

func (*Destination) Descriptor() ([]byte, []int)

Deprecated: Use Destination.ProtoReflect.Descriptor instead.

func (*Destination) GetDatacenter

func (x *Destination) GetDatacenter() string

func (*Destination) GetDestinationPort

func (x *Destination) GetDestinationPort() string

func (*Destination) GetDestinationRef

func (x *Destination) GetDestinationRef() *pbresource.Reference

func (*Destination) GetIpPort

func (x *Destination) GetIpPort() *IPPortAddress

func (*Destination) GetListenAddr

func (m *Destination) GetListenAddr() isDestination_ListenAddr

func (*Destination) GetUnix

func (x *Destination) GetUnix() *UnixSocketAddress

func (*Destination) MarshalBinary

func (msg *Destination) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*Destination) MarshalJSON

func (this *Destination) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for Destination

func (*Destination) ProtoMessage

func (*Destination) ProtoMessage()

func (*Destination) ProtoReflect

func (x *Destination) ProtoReflect() protoreflect.Message

func (*Destination) Reset

func (x *Destination) Reset()

func (*Destination) String

func (x *Destination) String() string

func (*Destination) UnmarshalBinary

func (msg *Destination) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*Destination) UnmarshalJSON

func (this *Destination) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for Destination

type DestinationConfig

type DestinationConfig struct {

	// ConnectTimeout is the timeout for establishing new network connections
	// to this service.
	// +kubebuilder:validation:Format=duration
	ConnectTimeout *durationpb.Duration `protobuf:"bytes,1,opt,name=connect_timeout,json=connectTimeout,proto3" json:"connect_timeout,omitempty"`
	// RequestTimeout is the timeout for an HTTP request to complete before the
	// connection is automatically terminated. If unspecified, defaults to 15
	// seconds.
	// +kubebuilder:validation:Format=duration
	RequestTimeout *durationpb.Duration `protobuf:"bytes,2,opt,name=request_timeout,json=requestTimeout,proto3" json:"request_timeout,omitempty"`
	// LoadBalancer determines the load balancing policy and configuration for
	// services issuing requests to this upstream service.
	LoadBalancer *LoadBalancer `protobuf:"bytes,3,opt,name=load_balancer,json=loadBalancer,proto3" json:"load_balancer,omitempty"`
	// LocalityPrioritization controls whether the locality of services within the
	// local partition will be used to prioritize connectivity.
	LocalityPrioritization *LocalityPrioritization `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DestinationConfig) DeepCopy

func (in *DestinationConfig) DeepCopy() *DestinationConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationConfig. Required by controller-gen.

func (*DestinationConfig) DeepCopyInterface

func (in *DestinationConfig) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DestinationConfig. Required by controller-gen.

func (*DestinationConfig) DeepCopyInto

func (in *DestinationConfig) DeepCopyInto(out *DestinationConfig)

DeepCopyInto supports using DestinationConfig within kubernetes types, where deepcopy-gen is used.

func (*DestinationConfig) Descriptor deprecated

func (*DestinationConfig) Descriptor() ([]byte, []int)

Deprecated: Use DestinationConfig.ProtoReflect.Descriptor instead.

func (*DestinationConfig) GetConnectTimeout

func (x *DestinationConfig) GetConnectTimeout() *durationpb.Duration

func (*DestinationConfig) GetLoadBalancer

func (x *DestinationConfig) GetLoadBalancer() *LoadBalancer

func (*DestinationConfig) GetLocalityPrioritization

func (x *DestinationConfig) GetLocalityPrioritization() *LocalityPrioritization

func (*DestinationConfig) GetRequestTimeout

func (x *DestinationConfig) GetRequestTimeout() *durationpb.Duration

func (*DestinationConfig) MarshalBinary

func (msg *DestinationConfig) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*DestinationConfig) MarshalJSON

func (this *DestinationConfig) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for DestinationConfig

func (*DestinationConfig) ProtoMessage

func (*DestinationConfig) ProtoMessage()

func (*DestinationConfig) ProtoReflect

func (x *DestinationConfig) ProtoReflect() protoreflect.Message

func (*DestinationConfig) Reset

func (x *DestinationConfig) Reset()

func (*DestinationConfig) String

func (x *DestinationConfig) String() string

func (*DestinationConfig) UnmarshalBinary

func (msg *DestinationConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*DestinationConfig) UnmarshalJSON

func (this *DestinationConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for DestinationConfig

type DestinationConfigOverrides

type DestinationConfigOverrides struct {

	// DestinationRef is the reference to an destination service that this configuration applies to.
	// This has to be pbcatalog.Service type.
	DestinationRef *pbresource.Reference `protobuf:"bytes,1,opt,name=destination_ref,json=destinationRef,proto3" json:"destination_ref,omitempty"`
	// DestinationPort is the port of the destination service.
	//
	// For more details on potential values of this field, see documentation for Service.ServicePort.
	//
	// If not provided, this configuration will apply to all ports of an destination.
	DestinationPort string `protobuf:"bytes,2,opt,name=destination_port,json=destinationPort,proto3" json:"destination_port,omitempty"`
	// Datacenter is the datacenter for where this destination service lives.
	Datacenter string `protobuf:"bytes,3,opt,name=datacenter,proto3" json:"datacenter,omitempty"`
	// Config is the configuration that should apply to this destination.
	Config *DestinationConfiguration `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

DestinationConfigOverrides allow to override destination configuration per destination_ref/port/datacenter. In that sense, those three fields (destination_ref, destination_port and datacenter) are treated sort of like map keys and config is a like a map value for that key.

func (*DestinationConfigOverrides) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationConfigOverrides. Required by controller-gen.

func (*DestinationConfigOverrides) DeepCopyInterface

func (in *DestinationConfigOverrides) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DestinationConfigOverrides. Required by controller-gen.

func (*DestinationConfigOverrides) DeepCopyInto

DeepCopyInto supports using DestinationConfigOverrides within kubernetes types, where deepcopy-gen is used.

func (*DestinationConfigOverrides) Descriptor deprecated

func (*DestinationConfigOverrides) Descriptor() ([]byte, []int)

Deprecated: Use DestinationConfigOverrides.ProtoReflect.Descriptor instead.

func (*DestinationConfigOverrides) GetConfig

func (*DestinationConfigOverrides) GetDatacenter

func (x *DestinationConfigOverrides) GetDatacenter() string

func (*DestinationConfigOverrides) GetDestinationPort

func (x *DestinationConfigOverrides) GetDestinationPort() string

func (*DestinationConfigOverrides) GetDestinationRef

func (x *DestinationConfigOverrides) GetDestinationRef() *pbresource.Reference

func (*DestinationConfigOverrides) MarshalBinary

func (msg *DestinationConfigOverrides) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*DestinationConfigOverrides) MarshalJSON

func (this *DestinationConfigOverrides) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for DestinationConfigOverrides

func (*DestinationConfigOverrides) ProtoMessage

func (*DestinationConfigOverrides) ProtoMessage()

func (*DestinationConfigOverrides) ProtoReflect

func (*DestinationConfigOverrides) Reset

func (x *DestinationConfigOverrides) Reset()

func (*DestinationConfigOverrides) String

func (x *DestinationConfigOverrides) String() string

func (*DestinationConfigOverrides) UnmarshalBinary

func (msg *DestinationConfigOverrides) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*DestinationConfigOverrides) UnmarshalJSON

func (this *DestinationConfigOverrides) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for DestinationConfigOverrides

type DestinationConfiguration

type DestinationConfiguration struct {

	// Protocol overrides destination's port protocol. If no port for an destination is specified
	// or if used in the default configuration, this protocol will be used for all ports
	// or for all ports of all destinations respectively.
	Protocol v2beta1.Protocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=hashicorp.consul.catalog.v2beta1.Protocol" json:"protocol,omitempty"`
	// ConnectTimeout is the timeout used when making a new
	// connection to this destination. Defaults to 5 seconds if not set.
	// +kubebuilder:validation:Format=duration
	ConnectTimeout *durationpb.Duration `protobuf:"bytes,2,opt,name=connect_timeout,json=connectTimeout,proto3" json:"connect_timeout,omitempty"`
	// Limits are the set of limits that are applied to the proxy for a specific destination.
	Limits *DestinationLimits `protobuf:"bytes,3,opt,name=limits,proto3" json:"limits,omitempty"`
	// PassiveHealthCheck configuration determines how destination proxy instances will
	// be monitored for removal from the load balancing pool.
	PassiveHealthCheck *PassiveHealthCheck `protobuf:"bytes,4,opt,name=passive_health_check,json=passiveHealthCheck,proto3" json:"passive_health_check,omitempty"`
	// BalanceOutboundConnections indicates how the proxy should attempt to distribute
	// connections across worker threads.
	BalanceOutboundConnections BalanceConnections `` /* 196-byte string literal not displayed */
	// MeshGatewayMode is the Mesh Gateway routing mode.
	MeshGatewayMode MeshGatewayMode `` /* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DestinationConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationConfiguration. Required by controller-gen.

func (*DestinationConfiguration) DeepCopyInterface

func (in *DestinationConfiguration) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DestinationConfiguration. Required by controller-gen.

func (*DestinationConfiguration) DeepCopyInto

func (in *DestinationConfiguration) DeepCopyInto(out *DestinationConfiguration)

DeepCopyInto supports using DestinationConfiguration within kubernetes types, where deepcopy-gen is used.

func (*DestinationConfiguration) Descriptor deprecated

func (*DestinationConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use DestinationConfiguration.ProtoReflect.Descriptor instead.

func (*DestinationConfiguration) GetBalanceOutboundConnections

func (x *DestinationConfiguration) GetBalanceOutboundConnections() BalanceConnections

func (*DestinationConfiguration) GetConnectTimeout

func (x *DestinationConfiguration) GetConnectTimeout() *durationpb.Duration

func (*DestinationConfiguration) GetLimits

func (*DestinationConfiguration) GetMeshGatewayMode

func (x *DestinationConfiguration) GetMeshGatewayMode() MeshGatewayMode

func (*DestinationConfiguration) GetPassiveHealthCheck

func (x *DestinationConfiguration) GetPassiveHealthCheck() *PassiveHealthCheck

func (*DestinationConfiguration) GetProtocol

func (x *DestinationConfiguration) GetProtocol() v2beta1.Protocol

func (*DestinationConfiguration) MarshalBinary

func (msg *DestinationConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*DestinationConfiguration) MarshalJSON

func (this *DestinationConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for DestinationConfiguration

func (*DestinationConfiguration) ProtoMessage

func (*DestinationConfiguration) ProtoMessage()

func (*DestinationConfiguration) ProtoReflect

func (x *DestinationConfiguration) ProtoReflect() protoreflect.Message

func (*DestinationConfiguration) Reset

func (x *DestinationConfiguration) Reset()

func (*DestinationConfiguration) String

func (x *DestinationConfiguration) String() string

func (*DestinationConfiguration) UnmarshalBinary

func (msg *DestinationConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*DestinationConfiguration) UnmarshalJSON

func (this *DestinationConfiguration) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for DestinationConfiguration

type DestinationLimits

type DestinationLimits struct {

	// MaxConnections is the maximum number of connections the local proxy can
	// make to the destination service.
	MaxConnections *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=max_connections,json=maxConnections,proto3" json:"max_connections,omitempty"`
	// MaxPendingRequests is the maximum number of requests that will be queued
	// waiting for an available connection. This is mostly applicable to HTTP/1.1
	// clusters since all HTTP/2 requests are streamed over a single
	// connection.
	MaxPendingRequests *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=max_pending_requests,json=maxPendingRequests,proto3" json:"max_pending_requests,omitempty"`
	// MaxConcurrentRequests is the maximum number of in-flight requests that will be allowed
	// to the destination cluster at a point in time. This is mostly applicable to HTTP/2
	// clusters since all HTTP/1.1 requests are limited by MaxConnections.
	MaxConcurrentRequests *wrapperspb.UInt32Value `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

UpstreamLimits describes the limits that are associated with a specific destination of a service instance.

func (*DestinationLimits) DeepCopy

func (in *DestinationLimits) DeepCopy() *DestinationLimits

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationLimits. Required by controller-gen.

func (*DestinationLimits) DeepCopyInterface

func (in *DestinationLimits) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DestinationLimits. Required by controller-gen.

func (*DestinationLimits) DeepCopyInto

func (in *DestinationLimits) DeepCopyInto(out *DestinationLimits)

DeepCopyInto supports using DestinationLimits within kubernetes types, where deepcopy-gen is used.

func (*DestinationLimits) Descriptor deprecated

func (*DestinationLimits) Descriptor() ([]byte, []int)

Deprecated: Use DestinationLimits.ProtoReflect.Descriptor instead.

func (*DestinationLimits) GetMaxConcurrentRequests

func (x *DestinationLimits) GetMaxConcurrentRequests() *wrapperspb.UInt32Value

func (*DestinationLimits) GetMaxConnections

func (x *DestinationLimits) GetMaxConnections() *wrapperspb.UInt32Value

func (*DestinationLimits) GetMaxPendingRequests

func (x *DestinationLimits) GetMaxPendingRequests() *wrapperspb.UInt32Value

func (*DestinationLimits) MarshalBinary

func (msg *DestinationLimits) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*DestinationLimits) MarshalJSON

func (this *DestinationLimits) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for DestinationLimits

func (*DestinationLimits) ProtoMessage

func (*DestinationLimits) ProtoMessage()

func (*DestinationLimits) ProtoReflect

func (x *DestinationLimits) ProtoReflect() protoreflect.Message

func (*DestinationLimits) Reset

func (x *DestinationLimits) Reset()

func (*DestinationLimits) String

func (x *DestinationLimits) String() string

func (*DestinationLimits) UnmarshalBinary

func (msg *DestinationLimits) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*DestinationLimits) UnmarshalJSON

func (this *DestinationLimits) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for DestinationLimits

type DestinationPolicy

type DestinationPolicy struct {

	// PortConfigs defines the destination policy for a specific port on a service.
	//
	// For more details on potential values of the service port identifier key,
	// see documentation for Service.ServicePort.
	PortConfigs map[string]*DestinationConfig `` /* 182-byte string literal not displayed */
	// contains filtered or unexported fields
}

DestinationPolicy is the destination-controlled set of defaults that are used when similar controls defined in an DestinationsConfiguration are left unspecified.

Users may wish to share commonly configured settings for communicating with a service in one place, but yet retain the ability to tweak those on a client-by-client basis, which is why there are separate resources to control the definition of these values from either end of the connection.

This is a Resource type.

func (*DestinationPolicy) DeepCopy

func (in *DestinationPolicy) DeepCopy() *DestinationPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationPolicy. Required by controller-gen.

func (*DestinationPolicy) DeepCopyInterface

func (in *DestinationPolicy) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DestinationPolicy. Required by controller-gen.

func (*DestinationPolicy) DeepCopyInto

func (in *DestinationPolicy) DeepCopyInto(out *DestinationPolicy)

DeepCopyInto supports using DestinationPolicy within kubernetes types, where deepcopy-gen is used.

func (*DestinationPolicy) Descriptor deprecated

func (*DestinationPolicy) Descriptor() ([]byte, []int)

Deprecated: Use DestinationPolicy.ProtoReflect.Descriptor instead.

func (*DestinationPolicy) GetPortConfigs

func (x *DestinationPolicy) GetPortConfigs() map[string]*DestinationConfig

func (*DestinationPolicy) MarshalBinary

func (msg *DestinationPolicy) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*DestinationPolicy) MarshalJSON

func (this *DestinationPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for DestinationPolicy

func (*DestinationPolicy) ProtoMessage

func (*DestinationPolicy) ProtoMessage()

func (*DestinationPolicy) ProtoReflect

func (x *DestinationPolicy) ProtoReflect() protoreflect.Message

func (*DestinationPolicy) Reset

func (x *DestinationPolicy) Reset()

func (*DestinationPolicy) String

func (x *DestinationPolicy) String() string

func (*DestinationPolicy) UnmarshalBinary

func (msg *DestinationPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*DestinationPolicy) UnmarshalJSON

func (this *DestinationPolicy) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for DestinationPolicy

type Destination_IpPort

type Destination_IpPort struct {
	IpPort *IPPortAddress `protobuf:"bytes,4,opt,name=ip_port,json=ipPort,proto3,oneof"`
}

type Destination_Unix

type Destination_Unix struct {
	Unix *UnixSocketAddress `protobuf:"bytes,5,opt,name=unix,proto3,oneof"`
}

type Destinations

type Destinations struct {

	// Selection of workloads these destinations should apply to.
	// These can be prefixes or specific workload names.
	Workloads *v2beta1.WorkloadSelector `protobuf:"bytes,1,opt,name=workloads,proto3" json:"workloads,omitempty"`
	// Destinations is the list of explicit destinations to define for the selected workloads.
	Destinations []*Destination `protobuf:"bytes,2,rep,name=destinations,proto3" json:"destinations,omitempty"`
	// PQDestinations is the list of prepared query destinations. This field is not supported directly in v2
	// and should only be used for migration reasons.
	PqDestinations []*PreparedQueryDestination `protobuf:"bytes,3,rep,name=pq_destinations,json=pqDestinations,proto3" json:"pq_destinations,omitempty"`
	// contains filtered or unexported fields
}

func (*Destinations) DeepCopy

func (in *Destinations) DeepCopy() *Destinations

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Destinations. Required by controller-gen.

func (*Destinations) DeepCopyInterface

func (in *Destinations) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Destinations. Required by controller-gen.

func (*Destinations) DeepCopyInto

func (in *Destinations) DeepCopyInto(out *Destinations)

DeepCopyInto supports using Destinations within kubernetes types, where deepcopy-gen is used.

func (*Destinations) Descriptor deprecated

func (*Destinations) Descriptor() ([]byte, []int)

Deprecated: Use Destinations.ProtoReflect.Descriptor instead.

func (*Destinations) GetDestinations

func (x *Destinations) GetDestinations() []*Destination

func (*Destinations) GetPqDestinations

func (x *Destinations) GetPqDestinations() []*PreparedQueryDestination

func (*Destinations) GetWorkloads

func (x *Destinations) GetWorkloads() *v2beta1.WorkloadSelector

func (*Destinations) MarshalBinary

func (msg *Destinations) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*Destinations) MarshalJSON

func (this *Destinations) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for Destinations

func (*Destinations) ProtoMessage

func (*Destinations) ProtoMessage()

func (*Destinations) ProtoReflect

func (x *Destinations) ProtoReflect() protoreflect.Message

func (*Destinations) Reset

func (x *Destinations) Reset()

func (*Destinations) String

func (x *Destinations) String() string

func (*Destinations) UnmarshalBinary

func (msg *Destinations) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*Destinations) UnmarshalJSON

func (this *Destinations) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for Destinations

type DestinationsConfiguration

type DestinationsConfiguration struct {

	// Selection of workloads these destinations should apply to.
	// These can be prefixes or specific workload names.
	Workloads *v2beta1.WorkloadSelector `protobuf:"bytes,1,opt,name=workloads,proto3" json:"workloads,omitempty"`
	// DefaultConfig applies to all destinations for the workloads selected by this resource.
	DefaultConfig *DestinationConfiguration `protobuf:"bytes,2,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	// ConfigOverrides provides per-destination or per-destination-port config overrides.
	ConfigOverrides []*DestinationConfigOverrides `protobuf:"bytes,3,rep,name=config_overrides,json=configOverrides,proto3" json:"config_overrides,omitempty"`
	// contains filtered or unexported fields
}

func (*DestinationsConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationsConfiguration. Required by controller-gen.

func (*DestinationsConfiguration) DeepCopyInterface

func (in *DestinationsConfiguration) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DestinationsConfiguration. Required by controller-gen.

func (*DestinationsConfiguration) DeepCopyInto

DeepCopyInto supports using DestinationsConfiguration within kubernetes types, where deepcopy-gen is used.

func (*DestinationsConfiguration) Descriptor deprecated

func (*DestinationsConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use DestinationsConfiguration.ProtoReflect.Descriptor instead.

func (*DestinationsConfiguration) GetConfigOverrides

func (x *DestinationsConfiguration) GetConfigOverrides() []*DestinationConfigOverrides

func (*DestinationsConfiguration) GetDefaultConfig

func (x *DestinationsConfiguration) GetDefaultConfig() *DestinationConfiguration

func (*DestinationsConfiguration) GetWorkloads

func (*DestinationsConfiguration) MarshalBinary

func (msg *DestinationsConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*DestinationsConfiguration) MarshalJSON

func (this *DestinationsConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for DestinationsConfiguration

func (*DestinationsConfiguration) ProtoMessage

func (*DestinationsConfiguration) ProtoMessage()

func (*DestinationsConfiguration) ProtoReflect

func (*DestinationsConfiguration) Reset

func (x *DestinationsConfiguration) Reset()

func (*DestinationsConfiguration) String

func (x *DestinationsConfiguration) String() string

func (*DestinationsConfiguration) UnmarshalBinary

func (msg *DestinationsConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*DestinationsConfiguration) UnmarshalJSON

func (this *DestinationsConfiguration) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for DestinationsConfiguration

type DynamicConfig

type DynamicConfig struct {

	// mode indicates the proxy's mode. This will default to 'transparent'.
	Mode             ProxyMode         `protobuf:"varint,1,opt,name=mode,proto3,enum=hashicorp.consul.mesh.v2beta1.ProxyMode" json:"mode,omitempty"`
	TransparentProxy *TransparentProxy `protobuf:"bytes,2,opt,name=transparent_proxy,json=transparentProxy,proto3" json:"transparent_proxy,omitempty"`
	MutualTlsMode    MutualTLSMode     `` /* 152-byte string literal not displayed */
	// local_connection is the configuration that should be used
	// to connect to the local application provided per-port.
	// The map keys should correspond to port names on the workload.
	LocalConnection map[string]*ConnectionConfig `` /* 194-byte string literal not displayed */
	// inbound_connections configures inbound connections to the proxy.
	InboundConnections *InboundConnectionsConfig `protobuf:"bytes,5,opt,name=inbound_connections,json=inboundConnections,proto3" json:"inbound_connections,omitempty"`
	MeshGatewayMode    MeshGatewayMode           `` /* 160-byte string literal not displayed */
	ExposeConfig       *ExposeConfig             `protobuf:"bytes,7,opt,name=expose_config,json=exposeConfig,proto3" json:"expose_config,omitempty"`
	// AccessLogs configures the output and format of Envoy access logs
	AccessLogs          *AccessLogsConfig `protobuf:"bytes,8,opt,name=access_logs,json=accessLogs,proto3" json:"access_logs,omitempty"`
	PublicListenerJson  string            `protobuf:"bytes,9,opt,name=public_listener_json,json=publicListenerJson,proto3" json:"public_listener_json,omitempty"`
	ListenerTracingJson string            `protobuf:"bytes,10,opt,name=listener_tracing_json,json=listenerTracingJson,proto3" json:"listener_tracing_json,omitempty"`
	LocalClusterJson    string            `protobuf:"bytes,11,opt,name=local_cluster_json,json=localClusterJson,proto3" json:"local_cluster_json,omitempty"`
	// deprecated:
	// local_workload_address, local_workload_port, and local_workload_socket_path
	// are deprecated and are only needed for migration of existing resources.
	//
	// Deprecated: Marked as deprecated in pbmesh/v2beta1/proxy_configuration.proto.
	LocalWorkloadAddress string `protobuf:"bytes,12,opt,name=local_workload_address,json=localWorkloadAddress,proto3" json:"local_workload_address,omitempty"`
	// Deprecated: Marked as deprecated in pbmesh/v2beta1/proxy_configuration.proto.
	LocalWorkloadPort uint32 `protobuf:"varint,13,opt,name=local_workload_port,json=localWorkloadPort,proto3" json:"local_workload_port,omitempty"`
	// Deprecated: Marked as deprecated in pbmesh/v2beta1/proxy_configuration.proto.
	LocalWorkloadSocketPath string `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DynamicConfig) DeepCopy

func (in *DynamicConfig) DeepCopy() *DynamicConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicConfig. Required by controller-gen.

func (*DynamicConfig) DeepCopyInterface

func (in *DynamicConfig) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DynamicConfig. Required by controller-gen.

func (*DynamicConfig) DeepCopyInto

func (in *DynamicConfig) DeepCopyInto(out *DynamicConfig)

DeepCopyInto supports using DynamicConfig within kubernetes types, where deepcopy-gen is used.

func (*DynamicConfig) Descriptor deprecated

func (*DynamicConfig) Descriptor() ([]byte, []int)

Deprecated: Use DynamicConfig.ProtoReflect.Descriptor instead.

func (*DynamicConfig) GetAccessLogs

func (x *DynamicConfig) GetAccessLogs() *AccessLogsConfig

func (*DynamicConfig) GetExposeConfig

func (x *DynamicConfig) GetExposeConfig() *ExposeConfig

func (*DynamicConfig) GetInboundConnections

func (x *DynamicConfig) GetInboundConnections() *InboundConnectionsConfig

func (*DynamicConfig) GetListenerTracingJson

func (x *DynamicConfig) GetListenerTracingJson() string

func (*DynamicConfig) GetLocalClusterJson

func (x *DynamicConfig) GetLocalClusterJson() string

func (*DynamicConfig) GetLocalConnection

func (x *DynamicConfig) GetLocalConnection() map[string]*ConnectionConfig

func (*DynamicConfig) GetLocalWorkloadAddress deprecated

func (x *DynamicConfig) GetLocalWorkloadAddress() string

Deprecated: Marked as deprecated in pbmesh/v2beta1/proxy_configuration.proto.

func (*DynamicConfig) GetLocalWorkloadPort deprecated

func (x *DynamicConfig) GetLocalWorkloadPort() uint32

Deprecated: Marked as deprecated in pbmesh/v2beta1/proxy_configuration.proto.

func (*DynamicConfig) GetLocalWorkloadSocketPath deprecated

func (x *DynamicConfig) GetLocalWorkloadSocketPath() string

Deprecated: Marked as deprecated in pbmesh/v2beta1/proxy_configuration.proto.

func (*DynamicConfig) GetMeshGatewayMode

func (x *DynamicConfig) GetMeshGatewayMode() MeshGatewayMode

func (*DynamicConfig) GetMode

func (x *DynamicConfig) GetMode() ProxyMode

func (*DynamicConfig) GetMutualTlsMode

func (x *DynamicConfig) GetMutualTlsMode() MutualTLSMode

func (*DynamicConfig) GetPublicListenerJson

func (x *DynamicConfig) GetPublicListenerJson() string

func (*DynamicConfig) GetTransparentProxy

func (x *DynamicConfig) GetTransparentProxy() *TransparentProxy

func (*DynamicConfig) MarshalBinary

func (msg *DynamicConfig) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*DynamicConfig) MarshalJSON

func (this *DynamicConfig) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for DynamicConfig

func (*DynamicConfig) ProtoMessage

func (*DynamicConfig) ProtoMessage()

func (*DynamicConfig) ProtoReflect

func (x *DynamicConfig) ProtoReflect() protoreflect.Message

func (*DynamicConfig) Reset

func (x *DynamicConfig) Reset()

func (*DynamicConfig) String

func (x *DynamicConfig) String() string

func (*DynamicConfig) UnmarshalBinary

func (msg *DynamicConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*DynamicConfig) UnmarshalJSON

func (this *DynamicConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for DynamicConfig

type EnvoyExtension

type EnvoyExtension struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Required bool   `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"`
	// +kubebuilder:validation:Type=object
	// +kubebuilder:validation:Schemaless
	// +kubebuilder:pruning:PreserveUnknownFields
	Arguments     *structpb.Struct `protobuf:"bytes,3,opt,name=arguments,proto3" json:"arguments,omitempty"`
	ConsulVersion string           `protobuf:"bytes,4,opt,name=consul_version,json=consulVersion,proto3" json:"consul_version,omitempty"`
	EnvoyVersion  string           `protobuf:"bytes,5,opt,name=envoy_version,json=envoyVersion,proto3" json:"envoy_version,omitempty"`
	// contains filtered or unexported fields
}

EnvoyExtension has configuration for an extension that patches Envoy resources.

func (*EnvoyExtension) DeepCopy

func (in *EnvoyExtension) DeepCopy() *EnvoyExtension

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvoyExtension. Required by controller-gen.

func (*EnvoyExtension) DeepCopyInterface

func (in *EnvoyExtension) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new EnvoyExtension. Required by controller-gen.

func (*EnvoyExtension) DeepCopyInto

func (in *EnvoyExtension) DeepCopyInto(out *EnvoyExtension)

DeepCopyInto supports using EnvoyExtension within kubernetes types, where deepcopy-gen is used.

func (*EnvoyExtension) Descriptor deprecated

func (*EnvoyExtension) Descriptor() ([]byte, []int)

Deprecated: Use EnvoyExtension.ProtoReflect.Descriptor instead.

func (*EnvoyExtension) GetArguments

func (x *EnvoyExtension) GetArguments() *structpb.Struct

func (*EnvoyExtension) GetConsulVersion

func (x *EnvoyExtension) GetConsulVersion() string

func (*EnvoyExtension) GetEnvoyVersion

func (x *EnvoyExtension) GetEnvoyVersion() string

func (*EnvoyExtension) GetName

func (x *EnvoyExtension) GetName() string

func (*EnvoyExtension) GetRequired

func (x *EnvoyExtension) GetRequired() bool

func (*EnvoyExtension) MarshalBinary

func (msg *EnvoyExtension) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*EnvoyExtension) MarshalJSON

func (this *EnvoyExtension) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for EnvoyExtension

func (*EnvoyExtension) ProtoMessage

func (*EnvoyExtension) ProtoMessage()

func (*EnvoyExtension) ProtoReflect

func (x *EnvoyExtension) ProtoReflect() protoreflect.Message

func (*EnvoyExtension) Reset

func (x *EnvoyExtension) Reset()

func (*EnvoyExtension) String

func (x *EnvoyExtension) String() string

func (*EnvoyExtension) UnmarshalBinary

func (msg *EnvoyExtension) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*EnvoyExtension) UnmarshalJSON

func (this *EnvoyExtension) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for EnvoyExtension

type ExposeConfig

type ExposeConfig struct {
	ExposePaths []*ExposePath `protobuf:"bytes,1,rep,name=expose_paths,json=exposePaths,proto3" json:"expose_paths,omitempty"`
	// contains filtered or unexported fields
}

func (*ExposeConfig) DeepCopy

func (in *ExposeConfig) DeepCopy() *ExposeConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExposeConfig. Required by controller-gen.

func (*ExposeConfig) DeepCopyInterface

func (in *ExposeConfig) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ExposeConfig. Required by controller-gen.

func (*ExposeConfig) DeepCopyInto

func (in *ExposeConfig) DeepCopyInto(out *ExposeConfig)

DeepCopyInto supports using ExposeConfig within kubernetes types, where deepcopy-gen is used.

func (*ExposeConfig) Descriptor deprecated

func (*ExposeConfig) Descriptor() ([]byte, []int)

Deprecated: Use ExposeConfig.ProtoReflect.Descriptor instead.

func (*ExposeConfig) GetExposePaths

func (x *ExposeConfig) GetExposePaths() []*ExposePath

func (*ExposeConfig) MarshalBinary

func (msg *ExposeConfig) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ExposeConfig) MarshalJSON

func (this *ExposeConfig) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ExposeConfig

func (*ExposeConfig) ProtoMessage

func (*ExposeConfig) ProtoMessage()

func (*ExposeConfig) ProtoReflect

func (x *ExposeConfig) ProtoReflect() protoreflect.Message

func (*ExposeConfig) Reset

func (x *ExposeConfig) Reset()

func (*ExposeConfig) String

func (x *ExposeConfig) String() string

func (*ExposeConfig) UnmarshalBinary

func (msg *ExposeConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ExposeConfig) UnmarshalJSON

func (this *ExposeConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ExposeConfig

type ExposePath

type ExposePath struct {
	ListenerPort  uint32             `protobuf:"varint,1,opt,name=listener_port,json=listenerPort,proto3" json:"listener_port,omitempty"`
	Path          string             `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	LocalPathPort uint32             `protobuf:"varint,3,opt,name=local_path_port,json=localPathPort,proto3" json:"local_path_port,omitempty"`
	Protocol      ExposePathProtocol `protobuf:"varint,4,opt,name=protocol,proto3,enum=hashicorp.consul.mesh.v2beta1.ExposePathProtocol" json:"protocol,omitempty"`
	// contains filtered or unexported fields
}

func (*ExposePath) DeepCopy

func (in *ExposePath) DeepCopy() *ExposePath

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExposePath. Required by controller-gen.

func (*ExposePath) DeepCopyInterface

func (in *ExposePath) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ExposePath. Required by controller-gen.

func (*ExposePath) DeepCopyInto

func (in *ExposePath) DeepCopyInto(out *ExposePath)

DeepCopyInto supports using ExposePath within kubernetes types, where deepcopy-gen is used.

func (*ExposePath) Descriptor deprecated

func (*ExposePath) Descriptor() ([]byte, []int)

Deprecated: Use ExposePath.ProtoReflect.Descriptor instead.

func (*ExposePath) GetListenerPort

func (x *ExposePath) GetListenerPort() uint32

func (*ExposePath) GetLocalPathPort

func (x *ExposePath) GetLocalPathPort() uint32

func (*ExposePath) GetPath

func (x *ExposePath) GetPath() string

func (*ExposePath) GetProtocol

func (x *ExposePath) GetProtocol() ExposePathProtocol

func (*ExposePath) MarshalBinary

func (msg *ExposePath) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ExposePath) MarshalJSON

func (this *ExposePath) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ExposePath

func (*ExposePath) ProtoMessage

func (*ExposePath) ProtoMessage()

func (*ExposePath) ProtoReflect

func (x *ExposePath) ProtoReflect() protoreflect.Message

func (*ExposePath) Reset

func (x *ExposePath) Reset()

func (*ExposePath) String

func (x *ExposePath) String() string

func (*ExposePath) UnmarshalBinary

func (msg *ExposePath) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ExposePath) UnmarshalJSON

func (this *ExposePath) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ExposePath

type ExposePathProtocol

type ExposePathProtocol int32

+kubebuilder:validation:Enum=EXPOSE_PATH_PROTOCOL_HTTP;EXPOSE_PATH_PROTOCOL_HTTP2 +kubebuilder:validation:Type=string

const (
	// buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
	ExposePathProtocol_EXPOSE_PATH_PROTOCOL_HTTP  ExposePathProtocol = 0
	ExposePathProtocol_EXPOSE_PATH_PROTOCOL_HTTP2 ExposePathProtocol = 1
)

func (ExposePathProtocol) Descriptor

func (ExposePathProtocol) Enum

func (ExposePathProtocol) EnumDescriptor deprecated

func (ExposePathProtocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use ExposePathProtocol.Descriptor instead.

func (ExposePathProtocol) Number

func (ExposePathProtocol) String

func (x ExposePathProtocol) String() string

func (ExposePathProtocol) Type

type GRPCBackendRef

type GRPCBackendRef struct {
	BackendRef *BackendReference `protobuf:"bytes,1,opt,name=backend_ref,json=backendRef,proto3" json:"backend_ref,omitempty"`
	// Weight specifies the proportion of requests forwarded to the referenced
	// backend. This is computed as weight/(sum of all weights in this
	// BackendRefs list). For non-zero values, there may be some epsilon from the
	// exact proportion defined here depending on the precision an implementation
	// supports. Weight is not a percentage and the sum of weights does not need
	// to equal 100.
	//
	// If only one backend is specified and it has a weight greater than 0, 100%
	// of the traffic is forwarded to that backend. If weight is set to 0, no
	// traffic should be forwarded for this entry. If unspecified, weight defaults
	// to 1.
	Weight uint32 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	// Filters defined at this level should be executed if and only if the
	// request is being forwarded to the backend defined here.
	Filters []*GRPCRouteFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"`
	// contains filtered or unexported fields
}

func (*GRPCBackendRef) DeepCopy

func (in *GRPCBackendRef) DeepCopy() *GRPCBackendRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCBackendRef. Required by controller-gen.

func (*GRPCBackendRef) DeepCopyInterface

func (in *GRPCBackendRef) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GRPCBackendRef. Required by controller-gen.

func (*GRPCBackendRef) DeepCopyInto

func (in *GRPCBackendRef) DeepCopyInto(out *GRPCBackendRef)

DeepCopyInto supports using GRPCBackendRef within kubernetes types, where deepcopy-gen is used.

func (*GRPCBackendRef) Descriptor deprecated

func (*GRPCBackendRef) Descriptor() ([]byte, []int)

Deprecated: Use GRPCBackendRef.ProtoReflect.Descriptor instead.

func (*GRPCBackendRef) GetBackendRef

func (x *GRPCBackendRef) GetBackendRef() *BackendReference

func (*GRPCBackendRef) GetFilters

func (x *GRPCBackendRef) GetFilters() []*GRPCRouteFilter

func (*GRPCBackendRef) GetWeight

func (x *GRPCBackendRef) GetWeight() uint32

func (*GRPCBackendRef) MarshalBinary

func (msg *GRPCBackendRef) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*GRPCBackendRef) MarshalJSON

func (this *GRPCBackendRef) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for GRPCBackendRef

func (*GRPCBackendRef) ProtoMessage

func (*GRPCBackendRef) ProtoMessage()

func (*GRPCBackendRef) ProtoReflect

func (x *GRPCBackendRef) ProtoReflect() protoreflect.Message

func (*GRPCBackendRef) Reset

func (x *GRPCBackendRef) Reset()

func (*GRPCBackendRef) String

func (x *GRPCBackendRef) String() string

func (*GRPCBackendRef) UnmarshalBinary

func (msg *GRPCBackendRef) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*GRPCBackendRef) UnmarshalJSON

func (this *GRPCBackendRef) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for GRPCBackendRef

type GRPCHeaderMatch

type GRPCHeaderMatch struct {
	Type  HeaderMatchType `protobuf:"varint,1,opt,name=type,proto3,enum=hashicorp.consul.mesh.v2beta1.HeaderMatchType" json:"type,omitempty"`
	Name  string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Value string          `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*GRPCHeaderMatch) DeepCopy

func (in *GRPCHeaderMatch) DeepCopy() *GRPCHeaderMatch

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCHeaderMatch. Required by controller-gen.

func (*GRPCHeaderMatch) DeepCopyInterface

func (in *GRPCHeaderMatch) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GRPCHeaderMatch. Required by controller-gen.

func (*GRPCHeaderMatch) DeepCopyInto

func (in *GRPCHeaderMatch) DeepCopyInto(out *GRPCHeaderMatch)

DeepCopyInto supports using GRPCHeaderMatch within kubernetes types, where deepcopy-gen is used.

func (*GRPCHeaderMatch) Descriptor deprecated

func (*GRPCHeaderMatch) Descriptor() ([]byte, []int)

Deprecated: Use GRPCHeaderMatch.ProtoReflect.Descriptor instead.

func (*GRPCHeaderMatch) GetName

func (x *GRPCHeaderMatch) GetName() string

func (*GRPCHeaderMatch) GetType

func (x *GRPCHeaderMatch) GetType() HeaderMatchType

func (*GRPCHeaderMatch) GetValue

func (x *GRPCHeaderMatch) GetValue() string

func (*GRPCHeaderMatch) MarshalBinary

func (msg *GRPCHeaderMatch) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*GRPCHeaderMatch) MarshalJSON

func (this *GRPCHeaderMatch) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for GRPCHeaderMatch

func (*GRPCHeaderMatch) ProtoMessage

func (*GRPCHeaderMatch) ProtoMessage()

func (*GRPCHeaderMatch) ProtoReflect

func (x *GRPCHeaderMatch) ProtoReflect() protoreflect.Message

func (*GRPCHeaderMatch) Reset

func (x *GRPCHeaderMatch) Reset()

func (*GRPCHeaderMatch) String

func (x *GRPCHeaderMatch) String() string

func (*GRPCHeaderMatch) UnmarshalBinary

func (msg *GRPCHeaderMatch) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*GRPCHeaderMatch) UnmarshalJSON

func (this *GRPCHeaderMatch) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for GRPCHeaderMatch

type GRPCMethodMatch

type GRPCMethodMatch struct {

	// Type specifies how to match against the service and/or method. Support:
	// Core (Exact with service and method specified)
	Type GRPCMethodMatchType `protobuf:"varint,1,opt,name=type,proto3,enum=hashicorp.consul.mesh.v2beta1.GRPCMethodMatchType" json:"type,omitempty"`
	// Value of the service to match against. If left empty or omitted, will
	// match any service.
	//
	// At least one of Service and Method MUST be a non-empty string.
	Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	// Value of the method to match against. If left empty or omitted, will match
	// all services.
	//
	// At least one of Service and Method MUST be a non-empty string.}
	Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*GRPCMethodMatch) DeepCopy

func (in *GRPCMethodMatch) DeepCopy() *GRPCMethodMatch

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCMethodMatch. Required by controller-gen.

func (*GRPCMethodMatch) DeepCopyInterface

func (in *GRPCMethodMatch) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GRPCMethodMatch. Required by controller-gen.

func (*GRPCMethodMatch) DeepCopyInto

func (in *GRPCMethodMatch) DeepCopyInto(out *GRPCMethodMatch)

DeepCopyInto supports using GRPCMethodMatch within kubernetes types, where deepcopy-gen is used.

func (*GRPCMethodMatch) Descriptor deprecated

func (*GRPCMethodMatch) Descriptor() ([]byte, []int)

Deprecated: Use GRPCMethodMatch.ProtoReflect.Descriptor instead.

func (*GRPCMethodMatch) GetMethod

func (x *GRPCMethodMatch) GetMethod() string

func (*GRPCMethodMatch) GetService

func (x *GRPCMethodMatch) GetService() string

func (*GRPCMethodMatch) GetType

func (x *GRPCMethodMatch) GetType() GRPCMethodMatchType

func (*GRPCMethodMatch) MarshalBinary

func (msg *GRPCMethodMatch) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*GRPCMethodMatch) MarshalJSON

func (this *GRPCMethodMatch) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for GRPCMethodMatch

func (*GRPCMethodMatch) ProtoMessage

func (*GRPCMethodMatch) ProtoMessage()

func (*GRPCMethodMatch) ProtoReflect

func (x *GRPCMethodMatch) ProtoReflect() protoreflect.Message

func (*GRPCMethodMatch) Reset

func (x *GRPCMethodMatch) Reset()

func (*GRPCMethodMatch) String

func (x *GRPCMethodMatch) String() string

func (*GRPCMethodMatch) UnmarshalBinary

func (msg *GRPCMethodMatch) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*GRPCMethodMatch) UnmarshalJSON

func (this *GRPCMethodMatch) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for GRPCMethodMatch

type GRPCMethodMatchType

type GRPCMethodMatchType int32

+kubebuilder:validation:Enum=GRPC_METHOD_MATCH_TYPE_UNSPECIFIED;GRPC_METHOD_MATCH_TYPE_EXACT;GRPC_METHOD_MATCH_TYPE_REGEX +kubebuilder:validation:Type=string

const (
	GRPCMethodMatchType_GRPC_METHOD_MATCH_TYPE_UNSPECIFIED GRPCMethodMatchType = 0
	GRPCMethodMatchType_GRPC_METHOD_MATCH_TYPE_EXACT       GRPCMethodMatchType = 1
	GRPCMethodMatchType_GRPC_METHOD_MATCH_TYPE_REGEX       GRPCMethodMatchType = 2
)

func (GRPCMethodMatchType) Descriptor

func (GRPCMethodMatchType) Enum

func (GRPCMethodMatchType) EnumDescriptor deprecated

func (GRPCMethodMatchType) EnumDescriptor() ([]byte, []int)

Deprecated: Use GRPCMethodMatchType.Descriptor instead.

func (GRPCMethodMatchType) Number

func (GRPCMethodMatchType) String

func (x GRPCMethodMatchType) String() string

func (GRPCMethodMatchType) Type

type GRPCRoute

type GRPCRoute struct {

	// ParentRefs references the resources (usually Services) that a Route wants
	// to be attached to.
	//
	// It is invalid to reference an identical parent more than once. It is valid
	// to reference multiple distinct sections within the same parent resource.
	ParentRefs []*ParentReference `protobuf:"bytes,1,rep,name=parent_refs,json=parentRefs,proto3" json:"parent_refs,omitempty"`
	// Hostnames are the hostnames for which this GRPCRoute should respond to requests.
	//
	// This is only valid for north/south.
	Hostnames []string `protobuf:"bytes,2,rep,name=hostnames,proto3" json:"hostnames,omitempty"`
	// Rules are a list of GRPC matchers, filters and actions.
	Rules []*GRPCRouteRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

NOTE: this should align to the GAMMA/gateway-api version, or at least be easily translatable.

https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io/v1alpha2.GRPCRoute

This is a Resource type.

func (*GRPCRoute) DeepCopy

func (in *GRPCRoute) DeepCopy() *GRPCRoute

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCRoute. Required by controller-gen.

func (*GRPCRoute) DeepCopyInterface

func (in *GRPCRoute) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GRPCRoute. Required by controller-gen.

func (*GRPCRoute) DeepCopyInto

func (in *GRPCRoute) DeepCopyInto(out *GRPCRoute)

DeepCopyInto supports using GRPCRoute within kubernetes types, where deepcopy-gen is used.

func (*GRPCRoute) Descriptor deprecated

func (*GRPCRoute) Descriptor() ([]byte, []int)

Deprecated: Use GRPCRoute.ProtoReflect.Descriptor instead.

func (*GRPCRoute) GetHostnames

func (x *GRPCRoute) GetHostnames() []string

func (*GRPCRoute) GetParentRefs

func (x *GRPCRoute) GetParentRefs() []*ParentReference

func (*GRPCRoute) GetRules

func (x *GRPCRoute) GetRules() []*GRPCRouteRule

func (*GRPCRoute) GetUnderlyingBackendRefs

func (x *GRPCRoute) GetUnderlyingBackendRefs() []*BackendReference

GetUnderlyingBackendRefs will collect BackendReferences from all rules and bundle them up in one slice, unwrapping the GRPC-specifics in the process.

This implements an XRouteWithRefs interface in the internal/mesh package.

NOTE: no deduplication occurs.

func (*GRPCRoute) MarshalBinary

func (msg *GRPCRoute) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*GRPCRoute) MarshalJSON

func (this *GRPCRoute) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for GRPCRoute

func (*GRPCRoute) ProtoMessage

func (*GRPCRoute) ProtoMessage()

func (*GRPCRoute) ProtoReflect

func (x *GRPCRoute) ProtoReflect() protoreflect.Message

func (*GRPCRoute) Reset

func (x *GRPCRoute) Reset()

func (*GRPCRoute) String

func (x *GRPCRoute) String() string

func (*GRPCRoute) UnmarshalBinary

func (msg *GRPCRoute) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*GRPCRoute) UnmarshalJSON

func (this *GRPCRoute) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for GRPCRoute

type GRPCRouteFilter

type GRPCRouteFilter struct {

	// RequestHeaderModifier defines a schema for a filter that modifies request
	// headers.
	RequestHeaderModifier *HTTPHeaderFilter `` /* 126-byte string literal not displayed */
	// ResponseHeaderModifier defines a schema for a filter that modifies
	// response headers.
	ResponseHeaderModifier *HTTPHeaderFilter `` /* 129-byte string literal not displayed */
	// URLRewrite defines a schema for a filter that modifies a request during
	// forwarding.
	UrlRewrite *HTTPURLRewriteFilter `protobuf:"bytes,5,opt,name=url_rewrite,json=urlRewrite,proto3" json:"url_rewrite,omitempty"`
	// contains filtered or unexported fields
}

func (*GRPCRouteFilter) DeepCopy

func (in *GRPCRouteFilter) DeepCopy() *GRPCRouteFilter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCRouteFilter. Required by controller-gen.

func (*GRPCRouteFilter) DeepCopyInterface

func (in *GRPCRouteFilter) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GRPCRouteFilter. Required by controller-gen.

func (*GRPCRouteFilter) DeepCopyInto

func (in *GRPCRouteFilter) DeepCopyInto(out *GRPCRouteFilter)

DeepCopyInto supports using GRPCRouteFilter within kubernetes types, where deepcopy-gen is used.

func (*GRPCRouteFilter) Descriptor deprecated

func (*GRPCRouteFilter) Descriptor() ([]byte, []int)

Deprecated: Use GRPCRouteFilter.ProtoReflect.Descriptor instead.

func (*GRPCRouteFilter) GetRequestHeaderModifier

func (x *GRPCRouteFilter) GetRequestHeaderModifier() *HTTPHeaderFilter

func (*GRPCRouteFilter) GetResponseHeaderModifier

func (x *GRPCRouteFilter) GetResponseHeaderModifier() *HTTPHeaderFilter

func (*GRPCRouteFilter) GetUrlRewrite

func (x *GRPCRouteFilter) GetUrlRewrite() *HTTPURLRewriteFilter

func (*GRPCRouteFilter) MarshalBinary

func (msg *GRPCRouteFilter) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*GRPCRouteFilter) MarshalJSON

func (this *GRPCRouteFilter) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for GRPCRouteFilter

func (*GRPCRouteFilter) ProtoMessage

func (*GRPCRouteFilter) ProtoMessage()

func (*GRPCRouteFilter) ProtoReflect

func (x *GRPCRouteFilter) ProtoReflect() protoreflect.Message

func (*GRPCRouteFilter) Reset

func (x *GRPCRouteFilter) Reset()

func (*GRPCRouteFilter) String

func (x *GRPCRouteFilter) String() string

func (*GRPCRouteFilter) UnmarshalBinary

func (msg *GRPCRouteFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*GRPCRouteFilter) UnmarshalJSON

func (this *GRPCRouteFilter) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for GRPCRouteFilter

type GRPCRouteMatch

type GRPCRouteMatch struct {

	// Method specifies a gRPC request service/method matcher. If this field is
	// not specified, all services and methods will match.
	Method *GRPCMethodMatch `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	// Headers specifies gRPC request header matchers. Multiple match values are
	// ANDed together, meaning, a request MUST match all the specified headers to
	// select the route.
	Headers []*GRPCHeaderMatch `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"`
	// contains filtered or unexported fields
}

func (*GRPCRouteMatch) DeepCopy

func (in *GRPCRouteMatch) DeepCopy() *GRPCRouteMatch

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCRouteMatch. Required by controller-gen.

func (*GRPCRouteMatch) DeepCopyInterface

func (in *GRPCRouteMatch) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GRPCRouteMatch. Required by controller-gen.

func (*GRPCRouteMatch) DeepCopyInto

func (in *GRPCRouteMatch) DeepCopyInto(out *GRPCRouteMatch)

DeepCopyInto supports using GRPCRouteMatch within kubernetes types, where deepcopy-gen is used.

func (*GRPCRouteMatch) Descriptor deprecated

func (*GRPCRouteMatch) Descriptor() ([]byte, []int)

Deprecated: Use GRPCRouteMatch.ProtoReflect.Descriptor instead.

func (*GRPCRouteMatch) GetHeaders

func (x *GRPCRouteMatch) GetHeaders() []*GRPCHeaderMatch

func (*GRPCRouteMatch) GetMethod

func (x *GRPCRouteMatch) GetMethod() *GRPCMethodMatch

func (*GRPCRouteMatch) MarshalBinary

func (msg *GRPCRouteMatch) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*GRPCRouteMatch) MarshalJSON

func (this *GRPCRouteMatch) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for GRPCRouteMatch

func (*GRPCRouteMatch) ProtoMessage

func (*GRPCRouteMatch) ProtoMessage()

func (*GRPCRouteMatch) ProtoReflect

func (x *GRPCRouteMatch) ProtoReflect() protoreflect.Message

func (*GRPCRouteMatch) Reset

func (x *GRPCRouteMatch) Reset()

func (*GRPCRouteMatch) String

func (x *GRPCRouteMatch) String() string

func (*GRPCRouteMatch) UnmarshalBinary

func (msg *GRPCRouteMatch) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*GRPCRouteMatch) UnmarshalJSON

func (this *GRPCRouteMatch) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for GRPCRouteMatch

type GRPCRouteRule

type GRPCRouteRule struct {
	Matches []*GRPCRouteMatch  `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
	Filters []*GRPCRouteFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"`
	// BackendRefs defines the backend(s) where matching requests should be sent.
	// Failure behavior here depends on how many BackendRefs are specified and
	// how many are invalid.
	//
	// If all entries in BackendRefs are invalid, and there are also no filters
	// specified in this route rule, all traffic which matches this rule MUST
	// receive a 500 status code.
	//
	// See the GRPCBackendRef definition for the rules about what makes a single
	// GRPCBackendRef invalid.
	//
	// When a GRPCBackendRef is invalid, 500 status codes MUST be returned for
	// requests that would have otherwise been routed to an invalid backend. If
	// multiple backends are specified, and some are invalid, the proportion of
	// requests that would otherwise have been routed to an invalid backend MUST
	// receive a 500 status code.
	//
	// For example, if two backends are specified with equal weights, and one is
	// invalid, 50 percent of traffic must receive a 500. Implementations may
	// choose how that 50 percent is determined.
	BackendRefs []*GRPCBackendRef  `protobuf:"bytes,3,rep,name=backend_refs,json=backendRefs,proto3" json:"backend_refs,omitempty"`
	Timeouts    *HTTPRouteTimeouts `protobuf:"bytes,4,opt,name=timeouts,proto3" json:"timeouts,omitempty"`
	Retries     *HTTPRouteRetries  `protobuf:"bytes,5,opt,name=retries,proto3" json:"retries,omitempty"`
	// contains filtered or unexported fields
}

func (*GRPCRouteRule) DeepCopy

func (in *GRPCRouteRule) DeepCopy() *GRPCRouteRule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCRouteRule. Required by controller-gen.

func (*GRPCRouteRule) DeepCopyInterface

func (in *GRPCRouteRule) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GRPCRouteRule. Required by controller-gen.

func (*GRPCRouteRule) DeepCopyInto

func (in *GRPCRouteRule) DeepCopyInto(out *GRPCRouteRule)

DeepCopyInto supports using GRPCRouteRule within kubernetes types, where deepcopy-gen is used.

func (*GRPCRouteRule) Descriptor deprecated

func (*GRPCRouteRule) Descriptor() ([]byte, []int)

Deprecated: Use GRPCRouteRule.ProtoReflect.Descriptor instead.

func (*GRPCRouteRule) GetBackendRefs

func (x *GRPCRouteRule) GetBackendRefs() []*GRPCBackendRef

func (*GRPCRouteRule) GetFilters

func (x *GRPCRouteRule) GetFilters() []*GRPCRouteFilter

func (*GRPCRouteRule) GetMatches

func (x *GRPCRouteRule) GetMatches() []*GRPCRouteMatch

func (*GRPCRouteRule) GetRetries

func (x *GRPCRouteRule) GetRetries() *HTTPRouteRetries

func (*GRPCRouteRule) GetTimeouts

func (x *GRPCRouteRule) GetTimeouts() *HTTPRouteTimeouts

func (*GRPCRouteRule) MarshalBinary

func (msg *GRPCRouteRule) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*GRPCRouteRule) MarshalJSON

func (this *GRPCRouteRule) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for GRPCRouteRule

func (*GRPCRouteRule) ProtoMessage

func (*GRPCRouteRule) ProtoMessage()

func (*GRPCRouteRule) ProtoReflect

func (x *GRPCRouteRule) ProtoReflect() protoreflect.Message

func (*GRPCRouteRule) Reset

func (x *GRPCRouteRule) Reset()

func (*GRPCRouteRule) String

func (x *GRPCRouteRule) String() string

func (*GRPCRouteRule) UnmarshalBinary

func (msg *GRPCRouteRule) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*GRPCRouteRule) UnmarshalJSON

func (this *GRPCRouteRule) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for GRPCRouteRule

type HTTPBackendRef

type HTTPBackendRef struct {
	BackendRef *BackendReference `protobuf:"bytes,1,opt,name=backend_ref,json=backendRef,proto3" json:"backend_ref,omitempty"`
	// Weight specifies the proportion of requests forwarded to the referenced
	// backend. This is computed as weight/(sum of all weights in this
	// BackendRefs list). For non-zero values, there may be some epsilon from the
	// exact proportion defined here depending on the precision an implementation
	// supports. Weight is not a percentage and the sum of weights does not need
	// to equal 100.
	//
	// If only one backend is specified and it has a weight greater than 0, 100%
	// of the traffic is forwarded to that backend. If weight is set to 0, no
	// traffic should be forwarded for this entry. If unspecified, weight defaults
	// to 1.
	Weight uint32 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	// Filters defined at this level should be executed if and only if the
	// request is being forwarded to the backend defined here.
	Filters []*HTTPRouteFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPBackendRef) DeepCopy

func (in *HTTPBackendRef) DeepCopy() *HTTPBackendRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPBackendRef. Required by controller-gen.

func (*HTTPBackendRef) DeepCopyInterface

func (in *HTTPBackendRef) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new HTTPBackendRef. Required by controller-gen.

func (*HTTPBackendRef) DeepCopyInto

func (in *HTTPBackendRef) DeepCopyInto(out *HTTPBackendRef)

DeepCopyInto supports using HTTPBackendRef within kubernetes types, where deepcopy-gen is used.

func (*HTTPBackendRef) Descriptor deprecated

func (*HTTPBackendRef) Descriptor() ([]byte, []int)

Deprecated: Use HTTPBackendRef.ProtoReflect.Descriptor instead.

func (*HTTPBackendRef) GetBackendRef

func (x *HTTPBackendRef) GetBackendRef() *BackendReference

func (*HTTPBackendRef) GetFilters

func (x *HTTPBackendRef) GetFilters() []*HTTPRouteFilter

func (*HTTPBackendRef) GetWeight

func (x *HTTPBackendRef) GetWeight() uint32

func (*HTTPBackendRef) MarshalBinary

func (msg *HTTPBackendRef) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPBackendRef) MarshalJSON

func (this *HTTPBackendRef) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for HTTPBackendRef

func (*HTTPBackendRef) ProtoMessage

func (*HTTPBackendRef) ProtoMessage()

func (*HTTPBackendRef) ProtoReflect

func (x *HTTPBackendRef) ProtoReflect() protoreflect.Message

func (*HTTPBackendRef) Reset

func (x *HTTPBackendRef) Reset()

func (*HTTPBackendRef) String

func (x *HTTPBackendRef) String() string

func (*HTTPBackendRef) UnmarshalBinary

func (msg *HTTPBackendRef) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*HTTPBackendRef) UnmarshalJSON

func (this *HTTPBackendRef) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for HTTPBackendRef

type HTTPHeader

type HTTPHeader struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPHeader) DeepCopy

func (in *HTTPHeader) DeepCopy() *HTTPHeader

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeader. Required by controller-gen.

func (*HTTPHeader) DeepCopyInterface

func (in *HTTPHeader) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeader. Required by controller-gen.

func (*HTTPHeader) DeepCopyInto

func (in *HTTPHeader) DeepCopyInto(out *HTTPHeader)

DeepCopyInto supports using HTTPHeader within kubernetes types, where deepcopy-gen is used.

func (*HTTPHeader) Descriptor deprecated

func (*HTTPHeader) Descriptor() ([]byte, []int)

Deprecated: Use HTTPHeader.ProtoReflect.Descriptor instead.

func (*HTTPHeader) GetName

func (x *HTTPHeader) GetName() string

func (*HTTPHeader) GetValue

func (x *HTTPHeader) GetValue() string

func (*HTTPHeader) MarshalBinary

func (msg *HTTPHeader) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPHeader) MarshalJSON

func (this *HTTPHeader) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for HTTPHeader

func (*HTTPHeader) ProtoMessage

func (*HTTPHeader) ProtoMessage()

func (*HTTPHeader) ProtoReflect

func (x *HTTPHeader) ProtoReflect() protoreflect.Message

func (*HTTPHeader) Reset

func (x *HTTPHeader) Reset()

func (*HTTPHeader) String

func (x *HTTPHeader) String() string

func (*HTTPHeader) UnmarshalBinary

func (msg *HTTPHeader) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*HTTPHeader) UnmarshalJSON

func (this *HTTPHeader) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for HTTPHeader

type HTTPHeaderFilter

type HTTPHeaderFilter struct {

	// Set overwrites the request with the given header (name, value) before the
	// action.
	Set []*HTTPHeader `protobuf:"bytes,1,rep,name=set,proto3" json:"set,omitempty"`
	// Add adds the given header(s) (name, value) to the request before the
	// action. It appends to any existing values associated with the header name.
	Add []*HTTPHeader `protobuf:"bytes,2,rep,name=add,proto3" json:"add,omitempty"`
	// Remove the given header(s) from the HTTP request before the action. The
	// value of Remove is a list of HTTP header names. Note that the header names
	// are case-insensitive (see
	// https://datatracker.ietf.org/doc/html/rfc2616#section-4.2).
	Remove []string `protobuf:"bytes,3,rep,name=remove,proto3" json:"remove,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPHeaderFilter) DeepCopy

func (in *HTTPHeaderFilter) DeepCopy() *HTTPHeaderFilter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeaderFilter. Required by controller-gen.

func (*HTTPHeaderFilter) DeepCopyInterface

func (in *HTTPHeaderFilter) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeaderFilter. Required by controller-gen.

func (*HTTPHeaderFilter) DeepCopyInto

func (in *HTTPHeaderFilter) DeepCopyInto(out *HTTPHeaderFilter)

DeepCopyInto supports using HTTPHeaderFilter within kubernetes types, where deepcopy-gen is used.

func (*HTTPHeaderFilter) Descriptor deprecated

func (*HTTPHeaderFilter) Descriptor() ([]byte, []int)

Deprecated: Use HTTPHeaderFilter.ProtoReflect.Descriptor instead.

func (*HTTPHeaderFilter) GetAdd

func (x *HTTPHeaderFilter) GetAdd() []*HTTPHeader

func (*HTTPHeaderFilter) GetRemove

func (x *HTTPHeaderFilter) GetRemove() []string

func (*HTTPHeaderFilter) GetSet

func (x *HTTPHeaderFilter) GetSet() []*HTTPHeader

func (*HTTPHeaderFilter) MarshalBinary

func (msg *HTTPHeaderFilter) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPHeaderFilter) MarshalJSON

func (this *HTTPHeaderFilter) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for HTTPHeaderFilter

func (*HTTPHeaderFilter) ProtoMessage

func (*HTTPHeaderFilter) ProtoMessage()

func (*HTTPHeaderFilter) ProtoReflect

func (x *HTTPHeaderFilter) ProtoReflect() protoreflect.Message

func (*HTTPHeaderFilter) Reset

func (x *HTTPHeaderFilter) Reset()

func (*HTTPHeaderFilter) String

func (x *HTTPHeaderFilter) String() string

func (*HTTPHeaderFilter) UnmarshalBinary

func (msg *HTTPHeaderFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*HTTPHeaderFilter) UnmarshalJSON

func (this *HTTPHeaderFilter) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for HTTPHeaderFilter

type HTTPHeaderMatch

type HTTPHeaderMatch struct {

	// Type specifies how to match against the value of the header.
	Type HeaderMatchType `protobuf:"varint,1,opt,name=type,proto3,enum=hashicorp.consul.mesh.v2beta1.HeaderMatchType" json:"type,omitempty"`
	// Name is the name of the HTTP Header to be matched. Name matching MUST be
	// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).
	//
	// If multiple entries specify equivalent header names, only the first entry
	// with an equivalent name MUST be considered for a match. Subsequent entries
	// with an equivalent header name MUST be ignored. Due to the
	// case-insensitivity of header names, “foo” and “Foo” are considered
	// equivalent.
	//
	// When a header is repeated in an HTTP request, it is
	// implementation-specific behavior as to how this is represented. Generally,
	// proxies should follow the guidance from the RFC:
	// https://www.rfc-editor.org/rfc/rfc7230.html#section-3.2.2 regarding
	// processing a repeated header, with special handling for “Set-Cookie”.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Value is the value of HTTP Header to be matched.
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// NOTE: not in gamma; service-router compat
	Invert bool `protobuf:"varint,4,opt,name=invert,proto3" json:"invert,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPHeaderMatch) DeepCopy

func (in *HTTPHeaderMatch) DeepCopy() *HTTPHeaderMatch

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeaderMatch. Required by controller-gen.

func (*HTTPHeaderMatch) DeepCopyInterface

func (in *HTTPHeaderMatch) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeaderMatch. Required by controller-gen.

func (*HTTPHeaderMatch) DeepCopyInto

func (in *HTTPHeaderMatch) DeepCopyInto(out *HTTPHeaderMatch)

DeepCopyInto supports using HTTPHeaderMatch within kubernetes types, where deepcopy-gen is used.

func (*HTTPHeaderMatch) Descriptor deprecated

func (*HTTPHeaderMatch) Descriptor() ([]byte, []int)

Deprecated: Use HTTPHeaderMatch.ProtoReflect.Descriptor instead.

func (*HTTPHeaderMatch) GetInvert

func (x *HTTPHeaderMatch) GetInvert() bool

func (*HTTPHeaderMatch) GetName

func (x *HTTPHeaderMatch) GetName() string

func (*HTTPHeaderMatch) GetType

func (x *HTTPHeaderMatch) GetType() HeaderMatchType

func (*HTTPHeaderMatch) GetValue

func (x *HTTPHeaderMatch) GetValue() string

func (*HTTPHeaderMatch) MarshalBinary

func (msg *HTTPHeaderMatch) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPHeaderMatch) MarshalJSON

func (this *HTTPHeaderMatch) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for HTTPHeaderMatch

func (*HTTPHeaderMatch) ProtoMessage

func (*HTTPHeaderMatch) ProtoMessage()

func (*HTTPHeaderMatch) ProtoReflect

func (x *HTTPHeaderMatch) ProtoReflect() protoreflect.Message

func (*HTTPHeaderMatch) Reset

func (x *HTTPHeaderMatch) Reset()

func (*HTTPHeaderMatch) String

func (x *HTTPHeaderMatch) String() string

func (*HTTPHeaderMatch) UnmarshalBinary

func (msg *HTTPHeaderMatch) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*HTTPHeaderMatch) UnmarshalJSON

func (this *HTTPHeaderMatch) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for HTTPHeaderMatch

type HTTPPathMatch

type HTTPPathMatch struct {

	// Type specifies how to match against the path Value.
	Type PathMatchType `protobuf:"varint,1,opt,name=type,proto3,enum=hashicorp.consul.mesh.v2beta1.PathMatchType" json:"type,omitempty"`
	// Value of the HTTP path to match against.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPPathMatch) DeepCopy

func (in *HTTPPathMatch) DeepCopy() *HTTPPathMatch

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPPathMatch. Required by controller-gen.

func (*HTTPPathMatch) DeepCopyInterface

func (in *HTTPPathMatch) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new HTTPPathMatch. Required by controller-gen.

func (*HTTPPathMatch) DeepCopyInto

func (in *HTTPPathMatch) DeepCopyInto(out *HTTPPathMatch)

DeepCopyInto supports using HTTPPathMatch within kubernetes types, where deepcopy-gen is used.

func (*HTTPPathMatch) Descriptor deprecated

func (*HTTPPathMatch) Descriptor() ([]byte, []int)

Deprecated: Use HTTPPathMatch.ProtoReflect.Descriptor instead.

func (*HTTPPathMatch) GetType

func (x *HTTPPathMatch) GetType() PathMatchType

func (*HTTPPathMatch) GetValue

func (x *HTTPPathMatch) GetValue() string

func (*HTTPPathMatch) MarshalBinary

func (msg *HTTPPathMatch) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPPathMatch) MarshalJSON

func (this *HTTPPathMatch) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for HTTPPathMatch

func (*HTTPPathMatch) ProtoMessage

func (*HTTPPathMatch) ProtoMessage()

func (*HTTPPathMatch) ProtoReflect

func (x *HTTPPathMatch) ProtoReflect() protoreflect.Message

func (*HTTPPathMatch) Reset

func (x *HTTPPathMatch) Reset()

func (*HTTPPathMatch) String

func (x *HTTPPathMatch) String() string

func (*HTTPPathMatch) UnmarshalBinary

func (msg *HTTPPathMatch) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*HTTPPathMatch) UnmarshalJSON

func (this *HTTPPathMatch) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for HTTPPathMatch

type HTTPQueryParamMatch

type HTTPQueryParamMatch struct {

	// Type specifies how to match against the value of the query parameter.
	Type QueryParamMatchType `protobuf:"varint,1,opt,name=type,proto3,enum=hashicorp.consul.mesh.v2beta1.QueryParamMatchType" json:"type,omitempty"`
	// Name is the name of the HTTP query param to be matched. This must be an
	// exact string match. (See
	// https://tools.ietf.org/html/rfc7230#section-2.7.3).
	//
	// If multiple entries specify equivalent query param names, only the first
	// entry with an equivalent name MUST be considered for a match. Subsequent
	// entries with an equivalent query param name MUST be ignored.
	//
	// If a query param is repeated in an HTTP request, the behavior is purposely
	// left undefined, since different data planes have different capabilities.
	// However, it is recommended that implementations should match against the
	// first value of the param if the data plane supports it, as this behavior
	// is expected in other load balancing contexts outside of the Gateway API.
	//
	// Users SHOULD NOT route traffic based on repeated query params to guard
	// themselves against potential differences in the implementations.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Value is the value of HTTP query param to be matched.
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPQueryParamMatch) DeepCopy

func (in *HTTPQueryParamMatch) DeepCopy() *HTTPQueryParamMatch

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPQueryParamMatch. Required by controller-gen.

func (*HTTPQueryParamMatch) DeepCopyInterface

func (in *HTTPQueryParamMatch) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new HTTPQueryParamMatch. Required by controller-gen.

func (*HTTPQueryParamMatch) DeepCopyInto

func (in *HTTPQueryParamMatch) DeepCopyInto(out *HTTPQueryParamMatch)

DeepCopyInto supports using HTTPQueryParamMatch within kubernetes types, where deepcopy-gen is used.

func (*HTTPQueryParamMatch) Descriptor deprecated

func (*HTTPQueryParamMatch) Descriptor() ([]byte, []int)

Deprecated: Use HTTPQueryParamMatch.ProtoReflect.Descriptor instead.

func (*HTTPQueryParamMatch) GetName

func (x *HTTPQueryParamMatch) GetName() string

func (*HTTPQueryParamMatch) GetType

func (*HTTPQueryParamMatch) GetValue

func (x *HTTPQueryParamMatch) GetValue() string

func (*HTTPQueryParamMatch) MarshalBinary

func (msg *HTTPQueryParamMatch) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPQueryParamMatch) MarshalJSON

func (this *HTTPQueryParamMatch) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for HTTPQueryParamMatch

func (*HTTPQueryParamMatch) ProtoMessage

func (*HTTPQueryParamMatch) ProtoMessage()

func (*HTTPQueryParamMatch) ProtoReflect

func (x *HTTPQueryParamMatch) ProtoReflect() protoreflect.Message

func (*HTTPQueryParamMatch) Reset

func (x *HTTPQueryParamMatch) Reset()

func (*HTTPQueryParamMatch) String

func (x *HTTPQueryParamMatch) String() string

func (*HTTPQueryParamMatch) UnmarshalBinary

func (msg *HTTPQueryParamMatch) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*HTTPQueryParamMatch) UnmarshalJSON

func (this *HTTPQueryParamMatch) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for HTTPQueryParamMatch

type HTTPRoute

type HTTPRoute struct {

	// ParentRefs references the resources (usually Services) that a Route wants
	// to be attached to.
	//
	// It is invalid to reference an identical parent more than once. It is valid
	// to reference multiple distinct sections within the same parent resource.
	ParentRefs []*ParentReference `protobuf:"bytes,1,rep,name=parent_refs,json=parentRefs,proto3" json:"parent_refs,omitempty"`
	// Hostnames are the hostnames for which this HTTPRoute should respond to requests.
	//
	// This is only valid for north/south.
	Hostnames []string `protobuf:"bytes,2,rep,name=hostnames,proto3" json:"hostnames,omitempty"`
	// Rules are a list of HTTP-based routing rules that this route should
	// use for constructing a routing table.
	Rules []*HTTPRouteRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

NOTE: this should align to the GAMMA/gateway-api version, or at least be easily translatable.

https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io/v1alpha2.HTTPRoute

This is a Resource type.

func (*HTTPRoute) DeepCopy

func (in *HTTPRoute) DeepCopy() *HTTPRoute

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRoute. Required by controller-gen.

func (*HTTPRoute) DeepCopyInterface

func (in *HTTPRoute) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRoute. Required by controller-gen.

func (*HTTPRoute) DeepCopyInto

func (in *HTTPRoute) DeepCopyInto(out *HTTPRoute)

DeepCopyInto supports using HTTPRoute within kubernetes types, where deepcopy-gen is used.

func (*HTTPRoute) Descriptor deprecated

func (*HTTPRoute) Descriptor() ([]byte, []int)

Deprecated: Use HTTPRoute.ProtoReflect.Descriptor instead.

func (*HTTPRoute) GetHostnames

func (x *HTTPRoute) GetHostnames() []string

func (*HTTPRoute) GetParentRefs

func (x *HTTPRoute) GetParentRefs() []*ParentReference

func (*HTTPRoute) GetRules

func (x *HTTPRoute) GetRules() []*HTTPRouteRule

func (*HTTPRoute) GetUnderlyingBackendRefs

func (x *HTTPRoute) GetUnderlyingBackendRefs() []*BackendReference

GetUnderlyingBackendRefs will collect BackendReferences from all rules and bundle them up in one slice, unwrapping the HTTP-specifics in the process.

This implements an XRouteWithRefs interface in the internal/mesh package.

NOTE: no deduplication occurs.

func (*HTTPRoute) MarshalBinary

func (msg *HTTPRoute) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPRoute) MarshalJSON

func (this *HTTPRoute) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for HTTPRoute

func (*HTTPRoute) ProtoMessage

func (*HTTPRoute) ProtoMessage()

func (*HTTPRoute) ProtoReflect

func (x *HTTPRoute) ProtoReflect() protoreflect.Message

func (*HTTPRoute) Reset

func (x *HTTPRoute) Reset()

func (*HTTPRoute) String

func (x *HTTPRoute) String() string

func (*HTTPRoute) UnmarshalBinary

func (msg *HTTPRoute) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*HTTPRoute) UnmarshalJSON

func (this *HTTPRoute) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for HTTPRoute

type HTTPRouteFilter

type HTTPRouteFilter struct {

	// RequestHeaderModifier defines a schema for a filter that modifies request
	// headers.
	RequestHeaderModifier *HTTPHeaderFilter `` /* 126-byte string literal not displayed */
	// ResponseHeaderModifier defines a schema for a filter that modifies
	// response headers.
	ResponseHeaderModifier *HTTPHeaderFilter `` /* 129-byte string literal not displayed */
	// URLRewrite defines a schema for a filter that modifies a request during
	// forwarding.
	UrlRewrite *HTTPURLRewriteFilter `protobuf:"bytes,5,opt,name=url_rewrite,json=urlRewrite,proto3" json:"url_rewrite,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPRouteFilter) DeepCopy

func (in *HTTPRouteFilter) DeepCopy() *HTTPRouteFilter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteFilter. Required by controller-gen.

func (*HTTPRouteFilter) DeepCopyInterface

func (in *HTTPRouteFilter) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteFilter. Required by controller-gen.

func (*HTTPRouteFilter) DeepCopyInto

func (in *HTTPRouteFilter) DeepCopyInto(out *HTTPRouteFilter)

DeepCopyInto supports using HTTPRouteFilter within kubernetes types, where deepcopy-gen is used.

func (*HTTPRouteFilter) Descriptor deprecated

func (*HTTPRouteFilter) Descriptor() ([]byte, []int)

Deprecated: Use HTTPRouteFilter.ProtoReflect.Descriptor instead.

func (*HTTPRouteFilter) GetRequestHeaderModifier

func (x *HTTPRouteFilter) GetRequestHeaderModifier() *HTTPHeaderFilter

func (*HTTPRouteFilter) GetResponseHeaderModifier

func (x *HTTPRouteFilter) GetResponseHeaderModifier() *HTTPHeaderFilter

func (*HTTPRouteFilter) GetUrlRewrite

func (x *HTTPRouteFilter) GetUrlRewrite() *HTTPURLRewriteFilter

func (*HTTPRouteFilter) MarshalBinary

func (msg *HTTPRouteFilter) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPRouteFilter) MarshalJSON

func (this *HTTPRouteFilter) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for HTTPRouteFilter

func (*HTTPRouteFilter) ProtoMessage

func (*HTTPRouteFilter) ProtoMessage()

func (*HTTPRouteFilter) ProtoReflect

func (x *HTTPRouteFilter) ProtoReflect() protoreflect.Message

func (*HTTPRouteFilter) Reset

func (x *HTTPRouteFilter) Reset()

func (*HTTPRouteFilter) String

func (x *HTTPRouteFilter) String() string

func (*HTTPRouteFilter) UnmarshalBinary

func (msg *HTTPRouteFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*HTTPRouteFilter) UnmarshalJSON

func (this *HTTPRouteFilter) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for HTTPRouteFilter

type HTTPRouteMatch

type HTTPRouteMatch struct {

	// Path specifies a HTTP request path matcher. If this field is not
	// specified, a default prefix match on the “/” path is provided.
	Path *HTTPPathMatch `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Headers specifies HTTP request header matchers. Multiple match values are
	// ANDed together, meaning, a request must match all the specified headers to
	// select the route.
	Headers []*HTTPHeaderMatch `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"`
	// QueryParams specifies HTTP query parameter matchers. Multiple match values
	// are ANDed together, meaning, a request must match all the specified query
	// parameters to select the route.
	QueryParams []*HTTPQueryParamMatch `protobuf:"bytes,3,rep,name=query_params,json=queryParams,proto3" json:"query_params,omitempty"`
	// Method specifies HTTP method matcher. When specified, this route will be
	// matched only if the request has the specified method.
	Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPRouteMatch) DeepCopy

func (in *HTTPRouteMatch) DeepCopy() *HTTPRouteMatch

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteMatch. Required by controller-gen.

func (*HTTPRouteMatch) DeepCopyInterface

func (in *HTTPRouteMatch) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteMatch. Required by controller-gen.

func (*HTTPRouteMatch) DeepCopyInto

func (in *HTTPRouteMatch) DeepCopyInto(out *HTTPRouteMatch)

DeepCopyInto supports using HTTPRouteMatch within kubernetes types, where deepcopy-gen is used.

func (*HTTPRouteMatch) Descriptor deprecated

func (*HTTPRouteMatch) Descriptor() ([]byte, []int)

Deprecated: Use HTTPRouteMatch.ProtoReflect.Descriptor instead.

func (*HTTPRouteMatch) GetHeaders

func (x *HTTPRouteMatch) GetHeaders() []*HTTPHeaderMatch

func (*HTTPRouteMatch) GetMethod

func (x *HTTPRouteMatch) GetMethod() string

func (*HTTPRouteMatch) GetPath

func (x *HTTPRouteMatch) GetPath() *HTTPPathMatch

func (*HTTPRouteMatch) GetQueryParams

func (x *HTTPRouteMatch) GetQueryParams() []*HTTPQueryParamMatch

func (*HTTPRouteMatch) MarshalBinary

func (msg *HTTPRouteMatch) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPRouteMatch) MarshalJSON

func (this *HTTPRouteMatch) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for HTTPRouteMatch

func (*HTTPRouteMatch) ProtoMessage

func (*HTTPRouteMatch) ProtoMessage()

func (*HTTPRouteMatch) ProtoReflect

func (x *HTTPRouteMatch) ProtoReflect() protoreflect.Message

func (*HTTPRouteMatch) Reset

func (x *HTTPRouteMatch) Reset()

func (*HTTPRouteMatch) String

func (x *HTTPRouteMatch) String() string

func (*HTTPRouteMatch) UnmarshalBinary

func (msg *HTTPRouteMatch) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*HTTPRouteMatch) UnmarshalJSON

func (this *HTTPRouteMatch) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for HTTPRouteMatch

type HTTPRouteRetries

type HTTPRouteRetries struct {

	// Number is the number of times to retry the request when a retryable
	// result occurs.
	Number *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"`
	// RetryOnConnectFailure allows for connection failure errors to trigger a
	// retry.
	OnConnectFailure bool `protobuf:"varint,2,opt,name=on_connect_failure,json=onConnectFailure,proto3" json:"on_connect_failure,omitempty"`
	// RetryOn allows setting envoy specific conditions when a request should
	// be automatically retried.
	OnConditions []string `protobuf:"bytes,3,rep,name=on_conditions,json=onConditions,proto3" json:"on_conditions,omitempty"`
	// RetryOnStatusCodes is a flat list of http response status codes that are
	// eligible for retry. This again should be feasible in any reasonable proxy.
	OnStatusCodes []uint32 `protobuf:"varint,4,rep,packed,name=on_status_codes,json=onStatusCodes,proto3" json:"on_status_codes,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPRouteRetries) DeepCopy

func (in *HTTPRouteRetries) DeepCopy() *HTTPRouteRetries

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteRetries. Required by controller-gen.

func (*HTTPRouteRetries) DeepCopyInterface

func (in *HTTPRouteRetries) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteRetries. Required by controller-gen.

func (*HTTPRouteRetries) DeepCopyInto

func (in *HTTPRouteRetries) DeepCopyInto(out *HTTPRouteRetries)

DeepCopyInto supports using HTTPRouteRetries within kubernetes types, where deepcopy-gen is used.

func (*HTTPRouteRetries) Descriptor deprecated

func (*HTTPRouteRetries) Descriptor() ([]byte, []int)

Deprecated: Use HTTPRouteRetries.ProtoReflect.Descriptor instead.

func (*HTTPRouteRetries) GetNumber

func (x *HTTPRouteRetries) GetNumber() *wrapperspb.UInt32Value

func (*HTTPRouteRetries) GetOnConditions

func (x *HTTPRouteRetries) GetOnConditions() []string

func (*HTTPRouteRetries) GetOnConnectFailure

func (x *HTTPRouteRetries) GetOnConnectFailure() bool

func (*HTTPRouteRetries) GetOnStatusCodes

func (x *HTTPRouteRetries) GetOnStatusCodes() []uint32

func (*HTTPRouteRetries) MarshalBinary

func (msg *HTTPRouteRetries) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPRouteRetries) MarshalJSON

func (this *HTTPRouteRetries) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for HTTPRouteRetries

func (*HTTPRouteRetries) ProtoMessage

func (*HTTPRouteRetries) ProtoMessage()

func (*HTTPRouteRetries) ProtoReflect

func (x *HTTPRouteRetries) ProtoReflect() protoreflect.Message

func (*HTTPRouteRetries) Reset

func (x *HTTPRouteRetries) Reset()

func (*HTTPRouteRetries) String

func (x *HTTPRouteRetries) String() string

func (*HTTPRouteRetries) UnmarshalBinary

func (msg *HTTPRouteRetries) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*HTTPRouteRetries) UnmarshalJSON

func (this *HTTPRouteRetries) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for HTTPRouteRetries

type HTTPRouteRule

type HTTPRouteRule struct {
	Matches []*HTTPRouteMatch  `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
	Filters []*HTTPRouteFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"`
	// BackendRefs defines the backend(s) where matching requests should be sent.
	//
	// Failure behavior here depends on how many BackendRefs are specified and
	// how many are invalid.
	//
	// If all entries in BackendRefs are invalid, and there are also no filters
	// specified in this route rule, all traffic which matches this rule MUST
	// receive a 500 status code.
	//
	// See the HTTPBackendRef definition for the rules about what makes a single
	// HTTPBackendRef invalid.
	//
	// When a HTTPBackendRef is invalid, 500 status codes MUST be returned for
	// requests that would have otherwise been routed to an invalid backend. If
	// multiple backends are specified, and some are invalid, the proportion of
	// requests that would otherwise have been routed to an invalid backend MUST
	// receive a 500 status code.
	//
	// For example, if two backends are specified with equal weights, and one is
	// invalid, 50 percent of traffic must receive a 500. Implementations may
	// choose how that 50 percent is determined.
	BackendRefs []*HTTPBackendRef  `protobuf:"bytes,3,rep,name=backend_refs,json=backendRefs,proto3" json:"backend_refs,omitempty"`
	Timeouts    *HTTPRouteTimeouts `protobuf:"bytes,4,opt,name=timeouts,proto3" json:"timeouts,omitempty"`
	Retries     *HTTPRouteRetries  `protobuf:"bytes,5,opt,name=retries,proto3" json:"retries,omitempty"`
	// contains filtered or unexported fields
}

HTTPRouteRule specifies the routing rules used to determine what upstream service an HTTP request is routed to.

func (*HTTPRouteRule) DeepCopy

func (in *HTTPRouteRule) DeepCopy() *HTTPRouteRule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteRule. Required by controller-gen.

func (*HTTPRouteRule) DeepCopyInterface

func (in *HTTPRouteRule) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteRule. Required by controller-gen.

func (*HTTPRouteRule) DeepCopyInto

func (in *HTTPRouteRule) DeepCopyInto(out *HTTPRouteRule)

DeepCopyInto supports using HTTPRouteRule within kubernetes types, where deepcopy-gen is used.

func (*HTTPRouteRule) Descriptor deprecated

func (*HTTPRouteRule) Descriptor() ([]byte, []int)

Deprecated: Use HTTPRouteRule.ProtoReflect.Descriptor instead.

func (*HTTPRouteRule) GetBackendRefs

func (x *HTTPRouteRule) GetBackendRefs() []*HTTPBackendRef

func (*HTTPRouteRule) GetFilters

func (x *HTTPRouteRule) GetFilters() []*HTTPRouteFilter

func (*HTTPRouteRule) GetMatches

func (x *HTTPRouteRule) GetMatches() []*HTTPRouteMatch

func (*HTTPRouteRule) GetRetries

func (x *HTTPRouteRule) GetRetries() *HTTPRouteRetries

func (*HTTPRouteRule) GetTimeouts

func (x *HTTPRouteRule) GetTimeouts() *HTTPRouteTimeouts

func (*HTTPRouteRule) MarshalBinary

func (msg *HTTPRouteRule) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPRouteRule) MarshalJSON

func (this *HTTPRouteRule) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for HTTPRouteRule

func (*HTTPRouteRule) ProtoMessage

func (*HTTPRouteRule) ProtoMessage()

func (*HTTPRouteRule) ProtoReflect

func (x *HTTPRouteRule) ProtoReflect() protoreflect.Message

func (*HTTPRouteRule) Reset

func (x *HTTPRouteRule) Reset()

func (*HTTPRouteRule) String

func (x *HTTPRouteRule) String() string

func (*HTTPRouteRule) UnmarshalBinary

func (msg *HTTPRouteRule) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*HTTPRouteRule) UnmarshalJSON

func (this *HTTPRouteRule) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for HTTPRouteRule

type HTTPRouteTimeouts

type HTTPRouteTimeouts struct {

	// RequestTimeout is the total amount of time permitted for the entire
	// downstream request (and retries) to be processed.
	// +kubebuilder:validation:Format=duration
	Request *durationpb.Duration `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	// Idle specifies the total amount of time permitted for the request stream to be idle.
	// +kubebuilder:validation:Format=duration
	Idle *durationpb.Duration `protobuf:"bytes,2,opt,name=idle,proto3" json:"idle,omitempty"`
	// contains filtered or unexported fields
}

HTTPRouteTimeouts defines timeouts that can be configured for an HTTPRoute or GRPCRoute.

func (*HTTPRouteTimeouts) DeepCopy

func (in *HTTPRouteTimeouts) DeepCopy() *HTTPRouteTimeouts

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteTimeouts. Required by controller-gen.

func (*HTTPRouteTimeouts) DeepCopyInterface

func (in *HTTPRouteTimeouts) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteTimeouts. Required by controller-gen.

func (*HTTPRouteTimeouts) DeepCopyInto

func (in *HTTPRouteTimeouts) DeepCopyInto(out *HTTPRouteTimeouts)

DeepCopyInto supports using HTTPRouteTimeouts within kubernetes types, where deepcopy-gen is used.

func (*HTTPRouteTimeouts) Descriptor deprecated

func (*HTTPRouteTimeouts) Descriptor() ([]byte, []int)

Deprecated: Use HTTPRouteTimeouts.ProtoReflect.Descriptor instead.

func (*HTTPRouteTimeouts) GetIdle

func (x *HTTPRouteTimeouts) GetIdle() *durationpb.Duration

func (*HTTPRouteTimeouts) GetRequest

func (x *HTTPRouteTimeouts) GetRequest() *durationpb.Duration

func (*HTTPRouteTimeouts) MarshalBinary

func (msg *HTTPRouteTimeouts) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPRouteTimeouts) MarshalJSON

func (this *HTTPRouteTimeouts) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for HTTPRouteTimeouts

func (*HTTPRouteTimeouts) ProtoMessage

func (*HTTPRouteTimeouts) ProtoMessage()

func (*HTTPRouteTimeouts) ProtoReflect

func (x *HTTPRouteTimeouts) ProtoReflect() protoreflect.Message

func (*HTTPRouteTimeouts) Reset

func (x *HTTPRouteTimeouts) Reset()

func (*HTTPRouteTimeouts) String

func (x *HTTPRouteTimeouts) String() string

func (*HTTPRouteTimeouts) UnmarshalBinary

func (msg *HTTPRouteTimeouts) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*HTTPRouteTimeouts) UnmarshalJSON

func (this *HTTPRouteTimeouts) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for HTTPRouteTimeouts

type HTTPURLRewriteFilter

type HTTPURLRewriteFilter struct {
	PathPrefix string `protobuf:"bytes,1,opt,name=path_prefix,json=pathPrefix,proto3" json:"path_prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPURLRewriteFilter) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPURLRewriteFilter. Required by controller-gen.

func (*HTTPURLRewriteFilter) DeepCopyInterface

func (in *HTTPURLRewriteFilter) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new HTTPURLRewriteFilter. Required by controller-gen.

func (*HTTPURLRewriteFilter) DeepCopyInto

func (in *HTTPURLRewriteFilter) DeepCopyInto(out *HTTPURLRewriteFilter)

DeepCopyInto supports using HTTPURLRewriteFilter within kubernetes types, where deepcopy-gen is used.

func (*HTTPURLRewriteFilter) Descriptor deprecated

func (*HTTPURLRewriteFilter) Descriptor() ([]byte, []int)

Deprecated: Use HTTPURLRewriteFilter.ProtoReflect.Descriptor instead.

func (*HTTPURLRewriteFilter) GetPathPrefix

func (x *HTTPURLRewriteFilter) GetPathPrefix() string

func (*HTTPURLRewriteFilter) MarshalBinary

func (msg *HTTPURLRewriteFilter) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPURLRewriteFilter) MarshalJSON

func (this *HTTPURLRewriteFilter) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for HTTPURLRewriteFilter

func (*HTTPURLRewriteFilter) ProtoMessage

func (*HTTPURLRewriteFilter) ProtoMessage()

func (*HTTPURLRewriteFilter) ProtoReflect

func (x *HTTPURLRewriteFilter) ProtoReflect() protoreflect.Message

func (*HTTPURLRewriteFilter) Reset

func (x *HTTPURLRewriteFilter) Reset()

func (*HTTPURLRewriteFilter) String

func (x *HTTPURLRewriteFilter) String() string

func (*HTTPURLRewriteFilter) UnmarshalBinary

func (msg *HTTPURLRewriteFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*HTTPURLRewriteFilter) UnmarshalJSON

func (this *HTTPURLRewriteFilter) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for HTTPURLRewriteFilter

type HashPolicy

type HashPolicy struct {

	// Field is the attribute type to hash on.
	// Must be one of "header","cookie", or "query_parameter".
	// Cannot be specified along with SourceIP.
	Field HashPolicyField `protobuf:"varint,1,opt,name=field,proto3,enum=hashicorp.consul.mesh.v2beta1.HashPolicyField" json:"field,omitempty"`
	// FieldValue is the value to hash.
	// ie. header name, cookie name, URL query parameter name
	// Cannot be specified along with SourceIP.
	FieldValue string `protobuf:"bytes,2,opt,name=field_value,json=fieldValue,proto3" json:"field_value,omitempty"`
	// CookieConfig contains configuration for the "cookie" hash policy type.
	CookieConfig *CookieConfig `protobuf:"bytes,3,opt,name=cookie_config,json=cookieConfig,proto3" json:"cookie_config,omitempty"`
	// SourceIP determines whether the hash should be of the source IP rather than of a field and field value.
	// Cannot be specified along with Field or FieldValue.
	SourceIp bool `protobuf:"varint,4,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"`
	// Terminal will short circuit the computation of the hash when multiple hash policies are present.
	// If a hash is computed when a Terminal policy is evaluated,
	// then that hash will be used and subsequent hash policies will be ignored.
	Terminal bool `protobuf:"varint,5,opt,name=terminal,proto3" json:"terminal,omitempty"`
	// contains filtered or unexported fields
}

HashPolicy defines which attributes will be hashed by hash-based LB algorithms

func (*HashPolicy) DeepCopy

func (in *HashPolicy) DeepCopy() *HashPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HashPolicy. Required by controller-gen.

func (*HashPolicy) DeepCopyInterface

func (in *HashPolicy) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new HashPolicy. Required by controller-gen.

func (*HashPolicy) DeepCopyInto

func (in *HashPolicy) DeepCopyInto(out *HashPolicy)

DeepCopyInto supports using HashPolicy within kubernetes types, where deepcopy-gen is used.

func (*HashPolicy) Descriptor deprecated

func (*HashPolicy) Descriptor() ([]byte, []int)

Deprecated: Use HashPolicy.ProtoReflect.Descriptor instead.

func (*HashPolicy) GetCookieConfig

func (x *HashPolicy) GetCookieConfig() *CookieConfig

func (*HashPolicy) GetField

func (x *HashPolicy) GetField() HashPolicyField

func (*HashPolicy) GetFieldValue

func (x *HashPolicy) GetFieldValue() string

func (*HashPolicy) GetSourceIp

func (x *HashPolicy) GetSourceIp() bool

func (*HashPolicy) GetTerminal

func (x *HashPolicy) GetTerminal() bool

func (*HashPolicy) MarshalBinary

func (msg *HashPolicy) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*HashPolicy) MarshalJSON

func (this *HashPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for HashPolicy

func (*HashPolicy) ProtoMessage

func (*HashPolicy) ProtoMessage()

func (*HashPolicy) ProtoReflect

func (x *HashPolicy) ProtoReflect() protoreflect.Message

func (*HashPolicy) Reset

func (x *HashPolicy) Reset()

func (*HashPolicy) String

func (x *HashPolicy) String() string

func (*HashPolicy) UnmarshalBinary

func (msg *HashPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*HashPolicy) UnmarshalJSON

func (this *HashPolicy) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for HashPolicy

type HashPolicyField

type HashPolicyField int32

+kubebuilder:validation:Enum=HASH_POLICY_FIELD_UNSPECIFIED;HASH_POLICY_FIELD_HEADER;HASH_POLICY_FIELD_COOKIE;HASH_POLICY_FIELD_QUERY_PARAMETER +kubebuilder:validation:Type=string

const (
	HashPolicyField_HASH_POLICY_FIELD_UNSPECIFIED     HashPolicyField = 0
	HashPolicyField_HASH_POLICY_FIELD_HEADER          HashPolicyField = 1
	HashPolicyField_HASH_POLICY_FIELD_COOKIE          HashPolicyField = 2
	HashPolicyField_HASH_POLICY_FIELD_QUERY_PARAMETER HashPolicyField = 3
)

func (HashPolicyField) Descriptor

func (HashPolicyField) Enum

func (x HashPolicyField) Enum() *HashPolicyField

func (HashPolicyField) EnumDescriptor deprecated

func (HashPolicyField) EnumDescriptor() ([]byte, []int)

Deprecated: Use HashPolicyField.Descriptor instead.

func (HashPolicyField) Number

func (HashPolicyField) String

func (x HashPolicyField) String() string

func (HashPolicyField) Type

type HeaderMatchType

type HeaderMatchType int32

HeaderMatchType specifies the semantics of how HTTP header values should be compared. Valid HeaderMatchType values, along with their conformance levels, are:

Note that values may be added to this enum, implementations must ensure that unknown values will not cause a crash.

Unknown values here must result in the implementation setting the Accepted Condition for the Route to status: False, with a Reason of UnsupportedValue.

+kubebuilder:validation:Enum=HEADER_MATCH_TYPE_UNSPECIFIED;HEADER_MATCH_TYPE_EXACT;HEADER_MATCH_TYPE_REGEX;HEADER_MATCH_TYPE_PRESENT;HEADER_MATCH_TYPE_PREFIX;HEADER_MATCH_TYPE_SUFFIX +kubebuilder:validation:Type=string

const (
	HeaderMatchType_HEADER_MATCH_TYPE_UNSPECIFIED HeaderMatchType = 0
	HeaderMatchType_HEADER_MATCH_TYPE_EXACT       HeaderMatchType = 1
	HeaderMatchType_HEADER_MATCH_TYPE_REGEX       HeaderMatchType = 2
	// consul only after this point (service-router compat)
	HeaderMatchType_HEADER_MATCH_TYPE_PRESENT HeaderMatchType = 3
	HeaderMatchType_HEADER_MATCH_TYPE_PREFIX  HeaderMatchType = 4
	HeaderMatchType_HEADER_MATCH_TYPE_SUFFIX  HeaderMatchType = 5
)

func (HeaderMatchType) Descriptor

func (HeaderMatchType) Enum

func (x HeaderMatchType) Enum() *HeaderMatchType

func (HeaderMatchType) EnumDescriptor deprecated

func (HeaderMatchType) EnumDescriptor() ([]byte, []int)

Deprecated: Use HeaderMatchType.Descriptor instead.

func (HeaderMatchType) Number

func (HeaderMatchType) String

func (x HeaderMatchType) String() string

func (HeaderMatchType) Type

type IPPortAddress

type IPPortAddress struct {

	// ip is an IPv4 or an IPv6 address.
	Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// port is the port number.
	Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*IPPortAddress) DeepCopy

func (in *IPPortAddress) DeepCopy() *IPPortAddress

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPPortAddress. Required by controller-gen.

func (*IPPortAddress) DeepCopyInterface

func (in *IPPortAddress) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new IPPortAddress. Required by controller-gen.

func (*IPPortAddress) DeepCopyInto

func (in *IPPortAddress) DeepCopyInto(out *IPPortAddress)

DeepCopyInto supports using IPPortAddress within kubernetes types, where deepcopy-gen is used.

func (*IPPortAddress) Descriptor deprecated

func (*IPPortAddress) Descriptor() ([]byte, []int)

Deprecated: Use IPPortAddress.ProtoReflect.Descriptor instead.

func (*IPPortAddress) GetIp

func (x *IPPortAddress) GetIp() string

func (*IPPortAddress) GetPort

func (x *IPPortAddress) GetPort() uint32

func (*IPPortAddress) MarshalBinary

func (msg *IPPortAddress) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*IPPortAddress) MarshalJSON

func (this *IPPortAddress) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for IPPortAddress

func (*IPPortAddress) ProtoMessage

func (*IPPortAddress) ProtoMessage()

func (*IPPortAddress) ProtoReflect

func (x *IPPortAddress) ProtoReflect() protoreflect.Message

func (*IPPortAddress) Reset

func (x *IPPortAddress) Reset()

func (*IPPortAddress) String

func (x *IPPortAddress) String() string

func (*IPPortAddress) UnmarshalBinary

func (msg *IPPortAddress) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*IPPortAddress) UnmarshalJSON

func (this *IPPortAddress) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for IPPortAddress

type ImplicitDestination added in v0.6.0

type ImplicitDestination struct {
	DestinationRef   *pbresource.Reference `protobuf:"bytes,1,opt,name=destination_ref,json=destinationRef,proto3" json:"destination_ref,omitempty"`
	DestinationPorts []string              `protobuf:"bytes,2,rep,name=destination_ports,json=destinationPorts,proto3" json:"destination_ports,omitempty"`
	// contains filtered or unexported fields
}

ImplicitDestination contains a reference to a catalog service and a list of port names that are allowed by TrafficPermissions.

func (*ImplicitDestination) DeepCopy added in v0.6.0

func (in *ImplicitDestination) DeepCopy() *ImplicitDestination

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImplicitDestination. Required by controller-gen.

func (*ImplicitDestination) DeepCopyInterface added in v0.6.0

func (in *ImplicitDestination) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ImplicitDestination. Required by controller-gen.

func (*ImplicitDestination) DeepCopyInto added in v0.6.0

func (in *ImplicitDestination) DeepCopyInto(out *ImplicitDestination)

DeepCopyInto supports using ImplicitDestination within kubernetes types, where deepcopy-gen is used.

func (*ImplicitDestination) Descriptor deprecated added in v0.6.0

func (*ImplicitDestination) Descriptor() ([]byte, []int)

Deprecated: Use ImplicitDestination.ProtoReflect.Descriptor instead.

func (*ImplicitDestination) GetDestinationPorts added in v0.6.0

func (x *ImplicitDestination) GetDestinationPorts() []string

func (*ImplicitDestination) GetDestinationRef added in v0.6.0

func (x *ImplicitDestination) GetDestinationRef() *pbresource.Reference

func (*ImplicitDestination) MarshalBinary added in v0.6.0

func (msg *ImplicitDestination) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ImplicitDestination) MarshalJSON added in v0.6.0

func (this *ImplicitDestination) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ImplicitDestination

func (*ImplicitDestination) ProtoMessage added in v0.6.0

func (*ImplicitDestination) ProtoMessage()

func (*ImplicitDestination) ProtoReflect added in v0.6.0

func (x *ImplicitDestination) ProtoReflect() protoreflect.Message

func (*ImplicitDestination) Reset added in v0.6.0

func (x *ImplicitDestination) Reset()

func (*ImplicitDestination) String added in v0.6.0

func (x *ImplicitDestination) String() string

func (*ImplicitDestination) UnmarshalBinary added in v0.6.0

func (msg *ImplicitDestination) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ImplicitDestination) UnmarshalJSON added in v0.6.0

func (this *ImplicitDestination) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ImplicitDestination

type InboundConnectionsConfig

type InboundConnectionsConfig struct {
	MaxInboundConnections     uint32             `` /* 127-byte string literal not displayed */
	BalanceInboundConnections BalanceConnections `` /* 193-byte string literal not displayed */
	// contains filtered or unexported fields
}

Referenced by ProxyConfiguration

func (*InboundConnectionsConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundConnectionsConfig. Required by controller-gen.

func (*InboundConnectionsConfig) DeepCopyInterface

func (in *InboundConnectionsConfig) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new InboundConnectionsConfig. Required by controller-gen.

func (*InboundConnectionsConfig) DeepCopyInto

func (in *InboundConnectionsConfig) DeepCopyInto(out *InboundConnectionsConfig)

DeepCopyInto supports using InboundConnectionsConfig within kubernetes types, where deepcopy-gen is used.

func (*InboundConnectionsConfig) Descriptor deprecated

func (*InboundConnectionsConfig) Descriptor() ([]byte, []int)

Deprecated: Use InboundConnectionsConfig.ProtoReflect.Descriptor instead.

func (*InboundConnectionsConfig) GetBalanceInboundConnections

func (x *InboundConnectionsConfig) GetBalanceInboundConnections() BalanceConnections

func (*InboundConnectionsConfig) GetMaxInboundConnections

func (x *InboundConnectionsConfig) GetMaxInboundConnections() uint32

func (*InboundConnectionsConfig) MarshalBinary

func (msg *InboundConnectionsConfig) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*InboundConnectionsConfig) MarshalJSON

func (this *InboundConnectionsConfig) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for InboundConnectionsConfig

func (*InboundConnectionsConfig) ProtoMessage

func (*InboundConnectionsConfig) ProtoMessage()

func (*InboundConnectionsConfig) ProtoReflect

func (x *InboundConnectionsConfig) ProtoReflect() protoreflect.Message

func (*InboundConnectionsConfig) Reset

func (x *InboundConnectionsConfig) Reset()

func (*InboundConnectionsConfig) String

func (x *InboundConnectionsConfig) String() string

func (*InboundConnectionsConfig) UnmarshalBinary

func (msg *InboundConnectionsConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*InboundConnectionsConfig) UnmarshalJSON

func (this *InboundConnectionsConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for InboundConnectionsConfig

type LeastRequestConfig

type LeastRequestConfig struct {

	// ChoiceCount determines the number of random healthy hosts from which to select the one with the least requests.
	ChoiceCount uint32 `protobuf:"varint,1,opt,name=choice_count,json=choiceCount,proto3" json:"choice_count,omitempty"`
	// contains filtered or unexported fields
}

LeastRequestConfig contains configuration for the "least_request" policy type

func (*LeastRequestConfig) DeepCopy

func (in *LeastRequestConfig) DeepCopy() *LeastRequestConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeastRequestConfig. Required by controller-gen.

func (*LeastRequestConfig) DeepCopyInterface

func (in *LeastRequestConfig) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LeastRequestConfig. Required by controller-gen.

func (*LeastRequestConfig) DeepCopyInto

func (in *LeastRequestConfig) DeepCopyInto(out *LeastRequestConfig)

DeepCopyInto supports using LeastRequestConfig within kubernetes types, where deepcopy-gen is used.

func (*LeastRequestConfig) Descriptor deprecated

func (*LeastRequestConfig) Descriptor() ([]byte, []int)

Deprecated: Use LeastRequestConfig.ProtoReflect.Descriptor instead.

func (*LeastRequestConfig) GetChoiceCount

func (x *LeastRequestConfig) GetChoiceCount() uint32

func (*LeastRequestConfig) MarshalBinary

func (msg *LeastRequestConfig) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*LeastRequestConfig) MarshalJSON

func (this *LeastRequestConfig) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for LeastRequestConfig

func (*LeastRequestConfig) ProtoMessage

func (*LeastRequestConfig) ProtoMessage()

func (*LeastRequestConfig) ProtoReflect

func (x *LeastRequestConfig) ProtoReflect() protoreflect.Message

func (*LeastRequestConfig) Reset

func (x *LeastRequestConfig) Reset()

func (*LeastRequestConfig) String

func (x *LeastRequestConfig) String() string

func (*LeastRequestConfig) UnmarshalBinary

func (msg *LeastRequestConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*LeastRequestConfig) UnmarshalJSON

func (this *LeastRequestConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for LeastRequestConfig

type LoadBalancer

type LoadBalancer struct {

	// Policy is the load balancing policy used to select a host
	Policy LoadBalancerPolicy `protobuf:"varint,1,opt,name=policy,proto3,enum=hashicorp.consul.mesh.v2beta1.LoadBalancerPolicy" json:"policy,omitempty"`
	// HashPolicies is a list of hash policies to use for hashing load balancing
	// algorithms. Hash policies are evaluated individually and combined such
	// that identical lists result in the same hash.
	//
	// If no hash policies are present, or none are successfully evaluated,
	// then a random backend host will be selected.
	HashPolicies []*HashPolicy `protobuf:"bytes,2,rep,name=hash_policies,json=hashPolicies,proto3" json:"hash_policies,omitempty"`
	// Types that are assignable to Config:
	//
	//	*LoadBalancer_RingHashConfig
	//	*LoadBalancer_LeastRequestConfig
	Config isLoadBalancer_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

LoadBalancer determines the load balancing policy and configuration for services issuing requests to this upstream service.

func (*LoadBalancer) DeepCopy

func (in *LoadBalancer) DeepCopy() *LoadBalancer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancer. Required by controller-gen.

func (*LoadBalancer) DeepCopyInterface

func (in *LoadBalancer) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancer. Required by controller-gen.

func (*LoadBalancer) DeepCopyInto

func (in *LoadBalancer) DeepCopyInto(out *LoadBalancer)

DeepCopyInto supports using LoadBalancer within kubernetes types, where deepcopy-gen is used.

func (*LoadBalancer) Descriptor deprecated

func (*LoadBalancer) Descriptor() ([]byte, []int)

Deprecated: Use LoadBalancer.ProtoReflect.Descriptor instead.

func (*LoadBalancer) GetConfig

func (m *LoadBalancer) GetConfig() isLoadBalancer_Config

func (*LoadBalancer) GetHashPolicies

func (x *LoadBalancer) GetHashPolicies() []*HashPolicy

func (*LoadBalancer) GetLeastRequestConfig

func (x *LoadBalancer) GetLeastRequestConfig() *LeastRequestConfig

func (*LoadBalancer) GetPolicy

func (x *LoadBalancer) GetPolicy() LoadBalancerPolicy

func (*LoadBalancer) GetRingHashConfig

func (x *LoadBalancer) GetRingHashConfig() *RingHashConfig

func (*LoadBalancer) MarshalBinary

func (msg *LoadBalancer) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*LoadBalancer) MarshalJSON

func (this *LoadBalancer) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for LoadBalancer

func (*LoadBalancer) ProtoMessage

func (*LoadBalancer) ProtoMessage()

func (*LoadBalancer) ProtoReflect

func (x *LoadBalancer) ProtoReflect() protoreflect.Message

func (*LoadBalancer) Reset

func (x *LoadBalancer) Reset()

func (*LoadBalancer) String

func (x *LoadBalancer) String() string

func (*LoadBalancer) UnmarshalBinary

func (msg *LoadBalancer) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*LoadBalancer) UnmarshalJSON

func (this *LoadBalancer) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for LoadBalancer

type LoadBalancerPolicy

type LoadBalancerPolicy int32

+kubebuilder:validation:Enum=LOAD_BALANCER_POLICY_UNSPECIFIED;LOAD_BALANCER_POLICY_RANDOM;LOAD_BALANCER_POLICY_ROUND_ROBIN;LOAD_BALANCER_POLICY_LEAST_REQUEST;LOAD_BALANCER_POLICY_MAGLEV;LOAD_BALANCER_POLICY_RING_HASH +kubebuilder:validation:Type=string

const (
	LoadBalancerPolicy_LOAD_BALANCER_POLICY_UNSPECIFIED   LoadBalancerPolicy = 0
	LoadBalancerPolicy_LOAD_BALANCER_POLICY_RANDOM        LoadBalancerPolicy = 1
	LoadBalancerPolicy_LOAD_BALANCER_POLICY_ROUND_ROBIN   LoadBalancerPolicy = 2
	LoadBalancerPolicy_LOAD_BALANCER_POLICY_LEAST_REQUEST LoadBalancerPolicy = 3
	LoadBalancerPolicy_LOAD_BALANCER_POLICY_MAGLEV        LoadBalancerPolicy = 4
	LoadBalancerPolicy_LOAD_BALANCER_POLICY_RING_HASH     LoadBalancerPolicy = 5
)

func (LoadBalancerPolicy) Descriptor

func (LoadBalancerPolicy) Enum

func (LoadBalancerPolicy) EnumDescriptor deprecated

func (LoadBalancerPolicy) EnumDescriptor() ([]byte, []int)

Deprecated: Use LoadBalancerPolicy.Descriptor instead.

func (LoadBalancerPolicy) IsHashBased

func (p LoadBalancerPolicy) IsHashBased() bool

IsHashBased returns true if the policy is a hash-based policy such as maglev or ring hash.

func (LoadBalancerPolicy) Number

func (LoadBalancerPolicy) String

func (x LoadBalancerPolicy) String() string

func (LoadBalancerPolicy) Type

type LoadBalancer_LeastRequestConfig

type LoadBalancer_LeastRequestConfig struct {
	// LeastRequestConfig contains configuration for the "least_request" policy type
	LeastRequestConfig *LeastRequestConfig `protobuf:"bytes,4,opt,name=least_request_config,json=leastRequestConfig,proto3,oneof"`
}

type LoadBalancer_RingHashConfig

type LoadBalancer_RingHashConfig struct {
	// RingHashConfig contains configuration for the "ring_hash" policy type
	RingHashConfig *RingHashConfig `protobuf:"bytes,3,opt,name=ring_hash_config,json=ringHashConfig,proto3,oneof"`
}

type LocalityPrioritization

type LocalityPrioritization struct {

	// Mode specifies the type of prioritization that will be performed
	// when selecting nodes in the local partition.
	// Valid values are: "" (default "none"), "none", and "failover".
	Mode LocalityPrioritizationMode `protobuf:"varint,1,opt,name=mode,proto3,enum=hashicorp.consul.mesh.v2beta1.LocalityPrioritizationMode" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*LocalityPrioritization) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalityPrioritization. Required by controller-gen.

func (*LocalityPrioritization) DeepCopyInterface

func (in *LocalityPrioritization) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LocalityPrioritization. Required by controller-gen.

func (*LocalityPrioritization) DeepCopyInto

func (in *LocalityPrioritization) DeepCopyInto(out *LocalityPrioritization)

DeepCopyInto supports using LocalityPrioritization within kubernetes types, where deepcopy-gen is used.

func (*LocalityPrioritization) Descriptor deprecated

func (*LocalityPrioritization) Descriptor() ([]byte, []int)

Deprecated: Use LocalityPrioritization.ProtoReflect.Descriptor instead.

func (*LocalityPrioritization) GetMode

func (*LocalityPrioritization) MarshalBinary

func (msg *LocalityPrioritization) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*LocalityPrioritization) MarshalJSON

func (this *LocalityPrioritization) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for LocalityPrioritization

func (*LocalityPrioritization) ProtoMessage

func (*LocalityPrioritization) ProtoMessage()

func (*LocalityPrioritization) ProtoReflect

func (x *LocalityPrioritization) ProtoReflect() protoreflect.Message

func (*LocalityPrioritization) Reset

func (x *LocalityPrioritization) Reset()

func (*LocalityPrioritization) String

func (x *LocalityPrioritization) String() string

func (*LocalityPrioritization) UnmarshalBinary

func (msg *LocalityPrioritization) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*LocalityPrioritization) UnmarshalJSON

func (this *LocalityPrioritization) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for LocalityPrioritization

type LocalityPrioritizationMode

type LocalityPrioritizationMode int32

+kubebuilder:validation:Enum=LOCALITY_PRIORITIZATION_MODE_UNSPECIFIED;LOCALITY_PRIORITIZATION_MODE_NONE;LOCALITY_PRIORITIZATION_MODE_FAILOVER +kubebuilder:validation:Type=string

const (
	LocalityPrioritizationMode_LOCALITY_PRIORITIZATION_MODE_UNSPECIFIED LocalityPrioritizationMode = 0
	LocalityPrioritizationMode_LOCALITY_PRIORITIZATION_MODE_NONE        LocalityPrioritizationMode = 1
	LocalityPrioritizationMode_LOCALITY_PRIORITIZATION_MODE_FAILOVER    LocalityPrioritizationMode = 2
)

func (LocalityPrioritizationMode) Descriptor

func (LocalityPrioritizationMode) Enum

func (LocalityPrioritizationMode) EnumDescriptor deprecated

func (LocalityPrioritizationMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use LocalityPrioritizationMode.Descriptor instead.

func (LocalityPrioritizationMode) Number

func (LocalityPrioritizationMode) String

func (LocalityPrioritizationMode) Type

type LogSinkType

type LogSinkType int32

+kubebuilder:validation:Enum=LOG_SINK_TYPE_DEFAULT;LOG_SINK_TYPE_FILE;LOG_SINK_TYPE_STDERR;LOG_SINK_TYPE_STDOUT +kubebuilder:validation:Type=string

const (
	// buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
	LogSinkType_LOG_SINK_TYPE_DEFAULT LogSinkType = 0
	LogSinkType_LOG_SINK_TYPE_FILE    LogSinkType = 1
	LogSinkType_LOG_SINK_TYPE_STDERR  LogSinkType = 2
	LogSinkType_LOG_SINK_TYPE_STDOUT  LogSinkType = 3
)

func (LogSinkType) Descriptor

func (LogSinkType) Enum

func (x LogSinkType) Enum() *LogSinkType

func (LogSinkType) EnumDescriptor deprecated

func (LogSinkType) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogSinkType.Descriptor instead.

func (LogSinkType) Number

func (x LogSinkType) Number() protoreflect.EnumNumber

func (LogSinkType) String

func (x LogSinkType) String() string

func (LogSinkType) Type

type MeshConfiguration added in v0.6.0

type MeshConfiguration struct {
	// contains filtered or unexported fields
}

MeshConfiguration is responsible for configuring the default behavior of Mesh Gateways. This is a Resource type.

func (*MeshConfiguration) DeepCopy added in v0.6.0

func (in *MeshConfiguration) DeepCopy() *MeshConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshConfiguration. Required by controller-gen.

func (*MeshConfiguration) DeepCopyInterface added in v0.6.0

func (in *MeshConfiguration) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MeshConfiguration. Required by controller-gen.

func (*MeshConfiguration) DeepCopyInto added in v0.6.0

func (in *MeshConfiguration) DeepCopyInto(out *MeshConfiguration)

DeepCopyInto supports using MeshConfiguration within kubernetes types, where deepcopy-gen is used.

func (*MeshConfiguration) Descriptor deprecated added in v0.6.0

func (*MeshConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use MeshConfiguration.ProtoReflect.Descriptor instead.

func (*MeshConfiguration) MarshalBinary added in v0.6.0

func (msg *MeshConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*MeshConfiguration) MarshalJSON added in v0.6.0

func (this *MeshConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for MeshConfiguration

func (*MeshConfiguration) ProtoMessage added in v0.6.0

func (*MeshConfiguration) ProtoMessage()

func (*MeshConfiguration) ProtoReflect added in v0.6.0

func (x *MeshConfiguration) ProtoReflect() protoreflect.Message

func (*MeshConfiguration) Reset added in v0.6.0

func (x *MeshConfiguration) Reset()

func (*MeshConfiguration) String added in v0.6.0

func (x *MeshConfiguration) String() string

func (*MeshConfiguration) UnmarshalBinary added in v0.6.0

func (msg *MeshConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*MeshConfiguration) UnmarshalJSON added in v0.6.0

func (this *MeshConfiguration) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for MeshConfiguration

type MeshGateway added in v0.6.0

type MeshGateway struct {

	// GatewayClassName is the name of the GatewayClass used by the MeshGateway
	GatewayClassName string `protobuf:"bytes,1,opt,name=gateway_class_name,json=gatewayClassName,proto3" json:"gateway_class_name,omitempty"`
	// +kubebuilder:validation:MinItems=1
	Listeners []*MeshGatewayListener `protobuf:"bytes,2,rep,name=listeners,proto3" json:"listeners,omitempty"`
	// Selection of workloads to be configured as mesh gateways
	Workloads *v2beta1.WorkloadSelector `protobuf:"bytes,3,opt,name=workloads,proto3" json:"workloads,omitempty"`
	// contains filtered or unexported fields
}

func (*MeshGateway) DeepCopy added in v0.6.0

func (in *MeshGateway) DeepCopy() *MeshGateway

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshGateway. Required by controller-gen.

func (*MeshGateway) DeepCopyInterface added in v0.6.0

func (in *MeshGateway) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MeshGateway. Required by controller-gen.

func (*MeshGateway) DeepCopyInto added in v0.6.0

func (in *MeshGateway) DeepCopyInto(out *MeshGateway)

DeepCopyInto supports using MeshGateway within kubernetes types, where deepcopy-gen is used.

func (*MeshGateway) Descriptor deprecated added in v0.6.0

func (*MeshGateway) Descriptor() ([]byte, []int)

Deprecated: Use MeshGateway.ProtoReflect.Descriptor instead.

func (*MeshGateway) GetGatewayClassName added in v0.6.0

func (x *MeshGateway) GetGatewayClassName() string

func (*MeshGateway) GetListeners added in v0.6.0

func (x *MeshGateway) GetListeners() []*MeshGatewayListener

func (*MeshGateway) GetWorkloads added in v0.6.0

func (x *MeshGateway) GetWorkloads() *v2beta1.WorkloadSelector

func (*MeshGateway) MarshalBinary added in v0.6.0

func (msg *MeshGateway) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*MeshGateway) MarshalJSON added in v0.6.0

func (this *MeshGateway) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for MeshGateway

func (*MeshGateway) ProtoMessage added in v0.6.0

func (*MeshGateway) ProtoMessage()

func (*MeshGateway) ProtoReflect added in v0.6.0

func (x *MeshGateway) ProtoReflect() protoreflect.Message

func (*MeshGateway) Reset added in v0.6.0

func (x *MeshGateway) Reset()

func (*MeshGateway) String added in v0.6.0

func (x *MeshGateway) String() string

func (*MeshGateway) UnmarshalBinary added in v0.6.0

func (msg *MeshGateway) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*MeshGateway) UnmarshalJSON added in v0.6.0

func (this *MeshGateway) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for MeshGateway

type MeshGatewayListener added in v0.6.0

type MeshGatewayListener struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// +kubebuilder:validation:Maximum=65535
	// +kubebuilder:validation:Minimum=0
	Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// +kubebuilder:validation:Enum=TCP
	Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// contains filtered or unexported fields
}

func (*MeshGatewayListener) DeepCopy added in v0.6.0

func (in *MeshGatewayListener) DeepCopy() *MeshGatewayListener

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshGatewayListener. Required by controller-gen.

func (*MeshGatewayListener) DeepCopyInterface added in v0.6.0

func (in *MeshGatewayListener) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MeshGatewayListener. Required by controller-gen.

func (*MeshGatewayListener) DeepCopyInto added in v0.6.0

func (in *MeshGatewayListener) DeepCopyInto(out *MeshGatewayListener)

DeepCopyInto supports using MeshGatewayListener within kubernetes types, where deepcopy-gen is used.

func (*MeshGatewayListener) Descriptor deprecated added in v0.6.0

func (*MeshGatewayListener) Descriptor() ([]byte, []int)

Deprecated: Use MeshGatewayListener.ProtoReflect.Descriptor instead.

func (*MeshGatewayListener) GetName added in v0.6.0

func (x *MeshGatewayListener) GetName() string

func (*MeshGatewayListener) GetPort added in v0.6.0

func (x *MeshGatewayListener) GetPort() uint32

func (*MeshGatewayListener) GetProtocol added in v0.6.0

func (x *MeshGatewayListener) GetProtocol() string

func (*MeshGatewayListener) MarshalBinary added in v0.6.0

func (msg *MeshGatewayListener) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*MeshGatewayListener) MarshalJSON added in v0.6.0

func (this *MeshGatewayListener) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for MeshGatewayListener

func (*MeshGatewayListener) ProtoMessage added in v0.6.0

func (*MeshGatewayListener) ProtoMessage()

func (*MeshGatewayListener) ProtoReflect added in v0.6.0

func (x *MeshGatewayListener) ProtoReflect() protoreflect.Message

func (*MeshGatewayListener) Reset added in v0.6.0

func (x *MeshGatewayListener) Reset()

func (*MeshGatewayListener) String added in v0.6.0

func (x *MeshGatewayListener) String() string

func (*MeshGatewayListener) UnmarshalBinary added in v0.6.0

func (msg *MeshGatewayListener) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*MeshGatewayListener) UnmarshalJSON added in v0.6.0

func (this *MeshGatewayListener) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for MeshGatewayListener

type MeshGatewayMode

type MeshGatewayMode int32

+kubebuilder:validation:Enum=MESH_GATEWAY_MODE_UNSPECIFIED;MESH_GATEWAY_MODE_NONE;MESH_GATEWAY_MODE_LOCAL;MESH_GATEWAY_MODE_REMOTE +kubebuilder:validation:Type=string

const (
	// MESH_GATEWAY_MODE_UNSPECIFIED represents no specific mode and should be
	// used to indicate that the decision on the mode will be made by other
	// configuration or default settings.
	MeshGatewayMode_MESH_GATEWAY_MODE_UNSPECIFIED MeshGatewayMode = 0
	// MESH_GATEWAY_MODE_NONE is the mode to use when traffic should not be
	// routed through any gateway but instead be routed directly to the
	// destination.
	MeshGatewayMode_MESH_GATEWAY_MODE_NONE MeshGatewayMode = 1
	// MESH_GATEWAY_MODE_LOCAL is the mode to use when traffic should be routed
	// to the local gateway. The local gateway will then ensure that the
	// connection is proxied correctly to its final destination. This mode will
	// most often be needed for workloads that are prevented from making outbound
	// requests outside of their local network/environment. In this case a
	// gateway will sit at the edge of sit at the edge of the network and will
	// proxy outbound connections potentially to other gateways in remote
	// environments.
	MeshGatewayMode_MESH_GATEWAY_MODE_LOCAL MeshGatewayMode = 2
	// MESH_GATEWAY_MODE_REMOTE is the mode to use when traffic should be routed
	// to a remote mesh gateway. This mode will most often be used when workloads
	// can make outbound requests destined for a remote network/environment but
	// where the remote network/environment will not allow direct addressing. The
	// mesh gateway in the remote environment will sit at the edge and proxy
	// requests into that environment.
	MeshGatewayMode_MESH_GATEWAY_MODE_REMOTE MeshGatewayMode = 3
)

func (MeshGatewayMode) Descriptor

func (MeshGatewayMode) Enum

func (x MeshGatewayMode) Enum() *MeshGatewayMode

func (MeshGatewayMode) EnumDescriptor deprecated

func (MeshGatewayMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use MeshGatewayMode.Descriptor instead.

func (MeshGatewayMode) Number

func (MeshGatewayMode) String

func (x MeshGatewayMode) String() string

func (MeshGatewayMode) Type

type MutualTLSMode

type MutualTLSMode int32

+kubebuilder:validation:Enum=MUTUAL_TLS_MODE_DEFAULT;MUTUAL_TLS_MODE_STRICT;MUTUAL_TLS_MODE_PERMISSIVE +kubebuilder:validation:Type=string

const (
	// buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
	MutualTLSMode_MUTUAL_TLS_MODE_DEFAULT    MutualTLSMode = 0
	MutualTLSMode_MUTUAL_TLS_MODE_STRICT     MutualTLSMode = 1
	MutualTLSMode_MUTUAL_TLS_MODE_PERMISSIVE MutualTLSMode = 2
)

func (MutualTLSMode) Descriptor

func (MutualTLSMode) Enum

func (x MutualTLSMode) Enum() *MutualTLSMode

func (MutualTLSMode) EnumDescriptor deprecated

func (MutualTLSMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use MutualTLSMode.Descriptor instead.

func (MutualTLSMode) Number

func (MutualTLSMode) String

func (x MutualTLSMode) String() string

func (MutualTLSMode) Type

type ParentReference

type ParentReference struct {

	// For east/west configuration, this should point to a Service.
	// For north/south it should point to a Gateway.
	Ref *pbresource.Reference `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	// For east/west this is the name of the Consul Service port to direct traffic to
	// or empty to imply all.
	// For north/south this is TBD.
	//
	// For more details on potential values of this field, see documentation for
	// Service.ServicePort.
	Port string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

NOTE: roughly equivalent to structs.ResourceReference

func (*ParentReference) DeepCopy

func (in *ParentReference) DeepCopy() *ParentReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParentReference. Required by controller-gen.

func (*ParentReference) DeepCopyInterface

func (in *ParentReference) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ParentReference. Required by controller-gen.

func (*ParentReference) DeepCopyInto

func (in *ParentReference) DeepCopyInto(out *ParentReference)

DeepCopyInto supports using ParentReference within kubernetes types, where deepcopy-gen is used.

func (*ParentReference) Descriptor deprecated

func (*ParentReference) Descriptor() ([]byte, []int)

Deprecated: Use ParentReference.ProtoReflect.Descriptor instead.

func (*ParentReference) GetPort

func (x *ParentReference) GetPort() string

func (*ParentReference) GetRef

func (x *ParentReference) GetRef() *pbresource.Reference

func (*ParentReference) MarshalBinary

func (msg *ParentReference) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ParentReference) MarshalJSON

func (this *ParentReference) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ParentReference

func (*ParentReference) ProtoMessage

func (*ParentReference) ProtoMessage()

func (*ParentReference) ProtoReflect

func (x *ParentReference) ProtoReflect() protoreflect.Message

func (*ParentReference) Reset

func (x *ParentReference) Reset()

func (*ParentReference) String

func (x *ParentReference) String() string

func (*ParentReference) UnmarshalBinary

func (msg *ParentReference) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ParentReference) UnmarshalJSON

func (this *ParentReference) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ParentReference

type PassiveHealthCheck

type PassiveHealthCheck struct {

	// Interval between health check analysis sweeps. Each sweep may remove
	// hosts or return hosts to the pool.
	// +kubebuilder:validation:Format=duration
	Interval *durationpb.Duration `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"`
	// MaxFailures is the count of consecutive failures that results in a host
	// being removed from the pool.
	MaxFailures uint32 `protobuf:"varint,2,opt,name=max_failures,json=maxFailures,proto3" json:"max_failures,omitempty"`
	// EnforcingConsecutive5XX is the % chance that a host will be actually ejected
	// when an outlier status is detected through consecutive 5xx.
	// This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100.
	EnforcingConsecutive_5Xx uint32 `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PassiveHealthCheck) DeepCopy

func (in *PassiveHealthCheck) DeepCopy() *PassiveHealthCheck

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PassiveHealthCheck. Required by controller-gen.

func (*PassiveHealthCheck) DeepCopyInterface

func (in *PassiveHealthCheck) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PassiveHealthCheck. Required by controller-gen.

func (*PassiveHealthCheck) DeepCopyInto

func (in *PassiveHealthCheck) DeepCopyInto(out *PassiveHealthCheck)

DeepCopyInto supports using PassiveHealthCheck within kubernetes types, where deepcopy-gen is used.

func (*PassiveHealthCheck) Descriptor deprecated

func (*PassiveHealthCheck) Descriptor() ([]byte, []int)

Deprecated: Use PassiveHealthCheck.ProtoReflect.Descriptor instead.

func (*PassiveHealthCheck) GetEnforcingConsecutive_5Xx

func (x *PassiveHealthCheck) GetEnforcingConsecutive_5Xx() uint32

func (*PassiveHealthCheck) GetInterval

func (x *PassiveHealthCheck) GetInterval() *durationpb.Duration

func (*PassiveHealthCheck) GetMaxFailures

func (x *PassiveHealthCheck) GetMaxFailures() uint32

func (*PassiveHealthCheck) MarshalBinary

func (msg *PassiveHealthCheck) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*PassiveHealthCheck) MarshalJSON

func (this *PassiveHealthCheck) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for PassiveHealthCheck

func (*PassiveHealthCheck) ProtoMessage

func (*PassiveHealthCheck) ProtoMessage()

func (*PassiveHealthCheck) ProtoReflect

func (x *PassiveHealthCheck) ProtoReflect() protoreflect.Message

func (*PassiveHealthCheck) Reset

func (x *PassiveHealthCheck) Reset()

func (*PassiveHealthCheck) String

func (x *PassiveHealthCheck) String() string

func (*PassiveHealthCheck) UnmarshalBinary

func (msg *PassiveHealthCheck) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*PassiveHealthCheck) UnmarshalJSON

func (this *PassiveHealthCheck) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for PassiveHealthCheck

type PathMatchType

type PathMatchType int32

PathMatchType specifies the semantics of how HTTP paths should be compared. Valid PathMatchType values, along with their support levels, are:

PathPrefix and Exact paths must be syntactically valid:

- Must begin with the / character - Must not contain consecutive / characters (e.g. /foo///, //). - Note that values may be added to this enum, implementations must ensure that unknown values will not cause a crash.

Unknown values here must result in the implementation setting the Accepted Condition for the Route to status: False, with a Reason of UnsupportedValue.

+kubebuilder:validation:Enum=PATH_MATCH_TYPE_UNSPECIFIED;PATH_MATCH_TYPE_EXACT;PATH_MATCH_TYPE_PREFIX;PATH_MATCH_TYPE_REGEX +kubebuilder:validation:Type=string

const (
	PathMatchType_PATH_MATCH_TYPE_UNSPECIFIED PathMatchType = 0
	PathMatchType_PATH_MATCH_TYPE_EXACT       PathMatchType = 1
	PathMatchType_PATH_MATCH_TYPE_PREFIX      PathMatchType = 2
	PathMatchType_PATH_MATCH_TYPE_REGEX       PathMatchType = 3
)

func (PathMatchType) Descriptor

func (PathMatchType) Enum

func (x PathMatchType) Enum() *PathMatchType

func (PathMatchType) EnumDescriptor deprecated

func (PathMatchType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PathMatchType.Descriptor instead.

func (PathMatchType) Number

func (PathMatchType) String

func (x PathMatchType) String() string

func (PathMatchType) Type

type PreparedQueryDestination

type PreparedQueryDestination struct {

	// Name is the name of the prepared query to use as an destination.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Datacenter is the datacenter for where this destination service lives.
	Datacenter string `protobuf:"bytes,2,opt,name=datacenter,proto3" json:"datacenter,omitempty"`
	// ListenAddr is the address where Envoy will listen for requests to this destination.
	// It can provided either as an ip:port or as a Unix domain socket.
	//
	// Types that are assignable to ListenAddr:
	//
	//	*PreparedQueryDestination_Tcp
	//	*PreparedQueryDestination_Unix
	ListenAddr        isPreparedQueryDestination_ListenAddr `protobuf_oneof:"listen_addr"`
	DestinationConfig *DestinationConfiguration             `protobuf:"bytes,6,opt,name=destination_config,json=destinationConfig,proto3" json:"destination_config,omitempty"`
	// contains filtered or unexported fields
}

func (*PreparedQueryDestination) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreparedQueryDestination. Required by controller-gen.

func (*PreparedQueryDestination) DeepCopyInterface

func (in *PreparedQueryDestination) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PreparedQueryDestination. Required by controller-gen.

func (*PreparedQueryDestination) DeepCopyInto

func (in *PreparedQueryDestination) DeepCopyInto(out *PreparedQueryDestination)

DeepCopyInto supports using PreparedQueryDestination within kubernetes types, where deepcopy-gen is used.

func (*PreparedQueryDestination) Descriptor deprecated

func (*PreparedQueryDestination) Descriptor() ([]byte, []int)

Deprecated: Use PreparedQueryDestination.ProtoReflect.Descriptor instead.

func (*PreparedQueryDestination) GetDatacenter

func (x *PreparedQueryDestination) GetDatacenter() string

func (*PreparedQueryDestination) GetDestinationConfig

func (x *PreparedQueryDestination) GetDestinationConfig() *DestinationConfiguration

func (*PreparedQueryDestination) GetListenAddr

func (m *PreparedQueryDestination) GetListenAddr() isPreparedQueryDestination_ListenAddr

func (*PreparedQueryDestination) GetName

func (x *PreparedQueryDestination) GetName() string

func (*PreparedQueryDestination) GetTcp

func (*PreparedQueryDestination) GetUnix

func (*PreparedQueryDestination) MarshalBinary

func (msg *PreparedQueryDestination) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*PreparedQueryDestination) MarshalJSON

func (this *PreparedQueryDestination) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for PreparedQueryDestination

func (*PreparedQueryDestination) ProtoMessage

func (*PreparedQueryDestination) ProtoMessage()

func (*PreparedQueryDestination) ProtoReflect

func (x *PreparedQueryDestination) ProtoReflect() protoreflect.Message

func (*PreparedQueryDestination) Reset

func (x *PreparedQueryDestination) Reset()

func (*PreparedQueryDestination) String

func (x *PreparedQueryDestination) String() string

func (*PreparedQueryDestination) UnmarshalBinary

func (msg *PreparedQueryDestination) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*PreparedQueryDestination) UnmarshalJSON

func (this *PreparedQueryDestination) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for PreparedQueryDestination

type PreparedQueryDestination_Tcp

type PreparedQueryDestination_Tcp struct {
	Tcp *IPPortAddress `protobuf:"bytes,4,opt,name=tcp,proto3,oneof"`
}

type PreparedQueryDestination_Unix

type PreparedQueryDestination_Unix struct {
	Unix *UnixSocketAddress `protobuf:"bytes,5,opt,name=unix,proto3,oneof"`
}

type ProxyConfiguration

type ProxyConfiguration struct {

	// Selection of workloads this proxy configuration should apply to.
	// These can be prefixes or specific workload names.
	Workloads *v2beta1.WorkloadSelector `protobuf:"bytes,1,opt,name=workloads,proto3" json:"workloads,omitempty"`
	// dynamic_config is the configuration that could be changed
	// dynamically (i.e. without needing restart).
	DynamicConfig *DynamicConfig `protobuf:"bytes,2,opt,name=dynamic_config,json=dynamicConfig,proto3" json:"dynamic_config,omitempty"`
	// bootstrap_config is the configuration that requires proxies
	// to be restarted to be applied.
	BootstrapConfig *BootstrapConfig `protobuf:"bytes,3,opt,name=bootstrap_config,json=bootstrapConfig,proto3" json:"bootstrap_config,omitempty"`
	// deprecated: prevent usage when using v2 APIs directly.
	// needed for backwards compatibility
	//
	// +kubebuilder:validation:Type=object
	// +kubebuilder:validation:Schemaless
	// +kubebuilder:pruning:PreserveUnknownFields
	//
	// Deprecated: Marked as deprecated in pbmesh/v2beta1/proxy_configuration.proto.
	OpaqueConfig *structpb.Struct `protobuf:"bytes,4,opt,name=opaque_config,json=opaqueConfig,proto3" json:"opaque_config,omitempty"`
	// contains filtered or unexported fields
}

This is a Resource type.

func (*ProxyConfiguration) DeepCopy

func (in *ProxyConfiguration) DeepCopy() *ProxyConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyConfiguration. Required by controller-gen.

func (*ProxyConfiguration) DeepCopyInterface

func (in *ProxyConfiguration) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ProxyConfiguration. Required by controller-gen.

func (*ProxyConfiguration) DeepCopyInto

func (in *ProxyConfiguration) DeepCopyInto(out *ProxyConfiguration)

DeepCopyInto supports using ProxyConfiguration within kubernetes types, where deepcopy-gen is used.

func (*ProxyConfiguration) Descriptor deprecated

func (*ProxyConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use ProxyConfiguration.ProtoReflect.Descriptor instead.

func (*ProxyConfiguration) GetBootstrapConfig

func (x *ProxyConfiguration) GetBootstrapConfig() *BootstrapConfig

func (*ProxyConfiguration) GetDynamicConfig

func (x *ProxyConfiguration) GetDynamicConfig() *DynamicConfig

func (*ProxyConfiguration) GetOpaqueConfig deprecated

func (x *ProxyConfiguration) GetOpaqueConfig() *structpb.Struct

Deprecated: Marked as deprecated in pbmesh/v2beta1/proxy_configuration.proto.

func (*ProxyConfiguration) GetWorkloads

func (x *ProxyConfiguration) GetWorkloads() *v2beta1.WorkloadSelector

func (*ProxyConfiguration) IsTransparentProxy

func (p *ProxyConfiguration) IsTransparentProxy() bool

func (*ProxyConfiguration) MarshalBinary

func (msg *ProxyConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ProxyConfiguration) MarshalJSON

func (this *ProxyConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ProxyConfiguration

func (*ProxyConfiguration) ProtoMessage

func (*ProxyConfiguration) ProtoMessage()

func (*ProxyConfiguration) ProtoReflect

func (x *ProxyConfiguration) ProtoReflect() protoreflect.Message

func (*ProxyConfiguration) Reset

func (x *ProxyConfiguration) Reset()

func (*ProxyConfiguration) String

func (x *ProxyConfiguration) String() string

func (*ProxyConfiguration) UnmarshalBinary

func (msg *ProxyConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ProxyConfiguration) UnmarshalJSON

func (this *ProxyConfiguration) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ProxyConfiguration

type ProxyMode

type ProxyMode int32

+kubebuilder:validation:Enum=PROXY_MODE_DEFAULT;PROXY_MODE_TRANSPARENT;PROXY_MODE_DIRECT +kubebuilder:validation:Type=string

const (
	// ProxyModeDefault represents no specific mode and should
	// be used to indicate that a different layer of the configuration
	// chain should take precedence
	// buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
	ProxyMode_PROXY_MODE_DEFAULT ProxyMode = 0
	// ProxyModeTransparent represents that inbound and outbound application
	// traffic is being captured and redirected through the proxy.
	ProxyMode_PROXY_MODE_TRANSPARENT ProxyMode = 1
	// ProxyModeDirect represents that the proxy's listeners must be dialed directly
	// by the local application and other proxies.
	ProxyMode_PROXY_MODE_DIRECT ProxyMode = 2
)

func (ProxyMode) Descriptor

func (ProxyMode) Descriptor() protoreflect.EnumDescriptor

func (ProxyMode) Enum

func (x ProxyMode) Enum() *ProxyMode

func (ProxyMode) EnumDescriptor deprecated

func (ProxyMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProxyMode.Descriptor instead.

func (ProxyMode) Number

func (x ProxyMode) Number() protoreflect.EnumNumber

func (ProxyMode) String

func (x ProxyMode) String() string

func (ProxyMode) Type

type ProxyState

type ProxyState struct {

	// Identity is a reference to the identity of the workload this proxy is for.
	Identity *pbresource.Reference `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	// Listeners is a list of listeners for this proxy.
	Listeners []*pbproxystate.Listener `protobuf:"bytes,2,rep,name=listeners,proto3" json:"listeners,omitempty"`
	// Clusters is a map from cluster name to clusters. The keys are referenced from listeners or routes.
	Clusters map[string]*pbproxystate.Cluster `` /* 157-byte string literal not displayed */
	// Routes is a map from route name to routes. The keys are referenced from listeners.
	Routes map[string]*pbproxystate.Route `` /* 153-byte string literal not displayed */
	// Endpoints is a map from cluster name to endpoints.
	Endpoints map[string]*pbproxystate.Endpoints `` /* 159-byte string literal not displayed */
	// LeafCertificates is a map from UUID to leaf certificates.
	LeafCertificates map[string]*pbproxystate.LeafCertificate `` /* 197-byte string literal not displayed */
	// TrustBundles is a map from peer name to trust bundles.
	TrustBundles map[string]*pbproxystate.TrustBundle `` /* 185-byte string literal not displayed */
	// TLS has TLS configuration for this proxy.
	Tls *pbproxystate.TLS `protobuf:"bytes,8,opt,name=tls,proto3" json:"tls,omitempty"`
	// Escape defines top level escape hatches. These are user configured json strings that configure an entire piece of listener or cluster Envoy configuration.
	Escape *pbproxystate.EscapeHatches `protobuf:"bytes,9,opt,name=escape,proto3" json:"escape,omitempty"`
	// AccessLogs configures access logging for this proxy.
	AccessLogs *pbproxystate.AccessLogs `protobuf:"bytes,10,opt,name=access_logs,json=accessLogs,proto3" json:"access_logs,omitempty"`
	// contains filtered or unexported fields
}

func (*ProxyState) DeepCopy

func (in *ProxyState) DeepCopy() *ProxyState

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyState. Required by controller-gen.

func (*ProxyState) DeepCopyInterface

func (in *ProxyState) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ProxyState. Required by controller-gen.

func (*ProxyState) DeepCopyInto

func (in *ProxyState) DeepCopyInto(out *ProxyState)

DeepCopyInto supports using ProxyState within kubernetes types, where deepcopy-gen is used.

func (*ProxyState) Descriptor deprecated

func (*ProxyState) Descriptor() ([]byte, []int)

Deprecated: Use ProxyState.ProtoReflect.Descriptor instead.

func (*ProxyState) GetAccessLogs

func (x *ProxyState) GetAccessLogs() *pbproxystate.AccessLogs

func (*ProxyState) GetClusters

func (x *ProxyState) GetClusters() map[string]*pbproxystate.Cluster

func (*ProxyState) GetEndpoints

func (x *ProxyState) GetEndpoints() map[string]*pbproxystate.Endpoints

func (*ProxyState) GetEscape

func (x *ProxyState) GetEscape() *pbproxystate.EscapeHatches

func (*ProxyState) GetIdentity

func (x *ProxyState) GetIdentity() *pbresource.Reference

func (*ProxyState) GetLeafCertificates

func (x *ProxyState) GetLeafCertificates() map[string]*pbproxystate.LeafCertificate

func (*ProxyState) GetListeners

func (x *ProxyState) GetListeners() []*pbproxystate.Listener

func (*ProxyState) GetRoutes

func (x *ProxyState) GetRoutes() map[string]*pbproxystate.Route

func (*ProxyState) GetTls

func (x *ProxyState) GetTls() *pbproxystate.TLS

func (*ProxyState) GetTrustBundles

func (x *ProxyState) GetTrustBundles() map[string]*pbproxystate.TrustBundle

func (*ProxyState) MarshalBinary

func (msg *ProxyState) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ProxyState) MarshalJSON

func (this *ProxyState) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ProxyState

func (*ProxyState) ProtoMessage

func (*ProxyState) ProtoMessage()

func (*ProxyState) ProtoReflect

func (x *ProxyState) ProtoReflect() protoreflect.Message

func (*ProxyState) Reset

func (x *ProxyState) Reset()

func (*ProxyState) String

func (x *ProxyState) String() string

func (*ProxyState) UnmarshalBinary

func (msg *ProxyState) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ProxyState) UnmarshalJSON

func (this *ProxyState) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ProxyState

type ProxyStateTemplate

type ProxyStateTemplate struct {

	// ProxyState is the partially filled out ProxyState resource. The Endpoints, LeafCertificates and TrustBundles fields will need filling in after the resource is stored.
	ProxyState *ProxyState `protobuf:"bytes,1,opt,name=proxy_state,json=proxyState,proto3" json:"proxy_state,omitempty"`
	// RequiredEndpoints is a map of arbitrary string names to endpoint refs that need fetching by the proxy state controller.
	RequiredEndpoints map[string]*pbproxystate.EndpointRef `` /* 200-byte string literal not displayed */
	// RequiredLeafCertificates is a map of arbitrary string names to leaf certificates that need fetching/generation by the proxy state controller.
	RequiredLeafCertificates map[string]*pbproxystate.LeafCertificateRef `` /* 223-byte string literal not displayed */
	// RequiredTrustBundles is a map of arbitrary string names to trust bundle refs that need fetching by the proxy state controller.
	RequiredTrustBundles map[string]*pbproxystate.TrustBundleRef `` /* 211-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ProxyStateTemplate) DeepCopy

func (in *ProxyStateTemplate) DeepCopy() *ProxyStateTemplate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyStateTemplate. Required by controller-gen.

func (*ProxyStateTemplate) DeepCopyInterface

func (in *ProxyStateTemplate) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ProxyStateTemplate. Required by controller-gen.

func (*ProxyStateTemplate) DeepCopyInto

func (in *ProxyStateTemplate) DeepCopyInto(out *ProxyStateTemplate)

DeepCopyInto supports using ProxyStateTemplate within kubernetes types, where deepcopy-gen is used.

func (*ProxyStateTemplate) Descriptor deprecated

func (*ProxyStateTemplate) Descriptor() ([]byte, []int)

Deprecated: Use ProxyStateTemplate.ProtoReflect.Descriptor instead.

func (*ProxyStateTemplate) GetProxyState

func (x *ProxyStateTemplate) GetProxyState() *ProxyState

func (*ProxyStateTemplate) GetRequiredEndpoints

func (x *ProxyStateTemplate) GetRequiredEndpoints() map[string]*pbproxystate.EndpointRef

func (*ProxyStateTemplate) GetRequiredLeafCertificates

func (x *ProxyStateTemplate) GetRequiredLeafCertificates() map[string]*pbproxystate.LeafCertificateRef

func (*ProxyStateTemplate) GetRequiredTrustBundles

func (x *ProxyStateTemplate) GetRequiredTrustBundles() map[string]*pbproxystate.TrustBundleRef

func (*ProxyStateTemplate) MarshalBinary

func (msg *ProxyStateTemplate) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*ProxyStateTemplate) MarshalJSON

func (this *ProxyStateTemplate) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ProxyStateTemplate

func (*ProxyStateTemplate) ProtoMessage

func (*ProxyStateTemplate) ProtoMessage()

func (*ProxyStateTemplate) ProtoReflect

func (x *ProxyStateTemplate) ProtoReflect() protoreflect.Message

func (*ProxyStateTemplate) Reset

func (x *ProxyStateTemplate) Reset()

func (*ProxyStateTemplate) String

func (x *ProxyStateTemplate) String() string

func (*ProxyStateTemplate) UnmarshalBinary

func (msg *ProxyStateTemplate) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*ProxyStateTemplate) UnmarshalJSON

func (this *ProxyStateTemplate) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ProxyStateTemplate

type QueryParamMatchType

type QueryParamMatchType int32

+kubebuilder:validation:Enum=QUERY_PARAM_MATCH_TYPE_UNSPECIFIED;QUERY_PARAM_MATCH_TYPE_EXACT;QUERY_PARAM_MATCH_TYPE_REGEX;QUERY_PARAM_MATCH_TYPE_PRESENT +kubebuilder:validation:Type=string

const (
	QueryParamMatchType_QUERY_PARAM_MATCH_TYPE_UNSPECIFIED QueryParamMatchType = 0
	QueryParamMatchType_QUERY_PARAM_MATCH_TYPE_EXACT       QueryParamMatchType = 1
	QueryParamMatchType_QUERY_PARAM_MATCH_TYPE_REGEX       QueryParamMatchType = 2
	// consul only after this point (service-router compat)
	QueryParamMatchType_QUERY_PARAM_MATCH_TYPE_PRESENT QueryParamMatchType = 3
)

func (QueryParamMatchType) Descriptor

func (QueryParamMatchType) Enum

func (QueryParamMatchType) EnumDescriptor deprecated

func (QueryParamMatchType) EnumDescriptor() ([]byte, []int)

Deprecated: Use QueryParamMatchType.Descriptor instead.

func (QueryParamMatchType) Number

func (QueryParamMatchType) String

func (x QueryParamMatchType) String() string

func (QueryParamMatchType) Type

type RingHashConfig

type RingHashConfig struct {

	// MinimumRingSize determines the minimum number of entries in the hash ring
	MinimumRingSize uint64 `protobuf:"varint,1,opt,name=minimum_ring_size,json=minimumRingSize,proto3" json:"minimum_ring_size,omitempty"`
	// MaximumRingSize determines the maximum number of entries in the hash ring
	MaximumRingSize uint64 `protobuf:"varint,2,opt,name=maximum_ring_size,json=maximumRingSize,proto3" json:"maximum_ring_size,omitempty"`
	// contains filtered or unexported fields
}

RingHashConfig contains configuration for the "ring_hash" policy type

func (*RingHashConfig) DeepCopy

func (in *RingHashConfig) DeepCopy() *RingHashConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RingHashConfig. Required by controller-gen.

func (*RingHashConfig) DeepCopyInterface

func (in *RingHashConfig) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RingHashConfig. Required by controller-gen.

func (*RingHashConfig) DeepCopyInto

func (in *RingHashConfig) DeepCopyInto(out *RingHashConfig)

DeepCopyInto supports using RingHashConfig within kubernetes types, where deepcopy-gen is used.

func (*RingHashConfig) Descriptor deprecated

func (*RingHashConfig) Descriptor() ([]byte, []int)

Deprecated: Use RingHashConfig.ProtoReflect.Descriptor instead.

func (*RingHashConfig) GetMaximumRingSize

func (x *RingHashConfig) GetMaximumRingSize() uint64

func (*RingHashConfig) GetMinimumRingSize

func (x *RingHashConfig) GetMinimumRingSize() uint64

func (*RingHashConfig) MarshalBinary

func (msg *RingHashConfig) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*RingHashConfig) MarshalJSON

func (this *RingHashConfig) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for RingHashConfig

func (*RingHashConfig) ProtoMessage

func (*RingHashConfig) ProtoMessage()

func (*RingHashConfig) ProtoReflect

func (x *RingHashConfig) ProtoReflect() protoreflect.Message

func (*RingHashConfig) Reset

func (x *RingHashConfig) Reset()

func (*RingHashConfig) String

func (x *RingHashConfig) String() string

func (*RingHashConfig) UnmarshalBinary

func (msg *RingHashConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*RingHashConfig) UnmarshalJSON

func (this *RingHashConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for RingHashConfig

type TCPBackendRef

type TCPBackendRef struct {
	BackendRef *BackendReference `protobuf:"bytes,1,opt,name=backend_ref,json=backendRef,proto3" json:"backend_ref,omitempty"`
	// Weight specifies the proportion of requests forwarded to the referenced
	// backend. This is computed as weight/(sum of all weights in this
	// BackendRefs list). For non-zero values, there may be some epsilon from the
	// exact proportion defined here depending on the precision an implementation
	// supports. Weight is not a percentage and the sum of weights does not need
	// to equal 100.
	//
	// If only one backend is specified and it has a weight greater than 0, 100%
	// of the traffic is forwarded to that backend. If weight is set to 0, no
	// traffic should be forwarded for this entry. If unspecified, weight defaults
	// to 1.
	Weight uint32 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

func (*TCPBackendRef) DeepCopy

func (in *TCPBackendRef) DeepCopy() *TCPBackendRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPBackendRef. Required by controller-gen.

func (*TCPBackendRef) DeepCopyInterface

func (in *TCPBackendRef) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new TCPBackendRef. Required by controller-gen.

func (*TCPBackendRef) DeepCopyInto

func (in *TCPBackendRef) DeepCopyInto(out *TCPBackendRef)

DeepCopyInto supports using TCPBackendRef within kubernetes types, where deepcopy-gen is used.

func (*TCPBackendRef) Descriptor deprecated

func (*TCPBackendRef) Descriptor() ([]byte, []int)

Deprecated: Use TCPBackendRef.ProtoReflect.Descriptor instead.

func (*TCPBackendRef) GetBackendRef

func (x *TCPBackendRef) GetBackendRef() *BackendReference

func (*TCPBackendRef) GetWeight

func (x *TCPBackendRef) GetWeight() uint32

func (*TCPBackendRef) MarshalBinary

func (msg *TCPBackendRef) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*TCPBackendRef) MarshalJSON

func (this *TCPBackendRef) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for TCPBackendRef

func (*TCPBackendRef) ProtoMessage

func (*TCPBackendRef) ProtoMessage()

func (*TCPBackendRef) ProtoReflect

func (x *TCPBackendRef) ProtoReflect() protoreflect.Message

func (*TCPBackendRef) Reset

func (x *TCPBackendRef) Reset()

func (*TCPBackendRef) String

func (x *TCPBackendRef) String() string

func (*TCPBackendRef) UnmarshalBinary

func (msg *TCPBackendRef) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*TCPBackendRef) UnmarshalJSON

func (this *TCPBackendRef) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for TCPBackendRef

type TCPRoute

type TCPRoute struct {

	// ParentRefs references the resources (usually Services) that a Route wants
	// to be attached to.
	//
	// It is invalid to reference an identical parent more than once. It is valid
	// to reference multiple distinct sections within the same parent resource.
	ParentRefs []*ParentReference `protobuf:"bytes,1,rep,name=parent_refs,json=parentRefs,proto3" json:"parent_refs,omitempty"`
	// Rules are a list of TCP matchers and actions.
	Rules []*TCPRouteRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

NOTE: this should align to the GAMMA/gateway-api version, or at least be easily translatable.

https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io/v1alpha2.TCPRoute

This is a Resource type.

func (*TCPRoute) DeepCopy

func (in *TCPRoute) DeepCopy() *TCPRoute

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPRoute. Required by controller-gen.

func (*TCPRoute) DeepCopyInterface

func (in *TCPRoute) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new TCPRoute. Required by controller-gen.

func (*TCPRoute) DeepCopyInto

func (in *TCPRoute) DeepCopyInto(out *TCPRoute)

DeepCopyInto supports using TCPRoute within kubernetes types, where deepcopy-gen is used.

func (*TCPRoute) Descriptor deprecated

func (*TCPRoute) Descriptor() ([]byte, []int)

Deprecated: Use TCPRoute.ProtoReflect.Descriptor instead.

func (*TCPRoute) GetParentRefs

func (x *TCPRoute) GetParentRefs() []*ParentReference

func (*TCPRoute) GetRules

func (x *TCPRoute) GetRules() []*TCPRouteRule

func (*TCPRoute) GetUnderlyingBackendRefs

func (x *TCPRoute) GetUnderlyingBackendRefs() []*BackendReference

GetUnderlyingBackendRefs will collect BackendReferences from all rules and bundle them up in one slice, unwrapping the TCP-specifics in the process.

This implements an XRouteWithRefs interface in the internal/mesh package.

NOTE: no deduplication occurs.

func (*TCPRoute) MarshalBinary

func (msg *TCPRoute) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*TCPRoute) MarshalJSON

func (this *TCPRoute) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for TCPRoute

func (*TCPRoute) ProtoMessage

func (*TCPRoute) ProtoMessage()

func (*TCPRoute) ProtoReflect

func (x *TCPRoute) ProtoReflect() protoreflect.Message

func (*TCPRoute) Reset

func (x *TCPRoute) Reset()

func (*TCPRoute) String

func (x *TCPRoute) String() string

func (*TCPRoute) UnmarshalBinary

func (msg *TCPRoute) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*TCPRoute) UnmarshalJSON

func (this *TCPRoute) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for TCPRoute

type TCPRouteRule

type TCPRouteRule struct {

	// BackendRefs defines the backend(s) where matching requests should be sent.
	// If unspecified or invalid (refers to a non-existent resource or a Service
	// with no endpoints), the underlying implementation MUST actively reject
	// connection attempts to this backend. Connection rejections must respect
	// weight; if an invalid backend is requested to have 80% of connections,
	// then 80% of connections must be rejected instead.
	BackendRefs []*TCPBackendRef `protobuf:"bytes,1,rep,name=backend_refs,json=backendRefs,proto3" json:"backend_refs,omitempty"`
	// contains filtered or unexported fields
}

func (*TCPRouteRule) DeepCopy

func (in *TCPRouteRule) DeepCopy() *TCPRouteRule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPRouteRule. Required by controller-gen.

func (*TCPRouteRule) DeepCopyInterface

func (in *TCPRouteRule) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new TCPRouteRule. Required by controller-gen.

func (*TCPRouteRule) DeepCopyInto

func (in *TCPRouteRule) DeepCopyInto(out *TCPRouteRule)

DeepCopyInto supports using TCPRouteRule within kubernetes types, where deepcopy-gen is used.

func (*TCPRouteRule) Descriptor deprecated

func (*TCPRouteRule) Descriptor() ([]byte, []int)

Deprecated: Use TCPRouteRule.ProtoReflect.Descriptor instead.

func (*TCPRouteRule) GetBackendRefs

func (x *TCPRouteRule) GetBackendRefs() []*TCPBackendRef

func (*TCPRouteRule) MarshalBinary

func (msg *TCPRouteRule) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*TCPRouteRule) MarshalJSON

func (this *TCPRouteRule) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for TCPRouteRule

func (*TCPRouteRule) ProtoMessage

func (*TCPRouteRule) ProtoMessage()

func (*TCPRouteRule) ProtoReflect

func (x *TCPRouteRule) ProtoReflect() protoreflect.Message

func (*TCPRouteRule) Reset

func (x *TCPRouteRule) Reset()

func (*TCPRouteRule) String

func (x *TCPRouteRule) String() string

func (*TCPRouteRule) UnmarshalBinary

func (msg *TCPRouteRule) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*TCPRouteRule) UnmarshalJSON

func (this *TCPRouteRule) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for TCPRouteRule

type TransparentProxy

type TransparentProxy struct {

	// outbound_listener_port is the port for the proxy's outbound listener.
	// This defaults to 15001.
	OutboundListenerPort uint32 `protobuf:"varint,1,opt,name=outbound_listener_port,json=outboundListenerPort,proto3" json:"outbound_listener_port,omitempty"`
	// dialed_directly indicates whether this proxy should be dialed using original destination IP
	// in the connection rather than load balance between all endpoints.
	DialedDirectly bool `protobuf:"varint,2,opt,name=dialed_directly,json=dialedDirectly,proto3" json:"dialed_directly,omitempty"`
	// contains filtered or unexported fields
}

func (*TransparentProxy) DeepCopy

func (in *TransparentProxy) DeepCopy() *TransparentProxy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransparentProxy. Required by controller-gen.

func (*TransparentProxy) DeepCopyInterface

func (in *TransparentProxy) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new TransparentProxy. Required by controller-gen.

func (*TransparentProxy) DeepCopyInto

func (in *TransparentProxy) DeepCopyInto(out *TransparentProxy)

DeepCopyInto supports using TransparentProxy within kubernetes types, where deepcopy-gen is used.

func (*TransparentProxy) Descriptor deprecated

func (*TransparentProxy) Descriptor() ([]byte, []int)

Deprecated: Use TransparentProxy.ProtoReflect.Descriptor instead.

func (*TransparentProxy) GetDialedDirectly

func (x *TransparentProxy) GetDialedDirectly() bool

func (*TransparentProxy) GetOutboundListenerPort

func (x *TransparentProxy) GetOutboundListenerPort() uint32

func (*TransparentProxy) MarshalBinary

func (msg *TransparentProxy) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*TransparentProxy) MarshalJSON

func (this *TransparentProxy) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for TransparentProxy

func (*TransparentProxy) ProtoMessage

func (*TransparentProxy) ProtoMessage()

func (*TransparentProxy) ProtoReflect

func (x *TransparentProxy) ProtoReflect() protoreflect.Message

func (*TransparentProxy) Reset

func (x *TransparentProxy) Reset()

func (*TransparentProxy) String

func (x *TransparentProxy) String() string

func (*TransparentProxy) UnmarshalBinary

func (msg *TransparentProxy) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*TransparentProxy) UnmarshalJSON

func (this *TransparentProxy) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for TransparentProxy

type UnixSocketAddress

type UnixSocketAddress struct {

	// Path is the file system path at which to bind a Unix domain socket listener.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Mode is the Unix file mode for the socket file. It should be provided
	// in the numeric notation, for example, "0600".
	Mode string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*UnixSocketAddress) DeepCopy

func (in *UnixSocketAddress) DeepCopy() *UnixSocketAddress

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnixSocketAddress. Required by controller-gen.

func (*UnixSocketAddress) DeepCopyInterface

func (in *UnixSocketAddress) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new UnixSocketAddress. Required by controller-gen.

func (*UnixSocketAddress) DeepCopyInto

func (in *UnixSocketAddress) DeepCopyInto(out *UnixSocketAddress)

DeepCopyInto supports using UnixSocketAddress within kubernetes types, where deepcopy-gen is used.

func (*UnixSocketAddress) Descriptor deprecated

func (*UnixSocketAddress) Descriptor() ([]byte, []int)

Deprecated: Use UnixSocketAddress.ProtoReflect.Descriptor instead.

func (*UnixSocketAddress) GetMode

func (x *UnixSocketAddress) GetMode() string

func (*UnixSocketAddress) GetPath

func (x *UnixSocketAddress) GetPath() string

func (*UnixSocketAddress) MarshalBinary

func (msg *UnixSocketAddress) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*UnixSocketAddress) MarshalJSON

func (this *UnixSocketAddress) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for UnixSocketAddress

func (*UnixSocketAddress) ProtoMessage

func (*UnixSocketAddress) ProtoMessage()

func (*UnixSocketAddress) ProtoReflect

func (x *UnixSocketAddress) ProtoReflect() protoreflect.Message

func (*UnixSocketAddress) Reset

func (x *UnixSocketAddress) Reset()

func (*UnixSocketAddress) String

func (x *UnixSocketAddress) String() string

func (*UnixSocketAddress) UnmarshalBinary

func (msg *UnixSocketAddress) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*UnixSocketAddress) UnmarshalJSON

func (this *UnixSocketAddress) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for UnixSocketAddress

Source Files

Directories

Path Synopsis
Code generated by protoc-gen-deepcopy.
Code generated by protoc-gen-deepcopy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL