pbconfigentry

package
v1.13.7 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MPL-2.0 Imports: 14 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",
	}
	Kind_value = map[string]int32{
		"KindUnknown":           0,
		"KindMeshConfig":        1,
		"KindServiceResolver":   2,
		"KindIngressGateway":    3,
		"KindServiceIntentions": 4,
	}
)

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 File_proto_pbconfigentry_config_entry_proto protoreflect.FileDescriptor

Functions

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

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

func HTTPHeaderModifiersToStructs

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

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

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

func RingHashConfigToStructs

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

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)

Types

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

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

func (*ConfigEntry) GetEntry

func (m *ConfigEntry) GetEntry() isConfigEntry_Entry

func (*ConfigEntry) GetIngressGateway

func (x *ConfigEntry) GetIngressGateway() *IngressGateway

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

func (x *ConfigEntry) GetServiceIntentions() *ServiceIntentions

func (*ConfigEntry) GetServiceResolver

func (x *ConfigEntry) GetServiceResolver() *ServiceResolver

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_IngressGateway

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

type ConfigEntry_MeshConfig

type ConfigEntry_MeshConfig struct {
	MeshConfig *MeshConfig `protobuf:"bytes,5,opt,name=MeshConfig,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 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 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 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 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"`
	// 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) 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"`
	// 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) 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 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
)

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 */
	// 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) 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 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 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 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"`
	// 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) 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 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"`
	// 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) 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 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

Jump to

Keyboard shortcuts

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