Documentation ¶
Index ¶
- Constants
- func ErrToString(e error) string
- func ProtoAuthToLogicalAuth(a *Auth) (*logical.Auth, error)
- func ProtoConnectionToLogicalConnection(c *Connection) *logical.Connection
- func ProtoErrToErr(e *ProtoError) error
- func ProtoLeaseOptionsToLogicalLeaseOptions(l *LeaseOptions) (logical.LeaseOptions, error)
- func ProtoRequestToLogicalRequest(r *Request) (*logical.Request, error)
- func ProtoRequestWrapInfoToLogicalRequestWrapInfo(i *RequestWrapInfo) *logical.RequestWrapInfo
- func ProtoResponseToLogicalResponse(r *Response) (*logical.Response, error)
- func ProtoResponseWrapInfoToLogicalResponseWrapInfo(i *ResponseWrapInfo) (*wrapping.ResponseWrapInfo, error)
- func ProtoSecretToLogicalSecret(s *Secret) (*logical.Secret, error)
- func ProtoStorageEntryToLogicalStorageEntry(e *StorageEntry) *logical.StorageEntry
- func RegisterBackendServer(s *grpc.Server, srv BackendServer)
- func RegisterStorageServer(s *grpc.Server, srv StorageServer)
- func RegisterSystemViewServer(s *grpc.Server, srv SystemViewServer)
- type Auth
- func (*Auth) Descriptor() ([]byte, []int)
- func (m *Auth) GetAccessor() string
- func (m *Auth) GetAlias() *logical.Alias
- func (m *Auth) GetBoundCidrs() []string
- func (m *Auth) GetClientToken() string
- func (m *Auth) GetDisplayName() string
- func (m *Auth) GetEntityID() string
- func (m *Auth) GetGroupAliases() []*logical.Alias
- func (m *Auth) GetInternalData() string
- func (m *Auth) GetLeaseOptions() *LeaseOptions
- func (m *Auth) GetMetadata() map[string]string
- func (m *Auth) GetNumUses() int64
- func (m *Auth) GetPeriod() int64
- func (m *Auth) GetPolicies() []string
- func (*Auth) ProtoMessage()
- func (m *Auth) Reset()
- func (m *Auth) String() string
- func (m *Auth) XXX_DiscardUnknown()
- func (m *Auth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Auth) XXX_Merge(src proto.Message)
- func (m *Auth) XXX_Size() int
- func (m *Auth) XXX_Unmarshal(b []byte) error
- type BackendClient
- type BackendServer
- type CachingDisabledReply
- func (*CachingDisabledReply) Descriptor() ([]byte, []int)
- func (m *CachingDisabledReply) GetDisabled() bool
- func (*CachingDisabledReply) ProtoMessage()
- func (m *CachingDisabledReply) Reset()
- func (m *CachingDisabledReply) String() string
- func (m *CachingDisabledReply) XXX_DiscardUnknown()
- func (m *CachingDisabledReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CachingDisabledReply) XXX_Merge(src proto.Message)
- func (m *CachingDisabledReply) XXX_Size() int
- func (m *CachingDisabledReply) XXX_Unmarshal(b []byte) error
- type Connection
- func (*Connection) Descriptor() ([]byte, []int)
- func (m *Connection) GetRemoteAddr() string
- func (*Connection) ProtoMessage()
- func (m *Connection) Reset()
- func (m *Connection) String() string
- func (m *Connection) XXX_DiscardUnknown()
- func (m *Connection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Connection) XXX_Merge(src proto.Message)
- func (m *Connection) XXX_Size() int
- func (m *Connection) XXX_Unmarshal(b []byte) error
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type EntityInfoArgs
- func (*EntityInfoArgs) Descriptor() ([]byte, []int)
- func (m *EntityInfoArgs) GetEntityID() string
- func (*EntityInfoArgs) ProtoMessage()
- func (m *EntityInfoArgs) Reset()
- func (m *EntityInfoArgs) String() string
- func (m *EntityInfoArgs) XXX_DiscardUnknown()
- func (m *EntityInfoArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *EntityInfoArgs) XXX_Merge(src proto.Message)
- func (m *EntityInfoArgs) XXX_Size() int
- func (m *EntityInfoArgs) XXX_Unmarshal(b []byte) error
- type EntityInfoReply
- func (*EntityInfoReply) Descriptor() ([]byte, []int)
- func (m *EntityInfoReply) GetEntity() *logical.Entity
- func (m *EntityInfoReply) GetErr() string
- func (*EntityInfoReply) ProtoMessage()
- func (m *EntityInfoReply) Reset()
- func (m *EntityInfoReply) String() string
- func (m *EntityInfoReply) XXX_DiscardUnknown()
- func (m *EntityInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *EntityInfoReply) XXX_Merge(src proto.Message)
- func (m *EntityInfoReply) XXX_Size() int
- func (m *EntityInfoReply) XXX_Unmarshal(b []byte) error
- type HandleExistenceCheckArgs
- func (*HandleExistenceCheckArgs) Descriptor() ([]byte, []int)
- func (m *HandleExistenceCheckArgs) GetRequest() *Request
- func (m *HandleExistenceCheckArgs) GetStorageID() uint32
- func (*HandleExistenceCheckArgs) ProtoMessage()
- func (m *HandleExistenceCheckArgs) Reset()
- func (m *HandleExistenceCheckArgs) String() string
- func (m *HandleExistenceCheckArgs) XXX_DiscardUnknown()
- func (m *HandleExistenceCheckArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HandleExistenceCheckArgs) XXX_Merge(src proto.Message)
- func (m *HandleExistenceCheckArgs) XXX_Size() int
- func (m *HandleExistenceCheckArgs) XXX_Unmarshal(b []byte) error
- type HandleExistenceCheckReply
- func (*HandleExistenceCheckReply) Descriptor() ([]byte, []int)
- func (m *HandleExistenceCheckReply) GetCheckFound() bool
- func (m *HandleExistenceCheckReply) GetErr() *ProtoError
- func (m *HandleExistenceCheckReply) GetExists() bool
- func (*HandleExistenceCheckReply) ProtoMessage()
- func (m *HandleExistenceCheckReply) Reset()
- func (m *HandleExistenceCheckReply) String() string
- func (m *HandleExistenceCheckReply) XXX_DiscardUnknown()
- func (m *HandleExistenceCheckReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HandleExistenceCheckReply) XXX_Merge(src proto.Message)
- func (m *HandleExistenceCheckReply) XXX_Size() int
- func (m *HandleExistenceCheckReply) XXX_Unmarshal(b []byte) error
- type HandleRequestArgs
- func (*HandleRequestArgs) Descriptor() ([]byte, []int)
- func (m *HandleRequestArgs) GetRequest() *Request
- func (m *HandleRequestArgs) GetStorageID() uint32
- func (*HandleRequestArgs) ProtoMessage()
- func (m *HandleRequestArgs) Reset()
- func (m *HandleRequestArgs) String() string
- func (m *HandleRequestArgs) XXX_DiscardUnknown()
- func (m *HandleRequestArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HandleRequestArgs) XXX_Merge(src proto.Message)
- func (m *HandleRequestArgs) XXX_Size() int
- func (m *HandleRequestArgs) XXX_Unmarshal(b []byte) error
- type HandleRequestReply
- func (*HandleRequestReply) Descriptor() ([]byte, []int)
- func (m *HandleRequestReply) GetErr() *ProtoError
- func (m *HandleRequestReply) GetResponse() *Response
- func (*HandleRequestReply) ProtoMessage()
- func (m *HandleRequestReply) Reset()
- func (m *HandleRequestReply) String() string
- func (m *HandleRequestReply) XXX_DiscardUnknown()
- func (m *HandleRequestReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HandleRequestReply) XXX_Merge(src proto.Message)
- func (m *HandleRequestReply) XXX_Size() int
- func (m *HandleRequestReply) XXX_Unmarshal(b []byte) error
- type Header
- func (*Header) Descriptor() ([]byte, []int)
- func (m *Header) GetHeader() []string
- func (*Header) ProtoMessage()
- func (m *Header) Reset()
- func (m *Header) String() string
- func (m *Header) XXX_DiscardUnknown()
- func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Header) XXX_Merge(src proto.Message)
- func (m *Header) XXX_Size() int
- func (m *Header) XXX_Unmarshal(b []byte) error
- type InvalidateKeyArgs
- func (*InvalidateKeyArgs) Descriptor() ([]byte, []int)
- func (m *InvalidateKeyArgs) GetKey() string
- func (*InvalidateKeyArgs) ProtoMessage()
- func (m *InvalidateKeyArgs) Reset()
- func (m *InvalidateKeyArgs) String() string
- func (m *InvalidateKeyArgs) XXX_DiscardUnknown()
- func (m *InvalidateKeyArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InvalidateKeyArgs) XXX_Merge(src proto.Message)
- func (m *InvalidateKeyArgs) XXX_Size() int
- func (m *InvalidateKeyArgs) XXX_Unmarshal(b []byte) error
- type LeaseOptions
- func (*LeaseOptions) Descriptor() ([]byte, []int)
- func (m *LeaseOptions) GetIncrement() int64
- func (m *LeaseOptions) GetIssueTime() *timestamp.Timestamp
- func (m *LeaseOptions) GetMaxTTL() int64
- func (m *LeaseOptions) GetRenewable() bool
- func (m *LeaseOptions) GetTTL() int64
- func (*LeaseOptions) ProtoMessage()
- func (m *LeaseOptions) Reset()
- func (m *LeaseOptions) String() string
- func (m *LeaseOptions) XXX_DiscardUnknown()
- func (m *LeaseOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LeaseOptions) XXX_Merge(src proto.Message)
- func (m *LeaseOptions) XXX_Size() int
- func (m *LeaseOptions) XXX_Unmarshal(b []byte) error
- type LocalMountReply
- func (*LocalMountReply) Descriptor() ([]byte, []int)
- func (m *LocalMountReply) GetLocal() bool
- func (*LocalMountReply) ProtoMessage()
- func (m *LocalMountReply) Reset()
- func (m *LocalMountReply) String() string
- func (m *LocalMountReply) XXX_DiscardUnknown()
- func (m *LocalMountReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LocalMountReply) XXX_Merge(src proto.Message)
- func (m *LocalMountReply) XXX_Size() int
- func (m *LocalMountReply) XXX_Unmarshal(b []byte) error
- type MlockEnabledReply
- func (*MlockEnabledReply) Descriptor() ([]byte, []int)
- func (m *MlockEnabledReply) GetEnabled() bool
- func (*MlockEnabledReply) ProtoMessage()
- func (m *MlockEnabledReply) Reset()
- func (m *MlockEnabledReply) String() string
- func (m *MlockEnabledReply) XXX_DiscardUnknown()
- func (m *MlockEnabledReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MlockEnabledReply) XXX_Merge(src proto.Message)
- func (m *MlockEnabledReply) XXX_Size() int
- func (m *MlockEnabledReply) XXX_Unmarshal(b []byte) error
- type Paths
- func (*Paths) Descriptor() ([]byte, []int)
- func (m *Paths) GetLocalStorage() []string
- func (m *Paths) GetRoot() []string
- func (m *Paths) GetSealWrapStorage() []string
- func (m *Paths) GetUnauthenticated() []string
- func (*Paths) ProtoMessage()
- func (m *Paths) Reset()
- func (m *Paths) String() string
- func (m *Paths) XXX_DiscardUnknown()
- func (m *Paths) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Paths) XXX_Merge(src proto.Message)
- func (m *Paths) XXX_Size() int
- func (m *Paths) XXX_Unmarshal(b []byte) error
- type ProtoError
- func (*ProtoError) Descriptor() ([]byte, []int)
- func (m *ProtoError) GetErrCode() int64
- func (m *ProtoError) GetErrMsg() string
- func (m *ProtoError) GetErrType() uint32
- func (*ProtoError) ProtoMessage()
- func (m *ProtoError) Reset()
- func (m *ProtoError) String() string
- func (m *ProtoError) XXX_DiscardUnknown()
- func (m *ProtoError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProtoError) XXX_Merge(src proto.Message)
- func (m *ProtoError) XXX_Size() int
- func (m *ProtoError) XXX_Unmarshal(b []byte) error
- type ReplicationStateReply
- func (*ReplicationStateReply) Descriptor() ([]byte, []int)
- func (m *ReplicationStateReply) GetState() int32
- func (*ReplicationStateReply) ProtoMessage()
- func (m *ReplicationStateReply) Reset()
- func (m *ReplicationStateReply) String() string
- func (m *ReplicationStateReply) XXX_DiscardUnknown()
- func (m *ReplicationStateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReplicationStateReply) XXX_Merge(src proto.Message)
- func (m *ReplicationStateReply) XXX_Size() int
- func (m *ReplicationStateReply) XXX_Unmarshal(b []byte) error
- type Request
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetAuth() *Auth
- func (m *Request) GetClientToken() string
- func (m *Request) GetClientTokenAccessor() string
- func (m *Request) GetClientTokenRemainingUses() int64
- func (m *Request) GetConnection() *Connection
- func (m *Request) GetData() string
- func (m *Request) GetDisplayName() string
- func (m *Request) GetEntityID() string
- func (m *Request) GetHeaders() map[string]*Header
- func (m *Request) GetID() string
- func (m *Request) GetMountAccessor() string
- func (m *Request) GetMountPoint() string
- func (m *Request) GetMountType() string
- func (m *Request) GetOperation() string
- func (m *Request) GetPath() string
- func (m *Request) GetPolicyOverride() bool
- func (m *Request) GetReplicationCluster() string
- func (m *Request) GetSecret() *Secret
- func (m *Request) GetUnauthenticated() bool
- func (m *Request) GetWrapInfo() *RequestWrapInfo
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) String() string
- func (m *Request) XXX_DiscardUnknown()
- func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Request) XXX_Merge(src proto.Message)
- func (m *Request) XXX_Size() int
- func (m *Request) XXX_Unmarshal(b []byte) error
- type RequestWrapInfo
- func (*RequestWrapInfo) Descriptor() ([]byte, []int)
- func (m *RequestWrapInfo) GetFormat() string
- func (m *RequestWrapInfo) GetSealWrap() bool
- func (m *RequestWrapInfo) GetTTL() int64
- func (*RequestWrapInfo) ProtoMessage()
- func (m *RequestWrapInfo) Reset()
- func (m *RequestWrapInfo) String() string
- func (m *RequestWrapInfo) XXX_DiscardUnknown()
- func (m *RequestWrapInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RequestWrapInfo) XXX_Merge(src proto.Message)
- func (m *RequestWrapInfo) XXX_Size() int
- func (m *RequestWrapInfo) XXX_Unmarshal(b []byte) error
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetAuth() *Auth
- func (m *Response) GetData() string
- func (m *Response) GetRedirect() string
- func (m *Response) GetSecret() *Secret
- func (m *Response) GetWarnings() []string
- func (m *Response) GetWrapInfo() *ResponseWrapInfo
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) String() string
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type ResponseWrapDataArgs
- func (*ResponseWrapDataArgs) Descriptor() ([]byte, []int)
- func (m *ResponseWrapDataArgs) GetData() string
- func (m *ResponseWrapDataArgs) GetJWT() bool
- func (m *ResponseWrapDataArgs) GetTTL() int64
- func (*ResponseWrapDataArgs) ProtoMessage()
- func (m *ResponseWrapDataArgs) Reset()
- func (m *ResponseWrapDataArgs) String() string
- func (m *ResponseWrapDataArgs) XXX_DiscardUnknown()
- func (m *ResponseWrapDataArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResponseWrapDataArgs) XXX_Merge(src proto.Message)
- func (m *ResponseWrapDataArgs) XXX_Size() int
- func (m *ResponseWrapDataArgs) XXX_Unmarshal(b []byte) error
- type ResponseWrapDataReply
- func (*ResponseWrapDataReply) Descriptor() ([]byte, []int)
- func (m *ResponseWrapDataReply) GetErr() string
- func (m *ResponseWrapDataReply) GetWrapInfo() *ResponseWrapInfo
- func (*ResponseWrapDataReply) ProtoMessage()
- func (m *ResponseWrapDataReply) Reset()
- func (m *ResponseWrapDataReply) String() string
- func (m *ResponseWrapDataReply) XXX_DiscardUnknown()
- func (m *ResponseWrapDataReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResponseWrapDataReply) XXX_Merge(src proto.Message)
- func (m *ResponseWrapDataReply) XXX_Size() int
- func (m *ResponseWrapDataReply) XXX_Unmarshal(b []byte) error
- type ResponseWrapInfo
- func (*ResponseWrapInfo) Descriptor() ([]byte, []int)
- func (m *ResponseWrapInfo) GetAccessor() string
- func (m *ResponseWrapInfo) GetCreationPath() string
- func (m *ResponseWrapInfo) GetCreationTime() *timestamp.Timestamp
- func (m *ResponseWrapInfo) GetFormat() string
- func (m *ResponseWrapInfo) GetSealWrap() bool
- func (m *ResponseWrapInfo) GetTTL() int64
- func (m *ResponseWrapInfo) GetToken() string
- func (m *ResponseWrapInfo) GetWrappedAccessor() string
- func (m *ResponseWrapInfo) GetWrappedEntityID() string
- func (*ResponseWrapInfo) ProtoMessage()
- func (m *ResponseWrapInfo) Reset()
- func (m *ResponseWrapInfo) String() string
- func (m *ResponseWrapInfo) XXX_DiscardUnknown()
- func (m *ResponseWrapInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResponseWrapInfo) XXX_Merge(src proto.Message)
- func (m *ResponseWrapInfo) XXX_Size() int
- func (m *ResponseWrapInfo) XXX_Unmarshal(b []byte) error
- type Secret
- func (*Secret) Descriptor() ([]byte, []int)
- func (m *Secret) GetInternalData() string
- func (m *Secret) GetLeaseID() string
- func (m *Secret) GetLeaseOptions() *LeaseOptions
- func (*Secret) ProtoMessage()
- func (m *Secret) Reset()
- func (m *Secret) String() string
- func (m *Secret) XXX_DiscardUnknown()
- func (m *Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Secret) XXX_Merge(src proto.Message)
- func (m *Secret) XXX_Size() int
- func (m *Secret) XXX_Unmarshal(b []byte) error
- type SetupArgs
- func (*SetupArgs) Descriptor() ([]byte, []int)
- func (m *SetupArgs) GetBackendUUID() string
- func (m *SetupArgs) GetBrokerID() uint32
- func (m *SetupArgs) GetConfig() map[string]string
- func (*SetupArgs) ProtoMessage()
- func (m *SetupArgs) Reset()
- func (m *SetupArgs) String() string
- func (m *SetupArgs) XXX_DiscardUnknown()
- func (m *SetupArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetupArgs) XXX_Merge(src proto.Message)
- func (m *SetupArgs) XXX_Size() int
- func (m *SetupArgs) XXX_Unmarshal(b []byte) error
- type SetupReply
- func (*SetupReply) Descriptor() ([]byte, []int)
- func (m *SetupReply) GetErr() string
- func (*SetupReply) ProtoMessage()
- func (m *SetupReply) Reset()
- func (m *SetupReply) String() string
- func (m *SetupReply) XXX_DiscardUnknown()
- func (m *SetupReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetupReply) XXX_Merge(src proto.Message)
- func (m *SetupReply) XXX_Size() int
- func (m *SetupReply) XXX_Unmarshal(b []byte) error
- type SpecialPathsReply
- func (*SpecialPathsReply) Descriptor() ([]byte, []int)
- func (m *SpecialPathsReply) GetPaths() *Paths
- func (*SpecialPathsReply) ProtoMessage()
- func (m *SpecialPathsReply) Reset()
- func (m *SpecialPathsReply) String() string
- func (m *SpecialPathsReply) XXX_DiscardUnknown()
- func (m *SpecialPathsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SpecialPathsReply) XXX_Merge(src proto.Message)
- func (m *SpecialPathsReply) XXX_Size() int
- func (m *SpecialPathsReply) XXX_Unmarshal(b []byte) error
- type StorageClient
- type StorageDeleteArgs
- func (*StorageDeleteArgs) Descriptor() ([]byte, []int)
- func (m *StorageDeleteArgs) GetKey() string
- func (*StorageDeleteArgs) ProtoMessage()
- func (m *StorageDeleteArgs) Reset()
- func (m *StorageDeleteArgs) String() string
- func (m *StorageDeleteArgs) XXX_DiscardUnknown()
- func (m *StorageDeleteArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StorageDeleteArgs) XXX_Merge(src proto.Message)
- func (m *StorageDeleteArgs) XXX_Size() int
- func (m *StorageDeleteArgs) XXX_Unmarshal(b []byte) error
- type StorageDeleteReply
- func (*StorageDeleteReply) Descriptor() ([]byte, []int)
- func (m *StorageDeleteReply) GetErr() string
- func (*StorageDeleteReply) ProtoMessage()
- func (m *StorageDeleteReply) Reset()
- func (m *StorageDeleteReply) String() string
- func (m *StorageDeleteReply) XXX_DiscardUnknown()
- func (m *StorageDeleteReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StorageDeleteReply) XXX_Merge(src proto.Message)
- func (m *StorageDeleteReply) XXX_Size() int
- func (m *StorageDeleteReply) XXX_Unmarshal(b []byte) error
- type StorageEntry
- func (*StorageEntry) Descriptor() ([]byte, []int)
- func (m *StorageEntry) GetKey() string
- func (m *StorageEntry) GetSealWrap() bool
- func (m *StorageEntry) GetValue() []byte
- func (*StorageEntry) ProtoMessage()
- func (m *StorageEntry) Reset()
- func (m *StorageEntry) String() string
- func (m *StorageEntry) XXX_DiscardUnknown()
- func (m *StorageEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StorageEntry) XXX_Merge(src proto.Message)
- func (m *StorageEntry) XXX_Size() int
- func (m *StorageEntry) XXX_Unmarshal(b []byte) error
- type StorageGetArgs
- func (*StorageGetArgs) Descriptor() ([]byte, []int)
- func (m *StorageGetArgs) GetKey() string
- func (*StorageGetArgs) ProtoMessage()
- func (m *StorageGetArgs) Reset()
- func (m *StorageGetArgs) String() string
- func (m *StorageGetArgs) XXX_DiscardUnknown()
- func (m *StorageGetArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StorageGetArgs) XXX_Merge(src proto.Message)
- func (m *StorageGetArgs) XXX_Size() int
- func (m *StorageGetArgs) XXX_Unmarshal(b []byte) error
- type StorageGetReply
- func (*StorageGetReply) Descriptor() ([]byte, []int)
- func (m *StorageGetReply) GetEntry() *StorageEntry
- func (m *StorageGetReply) GetErr() string
- func (*StorageGetReply) ProtoMessage()
- func (m *StorageGetReply) Reset()
- func (m *StorageGetReply) String() string
- func (m *StorageGetReply) XXX_DiscardUnknown()
- func (m *StorageGetReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StorageGetReply) XXX_Merge(src proto.Message)
- func (m *StorageGetReply) XXX_Size() int
- func (m *StorageGetReply) XXX_Unmarshal(b []byte) error
- type StorageListArgs
- func (*StorageListArgs) Descriptor() ([]byte, []int)
- func (m *StorageListArgs) GetPrefix() string
- func (*StorageListArgs) ProtoMessage()
- func (m *StorageListArgs) Reset()
- func (m *StorageListArgs) String() string
- func (m *StorageListArgs) XXX_DiscardUnknown()
- func (m *StorageListArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StorageListArgs) XXX_Merge(src proto.Message)
- func (m *StorageListArgs) XXX_Size() int
- func (m *StorageListArgs) XXX_Unmarshal(b []byte) error
- type StorageListReply
- func (*StorageListReply) Descriptor() ([]byte, []int)
- func (m *StorageListReply) GetErr() string
- func (m *StorageListReply) GetKeys() []string
- func (*StorageListReply) ProtoMessage()
- func (m *StorageListReply) Reset()
- func (m *StorageListReply) String() string
- func (m *StorageListReply) XXX_DiscardUnknown()
- func (m *StorageListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StorageListReply) XXX_Merge(src proto.Message)
- func (m *StorageListReply) XXX_Size() int
- func (m *StorageListReply) XXX_Unmarshal(b []byte) error
- type StoragePutArgs
- func (*StoragePutArgs) Descriptor() ([]byte, []int)
- func (m *StoragePutArgs) GetEntry() *StorageEntry
- func (*StoragePutArgs) ProtoMessage()
- func (m *StoragePutArgs) Reset()
- func (m *StoragePutArgs) String() string
- func (m *StoragePutArgs) XXX_DiscardUnknown()
- func (m *StoragePutArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StoragePutArgs) XXX_Merge(src proto.Message)
- func (m *StoragePutArgs) XXX_Size() int
- func (m *StoragePutArgs) XXX_Unmarshal(b []byte) error
- type StoragePutReply
- func (*StoragePutReply) Descriptor() ([]byte, []int)
- func (m *StoragePutReply) GetErr() string
- func (*StoragePutReply) ProtoMessage()
- func (m *StoragePutReply) Reset()
- func (m *StoragePutReply) String() string
- func (m *StoragePutReply) XXX_DiscardUnknown()
- func (m *StoragePutReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StoragePutReply) XXX_Merge(src proto.Message)
- func (m *StoragePutReply) XXX_Size() int
- func (m *StoragePutReply) XXX_Unmarshal(b []byte) error
- type StorageServer
- type SudoPrivilegeArgs
- func (*SudoPrivilegeArgs) Descriptor() ([]byte, []int)
- func (m *SudoPrivilegeArgs) GetPath() string
- func (m *SudoPrivilegeArgs) GetToken() string
- func (*SudoPrivilegeArgs) ProtoMessage()
- func (m *SudoPrivilegeArgs) Reset()
- func (m *SudoPrivilegeArgs) String() string
- func (m *SudoPrivilegeArgs) XXX_DiscardUnknown()
- func (m *SudoPrivilegeArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SudoPrivilegeArgs) XXX_Merge(src proto.Message)
- func (m *SudoPrivilegeArgs) XXX_Size() int
- func (m *SudoPrivilegeArgs) XXX_Unmarshal(b []byte) error
- type SudoPrivilegeReply
- func (*SudoPrivilegeReply) Descriptor() ([]byte, []int)
- func (m *SudoPrivilegeReply) GetSudo() bool
- func (*SudoPrivilegeReply) ProtoMessage()
- func (m *SudoPrivilegeReply) Reset()
- func (m *SudoPrivilegeReply) String() string
- func (m *SudoPrivilegeReply) XXX_DiscardUnknown()
- func (m *SudoPrivilegeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SudoPrivilegeReply) XXX_Merge(src proto.Message)
- func (m *SudoPrivilegeReply) XXX_Size() int
- func (m *SudoPrivilegeReply) XXX_Unmarshal(b []byte) error
- type SystemViewClient
- type SystemViewServer
- type TTLReply
- func (*TTLReply) Descriptor() ([]byte, []int)
- func (m *TTLReply) GetTTL() int64
- func (*TTLReply) ProtoMessage()
- func (m *TTLReply) Reset()
- func (m *TTLReply) String() string
- func (m *TTLReply) XXX_DiscardUnknown()
- func (m *TTLReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TTLReply) XXX_Merge(src proto.Message)
- func (m *TTLReply) XXX_Size() int
- func (m *TTLReply) XXX_Unmarshal(b []byte) error
- type TaintedReply
- func (*TaintedReply) Descriptor() ([]byte, []int)
- func (m *TaintedReply) GetTainted() bool
- func (*TaintedReply) ProtoMessage()
- func (m *TaintedReply) Reset()
- func (m *TaintedReply) String() string
- func (m *TaintedReply) XXX_DiscardUnknown()
- func (m *TaintedReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TaintedReply) XXX_Merge(src proto.Message)
- func (m *TaintedReply) XXX_Size() int
- func (m *TaintedReply) XXX_Unmarshal(b []byte) error
- type TypeReply
- func (*TypeReply) Descriptor() ([]byte, []int)
- func (m *TypeReply) GetType() uint32
- func (*TypeReply) ProtoMessage()
- func (m *TypeReply) Reset()
- func (m *TypeReply) String() string
- func (m *TypeReply) XXX_DiscardUnknown()
- func (m *TypeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TypeReply) XXX_Merge(src proto.Message)
- func (m *TypeReply) XXX_Size() int
- func (m *TypeReply) XXX_Unmarshal(b []byte) error
Constants ¶
const ( ErrTypeUnknown uint32 = iota ErrTypeUserError ErrTypeInternalError ErrTypeCodedError ErrTypeStatusBadRequest ErrTypeUnsupportedOperation ErrTypeUnsupportedPath ErrTypeInvalidRequest ErrTypePermissionDenied ErrTypeMultiAuthzPending )
Variables ¶
This section is empty.
Functions ¶
func ErrToString ¶
func ProtoConnectionToLogicalConnection ¶ added in v0.9.4
func ProtoConnectionToLogicalConnection(c *Connection) *logical.Connection
func ProtoErrToErr ¶
func ProtoErrToErr(e *ProtoError) error
func ProtoLeaseOptionsToLogicalLeaseOptions ¶
func ProtoLeaseOptionsToLogicalLeaseOptions(l *LeaseOptions) (logical.LeaseOptions, error)
func ProtoRequestWrapInfoToLogicalRequestWrapInfo ¶
func ProtoRequestWrapInfoToLogicalRequestWrapInfo(i *RequestWrapInfo) *logical.RequestWrapInfo
func ProtoResponseWrapInfoToLogicalResponseWrapInfo ¶
func ProtoResponseWrapInfoToLogicalResponseWrapInfo(i *ResponseWrapInfo) (*wrapping.ResponseWrapInfo, error)
func ProtoStorageEntryToLogicalStorageEntry ¶
func ProtoStorageEntryToLogicalStorageEntry(e *StorageEntry) *logical.StorageEntry
func RegisterBackendServer ¶
func RegisterBackendServer(s *grpc.Server, srv BackendServer)
func RegisterStorageServer ¶
func RegisterStorageServer(s *grpc.Server, srv StorageServer)
func RegisterSystemViewServer ¶
func RegisterSystemViewServer(s *grpc.Server, srv SystemViewServer)
Types ¶
type Auth ¶
type Auth struct { LeaseOptions *LeaseOptions `sentinel:"" protobuf:"bytes,1,opt,name=lease_options,json=leaseOptions" json:"lease_options,omitempty"` // InternalData is a JSON object that is stored with the auth struct. // This will be sent back during a Renew/Revoke for storing internal data // used for those operations. InternalData string `sentinel:"" protobuf:"bytes,2,opt,name=internal_data,json=internalData" json:"internal_data,omitempty"` // DisplayName is a non-security sensitive identifier that is // applicable to this Auth. It is used for logging and prefixing // of dynamic secrets. For example, DisplayName may be "armon" for // the github credential backend. If the client token is used to // generate a SQL credential, the user may be "github-armon-uuid". // This is to help identify the source without using audit tables. DisplayName string `sentinel:"" protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"` // Policies is the list of policies that the authenticated user // is associated with. Policies []string `sentinel:"" protobuf:"bytes,4,rep,name=policies" json:"policies,omitempty"` // Metadata is used to attach arbitrary string-type metadata to // an authenticated user. This metadata will be outputted into the // audit log. Metadata map[string]string `` /* 148-byte string literal not displayed */ // ClientToken is the token that is generated for the authentication. // This will be filled in by Vault core when an auth structure is // returned. Setting this manually will have no effect. ClientToken string `sentinel:"" protobuf:"bytes,6,opt,name=client_token,json=clientToken" json:"client_token,omitempty"` // Accessor is the identifier for the ClientToken. This can be used // to perform management functionalities (especially revocation) when // ClientToken in the audit logs are obfuscated. Accessor can be used // to revoke a ClientToken and to lookup the capabilities of the ClientToken, // both without actually knowing the ClientToken. Accessor string `sentinel:"" protobuf:"bytes,7,opt,name=accessor" json:"accessor,omitempty"` // Period indicates that the token generated using this Auth object // should never expire. The token should be renewed within the duration // specified by this period. Period int64 `sentinel:"" protobuf:"varint,8,opt,name=period" json:"period,omitempty"` // Number of allowed uses of the issued token NumUses int64 `sentinel:"" protobuf:"varint,9,opt,name=num_uses,json=numUses" json:"num_uses,omitempty"` // EntityID is the identifier of the entity in identity store to which the // identity of the authenticating client belongs to. EntityID string `sentinel:"" protobuf:"bytes,10,opt,name=entity_id,json=entityId" json:"entity_id,omitempty"` // Alias is the information about the authenticated client returned by // the auth backend Alias *logical.Alias `sentinel:"" protobuf:"bytes,11,opt,name=alias" json:"alias,omitempty"` // GroupAliases are the informational mappings of external groups which an // authenticated user belongs to. This is used to check if there are // mappings groups for the group aliases in identity store. For all the // matching groups, the entity ID of the user will be added. GroupAliases []*logical.Alias `sentinel:"" protobuf:"bytes,12,rep,name=group_aliases,json=groupAliases" json:"group_aliases,omitempty"` // If set, restricts usage of the certificates to client IPs falling within // the range of the specified CIDR(s). BoundCidrs []string `sentinel:"" protobuf:"bytes,13,rep,name=bound_cidrs,json=boundCidrs" json:"bound_cidrs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Auth) Descriptor ¶
func (*Auth) GetAccessor ¶
func (*Auth) GetBoundCidrs ¶ added in v0.10.2
func (*Auth) GetClientToken ¶
func (*Auth) GetDisplayName ¶
func (*Auth) GetEntityID ¶
func (*Auth) GetGroupAliases ¶
func (*Auth) GetInternalData ¶
func (*Auth) GetLeaseOptions ¶
func (m *Auth) GetLeaseOptions() *LeaseOptions
func (*Auth) GetMetadata ¶
func (*Auth) GetNumUses ¶
func (*Auth) GetPolicies ¶
func (*Auth) ProtoMessage ¶
func (*Auth) ProtoMessage()
func (*Auth) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *Auth) XXX_DiscardUnknown()
func (*Auth) XXX_Marshal ¶ added in v0.10.2
func (*Auth) XXX_Unmarshal ¶ added in v0.10.2
type BackendClient ¶
type BackendClient interface { // HandleRequest is used to handle a request and generate a response. // The plugins must check the operation type and handle appropriately. HandleRequest(ctx context.Context, in *HandleRequestArgs, opts ...grpc.CallOption) (*HandleRequestReply, error) // SpecialPaths is a list of paths that are special in some way. // See PathType for the types of special paths. The key is the type // of the special path, and the value is a list of paths for this type. // This is not a regular expression but is an exact match. If the path // ends in '*' then it is a prefix-based match. The '*' can only appear // at the end. SpecialPaths(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*SpecialPathsReply, error) // HandleExistenceCheck is used to handle a request and generate a response // indicating whether the given path exists or not; this is used to // understand whether the request must have a Create or Update capability // ACL applied. The first bool indicates whether an existence check // function was found for the backend; the second indicates whether, if an // existence check function was found, the item exists or not. HandleExistenceCheck(ctx context.Context, in *HandleExistenceCheckArgs, opts ...grpc.CallOption) (*HandleExistenceCheckReply, error) // Cleanup is invoked during an unmount of a backend to allow it to // handle any cleanup like connection closing or releasing of file handles. // Cleanup is called right before Vault closes the plugin process. Cleanup(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) // InvalidateKey may be invoked when an object is modified that belongs // to the backend. The backend can use this to clear any caches or reset // internal state as needed. InvalidateKey(ctx context.Context, in *InvalidateKeyArgs, opts ...grpc.CallOption) (*Empty, error) // Setup is used to set up the backend based on the provided backend // configuration. The plugin's setup implementation should use the provided // broker_id to create a connection back to Vault for use with the Storage // and SystemView clients. Setup(ctx context.Context, in *SetupArgs, opts ...grpc.CallOption) (*SetupReply, error) // Type returns the BackendType for the particular backend Type(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TypeReply, error) }
BackendClient is the client API for Backend service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBackendClient ¶
func NewBackendClient(cc *grpc.ClientConn) BackendClient
type BackendServer ¶
type BackendServer interface { // HandleRequest is used to handle a request and generate a response. // The plugins must check the operation type and handle appropriately. HandleRequest(context.Context, *HandleRequestArgs) (*HandleRequestReply, error) // SpecialPaths is a list of paths that are special in some way. // See PathType for the types of special paths. The key is the type // of the special path, and the value is a list of paths for this type. // This is not a regular expression but is an exact match. If the path // ends in '*' then it is a prefix-based match. The '*' can only appear // at the end. SpecialPaths(context.Context, *Empty) (*SpecialPathsReply, error) // HandleExistenceCheck is used to handle a request and generate a response // indicating whether the given path exists or not; this is used to // understand whether the request must have a Create or Update capability // ACL applied. The first bool indicates whether an existence check // function was found for the backend; the second indicates whether, if an // existence check function was found, the item exists or not. HandleExistenceCheck(context.Context, *HandleExistenceCheckArgs) (*HandleExistenceCheckReply, error) // Cleanup is invoked during an unmount of a backend to allow it to // handle any cleanup like connection closing or releasing of file handles. // Cleanup is called right before Vault closes the plugin process. Cleanup(context.Context, *Empty) (*Empty, error) // InvalidateKey may be invoked when an object is modified that belongs // to the backend. The backend can use this to clear any caches or reset // internal state as needed. InvalidateKey(context.Context, *InvalidateKeyArgs) (*Empty, error) // Setup is used to set up the backend based on the provided backend // configuration. The plugin's setup implementation should use the provided // broker_id to create a connection back to Vault for use with the Storage // and SystemView clients. Setup(context.Context, *SetupArgs) (*SetupReply, error) // Type returns the BackendType for the particular backend Type(context.Context, *Empty) (*TypeReply, error) }
BackendServer is the server API for Backend service.
type CachingDisabledReply ¶
type CachingDisabledReply struct { Disabled bool `sentinel:"" protobuf:"varint,1,opt,name=disabled" json:"disabled,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CachingDisabledReply) Descriptor ¶
func (*CachingDisabledReply) Descriptor() ([]byte, []int)
func (*CachingDisabledReply) GetDisabled ¶
func (m *CachingDisabledReply) GetDisabled() bool
func (*CachingDisabledReply) ProtoMessage ¶
func (*CachingDisabledReply) ProtoMessage()
func (*CachingDisabledReply) Reset ¶
func (m *CachingDisabledReply) Reset()
func (*CachingDisabledReply) String ¶
func (m *CachingDisabledReply) String() string
func (*CachingDisabledReply) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *CachingDisabledReply) XXX_DiscardUnknown()
func (*CachingDisabledReply) XXX_Marshal ¶ added in v0.10.2
func (m *CachingDisabledReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CachingDisabledReply) XXX_Merge ¶ added in v0.10.2
func (dst *CachingDisabledReply) XXX_Merge(src proto.Message)
func (*CachingDisabledReply) XXX_Size ¶ added in v0.10.2
func (m *CachingDisabledReply) XXX_Size() int
func (*CachingDisabledReply) XXX_Unmarshal ¶ added in v0.10.2
func (m *CachingDisabledReply) XXX_Unmarshal(b []byte) error
type Connection ¶ added in v0.9.4
type Connection struct { // RemoteAddr is the network address that sent the request. RemoteAddr string `sentinel:"" protobuf:"bytes,1,opt,name=remote_addr,json=remoteAddr" json:"remote_addr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func LogicalConnectionToProtoConnection ¶ added in v0.9.4
func LogicalConnectionToProtoConnection(c *logical.Connection) *Connection
func (*Connection) Descriptor ¶ added in v0.9.4
func (*Connection) Descriptor() ([]byte, []int)
func (*Connection) GetRemoteAddr ¶ added in v0.9.4
func (m *Connection) GetRemoteAddr() string
func (*Connection) ProtoMessage ¶ added in v0.9.4
func (*Connection) ProtoMessage()
func (*Connection) Reset ¶ added in v0.9.4
func (m *Connection) Reset()
func (*Connection) String ¶ added in v0.9.4
func (m *Connection) String() string
func (*Connection) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *Connection) XXX_DiscardUnknown()
func (*Connection) XXX_Marshal ¶ added in v0.10.2
func (m *Connection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Connection) XXX_Merge ¶ added in v0.10.2
func (dst *Connection) XXX_Merge(src proto.Message)
func (*Connection) XXX_Size ¶ added in v0.10.2
func (m *Connection) XXX_Size() int
func (*Connection) XXX_Unmarshal ¶ added in v0.10.2
func (m *Connection) XXX_Unmarshal(b []byte) error
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶ added in v0.10.2
func (*Empty) XXX_Unmarshal ¶ added in v0.10.2
type EntityInfoArgs ¶ added in v0.10.2
type EntityInfoArgs struct { EntityID string `sentinel:"" protobuf:"bytes,1,opt,name=entity_id,json=entityId" json:"entity_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EntityInfoArgs) Descriptor ¶ added in v0.10.2
func (*EntityInfoArgs) Descriptor() ([]byte, []int)
func (*EntityInfoArgs) GetEntityID ¶ added in v0.10.2
func (m *EntityInfoArgs) GetEntityID() string
func (*EntityInfoArgs) ProtoMessage ¶ added in v0.10.2
func (*EntityInfoArgs) ProtoMessage()
func (*EntityInfoArgs) Reset ¶ added in v0.10.2
func (m *EntityInfoArgs) Reset()
func (*EntityInfoArgs) String ¶ added in v0.10.2
func (m *EntityInfoArgs) String() string
func (*EntityInfoArgs) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *EntityInfoArgs) XXX_DiscardUnknown()
func (*EntityInfoArgs) XXX_Marshal ¶ added in v0.10.2
func (m *EntityInfoArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EntityInfoArgs) XXX_Merge ¶ added in v0.10.2
func (dst *EntityInfoArgs) XXX_Merge(src proto.Message)
func (*EntityInfoArgs) XXX_Size ¶ added in v0.10.2
func (m *EntityInfoArgs) XXX_Size() int
func (*EntityInfoArgs) XXX_Unmarshal ¶ added in v0.10.2
func (m *EntityInfoArgs) XXX_Unmarshal(b []byte) error
type EntityInfoReply ¶ added in v0.10.2
type EntityInfoReply struct { Entity *logical.Entity `sentinel:"" protobuf:"bytes,1,opt,name=entity" json:"entity,omitempty"` Err string `sentinel:"" protobuf:"bytes,2,opt,name=err" json:"err,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EntityInfoReply) Descriptor ¶ added in v0.10.2
func (*EntityInfoReply) Descriptor() ([]byte, []int)
func (*EntityInfoReply) GetEntity ¶ added in v0.10.2
func (m *EntityInfoReply) GetEntity() *logical.Entity
func (*EntityInfoReply) GetErr ¶ added in v0.10.2
func (m *EntityInfoReply) GetErr() string
func (*EntityInfoReply) ProtoMessage ¶ added in v0.10.2
func (*EntityInfoReply) ProtoMessage()
func (*EntityInfoReply) Reset ¶ added in v0.10.2
func (m *EntityInfoReply) Reset()
func (*EntityInfoReply) String ¶ added in v0.10.2
func (m *EntityInfoReply) String() string
func (*EntityInfoReply) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *EntityInfoReply) XXX_DiscardUnknown()
func (*EntityInfoReply) XXX_Marshal ¶ added in v0.10.2
func (m *EntityInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EntityInfoReply) XXX_Merge ¶ added in v0.10.2
func (dst *EntityInfoReply) XXX_Merge(src proto.Message)
func (*EntityInfoReply) XXX_Size ¶ added in v0.10.2
func (m *EntityInfoReply) XXX_Size() int
func (*EntityInfoReply) XXX_Unmarshal ¶ added in v0.10.2
func (m *EntityInfoReply) XXX_Unmarshal(b []byte) error
type HandleExistenceCheckArgs ¶
type HandleExistenceCheckArgs struct { StorageID uint32 `sentinel:"" protobuf:"varint,1,opt,name=storage_id,json=storageId" json:"storage_id,omitempty"` Request *Request `sentinel:"" protobuf:"bytes,2,opt,name=request" json:"request,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
HandleExistenceCheckArgs is the args for HandleExistenceCheck method.
func (*HandleExistenceCheckArgs) Descriptor ¶
func (*HandleExistenceCheckArgs) Descriptor() ([]byte, []int)
func (*HandleExistenceCheckArgs) GetRequest ¶
func (m *HandleExistenceCheckArgs) GetRequest() *Request
func (*HandleExistenceCheckArgs) GetStorageID ¶
func (m *HandleExistenceCheckArgs) GetStorageID() uint32
func (*HandleExistenceCheckArgs) ProtoMessage ¶
func (*HandleExistenceCheckArgs) ProtoMessage()
func (*HandleExistenceCheckArgs) Reset ¶
func (m *HandleExistenceCheckArgs) Reset()
func (*HandleExistenceCheckArgs) String ¶
func (m *HandleExistenceCheckArgs) String() string
func (*HandleExistenceCheckArgs) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *HandleExistenceCheckArgs) XXX_DiscardUnknown()
func (*HandleExistenceCheckArgs) XXX_Marshal ¶ added in v0.10.2
func (m *HandleExistenceCheckArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HandleExistenceCheckArgs) XXX_Merge ¶ added in v0.10.2
func (dst *HandleExistenceCheckArgs) XXX_Merge(src proto.Message)
func (*HandleExistenceCheckArgs) XXX_Size ¶ added in v0.10.2
func (m *HandleExistenceCheckArgs) XXX_Size() int
func (*HandleExistenceCheckArgs) XXX_Unmarshal ¶ added in v0.10.2
func (m *HandleExistenceCheckArgs) XXX_Unmarshal(b []byte) error
type HandleExistenceCheckReply ¶
type HandleExistenceCheckReply struct { CheckFound bool `sentinel:"" protobuf:"varint,1,opt,name=check_found,json=checkFound" json:"check_found,omitempty"` Exists bool `sentinel:"" protobuf:"varint,2,opt,name=exists" json:"exists,omitempty"` Err *ProtoError `sentinel:"" protobuf:"bytes,3,opt,name=err" json:"err,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
HandleExistenceCheckReply is the reply for HandleExistenceCheck method.
func (*HandleExistenceCheckReply) Descriptor ¶
func (*HandleExistenceCheckReply) Descriptor() ([]byte, []int)
func (*HandleExistenceCheckReply) GetCheckFound ¶
func (m *HandleExistenceCheckReply) GetCheckFound() bool
func (*HandleExistenceCheckReply) GetErr ¶
func (m *HandleExistenceCheckReply) GetErr() *ProtoError
func (*HandleExistenceCheckReply) GetExists ¶
func (m *HandleExistenceCheckReply) GetExists() bool
func (*HandleExistenceCheckReply) ProtoMessage ¶
func (*HandleExistenceCheckReply) ProtoMessage()
func (*HandleExistenceCheckReply) Reset ¶
func (m *HandleExistenceCheckReply) Reset()
func (*HandleExistenceCheckReply) String ¶
func (m *HandleExistenceCheckReply) String() string
func (*HandleExistenceCheckReply) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *HandleExistenceCheckReply) XXX_DiscardUnknown()
func (*HandleExistenceCheckReply) XXX_Marshal ¶ added in v0.10.2
func (m *HandleExistenceCheckReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HandleExistenceCheckReply) XXX_Merge ¶ added in v0.10.2
func (dst *HandleExistenceCheckReply) XXX_Merge(src proto.Message)
func (*HandleExistenceCheckReply) XXX_Size ¶ added in v0.10.2
func (m *HandleExistenceCheckReply) XXX_Size() int
func (*HandleExistenceCheckReply) XXX_Unmarshal ¶ added in v0.10.2
func (m *HandleExistenceCheckReply) XXX_Unmarshal(b []byte) error
type HandleRequestArgs ¶
type HandleRequestArgs struct { StorageID uint32 `sentinel:"" protobuf:"varint,1,opt,name=storage_id,json=storageId" json:"storage_id,omitempty"` Request *Request `sentinel:"" protobuf:"bytes,2,opt,name=request" json:"request,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
HandleRequestArgs is the args for HandleRequest method.
func (*HandleRequestArgs) Descriptor ¶
func (*HandleRequestArgs) Descriptor() ([]byte, []int)
func (*HandleRequestArgs) GetRequest ¶
func (m *HandleRequestArgs) GetRequest() *Request
func (*HandleRequestArgs) GetStorageID ¶
func (m *HandleRequestArgs) GetStorageID() uint32
func (*HandleRequestArgs) ProtoMessage ¶
func (*HandleRequestArgs) ProtoMessage()
func (*HandleRequestArgs) Reset ¶
func (m *HandleRequestArgs) Reset()
func (*HandleRequestArgs) String ¶
func (m *HandleRequestArgs) String() string
func (*HandleRequestArgs) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *HandleRequestArgs) XXX_DiscardUnknown()
func (*HandleRequestArgs) XXX_Marshal ¶ added in v0.10.2
func (m *HandleRequestArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HandleRequestArgs) XXX_Merge ¶ added in v0.10.2
func (dst *HandleRequestArgs) XXX_Merge(src proto.Message)
func (*HandleRequestArgs) XXX_Size ¶ added in v0.10.2
func (m *HandleRequestArgs) XXX_Size() int
func (*HandleRequestArgs) XXX_Unmarshal ¶ added in v0.10.2
func (m *HandleRequestArgs) XXX_Unmarshal(b []byte) error
type HandleRequestReply ¶
type HandleRequestReply struct { Response *Response `sentinel:"" protobuf:"bytes,1,opt,name=response" json:"response,omitempty"` Err *ProtoError `sentinel:"" protobuf:"bytes,2,opt,name=err" json:"err,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
HandleRequestReply is the reply for HandleRequest method.
func (*HandleRequestReply) Descriptor ¶
func (*HandleRequestReply) Descriptor() ([]byte, []int)
func (*HandleRequestReply) GetErr ¶
func (m *HandleRequestReply) GetErr() *ProtoError
func (*HandleRequestReply) GetResponse ¶
func (m *HandleRequestReply) GetResponse() *Response
func (*HandleRequestReply) ProtoMessage ¶
func (*HandleRequestReply) ProtoMessage()
func (*HandleRequestReply) Reset ¶
func (m *HandleRequestReply) Reset()
func (*HandleRequestReply) String ¶
func (m *HandleRequestReply) String() string
func (*HandleRequestReply) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *HandleRequestReply) XXX_DiscardUnknown()
func (*HandleRequestReply) XXX_Marshal ¶ added in v0.10.2
func (m *HandleRequestReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HandleRequestReply) XXX_Merge ¶ added in v0.10.2
func (dst *HandleRequestReply) XXX_Merge(src proto.Message)
func (*HandleRequestReply) XXX_Size ¶ added in v0.10.2
func (m *HandleRequestReply) XXX_Size() int
func (*HandleRequestReply) XXX_Unmarshal ¶ added in v0.10.2
func (m *HandleRequestReply) XXX_Unmarshal(b []byte) error
type Header ¶
type Header struct { Header []string `sentinel:"" protobuf:"bytes,1,rep,name=header" json:"header,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Header) Descriptor ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *Header) XXX_DiscardUnknown()
func (*Header) XXX_Marshal ¶ added in v0.10.2
func (*Header) XXX_Unmarshal ¶ added in v0.10.2
type InvalidateKeyArgs ¶
type InvalidateKeyArgs struct { Key string `sentinel:"" protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InvalidateKeyArgs) Descriptor ¶
func (*InvalidateKeyArgs) Descriptor() ([]byte, []int)
func (*InvalidateKeyArgs) GetKey ¶
func (m *InvalidateKeyArgs) GetKey() string
func (*InvalidateKeyArgs) ProtoMessage ¶
func (*InvalidateKeyArgs) ProtoMessage()
func (*InvalidateKeyArgs) Reset ¶
func (m *InvalidateKeyArgs) Reset()
func (*InvalidateKeyArgs) String ¶
func (m *InvalidateKeyArgs) String() string
func (*InvalidateKeyArgs) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *InvalidateKeyArgs) XXX_DiscardUnknown()
func (*InvalidateKeyArgs) XXX_Marshal ¶ added in v0.10.2
func (m *InvalidateKeyArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InvalidateKeyArgs) XXX_Merge ¶ added in v0.10.2
func (dst *InvalidateKeyArgs) XXX_Merge(src proto.Message)
func (*InvalidateKeyArgs) XXX_Size ¶ added in v0.10.2
func (m *InvalidateKeyArgs) XXX_Size() int
func (*InvalidateKeyArgs) XXX_Unmarshal ¶ added in v0.10.2
func (m *InvalidateKeyArgs) XXX_Unmarshal(b []byte) error
type LeaseOptions ¶
type LeaseOptions struct { TTL int64 `sentinel:"" protobuf:"varint,1,opt,name=TTL" json:"TTL,omitempty"` Renewable bool `sentinel:"" protobuf:"varint,2,opt,name=renewable" json:"renewable,omitempty"` Increment int64 `sentinel:"" protobuf:"varint,3,opt,name=increment" json:"increment,omitempty"` IssueTime *timestamp.Timestamp `sentinel:"" protobuf:"bytes,4,opt,name=issue_time,json=issueTime" json:"issue_time,omitempty"` MaxTTL int64 `sentinel:"" protobuf:"varint,5,opt,name=MaxTTL" json:"MaxTTL,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func LogicalLeaseOptionsToProtoLeaseOptions ¶
func LogicalLeaseOptionsToProtoLeaseOptions(l logical.LeaseOptions) (*LeaseOptions, error)
func (*LeaseOptions) Descriptor ¶
func (*LeaseOptions) Descriptor() ([]byte, []int)
func (*LeaseOptions) GetIncrement ¶
func (m *LeaseOptions) GetIncrement() int64
func (*LeaseOptions) GetIssueTime ¶
func (m *LeaseOptions) GetIssueTime() *timestamp.Timestamp
func (*LeaseOptions) GetMaxTTL ¶ added in v0.10.0
func (m *LeaseOptions) GetMaxTTL() int64
func (*LeaseOptions) GetRenewable ¶
func (m *LeaseOptions) GetRenewable() bool
func (*LeaseOptions) GetTTL ¶
func (m *LeaseOptions) GetTTL() int64
func (*LeaseOptions) ProtoMessage ¶
func (*LeaseOptions) ProtoMessage()
func (*LeaseOptions) Reset ¶
func (m *LeaseOptions) Reset()
func (*LeaseOptions) String ¶
func (m *LeaseOptions) String() string
func (*LeaseOptions) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *LeaseOptions) XXX_DiscardUnknown()
func (*LeaseOptions) XXX_Marshal ¶ added in v0.10.2
func (m *LeaseOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LeaseOptions) XXX_Merge ¶ added in v0.10.2
func (dst *LeaseOptions) XXX_Merge(src proto.Message)
func (*LeaseOptions) XXX_Size ¶ added in v0.10.2
func (m *LeaseOptions) XXX_Size() int
func (*LeaseOptions) XXX_Unmarshal ¶ added in v0.10.2
func (m *LeaseOptions) XXX_Unmarshal(b []byte) error
type LocalMountReply ¶ added in v0.9.4
type LocalMountReply struct { Local bool `sentinel:"" protobuf:"varint,1,opt,name=local" json:"local,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LocalMountReply) Descriptor ¶ added in v0.9.4
func (*LocalMountReply) Descriptor() ([]byte, []int)
func (*LocalMountReply) GetLocal ¶ added in v0.9.4
func (m *LocalMountReply) GetLocal() bool
func (*LocalMountReply) ProtoMessage ¶ added in v0.9.4
func (*LocalMountReply) ProtoMessage()
func (*LocalMountReply) Reset ¶ added in v0.9.4
func (m *LocalMountReply) Reset()
func (*LocalMountReply) String ¶ added in v0.9.4
func (m *LocalMountReply) String() string
func (*LocalMountReply) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *LocalMountReply) XXX_DiscardUnknown()
func (*LocalMountReply) XXX_Marshal ¶ added in v0.10.2
func (m *LocalMountReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocalMountReply) XXX_Merge ¶ added in v0.10.2
func (dst *LocalMountReply) XXX_Merge(src proto.Message)
func (*LocalMountReply) XXX_Size ¶ added in v0.10.2
func (m *LocalMountReply) XXX_Size() int
func (*LocalMountReply) XXX_Unmarshal ¶ added in v0.10.2
func (m *LocalMountReply) XXX_Unmarshal(b []byte) error
type MlockEnabledReply ¶
type MlockEnabledReply struct { Enabled bool `sentinel:"" protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MlockEnabledReply) Descriptor ¶
func (*MlockEnabledReply) Descriptor() ([]byte, []int)
func (*MlockEnabledReply) GetEnabled ¶
func (m *MlockEnabledReply) GetEnabled() bool
func (*MlockEnabledReply) ProtoMessage ¶
func (*MlockEnabledReply) ProtoMessage()
func (*MlockEnabledReply) Reset ¶
func (m *MlockEnabledReply) Reset()
func (*MlockEnabledReply) String ¶
func (m *MlockEnabledReply) String() string
func (*MlockEnabledReply) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *MlockEnabledReply) XXX_DiscardUnknown()
func (*MlockEnabledReply) XXX_Marshal ¶ added in v0.10.2
func (m *MlockEnabledReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MlockEnabledReply) XXX_Merge ¶ added in v0.10.2
func (dst *MlockEnabledReply) XXX_Merge(src proto.Message)
func (*MlockEnabledReply) XXX_Size ¶ added in v0.10.2
func (m *MlockEnabledReply) XXX_Size() int
func (*MlockEnabledReply) XXX_Unmarshal ¶ added in v0.10.2
func (m *MlockEnabledReply) XXX_Unmarshal(b []byte) error
type Paths ¶
type Paths struct { // Root are the paths that require a root token to access Root []string `sentinel:"" protobuf:"bytes,1,rep,name=root" json:"root,omitempty"` // Unauthenticated are the paths that can be accessed without any auth. Unauthenticated []string `sentinel:"" protobuf:"bytes,2,rep,name=unauthenticated" json:"unauthenticated,omitempty"` // LocalStorage are paths (prefixes) that are local to this instance; this // indicates that these paths should not be replicated LocalStorage []string `sentinel:"" protobuf:"bytes,3,rep,name=local_storage,json=localStorage" json:"local_storage,omitempty"` // SealWrapStorage are storage paths that, when using a capable seal, // should be seal wrapped with extra encryption. It is exact matching // unless it ends with '/' in which case it will be treated as a prefix. SealWrapStorage []string `sentinel:"" protobuf:"bytes,4,rep,name=seal_wrap_storage,json=sealWrapStorage" json:"seal_wrap_storage,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Paths is the structure of special paths that is used for SpecialPaths.
func (*Paths) Descriptor ¶
func (*Paths) GetLocalStorage ¶
func (*Paths) GetSealWrapStorage ¶
func (*Paths) GetUnauthenticated ¶
func (*Paths) ProtoMessage ¶
func (*Paths) ProtoMessage()
func (*Paths) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *Paths) XXX_DiscardUnknown()
func (*Paths) XXX_Marshal ¶ added in v0.10.2
func (*Paths) XXX_Unmarshal ¶ added in v0.10.2
type ProtoError ¶
type ProtoError struct { // Error type can be one of: // ErrTypeUnknown uint32 = iota // ErrTypeUserError // ErrTypeInternalError // ErrTypeCodedError // ErrTypeStatusBadRequest // ErrTypeUnsupportedOperation // ErrTypeUnsupportedPath // ErrTypeInvalidRequest // ErrTypePermissionDenied // ErrTypeMultiAuthzPending ErrType uint32 `sentinel:"" protobuf:"varint,1,opt,name=err_type,json=errType" json:"err_type,omitempty"` ErrMsg string `sentinel:"" protobuf:"bytes,2,opt,name=err_msg,json=errMsg" json:"err_msg,omitempty"` ErrCode int64 `sentinel:"" protobuf:"varint,3,opt,name=err_code,json=errCode" json:"err_code,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func ErrToProtoErr ¶
func ErrToProtoErr(e error) *ProtoError
func (*ProtoError) Descriptor ¶
func (*ProtoError) Descriptor() ([]byte, []int)
func (*ProtoError) GetErrCode ¶
func (m *ProtoError) GetErrCode() int64
func (*ProtoError) GetErrMsg ¶
func (m *ProtoError) GetErrMsg() string
func (*ProtoError) GetErrType ¶
func (m *ProtoError) GetErrType() uint32
func (*ProtoError) ProtoMessage ¶
func (*ProtoError) ProtoMessage()
func (*ProtoError) Reset ¶
func (m *ProtoError) Reset()
func (*ProtoError) String ¶
func (m *ProtoError) String() string
func (*ProtoError) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *ProtoError) XXX_DiscardUnknown()
func (*ProtoError) XXX_Marshal ¶ added in v0.10.2
func (m *ProtoError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProtoError) XXX_Merge ¶ added in v0.10.2
func (dst *ProtoError) XXX_Merge(src proto.Message)
func (*ProtoError) XXX_Size ¶ added in v0.10.2
func (m *ProtoError) XXX_Size() int
func (*ProtoError) XXX_Unmarshal ¶ added in v0.10.2
func (m *ProtoError) XXX_Unmarshal(b []byte) error
type ReplicationStateReply ¶
type ReplicationStateReply struct { State int32 `sentinel:"" protobuf:"varint,1,opt,name=state" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplicationStateReply) Descriptor ¶
func (*ReplicationStateReply) Descriptor() ([]byte, []int)
func (*ReplicationStateReply) GetState ¶
func (m *ReplicationStateReply) GetState() int32
func (*ReplicationStateReply) ProtoMessage ¶
func (*ReplicationStateReply) ProtoMessage()
func (*ReplicationStateReply) Reset ¶
func (m *ReplicationStateReply) Reset()
func (*ReplicationStateReply) String ¶
func (m *ReplicationStateReply) String() string
func (*ReplicationStateReply) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *ReplicationStateReply) XXX_DiscardUnknown()
func (*ReplicationStateReply) XXX_Marshal ¶ added in v0.10.2
func (m *ReplicationStateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplicationStateReply) XXX_Merge ¶ added in v0.10.2
func (dst *ReplicationStateReply) XXX_Merge(src proto.Message)
func (*ReplicationStateReply) XXX_Size ¶ added in v0.10.2
func (m *ReplicationStateReply) XXX_Size() int
func (*ReplicationStateReply) XXX_Unmarshal ¶ added in v0.10.2
func (m *ReplicationStateReply) XXX_Unmarshal(b []byte) error
type Request ¶
type Request struct { // ID is the uuid associated with each request ID string `sentinel:"" protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` // If set, the name given to the replication secondary where this request // originated ReplicationCluster string `sentinel:"" protobuf:"bytes,2,opt,name=ReplicationCluster" json:"ReplicationCluster,omitempty"` // Operation is the requested operation type Operation string `sentinel:"" protobuf:"bytes,3,opt,name=operation" json:"operation,omitempty"` // Path is the part of the request path not consumed by the // routing. As an example, if the original request path is "prod/aws/foo" // and the AWS logical backend is mounted at "prod/aws/", then the // final path is "foo" since the mount prefix is trimmed. Path string `sentinel:"" protobuf:"bytes,4,opt,name=path" json:"path,omitempty"` // Request data is a JSON object that must have keys with string type. Data string `sentinel:"" protobuf:"bytes,5,opt,name=data" json:"data,omitempty"` // Secret will be non-nil only for Revoke and Renew operations // to represent the secret that was returned prior. Secret *Secret `sentinel:"" protobuf:"bytes,6,opt,name=secret" json:"secret,omitempty"` // Auth will be non-nil only for Renew operations // to represent the auth that was returned prior. Auth *Auth `sentinel:"" protobuf:"bytes,7,opt,name=auth" json:"auth,omitempty"` // Headers will contain the http headers from the request. This value will // be used in the audit broker to ensure we are auditing only the allowed // headers. Headers map[string]*Header `` /* 146-byte string literal not displayed */ // ClientToken is provided to the core so that the identity // can be verified and ACLs applied. This value is passed // through to the logical backends but after being salted and // hashed. ClientToken string `sentinel:"" protobuf:"bytes,9,opt,name=client_token,json=clientToken" json:"client_token,omitempty"` // ClientTokenAccessor is provided to the core so that the it can get // logged as part of request audit logging. ClientTokenAccessor string `` /* 126-byte string literal not displayed */ // DisplayName is provided to the logical backend to help associate // dynamic secrets with the source entity. This is not a sensitive // name, but is useful for operators. DisplayName string `sentinel:"" protobuf:"bytes,11,opt,name=display_name,json=displayName" json:"display_name,omitempty"` // MountPoint is provided so that a logical backend can generate // paths relative to itself. The `Path` is effectively the client // request path with the MountPoint trimmed off. MountPoint string `sentinel:"" protobuf:"bytes,12,opt,name=mount_point,json=mountPoint" json:"mount_point,omitempty"` // MountType is provided so that a logical backend can make decisions // based on the specific mount type (e.g., if a mount type has different // aliases, generating different defaults depending on the alias) MountType string `sentinel:"" protobuf:"bytes,13,opt,name=mount_type,json=mountType" json:"mount_type,omitempty"` // MountAccessor is provided so that identities returned by the authentication // backends can be tied to the mount it belongs to. MountAccessor string `sentinel:"" protobuf:"bytes,14,opt,name=mount_accessor,json=mountAccessor" json:"mount_accessor,omitempty"` // WrapInfo contains requested response wrapping parameters WrapInfo *RequestWrapInfo `sentinel:"" protobuf:"bytes,15,opt,name=wrap_info,json=wrapInfo" json:"wrap_info,omitempty"` // ClientTokenRemainingUses represents the allowed number of uses left on the // token supplied ClientTokenRemainingUses int64 `` /* 144-byte string literal not displayed */ // EntityID is the identity of the caller extracted out of the token used // to make this request EntityID string `sentinel:"" protobuf:"bytes,17,opt,name=entity_id,json=entityId" json:"entity_id,omitempty"` // PolicyOverride indicates that the requestor wishes to override // soft-mandatory Sentinel policies PolicyOverride bool `sentinel:"" protobuf:"varint,18,opt,name=policy_override,json=policyOverride" json:"policy_override,omitempty"` // Whether the request is unauthenticated, as in, had no client token // attached. Useful in some situations where the client token is not made // accessible. Unauthenticated bool `sentinel:"" protobuf:"varint,19,opt,name=unauthenticated" json:"unauthenticated,omitempty"` // Connection will be non-nil only for credential providers to // inspect the connection information and potentially use it for // authentication/protection. Connection *Connection `sentinel:"" protobuf:"bytes,20,opt,name=connection" json:"connection,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Request) Descriptor ¶
func (*Request) GetClientToken ¶
func (*Request) GetClientTokenAccessor ¶
func (*Request) GetClientTokenRemainingUses ¶
func (*Request) GetConnection ¶ added in v0.9.4
func (m *Request) GetConnection() *Connection
func (*Request) GetDisplayName ¶
func (*Request) GetEntityID ¶
func (*Request) GetHeaders ¶
func (*Request) GetMountAccessor ¶
func (*Request) GetMountPoint ¶
func (*Request) GetMountType ¶
func (*Request) GetOperation ¶
func (*Request) GetPolicyOverride ¶
func (*Request) GetReplicationCluster ¶
func (*Request) GetUnauthenticated ¶
func (*Request) GetWrapInfo ¶
func (m *Request) GetWrapInfo() *RequestWrapInfo
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *Request) XXX_DiscardUnknown()
func (*Request) XXX_Marshal ¶ added in v0.10.2
func (*Request) XXX_Unmarshal ¶ added in v0.10.2
type RequestWrapInfo ¶
type RequestWrapInfo struct { // Setting to non-zero specifies that the response should be wrapped. // Specifies the desired TTL of the wrapping token. TTL int64 `sentinel:"" protobuf:"varint,1,opt,name=TTL" json:"TTL,omitempty"` // The format to use for the wrapped response; if not specified it's a bare // token Format string `sentinel:"" protobuf:"bytes,2,opt,name=format" json:"format,omitempty"` // A flag to conforming backends that data for a given request should be // seal wrapped SealWrap bool `sentinel:"" protobuf:"varint,3,opt,name=seal_wrap,json=sealWrap" json:"seal_wrap,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func LogicalRequestWrapInfoToProtoRequestWrapInfo ¶
func LogicalRequestWrapInfoToProtoRequestWrapInfo(i *logical.RequestWrapInfo) *RequestWrapInfo
func (*RequestWrapInfo) Descriptor ¶
func (*RequestWrapInfo) Descriptor() ([]byte, []int)
func (*RequestWrapInfo) GetFormat ¶
func (m *RequestWrapInfo) GetFormat() string
func (*RequestWrapInfo) GetSealWrap ¶
func (m *RequestWrapInfo) GetSealWrap() bool
func (*RequestWrapInfo) GetTTL ¶
func (m *RequestWrapInfo) GetTTL() int64
func (*RequestWrapInfo) ProtoMessage ¶
func (*RequestWrapInfo) ProtoMessage()
func (*RequestWrapInfo) Reset ¶
func (m *RequestWrapInfo) Reset()
func (*RequestWrapInfo) String ¶
func (m *RequestWrapInfo) String() string
func (*RequestWrapInfo) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *RequestWrapInfo) XXX_DiscardUnknown()
func (*RequestWrapInfo) XXX_Marshal ¶ added in v0.10.2
func (m *RequestWrapInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestWrapInfo) XXX_Merge ¶ added in v0.10.2
func (dst *RequestWrapInfo) XXX_Merge(src proto.Message)
func (*RequestWrapInfo) XXX_Size ¶ added in v0.10.2
func (m *RequestWrapInfo) XXX_Size() int
func (*RequestWrapInfo) XXX_Unmarshal ¶ added in v0.10.2
func (m *RequestWrapInfo) XXX_Unmarshal(b []byte) error
type Response ¶
type Response struct { // Secret, if not nil, denotes that this response represents a secret. Secret *Secret `sentinel:"" protobuf:"bytes,1,opt,name=secret" json:"secret,omitempty"` // Auth, if not nil, contains the authentication information for // this response. This is only checked and means something for // credential backends. Auth *Auth `sentinel:"" protobuf:"bytes,2,opt,name=auth" json:"auth,omitempty"` // Response data is a JSON object that must have string keys. For // secrets, this data is sent down to the user as-is. To store internal // data that you don't want the user to see, store it in // Secret.InternalData. Data string `sentinel:"" protobuf:"bytes,3,opt,name=data" json:"data,omitempty"` // Redirect is an HTTP URL to redirect to for further authentication. // This is only valid for credential backends. This will be blanked // for any logical backend and ignored. Redirect string `sentinel:"" protobuf:"bytes,4,opt,name=redirect" json:"redirect,omitempty"` // Warnings allow operations or backends to return warnings in response // to user actions without failing the action outright. Warnings []string `sentinel:"" protobuf:"bytes,5,rep,name=warnings" json:"warnings,omitempty"` // Information for wrapping the response in a cubbyhole WrapInfo *ResponseWrapInfo `sentinel:"" protobuf:"bytes,6,opt,name=wrap_info,json=wrapInfo" json:"wrap_info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Response) Descriptor ¶
func (*Response) GetRedirect ¶
func (*Response) GetWarnings ¶
func (*Response) GetWrapInfo ¶
func (m *Response) GetWrapInfo() *ResponseWrapInfo
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶ added in v0.10.2
func (*Response) XXX_Unmarshal ¶ added in v0.10.2
type ResponseWrapDataArgs ¶
type ResponseWrapDataArgs struct { Data string `sentinel:"" protobuf:"bytes,1,opt,name=data" json:"data,omitempty"` TTL int64 `sentinel:"" protobuf:"varint,2,opt,name=TTL" json:"TTL,omitempty"` JWT bool `sentinel:"" protobuf:"varint,3,opt,name=JWT" json:"JWT,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResponseWrapDataArgs) Descriptor ¶
func (*ResponseWrapDataArgs) Descriptor() ([]byte, []int)
func (*ResponseWrapDataArgs) GetData ¶
func (m *ResponseWrapDataArgs) GetData() string
func (*ResponseWrapDataArgs) GetJWT ¶
func (m *ResponseWrapDataArgs) GetJWT() bool
func (*ResponseWrapDataArgs) GetTTL ¶
func (m *ResponseWrapDataArgs) GetTTL() int64
func (*ResponseWrapDataArgs) ProtoMessage ¶
func (*ResponseWrapDataArgs) ProtoMessage()
func (*ResponseWrapDataArgs) Reset ¶
func (m *ResponseWrapDataArgs) Reset()
func (*ResponseWrapDataArgs) String ¶
func (m *ResponseWrapDataArgs) String() string
func (*ResponseWrapDataArgs) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *ResponseWrapDataArgs) XXX_DiscardUnknown()
func (*ResponseWrapDataArgs) XXX_Marshal ¶ added in v0.10.2
func (m *ResponseWrapDataArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseWrapDataArgs) XXX_Merge ¶ added in v0.10.2
func (dst *ResponseWrapDataArgs) XXX_Merge(src proto.Message)
func (*ResponseWrapDataArgs) XXX_Size ¶ added in v0.10.2
func (m *ResponseWrapDataArgs) XXX_Size() int
func (*ResponseWrapDataArgs) XXX_Unmarshal ¶ added in v0.10.2
func (m *ResponseWrapDataArgs) XXX_Unmarshal(b []byte) error
type ResponseWrapDataReply ¶
type ResponseWrapDataReply struct { WrapInfo *ResponseWrapInfo `sentinel:"" protobuf:"bytes,1,opt,name=wrap_info,json=wrapInfo" json:"wrap_info,omitempty"` Err string `sentinel:"" protobuf:"bytes,2,opt,name=err" json:"err,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResponseWrapDataReply) Descriptor ¶
func (*ResponseWrapDataReply) Descriptor() ([]byte, []int)
func (*ResponseWrapDataReply) GetErr ¶
func (m *ResponseWrapDataReply) GetErr() string
func (*ResponseWrapDataReply) GetWrapInfo ¶
func (m *ResponseWrapDataReply) GetWrapInfo() *ResponseWrapInfo
func (*ResponseWrapDataReply) ProtoMessage ¶
func (*ResponseWrapDataReply) ProtoMessage()
func (*ResponseWrapDataReply) Reset ¶
func (m *ResponseWrapDataReply) Reset()
func (*ResponseWrapDataReply) String ¶
func (m *ResponseWrapDataReply) String() string
func (*ResponseWrapDataReply) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *ResponseWrapDataReply) XXX_DiscardUnknown()
func (*ResponseWrapDataReply) XXX_Marshal ¶ added in v0.10.2
func (m *ResponseWrapDataReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseWrapDataReply) XXX_Merge ¶ added in v0.10.2
func (dst *ResponseWrapDataReply) XXX_Merge(src proto.Message)
func (*ResponseWrapDataReply) XXX_Size ¶ added in v0.10.2
func (m *ResponseWrapDataReply) XXX_Size() int
func (*ResponseWrapDataReply) XXX_Unmarshal ¶ added in v0.10.2
func (m *ResponseWrapDataReply) XXX_Unmarshal(b []byte) error
type ResponseWrapInfo ¶
type ResponseWrapInfo struct { // Setting to non-zero specifies that the response should be wrapped. // Specifies the desired TTL of the wrapping token. TTL int64 `sentinel:"" protobuf:"varint,1,opt,name=TTL" json:"TTL,omitempty"` // The token containing the wrapped response Token string `sentinel:"" protobuf:"bytes,2,opt,name=token" json:"token,omitempty"` // The token accessor for the wrapped response token Accessor string `sentinel:"" protobuf:"bytes,3,opt,name=accessor" json:"accessor,omitempty"` // The creation time. This can be used with the TTL to figure out an // expected expiration. CreationTime *timestamp.Timestamp `sentinel:"" protobuf:"bytes,4,opt,name=creation_time,json=creationTime" json:"creation_time,omitempty"` // If the contained response is the output of a token creation call, the // created token's accessor will be accessible here WrappedAccessor string `sentinel:"" protobuf:"bytes,5,opt,name=wrapped_accessor,json=wrappedAccessor" json:"wrapped_accessor,omitempty"` // WrappedEntityID is the entity identifier of the caller who initiated the // wrapping request WrappedEntityID string `sentinel:"" protobuf:"bytes,6,opt,name=wrapped_entity_id,json=wrappedEntityID" json:"wrapped_entity_id,omitempty"` // The format to use. This doesn't get returned, it's only internal. Format string `sentinel:"" protobuf:"bytes,7,opt,name=format" json:"format,omitempty"` // CreationPath is the original request path that was used to create // the wrapped response. CreationPath string `sentinel:"" protobuf:"bytes,8,opt,name=creation_path,json=creationPath" json:"creation_path,omitempty"` // Controls seal wrapping behavior downstream for specific use cases SealWrap bool `sentinel:"" protobuf:"varint,9,opt,name=seal_wrap,json=sealWrap" json:"seal_wrap,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func LogicalResponseWrapInfoToProtoResponseWrapInfo ¶
func LogicalResponseWrapInfoToProtoResponseWrapInfo(i *wrapping.ResponseWrapInfo) (*ResponseWrapInfo, error)
func (*ResponseWrapInfo) Descriptor ¶
func (*ResponseWrapInfo) Descriptor() ([]byte, []int)
func (*ResponseWrapInfo) GetAccessor ¶
func (m *ResponseWrapInfo) GetAccessor() string
func (*ResponseWrapInfo) GetCreationPath ¶
func (m *ResponseWrapInfo) GetCreationPath() string
func (*ResponseWrapInfo) GetCreationTime ¶
func (m *ResponseWrapInfo) GetCreationTime() *timestamp.Timestamp
func (*ResponseWrapInfo) GetFormat ¶
func (m *ResponseWrapInfo) GetFormat() string
func (*ResponseWrapInfo) GetSealWrap ¶
func (m *ResponseWrapInfo) GetSealWrap() bool
func (*ResponseWrapInfo) GetTTL ¶
func (m *ResponseWrapInfo) GetTTL() int64
func (*ResponseWrapInfo) GetToken ¶
func (m *ResponseWrapInfo) GetToken() string
func (*ResponseWrapInfo) GetWrappedAccessor ¶
func (m *ResponseWrapInfo) GetWrappedAccessor() string
func (*ResponseWrapInfo) GetWrappedEntityID ¶
func (m *ResponseWrapInfo) GetWrappedEntityID() string
func (*ResponseWrapInfo) ProtoMessage ¶
func (*ResponseWrapInfo) ProtoMessage()
func (*ResponseWrapInfo) Reset ¶
func (m *ResponseWrapInfo) Reset()
func (*ResponseWrapInfo) String ¶
func (m *ResponseWrapInfo) String() string
func (*ResponseWrapInfo) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *ResponseWrapInfo) XXX_DiscardUnknown()
func (*ResponseWrapInfo) XXX_Marshal ¶ added in v0.10.2
func (m *ResponseWrapInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseWrapInfo) XXX_Merge ¶ added in v0.10.2
func (dst *ResponseWrapInfo) XXX_Merge(src proto.Message)
func (*ResponseWrapInfo) XXX_Size ¶ added in v0.10.2
func (m *ResponseWrapInfo) XXX_Size() int
func (*ResponseWrapInfo) XXX_Unmarshal ¶ added in v0.10.2
func (m *ResponseWrapInfo) XXX_Unmarshal(b []byte) error
type Secret ¶
type Secret struct { LeaseOptions *LeaseOptions `sentinel:"" protobuf:"bytes,1,opt,name=lease_options,json=leaseOptions" json:"lease_options,omitempty"` // InternalData is a JSON object that is stored with the secret. // This will be sent back during a Renew/Revoke for storing internal data // used for those operations. InternalData string `sentinel:"" protobuf:"bytes,2,opt,name=internal_data,json=internalData" json:"internal_data,omitempty"` // LeaseID is the ID returned to the user to manage this secret. // This is generated by Vault core. Any set value will be ignored. // For requests, this will always be blank. LeaseID string `sentinel:"" protobuf:"bytes,3,opt,name=lease_id,json=leaseId" json:"lease_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Secret) Descriptor ¶
func (*Secret) GetInternalData ¶
func (*Secret) GetLeaseID ¶
func (*Secret) GetLeaseOptions ¶
func (m *Secret) GetLeaseOptions() *LeaseOptions
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *Secret) XXX_DiscardUnknown()
func (*Secret) XXX_Marshal ¶ added in v0.10.2
func (*Secret) XXX_Unmarshal ¶ added in v0.10.2
type SetupArgs ¶
type SetupArgs struct { BrokerID uint32 `sentinel:"" protobuf:"varint,1,opt,name=broker_id,json=brokerId" json:"broker_id,omitempty"` Config map[string]string `` /* 144-byte string literal not displayed */ BackendUUID string `sentinel:"" protobuf:"bytes,3,opt,name=backendUUID" json:"backendUUID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SetupArgs is the args for Setup method.
func (*SetupArgs) Descriptor ¶
func (*SetupArgs) GetBackendUUID ¶ added in v0.10.0
func (*SetupArgs) GetBrokerID ¶
func (*SetupArgs) ProtoMessage ¶
func (*SetupArgs) ProtoMessage()
func (*SetupArgs) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *SetupArgs) XXX_DiscardUnknown()
func (*SetupArgs) XXX_Marshal ¶ added in v0.10.2
func (*SetupArgs) XXX_Unmarshal ¶ added in v0.10.2
type SetupReply ¶
type SetupReply struct { Err string `sentinel:"" protobuf:"bytes,1,opt,name=err" json:"err,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SetupReply is the reply for Setup method.
func (*SetupReply) Descriptor ¶
func (*SetupReply) Descriptor() ([]byte, []int)
func (*SetupReply) GetErr ¶
func (m *SetupReply) GetErr() string
func (*SetupReply) ProtoMessage ¶
func (*SetupReply) ProtoMessage()
func (*SetupReply) Reset ¶
func (m *SetupReply) Reset()
func (*SetupReply) String ¶
func (m *SetupReply) String() string
func (*SetupReply) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *SetupReply) XXX_DiscardUnknown()
func (*SetupReply) XXX_Marshal ¶ added in v0.10.2
func (m *SetupReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetupReply) XXX_Merge ¶ added in v0.10.2
func (dst *SetupReply) XXX_Merge(src proto.Message)
func (*SetupReply) XXX_Size ¶ added in v0.10.2
func (m *SetupReply) XXX_Size() int
func (*SetupReply) XXX_Unmarshal ¶ added in v0.10.2
func (m *SetupReply) XXX_Unmarshal(b []byte) error
type SpecialPathsReply ¶
type SpecialPathsReply struct { Paths *Paths `sentinel:"" protobuf:"bytes,1,opt,name=paths" json:"paths,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SpecialPathsReply is the reply for SpecialPaths method.
func (*SpecialPathsReply) Descriptor ¶
func (*SpecialPathsReply) Descriptor() ([]byte, []int)
func (*SpecialPathsReply) GetPaths ¶
func (m *SpecialPathsReply) GetPaths() *Paths
func (*SpecialPathsReply) ProtoMessage ¶
func (*SpecialPathsReply) ProtoMessage()
func (*SpecialPathsReply) Reset ¶
func (m *SpecialPathsReply) Reset()
func (*SpecialPathsReply) String ¶
func (m *SpecialPathsReply) String() string
func (*SpecialPathsReply) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *SpecialPathsReply) XXX_DiscardUnknown()
func (*SpecialPathsReply) XXX_Marshal ¶ added in v0.10.2
func (m *SpecialPathsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SpecialPathsReply) XXX_Merge ¶ added in v0.10.2
func (dst *SpecialPathsReply) XXX_Merge(src proto.Message)
func (*SpecialPathsReply) XXX_Size ¶ added in v0.10.2
func (m *SpecialPathsReply) XXX_Size() int
func (*SpecialPathsReply) XXX_Unmarshal ¶ added in v0.10.2
func (m *SpecialPathsReply) XXX_Unmarshal(b []byte) error
type StorageClient ¶
type StorageClient interface { List(ctx context.Context, in *StorageListArgs, opts ...grpc.CallOption) (*StorageListReply, error) Get(ctx context.Context, in *StorageGetArgs, opts ...grpc.CallOption) (*StorageGetReply, error) Put(ctx context.Context, in *StoragePutArgs, opts ...grpc.CallOption) (*StoragePutReply, error) Delete(ctx context.Context, in *StorageDeleteArgs, opts ...grpc.CallOption) (*StorageDeleteReply, error) }
StorageClient is the client API for Storage service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewStorageClient ¶
func NewStorageClient(cc *grpc.ClientConn) StorageClient
type StorageDeleteArgs ¶
type StorageDeleteArgs struct { Key string `sentinel:"" protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StorageDeleteArgs) Descriptor ¶
func (*StorageDeleteArgs) Descriptor() ([]byte, []int)
func (*StorageDeleteArgs) GetKey ¶
func (m *StorageDeleteArgs) GetKey() string
func (*StorageDeleteArgs) ProtoMessage ¶
func (*StorageDeleteArgs) ProtoMessage()
func (*StorageDeleteArgs) Reset ¶
func (m *StorageDeleteArgs) Reset()
func (*StorageDeleteArgs) String ¶
func (m *StorageDeleteArgs) String() string
func (*StorageDeleteArgs) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *StorageDeleteArgs) XXX_DiscardUnknown()
func (*StorageDeleteArgs) XXX_Marshal ¶ added in v0.10.2
func (m *StorageDeleteArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageDeleteArgs) XXX_Merge ¶ added in v0.10.2
func (dst *StorageDeleteArgs) XXX_Merge(src proto.Message)
func (*StorageDeleteArgs) XXX_Size ¶ added in v0.10.2
func (m *StorageDeleteArgs) XXX_Size() int
func (*StorageDeleteArgs) XXX_Unmarshal ¶ added in v0.10.2
func (m *StorageDeleteArgs) XXX_Unmarshal(b []byte) error
type StorageDeleteReply ¶
type StorageDeleteReply struct { Err string `sentinel:"" protobuf:"bytes,1,opt,name=err" json:"err,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StorageDeleteReply) Descriptor ¶
func (*StorageDeleteReply) Descriptor() ([]byte, []int)
func (*StorageDeleteReply) GetErr ¶
func (m *StorageDeleteReply) GetErr() string
func (*StorageDeleteReply) ProtoMessage ¶
func (*StorageDeleteReply) ProtoMessage()
func (*StorageDeleteReply) Reset ¶
func (m *StorageDeleteReply) Reset()
func (*StorageDeleteReply) String ¶
func (m *StorageDeleteReply) String() string
func (*StorageDeleteReply) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *StorageDeleteReply) XXX_DiscardUnknown()
func (*StorageDeleteReply) XXX_Marshal ¶ added in v0.10.2
func (m *StorageDeleteReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageDeleteReply) XXX_Merge ¶ added in v0.10.2
func (dst *StorageDeleteReply) XXX_Merge(src proto.Message)
func (*StorageDeleteReply) XXX_Size ¶ added in v0.10.2
func (m *StorageDeleteReply) XXX_Size() int
func (*StorageDeleteReply) XXX_Unmarshal ¶ added in v0.10.2
func (m *StorageDeleteReply) XXX_Unmarshal(b []byte) error
type StorageEntry ¶
type StorageEntry struct { Key string `sentinel:"" protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` Value []byte `sentinel:"" protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` SealWrap bool `sentinel:"" protobuf:"varint,3,opt,name=seal_wrap,json=sealWrap" json:"seal_wrap,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func LogicalStorageEntryToProtoStorageEntry ¶
func LogicalStorageEntryToProtoStorageEntry(e *logical.StorageEntry) *StorageEntry
func (*StorageEntry) Descriptor ¶
func (*StorageEntry) Descriptor() ([]byte, []int)
func (*StorageEntry) GetKey ¶
func (m *StorageEntry) GetKey() string
func (*StorageEntry) GetSealWrap ¶
func (m *StorageEntry) GetSealWrap() bool
func (*StorageEntry) GetValue ¶
func (m *StorageEntry) GetValue() []byte
func (*StorageEntry) ProtoMessage ¶
func (*StorageEntry) ProtoMessage()
func (*StorageEntry) Reset ¶
func (m *StorageEntry) Reset()
func (*StorageEntry) String ¶
func (m *StorageEntry) String() string
func (*StorageEntry) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *StorageEntry) XXX_DiscardUnknown()
func (*StorageEntry) XXX_Marshal ¶ added in v0.10.2
func (m *StorageEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageEntry) XXX_Merge ¶ added in v0.10.2
func (dst *StorageEntry) XXX_Merge(src proto.Message)
func (*StorageEntry) XXX_Size ¶ added in v0.10.2
func (m *StorageEntry) XXX_Size() int
func (*StorageEntry) XXX_Unmarshal ¶ added in v0.10.2
func (m *StorageEntry) XXX_Unmarshal(b []byte) error
type StorageGetArgs ¶
type StorageGetArgs struct { Key string `sentinel:"" protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StorageGetArgs) Descriptor ¶
func (*StorageGetArgs) Descriptor() ([]byte, []int)
func (*StorageGetArgs) GetKey ¶
func (m *StorageGetArgs) GetKey() string
func (*StorageGetArgs) ProtoMessage ¶
func (*StorageGetArgs) ProtoMessage()
func (*StorageGetArgs) Reset ¶
func (m *StorageGetArgs) Reset()
func (*StorageGetArgs) String ¶
func (m *StorageGetArgs) String() string
func (*StorageGetArgs) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *StorageGetArgs) XXX_DiscardUnknown()
func (*StorageGetArgs) XXX_Marshal ¶ added in v0.10.2
func (m *StorageGetArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageGetArgs) XXX_Merge ¶ added in v0.10.2
func (dst *StorageGetArgs) XXX_Merge(src proto.Message)
func (*StorageGetArgs) XXX_Size ¶ added in v0.10.2
func (m *StorageGetArgs) XXX_Size() int
func (*StorageGetArgs) XXX_Unmarshal ¶ added in v0.10.2
func (m *StorageGetArgs) XXX_Unmarshal(b []byte) error
type StorageGetReply ¶
type StorageGetReply struct { Entry *StorageEntry `sentinel:"" protobuf:"bytes,1,opt,name=entry" json:"entry,omitempty"` Err string `sentinel:"" protobuf:"bytes,2,opt,name=err" json:"err,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StorageGetReply) Descriptor ¶
func (*StorageGetReply) Descriptor() ([]byte, []int)
func (*StorageGetReply) GetEntry ¶
func (m *StorageGetReply) GetEntry() *StorageEntry
func (*StorageGetReply) GetErr ¶
func (m *StorageGetReply) GetErr() string
func (*StorageGetReply) ProtoMessage ¶
func (*StorageGetReply) ProtoMessage()
func (*StorageGetReply) Reset ¶
func (m *StorageGetReply) Reset()
func (*StorageGetReply) String ¶
func (m *StorageGetReply) String() string
func (*StorageGetReply) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *StorageGetReply) XXX_DiscardUnknown()
func (*StorageGetReply) XXX_Marshal ¶ added in v0.10.2
func (m *StorageGetReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageGetReply) XXX_Merge ¶ added in v0.10.2
func (dst *StorageGetReply) XXX_Merge(src proto.Message)
func (*StorageGetReply) XXX_Size ¶ added in v0.10.2
func (m *StorageGetReply) XXX_Size() int
func (*StorageGetReply) XXX_Unmarshal ¶ added in v0.10.2
func (m *StorageGetReply) XXX_Unmarshal(b []byte) error
type StorageListArgs ¶
type StorageListArgs struct { Prefix string `sentinel:"" protobuf:"bytes,1,opt,name=prefix" json:"prefix,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StorageListArgs) Descriptor ¶
func (*StorageListArgs) Descriptor() ([]byte, []int)
func (*StorageListArgs) GetPrefix ¶
func (m *StorageListArgs) GetPrefix() string
func (*StorageListArgs) ProtoMessage ¶
func (*StorageListArgs) ProtoMessage()
func (*StorageListArgs) Reset ¶
func (m *StorageListArgs) Reset()
func (*StorageListArgs) String ¶
func (m *StorageListArgs) String() string
func (*StorageListArgs) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *StorageListArgs) XXX_DiscardUnknown()
func (*StorageListArgs) XXX_Marshal ¶ added in v0.10.2
func (m *StorageListArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageListArgs) XXX_Merge ¶ added in v0.10.2
func (dst *StorageListArgs) XXX_Merge(src proto.Message)
func (*StorageListArgs) XXX_Size ¶ added in v0.10.2
func (m *StorageListArgs) XXX_Size() int
func (*StorageListArgs) XXX_Unmarshal ¶ added in v0.10.2
func (m *StorageListArgs) XXX_Unmarshal(b []byte) error
type StorageListReply ¶
type StorageListReply struct { Keys []string `sentinel:"" protobuf:"bytes,1,rep,name=keys" json:"keys,omitempty"` Err string `sentinel:"" protobuf:"bytes,2,opt,name=err" json:"err,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StorageListReply) Descriptor ¶
func (*StorageListReply) Descriptor() ([]byte, []int)
func (*StorageListReply) GetErr ¶
func (m *StorageListReply) GetErr() string
func (*StorageListReply) GetKeys ¶
func (m *StorageListReply) GetKeys() []string
func (*StorageListReply) ProtoMessage ¶
func (*StorageListReply) ProtoMessage()
func (*StorageListReply) Reset ¶
func (m *StorageListReply) Reset()
func (*StorageListReply) String ¶
func (m *StorageListReply) String() string
func (*StorageListReply) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *StorageListReply) XXX_DiscardUnknown()
func (*StorageListReply) XXX_Marshal ¶ added in v0.10.2
func (m *StorageListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageListReply) XXX_Merge ¶ added in v0.10.2
func (dst *StorageListReply) XXX_Merge(src proto.Message)
func (*StorageListReply) XXX_Size ¶ added in v0.10.2
func (m *StorageListReply) XXX_Size() int
func (*StorageListReply) XXX_Unmarshal ¶ added in v0.10.2
func (m *StorageListReply) XXX_Unmarshal(b []byte) error
type StoragePutArgs ¶
type StoragePutArgs struct { Entry *StorageEntry `sentinel:"" protobuf:"bytes,1,opt,name=entry" json:"entry,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StoragePutArgs) Descriptor ¶
func (*StoragePutArgs) Descriptor() ([]byte, []int)
func (*StoragePutArgs) GetEntry ¶
func (m *StoragePutArgs) GetEntry() *StorageEntry
func (*StoragePutArgs) ProtoMessage ¶
func (*StoragePutArgs) ProtoMessage()
func (*StoragePutArgs) Reset ¶
func (m *StoragePutArgs) Reset()
func (*StoragePutArgs) String ¶
func (m *StoragePutArgs) String() string
func (*StoragePutArgs) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *StoragePutArgs) XXX_DiscardUnknown()
func (*StoragePutArgs) XXX_Marshal ¶ added in v0.10.2
func (m *StoragePutArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StoragePutArgs) XXX_Merge ¶ added in v0.10.2
func (dst *StoragePutArgs) XXX_Merge(src proto.Message)
func (*StoragePutArgs) XXX_Size ¶ added in v0.10.2
func (m *StoragePutArgs) XXX_Size() int
func (*StoragePutArgs) XXX_Unmarshal ¶ added in v0.10.2
func (m *StoragePutArgs) XXX_Unmarshal(b []byte) error
type StoragePutReply ¶
type StoragePutReply struct { Err string `sentinel:"" protobuf:"bytes,1,opt,name=err" json:"err,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StoragePutReply) Descriptor ¶
func (*StoragePutReply) Descriptor() ([]byte, []int)
func (*StoragePutReply) GetErr ¶
func (m *StoragePutReply) GetErr() string
func (*StoragePutReply) ProtoMessage ¶
func (*StoragePutReply) ProtoMessage()
func (*StoragePutReply) Reset ¶
func (m *StoragePutReply) Reset()
func (*StoragePutReply) String ¶
func (m *StoragePutReply) String() string
func (*StoragePutReply) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *StoragePutReply) XXX_DiscardUnknown()
func (*StoragePutReply) XXX_Marshal ¶ added in v0.10.2
func (m *StoragePutReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StoragePutReply) XXX_Merge ¶ added in v0.10.2
func (dst *StoragePutReply) XXX_Merge(src proto.Message)
func (*StoragePutReply) XXX_Size ¶ added in v0.10.2
func (m *StoragePutReply) XXX_Size() int
func (*StoragePutReply) XXX_Unmarshal ¶ added in v0.10.2
func (m *StoragePutReply) XXX_Unmarshal(b []byte) error
type StorageServer ¶
type StorageServer interface { List(context.Context, *StorageListArgs) (*StorageListReply, error) Get(context.Context, *StorageGetArgs) (*StorageGetReply, error) Put(context.Context, *StoragePutArgs) (*StoragePutReply, error) Delete(context.Context, *StorageDeleteArgs) (*StorageDeleteReply, error) }
StorageServer is the server API for Storage service.
type SudoPrivilegeArgs ¶
type SudoPrivilegeArgs struct { Path string `sentinel:"" protobuf:"bytes,1,opt,name=path" json:"path,omitempty"` Token string `sentinel:"" protobuf:"bytes,2,opt,name=token" json:"token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SudoPrivilegeArgs) Descriptor ¶
func (*SudoPrivilegeArgs) Descriptor() ([]byte, []int)
func (*SudoPrivilegeArgs) GetPath ¶
func (m *SudoPrivilegeArgs) GetPath() string
func (*SudoPrivilegeArgs) GetToken ¶
func (m *SudoPrivilegeArgs) GetToken() string
func (*SudoPrivilegeArgs) ProtoMessage ¶
func (*SudoPrivilegeArgs) ProtoMessage()
func (*SudoPrivilegeArgs) Reset ¶
func (m *SudoPrivilegeArgs) Reset()
func (*SudoPrivilegeArgs) String ¶
func (m *SudoPrivilegeArgs) String() string
func (*SudoPrivilegeArgs) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *SudoPrivilegeArgs) XXX_DiscardUnknown()
func (*SudoPrivilegeArgs) XXX_Marshal ¶ added in v0.10.2
func (m *SudoPrivilegeArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SudoPrivilegeArgs) XXX_Merge ¶ added in v0.10.2
func (dst *SudoPrivilegeArgs) XXX_Merge(src proto.Message)
func (*SudoPrivilegeArgs) XXX_Size ¶ added in v0.10.2
func (m *SudoPrivilegeArgs) XXX_Size() int
func (*SudoPrivilegeArgs) XXX_Unmarshal ¶ added in v0.10.2
func (m *SudoPrivilegeArgs) XXX_Unmarshal(b []byte) error
type SudoPrivilegeReply ¶
type SudoPrivilegeReply struct { Sudo bool `sentinel:"" protobuf:"varint,1,opt,name=sudo" json:"sudo,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SudoPrivilegeReply) Descriptor ¶
func (*SudoPrivilegeReply) Descriptor() ([]byte, []int)
func (*SudoPrivilegeReply) GetSudo ¶
func (m *SudoPrivilegeReply) GetSudo() bool
func (*SudoPrivilegeReply) ProtoMessage ¶
func (*SudoPrivilegeReply) ProtoMessage()
func (*SudoPrivilegeReply) Reset ¶
func (m *SudoPrivilegeReply) Reset()
func (*SudoPrivilegeReply) String ¶
func (m *SudoPrivilegeReply) String() string
func (*SudoPrivilegeReply) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *SudoPrivilegeReply) XXX_DiscardUnknown()
func (*SudoPrivilegeReply) XXX_Marshal ¶ added in v0.10.2
func (m *SudoPrivilegeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SudoPrivilegeReply) XXX_Merge ¶ added in v0.10.2
func (dst *SudoPrivilegeReply) XXX_Merge(src proto.Message)
func (*SudoPrivilegeReply) XXX_Size ¶ added in v0.10.2
func (m *SudoPrivilegeReply) XXX_Size() int
func (*SudoPrivilegeReply) XXX_Unmarshal ¶ added in v0.10.2
func (m *SudoPrivilegeReply) XXX_Unmarshal(b []byte) error
type SystemViewClient ¶
type SystemViewClient interface { // DefaultLeaseTTL returns the default lease TTL set in Vault configuration DefaultLeaseTTL(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TTLReply, error) // MaxLeaseTTL returns the max lease TTL set in Vault configuration; backend // authors should take care not to issue credentials that last longer than // this value, as Vault will revoke them MaxLeaseTTL(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TTLReply, error) // SudoPrivilege returns true if given path has sudo privileges // for the given client token SudoPrivilege(ctx context.Context, in *SudoPrivilegeArgs, opts ...grpc.CallOption) (*SudoPrivilegeReply, error) // Tainted, returns true if the mount is tainted. A mount is tainted if it is in the // process of being unmounted. This should only be used in special // circumstances; a primary use-case is as a guard in revocation functions. // If revocation of a backend's leases fails it can keep the unmounting // process from being successful. If the reason for this failure is not // relevant when the mount is tainted (for instance, saving a CRL to disk // when the stored CRL will be removed during the unmounting process // anyways), we can ignore the errors to allow unmounting to complete. Tainted(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TaintedReply, error) // CachingDisabled returns true if caching is disabled. If true, no caches // should be used, despite known slowdowns. CachingDisabled(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*CachingDisabledReply, error) // ReplicationState indicates the state of cluster replication ReplicationState(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ReplicationStateReply, error) // ResponseWrapData wraps the given data in a cubbyhole and returns the // token used to unwrap. ResponseWrapData(ctx context.Context, in *ResponseWrapDataArgs, opts ...grpc.CallOption) (*ResponseWrapDataReply, error) // MlockEnabled returns the configuration setting for enabling mlock on // plugins. MlockEnabled(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*MlockEnabledReply, error) // LocalMount, when run from a system view attached to a request, indicates // whether the request is affecting a local mount or not LocalMount(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*LocalMountReply, error) // EntityInfo returns the basic entity information for the given entity id EntityInfo(ctx context.Context, in *EntityInfoArgs, opts ...grpc.CallOption) (*EntityInfoReply, error) }
SystemViewClient is the client API for SystemView service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSystemViewClient ¶
func NewSystemViewClient(cc *grpc.ClientConn) SystemViewClient
type SystemViewServer ¶
type SystemViewServer interface { // DefaultLeaseTTL returns the default lease TTL set in Vault configuration DefaultLeaseTTL(context.Context, *Empty) (*TTLReply, error) // MaxLeaseTTL returns the max lease TTL set in Vault configuration; backend // authors should take care not to issue credentials that last longer than // this value, as Vault will revoke them MaxLeaseTTL(context.Context, *Empty) (*TTLReply, error) // SudoPrivilege returns true if given path has sudo privileges // for the given client token SudoPrivilege(context.Context, *SudoPrivilegeArgs) (*SudoPrivilegeReply, error) // Tainted, returns true if the mount is tainted. A mount is tainted if it is in the // process of being unmounted. This should only be used in special // circumstances; a primary use-case is as a guard in revocation functions. // If revocation of a backend's leases fails it can keep the unmounting // process from being successful. If the reason for this failure is not // relevant when the mount is tainted (for instance, saving a CRL to disk // when the stored CRL will be removed during the unmounting process // anyways), we can ignore the errors to allow unmounting to complete. Tainted(context.Context, *Empty) (*TaintedReply, error) // CachingDisabled returns true if caching is disabled. If true, no caches // should be used, despite known slowdowns. CachingDisabled(context.Context, *Empty) (*CachingDisabledReply, error) // ReplicationState indicates the state of cluster replication ReplicationState(context.Context, *Empty) (*ReplicationStateReply, error) // ResponseWrapData wraps the given data in a cubbyhole and returns the // token used to unwrap. ResponseWrapData(context.Context, *ResponseWrapDataArgs) (*ResponseWrapDataReply, error) // MlockEnabled returns the configuration setting for enabling mlock on // plugins. MlockEnabled(context.Context, *Empty) (*MlockEnabledReply, error) // LocalMount, when run from a system view attached to a request, indicates // whether the request is affecting a local mount or not LocalMount(context.Context, *Empty) (*LocalMountReply, error) // EntityInfo returns the basic entity information for the given entity id EntityInfo(context.Context, *EntityInfoArgs) (*EntityInfoReply, error) }
SystemViewServer is the server API for SystemView service.
type TTLReply ¶
type TTLReply struct { TTL int64 `sentinel:"" protobuf:"varint,1,opt,name=TTL" json:"TTL,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TTLReply) Descriptor ¶
func (*TTLReply) ProtoMessage ¶
func (*TTLReply) ProtoMessage()
func (*TTLReply) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *TTLReply) XXX_DiscardUnknown()
func (*TTLReply) XXX_Marshal ¶ added in v0.10.2
func (*TTLReply) XXX_Unmarshal ¶ added in v0.10.2
type TaintedReply ¶
type TaintedReply struct { Tainted bool `sentinel:"" protobuf:"varint,1,opt,name=tainted" json:"tainted,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TaintedReply) Descriptor ¶
func (*TaintedReply) Descriptor() ([]byte, []int)
func (*TaintedReply) GetTainted ¶
func (m *TaintedReply) GetTainted() bool
func (*TaintedReply) ProtoMessage ¶
func (*TaintedReply) ProtoMessage()
func (*TaintedReply) Reset ¶
func (m *TaintedReply) Reset()
func (*TaintedReply) String ¶
func (m *TaintedReply) String() string
func (*TaintedReply) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *TaintedReply) XXX_DiscardUnknown()
func (*TaintedReply) XXX_Marshal ¶ added in v0.10.2
func (m *TaintedReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TaintedReply) XXX_Merge ¶ added in v0.10.2
func (dst *TaintedReply) XXX_Merge(src proto.Message)
func (*TaintedReply) XXX_Size ¶ added in v0.10.2
func (m *TaintedReply) XXX_Size() int
func (*TaintedReply) XXX_Unmarshal ¶ added in v0.10.2
func (m *TaintedReply) XXX_Unmarshal(b []byte) error
type TypeReply ¶
type TypeReply struct { Type uint32 `sentinel:"" protobuf:"varint,1,opt,name=type" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TypeReply is the reply for the Type method.
func (*TypeReply) Descriptor ¶
func (*TypeReply) ProtoMessage ¶
func (*TypeReply) ProtoMessage()
func (*TypeReply) XXX_DiscardUnknown ¶ added in v0.10.2
func (m *TypeReply) XXX_DiscardUnknown()