config

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: Apache-2.0 Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Config

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

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetName

func (x *Config) GetName() string

func (*Config) GetRoutes

func (x *Config) GetRoutes() []*Route

func (*Config) GetSettings added in v0.11.0

func (x *Config) GetSettings() *Settings

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type Policy

type Policy struct {
	Id               string                         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name             string                         `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	AllowedUsers     []string                       `protobuf:"bytes,3,rep,name=allowed_users,json=allowedUsers,proto3" json:"allowed_users,omitempty"`
	AllowedGroups    []string                       `protobuf:"bytes,4,rep,name=allowed_groups,json=allowedGroups,proto3" json:"allowed_groups,omitempty"`
	AllowedDomains   []string                       `protobuf:"bytes,5,rep,name=allowed_domains,json=allowedDomains,proto3" json:"allowed_domains,omitempty"`
	AllowedIdpClaims map[string]*structpb.ListValue `` /* 199-byte string literal not displayed */
	Rego             []string                       `protobuf:"bytes,6,rep,name=rego,proto3" json:"rego,omitempty"`
	// contains filtered or unexported fields
}

func (*Policy) Descriptor deprecated

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

Deprecated: Use Policy.ProtoReflect.Descriptor instead.

func (*Policy) GetAllowedDomains

func (x *Policy) GetAllowedDomains() []string

func (*Policy) GetAllowedGroups

func (x *Policy) GetAllowedGroups() []string

func (*Policy) GetAllowedIdpClaims added in v0.11.0

func (x *Policy) GetAllowedIdpClaims() map[string]*structpb.ListValue

func (*Policy) GetAllowedUsers

func (x *Policy) GetAllowedUsers() []string

func (*Policy) GetId

func (x *Policy) GetId() string

func (*Policy) GetName

func (x *Policy) GetName() string

func (*Policy) GetRego

func (x *Policy) GetRego() []string

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect

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

func (*Policy) Reset

func (x *Policy) Reset()

func (*Policy) String

func (x *Policy) String() string

type Route

type Route struct {
	Name string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	From string   `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	To   []string `protobuf:"bytes,3,rep,name=to,proto3" json:"to,omitempty"`
	// https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/endpoint/v3/endpoint_components.proto#envoy-v3-api-msg-config-endpoint-v3-lbendpoint
	// optional load balancing weights assigned to upstream servers defined in TO
	// if not specified, all upstream servers would be assigned the same weight
	// if provided, load_balancing_weights[i] >= 1 and len(to) == len(load_balancing_weights)
	LoadBalancingWeights []uint32       `` /* 132-byte string literal not displayed */
	Redirect             *RouteRedirect `protobuf:"bytes,34,opt,name=redirect,proto3" json:"redirect,omitempty"`
	// Deprecated: Do not use.
	AllowedUsers []string `protobuf:"bytes,4,rep,name=allowed_users,json=allowedUsers,proto3" json:"allowed_users,omitempty"`
	// Deprecated: Do not use.
	AllowedGroups []string `protobuf:"bytes,5,rep,name=allowed_groups,json=allowedGroups,proto3" json:"allowed_groups,omitempty"`
	// Deprecated: Do not use.
	AllowedDomains []string `protobuf:"bytes,6,rep,name=allowed_domains,json=allowedDomains,proto3" json:"allowed_domains,omitempty"`
	// Deprecated: Do not use.
	AllowedIdpClaims                 map[string]*structpb.ListValue `` /* 200-byte string literal not displayed */
	Prefix                           string                         `protobuf:"bytes,7,opt,name=prefix,proto3" json:"prefix,omitempty"`
	Path                             string                         `protobuf:"bytes,8,opt,name=path,proto3" json:"path,omitempty"`
	Regex                            string                         `protobuf:"bytes,9,opt,name=regex,proto3" json:"regex,omitempty"`
	PrefixRewrite                    string                         `protobuf:"bytes,29,opt,name=prefix_rewrite,json=prefixRewrite,proto3" json:"prefix_rewrite,omitempty"`
	RegexRewritePattern              string                         `protobuf:"bytes,30,opt,name=regex_rewrite_pattern,json=regexRewritePattern,proto3" json:"regex_rewrite_pattern,omitempty"`
	RegexRewriteSubstitution         string                         `` /* 136-byte string literal not displayed */
	CorsAllowPreflight               bool                           `protobuf:"varint,10,opt,name=cors_allow_preflight,json=corsAllowPreflight,proto3" json:"cors_allow_preflight,omitempty"`
	AllowPublicUnauthenticatedAccess bool                           `` /* 163-byte string literal not displayed */
	AllowAnyAuthenticatedUser        bool                           `` /* 142-byte string literal not displayed */
	Timeout                          *durationpb.Duration           `protobuf:"bytes,12,opt,name=timeout,proto3" json:"timeout,omitempty"`
	AllowWebsockets                  bool                           `protobuf:"varint,13,opt,name=allow_websockets,json=allowWebsockets,proto3" json:"allow_websockets,omitempty"`
	TlsSkipVerify                    bool                           `protobuf:"varint,14,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"`
	TlsServerName                    string                         `protobuf:"bytes,15,opt,name=tls_server_name,json=tlsServerName,proto3" json:"tls_server_name,omitempty"`
	TlsCustomCa                      string                         `protobuf:"bytes,16,opt,name=tls_custom_ca,json=tlsCustomCa,proto3" json:"tls_custom_ca,omitempty"`
	TlsCustomCaFile                  string                         `protobuf:"bytes,17,opt,name=tls_custom_ca_file,json=tlsCustomCaFile,proto3" json:"tls_custom_ca_file,omitempty"`
	TlsClientCert                    string                         `protobuf:"bytes,18,opt,name=tls_client_cert,json=tlsClientCert,proto3" json:"tls_client_cert,omitempty"`
	TlsClientKey                     string                         `protobuf:"bytes,19,opt,name=tls_client_key,json=tlsClientKey,proto3" json:"tls_client_key,omitempty"`
	TlsClientCertFile                string                         `protobuf:"bytes,20,opt,name=tls_client_cert_file,json=tlsClientCertFile,proto3" json:"tls_client_cert_file,omitempty"`
	TlsClientKeyFile                 string                         `protobuf:"bytes,21,opt,name=tls_client_key_file,json=tlsClientKeyFile,proto3" json:"tls_client_key_file,omitempty"`
	TlsDownstreamClientCa            string                         `` /* 129-byte string literal not displayed */
	TlsDownstreamClientCaFile        string                         `` /* 143-byte string literal not displayed */
	SetRequestHeaders                map[string]string              `` /* 203-byte string literal not displayed */
	RemoveRequestHeaders             []string                       `protobuf:"bytes,23,rep,name=remove_request_headers,json=removeRequestHeaders,proto3" json:"remove_request_headers,omitempty"`
	PreserveHostHeader               bool                           `protobuf:"varint,24,opt,name=preserve_host_header,json=preserveHostHeader,proto3" json:"preserve_host_header,omitempty"`
	PassIdentityHeaders              bool                           `protobuf:"varint,25,opt,name=pass_identity_headers,json=passIdentityHeaders,proto3" json:"pass_identity_headers,omitempty"`
	KubernetesServiceAccountToken    string                         `` /* 153-byte string literal not displayed */
	EnvoyOpts                        *v3.Cluster                    `protobuf:"bytes,36,opt,name=envoy_opts,json=envoyOpts,proto3" json:"envoy_opts,omitempty"`
	Policies                         []*Policy                      `protobuf:"bytes,27,rep,name=policies,proto3" json:"policies,omitempty"`
	Id                               string                         `protobuf:"bytes,28,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Route) Descriptor deprecated

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

Deprecated: Use Route.ProtoReflect.Descriptor instead.

func (*Route) GetAllowAnyAuthenticatedUser added in v0.11.0

func (x *Route) GetAllowAnyAuthenticatedUser() bool

func (*Route) GetAllowPublicUnauthenticatedAccess

func (x *Route) GetAllowPublicUnauthenticatedAccess() bool

func (*Route) GetAllowWebsockets

func (x *Route) GetAllowWebsockets() bool

func (*Route) GetAllowedDomains deprecated

func (x *Route) GetAllowedDomains() []string

Deprecated: Do not use.

func (*Route) GetAllowedGroups deprecated

func (x *Route) GetAllowedGroups() []string

Deprecated: Do not use.

func (*Route) GetAllowedIdpClaims deprecated added in v0.11.0

func (x *Route) GetAllowedIdpClaims() map[string]*structpb.ListValue

Deprecated: Do not use.

func (*Route) GetAllowedUsers deprecated

func (x *Route) GetAllowedUsers() []string

Deprecated: Do not use.

func (*Route) GetCorsAllowPreflight

func (x *Route) GetCorsAllowPreflight() bool

func (*Route) GetEnvoyOpts added in v0.12.2

func (x *Route) GetEnvoyOpts() *v3.Cluster

func (*Route) GetFrom

func (x *Route) GetFrom() string

func (*Route) GetId

func (x *Route) GetId() string

func (*Route) GetKubernetesServiceAccountToken

func (x *Route) GetKubernetesServiceAccountToken() string

func (*Route) GetLoadBalancingWeights added in v0.12.2

func (x *Route) GetLoadBalancingWeights() []uint32

func (*Route) GetName

func (x *Route) GetName() string

func (*Route) GetPassIdentityHeaders

func (x *Route) GetPassIdentityHeaders() bool

func (*Route) GetPath

func (x *Route) GetPath() string

func (*Route) GetPolicies

func (x *Route) GetPolicies() []*Policy

func (*Route) GetPrefix

func (x *Route) GetPrefix() string

func (*Route) GetPrefixRewrite added in v0.11.0

func (x *Route) GetPrefixRewrite() string

func (*Route) GetPreserveHostHeader

func (x *Route) GetPreserveHostHeader() bool

func (*Route) GetRedirect added in v0.12.2

func (x *Route) GetRedirect() *RouteRedirect

func (*Route) GetRegex

func (x *Route) GetRegex() string

func (*Route) GetRegexRewritePattern added in v0.11.0

func (x *Route) GetRegexRewritePattern() string

func (*Route) GetRegexRewriteSubstitution added in v0.11.0

func (x *Route) GetRegexRewriteSubstitution() string

func (*Route) GetRemoveRequestHeaders

func (x *Route) GetRemoveRequestHeaders() []string

func (*Route) GetSetRequestHeaders

func (x *Route) GetSetRequestHeaders() map[string]string

func (*Route) GetTimeout

func (x *Route) GetTimeout() *durationpb.Duration

func (*Route) GetTlsClientCert

func (x *Route) GetTlsClientCert() string

func (*Route) GetTlsClientCertFile

func (x *Route) GetTlsClientCertFile() string

func (*Route) GetTlsClientKey

func (x *Route) GetTlsClientKey() string

func (*Route) GetTlsClientKeyFile

func (x *Route) GetTlsClientKeyFile() string

func (*Route) GetTlsCustomCa

func (x *Route) GetTlsCustomCa() string

func (*Route) GetTlsCustomCaFile

func (x *Route) GetTlsCustomCaFile() string

func (*Route) GetTlsDownstreamClientCa added in v0.12.2

func (x *Route) GetTlsDownstreamClientCa() string

func (*Route) GetTlsDownstreamClientCaFile added in v0.12.2

func (x *Route) GetTlsDownstreamClientCaFile() string

func (*Route) GetTlsServerName

func (x *Route) GetTlsServerName() string

func (*Route) GetTlsSkipVerify

func (x *Route) GetTlsSkipVerify() bool

func (*Route) GetTo

func (x *Route) GetTo() []string

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) ProtoReflect

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

func (*Route) Reset

func (x *Route) Reset()

func (*Route) String

func (x *Route) String() string

type RouteRedirect added in v0.12.2

type RouteRedirect struct {
	HttpsRedirect  *bool   `protobuf:"varint,1,opt,name=https_redirect,json=httpsRedirect,proto3,oneof" json:"https_redirect,omitempty"`
	SchemeRedirect *string `protobuf:"bytes,2,opt,name=scheme_redirect,json=schemeRedirect,proto3,oneof" json:"scheme_redirect,omitempty"`
	HostRedirect   *string `protobuf:"bytes,3,opt,name=host_redirect,json=hostRedirect,proto3,oneof" json:"host_redirect,omitempty"`
	PortRedirect   *uint32 `protobuf:"varint,4,opt,name=port_redirect,json=portRedirect,proto3,oneof" json:"port_redirect,omitempty"`
	PathRedirect   *string `protobuf:"bytes,5,opt,name=path_redirect,json=pathRedirect,proto3,oneof" json:"path_redirect,omitempty"`
	PrefixRewrite  *string `protobuf:"bytes,6,opt,name=prefix_rewrite,json=prefixRewrite,proto3,oneof" json:"prefix_rewrite,omitempty"`
	ResponseCode   *int32  `protobuf:"varint,7,opt,name=response_code,json=responseCode,proto3,oneof" json:"response_code,omitempty"`
	StripQuery     *bool   `protobuf:"varint,8,opt,name=strip_query,json=stripQuery,proto3,oneof" json:"strip_query,omitempty"`
	// contains filtered or unexported fields
}

func (*RouteRedirect) Descriptor deprecated added in v0.12.2

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

Deprecated: Use RouteRedirect.ProtoReflect.Descriptor instead.

func (*RouteRedirect) GetHostRedirect added in v0.12.2

func (x *RouteRedirect) GetHostRedirect() string

func (*RouteRedirect) GetHttpsRedirect added in v0.12.2

func (x *RouteRedirect) GetHttpsRedirect() bool

func (*RouteRedirect) GetPathRedirect added in v0.12.2

func (x *RouteRedirect) GetPathRedirect() string

func (*RouteRedirect) GetPortRedirect added in v0.12.2

func (x *RouteRedirect) GetPortRedirect() uint32

func (*RouteRedirect) GetPrefixRewrite added in v0.12.2

func (x *RouteRedirect) GetPrefixRewrite() string

func (*RouteRedirect) GetResponseCode added in v0.12.2

func (x *RouteRedirect) GetResponseCode() int32

func (*RouteRedirect) GetSchemeRedirect added in v0.12.2

func (x *RouteRedirect) GetSchemeRedirect() string

func (*RouteRedirect) GetStripQuery added in v0.12.2

func (x *RouteRedirect) GetStripQuery() bool

func (*RouteRedirect) IsSet added in v0.12.2

func (rr *RouteRedirect) IsSet() bool

IsSet returns true if one of the route redirect options has been chosen.

func (*RouteRedirect) ProtoMessage added in v0.12.2

func (*RouteRedirect) ProtoMessage()

func (*RouteRedirect) ProtoReflect added in v0.12.2

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

func (*RouteRedirect) Reset added in v0.12.2

func (x *RouteRedirect) Reset()

func (*RouteRedirect) String added in v0.12.2

func (x *RouteRedirect) String() string

type Settings added in v0.11.0

type Settings struct {
	Debug                                             *bool                   `protobuf:"varint,2,opt,name=debug,proto3,oneof" json:"debug,omitempty"`
	LogLevel                                          *string                 `protobuf:"bytes,3,opt,name=log_level,json=logLevel,proto3,oneof" json:"log_level,omitempty"`
	ProxyLogLevel                                     *string                 `protobuf:"bytes,4,opt,name=proxy_log_level,json=proxyLogLevel,proto3,oneof" json:"proxy_log_level,omitempty"`
	SharedSecret                                      *string                 `protobuf:"bytes,5,opt,name=shared_secret,json=sharedSecret,proto3,oneof" json:"shared_secret,omitempty"`
	Services                                          *string                 `protobuf:"bytes,6,opt,name=services,proto3,oneof" json:"services,omitempty"`
	Address                                           *string                 `protobuf:"bytes,7,opt,name=address,proto3,oneof" json:"address,omitempty"`
	InsecureServer                                    *bool                   `protobuf:"varint,8,opt,name=insecure_server,json=insecureServer,proto3,oneof" json:"insecure_server,omitempty"`
	DnsLookupFamily                                   *string                 `protobuf:"bytes,60,opt,name=dns_lookup_family,json=dnsLookupFamily,proto3,oneof" json:"dns_lookup_family,omitempty"`
	Certificates                                      []*Settings_Certificate `protobuf:"bytes,9,rep,name=certificates,proto3" json:"certificates,omitempty"`
	HttpRedirectAddr                                  *string                 `protobuf:"bytes,10,opt,name=http_redirect_addr,json=httpRedirectAddr,proto3,oneof" json:"http_redirect_addr,omitempty"`
	TimeoutRead                                       *durationpb.Duration    `protobuf:"bytes,11,opt,name=timeout_read,json=timeoutRead,proto3,oneof" json:"timeout_read,omitempty"`
	TimeoutWrite                                      *durationpb.Duration    `protobuf:"bytes,12,opt,name=timeout_write,json=timeoutWrite,proto3,oneof" json:"timeout_write,omitempty"`
	TimeoutIdle                                       *durationpb.Duration    `protobuf:"bytes,13,opt,name=timeout_idle,json=timeoutIdle,proto3,oneof" json:"timeout_idle,omitempty"`
	AuthenticateServiceUrl                            *string                 `` /* 136-byte string literal not displayed */
	AuthenticateCallbackPath                          *string                 `` /* 142-byte string literal not displayed */
	CookieName                                        *string                 `protobuf:"bytes,16,opt,name=cookie_name,json=cookieName,proto3,oneof" json:"cookie_name,omitempty"`
	CookieSecret                                      *string                 `protobuf:"bytes,17,opt,name=cookie_secret,json=cookieSecret,proto3,oneof" json:"cookie_secret,omitempty"`
	CookieDomain                                      *string                 `protobuf:"bytes,18,opt,name=cookie_domain,json=cookieDomain,proto3,oneof" json:"cookie_domain,omitempty"`
	CookieSecure                                      *bool                   `protobuf:"varint,19,opt,name=cookie_secure,json=cookieSecure,proto3,oneof" json:"cookie_secure,omitempty"`
	CookieHttpOnly                                    *bool                   `protobuf:"varint,20,opt,name=cookie_http_only,json=cookieHttpOnly,proto3,oneof" json:"cookie_http_only,omitempty"`
	CookieExpire                                      *durationpb.Duration    `protobuf:"bytes,21,opt,name=cookie_expire,json=cookieExpire,proto3,oneof" json:"cookie_expire,omitempty"`
	IdpClientId                                       *string                 `protobuf:"bytes,22,opt,name=idp_client_id,json=idpClientId,proto3,oneof" json:"idp_client_id,omitempty"`
	IdpClientSecret                                   *string                 `protobuf:"bytes,23,opt,name=idp_client_secret,json=idpClientSecret,proto3,oneof" json:"idp_client_secret,omitempty"`
	IdpProvider                                       *string                 `protobuf:"bytes,24,opt,name=idp_provider,json=idpProvider,proto3,oneof" json:"idp_provider,omitempty"`
	IdpProviderUrl                                    *string                 `protobuf:"bytes,25,opt,name=idp_provider_url,json=idpProviderUrl,proto3,oneof" json:"idp_provider_url,omitempty"`
	Scopes                                            []string                `protobuf:"bytes,26,rep,name=scopes,proto3" json:"scopes,omitempty"`
	IdpServiceAccount                                 *string                 `protobuf:"bytes,27,opt,name=idp_service_account,json=idpServiceAccount,proto3,oneof" json:"idp_service_account,omitempty"`
	IdpRefreshDirectoryTimeout                        *durationpb.Duration    `` /* 150-byte string literal not displayed */
	IdpRefreshDirectoryInterval                       *durationpb.Duration    `` /* 153-byte string literal not displayed */
	RequestParams                                     map[string]string       `` /* 189-byte string literal not displayed */
	AuthorizeServiceUrl                               *string                 `` /* 127-byte string literal not displayed */
	OverrideCertificateName                           *string                 `` /* 139-byte string literal not displayed */
	CertificateAuthority                              *string                 `` /* 128-byte string literal not displayed */
	CertificateAuthorityFile                          *string                 `` /* 142-byte string literal not displayed */
	SigningKey                                        *string                 `protobuf:"bytes,36,opt,name=signing_key,json=signingKey,proto3,oneof" json:"signing_key,omitempty"`
	SigningKeyAlgorithm                               *string                 `` /* 127-byte string literal not displayed */
	JwtClaimsHeaders                                  []string                `protobuf:"bytes,37,rep,name=jwt_claims_headers,json=jwtClaimsHeaders,proto3" json:"jwt_claims_headers,omitempty"`
	RefreshCooldown                                   *durationpb.Duration    `protobuf:"bytes,38,opt,name=refresh_cooldown,json=refreshCooldown,proto3,oneof" json:"refresh_cooldown,omitempty"`
	DefaultUpstreamTimeout                            *durationpb.Duration    `` /* 136-byte string literal not displayed */
	MetricsAddress                                    *string                 `protobuf:"bytes,40,opt,name=metrics_address,json=metricsAddress,proto3,oneof" json:"metrics_address,omitempty"`
	TracingProvider                                   *string                 `protobuf:"bytes,41,opt,name=tracing_provider,json=tracingProvider,proto3,oneof" json:"tracing_provider,omitempty"`
	TracingSampleRate                                 *float64                `protobuf:"fixed64,42,opt,name=tracing_sample_rate,json=tracingSampleRate,proto3,oneof" json:"tracing_sample_rate,omitempty"`
	TracingJaegerCollectorEndpoint                    *string                 `` /* 162-byte string literal not displayed */
	TracingJaegerAgentEndpoint                        *string                 `` /* 150-byte string literal not displayed */
	TracingZipkinEndpoint                             *string                 `` /* 133-byte string literal not displayed */
	GrpcAddress                                       *string                 `protobuf:"bytes,46,opt,name=grpc_address,json=grpcAddress,proto3,oneof" json:"grpc_address,omitempty"`
	GrpcInsecure                                      *bool                   `protobuf:"varint,47,opt,name=grpc_insecure,json=grpcInsecure,proto3,oneof" json:"grpc_insecure,omitempty"`
	GrpcServerMaxConnectionAge                        *durationpb.Duration    `` /* 146-byte string literal not displayed */
	GrpcServerMaxConnectionAgeGrace                   *durationpb.Duration    `` /* 163-byte string literal not displayed */
	ForwardAuthUrl                                    *string                 `protobuf:"bytes,50,opt,name=forward_auth_url,json=forwardAuthUrl,proto3,oneof" json:"forward_auth_url,omitempty"`
	DatabrokerServiceUrl                              *string                 `` /* 130-byte string literal not displayed */
	ClientCa                                          *string                 `protobuf:"bytes,53,opt,name=client_ca,json=clientCa,proto3,oneof" json:"client_ca,omitempty"`
	ClientCaFile                                      *string                 `protobuf:"bytes,54,opt,name=client_ca_file,json=clientCaFile,proto3,oneof" json:"client_ca_file,omitempty"`
	GoogleCloudServerlessAuthenticationServiceAccount *string                 `` /* 223-byte string literal not displayed */
	Autocert                                          *bool                   `protobuf:"varint,56,opt,name=autocert,proto3,oneof" json:"autocert,omitempty"`
	AutocertUseStaging                                *bool                   `protobuf:"varint,57,opt,name=autocert_use_staging,json=autocertUseStaging,proto3,oneof" json:"autocert_use_staging,omitempty"`
	AutocertMustStaple                                *bool                   `protobuf:"varint,58,opt,name=autocert_must_staple,json=autocertMustStaple,proto3,oneof" json:"autocert_must_staple,omitempty"`
	AutocertDir                                       *string                 `protobuf:"bytes,59,opt,name=autocert_dir,json=autocertDir,proto3,oneof" json:"autocert_dir,omitempty"`
	SkipXffAppend                                     *bool                   `protobuf:"varint,61,opt,name=skip_xff_append,json=skipXffAppend,proto3,oneof" json:"skip_xff_append,omitempty"`
	// contains filtered or unexported fields
}

func (*Settings) Descriptor deprecated added in v0.11.0

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

Deprecated: Use Settings.ProtoReflect.Descriptor instead.

func (*Settings) GetAddress added in v0.11.0

func (x *Settings) GetAddress() string

func (*Settings) GetAuthenticateCallbackPath added in v0.11.0

func (x *Settings) GetAuthenticateCallbackPath() string

func (*Settings) GetAuthenticateServiceUrl added in v0.11.0

func (x *Settings) GetAuthenticateServiceUrl() string

func (*Settings) GetAuthorizeServiceUrl added in v0.11.0

func (x *Settings) GetAuthorizeServiceUrl() string

func (*Settings) GetAutocert added in v0.11.0

func (x *Settings) GetAutocert() bool

func (*Settings) GetAutocertDir added in v0.11.0

func (x *Settings) GetAutocertDir() string

func (*Settings) GetAutocertMustStaple added in v0.11.0

func (x *Settings) GetAutocertMustStaple() bool

func (*Settings) GetAutocertUseStaging added in v0.11.0

func (x *Settings) GetAutocertUseStaging() bool

func (*Settings) GetCertificateAuthority added in v0.11.0

func (x *Settings) GetCertificateAuthority() string

func (*Settings) GetCertificateAuthorityFile added in v0.11.0

func (x *Settings) GetCertificateAuthorityFile() string

func (*Settings) GetCertificates added in v0.11.0

func (x *Settings) GetCertificates() []*Settings_Certificate

func (*Settings) GetClientCa added in v0.11.0

func (x *Settings) GetClientCa() string

func (*Settings) GetClientCaFile added in v0.11.0

func (x *Settings) GetClientCaFile() string

func (*Settings) GetCookieDomain added in v0.11.0

func (x *Settings) GetCookieDomain() string

func (*Settings) GetCookieExpire added in v0.11.0

func (x *Settings) GetCookieExpire() *durationpb.Duration

func (*Settings) GetCookieHttpOnly added in v0.11.0

func (x *Settings) GetCookieHttpOnly() bool

func (*Settings) GetCookieName added in v0.11.0

func (x *Settings) GetCookieName() string

func (*Settings) GetCookieSecret added in v0.11.0

func (x *Settings) GetCookieSecret() string

func (*Settings) GetCookieSecure added in v0.11.0

func (x *Settings) GetCookieSecure() bool

func (*Settings) GetDatabrokerServiceUrl added in v0.11.0

func (x *Settings) GetDatabrokerServiceUrl() string

func (*Settings) GetDebug added in v0.11.0

func (x *Settings) GetDebug() bool

func (*Settings) GetDefaultUpstreamTimeout added in v0.11.0

func (x *Settings) GetDefaultUpstreamTimeout() *durationpb.Duration

func (*Settings) GetDnsLookupFamily added in v0.11.0

func (x *Settings) GetDnsLookupFamily() string

func (*Settings) GetForwardAuthUrl added in v0.11.0

func (x *Settings) GetForwardAuthUrl() string

func (*Settings) GetGoogleCloudServerlessAuthenticationServiceAccount added in v0.11.0

func (x *Settings) GetGoogleCloudServerlessAuthenticationServiceAccount() string

func (*Settings) GetGrpcAddress added in v0.11.0

func (x *Settings) GetGrpcAddress() string

func (*Settings) GetGrpcInsecure added in v0.11.0

func (x *Settings) GetGrpcInsecure() bool

func (*Settings) GetGrpcServerMaxConnectionAge added in v0.11.0

func (x *Settings) GetGrpcServerMaxConnectionAge() *durationpb.Duration

func (*Settings) GetGrpcServerMaxConnectionAgeGrace added in v0.11.0

func (x *Settings) GetGrpcServerMaxConnectionAgeGrace() *durationpb.Duration

func (*Settings) GetHttpRedirectAddr added in v0.11.0

func (x *Settings) GetHttpRedirectAddr() string

func (*Settings) GetIdpClientId added in v0.11.0

func (x *Settings) GetIdpClientId() string

func (*Settings) GetIdpClientSecret added in v0.11.0

func (x *Settings) GetIdpClientSecret() string

func (*Settings) GetIdpProvider added in v0.11.0

func (x *Settings) GetIdpProvider() string

func (*Settings) GetIdpProviderUrl added in v0.11.0

func (x *Settings) GetIdpProviderUrl() string

func (*Settings) GetIdpRefreshDirectoryInterval added in v0.11.0

func (x *Settings) GetIdpRefreshDirectoryInterval() *durationpb.Duration

func (*Settings) GetIdpRefreshDirectoryTimeout added in v0.11.0

func (x *Settings) GetIdpRefreshDirectoryTimeout() *durationpb.Duration

func (*Settings) GetIdpServiceAccount added in v0.11.0

func (x *Settings) GetIdpServiceAccount() string

func (*Settings) GetInsecureServer added in v0.11.0

func (x *Settings) GetInsecureServer() bool

func (*Settings) GetJwtClaimsHeaders added in v0.11.0

func (x *Settings) GetJwtClaimsHeaders() []string

func (*Settings) GetLogLevel added in v0.11.0

func (x *Settings) GetLogLevel() string

func (*Settings) GetMetricsAddress added in v0.11.0

func (x *Settings) GetMetricsAddress() string

func (*Settings) GetOverrideCertificateName added in v0.11.0

func (x *Settings) GetOverrideCertificateName() string

func (*Settings) GetProxyLogLevel added in v0.11.0

func (x *Settings) GetProxyLogLevel() string

func (*Settings) GetRefreshCooldown added in v0.11.0

func (x *Settings) GetRefreshCooldown() *durationpb.Duration

func (*Settings) GetRequestParams added in v0.11.0

func (x *Settings) GetRequestParams() map[string]string

func (*Settings) GetScopes added in v0.11.0

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

func (*Settings) GetServices added in v0.11.0

func (x *Settings) GetServices() string

func (*Settings) GetSharedSecret added in v0.11.0

func (x *Settings) GetSharedSecret() string

func (*Settings) GetSigningKey added in v0.11.0

func (x *Settings) GetSigningKey() string

func (*Settings) GetSigningKeyAlgorithm added in v0.11.0

func (x *Settings) GetSigningKeyAlgorithm() string

func (*Settings) GetSkipXffAppend added in v0.12.2

func (x *Settings) GetSkipXffAppend() bool

func (*Settings) GetTimeoutIdle added in v0.11.0

func (x *Settings) GetTimeoutIdle() *durationpb.Duration

func (*Settings) GetTimeoutRead added in v0.11.0

func (x *Settings) GetTimeoutRead() *durationpb.Duration

func (*Settings) GetTimeoutWrite added in v0.11.0

func (x *Settings) GetTimeoutWrite() *durationpb.Duration

func (*Settings) GetTracingJaegerAgentEndpoint added in v0.11.0

func (x *Settings) GetTracingJaegerAgentEndpoint() string

func (*Settings) GetTracingJaegerCollectorEndpoint added in v0.11.0

func (x *Settings) GetTracingJaegerCollectorEndpoint() string

func (*Settings) GetTracingProvider added in v0.11.0

func (x *Settings) GetTracingProvider() string

func (*Settings) GetTracingSampleRate added in v0.11.0

func (x *Settings) GetTracingSampleRate() float64

func (*Settings) GetTracingZipkinEndpoint added in v0.11.0

func (x *Settings) GetTracingZipkinEndpoint() string

func (*Settings) ProtoMessage added in v0.11.0

func (*Settings) ProtoMessage()

func (*Settings) ProtoReflect added in v0.11.0

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

func (*Settings) Reset added in v0.11.0

func (x *Settings) Reset()

func (*Settings) String added in v0.11.0

func (x *Settings) String() string

type Settings_Certificate added in v0.11.0

type Settings_Certificate struct {
	CertFile  string `protobuf:"bytes,1,opt,name=cert_file,json=certFile,proto3" json:"cert_file,omitempty"`
	KeyFile   string `protobuf:"bytes,2,opt,name=key_file,json=keyFile,proto3" json:"key_file,omitempty"`
	CertBytes []byte `protobuf:"bytes,3,opt,name=cert_bytes,json=certBytes,proto3" json:"cert_bytes,omitempty"`
	KeyBytes  []byte `protobuf:"bytes,4,opt,name=key_bytes,json=keyBytes,proto3" json:"key_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*Settings_Certificate) Descriptor deprecated added in v0.11.0

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

Deprecated: Use Settings_Certificate.ProtoReflect.Descriptor instead.

func (*Settings_Certificate) GetCertBytes added in v0.11.0

func (x *Settings_Certificate) GetCertBytes() []byte

func (*Settings_Certificate) GetCertFile added in v0.11.0

func (x *Settings_Certificate) GetCertFile() string

func (*Settings_Certificate) GetKeyBytes added in v0.11.0

func (x *Settings_Certificate) GetKeyBytes() []byte

func (*Settings_Certificate) GetKeyFile added in v0.11.0

func (x *Settings_Certificate) GetKeyFile() string

func (*Settings_Certificate) ProtoMessage added in v0.11.0

func (*Settings_Certificate) ProtoMessage()

func (*Settings_Certificate) ProtoReflect added in v0.11.0

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

func (*Settings_Certificate) Reset added in v0.11.0

func (x *Settings_Certificate) Reset()

func (*Settings_Certificate) String added in v0.11.0

func (x *Settings_Certificate) String() string

Jump to

Keyboard shortcuts

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