Documentation ¶
Index ¶
- Variables
- type Bootstrap
- type Cert
- type Data
- type Data_Vault
- func (*Data_Vault) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Vault) GetAddr() string
- func (x *Data_Vault) GetAuthPath() string
- func (x *Data_Vault) GetCert() *Cert
- func (x *Data_Vault) GetRoleID() string
- func (x *Data_Vault) GetSecretID() string
- func (x *Data_Vault) GetToken() string
- func (*Data_Vault) ProtoMessage()
- func (x *Data_Vault) ProtoReflect() protoreflect.Message
- func (x *Data_Vault) Reset()
- func (x *Data_Vault) String() string
- type Data_Zipkin
- type Nautes
- type Server
- func (*Server) Descriptor() ([]byte, []int)deprecated
- func (x *Server) GetAuthorization() *Server_Authorization
- func (x *Server) GetHttp() *Server_HTTP
- func (x *Server) GetNautes() *Nautes
- func (*Server) ProtoMessage()
- func (x *Server) ProtoReflect() protoreflect.Message
- func (x *Server) Reset()
- func (x *Server) String() string
- type Server_Authorization
- func (*Server_Authorization) Descriptor() ([]byte, []int)deprecated
- func (x *Server_Authorization) GetPermission() *Server_Authorization_Casbin
- func (x *Server_Authorization) GetResource() *Server_Authorization_Casbin
- func (*Server_Authorization) ProtoMessage()
- func (x *Server_Authorization) ProtoReflect() protoreflect.Message
- func (x *Server_Authorization) Reset()
- func (x *Server_Authorization) String() string
- type Server_Authorization_Casbin
- func (*Server_Authorization_Casbin) Descriptor() ([]byte, []int)deprecated
- func (x *Server_Authorization_Casbin) GetAcl() string
- func (*Server_Authorization_Casbin) ProtoMessage()
- func (x *Server_Authorization_Casbin) ProtoReflect() protoreflect.Message
- func (x *Server_Authorization_Casbin) Reset()
- func (x *Server_Authorization_Casbin) String() string
- type Server_HTTP
- func (*Server_HTTP) Descriptor() ([]byte, []int)deprecated
- func (x *Server_HTTP) GetAddr() string
- func (x *Server_HTTP) GetCert() *Cert
- func (x *Server_HTTP) GetNetwork() string
- func (x *Server_HTTP) GetTimeout() *durationpb.Duration
- func (*Server_HTTP) ProtoMessage()
- func (x *Server_HTTP) ProtoReflect() protoreflect.Message
- func (x *Server_HTTP) Reset()
- func (x *Server_HTTP) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_conf_conf_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Bootstrap ¶
type Bootstrap struct { Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` Data *Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Bootstrap) Descriptor
deprecated
func (*Bootstrap) ProtoMessage ¶
func (*Bootstrap) ProtoMessage()
func (*Bootstrap) ProtoReflect ¶
func (x *Bootstrap) ProtoReflect() protoreflect.Message
type Cert ¶
type Cert struct { // Verify client key pair CaCert string `protobuf:"bytes,1,opt,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"` // Server side https keypair CertFile string `protobuf:"bytes,2,opt,name=cert_file,json=certFile,proto3" json:"cert_file,omitempty"` KeyFile string `protobuf:"bytes,3,opt,name=key_file,json=keyFile,proto3" json:"key_file,omitempty"` // contains filtered or unexported fields }
func (*Cert) Descriptor
deprecated
func (*Cert) GetCertFile ¶
func (*Cert) GetKeyFile ¶
func (*Cert) ProtoMessage ¶
func (*Cert) ProtoMessage()
func (*Cert) ProtoReflect ¶
func (x *Cert) ProtoReflect() protoreflect.Message
type Data ¶
type Data struct { // Use to connect vault backend Vault *Data_Vault `protobuf:"bytes,1,opt,name=vault,proto3" json:"vault,omitempty"` Zipkin *Data_Zipkin `protobuf:"bytes,2,opt,name=zipkin,proto3" json:"zipkin,omitempty"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
func (*Data) GetVault ¶
func (x *Data) GetVault() *Data_Vault
func (*Data) GetZipkin ¶
func (x *Data) GetZipkin() *Data_Zipkin
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type Data_Vault ¶
type Data_Vault struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Cert *Cert `protobuf:"bytes,3,opt,name=cert,proto3" json:"cert,omitempty"` AuthPath string `protobuf:"bytes,4,opt,name=authPath,proto3" json:"authPath,omitempty"` RoleID string `protobuf:"bytes,5,opt,name=roleID,proto3" json:"roleID,omitempty"` SecretID string `protobuf:"bytes,6,opt,name=secretID,proto3" json:"secretID,omitempty"` // contains filtered or unexported fields }
func (*Data_Vault) Descriptor
deprecated
func (*Data_Vault) Descriptor() ([]byte, []int)
Deprecated: Use Data_Vault.ProtoReflect.Descriptor instead.
func (*Data_Vault) GetAddr ¶
func (x *Data_Vault) GetAddr() string
func (*Data_Vault) GetAuthPath ¶
func (x *Data_Vault) GetAuthPath() string
func (*Data_Vault) GetCert ¶
func (x *Data_Vault) GetCert() *Cert
func (*Data_Vault) GetRoleID ¶
func (x *Data_Vault) GetRoleID() string
func (*Data_Vault) GetSecretID ¶
func (x *Data_Vault) GetSecretID() string
func (*Data_Vault) GetToken ¶
func (x *Data_Vault) GetToken() string
func (*Data_Vault) ProtoMessage ¶
func (*Data_Vault) ProtoMessage()
func (*Data_Vault) ProtoReflect ¶
func (x *Data_Vault) ProtoReflect() protoreflect.Message
func (*Data_Vault) Reset ¶
func (x *Data_Vault) Reset()
func (*Data_Vault) String ¶
func (x *Data_Vault) String() string
type Data_Zipkin ¶
type Data_Zipkin struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*Data_Zipkin) Descriptor
deprecated
func (*Data_Zipkin) Descriptor() ([]byte, []int)
Deprecated: Use Data_Zipkin.ProtoReflect.Descriptor instead.
func (*Data_Zipkin) GetUrl ¶
func (x *Data_Zipkin) GetUrl() string
func (*Data_Zipkin) ProtoMessage ¶
func (*Data_Zipkin) ProtoMessage()
func (*Data_Zipkin) ProtoReflect ¶
func (x *Data_Zipkin) ProtoReflect() protoreflect.Message
func (*Data_Zipkin) Reset ¶
func (x *Data_Zipkin) Reset()
func (*Data_Zipkin) String ¶
func (x *Data_Zipkin) String() string
type Nautes ¶
type Nautes struct { TenantName []string `protobuf:"bytes,1,rep,name=tenant_name,json=tenantName,proto3" json:"tenant_name,omitempty"` // contains filtered or unexported fields }
func (*Nautes) Descriptor
deprecated
func (*Nautes) GetTenantName ¶
func (*Nautes) ProtoMessage ¶
func (*Nautes) ProtoMessage()
func (*Nautes) ProtoReflect ¶
func (x *Nautes) ProtoReflect() protoreflect.Message
type Server ¶
type Server struct { Http *Server_HTTP `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"` Authorization *Server_Authorization `protobuf:"bytes,2,opt,name=authorization,proto3" json:"authorization,omitempty"` Nautes *Nautes `protobuf:"bytes,3,opt,name=nautes,proto3" json:"nautes,omitempty"` // contains filtered or unexported fields }
func (*Server) Descriptor
deprecated
func (*Server) GetAuthorization ¶
func (x *Server) GetAuthorization() *Server_Authorization
func (*Server) GetHttp ¶
func (x *Server) GetHttp() *Server_HTTP
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶
func (x *Server) ProtoReflect() protoreflect.Message
type Server_Authorization ¶
type Server_Authorization struct { Resource *Server_Authorization_Casbin `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Permission *Server_Authorization_Casbin `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"` // contains filtered or unexported fields }
func (*Server_Authorization) Descriptor
deprecated
func (*Server_Authorization) Descriptor() ([]byte, []int)
Deprecated: Use Server_Authorization.ProtoReflect.Descriptor instead.
func (*Server_Authorization) GetPermission ¶
func (x *Server_Authorization) GetPermission() *Server_Authorization_Casbin
func (*Server_Authorization) GetResource ¶
func (x *Server_Authorization) GetResource() *Server_Authorization_Casbin
func (*Server_Authorization) ProtoMessage ¶
func (*Server_Authorization) ProtoMessage()
func (*Server_Authorization) ProtoReflect ¶
func (x *Server_Authorization) ProtoReflect() protoreflect.Message
func (*Server_Authorization) Reset ¶
func (x *Server_Authorization) Reset()
func (*Server_Authorization) String ¶
func (x *Server_Authorization) String() string
type Server_Authorization_Casbin ¶
type Server_Authorization_Casbin struct { Acl string `protobuf:"bytes,1,opt,name=acl,proto3" json:"acl,omitempty"` // contains filtered or unexported fields }
func (*Server_Authorization_Casbin) Descriptor
deprecated
func (*Server_Authorization_Casbin) Descriptor() ([]byte, []int)
Deprecated: Use Server_Authorization_Casbin.ProtoReflect.Descriptor instead.
func (*Server_Authorization_Casbin) GetAcl ¶
func (x *Server_Authorization_Casbin) GetAcl() string
func (*Server_Authorization_Casbin) ProtoMessage ¶
func (*Server_Authorization_Casbin) ProtoMessage()
func (*Server_Authorization_Casbin) ProtoReflect ¶
func (x *Server_Authorization_Casbin) ProtoReflect() protoreflect.Message
func (*Server_Authorization_Casbin) Reset ¶
func (x *Server_Authorization_Casbin) Reset()
func (*Server_Authorization_Casbin) String ¶
func (x *Server_Authorization_Casbin) String() string
type Server_HTTP ¶
type Server_HTTP struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` Cert *Cert `protobuf:"bytes,4,opt,name=cert,proto3" json:"cert,omitempty"` // contains filtered or unexported fields }
func (*Server_HTTP) Descriptor
deprecated
func (*Server_HTTP) Descriptor() ([]byte, []int)
Deprecated: Use Server_HTTP.ProtoReflect.Descriptor instead.
func (*Server_HTTP) GetAddr ¶
func (x *Server_HTTP) GetAddr() string
func (*Server_HTTP) GetCert ¶
func (x *Server_HTTP) GetCert() *Cert
func (*Server_HTTP) GetNetwork ¶
func (x *Server_HTTP) GetNetwork() string
func (*Server_HTTP) GetTimeout ¶
func (x *Server_HTTP) GetTimeout() *durationpb.Duration
func (*Server_HTTP) ProtoMessage ¶
func (*Server_HTTP) ProtoMessage()
func (*Server_HTTP) ProtoReflect ¶
func (x *Server_HTTP) ProtoReflect() protoreflect.Message
func (*Server_HTTP) Reset ¶
func (x *Server_HTTP) Reset()
func (*Server_HTTP) String ¶
func (x *Server_HTTP) String() string
Click to show internal directories.
Click to hide internal directories.