rpc

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TokenMetadataKey         = "token"
	JwtTokenMetadataKey      = "jwt-token"
	InternalTokenMetadataKey = "internal-token"

	ServerHostname = "rpcserver.heimdallr.local"
)

Variables

View Source
var (
	UserType_name = map[int32]string{
		0: "NORMAL",
		1: "SERVICE_ACCOUNT",
	}
	UserType_value = map[string]int32{
		"NORMAL":          0,
		"SERVICE_ACCOUNT": 1,
	}
)

Enum value maps for UserType.

View Source
var File_pkg_rpc_rpc_proto protoreflect.FileDescriptor

Functions

func RegisterAdminServer

func RegisterAdminServer(s *grpc.Server, srv AdminServer)

func RegisterCertificateAuthorityServer

func RegisterCertificateAuthorityServer(s *grpc.Server, srv CertificateAuthorityServer)

func RegisterClusterServer

func RegisterClusterServer(s *grpc.Server, srv ClusterServer)

func RegisterUserServer added in v0.8.0

func RegisterUserServer(s *grpc.Server, srv UserServer)

Types

type AccessTokenItem

type AccessTokenItem struct {
	Name     string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value    string                 `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Issuer   string                 `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"`
	IssuedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessTokenItem) Descriptor deprecated

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

Deprecated: Use AccessTokenItem.ProtoReflect.Descriptor instead.

func (*AccessTokenItem) GetIssuedAt

func (x *AccessTokenItem) GetIssuedAt() *timestamppb.Timestamp

func (*AccessTokenItem) GetIssuer

func (x *AccessTokenItem) GetIssuer() string

func (*AccessTokenItem) GetName

func (x *AccessTokenItem) GetName() string

func (*AccessTokenItem) GetValue

func (x *AccessTokenItem) GetValue() string

func (*AccessTokenItem) ProtoMessage

func (*AccessTokenItem) ProtoMessage()

func (*AccessTokenItem) ProtoReflect

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

func (*AccessTokenItem) Reset

func (x *AccessTokenItem) Reset()

func (*AccessTokenItem) String

func (x *AccessTokenItem) String() string

type AdminClient

AdminClient is the client API for Admin service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAdminClient

func NewAdminClient(cc grpc.ClientConnInterface) AdminClient

type Agent

type Agent struct {
	Name        string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	FromAddr    string                 `protobuf:"bytes,2,opt,name=from_addr,json=fromAddr,proto3" json:"from_addr,omitempty"`
	ConnectedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=connected_at,json=connectedAt,proto3" json:"connected_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Agent) Descriptor deprecated

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

Deprecated: Use Agent.ProtoReflect.Descriptor instead.

func (*Agent) GetConnectedAt

func (x *Agent) GetConnectedAt() *timestamppb.Timestamp

func (*Agent) GetFromAddr

func (x *Agent) GetFromAddr() string

func (*Agent) GetName

func (x *Agent) GetName() string

func (*Agent) ProtoMessage

func (*Agent) ProtoMessage()

func (*Agent) ProtoReflect

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

func (*Agent) Reset

func (x *Agent) Reset()

func (*Agent) String

func (x *Agent) String() string

type BackendItem

type BackendItem struct {
	Name          string         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Fqdn          string         `protobuf:"bytes,2,opt,name=fqdn,proto3" json:"fqdn,omitempty"`
	HttpBackends  []*HTTPBackend `protobuf:"bytes,3,rep,name=http_backends,json=httpBackends,proto3" json:"http_backends,omitempty"`
	SocketBackend *SocketBackend `protobuf:"bytes,4,opt,name=socket_backend,json=socketBackend,proto3" json:"socket_backend,omitempty"`
	Host          string         `protobuf:"bytes,5,opt,name=host,proto3" json:"host,omitempty"`
	Description   string         `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*BackendItem) Descriptor deprecated

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

Deprecated: Use BackendItem.ProtoReflect.Descriptor instead.

func (*BackendItem) GetDescription added in v0.13.0

func (x *BackendItem) GetDescription() string

func (*BackendItem) GetFqdn

func (x *BackendItem) GetFqdn() string

func (*BackendItem) GetHost added in v0.13.0

func (x *BackendItem) GetHost() string

func (*BackendItem) GetHttpBackends added in v0.11.0

func (x *BackendItem) GetHttpBackends() []*HTTPBackend

func (*BackendItem) GetName

func (x *BackendItem) GetName() string

func (*BackendItem) GetSocketBackend added in v0.11.0

func (x *BackendItem) GetSocketBackend() *SocketBackend

func (*BackendItem) ProtoMessage

func (*BackendItem) ProtoMessage()

func (*BackendItem) ProtoReflect

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

func (*BackendItem) Reset

func (x *BackendItem) Reset()

func (*BackendItem) String

func (x *BackendItem) String() string

type CARequestGet

type CARequestGet struct {
	SerialNumber []byte `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	// contains filtered or unexported fields
}

func (*CARequestGet) Descriptor deprecated

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

Deprecated: Use CARequestGet.ProtoReflect.Descriptor instead.

func (*CARequestGet) GetSerialNumber

func (x *CARequestGet) GetSerialNumber() []byte

func (*CARequestGet) ProtoMessage

func (*CARequestGet) ProtoMessage()

func (*CARequestGet) ProtoReflect

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

func (*CARequestGet) Reset

func (x *CARequestGet) Reset()

func (*CARequestGet) String

func (x *CARequestGet) String() string

type CARequestRevoke

type CARequestRevoke struct {
	SerialNumber []byte `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	// contains filtered or unexported fields
}

func (*CARequestRevoke) Descriptor deprecated

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

Deprecated: Use CARequestRevoke.ProtoReflect.Descriptor instead.

func (*CARequestRevoke) GetSerialNumber

func (x *CARequestRevoke) GetSerialNumber() []byte

func (*CARequestRevoke) ProtoMessage

func (*CARequestRevoke) ProtoMessage()

func (*CARequestRevoke) ProtoReflect

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

func (*CARequestRevoke) Reset

func (x *CARequestRevoke) Reset()

func (*CARequestRevoke) String

func (x *CARequestRevoke) String() string

type CAResponseGet

type CAResponseGet struct {
	Item *CertItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*CAResponseGet) Descriptor deprecated

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

Deprecated: Use CAResponseGet.ProtoReflect.Descriptor instead.

func (*CAResponseGet) GetItem

func (x *CAResponseGet) GetItem() *CertItem

func (*CAResponseGet) ProtoMessage

func (*CAResponseGet) ProtoMessage()

func (*CAResponseGet) ProtoReflect

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

func (*CAResponseGet) Reset

func (x *CAResponseGet) Reset()

func (*CAResponseGet) String

func (x *CAResponseGet) String() string

type CAResponseRevoke

type CAResponseRevoke struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*CAResponseRevoke) Descriptor deprecated

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

Deprecated: Use CAResponseRevoke.ProtoReflect.Descriptor instead.

func (*CAResponseRevoke) GetOk

func (x *CAResponseRevoke) GetOk() bool

func (*CAResponseRevoke) ProtoMessage

func (*CAResponseRevoke) ProtoMessage()

func (*CAResponseRevoke) ProtoReflect

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

func (*CAResponseRevoke) Reset

func (x *CAResponseRevoke) Reset()

func (*CAResponseRevoke) String

func (x *CAResponseRevoke) String() string

type CertItem

type CertItem struct {
	SerialNumber []byte                 `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	CommonName   string                 `protobuf:"bytes,2,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"`
	IssuedAt     *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
	RevokedAt    *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=revoked_at,json=revokedAt,proto3" json:"revoked_at,omitempty"`
	Agent        bool                   `protobuf:"varint,5,opt,name=agent,proto3" json:"agent,omitempty"`
	Comment      string                 `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"`
	Certificate  []byte                 `protobuf:"bytes,7,opt,name=certificate,proto3" json:"certificate,omitempty"`
	P12          []byte                 `protobuf:"bytes,8,opt,name=p12,proto3" json:"p12,omitempty"`
	HasP12       bool                   `protobuf:"varint,9,opt,name=has_p12,json=hasP12,proto3" json:"has_p12,omitempty"`
	Device       bool                   `protobuf:"varint,10,opt,name=device,proto3" json:"device,omitempty"`
	// contains filtered or unexported fields
}

func DatabaseCertToRPCCert

func DatabaseCertToRPCCert(in *database.SignedCertificate) *CertItem

func DatabaseCertToRPCCertWithByte

func DatabaseCertToRPCCertWithByte(in *database.SignedCertificate) *CertItem

func DatabaseRevokedCertToRPCCert

func DatabaseRevokedCertToRPCCert(in *database.RevokedCertificate) *CertItem

func (*CertItem) Descriptor deprecated

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

Deprecated: Use CertItem.ProtoReflect.Descriptor instead.

func (*CertItem) GetAgent

func (x *CertItem) GetAgent() bool

func (*CertItem) GetCertificate

func (x *CertItem) GetCertificate() []byte

func (*CertItem) GetComment

func (x *CertItem) GetComment() string

func (*CertItem) GetCommonName

func (x *CertItem) GetCommonName() string

func (*CertItem) GetDevice added in v0.12.0

func (x *CertItem) GetDevice() bool

func (*CertItem) GetHasP12

func (x *CertItem) GetHasP12() bool

func (*CertItem) GetIssuedAt

func (x *CertItem) GetIssuedAt() *timestamppb.Timestamp

func (*CertItem) GetP12

func (x *CertItem) GetP12() []byte

func (*CertItem) GetRevokedAt

func (x *CertItem) GetRevokedAt() *timestamppb.Timestamp

func (*CertItem) GetSerialNumber

func (x *CertItem) GetSerialNumber() []byte

func (*CertItem) ProtoMessage

func (*CertItem) ProtoMessage()

func (*CertItem) ProtoReflect

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

func (*CertItem) Reset

func (x *CertItem) Reset()

func (*CertItem) String

func (x *CertItem) String() string

type CertificateAuthorityClient

CertificateAuthorityClient is the client API for CertificateAuthority service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type CertificateAuthorityServer

CertificateAuthorityServer is the server API for CertificateAuthority service.

type CertificateAuthority_WatchRevokedCertClient

type CertificateAuthority_WatchRevokedCertClient interface {
	Recv() (*ResponseWatchRevokedCert, error)
	grpc.ClientStream
}

type CertificateAuthority_WatchRevokedCertServer

type CertificateAuthority_WatchRevokedCertServer interface {
	Send(*ResponseWatchRevokedCert) error
	grpc.ServerStream
}

type ClusterClient

type ClusterClient interface {
	MemberList(ctx context.Context, in *RequestMemberList, opts ...grpc.CallOption) (*ResponseMemberList, error)
	MemberStat(ctx context.Context, in *RequestMemberStat, opts ...grpc.CallOption) (*ResponseMemberStat, error)
	AgentList(ctx context.Context, in *RequestAgentList, opts ...grpc.CallOption) (*ResponseAgentList, error)
}

ClusterClient is the client API for Cluster service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewClusterClient

func NewClusterClient(cc grpc.ClientConnInterface) ClusterClient

type ClusterMember

type ClusterMember struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterMember) Descriptor deprecated

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

Deprecated: Use ClusterMember.ProtoReflect.Descriptor instead.

func (*ClusterMember) GetId

func (x *ClusterMember) GetId() string

func (*ClusterMember) ProtoMessage

func (*ClusterMember) ProtoMessage()

func (*ClusterMember) ProtoReflect

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

func (*ClusterMember) Reset

func (x *ClusterMember) Reset()

func (*ClusterMember) String

func (x *ClusterMember) String() string

type ClusterServer

ClusterServer is the server API for Cluster service.

type ErrorUnauthorized

type ErrorUnauthorized struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*ErrorUnauthorized) Descriptor deprecated

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

Deprecated: Use ErrorUnauthorized.ProtoReflect.Descriptor instead.

func (*ErrorUnauthorized) GetEndpoint

func (x *ErrorUnauthorized) GetEndpoint() string

func (*ErrorUnauthorized) ProtoMessage

func (*ErrorUnauthorized) ProtoMessage()

func (*ErrorUnauthorized) ProtoReflect

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

func (*ErrorUnauthorized) Reset

func (x *ErrorUnauthorized) Reset()

func (*ErrorUnauthorized) String

func (x *ErrorUnauthorized) String() string

type HTTPBackend added in v0.11.0

type HTTPBackend struct {
	Path  string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Agent bool   `protobuf:"varint,2,opt,name=agent,proto3" json:"agent,omitempty"`
	// contains filtered or unexported fields
}

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

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

Deprecated: Use HTTPBackend.ProtoReflect.Descriptor instead.

func (*HTTPBackend) GetAgent added in v0.11.0

func (x *HTTPBackend) GetAgent() bool

func (*HTTPBackend) GetPath added in v0.11.0

func (x *HTTPBackend) GetPath() string

func (*HTTPBackend) ProtoMessage added in v0.11.0

func (*HTTPBackend) ProtoMessage()

func (*HTTPBackend) ProtoReflect added in v0.11.0

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

func (*HTTPBackend) Reset added in v0.11.0

func (x *HTTPBackend) Reset()

func (*HTTPBackend) String added in v0.11.0

func (x *HTTPBackend) String() string

type MethodMatcher

type MethodMatcher struct {
	// contains filtered or unexported fields
}

func NewMethodMatcher

func NewMethodMatcher() *MethodMatcher

func (MethodMatcher) Add

func (m MethodMatcher) Add(method string) error

func (*MethodMatcher) Freeze

func (m *MethodMatcher) Freeze()

func (*MethodMatcher) Match

func (m *MethodMatcher) Match(method string) bool

type RequestAgentList

type RequestAgentList struct {
	// contains filtered or unexported fields
}

func (*RequestAgentList) Descriptor deprecated

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

Deprecated: Use RequestAgentList.ProtoReflect.Descriptor instead.

func (*RequestAgentList) ProtoMessage

func (*RequestAgentList) ProtoMessage()

func (*RequestAgentList) ProtoReflect

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

func (*RequestAgentList) Reset

func (x *RequestAgentList) Reset()

func (*RequestAgentList) String

func (x *RequestAgentList) String() string

type RequestBackendList

type RequestBackendList struct {
	Agent bool `protobuf:"varint,1,opt,name=agent,proto3" json:"agent,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestBackendList) Descriptor deprecated

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

Deprecated: Use RequestBackendList.ProtoReflect.Descriptor instead.

func (*RequestBackendList) GetAgent

func (x *RequestBackendList) GetAgent() bool

func (*RequestBackendList) ProtoMessage

func (*RequestBackendList) ProtoMessage()

func (*RequestBackendList) ProtoReflect

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

func (*RequestBackendList) Reset

func (x *RequestBackendList) Reset()

func (*RequestBackendList) String

func (x *RequestBackendList) String() string

type RequestBecomeMaintainer

type RequestBecomeMaintainer struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestBecomeMaintainer) Descriptor deprecated

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

Deprecated: Use RequestBecomeMaintainer.ProtoReflect.Descriptor instead.

func (*RequestBecomeMaintainer) GetId

func (x *RequestBecomeMaintainer) GetId() string

func (*RequestBecomeMaintainer) GetRole

func (x *RequestBecomeMaintainer) GetRole() string

func (*RequestBecomeMaintainer) ProtoMessage

func (*RequestBecomeMaintainer) ProtoMessage()

func (*RequestBecomeMaintainer) ProtoReflect

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

func (*RequestBecomeMaintainer) Reset

func (x *RequestBecomeMaintainer) Reset()

func (*RequestBecomeMaintainer) String

func (x *RequestBecomeMaintainer) String() string

type RequestGetBackends added in v0.13.0

type RequestGetBackends struct {
	// contains filtered or unexported fields
}

func (*RequestGetBackends) Descriptor deprecated added in v0.13.0

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

Deprecated: Use RequestGetBackends.ProtoReflect.Descriptor instead.

func (*RequestGetBackends) ProtoMessage added in v0.13.0

func (*RequestGetBackends) ProtoMessage()

func (*RequestGetBackends) ProtoReflect added in v0.13.0

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

func (*RequestGetBackends) Reset added in v0.13.0

func (x *RequestGetBackends) Reset()

func (*RequestGetBackends) String added in v0.13.0

func (x *RequestGetBackends) String() string

type RequestGetPublicKey

type RequestGetPublicKey struct {
	// contains filtered or unexported fields
}

func (*RequestGetPublicKey) Descriptor deprecated

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

Deprecated: Use RequestGetPublicKey.ProtoReflect.Descriptor instead.

func (*RequestGetPublicKey) ProtoMessage

func (*RequestGetPublicKey) ProtoMessage()

func (*RequestGetPublicKey) ProtoReflect

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

func (*RequestGetPublicKey) Reset

func (x *RequestGetPublicKey) Reset()

func (*RequestGetPublicKey) String

func (x *RequestGetPublicKey) String() string

type RequestGetRevokedList

type RequestGetRevokedList struct {
	// contains filtered or unexported fields
}

func (*RequestGetRevokedList) Descriptor deprecated

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

Deprecated: Use RequestGetRevokedList.ProtoReflect.Descriptor instead.

func (*RequestGetRevokedList) ProtoMessage

func (*RequestGetRevokedList) ProtoMessage()

func (*RequestGetRevokedList) ProtoReflect

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

func (*RequestGetRevokedList) Reset

func (x *RequestGetRevokedList) Reset()

func (*RequestGetRevokedList) String

func (x *RequestGetRevokedList) String() string

type RequestGetSignedList

type RequestGetSignedList struct {
	CommonName string `protobuf:"bytes,1,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"`
	Device     bool   `protobuf:"varint,2,opt,name=device,proto3" json:"device,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestGetSignedList) Descriptor deprecated

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

Deprecated: Use RequestGetSignedList.ProtoReflect.Descriptor instead.

func (*RequestGetSignedList) GetCommonName added in v0.12.0

func (x *RequestGetSignedList) GetCommonName() string

func (*RequestGetSignedList) GetDevice added in v0.12.0

func (x *RequestGetSignedList) GetDevice() bool

func (*RequestGetSignedList) ProtoMessage

func (*RequestGetSignedList) ProtoMessage()

func (*RequestGetSignedList) ProtoReflect

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

func (*RequestGetSignedList) Reset

func (x *RequestGetSignedList) Reset()

func (*RequestGetSignedList) SetCommonName added in v0.12.0

func (x *RequestGetSignedList) SetCommonName(v string)

func (*RequestGetSignedList) SetDevice added in v0.12.0

func (x *RequestGetSignedList) SetDevice(v bool)

func (*RequestGetSignedList) String

func (x *RequestGetSignedList) String() string

type RequestMemberList

type RequestMemberList struct {
	// contains filtered or unexported fields
}

func (*RequestMemberList) Descriptor deprecated

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

Deprecated: Use RequestMemberList.ProtoReflect.Descriptor instead.

func (*RequestMemberList) ProtoMessage

func (*RequestMemberList) ProtoMessage()

func (*RequestMemberList) ProtoReflect

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

func (*RequestMemberList) Reset

func (x *RequestMemberList) Reset()

func (*RequestMemberList) String

func (x *RequestMemberList) String() string

type RequestMemberStat

type RequestMemberStat struct {
	// contains filtered or unexported fields
}

func (*RequestMemberStat) Descriptor deprecated

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

Deprecated: Use RequestMemberStat.ProtoReflect.Descriptor instead.

func (*RequestMemberStat) ProtoMessage

func (*RequestMemberStat) ProtoMessage()

func (*RequestMemberStat) ProtoReflect

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

func (*RequestMemberStat) Reset

func (x *RequestMemberStat) Reset()

func (*RequestMemberStat) String

func (x *RequestMemberStat) String() string

type RequestNewClientCert

type RequestNewClientCert struct {
	CommonName         string `protobuf:"bytes,1,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"`
	Password           string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Comment            string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	Agent              bool   `protobuf:"varint,4,opt,name=agent,proto3" json:"agent,omitempty"`
	Csr                string `protobuf:"bytes,5,opt,name=csr,proto3" json:"csr,omitempty"`
	KeyType            string `protobuf:"bytes,6,opt,name=key_type,json=keyType,proto3" json:"key_type,omitempty"`
	KeyBits            int32  `protobuf:"varint,7,opt,name=key_bits,json=keyBits,proto3" json:"key_bits,omitempty"`
	OverrideCommonName string `protobuf:"bytes,8,opt,name=override_common_name,json=overrideCommonName,proto3" json:"override_common_name,omitempty"`
	Device             bool   `protobuf:"varint,9,opt,name=device,proto3" json:"device,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestNewClientCert) Descriptor deprecated

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

Deprecated: Use RequestNewClientCert.ProtoReflect.Descriptor instead.

func (*RequestNewClientCert) GetAgent

func (x *RequestNewClientCert) GetAgent() bool

func (*RequestNewClientCert) GetComment

func (x *RequestNewClientCert) GetComment() string

func (*RequestNewClientCert) GetCommonName

func (x *RequestNewClientCert) GetCommonName() string

func (*RequestNewClientCert) GetCsr

func (x *RequestNewClientCert) GetCsr() string

func (*RequestNewClientCert) GetDevice added in v0.12.0

func (x *RequestNewClientCert) GetDevice() bool

func (*RequestNewClientCert) GetKeyBits

func (x *RequestNewClientCert) GetKeyBits() int32

func (*RequestNewClientCert) GetKeyType

func (x *RequestNewClientCert) GetKeyType() string

func (*RequestNewClientCert) GetOverrideCommonName added in v0.12.0

func (x *RequestNewClientCert) GetOverrideCommonName() string

func (*RequestNewClientCert) GetPassword

func (x *RequestNewClientCert) GetPassword() string

func (*RequestNewClientCert) ProtoMessage

func (*RequestNewClientCert) ProtoMessage()

func (*RequestNewClientCert) ProtoReflect

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

func (*RequestNewClientCert) Reset

func (x *RequestNewClientCert) Reset()

func (*RequestNewClientCert) SetComment added in v0.12.0

func (x *RequestNewClientCert) SetComment(c string)

func (*RequestNewClientCert) SetCommonName added in v0.12.0

func (x *RequestNewClientCert) SetCommonName(v string)

func (*RequestNewClientCert) SetDevice added in v0.12.0

func (x *RequestNewClientCert) SetDevice(v bool)

func (*RequestNewClientCert) SetOverrideCommonName added in v0.12.0

func (x *RequestNewClientCert) SetOverrideCommonName(v string)

func (*RequestNewClientCert) String

func (x *RequestNewClientCert) String() string

type RequestNewServerCert

type RequestNewServerCert struct {
	SigningRequest []byte `protobuf:"bytes,1,opt,name=signing_request,json=signingRequest,proto3" json:"signing_request,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestNewServerCert) Descriptor deprecated

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

Deprecated: Use RequestNewServerCert.ProtoReflect.Descriptor instead.

func (*RequestNewServerCert) GetSigningRequest

func (x *RequestNewServerCert) GetSigningRequest() []byte

func (*RequestNewServerCert) ProtoMessage

func (*RequestNewServerCert) ProtoMessage()

func (*RequestNewServerCert) ProtoReflect

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

func (*RequestNewServerCert) Reset

func (x *RequestNewServerCert) Reset()

func (*RequestNewServerCert) String

func (x *RequestNewServerCert) String() string

type RequestPing

type RequestPing struct {
	// contains filtered or unexported fields
}

func (*RequestPing) Descriptor deprecated

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

Deprecated: Use RequestPing.ProtoReflect.Descriptor instead.

func (*RequestPing) ProtoMessage

func (*RequestPing) ProtoMessage()

func (*RequestPing) ProtoReflect

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

func (*RequestPing) Reset

func (x *RequestPing) Reset()

func (*RequestPing) String

func (x *RequestPing) String() string

type RequestRoleList

type RequestRoleList struct {
	// contains filtered or unexported fields
}

func (*RequestRoleList) Descriptor deprecated

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

Deprecated: Use RequestRoleList.ProtoReflect.Descriptor instead.

func (*RequestRoleList) ProtoMessage

func (*RequestRoleList) ProtoMessage()

func (*RequestRoleList) ProtoReflect

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

func (*RequestRoleList) Reset

func (x *RequestRoleList) Reset()

func (*RequestRoleList) String

func (x *RequestRoleList) String() string

type RequestSignRequest

type RequestSignRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestSignRequest) Descriptor deprecated

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

Deprecated: Use RequestSignRequest.ProtoReflect.Descriptor instead.

func (*RequestSignRequest) GetUserId

func (x *RequestSignRequest) GetUserId() string

func (*RequestSignRequest) ProtoMessage

func (*RequestSignRequest) ProtoMessage()

func (*RequestSignRequest) ProtoReflect

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

func (*RequestSignRequest) Reset

func (x *RequestSignRequest) Reset()

func (*RequestSignRequest) String

func (x *RequestSignRequest) String() string

type RequestToggleAdmin

type RequestToggleAdmin struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestToggleAdmin) Descriptor deprecated

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

Deprecated: Use RequestToggleAdmin.ProtoReflect.Descriptor instead.

func (*RequestToggleAdmin) GetId

func (x *RequestToggleAdmin) GetId() string

func (*RequestToggleAdmin) ProtoMessage

func (*RequestToggleAdmin) ProtoMessage()

func (*RequestToggleAdmin) ProtoReflect

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

func (*RequestToggleAdmin) Reset

func (x *RequestToggleAdmin) Reset()

func (*RequestToggleAdmin) String

func (x *RequestToggleAdmin) String() string

type RequestTokenNew

type RequestTokenNew struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestTokenNew) Descriptor deprecated

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

Deprecated: Use RequestTokenNew.ProtoReflect.Descriptor instead.

func (*RequestTokenNew) GetName

func (x *RequestTokenNew) GetName() string

func (*RequestTokenNew) GetUserId

func (x *RequestTokenNew) GetUserId() string

func (*RequestTokenNew) ProtoMessage

func (*RequestTokenNew) ProtoMessage()

func (*RequestTokenNew) ProtoReflect

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

func (*RequestTokenNew) Reset

func (x *RequestTokenNew) Reset()

func (*RequestTokenNew) String

func (x *RequestTokenNew) String() string

type RequestUserAdd

type RequestUserAdd struct {
	Id      string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Role    string   `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	Type    UserType `protobuf:"varint,3,opt,name=type,proto3,enum=proxy.rpc.UserType" json:"type,omitempty"`
	Comment string   `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestUserAdd) Descriptor deprecated

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

Deprecated: Use RequestUserAdd.ProtoReflect.Descriptor instead.

func (*RequestUserAdd) GetComment

func (x *RequestUserAdd) GetComment() string

func (*RequestUserAdd) GetId

func (x *RequestUserAdd) GetId() string

func (*RequestUserAdd) GetRole

func (x *RequestUserAdd) GetRole() string

func (*RequestUserAdd) GetType

func (x *RequestUserAdd) GetType() UserType

func (*RequestUserAdd) ProtoMessage

func (*RequestUserAdd) ProtoMessage()

func (*RequestUserAdd) ProtoReflect

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

func (*RequestUserAdd) Reset

func (x *RequestUserAdd) Reset()

func (*RequestUserAdd) String

func (x *RequestUserAdd) String() string

type RequestUserDel

type RequestUserDel struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestUserDel) Descriptor deprecated

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

Deprecated: Use RequestUserDel.ProtoReflect.Descriptor instead.

func (*RequestUserDel) GetId

func (x *RequestUserDel) GetId() string

func (*RequestUserDel) GetRole

func (x *RequestUserDel) GetRole() string

func (*RequestUserDel) ProtoMessage

func (*RequestUserDel) ProtoMessage()

func (*RequestUserDel) ProtoReflect

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

func (*RequestUserDel) Reset

func (x *RequestUserDel) Reset()

func (*RequestUserDel) String

func (x *RequestUserDel) String() string

type RequestUserEdit added in v0.11.0

type RequestUserEdit struct {
	Id   string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	User *UserItem `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

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

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

Deprecated: Use RequestUserEdit.ProtoReflect.Descriptor instead.

func (*RequestUserEdit) GetId added in v0.11.0

func (x *RequestUserEdit) GetId() string

func (*RequestUserEdit) GetUser added in v0.11.0

func (x *RequestUserEdit) GetUser() *UserItem

func (*RequestUserEdit) ProtoMessage added in v0.11.0

func (*RequestUserEdit) ProtoMessage()

func (*RequestUserEdit) ProtoReflect added in v0.11.0

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

func (*RequestUserEdit) Reset added in v0.11.0

func (x *RequestUserEdit) Reset()

func (*RequestUserEdit) String added in v0.11.0

func (x *RequestUserEdit) String() string

type RequestUserGet

type RequestUserGet struct {
	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	WithTokens bool   `protobuf:"varint,2,opt,name=with_tokens,json=withTokens,proto3" json:"with_tokens,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestUserGet) Descriptor deprecated

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

Deprecated: Use RequestUserGet.ProtoReflect.Descriptor instead.

func (*RequestUserGet) GetId

func (x *RequestUserGet) GetId() string

func (*RequestUserGet) GetWithTokens

func (x *RequestUserGet) GetWithTokens() bool

func (*RequestUserGet) ProtoMessage

func (*RequestUserGet) ProtoMessage()

func (*RequestUserGet) ProtoReflect

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

func (*RequestUserGet) Reset

func (x *RequestUserGet) Reset()

func (*RequestUserGet) String

func (x *RequestUserGet) String() string

type RequestUserList

type RequestUserList struct {
	Role           string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	ServiceAccount bool   `protobuf:"varint,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestUserList) Descriptor deprecated

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

Deprecated: Use RequestUserList.ProtoReflect.Descriptor instead.

func (*RequestUserList) GetRole

func (x *RequestUserList) GetRole() string

func (*RequestUserList) GetServiceAccount

func (x *RequestUserList) GetServiceAccount() bool

func (*RequestUserList) ProtoMessage

func (*RequestUserList) ProtoMessage()

func (*RequestUserList) ProtoReflect

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

func (*RequestUserList) Reset

func (x *RequestUserList) Reset()

func (*RequestUserList) String

func (x *RequestUserList) String() string

type RequestWatchRevokedCert

type RequestWatchRevokedCert struct {
	// contains filtered or unexported fields
}

func (*RequestWatchRevokedCert) Descriptor deprecated

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

Deprecated: Use RequestWatchRevokedCert.ProtoReflect.Descriptor instead.

func (*RequestWatchRevokedCert) ProtoMessage

func (*RequestWatchRevokedCert) ProtoMessage()

func (*RequestWatchRevokedCert) ProtoReflect

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

func (*RequestWatchRevokedCert) Reset

func (x *RequestWatchRevokedCert) Reset()

func (*RequestWatchRevokedCert) String

func (x *RequestWatchRevokedCert) String() string

type ResponseAgentList

type ResponseAgentList struct {
	Items []*Agent `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseAgentList) Descriptor deprecated

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

Deprecated: Use ResponseAgentList.ProtoReflect.Descriptor instead.

func (*ResponseAgentList) GetItems

func (x *ResponseAgentList) GetItems() []*Agent

func (*ResponseAgentList) ProtoMessage

func (*ResponseAgentList) ProtoMessage()

func (*ResponseAgentList) ProtoReflect

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

func (*ResponseAgentList) Reset

func (x *ResponseAgentList) Reset()

func (*ResponseAgentList) String

func (x *ResponseAgentList) String() string

type ResponseBackendList

type ResponseBackendList struct {
	Items []*BackendItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseBackendList) Descriptor deprecated

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

Deprecated: Use ResponseBackendList.ProtoReflect.Descriptor instead.

func (*ResponseBackendList) GetItems

func (x *ResponseBackendList) GetItems() []*BackendItem

func (*ResponseBackendList) ProtoMessage

func (*ResponseBackendList) ProtoMessage()

func (*ResponseBackendList) ProtoReflect

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

func (*ResponseBackendList) Reset

func (x *ResponseBackendList) Reset()

func (*ResponseBackendList) String

func (x *ResponseBackendList) String() string

type ResponseBecomeMaintainer

type ResponseBecomeMaintainer struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseBecomeMaintainer) Descriptor deprecated

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

Deprecated: Use ResponseBecomeMaintainer.ProtoReflect.Descriptor instead.

func (*ResponseBecomeMaintainer) GetOk

func (x *ResponseBecomeMaintainer) GetOk() bool

func (*ResponseBecomeMaintainer) ProtoMessage

func (*ResponseBecomeMaintainer) ProtoMessage()

func (*ResponseBecomeMaintainer) ProtoReflect

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

func (*ResponseBecomeMaintainer) Reset

func (x *ResponseBecomeMaintainer) Reset()

func (*ResponseBecomeMaintainer) String

func (x *ResponseBecomeMaintainer) String() string

type ResponseGetBackends added in v0.13.0

type ResponseGetBackends struct {
	Items []*BackendItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseGetBackends) Descriptor deprecated added in v0.13.0

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

Deprecated: Use ResponseGetBackends.ProtoReflect.Descriptor instead.

func (*ResponseGetBackends) GetItems added in v0.13.0

func (x *ResponseGetBackends) GetItems() []*BackendItem

func (*ResponseGetBackends) ProtoMessage added in v0.13.0

func (*ResponseGetBackends) ProtoMessage()

func (*ResponseGetBackends) ProtoReflect added in v0.13.0

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

func (*ResponseGetBackends) Reset added in v0.13.0

func (x *ResponseGetBackends) Reset()

func (*ResponseGetBackends) String added in v0.13.0

func (x *ResponseGetBackends) String() string

type ResponseGetPublicKey

type ResponseGetPublicKey struct {
	PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseGetPublicKey) Descriptor deprecated

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

Deprecated: Use ResponseGetPublicKey.ProtoReflect.Descriptor instead.

func (*ResponseGetPublicKey) GetPublicKey

func (x *ResponseGetPublicKey) GetPublicKey() []byte

func (*ResponseGetPublicKey) ProtoMessage

func (*ResponseGetPublicKey) ProtoMessage()

func (*ResponseGetPublicKey) ProtoReflect

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

func (*ResponseGetPublicKey) Reset

func (x *ResponseGetPublicKey) Reset()

func (*ResponseGetPublicKey) String

func (x *ResponseGetPublicKey) String() string

type ResponseGetRevokedList

type ResponseGetRevokedList struct {
	Items []*CertItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseGetRevokedList) Descriptor deprecated

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

Deprecated: Use ResponseGetRevokedList.ProtoReflect.Descriptor instead.

func (*ResponseGetRevokedList) GetItems

func (x *ResponseGetRevokedList) GetItems() []*CertItem

func (*ResponseGetRevokedList) ProtoMessage

func (*ResponseGetRevokedList) ProtoMessage()

func (*ResponseGetRevokedList) ProtoReflect

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

func (*ResponseGetRevokedList) Reset

func (x *ResponseGetRevokedList) Reset()

func (*ResponseGetRevokedList) String

func (x *ResponseGetRevokedList) String() string

type ResponseGetSignedList

type ResponseGetSignedList struct {
	Items []*CertItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseGetSignedList) Descriptor deprecated

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

Deprecated: Use ResponseGetSignedList.ProtoReflect.Descriptor instead.

func (*ResponseGetSignedList) GetItems

func (x *ResponseGetSignedList) GetItems() []*CertItem

func (*ResponseGetSignedList) ProtoMessage

func (*ResponseGetSignedList) ProtoMessage()

func (*ResponseGetSignedList) ProtoReflect

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

func (*ResponseGetSignedList) Reset

func (x *ResponseGetSignedList) Reset()

func (*ResponseGetSignedList) String

func (x *ResponseGetSignedList) String() string

type ResponseMemberList

type ResponseMemberList struct {
	Items []*ClusterMember `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseMemberList) Descriptor deprecated

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

Deprecated: Use ResponseMemberList.ProtoReflect.Descriptor instead.

func (*ResponseMemberList) GetItems

func (x *ResponseMemberList) GetItems() []*ClusterMember

func (*ResponseMemberList) ProtoMessage

func (*ResponseMemberList) ProtoMessage()

func (*ResponseMemberList) ProtoReflect

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

func (*ResponseMemberList) Reset

func (x *ResponseMemberList) Reset()

func (*ResponseMemberList) String

func (x *ResponseMemberList) String() string

type ResponseMemberStat

type ResponseMemberStat struct {
	Id                 string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UserCount          int32    `protobuf:"varint,2,opt,name=user_count,json=userCount,proto3" json:"user_count,omitempty"`
	TokenCount         int32    `protobuf:"varint,3,opt,name=token_count,json=tokenCount,proto3" json:"token_count,omitempty"`
	ListenedRelayAddrs []string `protobuf:"bytes,4,rep,name=listened_relay_addrs,json=listenedRelayAddrs,proto3" json:"listened_relay_addrs,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseMemberStat) Descriptor deprecated

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

Deprecated: Use ResponseMemberStat.ProtoReflect.Descriptor instead.

func (*ResponseMemberStat) GetId

func (x *ResponseMemberStat) GetId() string

func (*ResponseMemberStat) GetListenedRelayAddrs

func (x *ResponseMemberStat) GetListenedRelayAddrs() []string

func (*ResponseMemberStat) GetTokenCount

func (x *ResponseMemberStat) GetTokenCount() int32

func (*ResponseMemberStat) GetUserCount

func (x *ResponseMemberStat) GetUserCount() int32

func (*ResponseMemberStat) ProtoMessage

func (*ResponseMemberStat) ProtoMessage()

func (*ResponseMemberStat) ProtoReflect

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

func (*ResponseMemberStat) Reset

func (x *ResponseMemberStat) Reset()

func (*ResponseMemberStat) String

func (x *ResponseMemberStat) String() string

type ResponseNewClientCert

type ResponseNewClientCert struct {
	Ok          bool      `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	Certificate *CertItem `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseNewClientCert) Descriptor deprecated

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

Deprecated: Use ResponseNewClientCert.ProtoReflect.Descriptor instead.

func (*ResponseNewClientCert) GetCertificate

func (x *ResponseNewClientCert) GetCertificate() *CertItem

func (*ResponseNewClientCert) GetOk

func (x *ResponseNewClientCert) GetOk() bool

func (*ResponseNewClientCert) ProtoMessage

func (*ResponseNewClientCert) ProtoMessage()

func (*ResponseNewClientCert) ProtoReflect

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

func (*ResponseNewClientCert) Reset

func (x *ResponseNewClientCert) Reset()

func (*ResponseNewClientCert) String

func (x *ResponseNewClientCert) String() string

type ResponseNewServerCert

type ResponseNewServerCert struct {
	Certificate []byte `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseNewServerCert) Descriptor deprecated

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

Deprecated: Use ResponseNewServerCert.ProtoReflect.Descriptor instead.

func (*ResponseNewServerCert) GetCertificate

func (x *ResponseNewServerCert) GetCertificate() []byte

func (*ResponseNewServerCert) ProtoMessage

func (*ResponseNewServerCert) ProtoMessage()

func (*ResponseNewServerCert) ProtoReflect

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

func (*ResponseNewServerCert) Reset

func (x *ResponseNewServerCert) Reset()

func (*ResponseNewServerCert) String

func (x *ResponseNewServerCert) String() string

type ResponsePong

type ResponsePong struct {
	// contains filtered or unexported fields
}

func (*ResponsePong) Descriptor deprecated

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

Deprecated: Use ResponsePong.ProtoReflect.Descriptor instead.

func (*ResponsePong) ProtoMessage

func (*ResponsePong) ProtoMessage()

func (*ResponsePong) ProtoReflect

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

func (*ResponsePong) Reset

func (x *ResponsePong) Reset()

func (*ResponsePong) String

func (x *ResponsePong) String() string

type ResponseRoleList

type ResponseRoleList struct {
	Items []*RoleItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseRoleList) Descriptor deprecated

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

Deprecated: Use ResponseRoleList.ProtoReflect.Descriptor instead.

func (*ResponseRoleList) GetItems

func (x *ResponseRoleList) GetItems() []*RoleItem

func (*ResponseRoleList) ProtoMessage

func (*ResponseRoleList) ProtoMessage()

func (*ResponseRoleList) ProtoReflect

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

func (*ResponseRoleList) Reset

func (x *ResponseRoleList) Reset()

func (*ResponseRoleList) String

func (x *ResponseRoleList) String() string

type ResponseSignResponse

type ResponseSignResponse struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseSignResponse) Descriptor deprecated

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

Deprecated: Use ResponseSignResponse.ProtoReflect.Descriptor instead.

func (*ResponseSignResponse) GetToken

func (x *ResponseSignResponse) GetToken() string

func (*ResponseSignResponse) ProtoMessage

func (*ResponseSignResponse) ProtoMessage()

func (*ResponseSignResponse) ProtoReflect

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

func (*ResponseSignResponse) Reset

func (x *ResponseSignResponse) Reset()

func (*ResponseSignResponse) String

func (x *ResponseSignResponse) String() string

type ResponseToggleAdmin

type ResponseToggleAdmin struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseToggleAdmin) Descriptor deprecated

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

Deprecated: Use ResponseToggleAdmin.ProtoReflect.Descriptor instead.

func (*ResponseToggleAdmin) GetOk

func (x *ResponseToggleAdmin) GetOk() bool

func (*ResponseToggleAdmin) ProtoMessage

func (*ResponseToggleAdmin) ProtoMessage()

func (*ResponseToggleAdmin) ProtoReflect

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

func (*ResponseToggleAdmin) Reset

func (x *ResponseToggleAdmin) Reset()

func (*ResponseToggleAdmin) String

func (x *ResponseToggleAdmin) String() string

type ResponseTokenNew

type ResponseTokenNew struct {
	Item *AccessTokenItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseTokenNew) Descriptor deprecated

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

Deprecated: Use ResponseTokenNew.ProtoReflect.Descriptor instead.

func (*ResponseTokenNew) GetItem

func (x *ResponseTokenNew) GetItem() *AccessTokenItem

func (*ResponseTokenNew) ProtoMessage

func (*ResponseTokenNew) ProtoMessage()

func (*ResponseTokenNew) ProtoReflect

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

func (*ResponseTokenNew) Reset

func (x *ResponseTokenNew) Reset()

func (*ResponseTokenNew) String

func (x *ResponseTokenNew) String() string

type ResponseUserAdd

type ResponseUserAdd struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseUserAdd) Descriptor deprecated

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

Deprecated: Use ResponseUserAdd.ProtoReflect.Descriptor instead.

func (*ResponseUserAdd) GetOk

func (x *ResponseUserAdd) GetOk() bool

func (*ResponseUserAdd) ProtoMessage

func (*ResponseUserAdd) ProtoMessage()

func (*ResponseUserAdd) ProtoReflect

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

func (*ResponseUserAdd) Reset

func (x *ResponseUserAdd) Reset()

func (*ResponseUserAdd) String

func (x *ResponseUserAdd) String() string

type ResponseUserDel

type ResponseUserDel struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseUserDel) Descriptor deprecated

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

Deprecated: Use ResponseUserDel.ProtoReflect.Descriptor instead.

func (*ResponseUserDel) GetOk

func (x *ResponseUserDel) GetOk() bool

func (*ResponseUserDel) ProtoMessage

func (*ResponseUserDel) ProtoMessage()

func (*ResponseUserDel) ProtoReflect

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

func (*ResponseUserDel) Reset

func (x *ResponseUserDel) Reset()

func (*ResponseUserDel) String

func (x *ResponseUserDel) String() string

type ResponseUserEdit added in v0.11.0

type ResponseUserEdit struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

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

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

Deprecated: Use ResponseUserEdit.ProtoReflect.Descriptor instead.

func (*ResponseUserEdit) GetOk added in v0.11.0

func (x *ResponseUserEdit) GetOk() bool

func (*ResponseUserEdit) ProtoMessage added in v0.11.0

func (*ResponseUserEdit) ProtoMessage()

func (*ResponseUserEdit) ProtoReflect added in v0.11.0

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

func (*ResponseUserEdit) Reset added in v0.11.0

func (x *ResponseUserEdit) Reset()

func (*ResponseUserEdit) String added in v0.11.0

func (x *ResponseUserEdit) String() string

type ResponseUserGet

type ResponseUserGet struct {
	User *UserItem `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Ok   bool      `protobuf:"varint,2,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseUserGet) Descriptor deprecated

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

Deprecated: Use ResponseUserGet.ProtoReflect.Descriptor instead.

func (*ResponseUserGet) GetOk

func (x *ResponseUserGet) GetOk() bool

func (*ResponseUserGet) GetUser

func (x *ResponseUserGet) GetUser() *UserItem

func (*ResponseUserGet) ProtoMessage

func (*ResponseUserGet) ProtoMessage()

func (*ResponseUserGet) ProtoReflect

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

func (*ResponseUserGet) Reset

func (x *ResponseUserGet) Reset()

func (*ResponseUserGet) String

func (x *ResponseUserGet) String() string

type ResponseUserList

type ResponseUserList struct {
	Items []*UserItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseUserList) Descriptor deprecated

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

Deprecated: Use ResponseUserList.ProtoReflect.Descriptor instead.

func (*ResponseUserList) GetItems

func (x *ResponseUserList) GetItems() []*UserItem

func (*ResponseUserList) ProtoMessage

func (*ResponseUserList) ProtoMessage()

func (*ResponseUserList) ProtoReflect

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

func (*ResponseUserList) Reset

func (x *ResponseUserList) Reset()

func (*ResponseUserList) String

func (x *ResponseUserList) String() string

type ResponseWatchRevokedCert

type ResponseWatchRevokedCert struct {
	Items  []*CertItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Update bool        `protobuf:"varint,2,opt,name=update,proto3" json:"update,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseWatchRevokedCert) Descriptor deprecated

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

Deprecated: Use ResponseWatchRevokedCert.ProtoReflect.Descriptor instead.

func (*ResponseWatchRevokedCert) GetItems

func (x *ResponseWatchRevokedCert) GetItems() []*CertItem

func (*ResponseWatchRevokedCert) GetUpdate added in v0.13.0

func (x *ResponseWatchRevokedCert) GetUpdate() bool

func (*ResponseWatchRevokedCert) ProtoMessage

func (*ResponseWatchRevokedCert) ProtoMessage()

func (*ResponseWatchRevokedCert) ProtoReflect

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

func (*ResponseWatchRevokedCert) Reset

func (x *ResponseWatchRevokedCert) Reset()

func (*ResponseWatchRevokedCert) String

func (x *ResponseWatchRevokedCert) String() string

type RoleItem

type RoleItem struct {
	Name        string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Title       string   `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Description string   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	System      bool     `protobuf:"varint,4,opt,name=system,proto3" json:"system,omitempty"`
	Backends    []string `protobuf:"bytes,5,rep,name=backends,proto3" json:"backends,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleItem) Descriptor deprecated

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

Deprecated: Use RoleItem.ProtoReflect.Descriptor instead.

func (*RoleItem) GetBackends

func (x *RoleItem) GetBackends() []string

func (*RoleItem) GetDescription

func (x *RoleItem) GetDescription() string

func (*RoleItem) GetName

func (x *RoleItem) GetName() string

func (*RoleItem) GetSystem

func (x *RoleItem) GetSystem() bool

func (*RoleItem) GetTitle

func (x *RoleItem) GetTitle() string

func (*RoleItem) ProtoMessage

func (*RoleItem) ProtoMessage()

func (*RoleItem) ProtoReflect

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

func (*RoleItem) Reset

func (x *RoleItem) Reset()

func (*RoleItem) String

func (x *RoleItem) String() string

type SocketBackend added in v0.11.0

type SocketBackend struct {
	Agent bool `protobuf:"varint,1,opt,name=agent,proto3" json:"agent,omitempty"`
	// contains filtered or unexported fields
}

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

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

Deprecated: Use SocketBackend.ProtoReflect.Descriptor instead.

func (*SocketBackend) GetAgent added in v0.11.0

func (x *SocketBackend) GetAgent() bool

func (*SocketBackend) ProtoMessage added in v0.11.0

func (*SocketBackend) ProtoMessage()

func (*SocketBackend) ProtoReflect added in v0.11.0

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

func (*SocketBackend) Reset added in v0.11.0

func (x *SocketBackend) Reset()

func (*SocketBackend) String added in v0.11.0

func (x *SocketBackend) String() string

type UnimplementedAdminServer

type UnimplementedAdminServer struct {
}

UnimplementedAdminServer can be embedded to have forward compatible implementations.

func (*UnimplementedAdminServer) BackendList

func (*UnimplementedAdminServer) BecomeMaintainer

func (*UnimplementedAdminServer) Ping

func (*UnimplementedAdminServer) RoleList

func (*UnimplementedAdminServer) ToggleAdmin

func (*UnimplementedAdminServer) TokenNew

func (*UnimplementedAdminServer) UserAdd

func (*UnimplementedAdminServer) UserDel

func (*UnimplementedAdminServer) UserEdit added in v0.11.0

func (*UnimplementedAdminServer) UserGet

func (*UnimplementedAdminServer) UserList

type UnimplementedCertificateAuthorityServer

type UnimplementedCertificateAuthorityServer struct {
}

UnimplementedCertificateAuthorityServer can be embedded to have forward compatible implementations.

func (*UnimplementedCertificateAuthorityServer) Get

func (*UnimplementedCertificateAuthorityServer) GetRevokedList

func (*UnimplementedCertificateAuthorityServer) GetSignedList

func (*UnimplementedCertificateAuthorityServer) NewClientCert

func (*UnimplementedCertificateAuthorityServer) NewServerCert

func (*UnimplementedCertificateAuthorityServer) Revoke

type UnimplementedClusterServer

type UnimplementedClusterServer struct {
}

UnimplementedClusterServer can be embedded to have forward compatible implementations.

func (*UnimplementedClusterServer) AgentList

func (*UnimplementedClusterServer) MemberList

func (*UnimplementedClusterServer) MemberStat

type UnimplementedUserServer added in v0.8.0

type UnimplementedUserServer struct {
}

UnimplementedUserServer can be embedded to have forward compatible implementations.

func (*UnimplementedUserServer) GetBackends added in v0.13.0

type UserClient added in v0.8.0

type UserClient interface {
	GetBackends(ctx context.Context, in *RequestGetBackends, opts ...grpc.CallOption) (*ResponseGetBackends, error)
}

UserClient is the client API for User service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewUserClient added in v0.8.0

func NewUserClient(cc grpc.ClientConnInterface) UserClient

type UserItem

type UserItem struct {
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Roles         []string               `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
	MaintainRoles []string               `protobuf:"bytes,3,rep,name=maintain_roles,json=maintainRoles,proto3" json:"maintain_roles,omitempty"`
	Admin         bool                   `protobuf:"varint,4,opt,name=admin,proto3" json:"admin,omitempty"`
	Type          UserType               `protobuf:"varint,5,opt,name=type,proto3,enum=proxy.rpc.UserType" json:"type,omitempty"`
	Comment       string                 `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"`
	Tokens        []*AccessTokenItem     `protobuf:"bytes,7,rep,name=tokens,proto3" json:"tokens,omitempty"`
	LoginName     string                 `protobuf:"bytes,8,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"`
	LastLogin     *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_login,json=lastLogin,proto3" json:"last_login,omitempty"`
	// contains filtered or unexported fields
}

func DatabaseUserToRPCUser

func DatabaseUserToRPCUser(in *database.User) *UserItem

func (*UserItem) Descriptor deprecated

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

Deprecated: Use UserItem.ProtoReflect.Descriptor instead.

func (*UserItem) GetAdmin

func (x *UserItem) GetAdmin() bool

func (*UserItem) GetComment

func (x *UserItem) GetComment() string

func (*UserItem) GetId

func (x *UserItem) GetId() string

func (*UserItem) GetLastLogin added in v0.11.0

func (x *UserItem) GetLastLogin() *timestamppb.Timestamp

func (*UserItem) GetLoginName added in v0.10.0

func (x *UserItem) GetLoginName() string

func (*UserItem) GetMaintainRoles

func (x *UserItem) GetMaintainRoles() []string

func (*UserItem) GetRoles

func (x *UserItem) GetRoles() []string

func (*UserItem) GetTokens

func (x *UserItem) GetTokens() []*AccessTokenItem

func (*UserItem) GetType

func (x *UserItem) GetType() UserType

func (*UserItem) ProtoMessage

func (*UserItem) ProtoMessage()

func (*UserItem) ProtoReflect

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

func (*UserItem) Reset

func (x *UserItem) Reset()

func (*UserItem) String

func (x *UserItem) String() string

type UserServer added in v0.8.0

type UserServer interface {
	GetBackends(context.Context, *RequestGetBackends) (*ResponseGetBackends, error)
}

UserServer is the server API for User service.

type UserType

type UserType int32
const (
	UserType_NORMAL          UserType = 0
	UserType_SERVICE_ACCOUNT UserType = 1
)

func (UserType) Descriptor

func (UserType) Descriptor() protoreflect.EnumDescriptor

func (UserType) Enum

func (x UserType) Enum() *UserType

func (UserType) EnumDescriptor deprecated

func (UserType) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserType.Descriptor instead.

func (UserType) Number

func (x UserType) Number() protoreflect.EnumNumber

func (UserType) String

func (x UserType) String() string

func (UserType) Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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