Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAdminServer(s *grpc.Server, srv AdminServer)
- func RegisterCertificateAuthorityServer(s *grpc.Server, srv CertificateAuthorityServer)
- func RegisterClusterServer(s *grpc.Server, srv ClusterServer)
- func RegisterUserServer(s *grpc.Server, srv UserServer)
- type AccessTokenItem
- func (*AccessTokenItem) Descriptor() ([]byte, []int)deprecated
- func (x *AccessTokenItem) GetIssuedAt() *timestamp.Timestamp
- func (x *AccessTokenItem) GetIssuer() string
- func (x *AccessTokenItem) GetName() string
- func (x *AccessTokenItem) GetValue() string
- func (*AccessTokenItem) ProtoMessage()
- func (x *AccessTokenItem) ProtoReflect() protoreflect.Message
- func (x *AccessTokenItem) Reset()
- func (x *AccessTokenItem) String() string
- type AdminClient
- type AdminServer
- type Agent
- func (*Agent) Descriptor() ([]byte, []int)deprecated
- func (x *Agent) GetConnectedAt() *timestamp.Timestamp
- func (x *Agent) GetFromAddr() string
- func (x *Agent) GetName() string
- func (*Agent) ProtoMessage()
- func (x *Agent) ProtoReflect() protoreflect.Message
- func (x *Agent) Reset()
- func (x *Agent) String() string
- type BackendItem
- func (*BackendItem) Descriptor() ([]byte, []int)deprecated
- func (x *BackendItem) GetFqdn() string
- func (x *BackendItem) GetHttpBackends() []*HTTPBackend
- func (x *BackendItem) GetName() string
- func (x *BackendItem) GetSocketBackend() *SocketBackend
- func (*BackendItem) ProtoMessage()
- func (x *BackendItem) ProtoReflect() protoreflect.Message
- func (x *BackendItem) Reset()
- func (x *BackendItem) String() string
- type CARequestGet
- type CARequestRevoke
- type CAResponseGet
- type CAResponseRevoke
- type CertItem
- func (*CertItem) Descriptor() ([]byte, []int)deprecated
- func (x *CertItem) GetAgent() bool
- func (x *CertItem) GetCertificate() []byte
- func (x *CertItem) GetComment() string
- func (x *CertItem) GetCommonName() string
- func (x *CertItem) GetDevice() bool
- func (x *CertItem) GetHasP12() bool
- func (x *CertItem) GetIssuedAt() *timestamp.Timestamp
- func (x *CertItem) GetP12() []byte
- func (x *CertItem) GetRevokedAt() *timestamp.Timestamp
- func (x *CertItem) GetSerialNumber() []byte
- func (*CertItem) ProtoMessage()
- func (x *CertItem) ProtoReflect() protoreflect.Message
- func (x *CertItem) Reset()
- func (x *CertItem) String() string
- type CertificateAuthorityClient
- type CertificateAuthorityServer
- type CertificateAuthority_WatchRevokedCertClient
- type CertificateAuthority_WatchRevokedCertServer
- type ClusterClient
- type ClusterMember
- type ClusterServer
- type ErrorUnauthorized
- type HTTPBackend
- type MethodMatcher
- type RequestAgentList
- type RequestBackendList
- type RequestBecomeMaintainer
- func (*RequestBecomeMaintainer) Descriptor() ([]byte, []int)deprecated
- func (x *RequestBecomeMaintainer) GetId() string
- func (x *RequestBecomeMaintainer) GetRole() string
- func (*RequestBecomeMaintainer) ProtoMessage()
- func (x *RequestBecomeMaintainer) ProtoReflect() protoreflect.Message
- func (x *RequestBecomeMaintainer) Reset()
- func (x *RequestBecomeMaintainer) String() string
- type RequestGetGPGKey
- type RequestGetPublicKey
- type RequestGetRevokedList
- type RequestGetSSHKey
- type RequestGetSignedList
- func (*RequestGetSignedList) Descriptor() ([]byte, []int)deprecated
- func (x *RequestGetSignedList) GetCommonName() string
- func (x *RequestGetSignedList) GetDevice() bool
- func (*RequestGetSignedList) ProtoMessage()
- func (x *RequestGetSignedList) ProtoReflect() protoreflect.Message
- func (x *RequestGetSignedList) Reset()
- func (x *RequestGetSignedList) SetCommonName(v string)
- func (x *RequestGetSignedList) SetDevice(v bool)
- func (x *RequestGetSignedList) String() string
- type RequestMemberList
- type RequestMemberStat
- type RequestNewClientCert
- func (*RequestNewClientCert) Descriptor() ([]byte, []int)deprecated
- func (x *RequestNewClientCert) GetAgent() bool
- func (x *RequestNewClientCert) GetComment() string
- func (x *RequestNewClientCert) GetCommonName() string
- func (x *RequestNewClientCert) GetCsr() string
- func (x *RequestNewClientCert) GetDevice() bool
- func (x *RequestNewClientCert) GetKeyBits() int32
- func (x *RequestNewClientCert) GetKeyType() string
- func (x *RequestNewClientCert) GetOverrideCommonName() string
- func (x *RequestNewClientCert) GetPassword() string
- func (*RequestNewClientCert) ProtoMessage()
- func (x *RequestNewClientCert) ProtoReflect() protoreflect.Message
- func (x *RequestNewClientCert) Reset()
- func (x *RequestNewClientCert) SetComment(c string)
- func (x *RequestNewClientCert) SetCommonName(v string)
- func (x *RequestNewClientCert) SetDevice(v bool)
- func (x *RequestNewClientCert) SetOverrideCommonName(v string)
- func (x *RequestNewClientCert) String() string
- type RequestNewServerCert
- func (*RequestNewServerCert) Descriptor() ([]byte, []int)deprecated
- func (x *RequestNewServerCert) GetSigningRequest() []byte
- func (*RequestNewServerCert) ProtoMessage()
- func (x *RequestNewServerCert) ProtoReflect() protoreflect.Message
- func (x *RequestNewServerCert) Reset()
- func (x *RequestNewServerCert) String() string
- type RequestPing
- type RequestRoleList
- type RequestSetGPGKey
- func (*RequestSetGPGKey) Descriptor() ([]byte, []int)deprecated
- func (x *RequestSetGPGKey) GetKey() string
- func (x *RequestSetGPGKey) GetUserId() string
- func (*RequestSetGPGKey) ProtoMessage()
- func (x *RequestSetGPGKey) ProtoReflect() protoreflect.Message
- func (x *RequestSetGPGKey) Reset()
- func (x *RequestSetGPGKey) String() string
- type RequestSetSSHKey
- type RequestSignRequest
- func (*RequestSignRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RequestSignRequest) GetUserId() string
- func (*RequestSignRequest) ProtoMessage()
- func (x *RequestSignRequest) ProtoReflect() protoreflect.Message
- func (x *RequestSignRequest) Reset()
- func (x *RequestSignRequest) String() string
- type RequestToggleAdmin
- type RequestTokenNew
- func (*RequestTokenNew) Descriptor() ([]byte, []int)deprecated
- func (x *RequestTokenNew) GetName() string
- func (x *RequestTokenNew) GetUserId() string
- func (*RequestTokenNew) ProtoMessage()
- func (x *RequestTokenNew) ProtoReflect() protoreflect.Message
- func (x *RequestTokenNew) Reset()
- func (x *RequestTokenNew) String() string
- type RequestUserAdd
- func (*RequestUserAdd) Descriptor() ([]byte, []int)deprecated
- func (x *RequestUserAdd) GetComment() string
- func (x *RequestUserAdd) GetId() string
- func (x *RequestUserAdd) GetRole() string
- func (x *RequestUserAdd) GetType() UserType
- func (*RequestUserAdd) ProtoMessage()
- func (x *RequestUserAdd) ProtoReflect() protoreflect.Message
- func (x *RequestUserAdd) Reset()
- func (x *RequestUserAdd) String() string
- type RequestUserDel
- func (*RequestUserDel) Descriptor() ([]byte, []int)deprecated
- func (x *RequestUserDel) GetId() string
- func (x *RequestUserDel) GetRole() string
- func (*RequestUserDel) ProtoMessage()
- func (x *RequestUserDel) ProtoReflect() protoreflect.Message
- func (x *RequestUserDel) Reset()
- func (x *RequestUserDel) String() string
- type RequestUserEdit
- func (*RequestUserEdit) Descriptor() ([]byte, []int)deprecated
- func (x *RequestUserEdit) GetId() string
- func (x *RequestUserEdit) GetUser() *UserItem
- func (*RequestUserEdit) ProtoMessage()
- func (x *RequestUserEdit) ProtoReflect() protoreflect.Message
- func (x *RequestUserEdit) Reset()
- func (x *RequestUserEdit) String() string
- type RequestUserGet
- func (*RequestUserGet) Descriptor() ([]byte, []int)deprecated
- func (x *RequestUserGet) GetId() string
- func (x *RequestUserGet) GetWithTokens() bool
- func (*RequestUserGet) ProtoMessage()
- func (x *RequestUserGet) ProtoReflect() protoreflect.Message
- func (x *RequestUserGet) Reset()
- func (x *RequestUserGet) String() string
- type RequestUserList
- func (*RequestUserList) Descriptor() ([]byte, []int)deprecated
- func (x *RequestUserList) GetRole() string
- func (x *RequestUserList) GetServiceAccount() bool
- func (*RequestUserList) ProtoMessage()
- func (x *RequestUserList) ProtoReflect() protoreflect.Message
- func (x *RequestUserList) Reset()
- func (x *RequestUserList) String() string
- type RequestWatchRevokedCert
- type ResponseAgentList
- type ResponseBackendList
- func (*ResponseBackendList) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseBackendList) GetItems() []*BackendItem
- func (*ResponseBackendList) ProtoMessage()
- func (x *ResponseBackendList) ProtoReflect() protoreflect.Message
- func (x *ResponseBackendList) Reset()
- func (x *ResponseBackendList) String() string
- type ResponseBecomeMaintainer
- func (*ResponseBecomeMaintainer) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseBecomeMaintainer) GetOk() bool
- func (*ResponseBecomeMaintainer) ProtoMessage()
- func (x *ResponseBecomeMaintainer) ProtoReflect() protoreflect.Message
- func (x *ResponseBecomeMaintainer) Reset()
- func (x *ResponseBecomeMaintainer) String() string
- type ResponseGetGPGKey
- func (*ResponseGetGPGKey) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseGetGPGKey) GetKey() string
- func (x *ResponseGetGPGKey) GetUserId() string
- func (*ResponseGetGPGKey) ProtoMessage()
- func (x *ResponseGetGPGKey) ProtoReflect() protoreflect.Message
- func (x *ResponseGetGPGKey) Reset()
- func (x *ResponseGetGPGKey) String() string
- type ResponseGetPublicKey
- func (*ResponseGetPublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseGetPublicKey) GetPublicKey() []byte
- func (*ResponseGetPublicKey) ProtoMessage()
- func (x *ResponseGetPublicKey) ProtoReflect() protoreflect.Message
- func (x *ResponseGetPublicKey) Reset()
- func (x *ResponseGetPublicKey) String() string
- type ResponseGetRevokedList
- func (*ResponseGetRevokedList) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseGetRevokedList) GetItems() []*CertItem
- func (*ResponseGetRevokedList) ProtoMessage()
- func (x *ResponseGetRevokedList) ProtoReflect() protoreflect.Message
- func (x *ResponseGetRevokedList) Reset()
- func (x *ResponseGetRevokedList) String() string
- type ResponseGetSSHKey
- func (*ResponseGetSSHKey) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseGetSSHKey) GetKey() string
- func (x *ResponseGetSSHKey) GetUserId() string
- func (*ResponseGetSSHKey) ProtoMessage()
- func (x *ResponseGetSSHKey) ProtoReflect() protoreflect.Message
- func (x *ResponseGetSSHKey) Reset()
- func (x *ResponseGetSSHKey) String() string
- type ResponseGetSignedList
- func (*ResponseGetSignedList) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseGetSignedList) GetItems() []*CertItem
- func (*ResponseGetSignedList) ProtoMessage()
- func (x *ResponseGetSignedList) ProtoReflect() protoreflect.Message
- func (x *ResponseGetSignedList) Reset()
- func (x *ResponseGetSignedList) String() string
- type ResponseMemberList
- func (*ResponseMemberList) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMemberList) GetItems() []*ClusterMember
- func (*ResponseMemberList) ProtoMessage()
- func (x *ResponseMemberList) ProtoReflect() protoreflect.Message
- func (x *ResponseMemberList) Reset()
- func (x *ResponseMemberList) String() string
- type ResponseMemberStat
- func (*ResponseMemberStat) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMemberStat) GetId() string
- func (x *ResponseMemberStat) GetListenedRelayAddrs() []string
- func (x *ResponseMemberStat) GetTokenCount() int32
- func (x *ResponseMemberStat) GetUserCount() int32
- func (*ResponseMemberStat) ProtoMessage()
- func (x *ResponseMemberStat) ProtoReflect() protoreflect.Message
- func (x *ResponseMemberStat) Reset()
- func (x *ResponseMemberStat) String() string
- type ResponseNewClientCert
- func (*ResponseNewClientCert) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseNewClientCert) GetCertificate() *CertItem
- func (x *ResponseNewClientCert) GetOk() bool
- func (*ResponseNewClientCert) ProtoMessage()
- func (x *ResponseNewClientCert) ProtoReflect() protoreflect.Message
- func (x *ResponseNewClientCert) Reset()
- func (x *ResponseNewClientCert) String() string
- type ResponseNewServerCert
- func (*ResponseNewServerCert) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseNewServerCert) GetCertificate() []byte
- func (*ResponseNewServerCert) ProtoMessage()
- func (x *ResponseNewServerCert) ProtoReflect() protoreflect.Message
- func (x *ResponseNewServerCert) Reset()
- func (x *ResponseNewServerCert) String() string
- type ResponsePong
- type ResponseRoleList
- type ResponseSetGPGKey
- type ResponseSetSSHKey
- type ResponseSignResponse
- func (*ResponseSignResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseSignResponse) GetToken() string
- func (*ResponseSignResponse) ProtoMessage()
- func (x *ResponseSignResponse) ProtoReflect() protoreflect.Message
- func (x *ResponseSignResponse) Reset()
- func (x *ResponseSignResponse) String() string
- type ResponseToggleAdmin
- func (*ResponseToggleAdmin) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseToggleAdmin) GetOk() bool
- func (*ResponseToggleAdmin) ProtoMessage()
- func (x *ResponseToggleAdmin) ProtoReflect() protoreflect.Message
- func (x *ResponseToggleAdmin) Reset()
- func (x *ResponseToggleAdmin) String() string
- type ResponseTokenNew
- type ResponseUserAdd
- type ResponseUserDel
- type ResponseUserEdit
- type ResponseUserGet
- func (*ResponseUserGet) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseUserGet) GetOk() bool
- func (x *ResponseUserGet) GetUser() *UserItem
- func (*ResponseUserGet) ProtoMessage()
- func (x *ResponseUserGet) ProtoReflect() protoreflect.Message
- func (x *ResponseUserGet) Reset()
- func (x *ResponseUserGet) String() string
- type ResponseUserList
- type ResponseWatchRevokedCert
- func (*ResponseWatchRevokedCert) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseWatchRevokedCert) GetItems() []*CertItem
- func (*ResponseWatchRevokedCert) ProtoMessage()
- func (x *ResponseWatchRevokedCert) ProtoReflect() protoreflect.Message
- func (x *ResponseWatchRevokedCert) Reset()
- func (x *ResponseWatchRevokedCert) String() string
- type RoleItem
- func (*RoleItem) Descriptor() ([]byte, []int)deprecated
- func (x *RoleItem) GetBackends() []string
- func (x *RoleItem) GetDescription() string
- func (x *RoleItem) GetName() string
- func (x *RoleItem) GetSystem() bool
- func (x *RoleItem) GetTitle() string
- func (*RoleItem) ProtoMessage()
- func (x *RoleItem) ProtoReflect() protoreflect.Message
- func (x *RoleItem) Reset()
- func (x *RoleItem) String() string
- type SocketBackend
- type UnimplementedAdminServer
- func (*UnimplementedAdminServer) BackendList(context.Context, *RequestBackendList) (*ResponseBackendList, error)
- func (*UnimplementedAdminServer) BecomeMaintainer(context.Context, *RequestBecomeMaintainer) (*ResponseBecomeMaintainer, error)
- func (*UnimplementedAdminServer) Ping(context.Context, *RequestPing) (*ResponsePong, error)
- func (*UnimplementedAdminServer) RoleList(context.Context, *RequestRoleList) (*ResponseRoleList, error)
- func (*UnimplementedAdminServer) ToggleAdmin(context.Context, *RequestToggleAdmin) (*ResponseToggleAdmin, error)
- func (*UnimplementedAdminServer) TokenNew(context.Context, *RequestTokenNew) (*ResponseTokenNew, error)
- func (*UnimplementedAdminServer) UserAdd(context.Context, *RequestUserAdd) (*ResponseUserAdd, error)
- func (*UnimplementedAdminServer) UserDel(context.Context, *RequestUserDel) (*ResponseUserDel, error)
- func (*UnimplementedAdminServer) UserEdit(context.Context, *RequestUserEdit) (*ResponseUserEdit, error)
- func (*UnimplementedAdminServer) UserGet(context.Context, *RequestUserGet) (*ResponseUserGet, error)
- func (*UnimplementedAdminServer) UserList(context.Context, *RequestUserList) (*ResponseUserList, error)
- type UnimplementedCertificateAuthorityServer
- func (*UnimplementedCertificateAuthorityServer) Get(context.Context, *CARequestGet) (*CAResponseGet, error)
- func (*UnimplementedCertificateAuthorityServer) GetRevokedList(context.Context, *RequestGetRevokedList) (*ResponseGetRevokedList, error)
- func (*UnimplementedCertificateAuthorityServer) GetSignedList(context.Context, *RequestGetSignedList) (*ResponseGetSignedList, error)
- func (*UnimplementedCertificateAuthorityServer) NewClientCert(context.Context, *RequestNewClientCert) (*ResponseNewClientCert, error)
- func (*UnimplementedCertificateAuthorityServer) NewServerCert(context.Context, *RequestNewServerCert) (*ResponseNewServerCert, error)
- func (*UnimplementedCertificateAuthorityServer) Revoke(context.Context, *CARequestRevoke) (*CAResponseRevoke, error)
- func (*UnimplementedCertificateAuthorityServer) WatchRevokedCert(*RequestWatchRevokedCert, CertificateAuthority_WatchRevokedCertServer) error
- type UnimplementedClusterServer
- func (*UnimplementedClusterServer) AgentList(context.Context, *RequestAgentList) (*ResponseAgentList, error)
- func (*UnimplementedClusterServer) MemberList(context.Context, *RequestMemberList) (*ResponseMemberList, error)
- func (*UnimplementedClusterServer) MemberStat(context.Context, *RequestMemberStat) (*ResponseMemberStat, error)
- type UnimplementedUserServer
- func (*UnimplementedUserServer) GetGPGKey(context.Context, *RequestGetGPGKey) (*ResponseGetGPGKey, error)
- func (*UnimplementedUserServer) GetSSHKey(context.Context, *RequestGetSSHKey) (*ResponseGetSSHKey, error)
- func (*UnimplementedUserServer) SetGPGKey(context.Context, *RequestSetGPGKey) (*ResponseSetGPGKey, error)
- func (*UnimplementedUserServer) SetSSHKey(context.Context, *RequestSetSSHKey) (*ResponseSetSSHKey, error)
- type UserClient
- type UserItem
- func (*UserItem) Descriptor() ([]byte, []int)deprecated
- func (x *UserItem) GetAdmin() bool
- func (x *UserItem) GetComment() string
- func (x *UserItem) GetId() string
- func (x *UserItem) GetLastLogin() *timestamp.Timestamp
- func (x *UserItem) GetLoginName() string
- func (x *UserItem) GetMaintainRoles() []string
- func (x *UserItem) GetRoles() []string
- func (x *UserItem) GetTokens() []*AccessTokenItem
- func (x *UserItem) GetType() UserType
- func (*UserItem) ProtoMessage()
- func (x *UserItem) ProtoReflect() protoreflect.Message
- func (x *UserItem) Reset()
- func (x *UserItem) String() string
- type UserServer
- type UserType
Constants ¶
const ( TokenMetadataKey = "token" JwtTokenMetadataKey = "jwt-token" InternalTokenMetadataKey = "internal-token" ServerHostname = "rpcserver.heimdallr.local" )
Variables ¶
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.
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 *timestamp.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() *timestamp.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 ¶
type AdminClient interface { Ping(ctx context.Context, in *RequestPing, opts ...grpc.CallOption) (*ResponsePong, error) UserList(ctx context.Context, in *RequestUserList, opts ...grpc.CallOption) (*ResponseUserList, error) UserAdd(ctx context.Context, in *RequestUserAdd, opts ...grpc.CallOption) (*ResponseUserAdd, error) UserEdit(ctx context.Context, in *RequestUserEdit, opts ...grpc.CallOption) (*ResponseUserEdit, error) UserDel(ctx context.Context, in *RequestUserDel, opts ...grpc.CallOption) (*ResponseUserDel, error) UserGet(ctx context.Context, in *RequestUserGet, opts ...grpc.CallOption) (*ResponseUserGet, error) BecomeMaintainer(ctx context.Context, in *RequestBecomeMaintainer, opts ...grpc.CallOption) (*ResponseBecomeMaintainer, error) ToggleAdmin(ctx context.Context, in *RequestToggleAdmin, opts ...grpc.CallOption) (*ResponseToggleAdmin, error) TokenNew(ctx context.Context, in *RequestTokenNew, opts ...grpc.CallOption) (*ResponseTokenNew, error) RoleList(ctx context.Context, in *RequestRoleList, opts ...grpc.CallOption) (*ResponseRoleList, error) BackendList(ctx context.Context, in *RequestBackendList, opts ...grpc.CallOption) (*ResponseBackendList, error) }
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 AdminServer ¶
type AdminServer interface { Ping(context.Context, *RequestPing) (*ResponsePong, error) UserList(context.Context, *RequestUserList) (*ResponseUserList, error) UserAdd(context.Context, *RequestUserAdd) (*ResponseUserAdd, error) UserEdit(context.Context, *RequestUserEdit) (*ResponseUserEdit, error) UserDel(context.Context, *RequestUserDel) (*ResponseUserDel, error) UserGet(context.Context, *RequestUserGet) (*ResponseUserGet, error) BecomeMaintainer(context.Context, *RequestBecomeMaintainer) (*ResponseBecomeMaintainer, error) ToggleAdmin(context.Context, *RequestToggleAdmin) (*ResponseToggleAdmin, error) TokenNew(context.Context, *RequestTokenNew) (*ResponseTokenNew, error) RoleList(context.Context, *RequestRoleList) (*ResponseRoleList, error) BackendList(context.Context, *RequestBackendList) (*ResponseBackendList, error) }
AdminServer is the server API for Admin service.
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 *timestamp.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) GetConnectedAt ¶
func (*Agent) GetFromAddr ¶
func (*Agent) ProtoMessage ¶
func (*Agent) ProtoMessage()
func (*Agent) ProtoReflect ¶
func (x *Agent) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*BackendItem) Descriptor
deprecated
func (*BackendItem) Descriptor() ([]byte, []int)
Deprecated: Use BackendItem.ProtoReflect.Descriptor instead.
func (*BackendItem) GetFqdn ¶
func (x *BackendItem) GetFqdn() 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 *timestamp.Timestamp `protobuf:"bytes,3,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"` RevokedAt *timestamp.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) GetCertificate ¶
func (*CertItem) GetComment ¶
func (*CertItem) GetCommonName ¶
func (*CertItem) GetIssuedAt ¶
func (*CertItem) GetRevokedAt ¶
func (*CertItem) GetSerialNumber ¶
func (*CertItem) ProtoMessage ¶
func (*CertItem) ProtoMessage()
func (*CertItem) ProtoReflect ¶
func (x *CertItem) ProtoReflect() protoreflect.Message
type CertificateAuthorityClient ¶
type CertificateAuthorityClient interface { GetSignedList(ctx context.Context, in *RequestGetSignedList, opts ...grpc.CallOption) (*ResponseGetSignedList, error) NewClientCert(ctx context.Context, in *RequestNewClientCert, opts ...grpc.CallOption) (*ResponseNewClientCert, error) NewServerCert(ctx context.Context, in *RequestNewServerCert, opts ...grpc.CallOption) (*ResponseNewServerCert, error) Revoke(ctx context.Context, in *CARequestRevoke, opts ...grpc.CallOption) (*CAResponseRevoke, error) Get(ctx context.Context, in *CARequestGet, opts ...grpc.CallOption) (*CAResponseGet, error) GetRevokedList(ctx context.Context, in *RequestGetRevokedList, opts ...grpc.CallOption) (*ResponseGetRevokedList, error) WatchRevokedCert(ctx context.Context, in *RequestWatchRevokedCert, opts ...grpc.CallOption) (CertificateAuthority_WatchRevokedCertClient, error) }
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.
func NewCertificateAuthorityClient ¶
func NewCertificateAuthorityClient(cc grpc.ClientConnInterface) CertificateAuthorityClient
type CertificateAuthorityServer ¶
type CertificateAuthorityServer interface { GetSignedList(context.Context, *RequestGetSignedList) (*ResponseGetSignedList, error) NewClientCert(context.Context, *RequestNewClientCert) (*ResponseNewClientCert, error) NewServerCert(context.Context, *RequestNewServerCert) (*ResponseNewServerCert, error) Revoke(context.Context, *CARequestRevoke) (*CAResponseRevoke, error) Get(context.Context, *CARequestGet) (*CAResponseGet, error) GetRevokedList(context.Context, *RequestGetRevokedList) (*ResponseGetRevokedList, error) WatchRevokedCert(*RequestWatchRevokedCert, CertificateAuthority_WatchRevokedCertServer) error }
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 ¶
type ClusterServer interface { MemberList(context.Context, *RequestMemberList) (*ResponseMemberList, error) MemberStat(context.Context, *RequestMemberStat) (*ResponseMemberStat, error) AgentList(context.Context, *RequestAgentList) (*ResponseAgentList, error) }
ClusterServer is the server API for Cluster service.
type ErrorUnauthorized ¶
type ErrorUnauthorized struct { // 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 RequestGetGPGKey ¶ added in v0.9.0
type RequestGetGPGKey struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*RequestGetGPGKey) Descriptor
deprecated
added in
v0.9.0
func (*RequestGetGPGKey) Descriptor() ([]byte, []int)
Deprecated: Use RequestGetGPGKey.ProtoReflect.Descriptor instead.
func (*RequestGetGPGKey) GetUserId ¶ added in v0.9.0
func (x *RequestGetGPGKey) GetUserId() string
func (*RequestGetGPGKey) ProtoMessage ¶ added in v0.9.0
func (*RequestGetGPGKey) ProtoMessage()
func (*RequestGetGPGKey) ProtoReflect ¶ added in v0.9.0
func (x *RequestGetGPGKey) ProtoReflect() protoreflect.Message
func (*RequestGetGPGKey) Reset ¶ added in v0.9.0
func (x *RequestGetGPGKey) Reset()
func (*RequestGetGPGKey) String ¶ added in v0.9.0
func (x *RequestGetGPGKey) 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 RequestGetSSHKey ¶ added in v0.8.0
type RequestGetSSHKey struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*RequestGetSSHKey) Descriptor
deprecated
added in
v0.8.0
func (*RequestGetSSHKey) Descriptor() ([]byte, []int)
Deprecated: Use RequestGetSSHKey.ProtoReflect.Descriptor instead.
func (*RequestGetSSHKey) GetUserId ¶ added in v0.8.0
func (x *RequestGetSSHKey) GetUserId() string
func (*RequestGetSSHKey) ProtoMessage ¶ added in v0.8.0
func (*RequestGetSSHKey) ProtoMessage()
func (*RequestGetSSHKey) ProtoReflect ¶ added in v0.8.0
func (x *RequestGetSSHKey) ProtoReflect() protoreflect.Message
func (*RequestGetSSHKey) Reset ¶ added in v0.8.0
func (x *RequestGetSSHKey) Reset()
func (*RequestGetSSHKey) String ¶ added in v0.8.0
func (x *RequestGetSSHKey) 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 RequestSetGPGKey ¶ added in v0.9.0
type RequestSetGPGKey struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*RequestSetGPGKey) Descriptor
deprecated
added in
v0.9.0
func (*RequestSetGPGKey) Descriptor() ([]byte, []int)
Deprecated: Use RequestSetGPGKey.ProtoReflect.Descriptor instead.
func (*RequestSetGPGKey) GetKey ¶ added in v0.9.0
func (x *RequestSetGPGKey) GetKey() string
func (*RequestSetGPGKey) GetUserId ¶ added in v0.9.0
func (x *RequestSetGPGKey) GetUserId() string
func (*RequestSetGPGKey) ProtoMessage ¶ added in v0.9.0
func (*RequestSetGPGKey) ProtoMessage()
func (*RequestSetGPGKey) ProtoReflect ¶ added in v0.9.0
func (x *RequestSetGPGKey) ProtoReflect() protoreflect.Message
func (*RequestSetGPGKey) Reset ¶ added in v0.9.0
func (x *RequestSetGPGKey) Reset()
func (*RequestSetGPGKey) String ¶ added in v0.9.0
func (x *RequestSetGPGKey) String() string
type RequestSetSSHKey ¶ added in v0.8.0
type RequestSetSSHKey struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*RequestSetSSHKey) Descriptor
deprecated
added in
v0.8.0
func (*RequestSetSSHKey) Descriptor() ([]byte, []int)
Deprecated: Use RequestSetSSHKey.ProtoReflect.Descriptor instead.
func (*RequestSetSSHKey) GetKey ¶ added in v0.8.0
func (x *RequestSetSSHKey) GetKey() string
func (*RequestSetSSHKey) ProtoMessage ¶ added in v0.8.0
func (*RequestSetSSHKey) ProtoMessage()
func (*RequestSetSSHKey) ProtoReflect ¶ added in v0.8.0
func (x *RequestSetSSHKey) ProtoReflect() protoreflect.Message
func (*RequestSetSSHKey) Reset ¶ added in v0.8.0
func (x *RequestSetSSHKey) Reset()
func (*RequestSetSSHKey) String ¶ added in v0.8.0
func (x *RequestSetSSHKey) 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 ResponseGetGPGKey ¶ added in v0.9.0
type ResponseGetGPGKey struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*ResponseGetGPGKey) Descriptor
deprecated
added in
v0.9.0
func (*ResponseGetGPGKey) Descriptor() ([]byte, []int)
Deprecated: Use ResponseGetGPGKey.ProtoReflect.Descriptor instead.
func (*ResponseGetGPGKey) GetKey ¶ added in v0.9.0
func (x *ResponseGetGPGKey) GetKey() string
func (*ResponseGetGPGKey) GetUserId ¶ added in v0.9.0
func (x *ResponseGetGPGKey) GetUserId() string
func (*ResponseGetGPGKey) ProtoMessage ¶ added in v0.9.0
func (*ResponseGetGPGKey) ProtoMessage()
func (*ResponseGetGPGKey) ProtoReflect ¶ added in v0.9.0
func (x *ResponseGetGPGKey) ProtoReflect() protoreflect.Message
func (*ResponseGetGPGKey) Reset ¶ added in v0.9.0
func (x *ResponseGetGPGKey) Reset()
func (*ResponseGetGPGKey) String ¶ added in v0.9.0
func (x *ResponseGetGPGKey) 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 ResponseGetSSHKey ¶ added in v0.8.0
type ResponseGetSSHKey struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*ResponseGetSSHKey) Descriptor
deprecated
added in
v0.8.0
func (*ResponseGetSSHKey) Descriptor() ([]byte, []int)
Deprecated: Use ResponseGetSSHKey.ProtoReflect.Descriptor instead.
func (*ResponseGetSSHKey) GetKey ¶ added in v0.8.0
func (x *ResponseGetSSHKey) GetKey() string
func (*ResponseGetSSHKey) GetUserId ¶ added in v0.8.0
func (x *ResponseGetSSHKey) GetUserId() string
func (*ResponseGetSSHKey) ProtoMessage ¶ added in v0.8.0
func (*ResponseGetSSHKey) ProtoMessage()
func (*ResponseGetSSHKey) ProtoReflect ¶ added in v0.8.0
func (x *ResponseGetSSHKey) ProtoReflect() protoreflect.Message
func (*ResponseGetSSHKey) Reset ¶ added in v0.8.0
func (x *ResponseGetSSHKey) Reset()
func (*ResponseGetSSHKey) String ¶ added in v0.8.0
func (x *ResponseGetSSHKey) 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 ResponseSetGPGKey ¶ added in v0.9.0
type ResponseSetGPGKey struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*ResponseSetGPGKey) Descriptor
deprecated
added in
v0.9.0
func (*ResponseSetGPGKey) Descriptor() ([]byte, []int)
Deprecated: Use ResponseSetGPGKey.ProtoReflect.Descriptor instead.
func (*ResponseSetGPGKey) GetOk ¶ added in v0.9.0
func (x *ResponseSetGPGKey) GetOk() bool
func (*ResponseSetGPGKey) ProtoMessage ¶ added in v0.9.0
func (*ResponseSetGPGKey) ProtoMessage()
func (*ResponseSetGPGKey) ProtoReflect ¶ added in v0.9.0
func (x *ResponseSetGPGKey) ProtoReflect() protoreflect.Message
func (*ResponseSetGPGKey) Reset ¶ added in v0.9.0
func (x *ResponseSetGPGKey) Reset()
func (*ResponseSetGPGKey) String ¶ added in v0.9.0
func (x *ResponseSetGPGKey) String() string
type ResponseSetSSHKey ¶ added in v0.8.0
type ResponseSetSSHKey struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*ResponseSetSSHKey) Descriptor
deprecated
added in
v0.8.0
func (*ResponseSetSSHKey) Descriptor() ([]byte, []int)
Deprecated: Use ResponseSetSSHKey.ProtoReflect.Descriptor instead.
func (*ResponseSetSSHKey) GetOk ¶ added in v0.8.0
func (x *ResponseSetSSHKey) GetOk() bool
func (*ResponseSetSSHKey) ProtoMessage ¶ added in v0.8.0
func (*ResponseSetSSHKey) ProtoMessage()
func (*ResponseSetSSHKey) ProtoReflect ¶ added in v0.8.0
func (x *ResponseSetSSHKey) ProtoReflect() protoreflect.Message
func (*ResponseSetSSHKey) Reset ¶ added in v0.8.0
func (x *ResponseSetSSHKey) Reset()
func (*ResponseSetSSHKey) String ¶ added in v0.8.0
func (x *ResponseSetSSHKey) 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"` // 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) 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) GetBackends ¶
func (*RoleItem) GetDescription ¶
func (*RoleItem) ProtoMessage ¶
func (*RoleItem) ProtoMessage()
func (*RoleItem) ProtoReflect ¶
func (x *RoleItem) ProtoReflect() protoreflect.Message
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) BackendList(context.Context, *RequestBackendList) (*ResponseBackendList, error)
func (*UnimplementedAdminServer) BecomeMaintainer ¶
func (*UnimplementedAdminServer) BecomeMaintainer(context.Context, *RequestBecomeMaintainer) (*ResponseBecomeMaintainer, error)
func (*UnimplementedAdminServer) Ping ¶
func (*UnimplementedAdminServer) Ping(context.Context, *RequestPing) (*ResponsePong, error)
func (*UnimplementedAdminServer) RoleList ¶
func (*UnimplementedAdminServer) RoleList(context.Context, *RequestRoleList) (*ResponseRoleList, error)
func (*UnimplementedAdminServer) ToggleAdmin ¶
func (*UnimplementedAdminServer) ToggleAdmin(context.Context, *RequestToggleAdmin) (*ResponseToggleAdmin, error)
func (*UnimplementedAdminServer) TokenNew ¶
func (*UnimplementedAdminServer) TokenNew(context.Context, *RequestTokenNew) (*ResponseTokenNew, error)
func (*UnimplementedAdminServer) UserAdd ¶
func (*UnimplementedAdminServer) UserAdd(context.Context, *RequestUserAdd) (*ResponseUserAdd, error)
func (*UnimplementedAdminServer) UserDel ¶
func (*UnimplementedAdminServer) UserDel(context.Context, *RequestUserDel) (*ResponseUserDel, error)
func (*UnimplementedAdminServer) UserEdit ¶ added in v0.11.0
func (*UnimplementedAdminServer) UserEdit(context.Context, *RequestUserEdit) (*ResponseUserEdit, error)
func (*UnimplementedAdminServer) UserGet ¶
func (*UnimplementedAdminServer) UserGet(context.Context, *RequestUserGet) (*ResponseUserGet, error)
func (*UnimplementedAdminServer) UserList ¶
func (*UnimplementedAdminServer) UserList(context.Context, *RequestUserList) (*ResponseUserList, error)
type UnimplementedCertificateAuthorityServer ¶
type UnimplementedCertificateAuthorityServer struct { }
UnimplementedCertificateAuthorityServer can be embedded to have forward compatible implementations.
func (*UnimplementedCertificateAuthorityServer) Get ¶
func (*UnimplementedCertificateAuthorityServer) Get(context.Context, *CARequestGet) (*CAResponseGet, error)
func (*UnimplementedCertificateAuthorityServer) GetRevokedList ¶
func (*UnimplementedCertificateAuthorityServer) GetRevokedList(context.Context, *RequestGetRevokedList) (*ResponseGetRevokedList, error)
func (*UnimplementedCertificateAuthorityServer) GetSignedList ¶
func (*UnimplementedCertificateAuthorityServer) GetSignedList(context.Context, *RequestGetSignedList) (*ResponseGetSignedList, error)
func (*UnimplementedCertificateAuthorityServer) NewClientCert ¶
func (*UnimplementedCertificateAuthorityServer) NewClientCert(context.Context, *RequestNewClientCert) (*ResponseNewClientCert, error)
func (*UnimplementedCertificateAuthorityServer) NewServerCert ¶
func (*UnimplementedCertificateAuthorityServer) NewServerCert(context.Context, *RequestNewServerCert) (*ResponseNewServerCert, error)
func (*UnimplementedCertificateAuthorityServer) Revoke ¶
func (*UnimplementedCertificateAuthorityServer) Revoke(context.Context, *CARequestRevoke) (*CAResponseRevoke, error)
func (*UnimplementedCertificateAuthorityServer) WatchRevokedCert ¶
func (*UnimplementedCertificateAuthorityServer) WatchRevokedCert(*RequestWatchRevokedCert, CertificateAuthority_WatchRevokedCertServer) error
type UnimplementedClusterServer ¶
type UnimplementedClusterServer struct { }
UnimplementedClusterServer can be embedded to have forward compatible implementations.
func (*UnimplementedClusterServer) AgentList ¶
func (*UnimplementedClusterServer) AgentList(context.Context, *RequestAgentList) (*ResponseAgentList, error)
func (*UnimplementedClusterServer) MemberList ¶
func (*UnimplementedClusterServer) MemberList(context.Context, *RequestMemberList) (*ResponseMemberList, error)
func (*UnimplementedClusterServer) MemberStat ¶
func (*UnimplementedClusterServer) MemberStat(context.Context, *RequestMemberStat) (*ResponseMemberStat, error)
type UnimplementedUserServer ¶ added in v0.8.0
type UnimplementedUserServer struct { }
UnimplementedUserServer can be embedded to have forward compatible implementations.
func (*UnimplementedUserServer) GetGPGKey ¶ added in v0.9.0
func (*UnimplementedUserServer) GetGPGKey(context.Context, *RequestGetGPGKey) (*ResponseGetGPGKey, error)
func (*UnimplementedUserServer) GetSSHKey ¶ added in v0.8.0
func (*UnimplementedUserServer) GetSSHKey(context.Context, *RequestGetSSHKey) (*ResponseGetSSHKey, error)
func (*UnimplementedUserServer) SetGPGKey ¶ added in v0.9.0
func (*UnimplementedUserServer) SetGPGKey(context.Context, *RequestSetGPGKey) (*ResponseSetGPGKey, error)
func (*UnimplementedUserServer) SetSSHKey ¶ added in v0.8.0
func (*UnimplementedUserServer) SetSSHKey(context.Context, *RequestSetSSHKey) (*ResponseSetSSHKey, error)
type UserClient ¶ added in v0.8.0
type UserClient interface { GetSSHKey(ctx context.Context, in *RequestGetSSHKey, opts ...grpc.CallOption) (*ResponseGetSSHKey, error) SetSSHKey(ctx context.Context, in *RequestSetSSHKey, opts ...grpc.CallOption) (*ResponseSetSSHKey, error) GetGPGKey(ctx context.Context, in *RequestGetGPGKey, opts ...grpc.CallOption) (*ResponseGetGPGKey, error) SetGPGKey(ctx context.Context, in *RequestSetGPGKey, opts ...grpc.CallOption) (*ResponseSetGPGKey, 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 *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_login,json=lastLogin,proto3" json:"last_login,omitempty"` // contains filtered or unexported fields }
func DatabaseUserToRPCUser ¶
func (*UserItem) Descriptor
deprecated
func (*UserItem) GetComment ¶
func (*UserItem) GetLastLogin ¶ added in v0.11.0
func (*UserItem) GetLoginName ¶ added in v0.10.0
func (*UserItem) GetMaintainRoles ¶
func (*UserItem) GetTokens ¶
func (x *UserItem) GetTokens() []*AccessTokenItem
func (*UserItem) ProtoMessage ¶
func (*UserItem) ProtoMessage()
func (*UserItem) ProtoReflect ¶
func (x *UserItem) ProtoReflect() protoreflect.Message
type UserServer ¶ added in v0.8.0
type UserServer interface { GetSSHKey(context.Context, *RequestGetSSHKey) (*ResponseGetSSHKey, error) SetSSHKey(context.Context, *RequestSetSSHKey) (*ResponseSetSSHKey, error) GetGPGKey(context.Context, *RequestGetGPGKey) (*ResponseGetGPGKey, error) SetGPGKey(context.Context, *RequestSetGPGKey) (*ResponseSetGPGKey, error) }
UserServer is the server API for User service.
type UserType ¶
type UserType int32
func (UserType) Descriptor ¶
func (UserType) Descriptor() protoreflect.EnumDescriptor
func (UserType) EnumDescriptor
deprecated
func (UserType) Number ¶
func (x UserType) Number() protoreflect.EnumNumber
func (UserType) Type ¶
func (UserType) Type() protoreflect.EnumType