grpc

package
v0.0.0-...-a9d0937 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_proto_configuration_grpc_grpc_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AllAuthenticationPolicy

type AllAuthenticationPolicy struct {
	Policies []*AuthenticationPolicy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
	// contains filtered or unexported fields
}

func (*AllAuthenticationPolicy) Descriptor deprecated

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

Deprecated: Use AllAuthenticationPolicy.ProtoReflect.Descriptor instead.

func (*AllAuthenticationPolicy) GetPolicies

func (x *AllAuthenticationPolicy) GetPolicies() []*AuthenticationPolicy

func (*AllAuthenticationPolicy) ProtoMessage

func (*AllAuthenticationPolicy) ProtoMessage()

func (*AllAuthenticationPolicy) ProtoReflect

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

func (*AllAuthenticationPolicy) Reset

func (x *AllAuthenticationPolicy) Reset()

func (*AllAuthenticationPolicy) String

func (x *AllAuthenticationPolicy) String() string

type AnyAuthenticationPolicy

type AnyAuthenticationPolicy struct {
	Policies []*AuthenticationPolicy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
	// contains filtered or unexported fields
}

func (*AnyAuthenticationPolicy) Descriptor deprecated

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

Deprecated: Use AnyAuthenticationPolicy.ProtoReflect.Descriptor instead.

func (*AnyAuthenticationPolicy) GetPolicies

func (x *AnyAuthenticationPolicy) GetPolicies() []*AuthenticationPolicy

func (*AnyAuthenticationPolicy) ProtoMessage

func (*AnyAuthenticationPolicy) ProtoMessage()

func (*AnyAuthenticationPolicy) ProtoReflect

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

func (*AnyAuthenticationPolicy) Reset

func (x *AnyAuthenticationPolicy) Reset()

func (*AnyAuthenticationPolicy) String

func (x *AnyAuthenticationPolicy) String() string

type AuthenticationPolicy

type AuthenticationPolicy struct {

	// Types that are assignable to Policy:
	//
	//	*AuthenticationPolicy_Allow
	//	*AuthenticationPolicy_Any
	//	*AuthenticationPolicy_All
	//	*AuthenticationPolicy_Deny
	//	*AuthenticationPolicy_TlsClientCertificate
	//	*AuthenticationPolicy_Jwt
	//	*AuthenticationPolicy_PeerCredentialsJmespathExpression
	Policy isAuthenticationPolicy_Policy `protobuf_oneof:"policy"`
	// contains filtered or unexported fields
}

func (*AuthenticationPolicy) Descriptor deprecated

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

Deprecated: Use AuthenticationPolicy.ProtoReflect.Descriptor instead.

func (*AuthenticationPolicy) GetAll

func (*AuthenticationPolicy) GetAllow

func (*AuthenticationPolicy) GetAny

func (*AuthenticationPolicy) GetDeny

func (x *AuthenticationPolicy) GetDeny() string

func (*AuthenticationPolicy) GetJwt

func (*AuthenticationPolicy) GetPeerCredentialsJmespathExpression

func (x *AuthenticationPolicy) GetPeerCredentialsJmespathExpression() string

func (*AuthenticationPolicy) GetPolicy

func (m *AuthenticationPolicy) GetPolicy() isAuthenticationPolicy_Policy

func (*AuthenticationPolicy) GetTlsClientCertificate

func (x *AuthenticationPolicy) GetTlsClientCertificate() *TLSClientCertificateAuthenticationPolicy

func (*AuthenticationPolicy) ProtoMessage

func (*AuthenticationPolicy) ProtoMessage()

func (*AuthenticationPolicy) ProtoReflect

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

func (*AuthenticationPolicy) Reset

func (x *AuthenticationPolicy) Reset()

func (*AuthenticationPolicy) String

func (x *AuthenticationPolicy) String() string

type AuthenticationPolicy_All

type AuthenticationPolicy_All struct {
	All *AllAuthenticationPolicy `protobuf:"bytes,7,opt,name=all,proto3,oneof"`
}

type AuthenticationPolicy_Allow

type AuthenticationPolicy_Allow struct {
	Allow *auth.AuthenticationMetadata `protobuf:"bytes,1,opt,name=allow,proto3,oneof"`
}

type AuthenticationPolicy_Any

type AuthenticationPolicy_Any struct {
	Any *AnyAuthenticationPolicy `protobuf:"bytes,2,opt,name=any,proto3,oneof"`
}

type AuthenticationPolicy_Deny

type AuthenticationPolicy_Deny struct {
	Deny string `protobuf:"bytes,3,opt,name=deny,proto3,oneof"`
}

type AuthenticationPolicy_Jwt

type AuthenticationPolicy_Jwt struct {
	Jwt *jwt.AuthorizationHeaderParserConfiguration `protobuf:"bytes,5,opt,name=jwt,proto3,oneof"`
}

type AuthenticationPolicy_PeerCredentialsJmespathExpression

type AuthenticationPolicy_PeerCredentialsJmespathExpression struct {
	PeerCredentialsJmespathExpression string `protobuf:"bytes,6,opt,name=peer_credentials_jmespath_expression,json=peerCredentialsJmespathExpression,proto3,oneof"`
}

type AuthenticationPolicy_TlsClientCertificate

type AuthenticationPolicy_TlsClientCertificate struct {
	TlsClientCertificate *TLSClientCertificateAuthenticationPolicy `protobuf:"bytes,4,opt,name=tls_client_certificate,json=tlsClientCertificate,proto3,oneof"`
}

type ClientConfiguration

type ClientConfiguration struct {
	Address                       string                                 `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Tls                           *tls.ClientConfiguration               `protobuf:"bytes,2,opt,name=tls,proto3" json:"tls,omitempty"`
	Keepalive                     *ClientKeepaliveConfiguration          `protobuf:"bytes,3,opt,name=keepalive,proto3" json:"keepalive,omitempty"`
	AddMetadata                   []*ClientConfiguration_HeaderValues    `protobuf:"bytes,5,rep,name=add_metadata,json=addMetadata,proto3" json:"add_metadata,omitempty"`
	AddMetadataJmespathExpression string                                 `` /* 153-byte string literal not displayed */
	Oauth                         *ClientOAuthConfiguration              `protobuf:"bytes,6,opt,name=oauth,proto3" json:"oauth,omitempty"`
	InitialWindowSizeBytes        int32                                  `` /* 132-byte string literal not displayed */
	InitialConnWindowSizeBytes    int32                                  `` /* 146-byte string literal not displayed */
	ProxyUrl                      string                                 `protobuf:"bytes,10,opt,name=proxy_url,json=proxyUrl,proto3" json:"proxy_url,omitempty"`
	Tracing                       map[string]*TracingMethodConfiguration `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ClientConfiguration) Descriptor deprecated

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

Deprecated: Use ClientConfiguration.ProtoReflect.Descriptor instead.

func (*ClientConfiguration) GetAddMetadata

func (*ClientConfiguration) GetAddMetadataJmespathExpression

func (x *ClientConfiguration) GetAddMetadataJmespathExpression() string

func (*ClientConfiguration) GetAddress

func (x *ClientConfiguration) GetAddress() string

func (*ClientConfiguration) GetInitialConnWindowSizeBytes

func (x *ClientConfiguration) GetInitialConnWindowSizeBytes() int32

func (*ClientConfiguration) GetInitialWindowSizeBytes

func (x *ClientConfiguration) GetInitialWindowSizeBytes() int32

func (*ClientConfiguration) GetKeepalive

func (*ClientConfiguration) GetOauth

func (*ClientConfiguration) GetProxyUrl

func (x *ClientConfiguration) GetProxyUrl() string

func (*ClientConfiguration) GetTls

func (*ClientConfiguration) GetTracing

func (*ClientConfiguration) ProtoMessage

func (*ClientConfiguration) ProtoMessage()

func (*ClientConfiguration) ProtoReflect

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

func (*ClientConfiguration) Reset

func (x *ClientConfiguration) Reset()

func (*ClientConfiguration) String

func (x *ClientConfiguration) String() string

type ClientConfiguration_HeaderValues

type ClientConfiguration_HeaderValues struct {
	Header string   `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientConfiguration_HeaderValues) Descriptor deprecated

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

Deprecated: Use ClientConfiguration_HeaderValues.ProtoReflect.Descriptor instead.

func (*ClientConfiguration_HeaderValues) GetHeader

func (*ClientConfiguration_HeaderValues) GetValues

func (x *ClientConfiguration_HeaderValues) GetValues() []string

func (*ClientConfiguration_HeaderValues) ProtoMessage

func (*ClientConfiguration_HeaderValues) ProtoMessage()

func (*ClientConfiguration_HeaderValues) ProtoReflect

func (*ClientConfiguration_HeaderValues) Reset

func (*ClientConfiguration_HeaderValues) String

type ClientKeepaliveConfiguration

type ClientKeepaliveConfiguration struct {
	Time                *durationpb.Duration `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	Timeout             *durationpb.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	PermitWithoutStream bool                 `protobuf:"varint,3,opt,name=permit_without_stream,json=permitWithoutStream,proto3" json:"permit_without_stream,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientKeepaliveConfiguration) Descriptor deprecated

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

Deprecated: Use ClientKeepaliveConfiguration.ProtoReflect.Descriptor instead.

func (*ClientKeepaliveConfiguration) GetPermitWithoutStream

func (x *ClientKeepaliveConfiguration) GetPermitWithoutStream() bool

func (*ClientKeepaliveConfiguration) GetTime

func (*ClientKeepaliveConfiguration) GetTimeout

func (*ClientKeepaliveConfiguration) ProtoMessage

func (*ClientKeepaliveConfiguration) ProtoMessage()

func (*ClientKeepaliveConfiguration) ProtoReflect

func (*ClientKeepaliveConfiguration) Reset

func (x *ClientKeepaliveConfiguration) Reset()

func (*ClientKeepaliveConfiguration) String

type ClientOAuthConfiguration

type ClientOAuthConfiguration struct {

	// Types that are assignable to Credentials:
	//
	//	*ClientOAuthConfiguration_GoogleDefaultCredentials
	//	*ClientOAuthConfiguration_ServiceAccountKey
	Credentials isClientOAuthConfiguration_Credentials `protobuf_oneof:"credentials"`
	Scopes      []string                               `protobuf:"bytes,3,rep,name=scopes,proto3" json:"scopes,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientOAuthConfiguration) Descriptor deprecated

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

Deprecated: Use ClientOAuthConfiguration.ProtoReflect.Descriptor instead.

func (*ClientOAuthConfiguration) GetCredentials

func (m *ClientOAuthConfiguration) GetCredentials() isClientOAuthConfiguration_Credentials

func (*ClientOAuthConfiguration) GetGoogleDefaultCredentials

func (x *ClientOAuthConfiguration) GetGoogleDefaultCredentials() *emptypb.Empty

func (*ClientOAuthConfiguration) GetScopes

func (x *ClientOAuthConfiguration) GetScopes() []string

func (*ClientOAuthConfiguration) GetServiceAccountKey

func (x *ClientOAuthConfiguration) GetServiceAccountKey() string

func (*ClientOAuthConfiguration) ProtoMessage

func (*ClientOAuthConfiguration) ProtoMessage()

func (*ClientOAuthConfiguration) ProtoReflect

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

func (*ClientOAuthConfiguration) Reset

func (x *ClientOAuthConfiguration) Reset()

func (*ClientOAuthConfiguration) String

func (x *ClientOAuthConfiguration) String() string

type ClientOAuthConfiguration_GoogleDefaultCredentials

type ClientOAuthConfiguration_GoogleDefaultCredentials struct {
	GoogleDefaultCredentials *emptypb.Empty `protobuf:"bytes,1,opt,name=google_default_credentials,json=googleDefaultCredentials,proto3,oneof"`
}

type ClientOAuthConfiguration_ServiceAccountKey

type ClientOAuthConfiguration_ServiceAccountKey struct {
	ServiceAccountKey string `protobuf:"bytes,2,opt,name=service_account_key,json=serviceAccountKey,proto3,oneof"`
}

type ServerConfiguration

type ServerConfiguration struct {
	ListenAddresses                 []string                               `protobuf:"bytes,1,rep,name=listen_addresses,json=listenAddresses,proto3" json:"listen_addresses,omitempty"`
	ListenPaths                     []string                               `protobuf:"bytes,2,rep,name=listen_paths,json=listenPaths,proto3" json:"listen_paths,omitempty"`
	Tls                             *tls.ServerConfiguration               `protobuf:"bytes,3,opt,name=tls,proto3" json:"tls,omitempty"`
	AuthenticationPolicy            *AuthenticationPolicy                  `protobuf:"bytes,4,opt,name=authentication_policy,json=authenticationPolicy,proto3" json:"authentication_policy,omitempty"`
	MaximumReceivedMessageSizeBytes int64                                  `` /* 161-byte string literal not displayed */
	KeepaliveEnforcementPolicy      *ServerKeepaliveEnforcementPolicy      `` /* 141-byte string literal not displayed */
	HealthCheckService              string                                 `protobuf:"bytes,7,opt,name=health_check_service,json=healthCheckService,proto3" json:"health_check_service,omitempty"`
	InitialWindowSizeBytes          int32                                  `` /* 132-byte string literal not displayed */
	InitialConnWindowSizeBytes      int32                                  `` /* 146-byte string literal not displayed */
	Tracing                         map[string]*TracingMethodConfiguration `` /* 156-byte string literal not displayed */
	KeepaliveParameters             *ServerKeepaliveParameters             `protobuf:"bytes,11,opt,name=keepalive_parameters,json=keepaliveParameters,proto3" json:"keepalive_parameters,omitempty"`
	StopGracefully                  bool                                   `protobuf:"varint,12,opt,name=stop_gracefully,json=stopGracefully,proto3" json:"stop_gracefully,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerConfiguration) Descriptor deprecated

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

Deprecated: Use ServerConfiguration.ProtoReflect.Descriptor instead.

func (*ServerConfiguration) GetAuthenticationPolicy

func (x *ServerConfiguration) GetAuthenticationPolicy() *AuthenticationPolicy

func (*ServerConfiguration) GetHealthCheckService

func (x *ServerConfiguration) GetHealthCheckService() string

func (*ServerConfiguration) GetInitialConnWindowSizeBytes

func (x *ServerConfiguration) GetInitialConnWindowSizeBytes() int32

func (*ServerConfiguration) GetInitialWindowSizeBytes

func (x *ServerConfiguration) GetInitialWindowSizeBytes() int32

func (*ServerConfiguration) GetKeepaliveEnforcementPolicy

func (x *ServerConfiguration) GetKeepaliveEnforcementPolicy() *ServerKeepaliveEnforcementPolicy

func (*ServerConfiguration) GetKeepaliveParameters

func (x *ServerConfiguration) GetKeepaliveParameters() *ServerKeepaliveParameters

func (*ServerConfiguration) GetListenAddresses

func (x *ServerConfiguration) GetListenAddresses() []string

func (*ServerConfiguration) GetListenPaths

func (x *ServerConfiguration) GetListenPaths() []string

func (*ServerConfiguration) GetMaximumReceivedMessageSizeBytes

func (x *ServerConfiguration) GetMaximumReceivedMessageSizeBytes() int64

func (*ServerConfiguration) GetStopGracefully

func (x *ServerConfiguration) GetStopGracefully() bool

func (*ServerConfiguration) GetTls

func (*ServerConfiguration) GetTracing

func (*ServerConfiguration) ProtoMessage

func (*ServerConfiguration) ProtoMessage()

func (*ServerConfiguration) ProtoReflect

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

func (*ServerConfiguration) Reset

func (x *ServerConfiguration) Reset()

func (*ServerConfiguration) String

func (x *ServerConfiguration) String() string

type ServerKeepaliveEnforcementPolicy

type ServerKeepaliveEnforcementPolicy struct {
	MinTime             *durationpb.Duration `protobuf:"bytes,1,opt,name=min_time,json=minTime,proto3" json:"min_time,omitempty"`
	PermitWithoutStream bool                 `protobuf:"varint,2,opt,name=permit_without_stream,json=permitWithoutStream,proto3" json:"permit_without_stream,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerKeepaliveEnforcementPolicy) Descriptor deprecated

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

Deprecated: Use ServerKeepaliveEnforcementPolicy.ProtoReflect.Descriptor instead.

func (*ServerKeepaliveEnforcementPolicy) GetMinTime

func (*ServerKeepaliveEnforcementPolicy) GetPermitWithoutStream

func (x *ServerKeepaliveEnforcementPolicy) GetPermitWithoutStream() bool

func (*ServerKeepaliveEnforcementPolicy) ProtoMessage

func (*ServerKeepaliveEnforcementPolicy) ProtoMessage()

func (*ServerKeepaliveEnforcementPolicy) ProtoReflect

func (*ServerKeepaliveEnforcementPolicy) Reset

func (*ServerKeepaliveEnforcementPolicy) String

type ServerKeepaliveParameters

type ServerKeepaliveParameters struct {
	MaxConnectionIdle     *durationpb.Duration `protobuf:"bytes,1,opt,name=max_connection_idle,json=maxConnectionIdle,proto3" json:"max_connection_idle,omitempty"`
	MaxConnectionAge      *durationpb.Duration `protobuf:"bytes,2,opt,name=max_connection_age,json=maxConnectionAge,proto3" json:"max_connection_age,omitempty"`
	MaxConnectionAgeGrace *durationpb.Duration `` /* 128-byte string literal not displayed */
	Time                  *durationpb.Duration `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
	Timeout               *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerKeepaliveParameters) Descriptor deprecated

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

Deprecated: Use ServerKeepaliveParameters.ProtoReflect.Descriptor instead.

func (*ServerKeepaliveParameters) GetMaxConnectionAge

func (x *ServerKeepaliveParameters) GetMaxConnectionAge() *durationpb.Duration

func (*ServerKeepaliveParameters) GetMaxConnectionAgeGrace

func (x *ServerKeepaliveParameters) GetMaxConnectionAgeGrace() *durationpb.Duration

func (*ServerKeepaliveParameters) GetMaxConnectionIdle

func (x *ServerKeepaliveParameters) GetMaxConnectionIdle() *durationpb.Duration

func (*ServerKeepaliveParameters) GetTime

func (*ServerKeepaliveParameters) GetTimeout

func (*ServerKeepaliveParameters) ProtoMessage

func (*ServerKeepaliveParameters) ProtoMessage()

func (*ServerKeepaliveParameters) ProtoReflect

func (*ServerKeepaliveParameters) Reset

func (x *ServerKeepaliveParameters) Reset()

func (*ServerKeepaliveParameters) String

func (x *ServerKeepaliveParameters) String() string

type TLSClientCertificateAuthenticationPolicy

type TLSClientCertificateAuthenticationPolicy struct {
	ClientCertificateAuthorities         string `` /* 147-byte string literal not displayed */
	ValidationJmespathExpression         string `` /* 147-byte string literal not displayed */
	MetadataExtractionJmespathExpression string `` /* 173-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TLSClientCertificateAuthenticationPolicy) Descriptor deprecated

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

Deprecated: Use TLSClientCertificateAuthenticationPolicy.ProtoReflect.Descriptor instead.

func (*TLSClientCertificateAuthenticationPolicy) GetClientCertificateAuthorities

func (x *TLSClientCertificateAuthenticationPolicy) GetClientCertificateAuthorities() string

func (*TLSClientCertificateAuthenticationPolicy) GetMetadataExtractionJmespathExpression

func (x *TLSClientCertificateAuthenticationPolicy) GetMetadataExtractionJmespathExpression() string

func (*TLSClientCertificateAuthenticationPolicy) GetValidationJmespathExpression

func (x *TLSClientCertificateAuthenticationPolicy) GetValidationJmespathExpression() string

func (*TLSClientCertificateAuthenticationPolicy) ProtoMessage

func (*TLSClientCertificateAuthenticationPolicy) ProtoReflect

func (*TLSClientCertificateAuthenticationPolicy) Reset

func (*TLSClientCertificateAuthenticationPolicy) String

type TracingMethodConfiguration

type TracingMethodConfiguration struct {
	AttributesFromFirstRequestMessage  []string `` /* 166-byte string literal not displayed */
	AttributesFromFirstResponseMessage []string `` /* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TracingMethodConfiguration) Descriptor deprecated

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

Deprecated: Use TracingMethodConfiguration.ProtoReflect.Descriptor instead.

func (*TracingMethodConfiguration) GetAttributesFromFirstRequestMessage

func (x *TracingMethodConfiguration) GetAttributesFromFirstRequestMessage() []string

func (*TracingMethodConfiguration) GetAttributesFromFirstResponseMessage

func (x *TracingMethodConfiguration) GetAttributesFromFirstResponseMessage() []string

func (*TracingMethodConfiguration) ProtoMessage

func (*TracingMethodConfiguration) ProtoMessage()

func (*TracingMethodConfiguration) ProtoReflect

func (*TracingMethodConfiguration) Reset

func (x *TracingMethodConfiguration) Reset()

func (*TracingMethodConfiguration) String

func (x *TracingMethodConfiguration) String() string

Jump to

Keyboard shortcuts

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