conf

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Bootstrap.ProtoReflect.Descriptor instead.

func (*Bootstrap) GetData

func (x *Bootstrap) GetData() *Data

func (*Bootstrap) GetServer

func (x *Bootstrap) GetServer() *Server

func (*Bootstrap) ProtoMessage

func (*Bootstrap) ProtoMessage()

func (*Bootstrap) ProtoReflect

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

func (*Bootstrap) Reset

func (x *Bootstrap) Reset()

func (*Bootstrap) String

func (x *Bootstrap) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Cert.ProtoReflect.Descriptor instead.

func (*Cert) GetCaCert

func (x *Cert) GetCaCert() string

func (*Cert) GetCertFile

func (x *Cert) GetCertFile() string

func (*Cert) GetKeyFile

func (x *Cert) GetKeyFile() string

func (*Cert) ProtoMessage

func (*Cert) ProtoMessage()

func (*Cert) ProtoReflect

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

func (*Cert) Reset

func (x *Cert) Reset()

func (*Cert) String

func (x *Cert) String() string

type Data

type Data struct {

	// Use to connect vault backend
	Vault *Data_Vault `protobuf:"bytes,1,opt,name=vault,proto3" json:"vault,omitempty"`
	// contains filtered or unexported fields
}

func (*Data) Descriptor deprecated

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

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetVault

func (x *Data) GetVault() *Data_Vault

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

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

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

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 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) Descriptor() ([]byte, []int)

Deprecated: Use Nautes.ProtoReflect.Descriptor instead.

func (*Nautes) GetTenantName

func (x *Nautes) GetTenantName() []string

func (*Nautes) ProtoMessage

func (*Nautes) ProtoMessage()

func (*Nautes) ProtoReflect

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

func (*Nautes) Reset

func (x *Nautes) Reset()

func (*Nautes) String

func (x *Nautes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Server.ProtoReflect.Descriptor instead.

func (*Server) GetAuthorization

func (x *Server) GetAuthorization() *Server_Authorization

func (*Server) GetHttp

func (x *Server) GetHttp() *Server_HTTP

func (*Server) GetNautes

func (x *Server) GetNautes() *Nautes

func (*Server) ProtoMessage

func (*Server) ProtoMessage()

func (*Server) ProtoReflect

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

func (*Server) Reset

func (x *Server) Reset()

func (*Server) String

func (x *Server) String() string

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 (*Server_Authorization) GetResource

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 (*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

Jump to

Keyboard shortcuts

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