Documentation ¶
Index ¶
- Variables
- type Config
- type Policy
- func (*Policy) Descriptor() ([]byte, []int)deprecated
- func (x *Policy) GetAllowedDomains() []string
- func (x *Policy) GetAllowedGroups() []string
- func (x *Policy) GetAllowedUsers() []string
- func (x *Policy) GetId() string
- func (x *Policy) GetName() string
- func (x *Policy) GetRego() []string
- func (*Policy) ProtoMessage()
- func (x *Policy) ProtoReflect() protoreflect.Message
- func (x *Policy) Reset()
- func (x *Policy) String() string
- type Route
- func (*Route) Descriptor() ([]byte, []int)deprecated
- func (x *Route) GetAllowPublicUnauthenticatedAccess() bool
- func (x *Route) GetAllowWebsockets() bool
- func (x *Route) GetAllowedDomains() []stringdeprecated
- func (x *Route) GetAllowedGroups() []stringdeprecated
- func (x *Route) GetAllowedUsers() []stringdeprecated
- func (x *Route) GetCorsAllowPreflight() bool
- func (x *Route) GetFrom() string
- func (x *Route) GetId() string
- func (x *Route) GetKubernetesServiceAccountToken() string
- func (x *Route) GetName() string
- func (x *Route) GetPassIdentityHeaders() bool
- func (x *Route) GetPath() string
- func (x *Route) GetPolicies() []*Policy
- func (x *Route) GetPrefix() string
- func (x *Route) GetPreserveHostHeader() bool
- func (x *Route) GetRegex() string
- func (x *Route) GetRemoveRequestHeaders() []string
- func (x *Route) GetSetRequestHeaders() map[string]string
- func (x *Route) GetTimeout() *duration.Duration
- func (x *Route) GetTlsClientCert() string
- func (x *Route) GetTlsClientCertFile() string
- func (x *Route) GetTlsClientKey() string
- func (x *Route) GetTlsClientKeyFile() string
- func (x *Route) GetTlsCustomCa() string
- func (x *Route) GetTlsCustomCaFile() string
- func (x *Route) GetTlsServerName() string
- func (x *Route) GetTlsSkipVerify() bool
- func (x *Route) GetTo() string
- func (*Route) ProtoMessage()
- func (x *Route) ProtoReflect() protoreflect.Message
- func (x *Route) Reset()
- func (x *Route) String() string
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"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
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"` Rego []string `protobuf:"bytes,6,rep,name=rego,proto3" json:"rego,omitempty"` // contains filtered or unexported fields }
func (*Policy) Descriptor
deprecated
func (*Policy) GetAllowedDomains ¶
func (*Policy) GetAllowedGroups ¶
func (*Policy) GetAllowedUsers ¶
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) ProtoReflect ¶
func (x *Policy) ProtoReflect() protoreflect.Message
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,opt,name=to,proto3" json:"to,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"` 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"` 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 */ Timeout *duration.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"` 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 */ 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) GetAllowPublicUnauthenticatedAccess ¶
func (*Route) GetAllowWebsockets ¶
func (*Route) GetAllowedDomains
deprecated
func (*Route) GetAllowedGroups
deprecated
func (*Route) GetAllowedUsers
deprecated
func (*Route) GetCorsAllowPreflight ¶
func (*Route) GetKubernetesServiceAccountToken ¶
func (*Route) GetPassIdentityHeaders ¶
func (*Route) GetPolicies ¶
func (*Route) GetPreserveHostHeader ¶
func (*Route) GetRemoveRequestHeaders ¶
func (*Route) GetSetRequestHeaders ¶
func (*Route) GetTimeout ¶
func (*Route) GetTlsClientCert ¶
func (*Route) GetTlsClientCertFile ¶
func (*Route) GetTlsClientKey ¶
func (*Route) GetTlsClientKeyFile ¶
func (*Route) GetTlsCustomCa ¶
func (*Route) GetTlsCustomCaFile ¶
func (*Route) GetTlsServerName ¶
func (*Route) GetTlsSkipVerify ¶
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) ProtoReflect ¶
func (x *Route) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.