pbconfigentry

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Kind_name = map[int32]string{
		0:  "KindUnknown",
		1:  "KindMeshConfig",
		2:  "KindServiceResolver",
		3:  "KindIngressGateway",
		4:  "KindServiceIntentions",
		5:  "KindServiceDefaults",
		6:  "KindInlineCertificate",
		7:  "KindAPIGateway",
		8:  "KindBoundAPIGateway",
		9:  "KindHTTPRoute",
		10: "KindTCPRoute",
	}
	Kind_value = map[string]int32{
		"KindUnknown":           0,
		"KindMeshConfig":        1,
		"KindServiceResolver":   2,
		"KindIngressGateway":    3,
		"KindServiceIntentions": 4,
		"KindServiceDefaults":   5,
		"KindInlineCertificate": 6,
		"KindAPIGateway":        7,
		"KindBoundAPIGateway":   8,
		"KindHTTPRoute":         9,
		"KindTCPRoute":          10,
	}
)

Enum value maps for Kind.

View Source
var (
	IntentionAction_name = map[int32]string{
		0: "Deny",
		1: "Allow",
	}
	IntentionAction_value = map[string]int32{
		"Deny":  0,
		"Allow": 1,
	}
)

Enum value maps for IntentionAction.

View Source
var (
	IntentionSourceType_name = map[int32]string{
		0: "Consul",
	}
	IntentionSourceType_value = map[string]int32{
		"Consul": 0,
	}
)

Enum value maps for IntentionSourceType.

View Source
var (
	ProxyMode_name = map[int32]string{
		0: "ProxyModeDefault",
		1: "ProxyModeTransparent",
		2: "ProxyModeDirect",
	}
	ProxyMode_value = map[string]int32{
		"ProxyModeDefault":     0,
		"ProxyModeTransparent": 1,
		"ProxyModeDirect":      2,
	}
)

Enum value maps for ProxyMode.

View Source
var (
	MeshGatewayMode_name = map[int32]string{
		0: "MeshGatewayModeDefault",
		1: "MeshGatewayModeNone",
		2: "MeshGatewayModeLocal",
		3: "MeshGatewayModeRemote",
	}
	MeshGatewayMode_value = map[string]int32{
		"MeshGatewayModeDefault": 0,
		"MeshGatewayModeNone":    1,
		"MeshGatewayModeLocal":   2,
		"MeshGatewayModeRemote":  3,
	}
)

Enum value maps for MeshGatewayMode.

View Source
var (
	APIGatewayListenerProtocol_name = map[int32]string{
		0: "ListenerProtocolHTTP",
		1: "ListenerProtocolTCP",
	}
	APIGatewayListenerProtocol_value = map[string]int32{
		"ListenerProtocolHTTP": 0,
		"ListenerProtocolTCP":  1,
	}
)

Enum value maps for APIGatewayListenerProtocol.

View Source
var (
	HTTPMatchMethod_name = map[int32]string{
		0: "HTTPMatchMethodAll",
		1: "HTTPMatchMethodConnect",
		2: "HTTPMatchMethodDelete",
		3: "HTTPMatchMethodGet",
		4: "HTTPMatchMethodHead",
		5: "HTTPMatchMethodOptions",
		6: "HTTPMatchMethodPatch",
		7: "HTTPMatchMethodPost",
		8: "HTTPMatchMethodPut",
		9: "HTTPMatchMethodTrace",
	}
	HTTPMatchMethod_value = map[string]int32{
		"HTTPMatchMethodAll":     0,
		"HTTPMatchMethodConnect": 1,
		"HTTPMatchMethodDelete":  2,
		"HTTPMatchMethodGet":     3,
		"HTTPMatchMethodHead":    4,
		"HTTPMatchMethodOptions": 5,
		"HTTPMatchMethodPatch":   6,
		"HTTPMatchMethodPost":    7,
		"HTTPMatchMethodPut":     8,
		"HTTPMatchMethodTrace":   9,
	}
)

Enum value maps for HTTPMatchMethod.

View Source
var (
	HTTPHeaderMatchType_name = map[int32]string{
		0: "HTTPHeaderMatchExact",
		1: "HTTPHeaderMatchPrefix",
		2: "HTTPHeaderMatchPresent",
		3: "HTTPHeaderMatchRegularExpression",
		4: "HTTPHeaderMatchSuffix",
	}
	HTTPHeaderMatchType_value = map[string]int32{
		"HTTPHeaderMatchExact":             0,
		"HTTPHeaderMatchPrefix":            1,
		"HTTPHeaderMatchPresent":           2,
		"HTTPHeaderMatchRegularExpression": 3,
		"HTTPHeaderMatchSuffix":            4,
	}
)

Enum value maps for HTTPHeaderMatchType.

View Source
var (
	HTTPPathMatchType_name = map[int32]string{
		0: "HTTPPathMatchExact",
		1: "HTTPPathMatchPrefix",
		3: "HTTPPathMatchRegularExpression",
	}
	HTTPPathMatchType_value = map[string]int32{
		"HTTPPathMatchExact":             0,
		"HTTPPathMatchPrefix":            1,
		"HTTPPathMatchRegularExpression": 3,
	}
)

Enum value maps for HTTPPathMatchType.

View Source
var (
	HTTPQueryMatchType_name = map[int32]string{
		0: "HTTPQueryMatchExact",
		1: "HTTPQueryMatchPresent",
		3: "HTTPQueryMatchRegularExpression",
	}
	HTTPQueryMatchType_value = map[string]int32{
		"HTTPQueryMatchExact":             0,
		"HTTPQueryMatchPresent":           1,
		"HTTPQueryMatchRegularExpression": 3,
	}
)

Enum value maps for HTTPQueryMatchType.

View Source
var EnvoyExtensionsFromStructs = pbcommon.EnvoyExtensionsFromStructs
View Source
var EnvoyExtensionsToStructs = pbcommon.EnvoyExtensionsToStructs

Function variables to support proto generation This allows for using functions in the local package without having to generate imports

View Source
var File_proto_pbconfigentry_config_entry_proto protoreflect.FileDescriptor

Functions

func APIGatewayFromStructs added in v1.15.0

func APIGatewayFromStructs(t *structs.APIGatewayConfigEntry, s *APIGateway)

func APIGatewayListenerFromStructs added in v1.15.0

func APIGatewayListenerFromStructs(t *structs.APIGatewayListener, s *APIGatewayListener)

func APIGatewayListenerToStructs added in v1.15.0

func APIGatewayListenerToStructs(s *APIGatewayListener, t *structs.APIGatewayListener)

func APIGatewayTLSConfigurationFromStructs added in v1.15.0

func APIGatewayTLSConfigurationFromStructs(t *structs.APIGatewayTLSConfiguration, s *APIGatewayTLSConfiguration)

func APIGatewayTLSConfigurationToStructs added in v1.15.0

func APIGatewayTLSConfigurationToStructs(s *APIGatewayTLSConfiguration, t *structs.APIGatewayTLSConfiguration)

func APIGatewayToStructs added in v1.15.0

func APIGatewayToStructs(s *APIGateway, t *structs.APIGatewayConfigEntry)

func BoundAPIGatewayFromStructs added in v1.15.0

func BoundAPIGatewayFromStructs(t *structs.BoundAPIGatewayConfigEntry, s *BoundAPIGateway)

func BoundAPIGatewayListenerFromStructs added in v1.15.0

func BoundAPIGatewayListenerFromStructs(t *structs.BoundAPIGatewayListener, s *BoundAPIGatewayListener)

func BoundAPIGatewayListenerToStructs added in v1.15.0

func BoundAPIGatewayListenerToStructs(s *BoundAPIGatewayListener, t *structs.BoundAPIGatewayListener)

func BoundAPIGatewayToStructs added in v1.15.0

func BoundAPIGatewayToStructs(s *BoundAPIGateway, t *structs.BoundAPIGatewayConfigEntry)

func ConditionFromStructs added in v1.15.0

func ConditionFromStructs(t *structs.Condition, s *Condition)

func ConditionToStructs added in v1.15.0

func ConditionToStructs(s *Condition, t *structs.Condition)

func ConfigEntryToStructs

func ConfigEntryToStructs(s *ConfigEntry) structs.ConfigEntry

func CookieConfigFromStructs

func CookieConfigFromStructs(t *structs.CookieConfig, s *CookieConfig)

func CookieConfigToStructs

func CookieConfigToStructs(s *CookieConfig, t *structs.CookieConfig)

func DestinationConfigFromStructs added in v1.14.0

func DestinationConfigFromStructs(t *structs.DestinationConfig, s *DestinationConfig)

func DestinationConfigToStructs added in v1.14.0

func DestinationConfigToStructs(s *DestinationConfig, t *structs.DestinationConfig)

func ExposeConfigFromStructs added in v1.14.0

func ExposeConfigFromStructs(t *structs.ExposeConfig, s *ExposeConfig)

func ExposeConfigToStructs added in v1.14.0

func ExposeConfigToStructs(s *ExposeConfig, t *structs.ExposeConfig)

func ExposePathFromStructs added in v1.14.0

func ExposePathFromStructs(t *structs.ExposePath, s *ExposePath)

func ExposePathToStructs added in v1.14.0

func ExposePathToStructs(s *ExposePath, t *structs.ExposePath)

func GatewayTLSConfigFromStructs

func GatewayTLSConfigFromStructs(t *structs.GatewayTLSConfig, s *GatewayTLSConfig)

func GatewayTLSConfigToStructs

func GatewayTLSConfigToStructs(s *GatewayTLSConfig, t *structs.GatewayTLSConfig)

func GatewayTLSSDSConfigFromStructs

func GatewayTLSSDSConfigFromStructs(t *structs.GatewayTLSSDSConfig, s *GatewayTLSSDSConfig)

func GatewayTLSSDSConfigToStructs

func GatewayTLSSDSConfigToStructs(s *GatewayTLSSDSConfig, t *structs.GatewayTLSSDSConfig)

func HTTPFiltersFromStructs added in v1.15.0

func HTTPFiltersFromStructs(t *structs.HTTPFilters, s *HTTPFilters)

func HTTPFiltersToStructs added in v1.15.0

func HTTPFiltersToStructs(s *HTTPFilters, t *structs.HTTPFilters)

func HTTPHeaderFilterFromStructs added in v1.15.0

func HTTPHeaderFilterFromStructs(t *structs.HTTPHeaderFilter, s *HTTPHeaderFilter)

func HTTPHeaderFilterToStructs added in v1.15.0

func HTTPHeaderFilterToStructs(s *HTTPHeaderFilter, t *structs.HTTPHeaderFilter)

func HTTPHeaderMatchFromStructs added in v1.15.0

func HTTPHeaderMatchFromStructs(t *structs.HTTPHeaderMatch, s *HTTPHeaderMatch)

func HTTPHeaderMatchToStructs added in v1.15.0

func HTTPHeaderMatchToStructs(s *HTTPHeaderMatch, t *structs.HTTPHeaderMatch)

func HTTPHeaderModifiersFromStructs

func HTTPHeaderModifiersFromStructs(t *structs.HTTPHeaderModifiers, s *HTTPHeaderModifiers)

func HTTPHeaderModifiersToStructs

func HTTPHeaderModifiersToStructs(s *HTTPHeaderModifiers, t *structs.HTTPHeaderModifiers)

func HTTPMatchFromStructs added in v1.15.0

func HTTPMatchFromStructs(t *structs.HTTPMatch, s *HTTPMatch)

func HTTPMatchToStructs added in v1.15.0

func HTTPMatchToStructs(s *HTTPMatch, t *structs.HTTPMatch)

func HTTPPathMatchFromStructs added in v1.15.0

func HTTPPathMatchFromStructs(t *structs.HTTPPathMatch, s *HTTPPathMatch)

func HTTPPathMatchToStructs added in v1.15.0

func HTTPPathMatchToStructs(s *HTTPPathMatch, t *structs.HTTPPathMatch)

func HTTPQueryMatchFromStructs added in v1.15.0

func HTTPQueryMatchFromStructs(t *structs.HTTPQueryMatch, s *HTTPQueryMatch)

func HTTPQueryMatchToStructs added in v1.15.0

func HTTPQueryMatchToStructs(s *HTTPQueryMatch, t *structs.HTTPQueryMatch)

func HTTPRouteFromStructs added in v1.15.0

func HTTPRouteFromStructs(t *structs.HTTPRouteConfigEntry, s *HTTPRoute)

func HTTPRouteRuleFromStructs added in v1.15.0

func HTTPRouteRuleFromStructs(t *structs.HTTPRouteRule, s *HTTPRouteRule)

func HTTPRouteRuleToStructs added in v1.15.0

func HTTPRouteRuleToStructs(s *HTTPRouteRule, t *structs.HTTPRouteRule)

func HTTPRouteToStructs added in v1.15.0

func HTTPRouteToStructs(s *HTTPRoute, t *structs.HTTPRouteConfigEntry)

func HTTPServiceFromStructs added in v1.15.0

func HTTPServiceFromStructs(t *structs.HTTPService, s *HTTPService)

func HTTPServiceToStructs added in v1.15.0

func HTTPServiceToStructs(s *HTTPService, t *structs.HTTPService)

func HashPolicyFromStructs

func HashPolicyFromStructs(t *structs.HashPolicy, s *HashPolicy)

func HashPolicyToStructs

func HashPolicyToStructs(s *HashPolicy, t *structs.HashPolicy)

func IngressGatewayFromStructs

func IngressGatewayFromStructs(t *structs.IngressGatewayConfigEntry, s *IngressGateway)

func IngressGatewayToStructs

func IngressGatewayToStructs(s *IngressGateway, t *structs.IngressGatewayConfigEntry)

func IngressListenerFromStructs

func IngressListenerFromStructs(t *structs.IngressListener, s *IngressListener)

func IngressListenerToStructs

func IngressListenerToStructs(s *IngressListener, t *structs.IngressListener)

func IngressServiceConfigFromStructs added in v1.13.3

func IngressServiceConfigFromStructs(t *structs.IngressServiceConfig, s *IngressServiceConfig)

func IngressServiceConfigToStructs added in v1.13.3

func IngressServiceConfigToStructs(s *IngressServiceConfig, t *structs.IngressServiceConfig)

func IngressServiceFromStructs

func IngressServiceFromStructs(t *structs.IngressService, s *IngressService)

func IngressServiceToStructs

func IngressServiceToStructs(s *IngressService, t *structs.IngressService)

func InlineCertificateFromStructs added in v1.15.0

func InlineCertificateFromStructs(t *structs.InlineCertificateConfigEntry, s *InlineCertificate)

func InlineCertificateToStructs added in v1.15.0

func InlineCertificateToStructs(s *InlineCertificate, t *structs.InlineCertificateConfigEntry)

func IntentionPermissionFromStructs

func IntentionPermissionFromStructs(t *structs.IntentionPermission, s *IntentionPermission)

func IntentionPermissionToStructs

func IntentionPermissionToStructs(s *IntentionPermission, t *structs.IntentionPermission)

func LeastRequestConfigFromStructs

func LeastRequestConfigFromStructs(t *structs.LeastRequestConfig, s *LeastRequestConfig)

func LeastRequestConfigToStructs

func LeastRequestConfigToStructs(s *LeastRequestConfig, t *structs.LeastRequestConfig)

func LoadBalancerFromStructs

func LoadBalancerFromStructs(t *structs.LoadBalancer, s *LoadBalancer)

func LoadBalancerToStructs

func LoadBalancerToStructs(s *LoadBalancer, t *structs.LoadBalancer)

func MeshConfigFromStructs

func MeshConfigFromStructs(t *structs.MeshConfigEntry, s *MeshConfig)

func MeshConfigToStructs

func MeshConfigToStructs(s *MeshConfig, t *structs.MeshConfigEntry)

func MeshGatewayConfigFromStructs added in v1.14.0

func MeshGatewayConfigFromStructs(t *structs.MeshGatewayConfig, s *MeshGatewayConfig)

func MeshGatewayConfigToStructs added in v1.14.0

func MeshGatewayConfigToStructs(s *MeshGatewayConfig, t *structs.MeshGatewayConfig)

func MeshHTTPConfigFromStructs

func MeshHTTPConfigFromStructs(t *structs.MeshHTTPConfig, s *MeshHTTPConfig)

func MeshHTTPConfigToStructs

func MeshHTTPConfigToStructs(s *MeshHTTPConfig, t *structs.MeshHTTPConfig)

func MeshTLSConfigFromStructs

func MeshTLSConfigFromStructs(t *structs.MeshTLSConfig, s *MeshTLSConfig)

func MeshTLSConfigToStructs

func MeshTLSConfigToStructs(s *MeshTLSConfig, t *structs.MeshTLSConfig)

func PassiveHealthCheckFromStructs added in v1.14.0

func PassiveHealthCheckFromStructs(t *structs.PassiveHealthCheck, s *PassiveHealthCheck)

func PassiveHealthCheckToStructs added in v1.14.0

func PassiveHealthCheckToStructs(s *PassiveHealthCheck, t *structs.PassiveHealthCheck)

func PeeringMeshConfigFromStructs added in v1.14.0

func PeeringMeshConfigFromStructs(t *structs.PeeringMeshConfig, s *PeeringMeshConfig)

func PeeringMeshConfigToStructs added in v1.14.0

func PeeringMeshConfigToStructs(s *PeeringMeshConfig, t *structs.PeeringMeshConfig)

func ResourceReferenceFromStructs added in v1.15.0

func ResourceReferenceFromStructs(t *structs.ResourceReference, s *ResourceReference)

func ResourceReferenceToStructs added in v1.15.0

func ResourceReferenceToStructs(s *ResourceReference, t *structs.ResourceReference)

func RingHashConfigFromStructs

func RingHashConfigFromStructs(t *structs.RingHashConfig, s *RingHashConfig)

func RingHashConfigToStructs

func RingHashConfigToStructs(s *RingHashConfig, t *structs.RingHashConfig)

func ServiceDefaultsFromStructs added in v1.14.0

func ServiceDefaultsFromStructs(t *structs.ServiceConfigEntry, s *ServiceDefaults)

func ServiceDefaultsToStructs added in v1.14.0

func ServiceDefaultsToStructs(s *ServiceDefaults, t *structs.ServiceConfigEntry)

func ServiceResolverFailoverTargetFromStructs added in v1.14.0

func ServiceResolverFailoverTargetFromStructs(t *structs.ServiceResolverFailoverTarget, s *ServiceResolverFailoverTarget)

func ServiceResolverFailoverTargetToStructs added in v1.14.0

func ServiceResolverFailoverTargetToStructs(s *ServiceResolverFailoverTarget, t *structs.ServiceResolverFailoverTarget)

func ServiceResolverFromStructs

func ServiceResolverFromStructs(t *structs.ServiceResolverConfigEntry, s *ServiceResolver)

func ServiceResolverSubsetFromStructs

func ServiceResolverSubsetFromStructs(t *structs.ServiceResolverSubset, s *ServiceResolverSubset)

func ServiceResolverSubsetToStructs

func ServiceResolverSubsetToStructs(s *ServiceResolverSubset, t *structs.ServiceResolverSubset)

func SourceIntentionFromStructs

func SourceIntentionFromStructs(t *structs.SourceIntention, s *SourceIntention)

func SourceIntentionToStructs

func SourceIntentionToStructs(s *SourceIntention, t *structs.SourceIntention)

func StatusFromStructs added in v1.15.0

func StatusFromStructs(t *structs.Status, s *Status)

func StatusToStructs added in v1.15.0

func StatusToStructs(s *Status, t *structs.Status)

func TCPRouteFromStructs added in v1.15.0

func TCPRouteFromStructs(t *structs.TCPRouteConfigEntry, s *TCPRoute)

func TCPRouteToStructs added in v1.15.0

func TCPRouteToStructs(s *TCPRoute, t *structs.TCPRouteConfigEntry)

func TCPServiceFromStructs added in v1.15.0

func TCPServiceFromStructs(t *structs.TCPService, s *TCPService)

func TCPServiceToStructs added in v1.15.0

func TCPServiceToStructs(s *TCPService, t *structs.TCPService)

func TransparentProxyConfigFromStructs added in v1.14.0

func TransparentProxyConfigFromStructs(t *structs.TransparentProxyConfig, s *TransparentProxyConfig)

func TransparentProxyConfigToStructs added in v1.14.0

func TransparentProxyConfigToStructs(s *TransparentProxyConfig, t *structs.TransparentProxyConfig)

func URLRewriteFromStructs added in v1.15.0

func URLRewriteFromStructs(t *structs.URLRewrite, s *URLRewrite)

func URLRewriteToStructs added in v1.15.0

func URLRewriteToStructs(s *URLRewrite, t *structs.URLRewrite)

func UpstreamConfigFromStructs added in v1.14.0

func UpstreamConfigFromStructs(t *structs.UpstreamConfig, s *UpstreamConfig)

func UpstreamConfigToStructs added in v1.14.0

func UpstreamConfigToStructs(s *UpstreamConfig, t *structs.UpstreamConfig)

func UpstreamConfigurationFromStructs added in v1.14.0

func UpstreamConfigurationFromStructs(t *structs.UpstreamConfiguration, s *UpstreamConfiguration)

func UpstreamConfigurationToStructs added in v1.14.0

func UpstreamConfigurationToStructs(s *UpstreamConfiguration, t *structs.UpstreamConfiguration)

func UpstreamLimitsFromStructs added in v1.14.0

func UpstreamLimitsFromStructs(t *structs.UpstreamLimits, s *UpstreamLimits)

func UpstreamLimitsToStructs added in v1.14.0

func UpstreamLimitsToStructs(s *UpstreamLimits, t *structs.UpstreamLimits)

Types

type APIGateway added in v1.15.0

type APIGateway struct {
	Meta      map[string]string     `` /* 149-byte string literal not displayed */
	Listeners []*APIGatewayListener `protobuf:"bytes,2,rep,name=Listeners,proto3" json:"Listeners,omitempty"`
	Status    *Status               `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.APIGatewayConfigEntry output=config_entry.gen.go name=Structs ignore-fields=Kind,Name,RaftIndex,EnterpriseMeta

func (*APIGateway) Descriptor deprecated added in v1.15.0

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

Deprecated: Use APIGateway.ProtoReflect.Descriptor instead.

func (*APIGateway) GetListeners added in v1.15.0

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

func (*APIGateway) GetMeta added in v1.15.0

func (x *APIGateway) GetMeta() map[string]string

func (*APIGateway) GetStatus added in v1.15.0

func (x *APIGateway) GetStatus() *Status

func (*APIGateway) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*APIGateway) ProtoMessage added in v1.15.0

func (*APIGateway) ProtoMessage()

func (*APIGateway) ProtoReflect added in v1.15.0

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

func (*APIGateway) Reset added in v1.15.0

func (x *APIGateway) Reset()

func (*APIGateway) String added in v1.15.0

func (x *APIGateway) String() string

func (*APIGateway) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type APIGatewayListener added in v1.15.0

type APIGatewayListener struct {
	Name     string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Hostname string `protobuf:"bytes,2,opt,name=Hostname,proto3" json:"Hostname,omitempty"`
	// mog: func-to=int func-from=int32
	Port int32 `protobuf:"varint,3,opt,name=Port,proto3" json:"Port,omitempty"`
	// mog: func-to=apiGatewayProtocolToStructs func-from=apiGatewayProtocolFromStructs
	Protocol APIGatewayListenerProtocol  `` /* 140-byte string literal not displayed */
	TLS      *APIGatewayTLSConfiguration `protobuf:"bytes,5,opt,name=TLS,proto3" json:"TLS,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.APIGatewayListener output=config_entry.gen.go name=Structs

func (*APIGatewayListener) Descriptor deprecated added in v1.15.0

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

Deprecated: Use APIGatewayListener.ProtoReflect.Descriptor instead.

func (*APIGatewayListener) GetHostname added in v1.15.0

func (x *APIGatewayListener) GetHostname() string

func (*APIGatewayListener) GetName added in v1.15.0

func (x *APIGatewayListener) GetName() string

func (*APIGatewayListener) GetPort added in v1.15.0

func (x *APIGatewayListener) GetPort() int32

func (*APIGatewayListener) GetProtocol added in v1.15.0

func (*APIGatewayListener) GetTLS added in v1.15.0

func (*APIGatewayListener) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*APIGatewayListener) ProtoMessage added in v1.15.0

func (*APIGatewayListener) ProtoMessage()

func (*APIGatewayListener) ProtoReflect added in v1.15.0

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

func (*APIGatewayListener) Reset added in v1.15.0

func (x *APIGatewayListener) Reset()

func (*APIGatewayListener) String added in v1.15.0

func (x *APIGatewayListener) String() string

func (*APIGatewayListener) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type APIGatewayListenerProtocol added in v1.15.0

type APIGatewayListenerProtocol int32
const (
	APIGatewayListenerProtocol_ListenerProtocolHTTP APIGatewayListenerProtocol = 0
	APIGatewayListenerProtocol_ListenerProtocolTCP  APIGatewayListenerProtocol = 1
)

func (APIGatewayListenerProtocol) Descriptor added in v1.15.0

func (APIGatewayListenerProtocol) Enum added in v1.15.0

func (APIGatewayListenerProtocol) EnumDescriptor deprecated added in v1.15.0

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

Deprecated: Use APIGatewayListenerProtocol.Descriptor instead.

func (APIGatewayListenerProtocol) Number added in v1.15.0

func (APIGatewayListenerProtocol) String added in v1.15.0

func (APIGatewayListenerProtocol) Type added in v1.15.0

type APIGatewayTLSConfiguration added in v1.15.0

type APIGatewayTLSConfiguration struct {
	Certificates []*ResourceReference `protobuf:"bytes,1,rep,name=Certificates,proto3" json:"Certificates,omitempty"`
	// mog: func-from=tlsVersionFromStructs func-to=tlsVersionToStructs
	MinVersion string `protobuf:"bytes,2,opt,name=MinVersion,proto3" json:"MinVersion,omitempty"`
	// mog: func-from=tlsVersionFromStructs func-to=tlsVersionToStructs
	MaxVersion string `protobuf:"bytes,3,opt,name=MaxVersion,proto3" json:"MaxVersion,omitempty"`
	// mog: func-from=cipherSuitesFromStructs func-to=cipherSuitesToStructs
	CipherSuites []string `protobuf:"bytes,4,rep,name=CipherSuites,proto3" json:"CipherSuites,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.APIGatewayTLSConfiguration output=config_entry.gen.go name=Structs

func (*APIGatewayTLSConfiguration) Descriptor deprecated added in v1.15.0

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

Deprecated: Use APIGatewayTLSConfiguration.ProtoReflect.Descriptor instead.

func (*APIGatewayTLSConfiguration) GetCertificates added in v1.15.0

func (x *APIGatewayTLSConfiguration) GetCertificates() []*ResourceReference

func (*APIGatewayTLSConfiguration) GetCipherSuites added in v1.15.0

func (x *APIGatewayTLSConfiguration) GetCipherSuites() []string

func (*APIGatewayTLSConfiguration) GetMaxVersion added in v1.15.0

func (x *APIGatewayTLSConfiguration) GetMaxVersion() string

func (*APIGatewayTLSConfiguration) GetMinVersion added in v1.15.0

func (x *APIGatewayTLSConfiguration) GetMinVersion() string

func (*APIGatewayTLSConfiguration) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*APIGatewayTLSConfiguration) ProtoMessage added in v1.15.0

func (*APIGatewayTLSConfiguration) ProtoMessage()

func (*APIGatewayTLSConfiguration) ProtoReflect added in v1.15.0

func (*APIGatewayTLSConfiguration) Reset added in v1.15.0

func (x *APIGatewayTLSConfiguration) Reset()

func (*APIGatewayTLSConfiguration) String added in v1.15.0

func (x *APIGatewayTLSConfiguration) String() string

func (*APIGatewayTLSConfiguration) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type BoundAPIGateway added in v1.15.0

type BoundAPIGateway struct {
	Meta      map[string]string          `` /* 149-byte string literal not displayed */
	Listeners []*BoundAPIGatewayListener `protobuf:"bytes,2,rep,name=Listeners,proto3" json:"Listeners,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.BoundAPIGatewayConfigEntry output=config_entry.gen.go name=Structs ignore-fields=Kind,Name,RaftIndex,EnterpriseMeta

func (*BoundAPIGateway) Descriptor deprecated added in v1.15.0

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

Deprecated: Use BoundAPIGateway.ProtoReflect.Descriptor instead.

func (*BoundAPIGateway) GetListeners added in v1.15.0

func (x *BoundAPIGateway) GetListeners() []*BoundAPIGatewayListener

func (*BoundAPIGateway) GetMeta added in v1.15.0

func (x *BoundAPIGateway) GetMeta() map[string]string

func (*BoundAPIGateway) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*BoundAPIGateway) ProtoMessage added in v1.15.0

func (*BoundAPIGateway) ProtoMessage()

func (*BoundAPIGateway) ProtoReflect added in v1.15.0

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

func (*BoundAPIGateway) Reset added in v1.15.0

func (x *BoundAPIGateway) Reset()

func (*BoundAPIGateway) String added in v1.15.0

func (x *BoundAPIGateway) String() string

func (*BoundAPIGateway) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type BoundAPIGatewayListener added in v1.15.0

type BoundAPIGatewayListener struct {
	Name         string               `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Certificates []*ResourceReference `protobuf:"bytes,2,rep,name=Certificates,proto3" json:"Certificates,omitempty"`
	Routes       []*ResourceReference `protobuf:"bytes,3,rep,name=Routes,proto3" json:"Routes,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.BoundAPIGatewayListener output=config_entry.gen.go name=Structs

func (*BoundAPIGatewayListener) Descriptor deprecated added in v1.15.0

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

Deprecated: Use BoundAPIGatewayListener.ProtoReflect.Descriptor instead.

func (*BoundAPIGatewayListener) GetCertificates added in v1.15.0

func (x *BoundAPIGatewayListener) GetCertificates() []*ResourceReference

func (*BoundAPIGatewayListener) GetName added in v1.15.0

func (x *BoundAPIGatewayListener) GetName() string

func (*BoundAPIGatewayListener) GetRoutes added in v1.15.0

func (x *BoundAPIGatewayListener) GetRoutes() []*ResourceReference

func (*BoundAPIGatewayListener) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*BoundAPIGatewayListener) ProtoMessage added in v1.15.0

func (*BoundAPIGatewayListener) ProtoMessage()

func (*BoundAPIGatewayListener) ProtoReflect added in v1.15.0

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

func (*BoundAPIGatewayListener) Reset added in v1.15.0

func (x *BoundAPIGatewayListener) Reset()

func (*BoundAPIGatewayListener) String added in v1.15.0

func (x *BoundAPIGatewayListener) String() string

func (*BoundAPIGatewayListener) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type Condition added in v1.15.0

type Condition struct {
	Type     string             `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"`
	Status   string             `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"`
	Reason   string             `protobuf:"bytes,3,opt,name=Reason,proto3" json:"Reason,omitempty"`
	Message  string             `protobuf:"bytes,4,opt,name=Message,proto3" json:"Message,omitempty"`
	Resource *ResourceReference `protobuf:"bytes,5,opt,name=Resource,proto3" json:"Resource,omitempty"`
	// mog: func-to=timeToStructs func-from=timeFromStructs
	LastTransitionTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=LastTransitionTime,proto3" json:"LastTransitionTime,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.Condition output=config_entry.gen.go name=Structs

func (*Condition) Descriptor deprecated added in v1.15.0

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

Deprecated: Use Condition.ProtoReflect.Descriptor instead.

func (*Condition) GetLastTransitionTime added in v1.15.0

func (x *Condition) GetLastTransitionTime() *timestamppb.Timestamp

func (*Condition) GetMessage added in v1.15.0

func (x *Condition) GetMessage() string

func (*Condition) GetReason added in v1.15.0

func (x *Condition) GetReason() string

func (*Condition) GetResource added in v1.15.0

func (x *Condition) GetResource() *ResourceReference

func (*Condition) GetStatus added in v1.15.0

func (x *Condition) GetStatus() string

func (*Condition) GetType added in v1.15.0

func (x *Condition) GetType() string

func (*Condition) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*Condition) ProtoMessage added in v1.15.0

func (*Condition) ProtoMessage()

func (*Condition) ProtoReflect added in v1.15.0

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

func (*Condition) Reset added in v1.15.0

func (x *Condition) Reset()

func (*Condition) String added in v1.15.0

func (x *Condition) String() string

func (*Condition) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type ConfigEntry

type ConfigEntry struct {
	Kind           Kind                     `protobuf:"varint,1,opt,name=Kind,proto3,enum=hashicorp.consul.internal.configentry.Kind" json:"Kind,omitempty"`
	Name           string                   `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	EnterpriseMeta *pbcommon.EnterpriseMeta `protobuf:"bytes,3,opt,name=EnterpriseMeta,proto3" json:"EnterpriseMeta,omitempty"`
	RaftIndex      *pbcommon.RaftIndex      `protobuf:"bytes,4,opt,name=RaftIndex,proto3" json:"RaftIndex,omitempty"`
	// Types that are assignable to Entry:
	//
	//	*ConfigEntry_MeshConfig
	//	*ConfigEntry_ServiceResolver
	//	*ConfigEntry_IngressGateway
	//	*ConfigEntry_ServiceIntentions
	//	*ConfigEntry_ServiceDefaults
	//	*ConfigEntry_APIGateway
	//	*ConfigEntry_BoundAPIGateway
	//	*ConfigEntry_TCPRoute
	//	*ConfigEntry_HTTPRoute
	//	*ConfigEntry_InlineCertificate
	Entry isConfigEntry_Entry `protobuf_oneof:"Entry"`
	// contains filtered or unexported fields
}

func ConfigEntryFromStructs

func ConfigEntryFromStructs(s structs.ConfigEntry) *ConfigEntry

func (*ConfigEntry) Descriptor deprecated

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

Deprecated: Use ConfigEntry.ProtoReflect.Descriptor instead.

func (*ConfigEntry) GetAPIGateway added in v1.15.0

func (x *ConfigEntry) GetAPIGateway() *APIGateway

func (*ConfigEntry) GetBoundAPIGateway added in v1.15.0

func (x *ConfigEntry) GetBoundAPIGateway() *BoundAPIGateway

func (*ConfigEntry) GetEnterpriseMeta

func (x *ConfigEntry) GetEnterpriseMeta() *pbcommon.EnterpriseMeta

func (*ConfigEntry) GetEntry

func (m *ConfigEntry) GetEntry() isConfigEntry_Entry

func (*ConfigEntry) GetHTTPRoute added in v1.15.0

func (x *ConfigEntry) GetHTTPRoute() *HTTPRoute

func (*ConfigEntry) GetIngressGateway

func (x *ConfigEntry) GetIngressGateway() *IngressGateway

func (*ConfigEntry) GetInlineCertificate added in v1.15.0

func (x *ConfigEntry) GetInlineCertificate() *InlineCertificate

func (*ConfigEntry) GetKind

func (x *ConfigEntry) GetKind() Kind

func (*ConfigEntry) GetMeshConfig

func (x *ConfigEntry) GetMeshConfig() *MeshConfig

func (*ConfigEntry) GetName

func (x *ConfigEntry) GetName() string

func (*ConfigEntry) GetRaftIndex

func (x *ConfigEntry) GetRaftIndex() *pbcommon.RaftIndex

func (*ConfigEntry) GetServiceDefaults added in v1.14.0

func (x *ConfigEntry) GetServiceDefaults() *ServiceDefaults

func (*ConfigEntry) GetServiceIntentions

func (x *ConfigEntry) GetServiceIntentions() *ServiceIntentions

func (*ConfigEntry) GetServiceResolver

func (x *ConfigEntry) GetServiceResolver() *ServiceResolver

func (*ConfigEntry) GetTCPRoute added in v1.15.0

func (x *ConfigEntry) GetTCPRoute() *TCPRoute

func (*ConfigEntry) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*ConfigEntry) ProtoMessage

func (*ConfigEntry) ProtoMessage()

func (*ConfigEntry) ProtoReflect

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

func (*ConfigEntry) Reset

func (x *ConfigEntry) Reset()

func (*ConfigEntry) String

func (x *ConfigEntry) String() string

func (*ConfigEntry) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type ConfigEntry_APIGateway added in v1.15.0

type ConfigEntry_APIGateway struct {
	APIGateway *APIGateway `protobuf:"bytes,10,opt,name=APIGateway,proto3,oneof"`
}

type ConfigEntry_BoundAPIGateway added in v1.15.0

type ConfigEntry_BoundAPIGateway struct {
	BoundAPIGateway *BoundAPIGateway `protobuf:"bytes,11,opt,name=BoundAPIGateway,proto3,oneof"`
}

type ConfigEntry_HTTPRoute added in v1.15.0

type ConfigEntry_HTTPRoute struct {
	HTTPRoute *HTTPRoute `protobuf:"bytes,13,opt,name=HTTPRoute,proto3,oneof"`
}

type ConfigEntry_IngressGateway

type ConfigEntry_IngressGateway struct {
	IngressGateway *IngressGateway `protobuf:"bytes,7,opt,name=IngressGateway,proto3,oneof"`
}

type ConfigEntry_InlineCertificate added in v1.15.0

type ConfigEntry_InlineCertificate struct {
	InlineCertificate *InlineCertificate `protobuf:"bytes,14,opt,name=InlineCertificate,proto3,oneof"`
}

type ConfigEntry_MeshConfig

type ConfigEntry_MeshConfig struct {
	MeshConfig *MeshConfig `protobuf:"bytes,5,opt,name=MeshConfig,proto3,oneof"`
}

type ConfigEntry_ServiceDefaults added in v1.14.0

type ConfigEntry_ServiceDefaults struct {
	ServiceDefaults *ServiceDefaults `protobuf:"bytes,9,opt,name=ServiceDefaults,proto3,oneof"`
}

type ConfigEntry_ServiceIntentions

type ConfigEntry_ServiceIntentions struct {
	ServiceIntentions *ServiceIntentions `protobuf:"bytes,8,opt,name=ServiceIntentions,proto3,oneof"`
}

type ConfigEntry_ServiceResolver

type ConfigEntry_ServiceResolver struct {
	ServiceResolver *ServiceResolver `protobuf:"bytes,6,opt,name=ServiceResolver,proto3,oneof"`
}

type ConfigEntry_TCPRoute added in v1.15.0

type ConfigEntry_TCPRoute struct {
	TCPRoute *TCPRoute `protobuf:"bytes,12,opt,name=TCPRoute,proto3,oneof"`
}

type CookieConfig

type CookieConfig struct {
	Session bool `protobuf:"varint,1,opt,name=Session,proto3" json:"Session,omitempty"`
	// mog: func-to=structs.DurationFromProto func-from=structs.DurationToProto
	TTL  *durationpb.Duration `protobuf:"bytes,2,opt,name=TTL,proto3" json:"TTL,omitempty"`
	Path string               `protobuf:"bytes,3,opt,name=Path,proto3" json:"Path,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.CookieConfig output=config_entry.gen.go name=Structs

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) 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

type DestinationConfig added in v1.14.0

type DestinationConfig struct {
	Addresses []string `protobuf:"bytes,1,rep,name=Addresses,proto3" json:"Addresses,omitempty"`
	// mog: func-to=int func-from=int32
	Port int32 `protobuf:"varint,2,opt,name=Port,proto3" json:"Port,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.DestinationConfig output=config_entry.gen.go name=Structs

func (*DestinationConfig) Descriptor deprecated added in v1.14.0

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

Deprecated: Use DestinationConfig.ProtoReflect.Descriptor instead.

func (*DestinationConfig) GetAddresses added in v1.14.0

func (x *DestinationConfig) GetAddresses() []string

func (*DestinationConfig) GetPort added in v1.14.0

func (x *DestinationConfig) GetPort() int32

func (*DestinationConfig) MarshalBinary added in v1.14.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*DestinationConfig) ProtoMessage added in v1.14.0

func (*DestinationConfig) ProtoMessage()

func (*DestinationConfig) ProtoReflect added in v1.14.0

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

func (*DestinationConfig) Reset added in v1.14.0

func (x *DestinationConfig) Reset()

func (*DestinationConfig) String added in v1.14.0

func (x *DestinationConfig) String() string

func (*DestinationConfig) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type ExposeConfig added in v1.14.0

type ExposeConfig struct {
	Checks bool          `protobuf:"varint,1,opt,name=Checks,proto3" json:"Checks,omitempty"`
	Paths  []*ExposePath `protobuf:"bytes,2,rep,name=Paths,proto3" json:"Paths,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.ExposeConfig output=config_entry.gen.go name=Structs

func (*ExposeConfig) Descriptor deprecated added in v1.14.0

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

Deprecated: Use ExposeConfig.ProtoReflect.Descriptor instead.

func (*ExposeConfig) GetChecks added in v1.14.0

func (x *ExposeConfig) GetChecks() bool

func (*ExposeConfig) GetPaths added in v1.14.0

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

func (*ExposeConfig) MarshalBinary added in v1.14.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*ExposeConfig) ProtoMessage added in v1.14.0

func (*ExposeConfig) ProtoMessage()

func (*ExposeConfig) ProtoReflect added in v1.14.0

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

func (*ExposeConfig) Reset added in v1.14.0

func (x *ExposeConfig) Reset()

func (*ExposeConfig) String added in v1.14.0

func (x *ExposeConfig) String() string

func (*ExposeConfig) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type ExposePath added in v1.14.0

type ExposePath struct {

	// mog: func-to=int func-from=int32
	ListenerPort int32  `protobuf:"varint,1,opt,name=ListenerPort,proto3" json:"ListenerPort,omitempty"`
	Path         string `protobuf:"bytes,2,opt,name=Path,proto3" json:"Path,omitempty"`
	// mog: func-to=int func-from=int32
	LocalPathPort   int32  `protobuf:"varint,3,opt,name=LocalPathPort,proto3" json:"LocalPathPort,omitempty"`
	Protocol        string `protobuf:"bytes,4,opt,name=Protocol,proto3" json:"Protocol,omitempty"`
	ParsedFromCheck bool   `protobuf:"varint,5,opt,name=ParsedFromCheck,proto3" json:"ParsedFromCheck,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.ExposePath output=config_entry.gen.go name=Structs

func (*ExposePath) Descriptor deprecated added in v1.14.0

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

Deprecated: Use ExposePath.ProtoReflect.Descriptor instead.

func (*ExposePath) GetListenerPort added in v1.14.0

func (x *ExposePath) GetListenerPort() int32

func (*ExposePath) GetLocalPathPort added in v1.14.0

func (x *ExposePath) GetLocalPathPort() int32

func (*ExposePath) GetParsedFromCheck added in v1.14.0

func (x *ExposePath) GetParsedFromCheck() bool

func (*ExposePath) GetPath added in v1.14.0

func (x *ExposePath) GetPath() string

func (*ExposePath) GetProtocol added in v1.14.0

func (x *ExposePath) GetProtocol() string

func (*ExposePath) MarshalBinary added in v1.14.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*ExposePath) ProtoMessage added in v1.14.0

func (*ExposePath) ProtoMessage()

func (*ExposePath) ProtoReflect added in v1.14.0

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

func (*ExposePath) Reset added in v1.14.0

func (x *ExposePath) Reset()

func (*ExposePath) String added in v1.14.0

func (x *ExposePath) String() string

func (*ExposePath) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type GatewayServiceTLSConfig

type GatewayServiceTLSConfig struct {
	SDS *GatewayTLSSDSConfig `protobuf:"bytes,1,opt,name=SDS,proto3" json:"SDS,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.GatewayServiceTLSConfig output=config_entry.gen.go name=Structs

func (*GatewayServiceTLSConfig) Descriptor deprecated

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

Deprecated: Use GatewayServiceTLSConfig.ProtoReflect.Descriptor instead.

func (*GatewayServiceTLSConfig) GetSDS

func (*GatewayServiceTLSConfig) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*GatewayServiceTLSConfig) ProtoMessage

func (*GatewayServiceTLSConfig) ProtoMessage()

func (*GatewayServiceTLSConfig) ProtoReflect

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

func (*GatewayServiceTLSConfig) Reset

func (x *GatewayServiceTLSConfig) Reset()

func (*GatewayServiceTLSConfig) String

func (x *GatewayServiceTLSConfig) String() string

func (*GatewayServiceTLSConfig) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type GatewayTLSConfig

type GatewayTLSConfig struct {
	Enabled bool                 `protobuf:"varint,1,opt,name=Enabled,proto3" json:"Enabled,omitempty"`
	SDS     *GatewayTLSSDSConfig `protobuf:"bytes,2,opt,name=SDS,proto3" json:"SDS,omitempty"`
	// mog: func-from=tlsVersionFromStructs func-to=tlsVersionToStructs
	TLSMinVersion string `protobuf:"bytes,3,opt,name=TLSMinVersion,proto3" json:"TLSMinVersion,omitempty"`
	// mog: func-from=tlsVersionFromStructs func-to=tlsVersionToStructs
	TLSMaxVersion string `protobuf:"bytes,4,opt,name=TLSMaxVersion,proto3" json:"TLSMaxVersion,omitempty"`
	// mog: func-from=cipherSuitesFromStructs func-to=cipherSuitesToStructs
	CipherSuites []string `protobuf:"bytes,5,rep,name=CipherSuites,proto3" json:"CipherSuites,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.GatewayTLSConfig output=config_entry.gen.go name=Structs

func (*GatewayTLSConfig) Descriptor deprecated

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

Deprecated: Use GatewayTLSConfig.ProtoReflect.Descriptor instead.

func (*GatewayTLSConfig) GetCipherSuites

func (x *GatewayTLSConfig) GetCipherSuites() []string

func (*GatewayTLSConfig) GetEnabled

func (x *GatewayTLSConfig) GetEnabled() bool

func (*GatewayTLSConfig) GetSDS

func (*GatewayTLSConfig) GetTLSMaxVersion

func (x *GatewayTLSConfig) GetTLSMaxVersion() string

func (*GatewayTLSConfig) GetTLSMinVersion

func (x *GatewayTLSConfig) GetTLSMinVersion() string

func (*GatewayTLSConfig) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*GatewayTLSConfig) ProtoMessage

func (*GatewayTLSConfig) ProtoMessage()

func (*GatewayTLSConfig) ProtoReflect

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

func (*GatewayTLSConfig) Reset

func (x *GatewayTLSConfig) Reset()

func (*GatewayTLSConfig) String

func (x *GatewayTLSConfig) String() string

func (*GatewayTLSConfig) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type GatewayTLSSDSConfig

type GatewayTLSSDSConfig struct {
	ClusterName  string `protobuf:"bytes,1,opt,name=ClusterName,proto3" json:"ClusterName,omitempty"`
	CertResource string `protobuf:"bytes,2,opt,name=CertResource,proto3" json:"CertResource,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.GatewayTLSSDSConfig output=config_entry.gen.go name=Structs

func (*GatewayTLSSDSConfig) Descriptor deprecated

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

Deprecated: Use GatewayTLSSDSConfig.ProtoReflect.Descriptor instead.

func (*GatewayTLSSDSConfig) GetCertResource

func (x *GatewayTLSSDSConfig) GetCertResource() string

func (*GatewayTLSSDSConfig) GetClusterName

func (x *GatewayTLSSDSConfig) GetClusterName() string

func (*GatewayTLSSDSConfig) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*GatewayTLSSDSConfig) ProtoMessage

func (*GatewayTLSSDSConfig) ProtoMessage()

func (*GatewayTLSSDSConfig) ProtoReflect

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

func (*GatewayTLSSDSConfig) Reset

func (x *GatewayTLSSDSConfig) Reset()

func (*GatewayTLSSDSConfig) String

func (x *GatewayTLSSDSConfig) String() string

func (*GatewayTLSSDSConfig) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type HTTPFilters added in v1.15.0

type HTTPFilters struct {
	Headers    []*HTTPHeaderFilter `protobuf:"bytes,1,rep,name=Headers,proto3" json:"Headers,omitempty"`
	URLRewrite *URLRewrite         `protobuf:"bytes,2,opt,name=URLRewrite,proto3" json:"URLRewrite,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.HTTPFilters output=config_entry.gen.go name=Structs

func (*HTTPFilters) Descriptor deprecated added in v1.15.0

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

Deprecated: Use HTTPFilters.ProtoReflect.Descriptor instead.

func (*HTTPFilters) GetHeaders added in v1.15.0

func (x *HTTPFilters) GetHeaders() []*HTTPHeaderFilter

func (*HTTPFilters) GetURLRewrite added in v1.15.0

func (x *HTTPFilters) GetURLRewrite() *URLRewrite

func (*HTTPFilters) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPFilters) ProtoMessage added in v1.15.0

func (*HTTPFilters) ProtoMessage()

func (*HTTPFilters) ProtoReflect added in v1.15.0

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

func (*HTTPFilters) Reset added in v1.15.0

func (x *HTTPFilters) Reset()

func (*HTTPFilters) String added in v1.15.0

func (x *HTTPFilters) String() string

func (*HTTPFilters) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type HTTPHeaderFilter added in v1.15.0

type HTTPHeaderFilter struct {
	Add    map[string]string `` /* 147-byte string literal not displayed */
	Remove []string          `protobuf:"bytes,2,rep,name=Remove,proto3" json:"Remove,omitempty"`
	Set    map[string]string `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.HTTPHeaderFilter output=config_entry.gen.go name=Structs

func (*HTTPHeaderFilter) Descriptor deprecated added in v1.15.0

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

Deprecated: Use HTTPHeaderFilter.ProtoReflect.Descriptor instead.

func (*HTTPHeaderFilter) GetAdd added in v1.15.0

func (x *HTTPHeaderFilter) GetAdd() map[string]string

func (*HTTPHeaderFilter) GetRemove added in v1.15.0

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

func (*HTTPHeaderFilter) GetSet added in v1.15.0

func (x *HTTPHeaderFilter) GetSet() map[string]string

func (*HTTPHeaderFilter) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPHeaderFilter) ProtoMessage added in v1.15.0

func (*HTTPHeaderFilter) ProtoMessage()

func (*HTTPHeaderFilter) ProtoReflect added in v1.15.0

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

func (*HTTPHeaderFilter) Reset added in v1.15.0

func (x *HTTPHeaderFilter) Reset()

func (*HTTPHeaderFilter) String added in v1.15.0

func (x *HTTPHeaderFilter) String() string

func (*HTTPHeaderFilter) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type HTTPHeaderMatch added in v1.15.0

type HTTPHeaderMatch struct {

	// mog: func-to=httpHeaderMatchToStructs func-from=httpHeaderMatchFromStructs
	Match HTTPHeaderMatchType `` /* 127-byte string literal not displayed */
	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
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.HTTPHeaderMatch output=config_entry.gen.go name=Structs

func (*HTTPHeaderMatch) Descriptor deprecated added in v1.15.0

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

Deprecated: Use HTTPHeaderMatch.ProtoReflect.Descriptor instead.

func (*HTTPHeaderMatch) GetMatch added in v1.15.0

func (x *HTTPHeaderMatch) GetMatch() HTTPHeaderMatchType

func (*HTTPHeaderMatch) GetName added in v1.15.0

func (x *HTTPHeaderMatch) GetName() string

func (*HTTPHeaderMatch) GetValue added in v1.15.0

func (x *HTTPHeaderMatch) GetValue() string

func (*HTTPHeaderMatch) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPHeaderMatch) ProtoMessage added in v1.15.0

func (*HTTPHeaderMatch) ProtoMessage()

func (*HTTPHeaderMatch) ProtoReflect added in v1.15.0

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

func (*HTTPHeaderMatch) Reset added in v1.15.0

func (x *HTTPHeaderMatch) Reset()

func (*HTTPHeaderMatch) String added in v1.15.0

func (x *HTTPHeaderMatch) String() string

func (*HTTPHeaderMatch) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type HTTPHeaderMatchType added in v1.15.0

type HTTPHeaderMatchType int32
const (
	HTTPHeaderMatchType_HTTPHeaderMatchExact             HTTPHeaderMatchType = 0
	HTTPHeaderMatchType_HTTPHeaderMatchPrefix            HTTPHeaderMatchType = 1
	HTTPHeaderMatchType_HTTPHeaderMatchPresent           HTTPHeaderMatchType = 2
	HTTPHeaderMatchType_HTTPHeaderMatchRegularExpression HTTPHeaderMatchType = 3
	HTTPHeaderMatchType_HTTPHeaderMatchSuffix            HTTPHeaderMatchType = 4
)

func (HTTPHeaderMatchType) Descriptor added in v1.15.0

func (HTTPHeaderMatchType) Enum added in v1.15.0

func (HTTPHeaderMatchType) EnumDescriptor deprecated added in v1.15.0

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

Deprecated: Use HTTPHeaderMatchType.Descriptor instead.

func (HTTPHeaderMatchType) Number added in v1.15.0

func (HTTPHeaderMatchType) String added in v1.15.0

func (x HTTPHeaderMatchType) String() string

func (HTTPHeaderMatchType) Type added in v1.15.0

type HTTPHeaderModifiers

type HTTPHeaderModifiers struct {
	Add    map[string]string `` /* 147-byte string literal not displayed */
	Set    map[string]string `` /* 147-byte string literal not displayed */
	Remove []string          `protobuf:"bytes,3,rep,name=Remove,proto3" json:"Remove,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.HTTPHeaderModifiers output=config_entry.gen.go name=Structs

func (*HTTPHeaderModifiers) Descriptor deprecated

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

Deprecated: Use HTTPHeaderModifiers.ProtoReflect.Descriptor instead.

func (*HTTPHeaderModifiers) GetAdd

func (x *HTTPHeaderModifiers) GetAdd() map[string]string

func (*HTTPHeaderModifiers) GetRemove

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

func (*HTTPHeaderModifiers) GetSet

func (x *HTTPHeaderModifiers) GetSet() map[string]string

func (*HTTPHeaderModifiers) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPHeaderModifiers) ProtoMessage

func (*HTTPHeaderModifiers) ProtoMessage()

func (*HTTPHeaderModifiers) ProtoReflect

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

func (*HTTPHeaderModifiers) Reset

func (x *HTTPHeaderModifiers) Reset()

func (*HTTPHeaderModifiers) String

func (x *HTTPHeaderModifiers) String() string

func (*HTTPHeaderModifiers) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type HTTPMatch added in v1.15.0

type HTTPMatch struct {
	Headers []*HTTPHeaderMatch `protobuf:"bytes,1,rep,name=Headers,proto3" json:"Headers,omitempty"`
	// mog: func-to=httpMatchMethodToStructs func-from=httpMatchMethodFromStructs
	Method HTTPMatchMethod   `protobuf:"varint,2,opt,name=Method,proto3,enum=hashicorp.consul.internal.configentry.HTTPMatchMethod" json:"Method,omitempty"`
	Path   *HTTPPathMatch    `protobuf:"bytes,3,opt,name=Path,proto3" json:"Path,omitempty"`
	Query  []*HTTPQueryMatch `protobuf:"bytes,4,rep,name=Query,proto3" json:"Query,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.HTTPMatch output=config_entry.gen.go name=Structs

func (*HTTPMatch) Descriptor deprecated added in v1.15.0

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

Deprecated: Use HTTPMatch.ProtoReflect.Descriptor instead.

func (*HTTPMatch) GetHeaders added in v1.15.0

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

func (*HTTPMatch) GetMethod added in v1.15.0

func (x *HTTPMatch) GetMethod() HTTPMatchMethod

func (*HTTPMatch) GetPath added in v1.15.0

func (x *HTTPMatch) GetPath() *HTTPPathMatch

func (*HTTPMatch) GetQuery added in v1.15.0

func (x *HTTPMatch) GetQuery() []*HTTPQueryMatch

func (*HTTPMatch) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPMatch) ProtoMessage added in v1.15.0

func (*HTTPMatch) ProtoMessage()

func (*HTTPMatch) ProtoReflect added in v1.15.0

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

func (*HTTPMatch) Reset added in v1.15.0

func (x *HTTPMatch) Reset()

func (*HTTPMatch) String added in v1.15.0

func (x *HTTPMatch) String() string

func (*HTTPMatch) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type HTTPMatchMethod added in v1.15.0

type HTTPMatchMethod int32
const (
	HTTPMatchMethod_HTTPMatchMethodAll     HTTPMatchMethod = 0
	HTTPMatchMethod_HTTPMatchMethodConnect HTTPMatchMethod = 1
	HTTPMatchMethod_HTTPMatchMethodDelete  HTTPMatchMethod = 2
	HTTPMatchMethod_HTTPMatchMethodGet     HTTPMatchMethod = 3
	HTTPMatchMethod_HTTPMatchMethodHead    HTTPMatchMethod = 4
	HTTPMatchMethod_HTTPMatchMethodOptions HTTPMatchMethod = 5
	HTTPMatchMethod_HTTPMatchMethodPatch   HTTPMatchMethod = 6
	HTTPMatchMethod_HTTPMatchMethodPost    HTTPMatchMethod = 7
	HTTPMatchMethod_HTTPMatchMethodPut     HTTPMatchMethod = 8
	HTTPMatchMethod_HTTPMatchMethodTrace   HTTPMatchMethod = 9
)

func (HTTPMatchMethod) Descriptor added in v1.15.0

func (HTTPMatchMethod) Enum added in v1.15.0

func (x HTTPMatchMethod) Enum() *HTTPMatchMethod

func (HTTPMatchMethod) EnumDescriptor deprecated added in v1.15.0

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

Deprecated: Use HTTPMatchMethod.Descriptor instead.

func (HTTPMatchMethod) Number added in v1.15.0

func (HTTPMatchMethod) String added in v1.15.0

func (x HTTPMatchMethod) String() string

func (HTTPMatchMethod) Type added in v1.15.0

type HTTPPathMatch added in v1.15.0

type HTTPPathMatch struct {

	// mog: func-to=httpPathMatchToStructs func-from=httpPathMatchFromStructs
	Match HTTPPathMatchType `protobuf:"varint,1,opt,name=Match,proto3,enum=hashicorp.consul.internal.configentry.HTTPPathMatchType" json:"Match,omitempty"`
	Value string            `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.HTTPPathMatch output=config_entry.gen.go name=Structs

func (*HTTPPathMatch) Descriptor deprecated added in v1.15.0

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

Deprecated: Use HTTPPathMatch.ProtoReflect.Descriptor instead.

func (*HTTPPathMatch) GetMatch added in v1.15.0

func (x *HTTPPathMatch) GetMatch() HTTPPathMatchType

func (*HTTPPathMatch) GetValue added in v1.15.0

func (x *HTTPPathMatch) GetValue() string

func (*HTTPPathMatch) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPPathMatch) ProtoMessage added in v1.15.0

func (*HTTPPathMatch) ProtoMessage()

func (*HTTPPathMatch) ProtoReflect added in v1.15.0

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

func (*HTTPPathMatch) Reset added in v1.15.0

func (x *HTTPPathMatch) Reset()

func (*HTTPPathMatch) String added in v1.15.0

func (x *HTTPPathMatch) String() string

func (*HTTPPathMatch) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type HTTPPathMatchType added in v1.15.0

type HTTPPathMatchType int32
const (
	HTTPPathMatchType_HTTPPathMatchExact             HTTPPathMatchType = 0
	HTTPPathMatchType_HTTPPathMatchPrefix            HTTPPathMatchType = 1
	HTTPPathMatchType_HTTPPathMatchRegularExpression HTTPPathMatchType = 3
)

func (HTTPPathMatchType) Descriptor added in v1.15.0

func (HTTPPathMatchType) Enum added in v1.15.0

func (HTTPPathMatchType) EnumDescriptor deprecated added in v1.15.0

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

Deprecated: Use HTTPPathMatchType.Descriptor instead.

func (HTTPPathMatchType) Number added in v1.15.0

func (HTTPPathMatchType) String added in v1.15.0

func (x HTTPPathMatchType) String() string

func (HTTPPathMatchType) Type added in v1.15.0

type HTTPQueryMatch added in v1.15.0

type HTTPQueryMatch struct {

	// mog: func-to=httpQueryMatchToStructs func-from=httpQueryMatchFromStructs
	Match HTTPQueryMatchType `` /* 126-byte string literal not displayed */
	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
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.HTTPQueryMatch output=config_entry.gen.go name=Structs

func (*HTTPQueryMatch) Descriptor deprecated added in v1.15.0

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

Deprecated: Use HTTPQueryMatch.ProtoReflect.Descriptor instead.

func (*HTTPQueryMatch) GetMatch added in v1.15.0

func (x *HTTPQueryMatch) GetMatch() HTTPQueryMatchType

func (*HTTPQueryMatch) GetName added in v1.15.0

func (x *HTTPQueryMatch) GetName() string

func (*HTTPQueryMatch) GetValue added in v1.15.0

func (x *HTTPQueryMatch) GetValue() string

func (*HTTPQueryMatch) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPQueryMatch) ProtoMessage added in v1.15.0

func (*HTTPQueryMatch) ProtoMessage()

func (*HTTPQueryMatch) ProtoReflect added in v1.15.0

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

func (*HTTPQueryMatch) Reset added in v1.15.0

func (x *HTTPQueryMatch) Reset()

func (*HTTPQueryMatch) String added in v1.15.0

func (x *HTTPQueryMatch) String() string

func (*HTTPQueryMatch) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type HTTPQueryMatchType added in v1.15.0

type HTTPQueryMatchType int32
const (
	HTTPQueryMatchType_HTTPQueryMatchExact             HTTPQueryMatchType = 0
	HTTPQueryMatchType_HTTPQueryMatchPresent           HTTPQueryMatchType = 1
	HTTPQueryMatchType_HTTPQueryMatchRegularExpression HTTPQueryMatchType = 3
)

func (HTTPQueryMatchType) Descriptor added in v1.15.0

func (HTTPQueryMatchType) Enum added in v1.15.0

func (HTTPQueryMatchType) EnumDescriptor deprecated added in v1.15.0

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

Deprecated: Use HTTPQueryMatchType.Descriptor instead.

func (HTTPQueryMatchType) Number added in v1.15.0

func (HTTPQueryMatchType) String added in v1.15.0

func (x HTTPQueryMatchType) String() string

func (HTTPQueryMatchType) Type added in v1.15.0

type HTTPRoute added in v1.15.0

type HTTPRoute struct {
	Meta      map[string]string    `` /* 149-byte string literal not displayed */
	Parents   []*ResourceReference `protobuf:"bytes,2,rep,name=Parents,proto3" json:"Parents,omitempty"`
	Rules     []*HTTPRouteRule     `protobuf:"bytes,3,rep,name=Rules,proto3" json:"Rules,omitempty"`
	Hostnames []string             `protobuf:"bytes,4,rep,name=Hostnames,proto3" json:"Hostnames,omitempty"`
	Status    *Status              `protobuf:"bytes,5,opt,name=Status,proto3" json:"Status,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.HTTPRouteConfigEntry output=config_entry.gen.go name=Structs ignore-fields=Kind,Name,RaftIndex,EnterpriseMeta

func (*HTTPRoute) Descriptor deprecated added in v1.15.0

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

Deprecated: Use HTTPRoute.ProtoReflect.Descriptor instead.

func (*HTTPRoute) GetHostnames added in v1.15.0

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

func (*HTTPRoute) GetMeta added in v1.15.0

func (x *HTTPRoute) GetMeta() map[string]string

func (*HTTPRoute) GetParents added in v1.15.0

func (x *HTTPRoute) GetParents() []*ResourceReference

func (*HTTPRoute) GetRules added in v1.15.0

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

func (*HTTPRoute) GetStatus added in v1.15.0

func (x *HTTPRoute) GetStatus() *Status

func (*HTTPRoute) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPRoute) ProtoMessage added in v1.15.0

func (*HTTPRoute) ProtoMessage()

func (*HTTPRoute) ProtoReflect added in v1.15.0

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

func (*HTTPRoute) Reset added in v1.15.0

func (x *HTTPRoute) Reset()

func (*HTTPRoute) String added in v1.15.0

func (x *HTTPRoute) String() string

func (*HTTPRoute) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type HTTPRouteRule added in v1.15.0

type HTTPRouteRule struct {
	Filters  *HTTPFilters   `protobuf:"bytes,1,opt,name=Filters,proto3" json:"Filters,omitempty"`
	Matches  []*HTTPMatch   `protobuf:"bytes,2,rep,name=Matches,proto3" json:"Matches,omitempty"`
	Services []*HTTPService `protobuf:"bytes,3,rep,name=Services,proto3" json:"Services,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.HTTPRouteRule output=config_entry.gen.go name=Structs

func (*HTTPRouteRule) Descriptor deprecated added in v1.15.0

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

Deprecated: Use HTTPRouteRule.ProtoReflect.Descriptor instead.

func (*HTTPRouteRule) GetFilters added in v1.15.0

func (x *HTTPRouteRule) GetFilters() *HTTPFilters

func (*HTTPRouteRule) GetMatches added in v1.15.0

func (x *HTTPRouteRule) GetMatches() []*HTTPMatch

func (*HTTPRouteRule) GetServices added in v1.15.0

func (x *HTTPRouteRule) GetServices() []*HTTPService

func (*HTTPRouteRule) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPRouteRule) ProtoMessage added in v1.15.0

func (*HTTPRouteRule) ProtoMessage()

func (*HTTPRouteRule) ProtoReflect added in v1.15.0

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

func (*HTTPRouteRule) Reset added in v1.15.0

func (x *HTTPRouteRule) Reset()

func (*HTTPRouteRule) String added in v1.15.0

func (x *HTTPRouteRule) String() string

func (*HTTPRouteRule) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type HTTPService added in v1.15.0

type HTTPService struct {
	Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	// mog: func-to=int func-from=int32
	Weight  int32        `protobuf:"varint,2,opt,name=Weight,proto3" json:"Weight,omitempty"`
	Filters *HTTPFilters `protobuf:"bytes,3,opt,name=Filters,proto3" json:"Filters,omitempty"`
	// mog: func-to=enterpriseMetaToStructs func-from=enterpriseMetaFromStructs
	EnterpriseMeta *pbcommon.EnterpriseMeta `protobuf:"bytes,4,opt,name=EnterpriseMeta,proto3" json:"EnterpriseMeta,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.HTTPService output=config_entry.gen.go name=Structs

func (*HTTPService) Descriptor deprecated added in v1.15.0

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

Deprecated: Use HTTPService.ProtoReflect.Descriptor instead.

func (*HTTPService) GetEnterpriseMeta added in v1.15.0

func (x *HTTPService) GetEnterpriseMeta() *pbcommon.EnterpriseMeta

func (*HTTPService) GetFilters added in v1.15.0

func (x *HTTPService) GetFilters() *HTTPFilters

func (*HTTPService) GetName added in v1.15.0

func (x *HTTPService) GetName() string

func (*HTTPService) GetWeight added in v1.15.0

func (x *HTTPService) GetWeight() int32

func (*HTTPService) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*HTTPService) ProtoMessage added in v1.15.0

func (*HTTPService) ProtoMessage()

func (*HTTPService) ProtoReflect added in v1.15.0

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

func (*HTTPService) Reset added in v1.15.0

func (x *HTTPService) Reset()

func (*HTTPService) String added in v1.15.0

func (x *HTTPService) String() string

func (*HTTPService) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type HashPolicy

type HashPolicy struct {
	Field        string        `protobuf:"bytes,1,opt,name=Field,proto3" json:"Field,omitempty"`
	FieldValue   string        `protobuf:"bytes,2,opt,name=FieldValue,proto3" json:"FieldValue,omitempty"`
	CookieConfig *CookieConfig `protobuf:"bytes,3,opt,name=CookieConfig,proto3" json:"CookieConfig,omitempty"`
	SourceIP     bool          `protobuf:"varint,4,opt,name=SourceIP,proto3" json:"SourceIP,omitempty"`
	Terminal     bool          `protobuf:"varint,5,opt,name=Terminal,proto3" json:"Terminal,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.HashPolicy output=config_entry.gen.go name=Structs

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() string

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) 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

type IngressGateway

type IngressGateway struct {
	TLS       *GatewayTLSConfig     `protobuf:"bytes,1,opt,name=TLS,proto3" json:"TLS,omitempty"`
	Listeners []*IngressListener    `protobuf:"bytes,2,rep,name=Listeners,proto3" json:"Listeners,omitempty"`
	Meta      map[string]string     `` /* 149-byte string literal not displayed */
	Defaults  *IngressServiceConfig `protobuf:"bytes,4,opt,name=Defaults,proto3" json:"Defaults,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.IngressGatewayConfigEntry output=config_entry.gen.go name=Structs ignore-fields=Kind,Name,RaftIndex,EnterpriseMeta

func (*IngressGateway) Descriptor deprecated

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

Deprecated: Use IngressGateway.ProtoReflect.Descriptor instead.

func (*IngressGateway) GetDefaults added in v1.13.3

func (x *IngressGateway) GetDefaults() *IngressServiceConfig

func (*IngressGateway) GetListeners

func (x *IngressGateway) GetListeners() []*IngressListener

func (*IngressGateway) GetMeta

func (x *IngressGateway) GetMeta() map[string]string

func (*IngressGateway) GetTLS

func (x *IngressGateway) GetTLS() *GatewayTLSConfig

func (*IngressGateway) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*IngressGateway) ProtoMessage

func (*IngressGateway) ProtoMessage()

func (*IngressGateway) ProtoReflect

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

func (*IngressGateway) Reset

func (x *IngressGateway) Reset()

func (*IngressGateway) String

func (x *IngressGateway) String() string

func (*IngressGateway) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type IngressListener

type IngressListener struct {

	// mog: func-to=int func-from=int32
	Port     int32             `protobuf:"varint,1,opt,name=Port,proto3" json:"Port,omitempty"`
	Protocol string            `protobuf:"bytes,2,opt,name=Protocol,proto3" json:"Protocol,omitempty"`
	Services []*IngressService `protobuf:"bytes,3,rep,name=Services,proto3" json:"Services,omitempty"`
	TLS      *GatewayTLSConfig `protobuf:"bytes,4,opt,name=TLS,proto3" json:"TLS,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.IngressListener output=config_entry.gen.go name=Structs

func (*IngressListener) Descriptor deprecated

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

Deprecated: Use IngressListener.ProtoReflect.Descriptor instead.

func (*IngressListener) GetPort

func (x *IngressListener) GetPort() int32

func (*IngressListener) GetProtocol

func (x *IngressListener) GetProtocol() string

func (*IngressListener) GetServices

func (x *IngressListener) GetServices() []*IngressService

func (*IngressListener) GetTLS

func (x *IngressListener) GetTLS() *GatewayTLSConfig

func (*IngressListener) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*IngressListener) ProtoMessage

func (*IngressListener) ProtoMessage()

func (*IngressListener) ProtoReflect

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

func (*IngressListener) Reset

func (x *IngressListener) Reset()

func (*IngressListener) String

func (x *IngressListener) String() string

func (*IngressListener) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type IngressService

type IngressService struct {
	Name            string                   `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Hosts           []string                 `protobuf:"bytes,2,rep,name=Hosts,proto3" json:"Hosts,omitempty"`
	TLS             *GatewayServiceTLSConfig `protobuf:"bytes,3,opt,name=TLS,proto3" json:"TLS,omitempty"`
	RequestHeaders  *HTTPHeaderModifiers     `protobuf:"bytes,4,opt,name=RequestHeaders,proto3" json:"RequestHeaders,omitempty"`
	ResponseHeaders *HTTPHeaderModifiers     `protobuf:"bytes,5,opt,name=ResponseHeaders,proto3" json:"ResponseHeaders,omitempty"`
	Meta            map[string]string        `` /* 149-byte string literal not displayed */
	// mog: func-to=enterpriseMetaToStructs func-from=enterpriseMetaFromStructs
	EnterpriseMeta        *pbcommon.EnterpriseMeta `protobuf:"bytes,7,opt,name=EnterpriseMeta,proto3" json:"EnterpriseMeta,omitempty"`
	MaxConnections        uint32                   `protobuf:"varint,8,opt,name=MaxConnections,proto3" json:"MaxConnections,omitempty"`
	MaxPendingRequests    uint32                   `protobuf:"varint,9,opt,name=MaxPendingRequests,proto3" json:"MaxPendingRequests,omitempty"`
	MaxConcurrentRequests uint32                   `protobuf:"varint,10,opt,name=MaxConcurrentRequests,proto3" json:"MaxConcurrentRequests,omitempty"`
	PassiveHealthCheck    *PassiveHealthCheck      `protobuf:"bytes,11,opt,name=PassiveHealthCheck,proto3" json:"PassiveHealthCheck,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.IngressService output=config_entry.gen.go name=Structs

func (*IngressService) Descriptor deprecated

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

Deprecated: Use IngressService.ProtoReflect.Descriptor instead.

func (*IngressService) GetEnterpriseMeta

func (x *IngressService) GetEnterpriseMeta() *pbcommon.EnterpriseMeta

func (*IngressService) GetHosts

func (x *IngressService) GetHosts() []string

func (*IngressService) GetMaxConcurrentRequests added in v1.13.3

func (x *IngressService) GetMaxConcurrentRequests() uint32

func (*IngressService) GetMaxConnections added in v1.13.3

func (x *IngressService) GetMaxConnections() uint32

func (*IngressService) GetMaxPendingRequests added in v1.13.3

func (x *IngressService) GetMaxPendingRequests() uint32

func (*IngressService) GetMeta

func (x *IngressService) GetMeta() map[string]string

func (*IngressService) GetName

func (x *IngressService) GetName() string

func (*IngressService) GetPassiveHealthCheck added in v1.15.0

func (x *IngressService) GetPassiveHealthCheck() *PassiveHealthCheck

func (*IngressService) GetRequestHeaders

func (x *IngressService) GetRequestHeaders() *HTTPHeaderModifiers

func (*IngressService) GetResponseHeaders

func (x *IngressService) GetResponseHeaders() *HTTPHeaderModifiers

func (*IngressService) GetTLS

func (*IngressService) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*IngressService) ProtoMessage

func (*IngressService) ProtoMessage()

func (*IngressService) ProtoReflect

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

func (*IngressService) Reset

func (x *IngressService) Reset()

func (*IngressService) String

func (x *IngressService) String() string

func (*IngressService) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type IngressServiceConfig added in v1.13.3

type IngressServiceConfig struct {
	MaxConnections        uint32              `protobuf:"varint,1,opt,name=MaxConnections,proto3" json:"MaxConnections,omitempty"`
	MaxPendingRequests    uint32              `protobuf:"varint,2,opt,name=MaxPendingRequests,proto3" json:"MaxPendingRequests,omitempty"`
	MaxConcurrentRequests uint32              `protobuf:"varint,3,opt,name=MaxConcurrentRequests,proto3" json:"MaxConcurrentRequests,omitempty"`
	PassiveHealthCheck    *PassiveHealthCheck `protobuf:"bytes,4,opt,name=PassiveHealthCheck,proto3" json:"PassiveHealthCheck,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.IngressServiceConfig output=config_entry.gen.go name=Structs

func (*IngressServiceConfig) Descriptor deprecated added in v1.13.3

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

Deprecated: Use IngressServiceConfig.ProtoReflect.Descriptor instead.

func (*IngressServiceConfig) GetMaxConcurrentRequests added in v1.13.3

func (x *IngressServiceConfig) GetMaxConcurrentRequests() uint32

func (*IngressServiceConfig) GetMaxConnections added in v1.13.3

func (x *IngressServiceConfig) GetMaxConnections() uint32

func (*IngressServiceConfig) GetMaxPendingRequests added in v1.13.3

func (x *IngressServiceConfig) GetMaxPendingRequests() uint32

func (*IngressServiceConfig) GetPassiveHealthCheck added in v1.15.0

func (x *IngressServiceConfig) GetPassiveHealthCheck() *PassiveHealthCheck

func (*IngressServiceConfig) MarshalBinary added in v1.13.3

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

MarshalBinary implements encoding.BinaryMarshaler

func (*IngressServiceConfig) ProtoMessage added in v1.13.3

func (*IngressServiceConfig) ProtoMessage()

func (*IngressServiceConfig) ProtoReflect added in v1.13.3

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

func (*IngressServiceConfig) Reset added in v1.13.3

func (x *IngressServiceConfig) Reset()

func (*IngressServiceConfig) String added in v1.13.3

func (x *IngressServiceConfig) String() string

func (*IngressServiceConfig) UnmarshalBinary added in v1.13.3

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type InlineCertificate added in v1.15.0

type InlineCertificate struct {
	Meta        map[string]string `` /* 149-byte string literal not displayed */
	Certificate string            `protobuf:"bytes,2,opt,name=Certificate,proto3" json:"Certificate,omitempty"`
	PrivateKey  string            `protobuf:"bytes,3,opt,name=PrivateKey,proto3" json:"PrivateKey,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.InlineCertificateConfigEntry output=config_entry.gen.go name=Structs ignore-fields=Kind,Name,RaftIndex,EnterpriseMeta

func (*InlineCertificate) Descriptor deprecated added in v1.15.0

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

Deprecated: Use InlineCertificate.ProtoReflect.Descriptor instead.

func (*InlineCertificate) GetCertificate added in v1.15.0

func (x *InlineCertificate) GetCertificate() string

func (*InlineCertificate) GetMeta added in v1.15.0

func (x *InlineCertificate) GetMeta() map[string]string

func (*InlineCertificate) GetPrivateKey added in v1.15.0

func (x *InlineCertificate) GetPrivateKey() string

func (*InlineCertificate) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*InlineCertificate) ProtoMessage added in v1.15.0

func (*InlineCertificate) ProtoMessage()

func (*InlineCertificate) ProtoReflect added in v1.15.0

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

func (*InlineCertificate) Reset added in v1.15.0

func (x *InlineCertificate) Reset()

func (*InlineCertificate) String added in v1.15.0

func (x *InlineCertificate) String() string

func (*InlineCertificate) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type IntentionAction

type IntentionAction int32
const (
	IntentionAction_Deny  IntentionAction = 0
	IntentionAction_Allow IntentionAction = 1
)

func (IntentionAction) Descriptor

func (IntentionAction) Enum

func (x IntentionAction) Enum() *IntentionAction

func (IntentionAction) EnumDescriptor deprecated

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

Deprecated: Use IntentionAction.Descriptor instead.

func (IntentionAction) Number

func (IntentionAction) String

func (x IntentionAction) String() string

func (IntentionAction) Type

type IntentionHTTPHeaderPermission

type IntentionHTTPHeaderPermission struct {
	Name    string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Present bool   `protobuf:"varint,2,opt,name=Present,proto3" json:"Present,omitempty"`
	Exact   string `protobuf:"bytes,3,opt,name=Exact,proto3" json:"Exact,omitempty"`
	Prefix  string `protobuf:"bytes,4,opt,name=Prefix,proto3" json:"Prefix,omitempty"`
	Suffix  string `protobuf:"bytes,5,opt,name=Suffix,proto3" json:"Suffix,omitempty"`
	Regex   string `protobuf:"bytes,6,opt,name=Regex,proto3" json:"Regex,omitempty"`
	Invert  bool   `protobuf:"varint,7,opt,name=Invert,proto3" json:"Invert,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.IntentionHTTPHeaderPermission output=config_entry.gen.go name=Structs

func (*IntentionHTTPHeaderPermission) Descriptor deprecated

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

Deprecated: Use IntentionHTTPHeaderPermission.ProtoReflect.Descriptor instead.

func (*IntentionHTTPHeaderPermission) GetExact

func (x *IntentionHTTPHeaderPermission) GetExact() string

func (*IntentionHTTPHeaderPermission) GetInvert

func (x *IntentionHTTPHeaderPermission) GetInvert() bool

func (*IntentionHTTPHeaderPermission) GetName

func (*IntentionHTTPHeaderPermission) GetPrefix

func (x *IntentionHTTPHeaderPermission) GetPrefix() string

func (*IntentionHTTPHeaderPermission) GetPresent

func (x *IntentionHTTPHeaderPermission) GetPresent() bool

func (*IntentionHTTPHeaderPermission) GetRegex

func (x *IntentionHTTPHeaderPermission) GetRegex() string

func (*IntentionHTTPHeaderPermission) GetSuffix

func (x *IntentionHTTPHeaderPermission) GetSuffix() string

func (*IntentionHTTPHeaderPermission) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*IntentionHTTPHeaderPermission) ProtoMessage

func (*IntentionHTTPHeaderPermission) ProtoMessage()

func (*IntentionHTTPHeaderPermission) ProtoReflect

func (*IntentionHTTPHeaderPermission) Reset

func (x *IntentionHTTPHeaderPermission) Reset()

func (*IntentionHTTPHeaderPermission) String

func (*IntentionHTTPHeaderPermission) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type IntentionHTTPPermission

type IntentionHTTPPermission struct {
	PathExact  string                           `protobuf:"bytes,1,opt,name=PathExact,proto3" json:"PathExact,omitempty"`
	PathPrefix string                           `protobuf:"bytes,2,opt,name=PathPrefix,proto3" json:"PathPrefix,omitempty"`
	PathRegex  string                           `protobuf:"bytes,3,opt,name=PathRegex,proto3" json:"PathRegex,omitempty"`
	Header     []*IntentionHTTPHeaderPermission `protobuf:"bytes,4,rep,name=Header,proto3" json:"Header,omitempty"`
	Methods    []string                         `protobuf:"bytes,5,rep,name=Methods,proto3" json:"Methods,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.IntentionHTTPPermission output=config_entry.gen.go name=Structs

func (*IntentionHTTPPermission) Descriptor deprecated

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

Deprecated: Use IntentionHTTPPermission.ProtoReflect.Descriptor instead.

func (*IntentionHTTPPermission) GetHeader

func (*IntentionHTTPPermission) GetMethods

func (x *IntentionHTTPPermission) GetMethods() []string

func (*IntentionHTTPPermission) GetPathExact

func (x *IntentionHTTPPermission) GetPathExact() string

func (*IntentionHTTPPermission) GetPathPrefix

func (x *IntentionHTTPPermission) GetPathPrefix() string

func (*IntentionHTTPPermission) GetPathRegex

func (x *IntentionHTTPPermission) GetPathRegex() string

func (*IntentionHTTPPermission) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*IntentionHTTPPermission) ProtoMessage

func (*IntentionHTTPPermission) ProtoMessage()

func (*IntentionHTTPPermission) ProtoReflect

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

func (*IntentionHTTPPermission) Reset

func (x *IntentionHTTPPermission) Reset()

func (*IntentionHTTPPermission) String

func (x *IntentionHTTPPermission) String() string

func (*IntentionHTTPPermission) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type IntentionPermission

type IntentionPermission struct {

	// mog: func-to=intentionActionToStructs func-from=intentionActionFromStructs
	Action IntentionAction          `protobuf:"varint,1,opt,name=Action,proto3,enum=hashicorp.consul.internal.configentry.IntentionAction" json:"Action,omitempty"`
	HTTP   *IntentionHTTPPermission `protobuf:"bytes,2,opt,name=HTTP,proto3" json:"HTTP,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.IntentionPermission output=config_entry.gen.go name=Structs

func (*IntentionPermission) Descriptor deprecated

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

Deprecated: Use IntentionPermission.ProtoReflect.Descriptor instead.

func (*IntentionPermission) GetAction

func (x *IntentionPermission) GetAction() IntentionAction

func (*IntentionPermission) GetHTTP

func (*IntentionPermission) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*IntentionPermission) ProtoMessage

func (*IntentionPermission) ProtoMessage()

func (*IntentionPermission) ProtoReflect

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

func (*IntentionPermission) Reset

func (x *IntentionPermission) Reset()

func (*IntentionPermission) String

func (x *IntentionPermission) String() string

func (*IntentionPermission) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type IntentionSourceType

type IntentionSourceType int32
const (
	IntentionSourceType_Consul IntentionSourceType = 0
)

func (IntentionSourceType) Descriptor

func (IntentionSourceType) Enum

func (IntentionSourceType) EnumDescriptor deprecated

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

Deprecated: Use IntentionSourceType.Descriptor instead.

func (IntentionSourceType) Number

func (IntentionSourceType) String

func (x IntentionSourceType) String() string

func (IntentionSourceType) Type

type Kind

type Kind int32
const (
	Kind_KindUnknown           Kind = 0
	Kind_KindMeshConfig        Kind = 1
	Kind_KindServiceResolver   Kind = 2
	Kind_KindIngressGateway    Kind = 3
	Kind_KindServiceIntentions Kind = 4
	Kind_KindServiceDefaults   Kind = 5
	Kind_KindInlineCertificate Kind = 6
	Kind_KindAPIGateway        Kind = 7
	Kind_KindBoundAPIGateway   Kind = 8
	Kind_KindHTTPRoute         Kind = 9
	Kind_KindTCPRoute          Kind = 10
)

func (Kind) Descriptor

func (Kind) Descriptor() protoreflect.EnumDescriptor

func (Kind) Enum

func (x Kind) Enum() *Kind

func (Kind) EnumDescriptor deprecated

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

Deprecated: Use Kind.Descriptor instead.

func (Kind) Number

func (x Kind) Number() protoreflect.EnumNumber

func (Kind) String

func (x Kind) String() string

func (Kind) Type

func (Kind) Type() protoreflect.EnumType

type LeastRequestConfig

type LeastRequestConfig struct {
	ChoiceCount uint32 `protobuf:"varint,1,opt,name=ChoiceCount,proto3" json:"ChoiceCount,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.LeastRequestConfig output=config_entry.gen.go name=Structs

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) 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

type LoadBalancer

type LoadBalancer struct {
	Policy             string              `protobuf:"bytes,1,opt,name=Policy,proto3" json:"Policy,omitempty"`
	RingHashConfig     *RingHashConfig     `protobuf:"bytes,2,opt,name=RingHashConfig,proto3" json:"RingHashConfig,omitempty"`
	LeastRequestConfig *LeastRequestConfig `protobuf:"bytes,3,opt,name=LeastRequestConfig,proto3" json:"LeastRequestConfig,omitempty"`
	HashPolicies       []*HashPolicy       `protobuf:"bytes,4,rep,name=HashPolicies,proto3" json:"HashPolicies,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.LoadBalancer output=config_entry.gen.go name=Structs

func (*LoadBalancer) Descriptor deprecated

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

Deprecated: Use LoadBalancer.ProtoReflect.Descriptor instead.

func (*LoadBalancer) GetHashPolicies

func (x *LoadBalancer) GetHashPolicies() []*HashPolicy

func (*LoadBalancer) GetLeastRequestConfig

func (x *LoadBalancer) GetLeastRequestConfig() *LeastRequestConfig

func (*LoadBalancer) GetPolicy

func (x *LoadBalancer) GetPolicy() string

func (*LoadBalancer) GetRingHashConfig

func (x *LoadBalancer) GetRingHashConfig() *RingHashConfig

func (*LoadBalancer) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

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

type MeshConfig

type MeshConfig struct {
	TransparentProxy *TransparentProxyMeshConfig `protobuf:"bytes,1,opt,name=TransparentProxy,proto3" json:"TransparentProxy,omitempty"`
	TLS              *MeshTLSConfig              `protobuf:"bytes,2,opt,name=TLS,proto3" json:"TLS,omitempty"`
	HTTP             *MeshHTTPConfig             `protobuf:"bytes,3,opt,name=HTTP,proto3" json:"HTTP,omitempty"`
	Meta             map[string]string           `` /* 149-byte string literal not displayed */
	Peering          *PeeringMeshConfig          `protobuf:"bytes,5,opt,name=Peering,proto3" json:"Peering,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.MeshConfigEntry output=config_entry.gen.go name=Structs ignore-fields=RaftIndex,EnterpriseMeta

func (*MeshConfig) Descriptor deprecated

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

Deprecated: Use MeshConfig.ProtoReflect.Descriptor instead.

func (*MeshConfig) GetHTTP

func (x *MeshConfig) GetHTTP() *MeshHTTPConfig

func (*MeshConfig) GetMeta

func (x *MeshConfig) GetMeta() map[string]string

func (*MeshConfig) GetPeering added in v1.14.0

func (x *MeshConfig) GetPeering() *PeeringMeshConfig

func (*MeshConfig) GetTLS

func (x *MeshConfig) GetTLS() *MeshTLSConfig

func (*MeshConfig) GetTransparentProxy

func (x *MeshConfig) GetTransparentProxy() *TransparentProxyMeshConfig

func (*MeshConfig) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*MeshConfig) ProtoMessage

func (*MeshConfig) ProtoMessage()

func (*MeshConfig) ProtoReflect

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

func (*MeshConfig) Reset

func (x *MeshConfig) Reset()

func (*MeshConfig) String

func (x *MeshConfig) String() string

func (*MeshConfig) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type MeshDirectionalTLSConfig

type MeshDirectionalTLSConfig struct {

	// mog: func-from=tlsVersionFromStructs func-to=tlsVersionToStructs
	TLSMinVersion string `protobuf:"bytes,1,opt,name=TLSMinVersion,proto3" json:"TLSMinVersion,omitempty"`
	// mog: func-from=tlsVersionFromStructs func-to=tlsVersionToStructs
	TLSMaxVersion string `protobuf:"bytes,2,opt,name=TLSMaxVersion,proto3" json:"TLSMaxVersion,omitempty"`
	// mog: func-from=cipherSuitesFromStructs func-to=cipherSuitesToStructs
	CipherSuites []string `protobuf:"bytes,3,rep,name=CipherSuites,proto3" json:"CipherSuites,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.MeshDirectionalTLSConfig output=config_entry.gen.go name=Structs

func (*MeshDirectionalTLSConfig) Descriptor deprecated

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

Deprecated: Use MeshDirectionalTLSConfig.ProtoReflect.Descriptor instead.

func (*MeshDirectionalTLSConfig) GetCipherSuites

func (x *MeshDirectionalTLSConfig) GetCipherSuites() []string

func (*MeshDirectionalTLSConfig) GetTLSMaxVersion

func (x *MeshDirectionalTLSConfig) GetTLSMaxVersion() string

func (*MeshDirectionalTLSConfig) GetTLSMinVersion

func (x *MeshDirectionalTLSConfig) GetTLSMinVersion() string

func (*MeshDirectionalTLSConfig) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*MeshDirectionalTLSConfig) ProtoMessage

func (*MeshDirectionalTLSConfig) ProtoMessage()

func (*MeshDirectionalTLSConfig) ProtoReflect

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

func (*MeshDirectionalTLSConfig) Reset

func (x *MeshDirectionalTLSConfig) Reset()

func (*MeshDirectionalTLSConfig) String

func (x *MeshDirectionalTLSConfig) String() string

func (*MeshDirectionalTLSConfig) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type MeshGatewayConfig added in v1.14.0

type MeshGatewayConfig struct {

	// mog: func-to=meshGatewayModeToStructs func-from=meshGatewayModeFromStructs
	Mode MeshGatewayMode `protobuf:"varint,1,opt,name=Mode,proto3,enum=hashicorp.consul.internal.configentry.MeshGatewayMode" json:"Mode,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.MeshGatewayConfig output=config_entry.gen.go name=Structs

func (*MeshGatewayConfig) Descriptor deprecated added in v1.14.0

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

Deprecated: Use MeshGatewayConfig.ProtoReflect.Descriptor instead.

func (*MeshGatewayConfig) GetMode added in v1.14.0

func (x *MeshGatewayConfig) GetMode() MeshGatewayMode

func (*MeshGatewayConfig) MarshalBinary added in v1.14.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*MeshGatewayConfig) ProtoMessage added in v1.14.0

func (*MeshGatewayConfig) ProtoMessage()

func (*MeshGatewayConfig) ProtoReflect added in v1.14.0

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

func (*MeshGatewayConfig) Reset added in v1.14.0

func (x *MeshGatewayConfig) Reset()

func (*MeshGatewayConfig) String added in v1.14.0

func (x *MeshGatewayConfig) String() string

func (*MeshGatewayConfig) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type MeshGatewayMode added in v1.14.0

type MeshGatewayMode int32
const (
	MeshGatewayMode_MeshGatewayModeDefault MeshGatewayMode = 0
	MeshGatewayMode_MeshGatewayModeNone    MeshGatewayMode = 1
	MeshGatewayMode_MeshGatewayModeLocal   MeshGatewayMode = 2
	MeshGatewayMode_MeshGatewayModeRemote  MeshGatewayMode = 3
)

func (MeshGatewayMode) Descriptor added in v1.14.0

func (MeshGatewayMode) Enum added in v1.14.0

func (x MeshGatewayMode) Enum() *MeshGatewayMode

func (MeshGatewayMode) EnumDescriptor deprecated added in v1.14.0

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

Deprecated: Use MeshGatewayMode.Descriptor instead.

func (MeshGatewayMode) Number added in v1.14.0

func (MeshGatewayMode) String added in v1.14.0

func (x MeshGatewayMode) String() string

func (MeshGatewayMode) Type added in v1.14.0

type MeshHTTPConfig

type MeshHTTPConfig struct {
	SanitizeXForwardedClientCert bool `protobuf:"varint,1,opt,name=SanitizeXForwardedClientCert,proto3" json:"SanitizeXForwardedClientCert,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.MeshHTTPConfig output=config_entry.gen.go name=Structs

func (*MeshHTTPConfig) Descriptor deprecated

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

Deprecated: Use MeshHTTPConfig.ProtoReflect.Descriptor instead.

func (*MeshHTTPConfig) GetSanitizeXForwardedClientCert

func (x *MeshHTTPConfig) GetSanitizeXForwardedClientCert() bool

func (*MeshHTTPConfig) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*MeshHTTPConfig) ProtoMessage

func (*MeshHTTPConfig) ProtoMessage()

func (*MeshHTTPConfig) ProtoReflect

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

func (*MeshHTTPConfig) Reset

func (x *MeshHTTPConfig) Reset()

func (*MeshHTTPConfig) String

func (x *MeshHTTPConfig) String() string

func (*MeshHTTPConfig) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type MeshTLSConfig

type MeshTLSConfig struct {
	Incoming *MeshDirectionalTLSConfig `protobuf:"bytes,1,opt,name=Incoming,proto3" json:"Incoming,omitempty"`
	Outgoing *MeshDirectionalTLSConfig `protobuf:"bytes,2,opt,name=Outgoing,proto3" json:"Outgoing,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.MeshTLSConfig output=config_entry.gen.go name=Structs

func (*MeshTLSConfig) Descriptor deprecated

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

Deprecated: Use MeshTLSConfig.ProtoReflect.Descriptor instead.

func (*MeshTLSConfig) GetIncoming

func (x *MeshTLSConfig) GetIncoming() *MeshDirectionalTLSConfig

func (*MeshTLSConfig) GetOutgoing

func (x *MeshTLSConfig) GetOutgoing() *MeshDirectionalTLSConfig

func (*MeshTLSConfig) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*MeshTLSConfig) ProtoMessage

func (*MeshTLSConfig) ProtoMessage()

func (*MeshTLSConfig) ProtoReflect

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

func (*MeshTLSConfig) Reset

func (x *MeshTLSConfig) Reset()

func (*MeshTLSConfig) String

func (x *MeshTLSConfig) String() string

func (*MeshTLSConfig) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type PassiveHealthCheck added in v1.14.0

type PassiveHealthCheck struct {

	// mog: func-to=structs.DurationFromProto func-from=structs.DurationToProto
	Interval    *durationpb.Duration `protobuf:"bytes,1,opt,name=Interval,proto3" json:"Interval,omitempty"`
	MaxFailures uint32               `protobuf:"varint,2,opt,name=MaxFailures,proto3" json:"MaxFailures,omitempty"`
	// mog: target=EnforcingConsecutive5xx func-to=pointerToUint32FromUint32 func-from=uint32FromPointerToUint32
	EnforcingConsecutive5Xx uint32 `protobuf:"varint,3,opt,name=EnforcingConsecutive5xx,proto3" json:"EnforcingConsecutive5xx,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.PassiveHealthCheck output=config_entry.gen.go name=Structs

func (*PassiveHealthCheck) Descriptor deprecated added in v1.14.0

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

Deprecated: Use PassiveHealthCheck.ProtoReflect.Descriptor instead.

func (*PassiveHealthCheck) GetEnforcingConsecutive5Xx added in v1.14.0

func (x *PassiveHealthCheck) GetEnforcingConsecutive5Xx() uint32

func (*PassiveHealthCheck) GetInterval added in v1.14.0

func (x *PassiveHealthCheck) GetInterval() *durationpb.Duration

func (*PassiveHealthCheck) GetMaxFailures added in v1.14.0

func (x *PassiveHealthCheck) GetMaxFailures() uint32

func (*PassiveHealthCheck) MarshalBinary added in v1.14.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*PassiveHealthCheck) ProtoMessage added in v1.14.0

func (*PassiveHealthCheck) ProtoMessage()

func (*PassiveHealthCheck) ProtoReflect added in v1.14.0

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

func (*PassiveHealthCheck) Reset added in v1.14.0

func (x *PassiveHealthCheck) Reset()

func (*PassiveHealthCheck) String added in v1.14.0

func (x *PassiveHealthCheck) String() string

func (*PassiveHealthCheck) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type PeeringMeshConfig added in v1.14.0

type PeeringMeshConfig struct {
	PeerThroughMeshGateways bool `protobuf:"varint,1,opt,name=PeerThroughMeshGateways,proto3" json:"PeerThroughMeshGateways,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.PeeringMeshConfig output=config_entry.gen.go name=Structs

func (*PeeringMeshConfig) Descriptor deprecated added in v1.14.0

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

Deprecated: Use PeeringMeshConfig.ProtoReflect.Descriptor instead.

func (*PeeringMeshConfig) GetPeerThroughMeshGateways added in v1.14.0

func (x *PeeringMeshConfig) GetPeerThroughMeshGateways() bool

func (*PeeringMeshConfig) MarshalBinary added in v1.14.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*PeeringMeshConfig) ProtoMessage added in v1.14.0

func (*PeeringMeshConfig) ProtoMessage()

func (*PeeringMeshConfig) ProtoReflect added in v1.14.0

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

func (*PeeringMeshConfig) Reset added in v1.14.0

func (x *PeeringMeshConfig) Reset()

func (*PeeringMeshConfig) String added in v1.14.0

func (x *PeeringMeshConfig) String() string

func (*PeeringMeshConfig) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type ProxyMode added in v1.14.0

type ProxyMode int32
const (
	ProxyMode_ProxyModeDefault     ProxyMode = 0
	ProxyMode_ProxyModeTransparent ProxyMode = 1
	ProxyMode_ProxyModeDirect      ProxyMode = 2
)

func (ProxyMode) Descriptor added in v1.14.0

func (ProxyMode) Descriptor() protoreflect.EnumDescriptor

func (ProxyMode) Enum added in v1.14.0

func (x ProxyMode) Enum() *ProxyMode

func (ProxyMode) EnumDescriptor deprecated added in v1.14.0

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

Deprecated: Use ProxyMode.Descriptor instead.

func (ProxyMode) Number added in v1.14.0

func (x ProxyMode) Number() protoreflect.EnumNumber

func (ProxyMode) String added in v1.14.0

func (x ProxyMode) String() string

func (ProxyMode) Type added in v1.14.0

type ResourceReference added in v1.15.0

type ResourceReference struct {
	Kind        string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"Kind,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	SectionName string `protobuf:"bytes,3,opt,name=SectionName,proto3" json:"SectionName,omitempty"`
	// mog: func-to=enterpriseMetaToStructs func-from=enterpriseMetaFromStructs
	EnterpriseMeta *pbcommon.EnterpriseMeta `protobuf:"bytes,4,opt,name=EnterpriseMeta,proto3" json:"EnterpriseMeta,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.ResourceReference output=config_entry.gen.go name=Structs

func (*ResourceReference) Descriptor deprecated added in v1.15.0

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

Deprecated: Use ResourceReference.ProtoReflect.Descriptor instead.

func (*ResourceReference) GetEnterpriseMeta added in v1.15.0

func (x *ResourceReference) GetEnterpriseMeta() *pbcommon.EnterpriseMeta

func (*ResourceReference) GetKind added in v1.15.0

func (x *ResourceReference) GetKind() string

func (*ResourceReference) GetName added in v1.15.0

func (x *ResourceReference) GetName() string

func (*ResourceReference) GetSectionName added in v1.15.0

func (x *ResourceReference) GetSectionName() string

func (*ResourceReference) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*ResourceReference) ProtoMessage added in v1.15.0

func (*ResourceReference) ProtoMessage()

func (*ResourceReference) ProtoReflect added in v1.15.0

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

func (*ResourceReference) Reset added in v1.15.0

func (x *ResourceReference) Reset()

func (*ResourceReference) String added in v1.15.0

func (x *ResourceReference) String() string

func (*ResourceReference) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type RingHashConfig

type RingHashConfig struct {
	MinimumRingSize uint64 `protobuf:"varint,1,opt,name=MinimumRingSize,proto3" json:"MinimumRingSize,omitempty"`
	MaximumRingSize uint64 `protobuf:"varint,2,opt,name=MaximumRingSize,proto3" json:"MaximumRingSize,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.RingHashConfig output=config_entry.gen.go name=Structs

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) 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

type ServiceDefaults added in v1.14.0

type ServiceDefaults struct {
	Protocol string `protobuf:"bytes,1,opt,name=Protocol,proto3" json:"Protocol,omitempty"`
	// mog: func-to=proxyModeToStructs func-from=proxyModeFromStructs
	Mode             ProxyMode               `protobuf:"varint,2,opt,name=Mode,proto3,enum=hashicorp.consul.internal.configentry.ProxyMode" json:"Mode,omitempty"`
	TransparentProxy *TransparentProxyConfig `protobuf:"bytes,3,opt,name=TransparentProxy,proto3" json:"TransparentProxy,omitempty"`
	MeshGateway      *MeshGatewayConfig      `protobuf:"bytes,4,opt,name=MeshGateway,proto3" json:"MeshGateway,omitempty"`
	Expose           *ExposeConfig           `protobuf:"bytes,5,opt,name=Expose,proto3" json:"Expose,omitempty"`
	ExternalSNI      string                  `protobuf:"bytes,6,opt,name=ExternalSNI,proto3" json:"ExternalSNI,omitempty"`
	UpstreamConfig   *UpstreamConfiguration  `protobuf:"bytes,7,opt,name=UpstreamConfig,proto3" json:"UpstreamConfig,omitempty"`
	Destination      *DestinationConfig      `protobuf:"bytes,8,opt,name=Destination,proto3" json:"Destination,omitempty"`
	// mog: func-to=int func-from=int32
	MaxInboundConnections int32 `protobuf:"varint,9,opt,name=MaxInboundConnections,proto3" json:"MaxInboundConnections,omitempty"`
	// mog: func-to=int func-from=int32
	LocalConnectTimeoutMs int32 `protobuf:"varint,10,opt,name=LocalConnectTimeoutMs,proto3" json:"LocalConnectTimeoutMs,omitempty"`
	// mog: func-to=int func-from=int32
	LocalRequestTimeoutMs     int32             `protobuf:"varint,11,opt,name=LocalRequestTimeoutMs,proto3" json:"LocalRequestTimeoutMs,omitempty"`
	BalanceInboundConnections string            `protobuf:"bytes,12,opt,name=BalanceInboundConnections,proto3" json:"BalanceInboundConnections,omitempty"`
	Meta                      map[string]string `` /* 150-byte string literal not displayed */
	// mog: func-to=EnvoyExtensionsToStructs func-from=EnvoyExtensionsFromStructs
	EnvoyExtensions []*pbcommon.EnvoyExtension `protobuf:"bytes,14,rep,name=EnvoyExtensions,proto3" json:"EnvoyExtensions,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.ServiceConfigEntry output=config_entry.gen.go name=Structs ignore-fields=Kind,Name,RaftIndex,EnterpriseMeta

func (*ServiceDefaults) Descriptor deprecated added in v1.14.0

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

Deprecated: Use ServiceDefaults.ProtoReflect.Descriptor instead.

func (*ServiceDefaults) GetBalanceInboundConnections added in v1.14.0

func (x *ServiceDefaults) GetBalanceInboundConnections() string

func (*ServiceDefaults) GetDestination added in v1.14.0

func (x *ServiceDefaults) GetDestination() *DestinationConfig

func (*ServiceDefaults) GetEnvoyExtensions added in v1.15.0

func (x *ServiceDefaults) GetEnvoyExtensions() []*pbcommon.EnvoyExtension

func (*ServiceDefaults) GetExpose added in v1.14.0

func (x *ServiceDefaults) GetExpose() *ExposeConfig

func (*ServiceDefaults) GetExternalSNI added in v1.14.0

func (x *ServiceDefaults) GetExternalSNI() string

func (*ServiceDefaults) GetLocalConnectTimeoutMs added in v1.14.0

func (x *ServiceDefaults) GetLocalConnectTimeoutMs() int32

func (*ServiceDefaults) GetLocalRequestTimeoutMs added in v1.14.0

func (x *ServiceDefaults) GetLocalRequestTimeoutMs() int32

func (*ServiceDefaults) GetMaxInboundConnections added in v1.14.0

func (x *ServiceDefaults) GetMaxInboundConnections() int32

func (*ServiceDefaults) GetMeshGateway added in v1.14.0

func (x *ServiceDefaults) GetMeshGateway() *MeshGatewayConfig

func (*ServiceDefaults) GetMeta added in v1.14.0

func (x *ServiceDefaults) GetMeta() map[string]string

func (*ServiceDefaults) GetMode added in v1.14.0

func (x *ServiceDefaults) GetMode() ProxyMode

func (*ServiceDefaults) GetProtocol added in v1.14.0

func (x *ServiceDefaults) GetProtocol() string

func (*ServiceDefaults) GetTransparentProxy added in v1.14.0

func (x *ServiceDefaults) GetTransparentProxy() *TransparentProxyConfig

func (*ServiceDefaults) GetUpstreamConfig added in v1.14.0

func (x *ServiceDefaults) GetUpstreamConfig() *UpstreamConfiguration

func (*ServiceDefaults) MarshalBinary added in v1.14.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*ServiceDefaults) ProtoMessage added in v1.14.0

func (*ServiceDefaults) ProtoMessage()

func (*ServiceDefaults) ProtoReflect added in v1.14.0

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

func (*ServiceDefaults) Reset added in v1.14.0

func (x *ServiceDefaults) Reset()

func (*ServiceDefaults) String added in v1.14.0

func (x *ServiceDefaults) String() string

func (*ServiceDefaults) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type ServiceIntentions

type ServiceIntentions struct {
	Sources []*SourceIntention `protobuf:"bytes,1,rep,name=Sources,proto3" json:"Sources,omitempty"`
	Meta    map[string]string  `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.ServiceIntentionsConfigEntry output=config_entry.gen.go name=Structs ignore-fields=Kind,Name,RaftIndex,EnterpriseMeta

func (*ServiceIntentions) Descriptor deprecated

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

Deprecated: Use ServiceIntentions.ProtoReflect.Descriptor instead.

func (*ServiceIntentions) GetMeta

func (x *ServiceIntentions) GetMeta() map[string]string

func (*ServiceIntentions) GetSources

func (x *ServiceIntentions) GetSources() []*SourceIntention

func (*ServiceIntentions) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*ServiceIntentions) ProtoMessage

func (*ServiceIntentions) ProtoMessage()

func (*ServiceIntentions) ProtoReflect

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

func (*ServiceIntentions) Reset

func (x *ServiceIntentions) Reset()

func (*ServiceIntentions) String

func (x *ServiceIntentions) String() string

func (*ServiceIntentions) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type ServiceResolver

type ServiceResolver struct {
	DefaultSubset string                              `protobuf:"bytes,1,opt,name=DefaultSubset,proto3" json:"DefaultSubset,omitempty"`
	Subsets       map[string]*ServiceResolverSubset   `` /* 155-byte string literal not displayed */
	Redirect      *ServiceResolverRedirect            `protobuf:"bytes,3,opt,name=Redirect,proto3" json:"Redirect,omitempty"`
	Failover      map[string]*ServiceResolverFailover `` /* 157-byte string literal not displayed */
	// mog: func-to=structs.DurationFromProto func-from=structs.DurationToProto
	ConnectTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=ConnectTimeout,proto3" json:"ConnectTimeout,omitempty"`
	LoadBalancer   *LoadBalancer        `protobuf:"bytes,6,opt,name=LoadBalancer,proto3" json:"LoadBalancer,omitempty"`
	Meta           map[string]string    `` /* 149-byte string literal not displayed */
	// mog: func-to=structs.DurationFromProto func-from=structs.DurationToProto
	RequestTimeout *durationpb.Duration `protobuf:"bytes,8,opt,name=RequestTimeout,proto3" json:"RequestTimeout,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.ServiceResolverConfigEntry output=config_entry.gen.go name=Structs ignore-fields=Kind,Name,RaftIndex,EnterpriseMeta

func (*ServiceResolver) Descriptor deprecated

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

Deprecated: Use ServiceResolver.ProtoReflect.Descriptor instead.

func (*ServiceResolver) GetConnectTimeout

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

func (*ServiceResolver) GetDefaultSubset

func (x *ServiceResolver) GetDefaultSubset() string

func (*ServiceResolver) GetFailover

func (x *ServiceResolver) GetFailover() map[string]*ServiceResolverFailover

func (*ServiceResolver) GetLoadBalancer

func (x *ServiceResolver) GetLoadBalancer() *LoadBalancer

func (*ServiceResolver) GetMeta

func (x *ServiceResolver) GetMeta() map[string]string

func (*ServiceResolver) GetRedirect

func (x *ServiceResolver) GetRedirect() *ServiceResolverRedirect

func (*ServiceResolver) GetRequestTimeout added in v1.13.7

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

func (*ServiceResolver) GetSubsets

func (x *ServiceResolver) GetSubsets() map[string]*ServiceResolverSubset

func (*ServiceResolver) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*ServiceResolver) ProtoMessage

func (*ServiceResolver) ProtoMessage()

func (*ServiceResolver) ProtoReflect

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

func (*ServiceResolver) Reset

func (x *ServiceResolver) Reset()

func (*ServiceResolver) String

func (x *ServiceResolver) String() string

func (*ServiceResolver) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type ServiceResolverFailover

type ServiceResolverFailover struct {
	Service       string                           `protobuf:"bytes,1,opt,name=Service,proto3" json:"Service,omitempty"`
	ServiceSubset string                           `protobuf:"bytes,2,opt,name=ServiceSubset,proto3" json:"ServiceSubset,omitempty"`
	Namespace     string                           `protobuf:"bytes,3,opt,name=Namespace,proto3" json:"Namespace,omitempty"`
	Datacenters   []string                         `protobuf:"bytes,4,rep,name=Datacenters,proto3" json:"Datacenters,omitempty"`
	Targets       []*ServiceResolverFailoverTarget `protobuf:"bytes,5,rep,name=Targets,proto3" json:"Targets,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.ServiceResolverFailover output=config_entry.gen.go name=Structs

func (*ServiceResolverFailover) Descriptor deprecated

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

Deprecated: Use ServiceResolverFailover.ProtoReflect.Descriptor instead.

func (*ServiceResolverFailover) GetDatacenters

func (x *ServiceResolverFailover) GetDatacenters() []string

func (*ServiceResolverFailover) GetNamespace

func (x *ServiceResolverFailover) GetNamespace() string

func (*ServiceResolverFailover) GetService

func (x *ServiceResolverFailover) GetService() string

func (*ServiceResolverFailover) GetServiceSubset

func (x *ServiceResolverFailover) GetServiceSubset() string

func (*ServiceResolverFailover) GetTargets added in v1.14.0

func (*ServiceResolverFailover) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*ServiceResolverFailover) ProtoMessage

func (*ServiceResolverFailover) ProtoMessage()

func (*ServiceResolverFailover) ProtoReflect

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

func (*ServiceResolverFailover) Reset

func (x *ServiceResolverFailover) Reset()

func (*ServiceResolverFailover) String

func (x *ServiceResolverFailover) String() string

func (*ServiceResolverFailover) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type ServiceResolverFailoverTarget added in v1.14.0

type ServiceResolverFailoverTarget struct {
	Service       string `protobuf:"bytes,1,opt,name=Service,proto3" json:"Service,omitempty"`
	ServiceSubset string `protobuf:"bytes,2,opt,name=ServiceSubset,proto3" json:"ServiceSubset,omitempty"`
	Partition     string `protobuf:"bytes,3,opt,name=Partition,proto3" json:"Partition,omitempty"`
	Namespace     string `protobuf:"bytes,4,opt,name=Namespace,proto3" json:"Namespace,omitempty"`
	Datacenter    string `protobuf:"bytes,5,opt,name=Datacenter,proto3" json:"Datacenter,omitempty"`
	Peer          string `protobuf:"bytes,6,opt,name=Peer,proto3" json:"Peer,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.ServiceResolverFailoverTarget output=config_entry.gen.go name=Structs

func (*ServiceResolverFailoverTarget) Descriptor deprecated added in v1.14.0

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

Deprecated: Use ServiceResolverFailoverTarget.ProtoReflect.Descriptor instead.

func (*ServiceResolverFailoverTarget) GetDatacenter added in v1.14.0

func (x *ServiceResolverFailoverTarget) GetDatacenter() string

func (*ServiceResolverFailoverTarget) GetNamespace added in v1.14.0

func (x *ServiceResolverFailoverTarget) GetNamespace() string

func (*ServiceResolverFailoverTarget) GetPartition added in v1.14.0

func (x *ServiceResolverFailoverTarget) GetPartition() string

func (*ServiceResolverFailoverTarget) GetPeer added in v1.14.0

func (*ServiceResolverFailoverTarget) GetService added in v1.14.0

func (x *ServiceResolverFailoverTarget) GetService() string

func (*ServiceResolverFailoverTarget) GetServiceSubset added in v1.14.0

func (x *ServiceResolverFailoverTarget) GetServiceSubset() string

func (*ServiceResolverFailoverTarget) MarshalBinary added in v1.14.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*ServiceResolverFailoverTarget) ProtoMessage added in v1.14.0

func (*ServiceResolverFailoverTarget) ProtoMessage()

func (*ServiceResolverFailoverTarget) ProtoReflect added in v1.14.0

func (*ServiceResolverFailoverTarget) Reset added in v1.14.0

func (x *ServiceResolverFailoverTarget) Reset()

func (*ServiceResolverFailoverTarget) String added in v1.14.0

func (*ServiceResolverFailoverTarget) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type ServiceResolverRedirect

type ServiceResolverRedirect struct {
	Service       string `protobuf:"bytes,1,opt,name=Service,proto3" json:"Service,omitempty"`
	ServiceSubset string `protobuf:"bytes,2,opt,name=ServiceSubset,proto3" json:"ServiceSubset,omitempty"`
	Namespace     string `protobuf:"bytes,3,opt,name=Namespace,proto3" json:"Namespace,omitempty"`
	Partition     string `protobuf:"bytes,4,opt,name=Partition,proto3" json:"Partition,omitempty"`
	Datacenter    string `protobuf:"bytes,5,opt,name=Datacenter,proto3" json:"Datacenter,omitempty"`
	Peer          string `protobuf:"bytes,6,opt,name=Peer,proto3" json:"Peer,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.ServiceResolverRedirect output=config_entry.gen.go name=Structs

func (*ServiceResolverRedirect) Descriptor deprecated

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

Deprecated: Use ServiceResolverRedirect.ProtoReflect.Descriptor instead.

func (*ServiceResolverRedirect) GetDatacenter

func (x *ServiceResolverRedirect) GetDatacenter() string

func (*ServiceResolverRedirect) GetNamespace

func (x *ServiceResolverRedirect) GetNamespace() string

func (*ServiceResolverRedirect) GetPartition

func (x *ServiceResolverRedirect) GetPartition() string

func (*ServiceResolverRedirect) GetPeer added in v1.14.0

func (x *ServiceResolverRedirect) GetPeer() string

func (*ServiceResolverRedirect) GetService

func (x *ServiceResolverRedirect) GetService() string

func (*ServiceResolverRedirect) GetServiceSubset

func (x *ServiceResolverRedirect) GetServiceSubset() string

func (*ServiceResolverRedirect) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*ServiceResolverRedirect) ProtoMessage

func (*ServiceResolverRedirect) ProtoMessage()

func (*ServiceResolverRedirect) ProtoReflect

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

func (*ServiceResolverRedirect) Reset

func (x *ServiceResolverRedirect) Reset()

func (*ServiceResolverRedirect) String

func (x *ServiceResolverRedirect) String() string

func (*ServiceResolverRedirect) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type ServiceResolverSubset

type ServiceResolverSubset struct {
	Filter      string `protobuf:"bytes,1,opt,name=Filter,proto3" json:"Filter,omitempty"`
	OnlyPassing bool   `protobuf:"varint,2,opt,name=OnlyPassing,proto3" json:"OnlyPassing,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.ServiceResolverSubset output=config_entry.gen.go name=Structs

func (*ServiceResolverSubset) Descriptor deprecated

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

Deprecated: Use ServiceResolverSubset.ProtoReflect.Descriptor instead.

func (*ServiceResolverSubset) GetFilter

func (x *ServiceResolverSubset) GetFilter() string

func (*ServiceResolverSubset) GetOnlyPassing

func (x *ServiceResolverSubset) GetOnlyPassing() bool

func (*ServiceResolverSubset) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*ServiceResolverSubset) ProtoMessage

func (*ServiceResolverSubset) ProtoMessage()

func (*ServiceResolverSubset) ProtoReflect

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

func (*ServiceResolverSubset) Reset

func (x *ServiceResolverSubset) Reset()

func (*ServiceResolverSubset) String

func (x *ServiceResolverSubset) String() string

func (*ServiceResolverSubset) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type SourceIntention

type SourceIntention struct {
	Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	// mog: func-to=intentionActionToStructs func-from=intentionActionFromStructs
	Action      IntentionAction        `protobuf:"varint,2,opt,name=Action,proto3,enum=hashicorp.consul.internal.configentry.IntentionAction" json:"Action,omitempty"`
	Permissions []*IntentionPermission `protobuf:"bytes,3,rep,name=Permissions,proto3" json:"Permissions,omitempty"`
	// mog: func-to=int func-from=int32
	Precedence int32  `protobuf:"varint,4,opt,name=Precedence,proto3" json:"Precedence,omitempty"`
	LegacyID   string `protobuf:"bytes,5,opt,name=LegacyID,proto3" json:"LegacyID,omitempty"`
	// mog: func-to=intentionSourceTypeToStructs func-from=intentionSourceTypeFromStructs
	Type        IntentionSourceType `protobuf:"varint,6,opt,name=Type,proto3,enum=hashicorp.consul.internal.configentry.IntentionSourceType" json:"Type,omitempty"`
	Description string              `protobuf:"bytes,7,opt,name=Description,proto3" json:"Description,omitempty"`
	LegacyMeta  map[string]string   `` /* 161-byte string literal not displayed */
	// mog: func-to=timeToStructs func-from=timeFromStructs
	LegacyCreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=LegacyCreateTime,proto3" json:"LegacyCreateTime,omitempty"`
	// mog: func-to=timeToStructs func-from=timeFromStructs
	LegacyUpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=LegacyUpdateTime,proto3" json:"LegacyUpdateTime,omitempty"`
	// mog: func-to=enterpriseMetaToStructs func-from=enterpriseMetaFromStructs
	EnterpriseMeta *pbcommon.EnterpriseMeta `protobuf:"bytes,11,opt,name=EnterpriseMeta,proto3" json:"EnterpriseMeta,omitempty"`
	Peer           string                   `protobuf:"bytes,12,opt,name=Peer,proto3" json:"Peer,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.SourceIntention output=config_entry.gen.go name=Structs

func (*SourceIntention) Descriptor deprecated

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

Deprecated: Use SourceIntention.ProtoReflect.Descriptor instead.

func (*SourceIntention) GetAction

func (x *SourceIntention) GetAction() IntentionAction

func (*SourceIntention) GetDescription

func (x *SourceIntention) GetDescription() string

func (*SourceIntention) GetEnterpriseMeta

func (x *SourceIntention) GetEnterpriseMeta() *pbcommon.EnterpriseMeta

func (*SourceIntention) GetLegacyCreateTime

func (x *SourceIntention) GetLegacyCreateTime() *timestamppb.Timestamp

func (*SourceIntention) GetLegacyID

func (x *SourceIntention) GetLegacyID() string

func (*SourceIntention) GetLegacyMeta

func (x *SourceIntention) GetLegacyMeta() map[string]string

func (*SourceIntention) GetLegacyUpdateTime

func (x *SourceIntention) GetLegacyUpdateTime() *timestamppb.Timestamp

func (*SourceIntention) GetName

func (x *SourceIntention) GetName() string

func (*SourceIntention) GetPeer

func (x *SourceIntention) GetPeer() string

func (*SourceIntention) GetPermissions

func (x *SourceIntention) GetPermissions() []*IntentionPermission

func (*SourceIntention) GetPrecedence

func (x *SourceIntention) GetPrecedence() int32

func (*SourceIntention) GetType

func (x *SourceIntention) GetType() IntentionSourceType

func (*SourceIntention) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*SourceIntention) ProtoMessage

func (*SourceIntention) ProtoMessage()

func (*SourceIntention) ProtoReflect

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

func (*SourceIntention) Reset

func (x *SourceIntention) Reset()

func (*SourceIntention) String

func (x *SourceIntention) String() string

func (*SourceIntention) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type Status added in v1.15.0

type Status struct {
	Conditions []*Condition `protobuf:"bytes,1,rep,name=Conditions,proto3" json:"Conditions,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.Status output=config_entry.gen.go name=Structs

func (*Status) Descriptor deprecated added in v1.15.0

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

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetConditions added in v1.15.0

func (x *Status) GetConditions() []*Condition

func (*Status) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*Status) ProtoMessage added in v1.15.0

func (*Status) ProtoMessage()

func (*Status) ProtoReflect added in v1.15.0

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

func (*Status) Reset added in v1.15.0

func (x *Status) Reset()

func (*Status) String added in v1.15.0

func (x *Status) String() string

func (*Status) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type TCPRoute added in v1.15.0

type TCPRoute struct {
	Meta     map[string]string    `` /* 149-byte string literal not displayed */
	Parents  []*ResourceReference `protobuf:"bytes,2,rep,name=Parents,proto3" json:"Parents,omitempty"`
	Services []*TCPService        `protobuf:"bytes,3,rep,name=Services,proto3" json:"Services,omitempty"`
	Status   *Status              `protobuf:"bytes,4,opt,name=Status,proto3" json:"Status,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.TCPRouteConfigEntry output=config_entry.gen.go name=Structs ignore-fields=Kind,Name,RaftIndex,EnterpriseMeta

func (*TCPRoute) Descriptor deprecated added in v1.15.0

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

Deprecated: Use TCPRoute.ProtoReflect.Descriptor instead.

func (*TCPRoute) GetMeta added in v1.15.0

func (x *TCPRoute) GetMeta() map[string]string

func (*TCPRoute) GetParents added in v1.15.0

func (x *TCPRoute) GetParents() []*ResourceReference

func (*TCPRoute) GetServices added in v1.15.0

func (x *TCPRoute) GetServices() []*TCPService

func (*TCPRoute) GetStatus added in v1.15.0

func (x *TCPRoute) GetStatus() *Status

func (*TCPRoute) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*TCPRoute) ProtoMessage added in v1.15.0

func (*TCPRoute) ProtoMessage()

func (*TCPRoute) ProtoReflect added in v1.15.0

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

func (*TCPRoute) Reset added in v1.15.0

func (x *TCPRoute) Reset()

func (*TCPRoute) String added in v1.15.0

func (x *TCPRoute) String() string

func (*TCPRoute) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type TCPService added in v1.15.0

type TCPService struct {
	Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	// mog: func-to=enterpriseMetaToStructs func-from=enterpriseMetaFromStructs
	EnterpriseMeta *pbcommon.EnterpriseMeta `protobuf:"bytes,2,opt,name=EnterpriseMeta,proto3" json:"EnterpriseMeta,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.TCPService output=config_entry.gen.go name=Structs

func (*TCPService) Descriptor deprecated added in v1.15.0

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

Deprecated: Use TCPService.ProtoReflect.Descriptor instead.

func (*TCPService) GetEnterpriseMeta added in v1.15.0

func (x *TCPService) GetEnterpriseMeta() *pbcommon.EnterpriseMeta

func (*TCPService) GetName added in v1.15.0

func (x *TCPService) GetName() string

func (*TCPService) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*TCPService) ProtoMessage added in v1.15.0

func (*TCPService) ProtoMessage()

func (*TCPService) ProtoReflect added in v1.15.0

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

func (*TCPService) Reset added in v1.15.0

func (x *TCPService) Reset()

func (*TCPService) String added in v1.15.0

func (x *TCPService) String() string

func (*TCPService) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type TransparentProxyConfig added in v1.14.0

type TransparentProxyConfig struct {

	// mog: func-to=int func-from=int32
	OutboundListenerPort int32 `protobuf:"varint,1,opt,name=OutboundListenerPort,proto3" json:"OutboundListenerPort,omitempty"`
	DialedDirectly       bool  `protobuf:"varint,2,opt,name=DialedDirectly,proto3" json:"DialedDirectly,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.TransparentProxyConfig output=config_entry.gen.go name=Structs

func (*TransparentProxyConfig) Descriptor deprecated added in v1.14.0

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

Deprecated: Use TransparentProxyConfig.ProtoReflect.Descriptor instead.

func (*TransparentProxyConfig) GetDialedDirectly added in v1.14.0

func (x *TransparentProxyConfig) GetDialedDirectly() bool

func (*TransparentProxyConfig) GetOutboundListenerPort added in v1.14.0

func (x *TransparentProxyConfig) GetOutboundListenerPort() int32

func (*TransparentProxyConfig) MarshalBinary added in v1.14.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*TransparentProxyConfig) ProtoMessage added in v1.14.0

func (*TransparentProxyConfig) ProtoMessage()

func (*TransparentProxyConfig) ProtoReflect added in v1.14.0

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

func (*TransparentProxyConfig) Reset added in v1.14.0

func (x *TransparentProxyConfig) Reset()

func (*TransparentProxyConfig) String added in v1.14.0

func (x *TransparentProxyConfig) String() string

func (*TransparentProxyConfig) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type TransparentProxyMeshConfig

type TransparentProxyMeshConfig struct {
	MeshDestinationsOnly bool `protobuf:"varint,1,opt,name=MeshDestinationsOnly,proto3" json:"MeshDestinationsOnly,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.TransparentProxyMeshConfig output=config_entry.gen.go name=Structs

func (*TransparentProxyMeshConfig) Descriptor deprecated

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

Deprecated: Use TransparentProxyMeshConfig.ProtoReflect.Descriptor instead.

func (*TransparentProxyMeshConfig) GetMeshDestinationsOnly

func (x *TransparentProxyMeshConfig) GetMeshDestinationsOnly() bool

func (*TransparentProxyMeshConfig) MarshalBinary

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

MarshalBinary implements encoding.BinaryMarshaler

func (*TransparentProxyMeshConfig) ProtoMessage

func (*TransparentProxyMeshConfig) ProtoMessage()

func (*TransparentProxyMeshConfig) ProtoReflect

func (*TransparentProxyMeshConfig) Reset

func (x *TransparentProxyMeshConfig) Reset()

func (*TransparentProxyMeshConfig) String

func (x *TransparentProxyMeshConfig) String() string

func (*TransparentProxyMeshConfig) UnmarshalBinary

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type URLRewrite added in v1.15.0

type URLRewrite struct {
	Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.URLRewrite output=config_entry.gen.go name=Structs

func (*URLRewrite) Descriptor deprecated added in v1.15.0

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

Deprecated: Use URLRewrite.ProtoReflect.Descriptor instead.

func (*URLRewrite) GetPath added in v1.15.0

func (x *URLRewrite) GetPath() string

func (*URLRewrite) MarshalBinary added in v1.15.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*URLRewrite) ProtoMessage added in v1.15.0

func (*URLRewrite) ProtoMessage()

func (*URLRewrite) ProtoReflect added in v1.15.0

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

func (*URLRewrite) Reset added in v1.15.0

func (x *URLRewrite) Reset()

func (*URLRewrite) String added in v1.15.0

func (x *URLRewrite) String() string

func (*URLRewrite) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type UpstreamConfig added in v1.14.0

type UpstreamConfig struct {
	Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	// mog: func-to=enterpriseMetaToStructs func-from=enterpriseMetaFromStructs
	EnterpriseMeta    *pbcommon.EnterpriseMeta `protobuf:"bytes,2,opt,name=EnterpriseMeta,proto3" json:"EnterpriseMeta,omitempty"`
	EnvoyListenerJSON string                   `protobuf:"bytes,3,opt,name=EnvoyListenerJSON,proto3" json:"EnvoyListenerJSON,omitempty"`
	EnvoyClusterJSON  string                   `protobuf:"bytes,4,opt,name=EnvoyClusterJSON,proto3" json:"EnvoyClusterJSON,omitempty"`
	Protocol          string                   `protobuf:"bytes,5,opt,name=Protocol,proto3" json:"Protocol,omitempty"`
	// mog: func-to=int func-from=int32
	ConnectTimeoutMs           int32               `protobuf:"varint,6,opt,name=ConnectTimeoutMs,proto3" json:"ConnectTimeoutMs,omitempty"`
	Limits                     *UpstreamLimits     `protobuf:"bytes,7,opt,name=Limits,proto3" json:"Limits,omitempty"`
	PassiveHealthCheck         *PassiveHealthCheck `protobuf:"bytes,8,opt,name=PassiveHealthCheck,proto3" json:"PassiveHealthCheck,omitempty"`
	MeshGateway                *MeshGatewayConfig  `protobuf:"bytes,9,opt,name=MeshGateway,proto3" json:"MeshGateway,omitempty"`
	BalanceOutboundConnections string              `protobuf:"bytes,10,opt,name=BalanceOutboundConnections,proto3" json:"BalanceOutboundConnections,omitempty"`
	Peer                       string              `protobuf:"bytes,11,opt,name=Peer,proto3" json:"Peer,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.UpstreamConfig output=config_entry.gen.go name=Structs

func (*UpstreamConfig) Descriptor deprecated added in v1.14.0

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

Deprecated: Use UpstreamConfig.ProtoReflect.Descriptor instead.

func (*UpstreamConfig) GetBalanceOutboundConnections added in v1.14.0

func (x *UpstreamConfig) GetBalanceOutboundConnections() string

func (*UpstreamConfig) GetConnectTimeoutMs added in v1.14.0

func (x *UpstreamConfig) GetConnectTimeoutMs() int32

func (*UpstreamConfig) GetEnterpriseMeta added in v1.14.0

func (x *UpstreamConfig) GetEnterpriseMeta() *pbcommon.EnterpriseMeta

func (*UpstreamConfig) GetEnvoyClusterJSON added in v1.14.0

func (x *UpstreamConfig) GetEnvoyClusterJSON() string

func (*UpstreamConfig) GetEnvoyListenerJSON added in v1.14.0

func (x *UpstreamConfig) GetEnvoyListenerJSON() string

func (*UpstreamConfig) GetLimits added in v1.14.0

func (x *UpstreamConfig) GetLimits() *UpstreamLimits

func (*UpstreamConfig) GetMeshGateway added in v1.14.0

func (x *UpstreamConfig) GetMeshGateway() *MeshGatewayConfig

func (*UpstreamConfig) GetName added in v1.14.0

func (x *UpstreamConfig) GetName() string

func (*UpstreamConfig) GetPassiveHealthCheck added in v1.14.0

func (x *UpstreamConfig) GetPassiveHealthCheck() *PassiveHealthCheck

func (*UpstreamConfig) GetPeer added in v1.15.0

func (x *UpstreamConfig) GetPeer() string

func (*UpstreamConfig) GetProtocol added in v1.14.0

func (x *UpstreamConfig) GetProtocol() string

func (*UpstreamConfig) MarshalBinary added in v1.14.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*UpstreamConfig) ProtoMessage added in v1.14.0

func (*UpstreamConfig) ProtoMessage()

func (*UpstreamConfig) ProtoReflect added in v1.14.0

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

func (*UpstreamConfig) Reset added in v1.14.0

func (x *UpstreamConfig) Reset()

func (*UpstreamConfig) String added in v1.14.0

func (x *UpstreamConfig) String() string

func (*UpstreamConfig) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type UpstreamConfiguration added in v1.14.0

type UpstreamConfiguration struct {
	Overrides []*UpstreamConfig `protobuf:"bytes,1,rep,name=Overrides,proto3" json:"Overrides,omitempty"`
	Defaults  *UpstreamConfig   `protobuf:"bytes,2,opt,name=Defaults,proto3" json:"Defaults,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.UpstreamConfiguration output=config_entry.gen.go name=Structs

func (*UpstreamConfiguration) Descriptor deprecated added in v1.14.0

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

Deprecated: Use UpstreamConfiguration.ProtoReflect.Descriptor instead.

func (*UpstreamConfiguration) GetDefaults added in v1.14.0

func (x *UpstreamConfiguration) GetDefaults() *UpstreamConfig

func (*UpstreamConfiguration) GetOverrides added in v1.14.0

func (x *UpstreamConfiguration) GetOverrides() []*UpstreamConfig

func (*UpstreamConfiguration) MarshalBinary added in v1.14.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*UpstreamConfiguration) ProtoMessage added in v1.14.0

func (*UpstreamConfiguration) ProtoMessage()

func (*UpstreamConfiguration) ProtoReflect added in v1.14.0

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

func (*UpstreamConfiguration) Reset added in v1.14.0

func (x *UpstreamConfiguration) Reset()

func (*UpstreamConfiguration) String added in v1.14.0

func (x *UpstreamConfiguration) String() string

func (*UpstreamConfiguration) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

type UpstreamLimits added in v1.14.0

type UpstreamLimits struct {

	// mog: func-to=pointerToIntFromInt32 func-from=int32FromPointerToInt
	MaxConnections int32 `protobuf:"varint,1,opt,name=MaxConnections,proto3" json:"MaxConnections,omitempty"`
	// mog: func-to=pointerToIntFromInt32 func-from=int32FromPointerToInt
	MaxPendingRequests int32 `protobuf:"varint,2,opt,name=MaxPendingRequests,proto3" json:"MaxPendingRequests,omitempty"`
	// mog: func-to=pointerToIntFromInt32 func-from=int32FromPointerToInt
	MaxConcurrentRequests int32 `protobuf:"varint,3,opt,name=MaxConcurrentRequests,proto3" json:"MaxConcurrentRequests,omitempty"`
	// contains filtered or unexported fields
}

mog annotation:

target=github.com/hashicorp/consul/agent/structs.UpstreamLimits output=config_entry.gen.go name=Structs

func (*UpstreamLimits) Descriptor deprecated added in v1.14.0

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

Deprecated: Use UpstreamLimits.ProtoReflect.Descriptor instead.

func (*UpstreamLimits) GetMaxConcurrentRequests added in v1.14.0

func (x *UpstreamLimits) GetMaxConcurrentRequests() int32

func (*UpstreamLimits) GetMaxConnections added in v1.14.0

func (x *UpstreamLimits) GetMaxConnections() int32

func (*UpstreamLimits) GetMaxPendingRequests added in v1.14.0

func (x *UpstreamLimits) GetMaxPendingRequests() int32

func (*UpstreamLimits) MarshalBinary added in v1.14.0

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

MarshalBinary implements encoding.BinaryMarshaler

func (*UpstreamLimits) ProtoMessage added in v1.14.0

func (*UpstreamLimits) ProtoMessage()

func (*UpstreamLimits) ProtoReflect added in v1.14.0

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

func (*UpstreamLimits) Reset added in v1.14.0

func (x *UpstreamLimits) Reset()

func (*UpstreamLimits) String added in v1.14.0

func (x *UpstreamLimits) String() string

func (*UpstreamLimits) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary implements encoding.BinaryUnmarshaler

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL