Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterGrantServiceServer(s *grpc.Server, srv GrantServiceServer)
- func RegisterKeyServiceServer(s *grpc.Server, srv KeyServiceServer)
- func RegisterMasterKeyServiceServer(s *grpc.Server, srv MasterKeyServiceServer)
- func RegisterNodeServiceServer(s *grpc.Server, srv NodeServiceServer)
- func RegisterReplayServiceServer(s *grpc.Server, srv ReplayServiceServer)
- func RegisterSessionServiceServer(s *grpc.Server, srv SessionServiceServer)
- func RegisterTokenServiceServer(s *grpc.Server, srv TokenServiceServer)
- func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)
- type AuthenticateUserRequest
- func (*AuthenticateUserRequest) Descriptor() ([]byte, []int)
- func (m *AuthenticateUserRequest) GetAccount() string
- func (m *AuthenticateUserRequest) GetPassword() string
- func (*AuthenticateUserRequest) ProtoMessage()
- func (m *AuthenticateUserRequest) Reset()
- func (m *AuthenticateUserRequest) String() string
- func (m *AuthenticateUserRequest) XXX_DiscardUnknown()
- func (m *AuthenticateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthenticateUserRequest) XXX_Merge(src proto.Message)
- func (m *AuthenticateUserRequest) XXX_Size() int
- func (m *AuthenticateUserRequest) XXX_Unmarshal(b []byte) error
- type AuthenticateUserResponse
- func (*AuthenticateUserResponse) Descriptor() ([]byte, []int)
- func (m *AuthenticateUserResponse) GetUser() *User
- func (*AuthenticateUserResponse) ProtoMessage()
- func (m *AuthenticateUserResponse) Reset()
- func (m *AuthenticateUserResponse) String() string
- func (m *AuthenticateUserResponse) XXX_DiscardUnknown()
- func (m *AuthenticateUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthenticateUserResponse) XXX_Merge(src proto.Message)
- func (m *AuthenticateUserResponse) XXX_Size() int
- func (m *AuthenticateUserResponse) XXX_Unmarshal(b []byte) error
- type CheckGrantRequest
- func (*CheckGrantRequest) Descriptor() ([]byte, []int)
- func (m *CheckGrantRequest) GetAccount() string
- func (m *CheckGrantRequest) GetHostname() string
- func (m *CheckGrantRequest) GetUser() string
- func (*CheckGrantRequest) ProtoMessage()
- func (m *CheckGrantRequest) Reset()
- func (m *CheckGrantRequest) String() string
- func (m *CheckGrantRequest) Validate() (err error)
- func (m *CheckGrantRequest) XXX_DiscardUnknown()
- func (m *CheckGrantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckGrantRequest) XXX_Merge(src proto.Message)
- func (m *CheckGrantRequest) XXX_Size() int
- func (m *CheckGrantRequest) XXX_Unmarshal(b []byte) error
- type CheckGrantResponse
- func (*CheckGrantResponse) Descriptor() ([]byte, []int)
- func (m *CheckGrantResponse) GetOk() bool
- func (*CheckGrantResponse) ProtoMessage()
- func (m *CheckGrantResponse) Reset()
- func (m *CheckGrantResponse) String() string
- func (m *CheckGrantResponse) XXX_DiscardUnknown()
- func (m *CheckGrantResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckGrantResponse) XXX_Merge(src proto.Message)
- func (m *CheckGrantResponse) XXX_Size() int
- func (m *CheckGrantResponse) XXX_Unmarshal(b []byte) error
- type CreateKeyRequest
- func (*CreateKeyRequest) Descriptor() ([]byte, []int)
- func (m *CreateKeyRequest) GetAccount() string
- func (m *CreateKeyRequest) GetFingerprint() string
- func (m *CreateKeyRequest) GetName() string
- func (m *CreateKeyRequest) GetSource() string
- func (*CreateKeyRequest) ProtoMessage()
- func (m *CreateKeyRequest) Reset()
- func (m *CreateKeyRequest) String() string
- func (m *CreateKeyRequest) Validate() (err error)
- func (m *CreateKeyRequest) XXX_DiscardUnknown()
- func (m *CreateKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateKeyRequest) XXX_Merge(src proto.Message)
- func (m *CreateKeyRequest) XXX_Size() int
- func (m *CreateKeyRequest) XXX_Unmarshal(b []byte) error
- type CreateKeyResponse
- func (*CreateKeyResponse) Descriptor() ([]byte, []int)
- func (m *CreateKeyResponse) GetKey() *Key
- func (*CreateKeyResponse) ProtoMessage()
- func (m *CreateKeyResponse) Reset()
- func (m *CreateKeyResponse) String() string
- func (m *CreateKeyResponse) XXX_DiscardUnknown()
- func (m *CreateKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateKeyResponse) XXX_Merge(src proto.Message)
- func (m *CreateKeyResponse) XXX_Size() int
- func (m *CreateKeyResponse) XXX_Unmarshal(b []byte) error
- type CreateSessionRequest
- func (*CreateSessionRequest) Descriptor() ([]byte, []int)
- func (m *CreateSessionRequest) GetAccount() string
- func (m *CreateSessionRequest) GetCommand() string
- func (m *CreateSessionRequest) GetIsRecorded() bool
- func (*CreateSessionRequest) ProtoMessage()
- func (m *CreateSessionRequest) Reset()
- func (m *CreateSessionRequest) String() string
- func (m *CreateSessionRequest) Validate() (err error)
- func (m *CreateSessionRequest) XXX_DiscardUnknown()
- func (m *CreateSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateSessionRequest) XXX_Merge(src proto.Message)
- func (m *CreateSessionRequest) XXX_Size() int
- func (m *CreateSessionRequest) XXX_Unmarshal(b []byte) error
- type CreateSessionResponse
- func (*CreateSessionResponse) Descriptor() ([]byte, []int)
- func (m *CreateSessionResponse) GetSession() *Session
- func (*CreateSessionResponse) ProtoMessage()
- func (m *CreateSessionResponse) Reset()
- func (m *CreateSessionResponse) String() string
- func (m *CreateSessionResponse) XXX_DiscardUnknown()
- func (m *CreateSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateSessionResponse) XXX_Merge(src proto.Message)
- func (m *CreateSessionResponse) XXX_Size() int
- func (m *CreateSessionResponse) XXX_Unmarshal(b []byte) error
- type CreateTokenRequest
- func (*CreateTokenRequest) Descriptor() ([]byte, []int)
- func (m *CreateTokenRequest) GetAccount() string
- func (m *CreateTokenRequest) GetDescription() string
- func (*CreateTokenRequest) ProtoMessage()
- func (m *CreateTokenRequest) Reset()
- func (m *CreateTokenRequest) String() string
- func (m *CreateTokenRequest) Validate() (err error)
- func (m *CreateTokenRequest) XXX_DiscardUnknown()
- func (m *CreateTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateTokenRequest) XXX_Merge(src proto.Message)
- func (m *CreateTokenRequest) XXX_Size() int
- func (m *CreateTokenRequest) XXX_Unmarshal(b []byte) error
- type CreateTokenResponse
- func (*CreateTokenResponse) Descriptor() ([]byte, []int)
- func (m *CreateTokenResponse) GetToken() *Token
- func (*CreateTokenResponse) ProtoMessage()
- func (m *CreateTokenResponse) Reset()
- func (m *CreateTokenResponse) String() string
- func (m *CreateTokenResponse) XXX_DiscardUnknown()
- func (m *CreateTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateTokenResponse) XXX_Merge(src proto.Message)
- func (m *CreateTokenResponse) XXX_Size() int
- func (m *CreateTokenResponse) XXX_Unmarshal(b []byte) error
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)
- func (m *CreateUserRequest) GetAccount() string
- func (m *CreateUserRequest) GetIsAdmin() bool
- func (m *CreateUserRequest) GetNickname() string
- func (m *CreateUserRequest) GetPassword() string
- func (*CreateUserRequest) ProtoMessage()
- func (m *CreateUserRequest) Reset()
- func (m *CreateUserRequest) String() string
- func (m *CreateUserRequest) Validate() (err error)
- func (m *CreateUserRequest) XXX_DiscardUnknown()
- func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateUserRequest) XXX_Merge(src proto.Message)
- func (m *CreateUserRequest) XXX_Size() int
- func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error
- type CreateUserResponse
- func (*CreateUserResponse) Descriptor() ([]byte, []int)
- func (m *CreateUserResponse) GetUser() *User
- func (*CreateUserResponse) ProtoMessage()
- func (m *CreateUserResponse) Reset()
- func (m *CreateUserResponse) String() string
- func (m *CreateUserResponse) XXX_DiscardUnknown()
- func (m *CreateUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateUserResponse) XXX_Merge(src proto.Message)
- func (m *CreateUserResponse) XXX_Size() int
- func (m *CreateUserResponse) XXX_Unmarshal(b []byte) error
- type DaemonOptions
- type DeleteGrantRequest
- func (*DeleteGrantRequest) Descriptor() ([]byte, []int)
- func (m *DeleteGrantRequest) GetAccount() string
- func (m *DeleteGrantRequest) GetHostnamePattern() string
- func (m *DeleteGrantRequest) GetUser() string
- func (*DeleteGrantRequest) ProtoMessage()
- func (m *DeleteGrantRequest) Reset()
- func (m *DeleteGrantRequest) String() string
- func (m *DeleteGrantRequest) Validate() (err error)
- func (m *DeleteGrantRequest) XXX_DiscardUnknown()
- func (m *DeleteGrantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteGrantRequest) XXX_Merge(src proto.Message)
- func (m *DeleteGrantRequest) XXX_Size() int
- func (m *DeleteGrantRequest) XXX_Unmarshal(b []byte) error
- type DeleteGrantResponse
- func (*DeleteGrantResponse) Descriptor() ([]byte, []int)
- func (*DeleteGrantResponse) ProtoMessage()
- func (m *DeleteGrantResponse) Reset()
- func (m *DeleteGrantResponse) String() string
- func (m *DeleteGrantResponse) XXX_DiscardUnknown()
- func (m *DeleteGrantResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteGrantResponse) XXX_Merge(src proto.Message)
- func (m *DeleteGrantResponse) XXX_Size() int
- func (m *DeleteGrantResponse) XXX_Unmarshal(b []byte) error
- type DeleteKeyRequest
- func (*DeleteKeyRequest) Descriptor() ([]byte, []int)
- func (m *DeleteKeyRequest) GetFingerprint() string
- func (*DeleteKeyRequest) ProtoMessage()
- func (m *DeleteKeyRequest) Reset()
- func (m *DeleteKeyRequest) String() string
- func (m *DeleteKeyRequest) Validate() (err error)
- func (m *DeleteKeyRequest) XXX_DiscardUnknown()
- func (m *DeleteKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteKeyRequest) XXX_Merge(src proto.Message)
- func (m *DeleteKeyRequest) XXX_Size() int
- func (m *DeleteKeyRequest) XXX_Unmarshal(b []byte) error
- type DeleteKeyResponse
- func (*DeleteKeyResponse) Descriptor() ([]byte, []int)
- func (*DeleteKeyResponse) ProtoMessage()
- func (m *DeleteKeyResponse) Reset()
- func (m *DeleteKeyResponse) String() string
- func (m *DeleteKeyResponse) XXX_DiscardUnknown()
- func (m *DeleteKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteKeyResponse) XXX_Merge(src proto.Message)
- func (m *DeleteKeyResponse) XXX_Size() int
- func (m *DeleteKeyResponse) XXX_Unmarshal(b []byte) error
- type DeleteNodeRequest
- func (*DeleteNodeRequest) Descriptor() ([]byte, []int)
- func (m *DeleteNodeRequest) GetHostname() string
- func (*DeleteNodeRequest) ProtoMessage()
- func (m *DeleteNodeRequest) Reset()
- func (m *DeleteNodeRequest) String() string
- func (m *DeleteNodeRequest) XXX_DiscardUnknown()
- func (m *DeleteNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteNodeRequest) XXX_Merge(src proto.Message)
- func (m *DeleteNodeRequest) XXX_Size() int
- func (m *DeleteNodeRequest) XXX_Unmarshal(b []byte) error
- type DeleteNodeResponse
- func (*DeleteNodeResponse) Descriptor() ([]byte, []int)
- func (*DeleteNodeResponse) ProtoMessage()
- func (m *DeleteNodeResponse) Reset()
- func (m *DeleteNodeResponse) String() string
- func (m *DeleteNodeResponse) XXX_DiscardUnknown()
- func (m *DeleteNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteNodeResponse) XXX_Merge(src proto.Message)
- func (m *DeleteNodeResponse) XXX_Size() int
- func (m *DeleteNodeResponse) XXX_Unmarshal(b []byte) error
- type DeleteTokenRequest
- func (*DeleteTokenRequest) Descriptor() ([]byte, []int)
- func (m *DeleteTokenRequest) GetId() int64
- func (*DeleteTokenRequest) ProtoMessage()
- func (m *DeleteTokenRequest) Reset()
- func (m *DeleteTokenRequest) String() string
- func (m *DeleteTokenRequest) Validate() (err error)
- func (m *DeleteTokenRequest) XXX_DiscardUnknown()
- func (m *DeleteTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteTokenRequest) XXX_Merge(src proto.Message)
- func (m *DeleteTokenRequest) XXX_Size() int
- func (m *DeleteTokenRequest) XXX_Unmarshal(b []byte) error
- type DeleteTokenResponse
- func (*DeleteTokenResponse) Descriptor() ([]byte, []int)
- func (*DeleteTokenResponse) ProtoMessage()
- func (m *DeleteTokenResponse) Reset()
- func (m *DeleteTokenResponse) String() string
- func (m *DeleteTokenResponse) XXX_DiscardUnknown()
- func (m *DeleteTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteTokenResponse) XXX_Merge(src proto.Message)
- func (m *DeleteTokenResponse) XXX_Size() int
- func (m *DeleteTokenResponse) XXX_Unmarshal(b []byte) error
- type FinishSessionRequest
- func (*FinishSessionRequest) Descriptor() ([]byte, []int)
- func (m *FinishSessionRequest) GetId() int64
- func (*FinishSessionRequest) ProtoMessage()
- func (m *FinishSessionRequest) Reset()
- func (m *FinishSessionRequest) String() string
- func (m *FinishSessionRequest) Validate() (err error)
- func (m *FinishSessionRequest) XXX_DiscardUnknown()
- func (m *FinishSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FinishSessionRequest) XXX_Merge(src proto.Message)
- func (m *FinishSessionRequest) XXX_Size() int
- func (m *FinishSessionRequest) XXX_Unmarshal(b []byte) error
- type FinishSessionResponse
- func (*FinishSessionResponse) Descriptor() ([]byte, []int)
- func (m *FinishSessionResponse) GetSession() *Session
- func (*FinishSessionResponse) ProtoMessage()
- func (m *FinishSessionResponse) Reset()
- func (m *FinishSessionResponse) String() string
- func (m *FinishSessionResponse) XXX_DiscardUnknown()
- func (m *FinishSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FinishSessionResponse) XXX_Merge(src proto.Message)
- func (m *FinishSessionResponse) XXX_Size() int
- func (m *FinishSessionResponse) XXX_Unmarshal(b []byte) error
- type GetKeyRequest
- func (*GetKeyRequest) Descriptor() ([]byte, []int)
- func (m *GetKeyRequest) GetFingerprint() string
- func (*GetKeyRequest) ProtoMessage()
- func (m *GetKeyRequest) Reset()
- func (m *GetKeyRequest) String() string
- func (m *GetKeyRequest) Validate() (err error)
- func (m *GetKeyRequest) XXX_DiscardUnknown()
- func (m *GetKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetKeyRequest) XXX_Merge(src proto.Message)
- func (m *GetKeyRequest) XXX_Size() int
- func (m *GetKeyRequest) XXX_Unmarshal(b []byte) error
- type GetKeyResponse
- func (*GetKeyResponse) Descriptor() ([]byte, []int)
- func (m *GetKeyResponse) GetKey() *Key
- func (*GetKeyResponse) ProtoMessage()
- func (m *GetKeyResponse) Reset()
- func (m *GetKeyResponse) String() string
- func (m *GetKeyResponse) XXX_DiscardUnknown()
- func (m *GetKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetKeyResponse) XXX_Merge(src proto.Message)
- func (m *GetKeyResponse) XXX_Size() int
- func (m *GetKeyResponse) XXX_Unmarshal(b []byte) error
- type GetNodeRequest
- func (*GetNodeRequest) Descriptor() ([]byte, []int)
- func (m *GetNodeRequest) GetHostname() string
- func (*GetNodeRequest) ProtoMessage()
- func (m *GetNodeRequest) Reset()
- func (m *GetNodeRequest) String() string
- func (m *GetNodeRequest) Validate() (err error)
- func (m *GetNodeRequest) XXX_DiscardUnknown()
- func (m *GetNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetNodeRequest) XXX_Merge(src proto.Message)
- func (m *GetNodeRequest) XXX_Size() int
- func (m *GetNodeRequest) XXX_Unmarshal(b []byte) error
- type GetNodeResponse
- func (*GetNodeResponse) Descriptor() ([]byte, []int)
- func (m *GetNodeResponse) GetNode() *Node
- func (*GetNodeResponse) ProtoMessage()
- func (m *GetNodeResponse) Reset()
- func (m *GetNodeResponse) String() string
- func (m *GetNodeResponse) XXX_DiscardUnknown()
- func (m *GetNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetNodeResponse) XXX_Merge(src proto.Message)
- func (m *GetNodeResponse) XXX_Size() int
- func (m *GetNodeResponse) XXX_Unmarshal(b []byte) error
- type GetSessionRequest
- func (*GetSessionRequest) Descriptor() ([]byte, []int)
- func (m *GetSessionRequest) GetId() int64
- func (*GetSessionRequest) ProtoMessage()
- func (m *GetSessionRequest) Reset()
- func (m *GetSessionRequest) String() string
- func (m *GetSessionRequest) XXX_DiscardUnknown()
- func (m *GetSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSessionRequest) XXX_Merge(src proto.Message)
- func (m *GetSessionRequest) XXX_Size() int
- func (m *GetSessionRequest) XXX_Unmarshal(b []byte) error
- type GetSessionResponse
- func (*GetSessionResponse) Descriptor() ([]byte, []int)
- func (m *GetSessionResponse) GetSession() *Session
- func (*GetSessionResponse) ProtoMessage()
- func (m *GetSessionResponse) Reset()
- func (m *GetSessionResponse) String() string
- func (m *GetSessionResponse) XXX_DiscardUnknown()
- func (m *GetSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSessionResponse) XXX_Merge(src proto.Message)
- func (m *GetSessionResponse) XXX_Size() int
- func (m *GetSessionResponse) XXX_Unmarshal(b []byte) error
- type GetTokenRequest
- func (*GetTokenRequest) Descriptor() ([]byte, []int)
- func (m *GetTokenRequest) GetId() int64
- func (m *GetTokenRequest) GetToken() string
- func (*GetTokenRequest) ProtoMessage()
- func (m *GetTokenRequest) Reset()
- func (m *GetTokenRequest) String() string
- func (m *GetTokenRequest) Validate() (err error)
- func (m *GetTokenRequest) XXX_DiscardUnknown()
- func (m *GetTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTokenRequest) XXX_Merge(src proto.Message)
- func (m *GetTokenRequest) XXX_Size() int
- func (m *GetTokenRequest) XXX_Unmarshal(b []byte) error
- type GetTokenResponse
- func (*GetTokenResponse) Descriptor() ([]byte, []int)
- func (m *GetTokenResponse) GetToken() *Token
- func (*GetTokenResponse) ProtoMessage()
- func (m *GetTokenResponse) Reset()
- func (m *GetTokenResponse) String() string
- func (m *GetTokenResponse) XXX_DiscardUnknown()
- func (m *GetTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTokenResponse) XXX_Merge(src proto.Message)
- func (m *GetTokenResponse) XXX_Size() int
- func (m *GetTokenResponse) XXX_Unmarshal(b []byte) error
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)
- func (m *GetUserRequest) GetAccount() string
- func (*GetUserRequest) ProtoMessage()
- func (m *GetUserRequest) Reset()
- func (m *GetUserRequest) String() string
- func (m *GetUserRequest) Validate() (err error)
- func (m *GetUserRequest) XXX_DiscardUnknown()
- func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUserRequest) XXX_Merge(src proto.Message)
- func (m *GetUserRequest) XXX_Size() int
- func (m *GetUserRequest) XXX_Unmarshal(b []byte) error
- type GetUserResponse
- func (*GetUserResponse) Descriptor() ([]byte, []int)
- func (m *GetUserResponse) GetUser() *User
- func (*GetUserResponse) ProtoMessage()
- func (m *GetUserResponse) Reset()
- func (m *GetUserResponse) String() string
- func (m *GetUserResponse) XXX_DiscardUnknown()
- func (m *GetUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUserResponse) XXX_Merge(src proto.Message)
- func (m *GetUserResponse) XXX_Size() int
- func (m *GetUserResponse) XXX_Unmarshal(b []byte) error
- type Grant
- func (*Grant) Descriptor() ([]byte, []int)
- func (m *Grant) GetAccount() string
- func (m *Grant) GetCreatedAt() int64
- func (m *Grant) GetExpiredAt() int64
- func (m *Grant) GetHostnamePattern() string
- func (m *Grant) GetUser() string
- func (*Grant) ProtoMessage()
- func (m *Grant) Reset()
- func (m *Grant) String() string
- func (m *Grant) XXX_DiscardUnknown()
- func (m *Grant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Grant) XXX_Merge(src proto.Message)
- func (m *Grant) XXX_Size() int
- func (m *Grant) XXX_Unmarshal(b []byte) error
- type GrantItem
- func (*GrantItem) Descriptor() ([]byte, []int)
- func (m *GrantItem) GetExpiredAt() int64
- func (m *GrantItem) GetHostname() string
- func (m *GrantItem) GetUser() string
- func (*GrantItem) ProtoMessage()
- func (m *GrantItem) Reset()
- func (m *GrantItem) String() string
- func (m *GrantItem) XXX_DiscardUnknown()
- func (m *GrantItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GrantItem) XXX_Merge(src proto.Message)
- func (m *GrantItem) XXX_Size() int
- func (m *GrantItem) XXX_Unmarshal(b []byte) error
- type GrantServiceClient
- type GrantServiceServer
- type Key
- func (*Key) Descriptor() ([]byte, []int)
- func (m *Key) GetAccount() string
- func (m *Key) GetCreatedAt() int64
- func (m *Key) GetFingerprint() string
- func (m *Key) GetName() string
- func (m *Key) GetSource() string
- func (m *Key) GetViewedAt() int64
- func (*Key) ProtoMessage()
- func (m *Key) Reset()
- func (m *Key) String() string
- func (m *Key) XXX_DiscardUnknown()
- func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Key) XXX_Merge(src proto.Message)
- func (m *Key) XXX_Size() int
- func (m *Key) XXX_Unmarshal(b []byte) error
- type KeyServiceClient
- type KeyServiceServer
- type ListGrantItemsRequest
- func (*ListGrantItemsRequest) Descriptor() ([]byte, []int)
- func (m *ListGrantItemsRequest) GetAccount() string
- func (*ListGrantItemsRequest) ProtoMessage()
- func (m *ListGrantItemsRequest) Reset()
- func (m *ListGrantItemsRequest) String() string
- func (m *ListGrantItemsRequest) Validate() (err error)
- func (m *ListGrantItemsRequest) XXX_DiscardUnknown()
- func (m *ListGrantItemsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListGrantItemsRequest) XXX_Merge(src proto.Message)
- func (m *ListGrantItemsRequest) XXX_Size() int
- func (m *ListGrantItemsRequest) XXX_Unmarshal(b []byte) error
- type ListGrantItemsResponse
- func (*ListGrantItemsResponse) Descriptor() ([]byte, []int)
- func (m *ListGrantItemsResponse) GetGrantItems() []*GrantItem
- func (*ListGrantItemsResponse) ProtoMessage()
- func (m *ListGrantItemsResponse) Reset()
- func (m *ListGrantItemsResponse) String() string
- func (m *ListGrantItemsResponse) XXX_DiscardUnknown()
- func (m *ListGrantItemsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListGrantItemsResponse) XXX_Merge(src proto.Message)
- func (m *ListGrantItemsResponse) XXX_Size() int
- func (m *ListGrantItemsResponse) XXX_Unmarshal(b []byte) error
- type ListGrantsRequest
- func (*ListGrantsRequest) Descriptor() ([]byte, []int)
- func (m *ListGrantsRequest) GetAccount() string
- func (*ListGrantsRequest) ProtoMessage()
- func (m *ListGrantsRequest) Reset()
- func (m *ListGrantsRequest) String() string
- func (m *ListGrantsRequest) Validate() (err error)
- func (m *ListGrantsRequest) XXX_DiscardUnknown()
- func (m *ListGrantsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListGrantsRequest) XXX_Merge(src proto.Message)
- func (m *ListGrantsRequest) XXX_Size() int
- func (m *ListGrantsRequest) XXX_Unmarshal(b []byte) error
- type ListGrantsResponse
- func (*ListGrantsResponse) Descriptor() ([]byte, []int)
- func (m *ListGrantsResponse) GetGrants() []*Grant
- func (m *ListGrantsResponse) GetNow() int64
- func (*ListGrantsResponse) ProtoMessage()
- func (m *ListGrantsResponse) Reset()
- func (m *ListGrantsResponse) String() string
- func (m *ListGrantsResponse) XXX_DiscardUnknown()
- func (m *ListGrantsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListGrantsResponse) XXX_Merge(src proto.Message)
- func (m *ListGrantsResponse) XXX_Size() int
- func (m *ListGrantsResponse) XXX_Unmarshal(b []byte) error
- type ListKeysRequest
- func (*ListKeysRequest) Descriptor() ([]byte, []int)
- func (m *ListKeysRequest) GetAccount() string
- func (*ListKeysRequest) ProtoMessage()
- func (m *ListKeysRequest) Reset()
- func (m *ListKeysRequest) String() string
- func (m *ListKeysRequest) Validate() (err error)
- func (m *ListKeysRequest) XXX_DiscardUnknown()
- func (m *ListKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListKeysRequest) XXX_Merge(src proto.Message)
- func (m *ListKeysRequest) XXX_Size() int
- func (m *ListKeysRequest) XXX_Unmarshal(b []byte) error
- type ListKeysResponse
- func (*ListKeysResponse) Descriptor() ([]byte, []int)
- func (m *ListKeysResponse) GetKeys() []*Key
- func (*ListKeysResponse) ProtoMessage()
- func (m *ListKeysResponse) Reset()
- func (m *ListKeysResponse) String() string
- func (m *ListKeysResponse) XXX_DiscardUnknown()
- func (m *ListKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListKeysResponse) XXX_Merge(src proto.Message)
- func (m *ListKeysResponse) XXX_Size() int
- func (m *ListKeysResponse) XXX_Unmarshal(b []byte) error
- type ListMasterKeysRequest
- func (*ListMasterKeysRequest) Descriptor() ([]byte, []int)
- func (*ListMasterKeysRequest) ProtoMessage()
- func (m *ListMasterKeysRequest) Reset()
- func (m *ListMasterKeysRequest) String() string
- func (m *ListMasterKeysRequest) XXX_DiscardUnknown()
- func (m *ListMasterKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListMasterKeysRequest) XXX_Merge(src proto.Message)
- func (m *ListMasterKeysRequest) XXX_Size() int
- func (m *ListMasterKeysRequest) XXX_Unmarshal(b []byte) error
- type ListMasterKeysResponse
- func (*ListMasterKeysResponse) Descriptor() ([]byte, []int)
- func (m *ListMasterKeysResponse) GetMasterKeys() []*MasterKey
- func (*ListMasterKeysResponse) ProtoMessage()
- func (m *ListMasterKeysResponse) Reset()
- func (m *ListMasterKeysResponse) String() string
- func (m *ListMasterKeysResponse) XXX_DiscardUnknown()
- func (m *ListMasterKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListMasterKeysResponse) XXX_Merge(src proto.Message)
- func (m *ListMasterKeysResponse) XXX_Size() int
- func (m *ListMasterKeysResponse) XXX_Unmarshal(b []byte) error
- type ListNodesRequest
- func (*ListNodesRequest) Descriptor() ([]byte, []int)
- func (*ListNodesRequest) ProtoMessage()
- func (m *ListNodesRequest) Reset()
- func (m *ListNodesRequest) String() string
- func (m *ListNodesRequest) XXX_DiscardUnknown()
- func (m *ListNodesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListNodesRequest) XXX_Merge(src proto.Message)
- func (m *ListNodesRequest) XXX_Size() int
- func (m *ListNodesRequest) XXX_Unmarshal(b []byte) error
- type ListNodesResponse
- func (*ListNodesResponse) Descriptor() ([]byte, []int)
- func (m *ListNodesResponse) GetNodes() []*Node
- func (*ListNodesResponse) ProtoMessage()
- func (m *ListNodesResponse) Reset()
- func (m *ListNodesResponse) String() string
- func (m *ListNodesResponse) XXX_DiscardUnknown()
- func (m *ListNodesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListNodesResponse) XXX_Merge(src proto.Message)
- func (m *ListNodesResponse) XXX_Size() int
- func (m *ListNodesResponse) XXX_Unmarshal(b []byte) error
- type ListSessionsRequest
- func (*ListSessionsRequest) Descriptor() ([]byte, []int)
- func (m *ListSessionsRequest) GetLimit() int32
- func (m *ListSessionsRequest) GetSkip() int32
- func (*ListSessionsRequest) ProtoMessage()
- func (m *ListSessionsRequest) Reset()
- func (m *ListSessionsRequest) String() string
- func (m *ListSessionsRequest) Validate() (err error)
- func (m *ListSessionsRequest) XXX_DiscardUnknown()
- func (m *ListSessionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListSessionsRequest) XXX_Merge(src proto.Message)
- func (m *ListSessionsRequest) XXX_Size() int
- func (m *ListSessionsRequest) XXX_Unmarshal(b []byte) error
- type ListSessionsResponse
- func (*ListSessionsResponse) Descriptor() ([]byte, []int)
- func (m *ListSessionsResponse) GetLimit() int32
- func (m *ListSessionsResponse) GetSessions() []*Session
- func (m *ListSessionsResponse) GetSkip() int32
- func (m *ListSessionsResponse) GetTotal() int32
- func (*ListSessionsResponse) ProtoMessage()
- func (m *ListSessionsResponse) Reset()
- func (m *ListSessionsResponse) String() string
- func (m *ListSessionsResponse) XXX_DiscardUnknown()
- func (m *ListSessionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListSessionsResponse) XXX_Merge(src proto.Message)
- func (m *ListSessionsResponse) XXX_Size() int
- func (m *ListSessionsResponse) XXX_Unmarshal(b []byte) error
- type ListTokensRequest
- func (*ListTokensRequest) Descriptor() ([]byte, []int)
- func (m *ListTokensRequest) GetAccount() string
- func (*ListTokensRequest) ProtoMessage()
- func (m *ListTokensRequest) Reset()
- func (m *ListTokensRequest) String() string
- func (m *ListTokensRequest) Validate() (err error)
- func (m *ListTokensRequest) XXX_DiscardUnknown()
- func (m *ListTokensRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListTokensRequest) XXX_Merge(src proto.Message)
- func (m *ListTokensRequest) XXX_Size() int
- func (m *ListTokensRequest) XXX_Unmarshal(b []byte) error
- type ListTokensResponse
- func (*ListTokensResponse) Descriptor() ([]byte, []int)
- func (m *ListTokensResponse) GetTokens() []*Token
- func (*ListTokensResponse) ProtoMessage()
- func (m *ListTokensResponse) Reset()
- func (m *ListTokensResponse) String() string
- func (m *ListTokensResponse) XXX_DiscardUnknown()
- func (m *ListTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListTokensResponse) XXX_Merge(src proto.Message)
- func (m *ListTokensResponse) XXX_Size() int
- func (m *ListTokensResponse) XXX_Unmarshal(b []byte) error
- type ListUsersRequest
- func (*ListUsersRequest) Descriptor() ([]byte, []int)
- func (*ListUsersRequest) ProtoMessage()
- func (m *ListUsersRequest) Reset()
- func (m *ListUsersRequest) String() string
- func (m *ListUsersRequest) XXX_DiscardUnknown()
- func (m *ListUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListUsersRequest) XXX_Merge(src proto.Message)
- func (m *ListUsersRequest) XXX_Size() int
- func (m *ListUsersRequest) XXX_Unmarshal(b []byte) error
- type ListUsersResponse
- func (*ListUsersResponse) Descriptor() ([]byte, []int)
- func (m *ListUsersResponse) GetUsers() []*User
- func (*ListUsersResponse) ProtoMessage()
- func (m *ListUsersResponse) Reset()
- func (m *ListUsersResponse) String() string
- func (m *ListUsersResponse) XXX_DiscardUnknown()
- func (m *ListUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListUsersResponse) XXX_Merge(src proto.Message)
- func (m *ListUsersResponse) XXX_Size() int
- func (m *ListUsersResponse) XXX_Unmarshal(b []byte) error
- type MasterKey
- func (*MasterKey) Descriptor() ([]byte, []int)
- func (m *MasterKey) GetFingerprint() string
- func (m *MasterKey) GetPublicKey() string
- func (*MasterKey) ProtoMessage()
- func (m *MasterKey) Reset()
- func (m *MasterKey) String() string
- func (m *MasterKey) XXX_DiscardUnknown()
- func (m *MasterKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MasterKey) XXX_Merge(src proto.Message)
- func (m *MasterKey) XXX_Size() int
- func (m *MasterKey) XXX_Unmarshal(b []byte) error
- type MasterKeyServiceClient
- type MasterKeyServiceServer
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetAddress() string
- func (m *Node) GetCreatedAt() int64
- func (m *Node) GetHostname() string
- func (m *Node) GetIsKeyManaged() bool
- func (m *Node) GetSource() string
- func (m *Node) GetUser() string
- func (m *Node) GetViewedAt() int64
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) String() string
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node) XXX_Merge(src proto.Message)
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
- type NodeServiceClient
- type NodeServiceServer
- type Options
- type PutGrantRequest
- func (*PutGrantRequest) Descriptor() ([]byte, []int)
- func (m *PutGrantRequest) GetAccount() string
- func (m *PutGrantRequest) GetExpiredAt() int64
- func (m *PutGrantRequest) GetHostnamePattern() string
- func (m *PutGrantRequest) GetUser() string
- func (*PutGrantRequest) ProtoMessage()
- func (m *PutGrantRequest) Reset()
- func (m *PutGrantRequest) String() string
- func (m *PutGrantRequest) Validate() (err error)
- func (m *PutGrantRequest) XXX_DiscardUnknown()
- func (m *PutGrantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutGrantRequest) XXX_Merge(src proto.Message)
- func (m *PutGrantRequest) XXX_Size() int
- func (m *PutGrantRequest) XXX_Unmarshal(b []byte) error
- type PutGrantResponse
- func (*PutGrantResponse) Descriptor() ([]byte, []int)
- func (m *PutGrantResponse) GetGrant() *Grant
- func (*PutGrantResponse) ProtoMessage()
- func (m *PutGrantResponse) Reset()
- func (m *PutGrantResponse) String() string
- func (m *PutGrantResponse) XXX_DiscardUnknown()
- func (m *PutGrantResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutGrantResponse) XXX_Merge(src proto.Message)
- func (m *PutGrantResponse) XXX_Size() int
- func (m *PutGrantResponse) XXX_Unmarshal(b []byte) error
- type PutNodeRequest
- func (*PutNodeRequest) Descriptor() ([]byte, []int)
- func (m *PutNodeRequest) GetAddress() string
- func (m *PutNodeRequest) GetHostname() string
- func (m *PutNodeRequest) GetSource() string
- func (m *PutNodeRequest) GetUser() string
- func (*PutNodeRequest) ProtoMessage()
- func (m *PutNodeRequest) Reset()
- func (m *PutNodeRequest) String() string
- func (m *PutNodeRequest) Validate() (err error)
- func (m *PutNodeRequest) XXX_DiscardUnknown()
- func (m *PutNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutNodeRequest) XXX_Merge(src proto.Message)
- func (m *PutNodeRequest) XXX_Size() int
- func (m *PutNodeRequest) XXX_Unmarshal(b []byte) error
- type PutNodeResponse
- func (*PutNodeResponse) Descriptor() ([]byte, []int)
- func (m *PutNodeResponse) GetNode() *Node
- func (*PutNodeResponse) ProtoMessage()
- func (m *PutNodeResponse) Reset()
- func (m *PutNodeResponse) String() string
- func (m *PutNodeResponse) XXX_DiscardUnknown()
- func (m *PutNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutNodeResponse) XXX_Merge(src proto.Message)
- func (m *PutNodeResponse) XXX_Size() int
- func (m *PutNodeResponse) XXX_Unmarshal(b []byte) error
- type ReadReplayRequest
- func (*ReadReplayRequest) Descriptor() ([]byte, []int)
- func (m *ReadReplayRequest) GetSessionId() int64
- func (*ReadReplayRequest) ProtoMessage()
- func (m *ReadReplayRequest) Reset()
- func (m *ReadReplayRequest) String() string
- func (m *ReadReplayRequest) XXX_DiscardUnknown()
- func (m *ReadReplayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadReplayRequest) XXX_Merge(src proto.Message)
- func (m *ReadReplayRequest) XXX_Size() int
- func (m *ReadReplayRequest) XXX_Unmarshal(b []byte) error
- type ReplayFrame
- func (*ReplayFrame) Descriptor() ([]byte, []int)
- func (m *ReplayFrame) GetPayload() []byte
- func (m *ReplayFrame) GetSessionId() int64
- func (m *ReplayFrame) GetTimestamp() uint32
- func (m *ReplayFrame) GetType() uint32
- func (*ReplayFrame) ProtoMessage()
- func (m *ReplayFrame) Reset()
- func (m *ReplayFrame) String() string
- func (m *ReplayFrame) XXX_DiscardUnknown()
- func (m *ReplayFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplayFrame) XXX_Merge(src proto.Message)
- func (m *ReplayFrame) XXX_Size() int
- func (m *ReplayFrame) XXX_Unmarshal(b []byte) error
- type ReplaySearchResult
- func (*ReplaySearchResult) Descriptor() ([]byte, []int)
- func (m *ReplaySearchResult) GetAccount() string
- func (m *ReplaySearchResult) GetCreatedAt() int64
- func (m *ReplaySearchResult) GetSessionId() int64
- func (m *ReplaySearchResult) GetTimestamp() uint32
- func (*ReplaySearchResult) ProtoMessage()
- func (m *ReplaySearchResult) Reset()
- func (m *ReplaySearchResult) String() string
- func (m *ReplaySearchResult) XXX_DiscardUnknown()
- func (m *ReplaySearchResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplaySearchResult) XXX_Merge(src proto.Message)
- func (m *ReplaySearchResult) XXX_Size() int
- func (m *ReplaySearchResult) XXX_Unmarshal(b []byte) error
- type ReplayServiceClient
- type ReplayServiceServer
- type ReplayService_ReadReplayClient
- type ReplayService_ReadReplayServer
- type ReplayService_WriteReplayClient
- type ReplayService_WriteReplayServer
- type SSHDOptions
- type SearchReplayRequest
- func (*SearchReplayRequest) Descriptor() ([]byte, []int)
- func (m *SearchReplayRequest) GetKeyword() string
- func (*SearchReplayRequest) ProtoMessage()
- func (m *SearchReplayRequest) Reset()
- func (m *SearchReplayRequest) String() string
- func (m *SearchReplayRequest) Validate() (err error)
- func (m *SearchReplayRequest) XXX_DiscardUnknown()
- func (m *SearchReplayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchReplayRequest) XXX_Merge(src proto.Message)
- func (m *SearchReplayRequest) XXX_Size() int
- func (m *SearchReplayRequest) XXX_Unmarshal(b []byte) error
- type SearchReplayResponse
- func (*SearchReplayResponse) Descriptor() ([]byte, []int)
- func (m *SearchReplayResponse) GetResults() []*ReplaySearchResult
- func (*SearchReplayResponse) ProtoMessage()
- func (m *SearchReplayResponse) Reset()
- func (m *SearchReplayResponse) String() string
- func (m *SearchReplayResponse) XXX_DiscardUnknown()
- func (m *SearchReplayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchReplayResponse) XXX_Merge(src proto.Message)
- func (m *SearchReplayResponse) XXX_Size() int
- func (m *SearchReplayResponse) XXX_Unmarshal(b []byte) error
- type Session
- func (*Session) Descriptor() ([]byte, []int)
- func (m *Session) GetAccount() string
- func (m *Session) GetCommand() string
- func (m *Session) GetCreatedAt() int64
- func (m *Session) GetFinishedAt() int64
- func (m *Session) GetId() int64
- func (m *Session) GetIsRecorded() bool
- func (*Session) ProtoMessage()
- func (m *Session) Reset()
- func (m *Session) String() string
- func (m *Session) XXX_DiscardUnknown()
- func (m *Session) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Session) XXX_Merge(src proto.Message)
- func (m *Session) XXX_Size() int
- func (m *Session) XXX_Unmarshal(b []byte) error
- type SessionServiceClient
- type SessionServiceServer
- type SubmitReplayRequest
- func (*SubmitReplayRequest) Descriptor() ([]byte, []int)
- func (m *SubmitReplayRequest) GetSessionId() int64
- func (*SubmitReplayRequest) ProtoMessage()
- func (m *SubmitReplayRequest) Reset()
- func (m *SubmitReplayRequest) String() string
- func (m *SubmitReplayRequest) Validate() (err error)
- func (m *SubmitReplayRequest) XXX_DiscardUnknown()
- func (m *SubmitReplayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubmitReplayRequest) XXX_Merge(src proto.Message)
- func (m *SubmitReplayRequest) XXX_Size() int
- func (m *SubmitReplayRequest) XXX_Unmarshal(b []byte) error
- type SubmitReplayResponse
- func (*SubmitReplayResponse) Descriptor() ([]byte, []int)
- func (*SubmitReplayResponse) ProtoMessage()
- func (m *SubmitReplayResponse) Reset()
- func (m *SubmitReplayResponse) String() string
- func (m *SubmitReplayResponse) XXX_DiscardUnknown()
- func (m *SubmitReplayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubmitReplayResponse) XXX_Merge(src proto.Message)
- func (m *SubmitReplayResponse) XXX_Size() int
- func (m *SubmitReplayResponse) XXX_Unmarshal(b []byte) error
- type Token
- func (*Token) Descriptor() ([]byte, []int)
- func (m *Token) GetAccount() string
- func (m *Token) GetCreatedAt() int64
- func (m *Token) GetDescription() string
- func (m *Token) GetId() int64
- func (m *Token) GetToken() string
- func (m *Token) GetViewedAt() int64
- func (*Token) ProtoMessage()
- func (m *Token) Reset()
- func (m *Token) String() string
- func (m *Token) XXX_DiscardUnknown()
- func (m *Token) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Token) XXX_Merge(src proto.Message)
- func (m *Token) XXX_Size() int
- func (m *Token) XXX_Unmarshal(b []byte) error
- type TokenServiceClient
- type TokenServiceServer
- type TouchKeyRequest
- func (*TouchKeyRequest) Descriptor() ([]byte, []int)
- func (m *TouchKeyRequest) GetFingerprint() string
- func (*TouchKeyRequest) ProtoMessage()
- func (m *TouchKeyRequest) Reset()
- func (m *TouchKeyRequest) String() string
- func (m *TouchKeyRequest) Validate() (err error)
- func (m *TouchKeyRequest) XXX_DiscardUnknown()
- func (m *TouchKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TouchKeyRequest) XXX_Merge(src proto.Message)
- func (m *TouchKeyRequest) XXX_Size() int
- func (m *TouchKeyRequest) XXX_Unmarshal(b []byte) error
- type TouchKeyResponse
- func (*TouchKeyResponse) Descriptor() ([]byte, []int)
- func (m *TouchKeyResponse) GetKey() *Key
- func (*TouchKeyResponse) ProtoMessage()
- func (m *TouchKeyResponse) Reset()
- func (m *TouchKeyResponse) String() string
- func (m *TouchKeyResponse) XXX_DiscardUnknown()
- func (m *TouchKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TouchKeyResponse) XXX_Merge(src proto.Message)
- func (m *TouchKeyResponse) XXX_Size() int
- func (m *TouchKeyResponse) XXX_Unmarshal(b []byte) error
- type TouchNodeRequest
- func (*TouchNodeRequest) Descriptor() ([]byte, []int)
- func (m *TouchNodeRequest) GetHostname() string
- func (*TouchNodeRequest) ProtoMessage()
- func (m *TouchNodeRequest) Reset()
- func (m *TouchNodeRequest) String() string
- func (m *TouchNodeRequest) Validate() (err error)
- func (m *TouchNodeRequest) XXX_DiscardUnknown()
- func (m *TouchNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TouchNodeRequest) XXX_Merge(src proto.Message)
- func (m *TouchNodeRequest) XXX_Size() int
- func (m *TouchNodeRequest) XXX_Unmarshal(b []byte) error
- type TouchNodeResponse
- func (*TouchNodeResponse) Descriptor() ([]byte, []int)
- func (m *TouchNodeResponse) GetNode() *Node
- func (*TouchNodeResponse) ProtoMessage()
- func (m *TouchNodeResponse) Reset()
- func (m *TouchNodeResponse) String() string
- func (m *TouchNodeResponse) XXX_DiscardUnknown()
- func (m *TouchNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TouchNodeResponse) XXX_Merge(src proto.Message)
- func (m *TouchNodeResponse) XXX_Size() int
- func (m *TouchNodeResponse) XXX_Unmarshal(b []byte) error
- type TouchTokenRequest
- func (*TouchTokenRequest) Descriptor() ([]byte, []int)
- func (m *TouchTokenRequest) GetId() int64
- func (m *TouchTokenRequest) GetToken() string
- func (*TouchTokenRequest) ProtoMessage()
- func (m *TouchTokenRequest) Reset()
- func (m *TouchTokenRequest) String() string
- func (m *TouchTokenRequest) Validate() (err error)
- func (m *TouchTokenRequest) XXX_DiscardUnknown()
- func (m *TouchTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TouchTokenRequest) XXX_Merge(src proto.Message)
- func (m *TouchTokenRequest) XXX_Size() int
- func (m *TouchTokenRequest) XXX_Unmarshal(b []byte) error
- type TouchTokenResponse
- func (*TouchTokenResponse) Descriptor() ([]byte, []int)
- func (m *TouchTokenResponse) GetToken() *Token
- func (*TouchTokenResponse) ProtoMessage()
- func (m *TouchTokenResponse) Reset()
- func (m *TouchTokenResponse) String() string
- func (m *TouchTokenResponse) XXX_DiscardUnknown()
- func (m *TouchTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TouchTokenResponse) XXX_Merge(src proto.Message)
- func (m *TouchTokenResponse) XXX_Size() int
- func (m *TouchTokenResponse) XXX_Unmarshal(b []byte) error
- type TouchUserRequest
- func (*TouchUserRequest) Descriptor() ([]byte, []int)
- func (m *TouchUserRequest) GetAccount() string
- func (*TouchUserRequest) ProtoMessage()
- func (m *TouchUserRequest) Reset()
- func (m *TouchUserRequest) String() string
- func (m *TouchUserRequest) Validate() (err error)
- func (m *TouchUserRequest) XXX_DiscardUnknown()
- func (m *TouchUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TouchUserRequest) XXX_Merge(src proto.Message)
- func (m *TouchUserRequest) XXX_Size() int
- func (m *TouchUserRequest) XXX_Unmarshal(b []byte) error
- type TouchUserResponse
- func (*TouchUserResponse) Descriptor() ([]byte, []int)
- func (m *TouchUserResponse) GetUser() *User
- func (*TouchUserResponse) ProtoMessage()
- func (m *TouchUserResponse) Reset()
- func (m *TouchUserResponse) String() string
- func (m *TouchUserResponse) XXX_DiscardUnknown()
- func (m *TouchUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TouchUserResponse) XXX_Merge(src proto.Message)
- func (m *TouchUserResponse) XXX_Size() int
- func (m *TouchUserResponse) XXX_Unmarshal(b []byte) error
- type UpdateAllMasterKeysRequest
- func (*UpdateAllMasterKeysRequest) Descriptor() ([]byte, []int)
- func (m *UpdateAllMasterKeysRequest) GetMasterKeys() []*MasterKey
- func (*UpdateAllMasterKeysRequest) ProtoMessage()
- func (m *UpdateAllMasterKeysRequest) Reset()
- func (m *UpdateAllMasterKeysRequest) String() string
- func (m *UpdateAllMasterKeysRequest) XXX_DiscardUnknown()
- func (m *UpdateAllMasterKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateAllMasterKeysRequest) XXX_Merge(src proto.Message)
- func (m *UpdateAllMasterKeysRequest) XXX_Size() int
- func (m *UpdateAllMasterKeysRequest) XXX_Unmarshal(b []byte) error
- type UpdateAllMasterKeysResponse
- func (*UpdateAllMasterKeysResponse) Descriptor() ([]byte, []int)
- func (*UpdateAllMasterKeysResponse) ProtoMessage()
- func (m *UpdateAllMasterKeysResponse) Reset()
- func (m *UpdateAllMasterKeysResponse) String() string
- func (m *UpdateAllMasterKeysResponse) XXX_DiscardUnknown()
- func (m *UpdateAllMasterKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateAllMasterKeysResponse) XXX_Merge(src proto.Message)
- func (m *UpdateAllMasterKeysResponse) XXX_Size() int
- func (m *UpdateAllMasterKeysResponse) XXX_Unmarshal(b []byte) error
- type UpdateNodeRequest
- func (*UpdateNodeRequest) Descriptor() ([]byte, []int)
- func (m *UpdateNodeRequest) GetHostname() string
- func (m *UpdateNodeRequest) GetIsKeyManaged() bool
- func (m *UpdateNodeRequest) GetUpdateIsKeyManaged() bool
- func (*UpdateNodeRequest) ProtoMessage()
- func (m *UpdateNodeRequest) Reset()
- func (m *UpdateNodeRequest) String() string
- func (m *UpdateNodeRequest) Validate() (err error)
- func (m *UpdateNodeRequest) XXX_DiscardUnknown()
- func (m *UpdateNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateNodeRequest) XXX_Merge(src proto.Message)
- func (m *UpdateNodeRequest) XXX_Size() int
- func (m *UpdateNodeRequest) XXX_Unmarshal(b []byte) error
- type UpdateNodeResponse
- func (*UpdateNodeResponse) Descriptor() ([]byte, []int)
- func (m *UpdateNodeResponse) GetNode() *Node
- func (*UpdateNodeResponse) ProtoMessage()
- func (m *UpdateNodeResponse) Reset()
- func (m *UpdateNodeResponse) String() string
- func (m *UpdateNodeResponse) XXX_DiscardUnknown()
- func (m *UpdateNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateNodeResponse) XXX_Merge(src proto.Message)
- func (m *UpdateNodeResponse) XXX_Size() int
- func (m *UpdateNodeResponse) XXX_Unmarshal(b []byte) error
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)
- func (m *UpdateUserRequest) GetAccount() string
- func (m *UpdateUserRequest) GetIsAdmin() bool
- func (m *UpdateUserRequest) GetIsBlocked() bool
- func (m *UpdateUserRequest) GetNickname() string
- func (m *UpdateUserRequest) GetPassword() string
- func (m *UpdateUserRequest) GetUpdateIsAdmin() bool
- func (m *UpdateUserRequest) GetUpdateIsBlocked() bool
- func (m *UpdateUserRequest) GetUpdateNickname() bool
- func (m *UpdateUserRequest) GetUpdatePassword() bool
- func (*UpdateUserRequest) ProtoMessage()
- func (m *UpdateUserRequest) Reset()
- func (m *UpdateUserRequest) String() string
- func (m *UpdateUserRequest) Validate() (err error)
- func (m *UpdateUserRequest) XXX_DiscardUnknown()
- func (m *UpdateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateUserRequest) XXX_Merge(src proto.Message)
- func (m *UpdateUserRequest) XXX_Size() int
- func (m *UpdateUserRequest) XXX_Unmarshal(b []byte) error
- type UpdateUserResponse
- func (*UpdateUserResponse) Descriptor() ([]byte, []int)
- func (m *UpdateUserResponse) GetUser() *User
- func (*UpdateUserResponse) ProtoMessage()
- func (m *UpdateUserResponse) Reset()
- func (m *UpdateUserResponse) String() string
- func (m *UpdateUserResponse) XXX_DiscardUnknown()
- func (m *UpdateUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateUserResponse) XXX_Merge(src proto.Message)
- func (m *UpdateUserResponse) XXX_Size() int
- func (m *UpdateUserResponse) XXX_Unmarshal(b []byte) error
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetAccount() string
- func (m *User) GetCreatedAt() int64
- func (m *User) GetIsAdmin() bool
- func (m *User) GetIsBlocked() bool
- func (m *User) GetNickname() string
- func (m *User) GetUpdatedAt() int64
- func (m *User) GetViewedAt() int64
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
- type UserServiceClient
- type UserServiceServer
- type Validator
- type WebOptions
- type WriteReplayResponse
- func (*WriteReplayResponse) Descriptor() ([]byte, []int)
- func (*WriteReplayResponse) ProtoMessage()
- func (m *WriteReplayResponse) Reset()
- func (m *WriteReplayResponse) String() string
- func (m *WriteReplayResponse) XXX_DiscardUnknown()
- func (m *WriteReplayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WriteReplayResponse) XXX_Merge(src proto.Message)
- func (m *WriteReplayResponse) XXX_Size() int
- func (m *WriteReplayResponse) XXX_Unmarshal(b []byte) error
Constants ¶
const ( ReplayElasticsearchIndexPrefix = "bastion-replays-" NodeSourceManual = "manual" NodeSourceConsul = "consul" KeySourceManual = "manual" KeySourceSandbox = "sandbox" NodeUserRoot = "root" GrantUserTunnel = "__tunnel__" // special linux user for TCP tunnel permission ReplayFrameTypeStdout = uint32(1) ReplayFrameTypeStderr = uint32(2) ReplayFrameTypeWindowSize = uint32(3) )
Variables ¶
var ( UserAccountPattern = regexp.MustCompile(`^[a-zA-Z_][0-9a-zA-Z_.-]{3,24}$`) UserNicknameMaxLength = 16 UserPasswordMinLength = 6 NodeHostnamePattern = regexp.MustCompile(`[0-9a-zA-Z_.-]{4,64}`) NodeUserPattern = UserAccountPattern NodeAddressPattern = regexp.MustCompile(`^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}(:\d+)?$`) KeyFingerprintPattern = regexp.MustCompile(`SHA256:[0-9a-zA-Z+/]{43}`) GrantHostnamePatternPattern = regexp.MustCompile(`[0-9a-zA-Z_.*-]{4,64}`) GrantUserPattern = UserAccountPattern )
Functions ¶
func RegisterGrantServiceServer ¶
func RegisterGrantServiceServer(s *grpc.Server, srv GrantServiceServer)
func RegisterKeyServiceServer ¶
func RegisterKeyServiceServer(s *grpc.Server, srv KeyServiceServer)
func RegisterMasterKeyServiceServer ¶
func RegisterMasterKeyServiceServer(s *grpc.Server, srv MasterKeyServiceServer)
func RegisterNodeServiceServer ¶
func RegisterNodeServiceServer(s *grpc.Server, srv NodeServiceServer)
func RegisterReplayServiceServer ¶
func RegisterReplayServiceServer(s *grpc.Server, srv ReplayServiceServer)
func RegisterSessionServiceServer ¶
func RegisterSessionServiceServer(s *grpc.Server, srv SessionServiceServer)
func RegisterTokenServiceServer ¶
func RegisterTokenServiceServer(s *grpc.Server, srv TokenServiceServer)
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)
Types ¶
type AuthenticateUserRequest ¶
type AuthenticateUserRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuthenticateUserRequest) Descriptor ¶
func (*AuthenticateUserRequest) Descriptor() ([]byte, []int)
func (*AuthenticateUserRequest) GetAccount ¶
func (m *AuthenticateUserRequest) GetAccount() string
func (*AuthenticateUserRequest) GetPassword ¶
func (m *AuthenticateUserRequest) GetPassword() string
func (*AuthenticateUserRequest) ProtoMessage ¶
func (*AuthenticateUserRequest) ProtoMessage()
func (*AuthenticateUserRequest) Reset ¶
func (m *AuthenticateUserRequest) Reset()
func (*AuthenticateUserRequest) String ¶
func (m *AuthenticateUserRequest) String() string
func (*AuthenticateUserRequest) XXX_DiscardUnknown ¶
func (m *AuthenticateUserRequest) XXX_DiscardUnknown()
func (*AuthenticateUserRequest) XXX_Marshal ¶
func (m *AuthenticateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticateUserRequest) XXX_Merge ¶
func (m *AuthenticateUserRequest) XXX_Merge(src proto.Message)
func (*AuthenticateUserRequest) XXX_Size ¶
func (m *AuthenticateUserRequest) XXX_Size() int
func (*AuthenticateUserRequest) XXX_Unmarshal ¶
func (m *AuthenticateUserRequest) XXX_Unmarshal(b []byte) error
type AuthenticateUserResponse ¶
type AuthenticateUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuthenticateUserResponse) Descriptor ¶
func (*AuthenticateUserResponse) Descriptor() ([]byte, []int)
func (*AuthenticateUserResponse) GetUser ¶
func (m *AuthenticateUserResponse) GetUser() *User
func (*AuthenticateUserResponse) ProtoMessage ¶
func (*AuthenticateUserResponse) ProtoMessage()
func (*AuthenticateUserResponse) Reset ¶
func (m *AuthenticateUserResponse) Reset()
func (*AuthenticateUserResponse) String ¶
func (m *AuthenticateUserResponse) String() string
func (*AuthenticateUserResponse) XXX_DiscardUnknown ¶
func (m *AuthenticateUserResponse) XXX_DiscardUnknown()
func (*AuthenticateUserResponse) XXX_Marshal ¶
func (m *AuthenticateUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticateUserResponse) XXX_Merge ¶
func (m *AuthenticateUserResponse) XXX_Merge(src proto.Message)
func (*AuthenticateUserResponse) XXX_Size ¶
func (m *AuthenticateUserResponse) XXX_Size() int
func (*AuthenticateUserResponse) XXX_Unmarshal ¶
func (m *AuthenticateUserResponse) XXX_Unmarshal(b []byte) error
type CheckGrantRequest ¶
type CheckGrantRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CheckGrantRequest) Descriptor ¶
func (*CheckGrantRequest) Descriptor() ([]byte, []int)
func (*CheckGrantRequest) GetAccount ¶
func (m *CheckGrantRequest) GetAccount() string
func (*CheckGrantRequest) GetHostname ¶
func (m *CheckGrantRequest) GetHostname() string
func (*CheckGrantRequest) GetUser ¶
func (m *CheckGrantRequest) GetUser() string
func (*CheckGrantRequest) ProtoMessage ¶
func (*CheckGrantRequest) ProtoMessage()
func (*CheckGrantRequest) Reset ¶
func (m *CheckGrantRequest) Reset()
func (*CheckGrantRequest) String ¶
func (m *CheckGrantRequest) String() string
func (*CheckGrantRequest) Validate ¶
func (m *CheckGrantRequest) Validate() (err error)
func (*CheckGrantRequest) XXX_DiscardUnknown ¶
func (m *CheckGrantRequest) XXX_DiscardUnknown()
func (*CheckGrantRequest) XXX_Marshal ¶
func (m *CheckGrantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckGrantRequest) XXX_Merge ¶
func (m *CheckGrantRequest) XXX_Merge(src proto.Message)
func (*CheckGrantRequest) XXX_Size ¶
func (m *CheckGrantRequest) XXX_Size() int
func (*CheckGrantRequest) XXX_Unmarshal ¶
func (m *CheckGrantRequest) XXX_Unmarshal(b []byte) error
type CheckGrantResponse ¶
type CheckGrantResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CheckGrantResponse) Descriptor ¶
func (*CheckGrantResponse) Descriptor() ([]byte, []int)
func (*CheckGrantResponse) GetOk ¶
func (m *CheckGrantResponse) GetOk() bool
func (*CheckGrantResponse) ProtoMessage ¶
func (*CheckGrantResponse) ProtoMessage()
func (*CheckGrantResponse) Reset ¶
func (m *CheckGrantResponse) Reset()
func (*CheckGrantResponse) String ¶
func (m *CheckGrantResponse) String() string
func (*CheckGrantResponse) XXX_DiscardUnknown ¶
func (m *CheckGrantResponse) XXX_DiscardUnknown()
func (*CheckGrantResponse) XXX_Marshal ¶
func (m *CheckGrantResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckGrantResponse) XXX_Merge ¶
func (m *CheckGrantResponse) XXX_Merge(src proto.Message)
func (*CheckGrantResponse) XXX_Size ¶
func (m *CheckGrantResponse) XXX_Size() int
func (*CheckGrantResponse) XXX_Unmarshal ¶
func (m *CheckGrantResponse) XXX_Unmarshal(b []byte) error
type CreateKeyRequest ¶
type CreateKeyRequest struct { Fingerprint string `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateKeyRequest) Descriptor ¶
func (*CreateKeyRequest) Descriptor() ([]byte, []int)
func (*CreateKeyRequest) GetAccount ¶
func (m *CreateKeyRequest) GetAccount() string
func (*CreateKeyRequest) GetFingerprint ¶
func (m *CreateKeyRequest) GetFingerprint() string
func (*CreateKeyRequest) GetName ¶
func (m *CreateKeyRequest) GetName() string
func (*CreateKeyRequest) GetSource ¶
func (m *CreateKeyRequest) GetSource() string
func (*CreateKeyRequest) ProtoMessage ¶
func (*CreateKeyRequest) ProtoMessage()
func (*CreateKeyRequest) Reset ¶
func (m *CreateKeyRequest) Reset()
func (*CreateKeyRequest) String ¶
func (m *CreateKeyRequest) String() string
func (*CreateKeyRequest) Validate ¶
func (m *CreateKeyRequest) Validate() (err error)
func (*CreateKeyRequest) XXX_DiscardUnknown ¶
func (m *CreateKeyRequest) XXX_DiscardUnknown()
func (*CreateKeyRequest) XXX_Marshal ¶
func (m *CreateKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateKeyRequest) XXX_Merge ¶
func (m *CreateKeyRequest) XXX_Merge(src proto.Message)
func (*CreateKeyRequest) XXX_Size ¶
func (m *CreateKeyRequest) XXX_Size() int
func (*CreateKeyRequest) XXX_Unmarshal ¶
func (m *CreateKeyRequest) XXX_Unmarshal(b []byte) error
type CreateKeyResponse ¶
type CreateKeyResponse struct { Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateKeyResponse) Descriptor ¶
func (*CreateKeyResponse) Descriptor() ([]byte, []int)
func (*CreateKeyResponse) GetKey ¶
func (m *CreateKeyResponse) GetKey() *Key
func (*CreateKeyResponse) ProtoMessage ¶
func (*CreateKeyResponse) ProtoMessage()
func (*CreateKeyResponse) Reset ¶
func (m *CreateKeyResponse) Reset()
func (*CreateKeyResponse) String ¶
func (m *CreateKeyResponse) String() string
func (*CreateKeyResponse) XXX_DiscardUnknown ¶
func (m *CreateKeyResponse) XXX_DiscardUnknown()
func (*CreateKeyResponse) XXX_Marshal ¶
func (m *CreateKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateKeyResponse) XXX_Merge ¶
func (m *CreateKeyResponse) XXX_Merge(src proto.Message)
func (*CreateKeyResponse) XXX_Size ¶
func (m *CreateKeyResponse) XXX_Size() int
func (*CreateKeyResponse) XXX_Unmarshal ¶
func (m *CreateKeyResponse) XXX_Unmarshal(b []byte) error
type CreateSessionRequest ¶
type CreateSessionRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"` IsRecorded bool `protobuf:"varint,3,opt,name=is_recorded,json=isRecorded,proto3" json:"is_recorded,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateSessionRequest) Descriptor ¶
func (*CreateSessionRequest) Descriptor() ([]byte, []int)
func (*CreateSessionRequest) GetAccount ¶
func (m *CreateSessionRequest) GetAccount() string
func (*CreateSessionRequest) GetCommand ¶
func (m *CreateSessionRequest) GetCommand() string
func (*CreateSessionRequest) GetIsRecorded ¶
func (m *CreateSessionRequest) GetIsRecorded() bool
func (*CreateSessionRequest) ProtoMessage ¶
func (*CreateSessionRequest) ProtoMessage()
func (*CreateSessionRequest) Reset ¶
func (m *CreateSessionRequest) Reset()
func (*CreateSessionRequest) String ¶
func (m *CreateSessionRequest) String() string
func (*CreateSessionRequest) Validate ¶
func (m *CreateSessionRequest) Validate() (err error)
func (*CreateSessionRequest) XXX_DiscardUnknown ¶
func (m *CreateSessionRequest) XXX_DiscardUnknown()
func (*CreateSessionRequest) XXX_Marshal ¶
func (m *CreateSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateSessionRequest) XXX_Merge ¶
func (m *CreateSessionRequest) XXX_Merge(src proto.Message)
func (*CreateSessionRequest) XXX_Size ¶
func (m *CreateSessionRequest) XXX_Size() int
func (*CreateSessionRequest) XXX_Unmarshal ¶
func (m *CreateSessionRequest) XXX_Unmarshal(b []byte) error
type CreateSessionResponse ¶
type CreateSessionResponse struct { Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateSessionResponse) Descriptor ¶
func (*CreateSessionResponse) Descriptor() ([]byte, []int)
func (*CreateSessionResponse) GetSession ¶
func (m *CreateSessionResponse) GetSession() *Session
func (*CreateSessionResponse) ProtoMessage ¶
func (*CreateSessionResponse) ProtoMessage()
func (*CreateSessionResponse) Reset ¶
func (m *CreateSessionResponse) Reset()
func (*CreateSessionResponse) String ¶
func (m *CreateSessionResponse) String() string
func (*CreateSessionResponse) XXX_DiscardUnknown ¶
func (m *CreateSessionResponse) XXX_DiscardUnknown()
func (*CreateSessionResponse) XXX_Marshal ¶
func (m *CreateSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateSessionResponse) XXX_Merge ¶
func (m *CreateSessionResponse) XXX_Merge(src proto.Message)
func (*CreateSessionResponse) XXX_Size ¶
func (m *CreateSessionResponse) XXX_Size() int
func (*CreateSessionResponse) XXX_Unmarshal ¶
func (m *CreateSessionResponse) XXX_Unmarshal(b []byte) error
type CreateTokenRequest ¶
type CreateTokenRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateTokenRequest) Descriptor ¶
func (*CreateTokenRequest) Descriptor() ([]byte, []int)
func (*CreateTokenRequest) GetAccount ¶
func (m *CreateTokenRequest) GetAccount() string
func (*CreateTokenRequest) GetDescription ¶
func (m *CreateTokenRequest) GetDescription() string
func (*CreateTokenRequest) ProtoMessage ¶
func (*CreateTokenRequest) ProtoMessage()
func (*CreateTokenRequest) Reset ¶
func (m *CreateTokenRequest) Reset()
func (*CreateTokenRequest) String ¶
func (m *CreateTokenRequest) String() string
func (*CreateTokenRequest) Validate ¶
func (m *CreateTokenRequest) Validate() (err error)
func (*CreateTokenRequest) XXX_DiscardUnknown ¶
func (m *CreateTokenRequest) XXX_DiscardUnknown()
func (*CreateTokenRequest) XXX_Marshal ¶
func (m *CreateTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateTokenRequest) XXX_Merge ¶
func (m *CreateTokenRequest) XXX_Merge(src proto.Message)
func (*CreateTokenRequest) XXX_Size ¶
func (m *CreateTokenRequest) XXX_Size() int
func (*CreateTokenRequest) XXX_Unmarshal ¶
func (m *CreateTokenRequest) XXX_Unmarshal(b []byte) error
type CreateTokenResponse ¶
type CreateTokenResponse struct { Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateTokenResponse) Descriptor ¶
func (*CreateTokenResponse) Descriptor() ([]byte, []int)
func (*CreateTokenResponse) GetToken ¶
func (m *CreateTokenResponse) GetToken() *Token
func (*CreateTokenResponse) ProtoMessage ¶
func (*CreateTokenResponse) ProtoMessage()
func (*CreateTokenResponse) Reset ¶
func (m *CreateTokenResponse) Reset()
func (*CreateTokenResponse) String ¶
func (m *CreateTokenResponse) String() string
func (*CreateTokenResponse) XXX_DiscardUnknown ¶
func (m *CreateTokenResponse) XXX_DiscardUnknown()
func (*CreateTokenResponse) XXX_Marshal ¶
func (m *CreateTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateTokenResponse) XXX_Merge ¶
func (m *CreateTokenResponse) XXX_Merge(src proto.Message)
func (*CreateTokenResponse) XXX_Size ¶
func (m *CreateTokenResponse) XXX_Size() int
func (*CreateTokenResponse) XXX_Unmarshal ¶
func (m *CreateTokenResponse) XXX_Unmarshal(b []byte) error
type CreateUserRequest ¶
type CreateUserRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` IsAdmin bool `protobuf:"varint,4,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateUserRequest) Descriptor ¶
func (*CreateUserRequest) Descriptor() ([]byte, []int)
func (*CreateUserRequest) GetAccount ¶
func (m *CreateUserRequest) GetAccount() string
func (*CreateUserRequest) GetIsAdmin ¶
func (m *CreateUserRequest) GetIsAdmin() bool
func (*CreateUserRequest) GetNickname ¶
func (m *CreateUserRequest) GetNickname() string
func (*CreateUserRequest) GetPassword ¶
func (m *CreateUserRequest) GetPassword() string
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) Reset ¶
func (m *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (m *CreateUserRequest) String() string
func (*CreateUserRequest) Validate ¶
func (m *CreateUserRequest) Validate() (err error)
func (*CreateUserRequest) XXX_DiscardUnknown ¶
func (m *CreateUserRequest) XXX_DiscardUnknown()
func (*CreateUserRequest) XXX_Marshal ¶
func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateUserRequest) XXX_Merge ¶
func (m *CreateUserRequest) XXX_Merge(src proto.Message)
func (*CreateUserRequest) XXX_Size ¶
func (m *CreateUserRequest) XXX_Size() int
func (*CreateUserRequest) XXX_Unmarshal ¶
func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error
type CreateUserResponse ¶
type CreateUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateUserResponse) Descriptor ¶
func (*CreateUserResponse) Descriptor() ([]byte, []int)
func (*CreateUserResponse) GetUser ¶
func (m *CreateUserResponse) GetUser() *User
func (*CreateUserResponse) ProtoMessage ¶
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) Reset ¶
func (m *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶
func (m *CreateUserResponse) String() string
func (*CreateUserResponse) XXX_DiscardUnknown ¶
func (m *CreateUserResponse) XXX_DiscardUnknown()
func (*CreateUserResponse) XXX_Marshal ¶
func (m *CreateUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateUserResponse) XXX_Merge ¶
func (m *CreateUserResponse) XXX_Merge(src proto.Message)
func (*CreateUserResponse) XXX_Size ¶
func (m *CreateUserResponse) XXX_Size() int
func (*CreateUserResponse) XXX_Unmarshal ¶
func (m *CreateUserResponse) XXX_Unmarshal(b []byte) error
type DaemonOptions ¶
type DaemonOptions struct { // Dev dev mode Dev bool `yaml:"dev"` // DB database file path, using bolt, default to "/var/lib/bastion/database" DB string `yaml:"db"` // elasticsearch urls, default to "http://127.0.0.1:9200" Elasticsearch []string `yaml:"elasticsearch"` // Host host to bind for bastion rpc, default to "127.0.0.1" Host string `yaml:"host"` // Port port to bind for bastion rpc, default to 9777 Port int `yaml:"port"` // ReplayDir directory of replay files ReplayDir string `yaml:"replay_dir"` }
DaemonOptions daemon options for bastion
func (DaemonOptions) String ¶
func (o DaemonOptions) String() string
type DeleteGrantRequest ¶
type DeleteGrantRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` HostnamePattern string `protobuf:"bytes,2,opt,name=hostname_pattern,json=hostnamePattern,proto3" json:"hostname_pattern,omitempty"` User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteGrantRequest) Descriptor ¶
func (*DeleteGrantRequest) Descriptor() ([]byte, []int)
func (*DeleteGrantRequest) GetAccount ¶
func (m *DeleteGrantRequest) GetAccount() string
func (*DeleteGrantRequest) GetHostnamePattern ¶
func (m *DeleteGrantRequest) GetHostnamePattern() string
func (*DeleteGrantRequest) GetUser ¶
func (m *DeleteGrantRequest) GetUser() string
func (*DeleteGrantRequest) ProtoMessage ¶
func (*DeleteGrantRequest) ProtoMessage()
func (*DeleteGrantRequest) Reset ¶
func (m *DeleteGrantRequest) Reset()
func (*DeleteGrantRequest) String ¶
func (m *DeleteGrantRequest) String() string
func (*DeleteGrantRequest) Validate ¶
func (m *DeleteGrantRequest) Validate() (err error)
func (*DeleteGrantRequest) XXX_DiscardUnknown ¶
func (m *DeleteGrantRequest) XXX_DiscardUnknown()
func (*DeleteGrantRequest) XXX_Marshal ¶
func (m *DeleteGrantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteGrantRequest) XXX_Merge ¶
func (m *DeleteGrantRequest) XXX_Merge(src proto.Message)
func (*DeleteGrantRequest) XXX_Size ¶
func (m *DeleteGrantRequest) XXX_Size() int
func (*DeleteGrantRequest) XXX_Unmarshal ¶
func (m *DeleteGrantRequest) XXX_Unmarshal(b []byte) error
type DeleteGrantResponse ¶
type DeleteGrantResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteGrantResponse) Descriptor ¶
func (*DeleteGrantResponse) Descriptor() ([]byte, []int)
func (*DeleteGrantResponse) ProtoMessage ¶
func (*DeleteGrantResponse) ProtoMessage()
func (*DeleteGrantResponse) Reset ¶
func (m *DeleteGrantResponse) Reset()
func (*DeleteGrantResponse) String ¶
func (m *DeleteGrantResponse) String() string
func (*DeleteGrantResponse) XXX_DiscardUnknown ¶
func (m *DeleteGrantResponse) XXX_DiscardUnknown()
func (*DeleteGrantResponse) XXX_Marshal ¶
func (m *DeleteGrantResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteGrantResponse) XXX_Merge ¶
func (m *DeleteGrantResponse) XXX_Merge(src proto.Message)
func (*DeleteGrantResponse) XXX_Size ¶
func (m *DeleteGrantResponse) XXX_Size() int
func (*DeleteGrantResponse) XXX_Unmarshal ¶
func (m *DeleteGrantResponse) XXX_Unmarshal(b []byte) error
type DeleteKeyRequest ¶
type DeleteKeyRequest struct { Fingerprint string `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteKeyRequest) Descriptor ¶
func (*DeleteKeyRequest) Descriptor() ([]byte, []int)
func (*DeleteKeyRequest) GetFingerprint ¶
func (m *DeleteKeyRequest) GetFingerprint() string
func (*DeleteKeyRequest) ProtoMessage ¶
func (*DeleteKeyRequest) ProtoMessage()
func (*DeleteKeyRequest) Reset ¶
func (m *DeleteKeyRequest) Reset()
func (*DeleteKeyRequest) String ¶
func (m *DeleteKeyRequest) String() string
func (*DeleteKeyRequest) Validate ¶
func (m *DeleteKeyRequest) Validate() (err error)
func (*DeleteKeyRequest) XXX_DiscardUnknown ¶
func (m *DeleteKeyRequest) XXX_DiscardUnknown()
func (*DeleteKeyRequest) XXX_Marshal ¶
func (m *DeleteKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteKeyRequest) XXX_Merge ¶
func (m *DeleteKeyRequest) XXX_Merge(src proto.Message)
func (*DeleteKeyRequest) XXX_Size ¶
func (m *DeleteKeyRequest) XXX_Size() int
func (*DeleteKeyRequest) XXX_Unmarshal ¶
func (m *DeleteKeyRequest) XXX_Unmarshal(b []byte) error
type DeleteKeyResponse ¶
type DeleteKeyResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteKeyResponse) Descriptor ¶
func (*DeleteKeyResponse) Descriptor() ([]byte, []int)
func (*DeleteKeyResponse) ProtoMessage ¶
func (*DeleteKeyResponse) ProtoMessage()
func (*DeleteKeyResponse) Reset ¶
func (m *DeleteKeyResponse) Reset()
func (*DeleteKeyResponse) String ¶
func (m *DeleteKeyResponse) String() string
func (*DeleteKeyResponse) XXX_DiscardUnknown ¶
func (m *DeleteKeyResponse) XXX_DiscardUnknown()
func (*DeleteKeyResponse) XXX_Marshal ¶
func (m *DeleteKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteKeyResponse) XXX_Merge ¶
func (m *DeleteKeyResponse) XXX_Merge(src proto.Message)
func (*DeleteKeyResponse) XXX_Size ¶
func (m *DeleteKeyResponse) XXX_Size() int
func (*DeleteKeyResponse) XXX_Unmarshal ¶
func (m *DeleteKeyResponse) XXX_Unmarshal(b []byte) error
type DeleteNodeRequest ¶
type DeleteNodeRequest struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteNodeRequest) Descriptor ¶
func (*DeleteNodeRequest) Descriptor() ([]byte, []int)
func (*DeleteNodeRequest) GetHostname ¶
func (m *DeleteNodeRequest) GetHostname() string
func (*DeleteNodeRequest) ProtoMessage ¶
func (*DeleteNodeRequest) ProtoMessage()
func (*DeleteNodeRequest) Reset ¶
func (m *DeleteNodeRequest) Reset()
func (*DeleteNodeRequest) String ¶
func (m *DeleteNodeRequest) String() string
func (*DeleteNodeRequest) XXX_DiscardUnknown ¶
func (m *DeleteNodeRequest) XXX_DiscardUnknown()
func (*DeleteNodeRequest) XXX_Marshal ¶
func (m *DeleteNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteNodeRequest) XXX_Merge ¶
func (m *DeleteNodeRequest) XXX_Merge(src proto.Message)
func (*DeleteNodeRequest) XXX_Size ¶
func (m *DeleteNodeRequest) XXX_Size() int
func (*DeleteNodeRequest) XXX_Unmarshal ¶
func (m *DeleteNodeRequest) XXX_Unmarshal(b []byte) error
type DeleteNodeResponse ¶
type DeleteNodeResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteNodeResponse) Descriptor ¶
func (*DeleteNodeResponse) Descriptor() ([]byte, []int)
func (*DeleteNodeResponse) ProtoMessage ¶
func (*DeleteNodeResponse) ProtoMessage()
func (*DeleteNodeResponse) Reset ¶
func (m *DeleteNodeResponse) Reset()
func (*DeleteNodeResponse) String ¶
func (m *DeleteNodeResponse) String() string
func (*DeleteNodeResponse) XXX_DiscardUnknown ¶
func (m *DeleteNodeResponse) XXX_DiscardUnknown()
func (*DeleteNodeResponse) XXX_Marshal ¶
func (m *DeleteNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteNodeResponse) XXX_Merge ¶
func (m *DeleteNodeResponse) XXX_Merge(src proto.Message)
func (*DeleteNodeResponse) XXX_Size ¶
func (m *DeleteNodeResponse) XXX_Size() int
func (*DeleteNodeResponse) XXX_Unmarshal ¶
func (m *DeleteNodeResponse) XXX_Unmarshal(b []byte) error
type DeleteTokenRequest ¶
type DeleteTokenRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteTokenRequest) Descriptor ¶
func (*DeleteTokenRequest) Descriptor() ([]byte, []int)
func (*DeleteTokenRequest) GetId ¶
func (m *DeleteTokenRequest) GetId() int64
func (*DeleteTokenRequest) ProtoMessage ¶
func (*DeleteTokenRequest) ProtoMessage()
func (*DeleteTokenRequest) Reset ¶
func (m *DeleteTokenRequest) Reset()
func (*DeleteTokenRequest) String ¶
func (m *DeleteTokenRequest) String() string
func (*DeleteTokenRequest) Validate ¶
func (m *DeleteTokenRequest) Validate() (err error)
func (*DeleteTokenRequest) XXX_DiscardUnknown ¶
func (m *DeleteTokenRequest) XXX_DiscardUnknown()
func (*DeleteTokenRequest) XXX_Marshal ¶
func (m *DeleteTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteTokenRequest) XXX_Merge ¶
func (m *DeleteTokenRequest) XXX_Merge(src proto.Message)
func (*DeleteTokenRequest) XXX_Size ¶
func (m *DeleteTokenRequest) XXX_Size() int
func (*DeleteTokenRequest) XXX_Unmarshal ¶
func (m *DeleteTokenRequest) XXX_Unmarshal(b []byte) error
type DeleteTokenResponse ¶
type DeleteTokenResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteTokenResponse) Descriptor ¶
func (*DeleteTokenResponse) Descriptor() ([]byte, []int)
func (*DeleteTokenResponse) ProtoMessage ¶
func (*DeleteTokenResponse) ProtoMessage()
func (*DeleteTokenResponse) Reset ¶
func (m *DeleteTokenResponse) Reset()
func (*DeleteTokenResponse) String ¶
func (m *DeleteTokenResponse) String() string
func (*DeleteTokenResponse) XXX_DiscardUnknown ¶
func (m *DeleteTokenResponse) XXX_DiscardUnknown()
func (*DeleteTokenResponse) XXX_Marshal ¶
func (m *DeleteTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteTokenResponse) XXX_Merge ¶
func (m *DeleteTokenResponse) XXX_Merge(src proto.Message)
func (*DeleteTokenResponse) XXX_Size ¶
func (m *DeleteTokenResponse) XXX_Size() int
func (*DeleteTokenResponse) XXX_Unmarshal ¶
func (m *DeleteTokenResponse) XXX_Unmarshal(b []byte) error
type FinishSessionRequest ¶
type FinishSessionRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FinishSessionRequest) Descriptor ¶
func (*FinishSessionRequest) Descriptor() ([]byte, []int)
func (*FinishSessionRequest) GetId ¶
func (m *FinishSessionRequest) GetId() int64
func (*FinishSessionRequest) ProtoMessage ¶
func (*FinishSessionRequest) ProtoMessage()
func (*FinishSessionRequest) Reset ¶
func (m *FinishSessionRequest) Reset()
func (*FinishSessionRequest) String ¶
func (m *FinishSessionRequest) String() string
func (*FinishSessionRequest) Validate ¶
func (m *FinishSessionRequest) Validate() (err error)
func (*FinishSessionRequest) XXX_DiscardUnknown ¶
func (m *FinishSessionRequest) XXX_DiscardUnknown()
func (*FinishSessionRequest) XXX_Marshal ¶
func (m *FinishSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FinishSessionRequest) XXX_Merge ¶
func (m *FinishSessionRequest) XXX_Merge(src proto.Message)
func (*FinishSessionRequest) XXX_Size ¶
func (m *FinishSessionRequest) XXX_Size() int
func (*FinishSessionRequest) XXX_Unmarshal ¶
func (m *FinishSessionRequest) XXX_Unmarshal(b []byte) error
type FinishSessionResponse ¶
type FinishSessionResponse struct { Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FinishSessionResponse) Descriptor ¶
func (*FinishSessionResponse) Descriptor() ([]byte, []int)
func (*FinishSessionResponse) GetSession ¶
func (m *FinishSessionResponse) GetSession() *Session
func (*FinishSessionResponse) ProtoMessage ¶
func (*FinishSessionResponse) ProtoMessage()
func (*FinishSessionResponse) Reset ¶
func (m *FinishSessionResponse) Reset()
func (*FinishSessionResponse) String ¶
func (m *FinishSessionResponse) String() string
func (*FinishSessionResponse) XXX_DiscardUnknown ¶
func (m *FinishSessionResponse) XXX_DiscardUnknown()
func (*FinishSessionResponse) XXX_Marshal ¶
func (m *FinishSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FinishSessionResponse) XXX_Merge ¶
func (m *FinishSessionResponse) XXX_Merge(src proto.Message)
func (*FinishSessionResponse) XXX_Size ¶
func (m *FinishSessionResponse) XXX_Size() int
func (*FinishSessionResponse) XXX_Unmarshal ¶
func (m *FinishSessionResponse) XXX_Unmarshal(b []byte) error
type GetKeyRequest ¶
type GetKeyRequest struct { Fingerprint string `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetKeyRequest) Descriptor ¶
func (*GetKeyRequest) Descriptor() ([]byte, []int)
func (*GetKeyRequest) GetFingerprint ¶
func (m *GetKeyRequest) GetFingerprint() string
func (*GetKeyRequest) ProtoMessage ¶
func (*GetKeyRequest) ProtoMessage()
func (*GetKeyRequest) Reset ¶
func (m *GetKeyRequest) Reset()
func (*GetKeyRequest) String ¶
func (m *GetKeyRequest) String() string
func (*GetKeyRequest) Validate ¶
func (m *GetKeyRequest) Validate() (err error)
func (*GetKeyRequest) XXX_DiscardUnknown ¶
func (m *GetKeyRequest) XXX_DiscardUnknown()
func (*GetKeyRequest) XXX_Marshal ¶
func (m *GetKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetKeyRequest) XXX_Merge ¶
func (m *GetKeyRequest) XXX_Merge(src proto.Message)
func (*GetKeyRequest) XXX_Size ¶
func (m *GetKeyRequest) XXX_Size() int
func (*GetKeyRequest) XXX_Unmarshal ¶
func (m *GetKeyRequest) XXX_Unmarshal(b []byte) error
type GetKeyResponse ¶
type GetKeyResponse struct { Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetKeyResponse) Descriptor ¶
func (*GetKeyResponse) Descriptor() ([]byte, []int)
func (*GetKeyResponse) GetKey ¶
func (m *GetKeyResponse) GetKey() *Key
func (*GetKeyResponse) ProtoMessage ¶
func (*GetKeyResponse) ProtoMessage()
func (*GetKeyResponse) Reset ¶
func (m *GetKeyResponse) Reset()
func (*GetKeyResponse) String ¶
func (m *GetKeyResponse) String() string
func (*GetKeyResponse) XXX_DiscardUnknown ¶
func (m *GetKeyResponse) XXX_DiscardUnknown()
func (*GetKeyResponse) XXX_Marshal ¶
func (m *GetKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetKeyResponse) XXX_Merge ¶
func (m *GetKeyResponse) XXX_Merge(src proto.Message)
func (*GetKeyResponse) XXX_Size ¶
func (m *GetKeyResponse) XXX_Size() int
func (*GetKeyResponse) XXX_Unmarshal ¶
func (m *GetKeyResponse) XXX_Unmarshal(b []byte) error
type GetNodeRequest ¶
type GetNodeRequest struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetNodeRequest) Descriptor ¶
func (*GetNodeRequest) Descriptor() ([]byte, []int)
func (*GetNodeRequest) GetHostname ¶
func (m *GetNodeRequest) GetHostname() string
func (*GetNodeRequest) ProtoMessage ¶
func (*GetNodeRequest) ProtoMessage()
func (*GetNodeRequest) Reset ¶
func (m *GetNodeRequest) Reset()
func (*GetNodeRequest) String ¶
func (m *GetNodeRequest) String() string
func (*GetNodeRequest) Validate ¶
func (m *GetNodeRequest) Validate() (err error)
func (*GetNodeRequest) XXX_DiscardUnknown ¶
func (m *GetNodeRequest) XXX_DiscardUnknown()
func (*GetNodeRequest) XXX_Marshal ¶
func (m *GetNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetNodeRequest) XXX_Merge ¶
func (m *GetNodeRequest) XXX_Merge(src proto.Message)
func (*GetNodeRequest) XXX_Size ¶
func (m *GetNodeRequest) XXX_Size() int
func (*GetNodeRequest) XXX_Unmarshal ¶
func (m *GetNodeRequest) XXX_Unmarshal(b []byte) error
type GetNodeResponse ¶
type GetNodeResponse struct { Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetNodeResponse) Descriptor ¶
func (*GetNodeResponse) Descriptor() ([]byte, []int)
func (*GetNodeResponse) GetNode ¶
func (m *GetNodeResponse) GetNode() *Node
func (*GetNodeResponse) ProtoMessage ¶
func (*GetNodeResponse) ProtoMessage()
func (*GetNodeResponse) Reset ¶
func (m *GetNodeResponse) Reset()
func (*GetNodeResponse) String ¶
func (m *GetNodeResponse) String() string
func (*GetNodeResponse) XXX_DiscardUnknown ¶
func (m *GetNodeResponse) XXX_DiscardUnknown()
func (*GetNodeResponse) XXX_Marshal ¶
func (m *GetNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetNodeResponse) XXX_Merge ¶
func (m *GetNodeResponse) XXX_Merge(src proto.Message)
func (*GetNodeResponse) XXX_Size ¶
func (m *GetNodeResponse) XXX_Size() int
func (*GetNodeResponse) XXX_Unmarshal ¶
func (m *GetNodeResponse) XXX_Unmarshal(b []byte) error
type GetSessionRequest ¶
type GetSessionRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetSessionRequest) Descriptor ¶
func (*GetSessionRequest) Descriptor() ([]byte, []int)
func (*GetSessionRequest) GetId ¶
func (m *GetSessionRequest) GetId() int64
func (*GetSessionRequest) ProtoMessage ¶
func (*GetSessionRequest) ProtoMessage()
func (*GetSessionRequest) Reset ¶
func (m *GetSessionRequest) Reset()
func (*GetSessionRequest) String ¶
func (m *GetSessionRequest) String() string
func (*GetSessionRequest) XXX_DiscardUnknown ¶
func (m *GetSessionRequest) XXX_DiscardUnknown()
func (*GetSessionRequest) XXX_Marshal ¶
func (m *GetSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSessionRequest) XXX_Merge ¶
func (m *GetSessionRequest) XXX_Merge(src proto.Message)
func (*GetSessionRequest) XXX_Size ¶
func (m *GetSessionRequest) XXX_Size() int
func (*GetSessionRequest) XXX_Unmarshal ¶
func (m *GetSessionRequest) XXX_Unmarshal(b []byte) error
type GetSessionResponse ¶
type GetSessionResponse struct { Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetSessionResponse) Descriptor ¶
func (*GetSessionResponse) Descriptor() ([]byte, []int)
func (*GetSessionResponse) GetSession ¶
func (m *GetSessionResponse) GetSession() *Session
func (*GetSessionResponse) ProtoMessage ¶
func (*GetSessionResponse) ProtoMessage()
func (*GetSessionResponse) Reset ¶
func (m *GetSessionResponse) Reset()
func (*GetSessionResponse) String ¶
func (m *GetSessionResponse) String() string
func (*GetSessionResponse) XXX_DiscardUnknown ¶
func (m *GetSessionResponse) XXX_DiscardUnknown()
func (*GetSessionResponse) XXX_Marshal ¶
func (m *GetSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSessionResponse) XXX_Merge ¶
func (m *GetSessionResponse) XXX_Merge(src proto.Message)
func (*GetSessionResponse) XXX_Size ¶
func (m *GetSessionResponse) XXX_Size() int
func (*GetSessionResponse) XXX_Unmarshal ¶
func (m *GetSessionResponse) XXX_Unmarshal(b []byte) error
type GetTokenRequest ¶
type GetTokenRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetTokenRequest) Descriptor ¶
func (*GetTokenRequest) Descriptor() ([]byte, []int)
func (*GetTokenRequest) GetId ¶
func (m *GetTokenRequest) GetId() int64
func (*GetTokenRequest) GetToken ¶
func (m *GetTokenRequest) GetToken() string
func (*GetTokenRequest) ProtoMessage ¶
func (*GetTokenRequest) ProtoMessage()
func (*GetTokenRequest) Reset ¶
func (m *GetTokenRequest) Reset()
func (*GetTokenRequest) String ¶
func (m *GetTokenRequest) String() string
func (*GetTokenRequest) Validate ¶
func (m *GetTokenRequest) Validate() (err error)
func (*GetTokenRequest) XXX_DiscardUnknown ¶
func (m *GetTokenRequest) XXX_DiscardUnknown()
func (*GetTokenRequest) XXX_Marshal ¶
func (m *GetTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTokenRequest) XXX_Merge ¶
func (m *GetTokenRequest) XXX_Merge(src proto.Message)
func (*GetTokenRequest) XXX_Size ¶
func (m *GetTokenRequest) XXX_Size() int
func (*GetTokenRequest) XXX_Unmarshal ¶
func (m *GetTokenRequest) XXX_Unmarshal(b []byte) error
type GetTokenResponse ¶
type GetTokenResponse struct { Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetTokenResponse) Descriptor ¶
func (*GetTokenResponse) Descriptor() ([]byte, []int)
func (*GetTokenResponse) GetToken ¶
func (m *GetTokenResponse) GetToken() *Token
func (*GetTokenResponse) ProtoMessage ¶
func (*GetTokenResponse) ProtoMessage()
func (*GetTokenResponse) Reset ¶
func (m *GetTokenResponse) Reset()
func (*GetTokenResponse) String ¶
func (m *GetTokenResponse) String() string
func (*GetTokenResponse) XXX_DiscardUnknown ¶
func (m *GetTokenResponse) XXX_DiscardUnknown()
func (*GetTokenResponse) XXX_Marshal ¶
func (m *GetTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTokenResponse) XXX_Merge ¶
func (m *GetTokenResponse) XXX_Merge(src proto.Message)
func (*GetTokenResponse) XXX_Size ¶
func (m *GetTokenResponse) XXX_Size() int
func (*GetTokenResponse) XXX_Unmarshal ¶
func (m *GetTokenResponse) XXX_Unmarshal(b []byte) error
type GetUserRequest ¶
type GetUserRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUserRequest) Descriptor ¶
func (*GetUserRequest) Descriptor() ([]byte, []int)
func (*GetUserRequest) GetAccount ¶
func (m *GetUserRequest) GetAccount() string
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) Reset ¶
func (m *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (m *GetUserRequest) String() string
func (*GetUserRequest) Validate ¶
func (m *GetUserRequest) Validate() (err error)
func (*GetUserRequest) XXX_DiscardUnknown ¶
func (m *GetUserRequest) XXX_DiscardUnknown()
func (*GetUserRequest) XXX_Marshal ¶
func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserRequest) XXX_Merge ¶
func (m *GetUserRequest) XXX_Merge(src proto.Message)
func (*GetUserRequest) XXX_Size ¶
func (m *GetUserRequest) XXX_Size() int
func (*GetUserRequest) XXX_Unmarshal ¶
func (m *GetUserRequest) XXX_Unmarshal(b []byte) error
type GetUserResponse ¶
type GetUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUserResponse) Descriptor ¶
func (*GetUserResponse) Descriptor() ([]byte, []int)
func (*GetUserResponse) GetUser ¶
func (m *GetUserResponse) GetUser() *User
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) Reset ¶
func (m *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (m *GetUserResponse) String() string
func (*GetUserResponse) XXX_DiscardUnknown ¶
func (m *GetUserResponse) XXX_DiscardUnknown()
func (*GetUserResponse) XXX_Marshal ¶
func (m *GetUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserResponse) XXX_Merge ¶
func (m *GetUserResponse) XXX_Merge(src proto.Message)
func (*GetUserResponse) XXX_Size ¶
func (m *GetUserResponse) XXX_Size() int
func (*GetUserResponse) XXX_Unmarshal ¶
func (m *GetUserResponse) XXX_Unmarshal(b []byte) error
type Grant ¶
type Grant struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` HostnamePattern string `protobuf:"bytes,2,opt,name=hostname_pattern,json=hostnamePattern,proto3" json:"hostname_pattern,omitempty"` User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` ExpiredAt int64 `protobuf:"varint,4,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"` CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Grant) Descriptor ¶
func (*Grant) GetAccount ¶
func (*Grant) GetCreatedAt ¶
func (*Grant) GetExpiredAt ¶
func (*Grant) GetHostnamePattern ¶
func (*Grant) ProtoMessage ¶
func (*Grant) ProtoMessage()
func (*Grant) XXX_DiscardUnknown ¶
func (m *Grant) XXX_DiscardUnknown()
func (*Grant) XXX_Marshal ¶
func (*Grant) XXX_Unmarshal ¶
type GrantItem ¶
type GrantItem struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` ExpiredAt int64 `protobuf:"varint,3,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GrantItem) Descriptor ¶
func (*GrantItem) GetExpiredAt ¶
func (*GrantItem) GetHostname ¶
func (*GrantItem) ProtoMessage ¶
func (*GrantItem) ProtoMessage()
func (*GrantItem) XXX_DiscardUnknown ¶
func (m *GrantItem) XXX_DiscardUnknown()
func (*GrantItem) XXX_Marshal ¶
func (*GrantItem) XXX_Unmarshal ¶
type GrantServiceClient ¶
type GrantServiceClient interface { PutGrant(ctx context.Context, in *PutGrantRequest, opts ...grpc.CallOption) (*PutGrantResponse, error) ListGrants(ctx context.Context, in *ListGrantsRequest, opts ...grpc.CallOption) (*ListGrantsResponse, error) DeleteGrant(ctx context.Context, in *DeleteGrantRequest, opts ...grpc.CallOption) (*DeleteGrantResponse, error) CheckGrant(ctx context.Context, in *CheckGrantRequest, opts ...grpc.CallOption) (*CheckGrantResponse, error) ListGrantItems(ctx context.Context, in *ListGrantItemsRequest, opts ...grpc.CallOption) (*ListGrantItemsResponse, error) }
GrantServiceClient is the client API for GrantService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGrantServiceClient ¶
func NewGrantServiceClient(cc *grpc.ClientConn) GrantServiceClient
type GrantServiceServer ¶
type GrantServiceServer interface { PutGrant(context.Context, *PutGrantRequest) (*PutGrantResponse, error) ListGrants(context.Context, *ListGrantsRequest) (*ListGrantsResponse, error) DeleteGrant(context.Context, *DeleteGrantRequest) (*DeleteGrantResponse, error) CheckGrant(context.Context, *CheckGrantRequest) (*CheckGrantResponse, error) ListGrantItems(context.Context, *ListGrantItemsRequest) (*ListGrantItemsResponse, error) }
GrantServiceServer is the server API for GrantService service.
type Key ¶
type Key struct { Fingerprint string `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ViewedAt int64 `protobuf:"varint,6,opt,name=viewed_at,json=viewedAt,proto3" json:"viewed_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Key) Descriptor ¶
func (*Key) GetAccount ¶
func (*Key) GetCreatedAt ¶
func (*Key) GetFingerprint ¶
func (*Key) GetViewedAt ¶
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) XXX_DiscardUnknown ¶
func (m *Key) XXX_DiscardUnknown()
func (*Key) XXX_Unmarshal ¶
type KeyServiceClient ¶
type KeyServiceClient interface { ListKeys(ctx context.Context, in *ListKeysRequest, opts ...grpc.CallOption) (*ListKeysResponse, error) CreateKey(ctx context.Context, in *CreateKeyRequest, opts ...grpc.CallOption) (*CreateKeyResponse, error) DeleteKey(ctx context.Context, in *DeleteKeyRequest, opts ...grpc.CallOption) (*DeleteKeyResponse, error) GetKey(ctx context.Context, in *GetKeyRequest, opts ...grpc.CallOption) (*GetKeyResponse, error) TouchKey(ctx context.Context, in *TouchKeyRequest, opts ...grpc.CallOption) (*TouchKeyResponse, error) }
KeyServiceClient is the client API for KeyService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewKeyServiceClient ¶
func NewKeyServiceClient(cc *grpc.ClientConn) KeyServiceClient
type KeyServiceServer ¶
type KeyServiceServer interface { ListKeys(context.Context, *ListKeysRequest) (*ListKeysResponse, error) CreateKey(context.Context, *CreateKeyRequest) (*CreateKeyResponse, error) DeleteKey(context.Context, *DeleteKeyRequest) (*DeleteKeyResponse, error) GetKey(context.Context, *GetKeyRequest) (*GetKeyResponse, error) TouchKey(context.Context, *TouchKeyRequest) (*TouchKeyResponse, error) }
KeyServiceServer is the server API for KeyService service.
type ListGrantItemsRequest ¶
type ListGrantItemsRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListGrantItemsRequest) Descriptor ¶
func (*ListGrantItemsRequest) Descriptor() ([]byte, []int)
func (*ListGrantItemsRequest) GetAccount ¶
func (m *ListGrantItemsRequest) GetAccount() string
func (*ListGrantItemsRequest) ProtoMessage ¶
func (*ListGrantItemsRequest) ProtoMessage()
func (*ListGrantItemsRequest) Reset ¶
func (m *ListGrantItemsRequest) Reset()
func (*ListGrantItemsRequest) String ¶
func (m *ListGrantItemsRequest) String() string
func (*ListGrantItemsRequest) Validate ¶
func (m *ListGrantItemsRequest) Validate() (err error)
func (*ListGrantItemsRequest) XXX_DiscardUnknown ¶
func (m *ListGrantItemsRequest) XXX_DiscardUnknown()
func (*ListGrantItemsRequest) XXX_Marshal ¶
func (m *ListGrantItemsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListGrantItemsRequest) XXX_Merge ¶
func (m *ListGrantItemsRequest) XXX_Merge(src proto.Message)
func (*ListGrantItemsRequest) XXX_Size ¶
func (m *ListGrantItemsRequest) XXX_Size() int
func (*ListGrantItemsRequest) XXX_Unmarshal ¶
func (m *ListGrantItemsRequest) XXX_Unmarshal(b []byte) error
type ListGrantItemsResponse ¶
type ListGrantItemsResponse struct { GrantItems []*GrantItem `protobuf:"bytes,1,rep,name=grant_items,json=grantItems,proto3" json:"grant_items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListGrantItemsResponse) Descriptor ¶
func (*ListGrantItemsResponse) Descriptor() ([]byte, []int)
func (*ListGrantItemsResponse) GetGrantItems ¶
func (m *ListGrantItemsResponse) GetGrantItems() []*GrantItem
func (*ListGrantItemsResponse) ProtoMessage ¶
func (*ListGrantItemsResponse) ProtoMessage()
func (*ListGrantItemsResponse) Reset ¶
func (m *ListGrantItemsResponse) Reset()
func (*ListGrantItemsResponse) String ¶
func (m *ListGrantItemsResponse) String() string
func (*ListGrantItemsResponse) XXX_DiscardUnknown ¶
func (m *ListGrantItemsResponse) XXX_DiscardUnknown()
func (*ListGrantItemsResponse) XXX_Marshal ¶
func (m *ListGrantItemsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListGrantItemsResponse) XXX_Merge ¶
func (m *ListGrantItemsResponse) XXX_Merge(src proto.Message)
func (*ListGrantItemsResponse) XXX_Size ¶
func (m *ListGrantItemsResponse) XXX_Size() int
func (*ListGrantItemsResponse) XXX_Unmarshal ¶
func (m *ListGrantItemsResponse) XXX_Unmarshal(b []byte) error
type ListGrantsRequest ¶
type ListGrantsRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListGrantsRequest) Descriptor ¶
func (*ListGrantsRequest) Descriptor() ([]byte, []int)
func (*ListGrantsRequest) GetAccount ¶
func (m *ListGrantsRequest) GetAccount() string
func (*ListGrantsRequest) ProtoMessage ¶
func (*ListGrantsRequest) ProtoMessage()
func (*ListGrantsRequest) Reset ¶
func (m *ListGrantsRequest) Reset()
func (*ListGrantsRequest) String ¶
func (m *ListGrantsRequest) String() string
func (*ListGrantsRequest) Validate ¶
func (m *ListGrantsRequest) Validate() (err error)
func (*ListGrantsRequest) XXX_DiscardUnknown ¶
func (m *ListGrantsRequest) XXX_DiscardUnknown()
func (*ListGrantsRequest) XXX_Marshal ¶
func (m *ListGrantsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListGrantsRequest) XXX_Merge ¶
func (m *ListGrantsRequest) XXX_Merge(src proto.Message)
func (*ListGrantsRequest) XXX_Size ¶
func (m *ListGrantsRequest) XXX_Size() int
func (*ListGrantsRequest) XXX_Unmarshal ¶
func (m *ListGrantsRequest) XXX_Unmarshal(b []byte) error
type ListGrantsResponse ¶
type ListGrantsResponse struct { Grants []*Grant `protobuf:"bytes,1,rep,name=grants,proto3" json:"grants,omitempty"` Now int64 `protobuf:"varint,2,opt,name=now,proto3" json:"now,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListGrantsResponse) Descriptor ¶
func (*ListGrantsResponse) Descriptor() ([]byte, []int)
func (*ListGrantsResponse) GetGrants ¶
func (m *ListGrantsResponse) GetGrants() []*Grant
func (*ListGrantsResponse) GetNow ¶
func (m *ListGrantsResponse) GetNow() int64
func (*ListGrantsResponse) ProtoMessage ¶
func (*ListGrantsResponse) ProtoMessage()
func (*ListGrantsResponse) Reset ¶
func (m *ListGrantsResponse) Reset()
func (*ListGrantsResponse) String ¶
func (m *ListGrantsResponse) String() string
func (*ListGrantsResponse) XXX_DiscardUnknown ¶
func (m *ListGrantsResponse) XXX_DiscardUnknown()
func (*ListGrantsResponse) XXX_Marshal ¶
func (m *ListGrantsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListGrantsResponse) XXX_Merge ¶
func (m *ListGrantsResponse) XXX_Merge(src proto.Message)
func (*ListGrantsResponse) XXX_Size ¶
func (m *ListGrantsResponse) XXX_Size() int
func (*ListGrantsResponse) XXX_Unmarshal ¶
func (m *ListGrantsResponse) XXX_Unmarshal(b []byte) error
type ListKeysRequest ¶
type ListKeysRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListKeysRequest) Descriptor ¶
func (*ListKeysRequest) Descriptor() ([]byte, []int)
func (*ListKeysRequest) GetAccount ¶
func (m *ListKeysRequest) GetAccount() string
func (*ListKeysRequest) ProtoMessage ¶
func (*ListKeysRequest) ProtoMessage()
func (*ListKeysRequest) Reset ¶
func (m *ListKeysRequest) Reset()
func (*ListKeysRequest) String ¶
func (m *ListKeysRequest) String() string
func (*ListKeysRequest) Validate ¶
func (m *ListKeysRequest) Validate() (err error)
func (*ListKeysRequest) XXX_DiscardUnknown ¶
func (m *ListKeysRequest) XXX_DiscardUnknown()
func (*ListKeysRequest) XXX_Marshal ¶
func (m *ListKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListKeysRequest) XXX_Merge ¶
func (m *ListKeysRequest) XXX_Merge(src proto.Message)
func (*ListKeysRequest) XXX_Size ¶
func (m *ListKeysRequest) XXX_Size() int
func (*ListKeysRequest) XXX_Unmarshal ¶
func (m *ListKeysRequest) XXX_Unmarshal(b []byte) error
type ListKeysResponse ¶
type ListKeysResponse struct { Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListKeysResponse) Descriptor ¶
func (*ListKeysResponse) Descriptor() ([]byte, []int)
func (*ListKeysResponse) GetKeys ¶
func (m *ListKeysResponse) GetKeys() []*Key
func (*ListKeysResponse) ProtoMessage ¶
func (*ListKeysResponse) ProtoMessage()
func (*ListKeysResponse) Reset ¶
func (m *ListKeysResponse) Reset()
func (*ListKeysResponse) String ¶
func (m *ListKeysResponse) String() string
func (*ListKeysResponse) XXX_DiscardUnknown ¶
func (m *ListKeysResponse) XXX_DiscardUnknown()
func (*ListKeysResponse) XXX_Marshal ¶
func (m *ListKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListKeysResponse) XXX_Merge ¶
func (m *ListKeysResponse) XXX_Merge(src proto.Message)
func (*ListKeysResponse) XXX_Size ¶
func (m *ListKeysResponse) XXX_Size() int
func (*ListKeysResponse) XXX_Unmarshal ¶
func (m *ListKeysResponse) XXX_Unmarshal(b []byte) error
type ListMasterKeysRequest ¶
type ListMasterKeysRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListMasterKeysRequest) Descriptor ¶
func (*ListMasterKeysRequest) Descriptor() ([]byte, []int)
func (*ListMasterKeysRequest) ProtoMessage ¶
func (*ListMasterKeysRequest) ProtoMessage()
func (*ListMasterKeysRequest) Reset ¶
func (m *ListMasterKeysRequest) Reset()
func (*ListMasterKeysRequest) String ¶
func (m *ListMasterKeysRequest) String() string
func (*ListMasterKeysRequest) XXX_DiscardUnknown ¶
func (m *ListMasterKeysRequest) XXX_DiscardUnknown()
func (*ListMasterKeysRequest) XXX_Marshal ¶
func (m *ListMasterKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListMasterKeysRequest) XXX_Merge ¶
func (m *ListMasterKeysRequest) XXX_Merge(src proto.Message)
func (*ListMasterKeysRequest) XXX_Size ¶
func (m *ListMasterKeysRequest) XXX_Size() int
func (*ListMasterKeysRequest) XXX_Unmarshal ¶
func (m *ListMasterKeysRequest) XXX_Unmarshal(b []byte) error
type ListMasterKeysResponse ¶
type ListMasterKeysResponse struct { MasterKeys []*MasterKey `protobuf:"bytes,1,rep,name=master_keys,json=masterKeys,proto3" json:"master_keys,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListMasterKeysResponse) Descriptor ¶
func (*ListMasterKeysResponse) Descriptor() ([]byte, []int)
func (*ListMasterKeysResponse) GetMasterKeys ¶
func (m *ListMasterKeysResponse) GetMasterKeys() []*MasterKey
func (*ListMasterKeysResponse) ProtoMessage ¶
func (*ListMasterKeysResponse) ProtoMessage()
func (*ListMasterKeysResponse) Reset ¶
func (m *ListMasterKeysResponse) Reset()
func (*ListMasterKeysResponse) String ¶
func (m *ListMasterKeysResponse) String() string
func (*ListMasterKeysResponse) XXX_DiscardUnknown ¶
func (m *ListMasterKeysResponse) XXX_DiscardUnknown()
func (*ListMasterKeysResponse) XXX_Marshal ¶
func (m *ListMasterKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListMasterKeysResponse) XXX_Merge ¶
func (m *ListMasterKeysResponse) XXX_Merge(src proto.Message)
func (*ListMasterKeysResponse) XXX_Size ¶
func (m *ListMasterKeysResponse) XXX_Size() int
func (*ListMasterKeysResponse) XXX_Unmarshal ¶
func (m *ListMasterKeysResponse) XXX_Unmarshal(b []byte) error
type ListNodesRequest ¶
type ListNodesRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListNodesRequest) Descriptor ¶
func (*ListNodesRequest) Descriptor() ([]byte, []int)
func (*ListNodesRequest) ProtoMessage ¶
func (*ListNodesRequest) ProtoMessage()
func (*ListNodesRequest) Reset ¶
func (m *ListNodesRequest) Reset()
func (*ListNodesRequest) String ¶
func (m *ListNodesRequest) String() string
func (*ListNodesRequest) XXX_DiscardUnknown ¶
func (m *ListNodesRequest) XXX_DiscardUnknown()
func (*ListNodesRequest) XXX_Marshal ¶
func (m *ListNodesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListNodesRequest) XXX_Merge ¶
func (m *ListNodesRequest) XXX_Merge(src proto.Message)
func (*ListNodesRequest) XXX_Size ¶
func (m *ListNodesRequest) XXX_Size() int
func (*ListNodesRequest) XXX_Unmarshal ¶
func (m *ListNodesRequest) XXX_Unmarshal(b []byte) error
type ListNodesResponse ¶
type ListNodesResponse struct { Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListNodesResponse) Descriptor ¶
func (*ListNodesResponse) Descriptor() ([]byte, []int)
func (*ListNodesResponse) GetNodes ¶
func (m *ListNodesResponse) GetNodes() []*Node
func (*ListNodesResponse) ProtoMessage ¶
func (*ListNodesResponse) ProtoMessage()
func (*ListNodesResponse) Reset ¶
func (m *ListNodesResponse) Reset()
func (*ListNodesResponse) String ¶
func (m *ListNodesResponse) String() string
func (*ListNodesResponse) XXX_DiscardUnknown ¶
func (m *ListNodesResponse) XXX_DiscardUnknown()
func (*ListNodesResponse) XXX_Marshal ¶
func (m *ListNodesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListNodesResponse) XXX_Merge ¶
func (m *ListNodesResponse) XXX_Merge(src proto.Message)
func (*ListNodesResponse) XXX_Size ¶
func (m *ListNodesResponse) XXX_Size() int
func (*ListNodesResponse) XXX_Unmarshal ¶
func (m *ListNodesResponse) XXX_Unmarshal(b []byte) error
type ListSessionsRequest ¶
type ListSessionsRequest struct { Skip int32 `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"` Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListSessionsRequest) Descriptor ¶
func (*ListSessionsRequest) Descriptor() ([]byte, []int)
func (*ListSessionsRequest) GetLimit ¶
func (m *ListSessionsRequest) GetLimit() int32
func (*ListSessionsRequest) GetSkip ¶
func (m *ListSessionsRequest) GetSkip() int32
func (*ListSessionsRequest) ProtoMessage ¶
func (*ListSessionsRequest) ProtoMessage()
func (*ListSessionsRequest) Reset ¶
func (m *ListSessionsRequest) Reset()
func (*ListSessionsRequest) String ¶
func (m *ListSessionsRequest) String() string
func (*ListSessionsRequest) Validate ¶
func (m *ListSessionsRequest) Validate() (err error)
func (*ListSessionsRequest) XXX_DiscardUnknown ¶
func (m *ListSessionsRequest) XXX_DiscardUnknown()
func (*ListSessionsRequest) XXX_Marshal ¶
func (m *ListSessionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListSessionsRequest) XXX_Merge ¶
func (m *ListSessionsRequest) XXX_Merge(src proto.Message)
func (*ListSessionsRequest) XXX_Size ¶
func (m *ListSessionsRequest) XXX_Size() int
func (*ListSessionsRequest) XXX_Unmarshal ¶
func (m *ListSessionsRequest) XXX_Unmarshal(b []byte) error
type ListSessionsResponse ¶
type ListSessionsResponse struct { Skip int32 `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"` Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` Sessions []*Session `protobuf:"bytes,4,rep,name=sessions,proto3" json:"sessions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListSessionsResponse) Descriptor ¶
func (*ListSessionsResponse) Descriptor() ([]byte, []int)
func (*ListSessionsResponse) GetLimit ¶
func (m *ListSessionsResponse) GetLimit() int32
func (*ListSessionsResponse) GetSessions ¶
func (m *ListSessionsResponse) GetSessions() []*Session
func (*ListSessionsResponse) GetSkip ¶
func (m *ListSessionsResponse) GetSkip() int32
func (*ListSessionsResponse) GetTotal ¶
func (m *ListSessionsResponse) GetTotal() int32
func (*ListSessionsResponse) ProtoMessage ¶
func (*ListSessionsResponse) ProtoMessage()
func (*ListSessionsResponse) Reset ¶
func (m *ListSessionsResponse) Reset()
func (*ListSessionsResponse) String ¶
func (m *ListSessionsResponse) String() string
func (*ListSessionsResponse) XXX_DiscardUnknown ¶
func (m *ListSessionsResponse) XXX_DiscardUnknown()
func (*ListSessionsResponse) XXX_Marshal ¶
func (m *ListSessionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListSessionsResponse) XXX_Merge ¶
func (m *ListSessionsResponse) XXX_Merge(src proto.Message)
func (*ListSessionsResponse) XXX_Size ¶
func (m *ListSessionsResponse) XXX_Size() int
func (*ListSessionsResponse) XXX_Unmarshal ¶
func (m *ListSessionsResponse) XXX_Unmarshal(b []byte) error
type ListTokensRequest ¶
type ListTokensRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListTokensRequest) Descriptor ¶
func (*ListTokensRequest) Descriptor() ([]byte, []int)
func (*ListTokensRequest) GetAccount ¶
func (m *ListTokensRequest) GetAccount() string
func (*ListTokensRequest) ProtoMessage ¶
func (*ListTokensRequest) ProtoMessage()
func (*ListTokensRequest) Reset ¶
func (m *ListTokensRequest) Reset()
func (*ListTokensRequest) String ¶
func (m *ListTokensRequest) String() string
func (*ListTokensRequest) Validate ¶
func (m *ListTokensRequest) Validate() (err error)
func (*ListTokensRequest) XXX_DiscardUnknown ¶
func (m *ListTokensRequest) XXX_DiscardUnknown()
func (*ListTokensRequest) XXX_Marshal ¶
func (m *ListTokensRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListTokensRequest) XXX_Merge ¶
func (m *ListTokensRequest) XXX_Merge(src proto.Message)
func (*ListTokensRequest) XXX_Size ¶
func (m *ListTokensRequest) XXX_Size() int
func (*ListTokensRequest) XXX_Unmarshal ¶
func (m *ListTokensRequest) XXX_Unmarshal(b []byte) error
type ListTokensResponse ¶
type ListTokensResponse struct { Tokens []*Token `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListTokensResponse) Descriptor ¶
func (*ListTokensResponse) Descriptor() ([]byte, []int)
func (*ListTokensResponse) GetTokens ¶
func (m *ListTokensResponse) GetTokens() []*Token
func (*ListTokensResponse) ProtoMessage ¶
func (*ListTokensResponse) ProtoMessage()
func (*ListTokensResponse) Reset ¶
func (m *ListTokensResponse) Reset()
func (*ListTokensResponse) String ¶
func (m *ListTokensResponse) String() string
func (*ListTokensResponse) XXX_DiscardUnknown ¶
func (m *ListTokensResponse) XXX_DiscardUnknown()
func (*ListTokensResponse) XXX_Marshal ¶
func (m *ListTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListTokensResponse) XXX_Merge ¶
func (m *ListTokensResponse) XXX_Merge(src proto.Message)
func (*ListTokensResponse) XXX_Size ¶
func (m *ListTokensResponse) XXX_Size() int
func (*ListTokensResponse) XXX_Unmarshal ¶
func (m *ListTokensResponse) XXX_Unmarshal(b []byte) error
type ListUsersRequest ¶
type ListUsersRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListUsersRequest) Descriptor ¶
func (*ListUsersRequest) Descriptor() ([]byte, []int)
func (*ListUsersRequest) ProtoMessage ¶
func (*ListUsersRequest) ProtoMessage()
func (*ListUsersRequest) Reset ¶
func (m *ListUsersRequest) Reset()
func (*ListUsersRequest) String ¶
func (m *ListUsersRequest) String() string
func (*ListUsersRequest) XXX_DiscardUnknown ¶
func (m *ListUsersRequest) XXX_DiscardUnknown()
func (*ListUsersRequest) XXX_Marshal ¶
func (m *ListUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUsersRequest) XXX_Merge ¶
func (m *ListUsersRequest) XXX_Merge(src proto.Message)
func (*ListUsersRequest) XXX_Size ¶
func (m *ListUsersRequest) XXX_Size() int
func (*ListUsersRequest) XXX_Unmarshal ¶
func (m *ListUsersRequest) XXX_Unmarshal(b []byte) error
type ListUsersResponse ¶
type ListUsersResponse struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListUsersResponse) Descriptor ¶
func (*ListUsersResponse) Descriptor() ([]byte, []int)
func (*ListUsersResponse) GetUsers ¶
func (m *ListUsersResponse) GetUsers() []*User
func (*ListUsersResponse) ProtoMessage ¶
func (*ListUsersResponse) ProtoMessage()
func (*ListUsersResponse) Reset ¶
func (m *ListUsersResponse) Reset()
func (*ListUsersResponse) String ¶
func (m *ListUsersResponse) String() string
func (*ListUsersResponse) XXX_DiscardUnknown ¶
func (m *ListUsersResponse) XXX_DiscardUnknown()
func (*ListUsersResponse) XXX_Marshal ¶
func (m *ListUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUsersResponse) XXX_Merge ¶
func (m *ListUsersResponse) XXX_Merge(src proto.Message)
func (*ListUsersResponse) XXX_Size ¶
func (m *ListUsersResponse) XXX_Size() int
func (*ListUsersResponse) XXX_Unmarshal ¶
func (m *ListUsersResponse) XXX_Unmarshal(b []byte) error
type MasterKey ¶
type MasterKey struct { Fingerprint string `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MasterKey) Descriptor ¶
func (*MasterKey) GetFingerprint ¶
func (*MasterKey) GetPublicKey ¶
func (*MasterKey) ProtoMessage ¶
func (*MasterKey) ProtoMessage()
func (*MasterKey) XXX_DiscardUnknown ¶
func (m *MasterKey) XXX_DiscardUnknown()
func (*MasterKey) XXX_Marshal ¶
func (*MasterKey) XXX_Unmarshal ¶
type MasterKeyServiceClient ¶
type MasterKeyServiceClient interface { ListMasterKeys(ctx context.Context, in *ListMasterKeysRequest, opts ...grpc.CallOption) (*ListMasterKeysResponse, error) UpdateAllMasterKeys(ctx context.Context, in *UpdateAllMasterKeysRequest, opts ...grpc.CallOption) (*UpdateAllMasterKeysResponse, error) }
MasterKeyServiceClient is the client API for MasterKeyService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMasterKeyServiceClient ¶
func NewMasterKeyServiceClient(cc *grpc.ClientConn) MasterKeyServiceClient
type MasterKeyServiceServer ¶
type MasterKeyServiceServer interface { ListMasterKeys(context.Context, *ListMasterKeysRequest) (*ListMasterKeysResponse, error) UpdateAllMasterKeys(context.Context, *UpdateAllMasterKeysRequest) (*UpdateAllMasterKeysResponse, error) }
MasterKeyServiceServer is the server API for MasterKeyService service.
type Node ¶
type Node struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ViewedAt int64 `protobuf:"varint,6,opt,name=viewed_at,json=viewedAt,proto3" json:"viewed_at,omitempty"` IsKeyManaged bool `protobuf:"varint,7,opt,name=is_key_managed,json=isKeyManaged,proto3" json:"is_key_managed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Node) Descriptor ¶
func (*Node) GetAddress ¶
func (*Node) GetCreatedAt ¶
func (*Node) GetHostname ¶
func (*Node) GetIsKeyManaged ¶
func (*Node) GetViewedAt ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) XXX_DiscardUnknown ¶
func (m *Node) XXX_DiscardUnknown()
func (*Node) XXX_Unmarshal ¶
type NodeServiceClient ¶
type NodeServiceClient interface { ListNodes(ctx context.Context, in *ListNodesRequest, opts ...grpc.CallOption) (*ListNodesResponse, error) PutNode(ctx context.Context, in *PutNodeRequest, opts ...grpc.CallOption) (*PutNodeResponse, error) DeleteNode(ctx context.Context, in *DeleteNodeRequest, opts ...grpc.CallOption) (*DeleteNodeResponse, error) GetNode(ctx context.Context, in *GetNodeRequest, opts ...grpc.CallOption) (*GetNodeResponse, error) TouchNode(ctx context.Context, in *TouchNodeRequest, opts ...grpc.CallOption) (*TouchNodeResponse, error) UpdateNode(ctx context.Context, in *UpdateNodeRequest, opts ...grpc.CallOption) (*UpdateNodeResponse, error) }
NodeServiceClient is the client API for NodeService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNodeServiceClient ¶
func NewNodeServiceClient(cc *grpc.ClientConn) NodeServiceClient
type NodeServiceServer ¶
type NodeServiceServer interface { ListNodes(context.Context, *ListNodesRequest) (*ListNodesResponse, error) PutNode(context.Context, *PutNodeRequest) (*PutNodeResponse, error) DeleteNode(context.Context, *DeleteNodeRequest) (*DeleteNodeResponse, error) GetNode(context.Context, *GetNodeRequest) (*GetNodeResponse, error) TouchNode(context.Context, *TouchNodeRequest) (*TouchNodeResponse, error) UpdateNode(context.Context, *UpdateNodeRequest) (*UpdateNodeResponse, error) }
NodeServiceServer is the server API for NodeService service.
type Options ¶
type Options struct { // Daemon daemon options Daemon DaemonOptions `yaml:"daemon"` // Web web options Web WebOptions `yaml:"web"` // SSHD sshd options SSHD SSHDOptions `yaml:"sshd"` }
Options options for bastion
func LoadOptions ¶
LoadOptions load options from file
type PutGrantRequest ¶
type PutGrantRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` HostnamePattern string `protobuf:"bytes,2,opt,name=hostname_pattern,json=hostnamePattern,proto3" json:"hostname_pattern,omitempty"` User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` ExpiredAt int64 `protobuf:"varint,4,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutGrantRequest) Descriptor ¶
func (*PutGrantRequest) Descriptor() ([]byte, []int)
func (*PutGrantRequest) GetAccount ¶
func (m *PutGrantRequest) GetAccount() string
func (*PutGrantRequest) GetExpiredAt ¶
func (m *PutGrantRequest) GetExpiredAt() int64
func (*PutGrantRequest) GetHostnamePattern ¶
func (m *PutGrantRequest) GetHostnamePattern() string
func (*PutGrantRequest) GetUser ¶
func (m *PutGrantRequest) GetUser() string
func (*PutGrantRequest) ProtoMessage ¶
func (*PutGrantRequest) ProtoMessage()
func (*PutGrantRequest) Reset ¶
func (m *PutGrantRequest) Reset()
func (*PutGrantRequest) String ¶
func (m *PutGrantRequest) String() string
func (*PutGrantRequest) Validate ¶
func (m *PutGrantRequest) Validate() (err error)
func (*PutGrantRequest) XXX_DiscardUnknown ¶
func (m *PutGrantRequest) XXX_DiscardUnknown()
func (*PutGrantRequest) XXX_Marshal ¶
func (m *PutGrantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutGrantRequest) XXX_Merge ¶
func (m *PutGrantRequest) XXX_Merge(src proto.Message)
func (*PutGrantRequest) XXX_Size ¶
func (m *PutGrantRequest) XXX_Size() int
func (*PutGrantRequest) XXX_Unmarshal ¶
func (m *PutGrantRequest) XXX_Unmarshal(b []byte) error
type PutGrantResponse ¶
type PutGrantResponse struct { Grant *Grant `protobuf:"bytes,1,opt,name=grant,proto3" json:"grant,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutGrantResponse) Descriptor ¶
func (*PutGrantResponse) Descriptor() ([]byte, []int)
func (*PutGrantResponse) GetGrant ¶
func (m *PutGrantResponse) GetGrant() *Grant
func (*PutGrantResponse) ProtoMessage ¶
func (*PutGrantResponse) ProtoMessage()
func (*PutGrantResponse) Reset ¶
func (m *PutGrantResponse) Reset()
func (*PutGrantResponse) String ¶
func (m *PutGrantResponse) String() string
func (*PutGrantResponse) XXX_DiscardUnknown ¶
func (m *PutGrantResponse) XXX_DiscardUnknown()
func (*PutGrantResponse) XXX_Marshal ¶
func (m *PutGrantResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutGrantResponse) XXX_Merge ¶
func (m *PutGrantResponse) XXX_Merge(src proto.Message)
func (*PutGrantResponse) XXX_Size ¶
func (m *PutGrantResponse) XXX_Size() int
func (*PutGrantResponse) XXX_Unmarshal ¶
func (m *PutGrantResponse) XXX_Unmarshal(b []byte) error
type PutNodeRequest ¶
type PutNodeRequest struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutNodeRequest) Descriptor ¶
func (*PutNodeRequest) Descriptor() ([]byte, []int)
func (*PutNodeRequest) GetAddress ¶
func (m *PutNodeRequest) GetAddress() string
func (*PutNodeRequest) GetHostname ¶
func (m *PutNodeRequest) GetHostname() string
func (*PutNodeRequest) GetSource ¶
func (m *PutNodeRequest) GetSource() string
func (*PutNodeRequest) GetUser ¶
func (m *PutNodeRequest) GetUser() string
func (*PutNodeRequest) ProtoMessage ¶
func (*PutNodeRequest) ProtoMessage()
func (*PutNodeRequest) Reset ¶
func (m *PutNodeRequest) Reset()
func (*PutNodeRequest) String ¶
func (m *PutNodeRequest) String() string
func (*PutNodeRequest) Validate ¶
func (m *PutNodeRequest) Validate() (err error)
func (*PutNodeRequest) XXX_DiscardUnknown ¶
func (m *PutNodeRequest) XXX_DiscardUnknown()
func (*PutNodeRequest) XXX_Marshal ¶
func (m *PutNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutNodeRequest) XXX_Merge ¶
func (m *PutNodeRequest) XXX_Merge(src proto.Message)
func (*PutNodeRequest) XXX_Size ¶
func (m *PutNodeRequest) XXX_Size() int
func (*PutNodeRequest) XXX_Unmarshal ¶
func (m *PutNodeRequest) XXX_Unmarshal(b []byte) error
type PutNodeResponse ¶
type PutNodeResponse struct { Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutNodeResponse) Descriptor ¶
func (*PutNodeResponse) Descriptor() ([]byte, []int)
func (*PutNodeResponse) GetNode ¶
func (m *PutNodeResponse) GetNode() *Node
func (*PutNodeResponse) ProtoMessage ¶
func (*PutNodeResponse) ProtoMessage()
func (*PutNodeResponse) Reset ¶
func (m *PutNodeResponse) Reset()
func (*PutNodeResponse) String ¶
func (m *PutNodeResponse) String() string
func (*PutNodeResponse) XXX_DiscardUnknown ¶
func (m *PutNodeResponse) XXX_DiscardUnknown()
func (*PutNodeResponse) XXX_Marshal ¶
func (m *PutNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutNodeResponse) XXX_Merge ¶
func (m *PutNodeResponse) XXX_Merge(src proto.Message)
func (*PutNodeResponse) XXX_Size ¶
func (m *PutNodeResponse) XXX_Size() int
func (*PutNodeResponse) XXX_Unmarshal ¶
func (m *PutNodeResponse) XXX_Unmarshal(b []byte) error
type ReadReplayRequest ¶
type ReadReplayRequest struct { SessionId int64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReadReplayRequest) Descriptor ¶
func (*ReadReplayRequest) Descriptor() ([]byte, []int)
func (*ReadReplayRequest) GetSessionId ¶
func (m *ReadReplayRequest) GetSessionId() int64
func (*ReadReplayRequest) ProtoMessage ¶
func (*ReadReplayRequest) ProtoMessage()
func (*ReadReplayRequest) Reset ¶
func (m *ReadReplayRequest) Reset()
func (*ReadReplayRequest) String ¶
func (m *ReadReplayRequest) String() string
func (*ReadReplayRequest) XXX_DiscardUnknown ¶
func (m *ReadReplayRequest) XXX_DiscardUnknown()
func (*ReadReplayRequest) XXX_Marshal ¶
func (m *ReadReplayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadReplayRequest) XXX_Merge ¶
func (m *ReadReplayRequest) XXX_Merge(src proto.Message)
func (*ReadReplayRequest) XXX_Size ¶
func (m *ReadReplayRequest) XXX_Size() int
func (*ReadReplayRequest) XXX_Unmarshal ¶
func (m *ReadReplayRequest) XXX_Unmarshal(b []byte) error
type ReplayFrame ¶
type ReplayFrame struct { SessionId int64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` Timestamp uint32 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Type uint32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplayFrame) Descriptor ¶
func (*ReplayFrame) Descriptor() ([]byte, []int)
func (*ReplayFrame) GetPayload ¶
func (m *ReplayFrame) GetPayload() []byte
func (*ReplayFrame) GetSessionId ¶
func (m *ReplayFrame) GetSessionId() int64
func (*ReplayFrame) GetTimestamp ¶
func (m *ReplayFrame) GetTimestamp() uint32
func (*ReplayFrame) GetType ¶
func (m *ReplayFrame) GetType() uint32
func (*ReplayFrame) ProtoMessage ¶
func (*ReplayFrame) ProtoMessage()
func (*ReplayFrame) Reset ¶
func (m *ReplayFrame) Reset()
func (*ReplayFrame) String ¶
func (m *ReplayFrame) String() string
func (*ReplayFrame) XXX_DiscardUnknown ¶
func (m *ReplayFrame) XXX_DiscardUnknown()
func (*ReplayFrame) XXX_Marshal ¶
func (m *ReplayFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplayFrame) XXX_Merge ¶
func (m *ReplayFrame) XXX_Merge(src proto.Message)
func (*ReplayFrame) XXX_Size ¶
func (m *ReplayFrame) XXX_Size() int
func (*ReplayFrame) XXX_Unmarshal ¶
func (m *ReplayFrame) XXX_Unmarshal(b []byte) error
type ReplaySearchResult ¶
type ReplaySearchResult struct { SessionId int64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` Timestamp uint32 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplaySearchResult) Descriptor ¶
func (*ReplaySearchResult) Descriptor() ([]byte, []int)
func (*ReplaySearchResult) GetAccount ¶
func (m *ReplaySearchResult) GetAccount() string
func (*ReplaySearchResult) GetCreatedAt ¶
func (m *ReplaySearchResult) GetCreatedAt() int64
func (*ReplaySearchResult) GetSessionId ¶
func (m *ReplaySearchResult) GetSessionId() int64
func (*ReplaySearchResult) GetTimestamp ¶
func (m *ReplaySearchResult) GetTimestamp() uint32
func (*ReplaySearchResult) ProtoMessage ¶
func (*ReplaySearchResult) ProtoMessage()
func (*ReplaySearchResult) Reset ¶
func (m *ReplaySearchResult) Reset()
func (*ReplaySearchResult) String ¶
func (m *ReplaySearchResult) String() string
func (*ReplaySearchResult) XXX_DiscardUnknown ¶
func (m *ReplaySearchResult) XXX_DiscardUnknown()
func (*ReplaySearchResult) XXX_Marshal ¶
func (m *ReplaySearchResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplaySearchResult) XXX_Merge ¶
func (m *ReplaySearchResult) XXX_Merge(src proto.Message)
func (*ReplaySearchResult) XXX_Size ¶
func (m *ReplaySearchResult) XXX_Size() int
func (*ReplaySearchResult) XXX_Unmarshal ¶
func (m *ReplaySearchResult) XXX_Unmarshal(b []byte) error
type ReplayServiceClient ¶
type ReplayServiceClient interface { WriteReplay(ctx context.Context, opts ...grpc.CallOption) (ReplayService_WriteReplayClient, error) ReadReplay(ctx context.Context, in *ReadReplayRequest, opts ...grpc.CallOption) (ReplayService_ReadReplayClient, error) SubmitReplay(ctx context.Context, in *SubmitReplayRequest, opts ...grpc.CallOption) (*SubmitReplayResponse, error) SearchReplay(ctx context.Context, in *SearchReplayRequest, opts ...grpc.CallOption) (*SearchReplayResponse, error) }
ReplayServiceClient is the client API for ReplayService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewReplayServiceClient ¶
func NewReplayServiceClient(cc *grpc.ClientConn) ReplayServiceClient
type ReplayServiceServer ¶
type ReplayServiceServer interface { WriteReplay(ReplayService_WriteReplayServer) error ReadReplay(*ReadReplayRequest, ReplayService_ReadReplayServer) error SubmitReplay(context.Context, *SubmitReplayRequest) (*SubmitReplayResponse, error) SearchReplay(context.Context, *SearchReplayRequest) (*SearchReplayResponse, error) }
ReplayServiceServer is the server API for ReplayService service.
type ReplayService_ReadReplayClient ¶
type ReplayService_ReadReplayClient interface { Recv() (*ReplayFrame, error) grpc.ClientStream }
type ReplayService_ReadReplayServer ¶
type ReplayService_ReadReplayServer interface { Send(*ReplayFrame) error grpc.ServerStream }
type ReplayService_WriteReplayClient ¶
type ReplayService_WriteReplayClient interface { Send(*ReplayFrame) error CloseAndRecv() (*WriteReplayResponse, error) grpc.ClientStream }
type ReplayService_WriteReplayServer ¶
type ReplayService_WriteReplayServer interface { SendAndClose(*WriteReplayResponse) error Recv() (*ReplayFrame, error) grpc.ServerStream }
type SSHDOptions ¶
type SSHDOptions struct { // Dev development mode, will output colorful logs Dev bool `yaml:"dev"` // Host host to bind for bastion sshd, default to "0.0.0.0" Host string `yaml:"host"` // Port port to bind for bastion sshd, default to 22 Port int `yaml:"port"` // DaemonEndpoint address of bastion daemon rpc service, default to "127.0.0.1:9777" DaemonEndpoint string `yaml:"daemon_endpoint"` // ClientKeys client key file path for bastion ssh proxy // should presents on all target hosts' /root/.ssh/authorized_keys // default to "/etc/bastion/client_rsa" ClientKeys []string `yaml:"client_keys"` // HostKey host key file path for bastion sshd // default to "/etc/bastion/host_rsa" HostKey string `yaml:"host_key"` // SandboxImage sandbox image, default to "bastion-sandbox" SandboxImage string `yaml:"sandbox_image"` // SandboxDir storage dir for sandboxes, default to "/var/lib/bastion/sandboxes" SandboxDir string `yaml:"sandbox_dir"` // SandboxEndpoint accessible bastion IP from sandbox, basically the IP of docker0 virtual network adapter // default to "172.17.0.1" SandboxEndpoint string `yaml:"sandbox_endpoint"` // SandboxMemory memory limitation of sandbox SandboxMemory int64 `yaml:"sandbox_memory"` // SandboxNanoCPUs mcpu limitation of sandbox SandboxNanoCPUs int64 `yaml:"sandbox_nano_cpus"` }
SSHDOptions sshd options
func (SSHDOptions) String ¶
func (o SSHDOptions) String() string
type SearchReplayRequest ¶
type SearchReplayRequest struct { Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchReplayRequest) Descriptor ¶
func (*SearchReplayRequest) Descriptor() ([]byte, []int)
func (*SearchReplayRequest) GetKeyword ¶
func (m *SearchReplayRequest) GetKeyword() string
func (*SearchReplayRequest) ProtoMessage ¶
func (*SearchReplayRequest) ProtoMessage()
func (*SearchReplayRequest) Reset ¶
func (m *SearchReplayRequest) Reset()
func (*SearchReplayRequest) String ¶
func (m *SearchReplayRequest) String() string
func (*SearchReplayRequest) Validate ¶
func (m *SearchReplayRequest) Validate() (err error)
func (*SearchReplayRequest) XXX_DiscardUnknown ¶
func (m *SearchReplayRequest) XXX_DiscardUnknown()
func (*SearchReplayRequest) XXX_Marshal ¶
func (m *SearchReplayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchReplayRequest) XXX_Merge ¶
func (m *SearchReplayRequest) XXX_Merge(src proto.Message)
func (*SearchReplayRequest) XXX_Size ¶
func (m *SearchReplayRequest) XXX_Size() int
func (*SearchReplayRequest) XXX_Unmarshal ¶
func (m *SearchReplayRequest) XXX_Unmarshal(b []byte) error
type SearchReplayResponse ¶
type SearchReplayResponse struct { Results []*ReplaySearchResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchReplayResponse) Descriptor ¶
func (*SearchReplayResponse) Descriptor() ([]byte, []int)
func (*SearchReplayResponse) GetResults ¶
func (m *SearchReplayResponse) GetResults() []*ReplaySearchResult
func (*SearchReplayResponse) ProtoMessage ¶
func (*SearchReplayResponse) ProtoMessage()
func (*SearchReplayResponse) Reset ¶
func (m *SearchReplayResponse) Reset()
func (*SearchReplayResponse) String ¶
func (m *SearchReplayResponse) String() string
func (*SearchReplayResponse) XXX_DiscardUnknown ¶
func (m *SearchReplayResponse) XXX_DiscardUnknown()
func (*SearchReplayResponse) XXX_Marshal ¶
func (m *SearchReplayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchReplayResponse) XXX_Merge ¶
func (m *SearchReplayResponse) XXX_Merge(src proto.Message)
func (*SearchReplayResponse) XXX_Size ¶
func (m *SearchReplayResponse) XXX_Size() int
func (*SearchReplayResponse) XXX_Unmarshal ¶
func (m *SearchReplayResponse) XXX_Unmarshal(b []byte) error
type Session ¶
type Session struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"` CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` FinishedAt int64 `protobuf:"varint,5,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"` IsRecorded bool `protobuf:"varint,6,opt,name=is_recorded,json=isRecorded,proto3" json:"is_recorded,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Session) Descriptor ¶
func (*Session) GetAccount ¶
func (*Session) GetCommand ¶
func (*Session) GetCreatedAt ¶
func (*Session) GetFinishedAt ¶
func (*Session) GetIsRecorded ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) XXX_DiscardUnknown ¶
func (m *Session) XXX_DiscardUnknown()
func (*Session) XXX_Marshal ¶
func (*Session) XXX_Unmarshal ¶
type SessionServiceClient ¶
type SessionServiceClient interface { CreateSession(ctx context.Context, in *CreateSessionRequest, opts ...grpc.CallOption) (*CreateSessionResponse, error) FinishSession(ctx context.Context, in *FinishSessionRequest, opts ...grpc.CallOption) (*FinishSessionResponse, error) ListSessions(ctx context.Context, in *ListSessionsRequest, opts ...grpc.CallOption) (*ListSessionsResponse, error) GetSession(ctx context.Context, in *GetSessionRequest, opts ...grpc.CallOption) (*GetSessionResponse, error) }
SessionServiceClient is the client API for SessionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSessionServiceClient ¶
func NewSessionServiceClient(cc *grpc.ClientConn) SessionServiceClient
type SessionServiceServer ¶
type SessionServiceServer interface { CreateSession(context.Context, *CreateSessionRequest) (*CreateSessionResponse, error) FinishSession(context.Context, *FinishSessionRequest) (*FinishSessionResponse, error) ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error) GetSession(context.Context, *GetSessionRequest) (*GetSessionResponse, error) }
SessionServiceServer is the server API for SessionService service.
type SubmitReplayRequest ¶
type SubmitReplayRequest struct { SessionId int64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubmitReplayRequest) Descriptor ¶
func (*SubmitReplayRequest) Descriptor() ([]byte, []int)
func (*SubmitReplayRequest) GetSessionId ¶
func (m *SubmitReplayRequest) GetSessionId() int64
func (*SubmitReplayRequest) ProtoMessage ¶
func (*SubmitReplayRequest) ProtoMessage()
func (*SubmitReplayRequest) Reset ¶
func (m *SubmitReplayRequest) Reset()
func (*SubmitReplayRequest) String ¶
func (m *SubmitReplayRequest) String() string
func (*SubmitReplayRequest) Validate ¶
func (m *SubmitReplayRequest) Validate() (err error)
func (*SubmitReplayRequest) XXX_DiscardUnknown ¶
func (m *SubmitReplayRequest) XXX_DiscardUnknown()
func (*SubmitReplayRequest) XXX_Marshal ¶
func (m *SubmitReplayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubmitReplayRequest) XXX_Merge ¶
func (m *SubmitReplayRequest) XXX_Merge(src proto.Message)
func (*SubmitReplayRequest) XXX_Size ¶
func (m *SubmitReplayRequest) XXX_Size() int
func (*SubmitReplayRequest) XXX_Unmarshal ¶
func (m *SubmitReplayRequest) XXX_Unmarshal(b []byte) error
type SubmitReplayResponse ¶
type SubmitReplayResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubmitReplayResponse) Descriptor ¶
func (*SubmitReplayResponse) Descriptor() ([]byte, []int)
func (*SubmitReplayResponse) ProtoMessage ¶
func (*SubmitReplayResponse) ProtoMessage()
func (*SubmitReplayResponse) Reset ¶
func (m *SubmitReplayResponse) Reset()
func (*SubmitReplayResponse) String ¶
func (m *SubmitReplayResponse) String() string
func (*SubmitReplayResponse) XXX_DiscardUnknown ¶
func (m *SubmitReplayResponse) XXX_DiscardUnknown()
func (*SubmitReplayResponse) XXX_Marshal ¶
func (m *SubmitReplayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubmitReplayResponse) XXX_Merge ¶
func (m *SubmitReplayResponse) XXX_Merge(src proto.Message)
func (*SubmitReplayResponse) XXX_Size ¶
func (m *SubmitReplayResponse) XXX_Size() int
func (*SubmitReplayResponse) XXX_Unmarshal ¶
func (m *SubmitReplayResponse) XXX_Unmarshal(b []byte) error
type Token ¶
type Token struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ViewedAt int64 `protobuf:"varint,6,opt,name=viewed_at,json=viewedAt,proto3" json:"viewed_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Token) Descriptor ¶
func (*Token) GetAccount ¶
func (*Token) GetCreatedAt ¶
func (*Token) GetDescription ¶
func (*Token) GetViewedAt ¶
func (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
func (*Token) XXX_DiscardUnknown ¶
func (m *Token) XXX_DiscardUnknown()
func (*Token) XXX_Marshal ¶
func (*Token) XXX_Unmarshal ¶
type TokenServiceClient ¶
type TokenServiceClient interface { CreateToken(ctx context.Context, in *CreateTokenRequest, opts ...grpc.CallOption) (*CreateTokenResponse, error) GetToken(ctx context.Context, in *GetTokenRequest, opts ...grpc.CallOption) (*GetTokenResponse, error) TouchToken(ctx context.Context, in *TouchTokenRequest, opts ...grpc.CallOption) (*TouchTokenResponse, error) ListTokens(ctx context.Context, in *ListTokensRequest, opts ...grpc.CallOption) (*ListTokensResponse, error) DeleteToken(ctx context.Context, in *DeleteTokenRequest, opts ...grpc.CallOption) (*DeleteTokenResponse, error) }
TokenServiceClient is the client API for TokenService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTokenServiceClient ¶
func NewTokenServiceClient(cc *grpc.ClientConn) TokenServiceClient
type TokenServiceServer ¶
type TokenServiceServer interface { CreateToken(context.Context, *CreateTokenRequest) (*CreateTokenResponse, error) GetToken(context.Context, *GetTokenRequest) (*GetTokenResponse, error) TouchToken(context.Context, *TouchTokenRequest) (*TouchTokenResponse, error) ListTokens(context.Context, *ListTokensRequest) (*ListTokensResponse, error) DeleteToken(context.Context, *DeleteTokenRequest) (*DeleteTokenResponse, error) }
TokenServiceServer is the server API for TokenService service.
type TouchKeyRequest ¶
type TouchKeyRequest struct { Fingerprint string `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TouchKeyRequest) Descriptor ¶
func (*TouchKeyRequest) Descriptor() ([]byte, []int)
func (*TouchKeyRequest) GetFingerprint ¶
func (m *TouchKeyRequest) GetFingerprint() string
func (*TouchKeyRequest) ProtoMessage ¶
func (*TouchKeyRequest) ProtoMessage()
func (*TouchKeyRequest) Reset ¶
func (m *TouchKeyRequest) Reset()
func (*TouchKeyRequest) String ¶
func (m *TouchKeyRequest) String() string
func (*TouchKeyRequest) Validate ¶
func (m *TouchKeyRequest) Validate() (err error)
func (*TouchKeyRequest) XXX_DiscardUnknown ¶
func (m *TouchKeyRequest) XXX_DiscardUnknown()
func (*TouchKeyRequest) XXX_Marshal ¶
func (m *TouchKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TouchKeyRequest) XXX_Merge ¶
func (m *TouchKeyRequest) XXX_Merge(src proto.Message)
func (*TouchKeyRequest) XXX_Size ¶
func (m *TouchKeyRequest) XXX_Size() int
func (*TouchKeyRequest) XXX_Unmarshal ¶
func (m *TouchKeyRequest) XXX_Unmarshal(b []byte) error
type TouchKeyResponse ¶
type TouchKeyResponse struct { Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TouchKeyResponse) Descriptor ¶
func (*TouchKeyResponse) Descriptor() ([]byte, []int)
func (*TouchKeyResponse) GetKey ¶
func (m *TouchKeyResponse) GetKey() *Key
func (*TouchKeyResponse) ProtoMessage ¶
func (*TouchKeyResponse) ProtoMessage()
func (*TouchKeyResponse) Reset ¶
func (m *TouchKeyResponse) Reset()
func (*TouchKeyResponse) String ¶
func (m *TouchKeyResponse) String() string
func (*TouchKeyResponse) XXX_DiscardUnknown ¶
func (m *TouchKeyResponse) XXX_DiscardUnknown()
func (*TouchKeyResponse) XXX_Marshal ¶
func (m *TouchKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TouchKeyResponse) XXX_Merge ¶
func (m *TouchKeyResponse) XXX_Merge(src proto.Message)
func (*TouchKeyResponse) XXX_Size ¶
func (m *TouchKeyResponse) XXX_Size() int
func (*TouchKeyResponse) XXX_Unmarshal ¶
func (m *TouchKeyResponse) XXX_Unmarshal(b []byte) error
type TouchNodeRequest ¶
type TouchNodeRequest struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TouchNodeRequest) Descriptor ¶
func (*TouchNodeRequest) Descriptor() ([]byte, []int)
func (*TouchNodeRequest) GetHostname ¶
func (m *TouchNodeRequest) GetHostname() string
func (*TouchNodeRequest) ProtoMessage ¶
func (*TouchNodeRequest) ProtoMessage()
func (*TouchNodeRequest) Reset ¶
func (m *TouchNodeRequest) Reset()
func (*TouchNodeRequest) String ¶
func (m *TouchNodeRequest) String() string
func (*TouchNodeRequest) Validate ¶
func (m *TouchNodeRequest) Validate() (err error)
func (*TouchNodeRequest) XXX_DiscardUnknown ¶
func (m *TouchNodeRequest) XXX_DiscardUnknown()
func (*TouchNodeRequest) XXX_Marshal ¶
func (m *TouchNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TouchNodeRequest) XXX_Merge ¶
func (m *TouchNodeRequest) XXX_Merge(src proto.Message)
func (*TouchNodeRequest) XXX_Size ¶
func (m *TouchNodeRequest) XXX_Size() int
func (*TouchNodeRequest) XXX_Unmarshal ¶
func (m *TouchNodeRequest) XXX_Unmarshal(b []byte) error
type TouchNodeResponse ¶
type TouchNodeResponse struct { Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TouchNodeResponse) Descriptor ¶
func (*TouchNodeResponse) Descriptor() ([]byte, []int)
func (*TouchNodeResponse) GetNode ¶
func (m *TouchNodeResponse) GetNode() *Node
func (*TouchNodeResponse) ProtoMessage ¶
func (*TouchNodeResponse) ProtoMessage()
func (*TouchNodeResponse) Reset ¶
func (m *TouchNodeResponse) Reset()
func (*TouchNodeResponse) String ¶
func (m *TouchNodeResponse) String() string
func (*TouchNodeResponse) XXX_DiscardUnknown ¶
func (m *TouchNodeResponse) XXX_DiscardUnknown()
func (*TouchNodeResponse) XXX_Marshal ¶
func (m *TouchNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TouchNodeResponse) XXX_Merge ¶
func (m *TouchNodeResponse) XXX_Merge(src proto.Message)
func (*TouchNodeResponse) XXX_Size ¶
func (m *TouchNodeResponse) XXX_Size() int
func (*TouchNodeResponse) XXX_Unmarshal ¶
func (m *TouchNodeResponse) XXX_Unmarshal(b []byte) error
type TouchTokenRequest ¶
type TouchTokenRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TouchTokenRequest) Descriptor ¶
func (*TouchTokenRequest) Descriptor() ([]byte, []int)
func (*TouchTokenRequest) GetId ¶
func (m *TouchTokenRequest) GetId() int64
func (*TouchTokenRequest) GetToken ¶
func (m *TouchTokenRequest) GetToken() string
func (*TouchTokenRequest) ProtoMessage ¶
func (*TouchTokenRequest) ProtoMessage()
func (*TouchTokenRequest) Reset ¶
func (m *TouchTokenRequest) Reset()
func (*TouchTokenRequest) String ¶
func (m *TouchTokenRequest) String() string
func (*TouchTokenRequest) Validate ¶
func (m *TouchTokenRequest) Validate() (err error)
func (*TouchTokenRequest) XXX_DiscardUnknown ¶
func (m *TouchTokenRequest) XXX_DiscardUnknown()
func (*TouchTokenRequest) XXX_Marshal ¶
func (m *TouchTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TouchTokenRequest) XXX_Merge ¶
func (m *TouchTokenRequest) XXX_Merge(src proto.Message)
func (*TouchTokenRequest) XXX_Size ¶
func (m *TouchTokenRequest) XXX_Size() int
func (*TouchTokenRequest) XXX_Unmarshal ¶
func (m *TouchTokenRequest) XXX_Unmarshal(b []byte) error
type TouchTokenResponse ¶
type TouchTokenResponse struct { Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TouchTokenResponse) Descriptor ¶
func (*TouchTokenResponse) Descriptor() ([]byte, []int)
func (*TouchTokenResponse) GetToken ¶
func (m *TouchTokenResponse) GetToken() *Token
func (*TouchTokenResponse) ProtoMessage ¶
func (*TouchTokenResponse) ProtoMessage()
func (*TouchTokenResponse) Reset ¶
func (m *TouchTokenResponse) Reset()
func (*TouchTokenResponse) String ¶
func (m *TouchTokenResponse) String() string
func (*TouchTokenResponse) XXX_DiscardUnknown ¶
func (m *TouchTokenResponse) XXX_DiscardUnknown()
func (*TouchTokenResponse) XXX_Marshal ¶
func (m *TouchTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TouchTokenResponse) XXX_Merge ¶
func (m *TouchTokenResponse) XXX_Merge(src proto.Message)
func (*TouchTokenResponse) XXX_Size ¶
func (m *TouchTokenResponse) XXX_Size() int
func (*TouchTokenResponse) XXX_Unmarshal ¶
func (m *TouchTokenResponse) XXX_Unmarshal(b []byte) error
type TouchUserRequest ¶
type TouchUserRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TouchUserRequest) Descriptor ¶
func (*TouchUserRequest) Descriptor() ([]byte, []int)
func (*TouchUserRequest) GetAccount ¶
func (m *TouchUserRequest) GetAccount() string
func (*TouchUserRequest) ProtoMessage ¶
func (*TouchUserRequest) ProtoMessage()
func (*TouchUserRequest) Reset ¶
func (m *TouchUserRequest) Reset()
func (*TouchUserRequest) String ¶
func (m *TouchUserRequest) String() string
func (*TouchUserRequest) Validate ¶
func (m *TouchUserRequest) Validate() (err error)
func (*TouchUserRequest) XXX_DiscardUnknown ¶
func (m *TouchUserRequest) XXX_DiscardUnknown()
func (*TouchUserRequest) XXX_Marshal ¶
func (m *TouchUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TouchUserRequest) XXX_Merge ¶
func (m *TouchUserRequest) XXX_Merge(src proto.Message)
func (*TouchUserRequest) XXX_Size ¶
func (m *TouchUserRequest) XXX_Size() int
func (*TouchUserRequest) XXX_Unmarshal ¶
func (m *TouchUserRequest) XXX_Unmarshal(b []byte) error
type TouchUserResponse ¶
type TouchUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TouchUserResponse) Descriptor ¶
func (*TouchUserResponse) Descriptor() ([]byte, []int)
func (*TouchUserResponse) GetUser ¶
func (m *TouchUserResponse) GetUser() *User
func (*TouchUserResponse) ProtoMessage ¶
func (*TouchUserResponse) ProtoMessage()
func (*TouchUserResponse) Reset ¶
func (m *TouchUserResponse) Reset()
func (*TouchUserResponse) String ¶
func (m *TouchUserResponse) String() string
func (*TouchUserResponse) XXX_DiscardUnknown ¶
func (m *TouchUserResponse) XXX_DiscardUnknown()
func (*TouchUserResponse) XXX_Marshal ¶
func (m *TouchUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TouchUserResponse) XXX_Merge ¶
func (m *TouchUserResponse) XXX_Merge(src proto.Message)
func (*TouchUserResponse) XXX_Size ¶
func (m *TouchUserResponse) XXX_Size() int
func (*TouchUserResponse) XXX_Unmarshal ¶
func (m *TouchUserResponse) XXX_Unmarshal(b []byte) error
type UpdateAllMasterKeysRequest ¶
type UpdateAllMasterKeysRequest struct { MasterKeys []*MasterKey `protobuf:"bytes,1,rep,name=master_keys,json=masterKeys,proto3" json:"master_keys,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateAllMasterKeysRequest) Descriptor ¶
func (*UpdateAllMasterKeysRequest) Descriptor() ([]byte, []int)
func (*UpdateAllMasterKeysRequest) GetMasterKeys ¶
func (m *UpdateAllMasterKeysRequest) GetMasterKeys() []*MasterKey
func (*UpdateAllMasterKeysRequest) ProtoMessage ¶
func (*UpdateAllMasterKeysRequest) ProtoMessage()
func (*UpdateAllMasterKeysRequest) Reset ¶
func (m *UpdateAllMasterKeysRequest) Reset()
func (*UpdateAllMasterKeysRequest) String ¶
func (m *UpdateAllMasterKeysRequest) String() string
func (*UpdateAllMasterKeysRequest) XXX_DiscardUnknown ¶
func (m *UpdateAllMasterKeysRequest) XXX_DiscardUnknown()
func (*UpdateAllMasterKeysRequest) XXX_Marshal ¶
func (m *UpdateAllMasterKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateAllMasterKeysRequest) XXX_Merge ¶
func (m *UpdateAllMasterKeysRequest) XXX_Merge(src proto.Message)
func (*UpdateAllMasterKeysRequest) XXX_Size ¶
func (m *UpdateAllMasterKeysRequest) XXX_Size() int
func (*UpdateAllMasterKeysRequest) XXX_Unmarshal ¶
func (m *UpdateAllMasterKeysRequest) XXX_Unmarshal(b []byte) error
type UpdateAllMasterKeysResponse ¶
type UpdateAllMasterKeysResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateAllMasterKeysResponse) Descriptor ¶
func (*UpdateAllMasterKeysResponse) Descriptor() ([]byte, []int)
func (*UpdateAllMasterKeysResponse) ProtoMessage ¶
func (*UpdateAllMasterKeysResponse) ProtoMessage()
func (*UpdateAllMasterKeysResponse) Reset ¶
func (m *UpdateAllMasterKeysResponse) Reset()
func (*UpdateAllMasterKeysResponse) String ¶
func (m *UpdateAllMasterKeysResponse) String() string
func (*UpdateAllMasterKeysResponse) XXX_DiscardUnknown ¶
func (m *UpdateAllMasterKeysResponse) XXX_DiscardUnknown()
func (*UpdateAllMasterKeysResponse) XXX_Marshal ¶
func (m *UpdateAllMasterKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateAllMasterKeysResponse) XXX_Merge ¶
func (m *UpdateAllMasterKeysResponse) XXX_Merge(src proto.Message)
func (*UpdateAllMasterKeysResponse) XXX_Size ¶
func (m *UpdateAllMasterKeysResponse) XXX_Size() int
func (*UpdateAllMasterKeysResponse) XXX_Unmarshal ¶
func (m *UpdateAllMasterKeysResponse) XXX_Unmarshal(b []byte) error
type UpdateNodeRequest ¶
type UpdateNodeRequest struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` UpdateIsKeyManaged bool `protobuf:"varint,2,opt,name=update_is_key_managed,json=updateIsKeyManaged,proto3" json:"update_is_key_managed,omitempty"` IsKeyManaged bool `protobuf:"varint,3,opt,name=is_key_managed,json=isKeyManaged,proto3" json:"is_key_managed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateNodeRequest) Descriptor ¶
func (*UpdateNodeRequest) Descriptor() ([]byte, []int)
func (*UpdateNodeRequest) GetHostname ¶
func (m *UpdateNodeRequest) GetHostname() string
func (*UpdateNodeRequest) GetIsKeyManaged ¶
func (m *UpdateNodeRequest) GetIsKeyManaged() bool
func (*UpdateNodeRequest) GetUpdateIsKeyManaged ¶
func (m *UpdateNodeRequest) GetUpdateIsKeyManaged() bool
func (*UpdateNodeRequest) ProtoMessage ¶
func (*UpdateNodeRequest) ProtoMessage()
func (*UpdateNodeRequest) Reset ¶
func (m *UpdateNodeRequest) Reset()
func (*UpdateNodeRequest) String ¶
func (m *UpdateNodeRequest) String() string
func (*UpdateNodeRequest) Validate ¶
func (m *UpdateNodeRequest) Validate() (err error)
func (*UpdateNodeRequest) XXX_DiscardUnknown ¶
func (m *UpdateNodeRequest) XXX_DiscardUnknown()
func (*UpdateNodeRequest) XXX_Marshal ¶
func (m *UpdateNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateNodeRequest) XXX_Merge ¶
func (m *UpdateNodeRequest) XXX_Merge(src proto.Message)
func (*UpdateNodeRequest) XXX_Size ¶
func (m *UpdateNodeRequest) XXX_Size() int
func (*UpdateNodeRequest) XXX_Unmarshal ¶
func (m *UpdateNodeRequest) XXX_Unmarshal(b []byte) error
type UpdateNodeResponse ¶
type UpdateNodeResponse struct { Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateNodeResponse) Descriptor ¶
func (*UpdateNodeResponse) Descriptor() ([]byte, []int)
func (*UpdateNodeResponse) GetNode ¶
func (m *UpdateNodeResponse) GetNode() *Node
func (*UpdateNodeResponse) ProtoMessage ¶
func (*UpdateNodeResponse) ProtoMessage()
func (*UpdateNodeResponse) Reset ¶
func (m *UpdateNodeResponse) Reset()
func (*UpdateNodeResponse) String ¶
func (m *UpdateNodeResponse) String() string
func (*UpdateNodeResponse) XXX_DiscardUnknown ¶
func (m *UpdateNodeResponse) XXX_DiscardUnknown()
func (*UpdateNodeResponse) XXX_Marshal ¶
func (m *UpdateNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateNodeResponse) XXX_Merge ¶
func (m *UpdateNodeResponse) XXX_Merge(src proto.Message)
func (*UpdateNodeResponse) XXX_Size ¶
func (m *UpdateNodeResponse) XXX_Size() int
func (*UpdateNodeResponse) XXX_Unmarshal ¶
func (m *UpdateNodeResponse) XXX_Unmarshal(b []byte) error
type UpdateUserRequest ¶
type UpdateUserRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` UpdateNickname bool `protobuf:"varint,2,opt,name=update_nickname,json=updateNickname,proto3" json:"update_nickname,omitempty"` Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` UpdatePassword bool `protobuf:"varint,4,opt,name=update_password,json=updatePassword,proto3" json:"update_password,omitempty"` Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` UpdateIsAdmin bool `protobuf:"varint,6,opt,name=update_is_admin,json=updateIsAdmin,proto3" json:"update_is_admin,omitempty"` IsAdmin bool `protobuf:"varint,7,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"` UpdateIsBlocked bool `protobuf:"varint,8,opt,name=update_is_blocked,json=updateIsBlocked,proto3" json:"update_is_blocked,omitempty"` IsBlocked bool `protobuf:"varint,9,opt,name=is_blocked,json=isBlocked,proto3" json:"is_blocked,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateUserRequest) Descriptor ¶
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
func (*UpdateUserRequest) GetAccount ¶
func (m *UpdateUserRequest) GetAccount() string
func (*UpdateUserRequest) GetIsAdmin ¶
func (m *UpdateUserRequest) GetIsAdmin() bool
func (*UpdateUserRequest) GetIsBlocked ¶
func (m *UpdateUserRequest) GetIsBlocked() bool
func (*UpdateUserRequest) GetNickname ¶
func (m *UpdateUserRequest) GetNickname() string
func (*UpdateUserRequest) GetPassword ¶
func (m *UpdateUserRequest) GetPassword() string
func (*UpdateUserRequest) GetUpdateIsAdmin ¶
func (m *UpdateUserRequest) GetUpdateIsAdmin() bool
func (*UpdateUserRequest) GetUpdateIsBlocked ¶
func (m *UpdateUserRequest) GetUpdateIsBlocked() bool
func (*UpdateUserRequest) GetUpdateNickname ¶
func (m *UpdateUserRequest) GetUpdateNickname() bool
func (*UpdateUserRequest) GetUpdatePassword ¶
func (m *UpdateUserRequest) GetUpdatePassword() bool
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) Reset ¶
func (m *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (m *UpdateUserRequest) String() string
func (*UpdateUserRequest) Validate ¶
func (m *UpdateUserRequest) Validate() (err error)
func (*UpdateUserRequest) XXX_DiscardUnknown ¶
func (m *UpdateUserRequest) XXX_DiscardUnknown()
func (*UpdateUserRequest) XXX_Marshal ¶
func (m *UpdateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateUserRequest) XXX_Merge ¶
func (m *UpdateUserRequest) XXX_Merge(src proto.Message)
func (*UpdateUserRequest) XXX_Size ¶
func (m *UpdateUserRequest) XXX_Size() int
func (*UpdateUserRequest) XXX_Unmarshal ¶
func (m *UpdateUserRequest) XXX_Unmarshal(b []byte) error
type UpdateUserResponse ¶
type UpdateUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateUserResponse) Descriptor ¶
func (*UpdateUserResponse) Descriptor() ([]byte, []int)
func (*UpdateUserResponse) GetUser ¶
func (m *UpdateUserResponse) GetUser() *User
func (*UpdateUserResponse) ProtoMessage ¶
func (*UpdateUserResponse) ProtoMessage()
func (*UpdateUserResponse) Reset ¶
func (m *UpdateUserResponse) Reset()
func (*UpdateUserResponse) String ¶
func (m *UpdateUserResponse) String() string
func (*UpdateUserResponse) XXX_DiscardUnknown ¶
func (m *UpdateUserResponse) XXX_DiscardUnknown()
func (*UpdateUserResponse) XXX_Marshal ¶
func (m *UpdateUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateUserResponse) XXX_Merge ¶
func (m *UpdateUserResponse) XXX_Merge(src proto.Message)
func (*UpdateUserResponse) XXX_Size ¶
func (m *UpdateUserResponse) XXX_Size() int
func (*UpdateUserResponse) XXX_Unmarshal ¶
func (m *UpdateUserResponse) XXX_Unmarshal(b []byte) error
type User ¶
type User struct { Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` IsAdmin bool `protobuf:"varint,4,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"` IsBlocked bool `protobuf:"varint,5,opt,name=is_blocked,json=isBlocked,proto3" json:"is_blocked,omitempty"` CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` ViewedAt int64 `protobuf:"varint,8,opt,name=viewed_at,json=viewedAt,proto3" json:"viewed_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*User) Descriptor ¶
func (*User) GetAccount ¶
func (*User) GetCreatedAt ¶
func (*User) GetIsAdmin ¶
func (*User) GetIsBlocked ¶
func (*User) GetNickname ¶
func (*User) GetUpdatedAt ¶
func (*User) GetViewedAt ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
type UserServiceClient ¶
type UserServiceClient interface { ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) TouchUser(ctx context.Context, in *TouchUserRequest, opts ...grpc.CallOption) (*TouchUserResponse, error) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) AuthenticateUser(ctx context.Context, in *AuthenticateUserRequest, opts ...grpc.CallOption) (*AuthenticateUserResponse, error) GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) }
UserServiceClient is the client API for UserService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUserServiceClient ¶
func NewUserServiceClient(cc *grpc.ClientConn) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) TouchUser(context.Context, *TouchUserRequest) (*TouchUserResponse, error) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error) AuthenticateUser(context.Context, *AuthenticateUserRequest) (*AuthenticateUserResponse, error) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) }
UserServiceServer is the server API for UserService service.
type WebOptions ¶
type WebOptions struct { // SSHDomain ssh target for display SSHDomain string `yaml:"ssh_domain"` // Host host to bind for bastion web, default to "127.0.0.1" Host string `yaml:"host"` // Port port to listen for bastion web, default to 9778 Port int `yaml:"port"` // Dev development mode, will not use BinFS, and output colorful logs Dev bool `yaml:"dev"` // DaemonEndpoint address of bastion daemon rpc service, default to "127.0.0.1:9777" DaemonEndpoint string `yaml:"daemon_endpoint"` }
WebOptions web options for bastion
func (WebOptions) String ¶
func (o WebOptions) String() string
type WriteReplayResponse ¶
type WriteReplayResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WriteReplayResponse) Descriptor ¶
func (*WriteReplayResponse) Descriptor() ([]byte, []int)
func (*WriteReplayResponse) ProtoMessage ¶
func (*WriteReplayResponse) ProtoMessage()
func (*WriteReplayResponse) Reset ¶
func (m *WriteReplayResponse) Reset()
func (*WriteReplayResponse) String ¶
func (m *WriteReplayResponse) String() string
func (*WriteReplayResponse) XXX_DiscardUnknown ¶
func (m *WriteReplayResponse) XXX_DiscardUnknown()
func (*WriteReplayResponse) XXX_Marshal ¶
func (m *WriteReplayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WriteReplayResponse) XXX_Merge ¶
func (m *WriteReplayResponse) XXX_Merge(src proto.Message)
func (*WriteReplayResponse) XXX_Size ¶
func (m *WriteReplayResponse) XXX_Size() int
func (*WriteReplayResponse) XXX_Unmarshal ¶
func (m *WriteReplayResponse) XXX_Unmarshal(b []byte) error