Documentation ¶
Overview ¶
Package adminapi is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- func RegisterBTrDBAdminHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterBTrDBAdminHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BTrDBAdminClient) error
- func RegisterBTrDBAdminHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterBTrDBAdminServer(s *grpc.Server, srv BTrDBAdminServer)
- func ServeGRPC(ec *etcd.Client, laddr string)
- func ServeHTTP(ec *etcd.Client, laddr string)
- type APIKeyResponse
- func (*APIKeyResponse) Descriptor() ([]byte, []int)
- func (m *APIKeyResponse) GetApikey() string
- func (m *APIKeyResponse) GetStat() *Status
- func (*APIKeyResponse) ProtoMessage()
- func (m *APIKeyResponse) Reset()
- func (m *APIKeyResponse) String() string
- func (m *APIKeyResponse) XXX_DiscardUnknown()
- func (m *APIKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *APIKeyResponse) XXX_Merge(src proto.Message)
- func (m *APIKeyResponse) XXX_Size() int
- func (m *APIKeyResponse) XXX_Unmarshal(b []byte) error
- type BTrDBAdminClient
- type BTrDBAdminServer
- type GetAPIKeyParams
- func (*GetAPIKeyParams) Descriptor() ([]byte, []int)
- func (*GetAPIKeyParams) ProtoMessage()
- func (m *GetAPIKeyParams) Reset()
- func (m *GetAPIKeyParams) String() string
- func (m *GetAPIKeyParams) XXX_DiscardUnknown()
- func (m *GetAPIKeyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetAPIKeyParams) XXX_Merge(src proto.Message)
- func (m *GetAPIKeyParams) XXX_Size() int
- func (m *GetAPIKeyParams) XXX_Unmarshal(b []byte) error
- type ManifestAddParams
- func (*ManifestAddParams) Descriptor() ([]byte, []int)
- func (m *ManifestAddParams) GetDeviceid() string
- func (m *ManifestAddParams) GetMetadata() []*MetaKeyValue
- func (*ManifestAddParams) ProtoMessage()
- func (m *ManifestAddParams) Reset()
- func (m *ManifestAddParams) String() string
- func (m *ManifestAddParams) XXX_DiscardUnknown()
- func (m *ManifestAddParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ManifestAddParams) XXX_Merge(src proto.Message)
- func (m *ManifestAddParams) XXX_Size() int
- func (m *ManifestAddParams) XXX_Unmarshal(b []byte) error
- type ManifestAddResponse
- func (*ManifestAddResponse) Descriptor() ([]byte, []int)
- func (m *ManifestAddResponse) GetDeviceid() string
- func (m *ManifestAddResponse) GetStat() *Status
- func (*ManifestAddResponse) ProtoMessage()
- func (m *ManifestAddResponse) Reset()
- func (m *ManifestAddResponse) String() string
- func (m *ManifestAddResponse) XXX_DiscardUnknown()
- func (m *ManifestAddResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ManifestAddResponse) XXX_Merge(src proto.Message)
- func (m *ManifestAddResponse) XXX_Size() int
- func (m *ManifestAddResponse) XXX_Unmarshal(b []byte) error
- type ManifestDelParams
- func (*ManifestDelParams) Descriptor() ([]byte, []int)
- func (m *ManifestDelParams) GetDeviceid() string
- func (*ManifestDelParams) ProtoMessage()
- func (m *ManifestDelParams) Reset()
- func (m *ManifestDelParams) String() string
- func (m *ManifestDelParams) XXX_DiscardUnknown()
- func (m *ManifestDelParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ManifestDelParams) XXX_Merge(src proto.Message)
- func (m *ManifestDelParams) XXX_Size() int
- func (m *ManifestDelParams) XXX_Unmarshal(b []byte) error
- type ManifestDelPrefixParams
- func (*ManifestDelPrefixParams) Descriptor() ([]byte, []int)
- func (m *ManifestDelPrefixParams) GetDeviceidprefix() string
- func (*ManifestDelPrefixParams) ProtoMessage()
- func (m *ManifestDelPrefixParams) Reset()
- func (m *ManifestDelPrefixParams) String() string
- func (m *ManifestDelPrefixParams) XXX_DiscardUnknown()
- func (m *ManifestDelPrefixParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ManifestDelPrefixParams) XXX_Merge(src proto.Message)
- func (m *ManifestDelPrefixParams) XXX_Size() int
- func (m *ManifestDelPrefixParams) XXX_Unmarshal(b []byte) error
- type ManifestDelPrefixResponse
- func (*ManifestDelPrefixResponse) Descriptor() ([]byte, []int)
- func (m *ManifestDelPrefixResponse) GetNumdeleted() uint32
- func (m *ManifestDelPrefixResponse) GetStat() *Status
- func (*ManifestDelPrefixResponse) ProtoMessage()
- func (m *ManifestDelPrefixResponse) Reset()
- func (m *ManifestDelPrefixResponse) String() string
- func (m *ManifestDelPrefixResponse) XXX_DiscardUnknown()
- func (m *ManifestDelPrefixResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ManifestDelPrefixResponse) XXX_Merge(src proto.Message)
- func (m *ManifestDelPrefixResponse) XXX_Size() int
- func (m *ManifestDelPrefixResponse) XXX_Unmarshal(b []byte) error
- type ManifestDelResponse
- func (*ManifestDelResponse) Descriptor() ([]byte, []int)
- func (m *ManifestDelResponse) GetDeviceid() string
- func (m *ManifestDelResponse) GetStat() *Status
- func (*ManifestDelResponse) ProtoMessage()
- func (m *ManifestDelResponse) Reset()
- func (m *ManifestDelResponse) String() string
- func (m *ManifestDelResponse) XXX_DiscardUnknown()
- func (m *ManifestDelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ManifestDelResponse) XXX_Merge(src proto.Message)
- func (m *ManifestDelResponse) XXX_Size() int
- func (m *ManifestDelResponse) XXX_Unmarshal(b []byte) error
- type ManifestDevice
- func (*ManifestDevice) Descriptor() ([]byte, []int)
- func (m *ManifestDevice) GetDeviceid() string
- func (m *ManifestDevice) GetMetadata() []*MetaKeyValue
- func (*ManifestDevice) ProtoMessage()
- func (m *ManifestDevice) Reset()
- func (m *ManifestDevice) String() string
- func (m *ManifestDevice) XXX_DiscardUnknown()
- func (m *ManifestDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ManifestDevice) XXX_Merge(src proto.Message)
- func (m *ManifestDevice) XXX_Size() int
- func (m *ManifestDevice) XXX_Unmarshal(b []byte) error
- type ManifestLsDevsParams
- func (*ManifestLsDevsParams) Descriptor() ([]byte, []int)
- func (m *ManifestLsDevsParams) GetDeviceidprefix() string
- func (*ManifestLsDevsParams) ProtoMessage()
- func (m *ManifestLsDevsParams) Reset()
- func (m *ManifestLsDevsParams) String() string
- func (m *ManifestLsDevsParams) XXX_DiscardUnknown()
- func (m *ManifestLsDevsParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ManifestLsDevsParams) XXX_Merge(src proto.Message)
- func (m *ManifestLsDevsParams) XXX_Size() int
- func (m *ManifestLsDevsParams) XXX_Unmarshal(b []byte) error
- type ManifestLsDevsResponse
- func (*ManifestLsDevsResponse) Descriptor() ([]byte, []int)
- func (m *ManifestLsDevsResponse) GetDevices() []*ManifestDevice
- func (m *ManifestLsDevsResponse) GetStat() *Status
- func (*ManifestLsDevsResponse) ProtoMessage()
- func (m *ManifestLsDevsResponse) Reset()
- func (m *ManifestLsDevsResponse) String() string
- func (m *ManifestLsDevsResponse) XXX_DiscardUnknown()
- func (m *ManifestLsDevsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ManifestLsDevsResponse) XXX_Merge(src proto.Message)
- func (m *ManifestLsDevsResponse) XXX_Size() int
- func (m *ManifestLsDevsResponse) XXX_Unmarshal(b []byte) error
- type MetaKeyValue
- func (*MetaKeyValue) Descriptor() ([]byte, []int)
- func (m *MetaKeyValue) GetKey() string
- func (m *MetaKeyValue) GetValue() string
- func (*MetaKeyValue) ProtoMessage()
- func (m *MetaKeyValue) Reset()
- func (m *MetaKeyValue) String() string
- func (m *MetaKeyValue) XXX_DiscardUnknown()
- func (m *MetaKeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MetaKeyValue) XXX_Merge(src proto.Message)
- func (m *MetaKeyValue) XXX_Size() int
- func (m *MetaKeyValue) XXX_Unmarshal(b []byte) error
- type ResetAPIKeyParams
- func (*ResetAPIKeyParams) Descriptor() ([]byte, []int)
- func (*ResetAPIKeyParams) ProtoMessage()
- func (m *ResetAPIKeyParams) Reset()
- func (m *ResetAPIKeyParams) String() string
- func (m *ResetAPIKeyParams) XXX_DiscardUnknown()
- func (m *ResetAPIKeyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResetAPIKeyParams) XXX_Merge(src proto.Message)
- func (m *ResetAPIKeyParams) XXX_Size() int
- func (m *ResetAPIKeyParams) XXX_Unmarshal(b []byte) error
- type Status
- func (*Status) Descriptor() ([]byte, []int)
- func (m *Status) GetCode() uint32
- func (m *Status) GetMsg() string
- func (*Status) ProtoMessage()
- func (m *Status) Reset()
- func (m *Status) String() string
- func (m *Status) XXX_DiscardUnknown()
- func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Status) XXX_Merge(src proto.Message)
- func (m *Status) XXX_Size() int
- func (m *Status) XXX_Unmarshal(b []byte) error
- type TUserObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBTrDBAdminHandler ¶
func RegisterBTrDBAdminHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterBTrDBAdminHandler registers the http handlers for service BTrDBAdmin to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterBTrDBAdminHandlerClient ¶
func RegisterBTrDBAdminHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BTrDBAdminClient) error
RegisterBTrDBAdminHandler registers the http handlers for service BTrDBAdmin to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BTrDBAdminClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BTrDBAdminClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "BTrDBAdminClient" to call the correct interceptors.
func RegisterBTrDBAdminHandlerFromEndpoint ¶
func RegisterBTrDBAdminHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterBTrDBAdminHandlerFromEndpoint is same as RegisterBTrDBAdminHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterBTrDBAdminServer ¶
func RegisterBTrDBAdminServer(s *grpc.Server, srv BTrDBAdminServer)
Types ¶
type APIKeyResponse ¶
type APIKeyResponse struct { Stat *Status `protobuf:"bytes,1,opt,name=stat,proto3" json:"stat,omitempty"` Apikey string `protobuf:"bytes,2,opt,name=apikey,proto3" json:"apikey,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*APIKeyResponse) Descriptor ¶
func (*APIKeyResponse) Descriptor() ([]byte, []int)
func (*APIKeyResponse) GetApikey ¶
func (m *APIKeyResponse) GetApikey() string
func (*APIKeyResponse) GetStat ¶
func (m *APIKeyResponse) GetStat() *Status
func (*APIKeyResponse) ProtoMessage ¶
func (*APIKeyResponse) ProtoMessage()
func (*APIKeyResponse) Reset ¶
func (m *APIKeyResponse) Reset()
func (*APIKeyResponse) String ¶
func (m *APIKeyResponse) String() string
func (*APIKeyResponse) XXX_DiscardUnknown ¶
func (m *APIKeyResponse) XXX_DiscardUnknown()
func (*APIKeyResponse) XXX_Marshal ¶
func (m *APIKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*APIKeyResponse) XXX_Merge ¶
func (dst *APIKeyResponse) XXX_Merge(src proto.Message)
func (*APIKeyResponse) XXX_Size ¶
func (m *APIKeyResponse) XXX_Size() int
func (*APIKeyResponse) XXX_Unmarshal ¶
func (m *APIKeyResponse) XXX_Unmarshal(b []byte) error
type BTrDBAdminClient ¶
type BTrDBAdminClient interface { // Requires Manifest capability ManifestAdd(ctx context.Context, in *ManifestAddParams, opts ...grpc.CallOption) (*ManifestAddResponse, error) ManifestDel(ctx context.Context, in *ManifestDelParams, opts ...grpc.CallOption) (*ManifestDelResponse, error) ManifestDelPrefix(ctx context.Context, in *ManifestDelPrefixParams, opts ...grpc.CallOption) (*ManifestDelPrefixResponse, error) ManifestLsDevs(ctx context.Context, in *ManifestLsDevsParams, opts ...grpc.CallOption) (*ManifestLsDevsResponse, error) ResetAPIKey(ctx context.Context, in *ResetAPIKeyParams, opts ...grpc.CallOption) (*APIKeyResponse, error) GetAPIKey(ctx context.Context, in *GetAPIKeyParams, opts ...grpc.CallOption) (*APIKeyResponse, error) }
BTrDBAdminClient is the client API for BTrDBAdmin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBTrDBAdminClient ¶
func NewBTrDBAdminClient(cc *grpc.ClientConn) BTrDBAdminClient
type BTrDBAdminServer ¶
type BTrDBAdminServer interface { // Requires Manifest capability ManifestAdd(context.Context, *ManifestAddParams) (*ManifestAddResponse, error) ManifestDel(context.Context, *ManifestDelParams) (*ManifestDelResponse, error) ManifestDelPrefix(context.Context, *ManifestDelPrefixParams) (*ManifestDelPrefixResponse, error) ManifestLsDevs(context.Context, *ManifestLsDevsParams) (*ManifestLsDevsResponse, error) ResetAPIKey(context.Context, *ResetAPIKeyParams) (*APIKeyResponse, error) GetAPIKey(context.Context, *GetAPIKeyParams) (*APIKeyResponse, error) }
BTrDBAdminServer is the server API for BTrDBAdmin service.
type GetAPIKeyParams ¶
type GetAPIKeyParams struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAPIKeyParams) Descriptor ¶
func (*GetAPIKeyParams) Descriptor() ([]byte, []int)
func (*GetAPIKeyParams) ProtoMessage ¶
func (*GetAPIKeyParams) ProtoMessage()
func (*GetAPIKeyParams) Reset ¶
func (m *GetAPIKeyParams) Reset()
func (*GetAPIKeyParams) String ¶
func (m *GetAPIKeyParams) String() string
func (*GetAPIKeyParams) XXX_DiscardUnknown ¶
func (m *GetAPIKeyParams) XXX_DiscardUnknown()
func (*GetAPIKeyParams) XXX_Marshal ¶
func (m *GetAPIKeyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAPIKeyParams) XXX_Merge ¶
func (dst *GetAPIKeyParams) XXX_Merge(src proto.Message)
func (*GetAPIKeyParams) XXX_Size ¶
func (m *GetAPIKeyParams) XXX_Size() int
func (*GetAPIKeyParams) XXX_Unmarshal ¶
func (m *GetAPIKeyParams) XXX_Unmarshal(b []byte) error
type ManifestAddParams ¶
type ManifestAddParams struct { Deviceid string `protobuf:"bytes,1,opt,name=deviceid,proto3" json:"deviceid,omitempty"` Metadata []*MetaKeyValue `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ManifestAddParams) Descriptor ¶
func (*ManifestAddParams) Descriptor() ([]byte, []int)
func (*ManifestAddParams) GetDeviceid ¶
func (m *ManifestAddParams) GetDeviceid() string
func (*ManifestAddParams) GetMetadata ¶
func (m *ManifestAddParams) GetMetadata() []*MetaKeyValue
func (*ManifestAddParams) ProtoMessage ¶
func (*ManifestAddParams) ProtoMessage()
func (*ManifestAddParams) Reset ¶
func (m *ManifestAddParams) Reset()
func (*ManifestAddParams) String ¶
func (m *ManifestAddParams) String() string
func (*ManifestAddParams) XXX_DiscardUnknown ¶
func (m *ManifestAddParams) XXX_DiscardUnknown()
func (*ManifestAddParams) XXX_Marshal ¶
func (m *ManifestAddParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ManifestAddParams) XXX_Merge ¶
func (dst *ManifestAddParams) XXX_Merge(src proto.Message)
func (*ManifestAddParams) XXX_Size ¶
func (m *ManifestAddParams) XXX_Size() int
func (*ManifestAddParams) XXX_Unmarshal ¶
func (m *ManifestAddParams) XXX_Unmarshal(b []byte) error
type ManifestAddResponse ¶
type ManifestAddResponse struct { Stat *Status `protobuf:"bytes,1,opt,name=stat,proto3" json:"stat,omitempty"` Deviceid string `protobuf:"bytes,2,opt,name=deviceid,proto3" json:"deviceid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ManifestAddResponse) Descriptor ¶
func (*ManifestAddResponse) Descriptor() ([]byte, []int)
func (*ManifestAddResponse) GetDeviceid ¶
func (m *ManifestAddResponse) GetDeviceid() string
func (*ManifestAddResponse) GetStat ¶
func (m *ManifestAddResponse) GetStat() *Status
func (*ManifestAddResponse) ProtoMessage ¶
func (*ManifestAddResponse) ProtoMessage()
func (*ManifestAddResponse) Reset ¶
func (m *ManifestAddResponse) Reset()
func (*ManifestAddResponse) String ¶
func (m *ManifestAddResponse) String() string
func (*ManifestAddResponse) XXX_DiscardUnknown ¶
func (m *ManifestAddResponse) XXX_DiscardUnknown()
func (*ManifestAddResponse) XXX_Marshal ¶
func (m *ManifestAddResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ManifestAddResponse) XXX_Merge ¶
func (dst *ManifestAddResponse) XXX_Merge(src proto.Message)
func (*ManifestAddResponse) XXX_Size ¶
func (m *ManifestAddResponse) XXX_Size() int
func (*ManifestAddResponse) XXX_Unmarshal ¶
func (m *ManifestAddResponse) XXX_Unmarshal(b []byte) error
type ManifestDelParams ¶
type ManifestDelParams struct { Deviceid string `protobuf:"bytes,1,opt,name=deviceid,proto3" json:"deviceid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ManifestDelParams) Descriptor ¶
func (*ManifestDelParams) Descriptor() ([]byte, []int)
func (*ManifestDelParams) GetDeviceid ¶
func (m *ManifestDelParams) GetDeviceid() string
func (*ManifestDelParams) ProtoMessage ¶
func (*ManifestDelParams) ProtoMessage()
func (*ManifestDelParams) Reset ¶
func (m *ManifestDelParams) Reset()
func (*ManifestDelParams) String ¶
func (m *ManifestDelParams) String() string
func (*ManifestDelParams) XXX_DiscardUnknown ¶
func (m *ManifestDelParams) XXX_DiscardUnknown()
func (*ManifestDelParams) XXX_Marshal ¶
func (m *ManifestDelParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ManifestDelParams) XXX_Merge ¶
func (dst *ManifestDelParams) XXX_Merge(src proto.Message)
func (*ManifestDelParams) XXX_Size ¶
func (m *ManifestDelParams) XXX_Size() int
func (*ManifestDelParams) XXX_Unmarshal ¶
func (m *ManifestDelParams) XXX_Unmarshal(b []byte) error
type ManifestDelPrefixParams ¶
type ManifestDelPrefixParams struct { Deviceidprefix string `protobuf:"bytes,1,opt,name=deviceidprefix,proto3" json:"deviceidprefix,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ManifestDelPrefixParams) Descriptor ¶
func (*ManifestDelPrefixParams) Descriptor() ([]byte, []int)
func (*ManifestDelPrefixParams) GetDeviceidprefix ¶
func (m *ManifestDelPrefixParams) GetDeviceidprefix() string
func (*ManifestDelPrefixParams) ProtoMessage ¶
func (*ManifestDelPrefixParams) ProtoMessage()
func (*ManifestDelPrefixParams) Reset ¶
func (m *ManifestDelPrefixParams) Reset()
func (*ManifestDelPrefixParams) String ¶
func (m *ManifestDelPrefixParams) String() string
func (*ManifestDelPrefixParams) XXX_DiscardUnknown ¶
func (m *ManifestDelPrefixParams) XXX_DiscardUnknown()
func (*ManifestDelPrefixParams) XXX_Marshal ¶
func (m *ManifestDelPrefixParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ManifestDelPrefixParams) XXX_Merge ¶
func (dst *ManifestDelPrefixParams) XXX_Merge(src proto.Message)
func (*ManifestDelPrefixParams) XXX_Size ¶
func (m *ManifestDelPrefixParams) XXX_Size() int
func (*ManifestDelPrefixParams) XXX_Unmarshal ¶
func (m *ManifestDelPrefixParams) XXX_Unmarshal(b []byte) error
type ManifestDelPrefixResponse ¶
type ManifestDelPrefixResponse struct { Stat *Status `protobuf:"bytes,1,opt,name=stat,proto3" json:"stat,omitempty"` Numdeleted uint32 `protobuf:"varint,2,opt,name=numdeleted,proto3" json:"numdeleted,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ManifestDelPrefixResponse) Descriptor ¶
func (*ManifestDelPrefixResponse) Descriptor() ([]byte, []int)
func (*ManifestDelPrefixResponse) GetNumdeleted ¶
func (m *ManifestDelPrefixResponse) GetNumdeleted() uint32
func (*ManifestDelPrefixResponse) GetStat ¶
func (m *ManifestDelPrefixResponse) GetStat() *Status
func (*ManifestDelPrefixResponse) ProtoMessage ¶
func (*ManifestDelPrefixResponse) ProtoMessage()
func (*ManifestDelPrefixResponse) Reset ¶
func (m *ManifestDelPrefixResponse) Reset()
func (*ManifestDelPrefixResponse) String ¶
func (m *ManifestDelPrefixResponse) String() string
func (*ManifestDelPrefixResponse) XXX_DiscardUnknown ¶
func (m *ManifestDelPrefixResponse) XXX_DiscardUnknown()
func (*ManifestDelPrefixResponse) XXX_Marshal ¶
func (m *ManifestDelPrefixResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ManifestDelPrefixResponse) XXX_Merge ¶
func (dst *ManifestDelPrefixResponse) XXX_Merge(src proto.Message)
func (*ManifestDelPrefixResponse) XXX_Size ¶
func (m *ManifestDelPrefixResponse) XXX_Size() int
func (*ManifestDelPrefixResponse) XXX_Unmarshal ¶
func (m *ManifestDelPrefixResponse) XXX_Unmarshal(b []byte) error
type ManifestDelResponse ¶
type ManifestDelResponse struct { Stat *Status `protobuf:"bytes,1,opt,name=stat,proto3" json:"stat,omitempty"` Deviceid string `protobuf:"bytes,2,opt,name=deviceid,proto3" json:"deviceid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ManifestDelResponse) Descriptor ¶
func (*ManifestDelResponse) Descriptor() ([]byte, []int)
func (*ManifestDelResponse) GetDeviceid ¶
func (m *ManifestDelResponse) GetDeviceid() string
func (*ManifestDelResponse) GetStat ¶
func (m *ManifestDelResponse) GetStat() *Status
func (*ManifestDelResponse) ProtoMessage ¶
func (*ManifestDelResponse) ProtoMessage()
func (*ManifestDelResponse) Reset ¶
func (m *ManifestDelResponse) Reset()
func (*ManifestDelResponse) String ¶
func (m *ManifestDelResponse) String() string
func (*ManifestDelResponse) XXX_DiscardUnknown ¶
func (m *ManifestDelResponse) XXX_DiscardUnknown()
func (*ManifestDelResponse) XXX_Marshal ¶
func (m *ManifestDelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ManifestDelResponse) XXX_Merge ¶
func (dst *ManifestDelResponse) XXX_Merge(src proto.Message)
func (*ManifestDelResponse) XXX_Size ¶
func (m *ManifestDelResponse) XXX_Size() int
func (*ManifestDelResponse) XXX_Unmarshal ¶
func (m *ManifestDelResponse) XXX_Unmarshal(b []byte) error
type ManifestDevice ¶
type ManifestDevice struct { Deviceid string `protobuf:"bytes,1,opt,name=deviceid,proto3" json:"deviceid,omitempty"` Metadata []*MetaKeyValue `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ManifestDevice) Descriptor ¶
func (*ManifestDevice) Descriptor() ([]byte, []int)
func (*ManifestDevice) GetDeviceid ¶
func (m *ManifestDevice) GetDeviceid() string
func (*ManifestDevice) GetMetadata ¶
func (m *ManifestDevice) GetMetadata() []*MetaKeyValue
func (*ManifestDevice) ProtoMessage ¶
func (*ManifestDevice) ProtoMessage()
func (*ManifestDevice) Reset ¶
func (m *ManifestDevice) Reset()
func (*ManifestDevice) String ¶
func (m *ManifestDevice) String() string
func (*ManifestDevice) XXX_DiscardUnknown ¶
func (m *ManifestDevice) XXX_DiscardUnknown()
func (*ManifestDevice) XXX_Marshal ¶
func (m *ManifestDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ManifestDevice) XXX_Merge ¶
func (dst *ManifestDevice) XXX_Merge(src proto.Message)
func (*ManifestDevice) XXX_Size ¶
func (m *ManifestDevice) XXX_Size() int
func (*ManifestDevice) XXX_Unmarshal ¶
func (m *ManifestDevice) XXX_Unmarshal(b []byte) error
type ManifestLsDevsParams ¶
type ManifestLsDevsParams struct { Deviceidprefix string `protobuf:"bytes,1,opt,name=deviceidprefix,proto3" json:"deviceidprefix,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ManifestLsDevsParams) Descriptor ¶
func (*ManifestLsDevsParams) Descriptor() ([]byte, []int)
func (*ManifestLsDevsParams) GetDeviceidprefix ¶
func (m *ManifestLsDevsParams) GetDeviceidprefix() string
func (*ManifestLsDevsParams) ProtoMessage ¶
func (*ManifestLsDevsParams) ProtoMessage()
func (*ManifestLsDevsParams) Reset ¶
func (m *ManifestLsDevsParams) Reset()
func (*ManifestLsDevsParams) String ¶
func (m *ManifestLsDevsParams) String() string
func (*ManifestLsDevsParams) XXX_DiscardUnknown ¶
func (m *ManifestLsDevsParams) XXX_DiscardUnknown()
func (*ManifestLsDevsParams) XXX_Marshal ¶
func (m *ManifestLsDevsParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ManifestLsDevsParams) XXX_Merge ¶
func (dst *ManifestLsDevsParams) XXX_Merge(src proto.Message)
func (*ManifestLsDevsParams) XXX_Size ¶
func (m *ManifestLsDevsParams) XXX_Size() int
func (*ManifestLsDevsParams) XXX_Unmarshal ¶
func (m *ManifestLsDevsParams) XXX_Unmarshal(b []byte) error
type ManifestLsDevsResponse ¶
type ManifestLsDevsResponse struct { Stat *Status `protobuf:"bytes,1,opt,name=stat,proto3" json:"stat,omitempty"` Devices []*ManifestDevice `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ManifestLsDevsResponse) Descriptor ¶
func (*ManifestLsDevsResponse) Descriptor() ([]byte, []int)
func (*ManifestLsDevsResponse) GetDevices ¶
func (m *ManifestLsDevsResponse) GetDevices() []*ManifestDevice
func (*ManifestLsDevsResponse) GetStat ¶
func (m *ManifestLsDevsResponse) GetStat() *Status
func (*ManifestLsDevsResponse) ProtoMessage ¶
func (*ManifestLsDevsResponse) ProtoMessage()
func (*ManifestLsDevsResponse) Reset ¶
func (m *ManifestLsDevsResponse) Reset()
func (*ManifestLsDevsResponse) String ¶
func (m *ManifestLsDevsResponse) String() string
func (*ManifestLsDevsResponse) XXX_DiscardUnknown ¶
func (m *ManifestLsDevsResponse) XXX_DiscardUnknown()
func (*ManifestLsDevsResponse) XXX_Marshal ¶
func (m *ManifestLsDevsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ManifestLsDevsResponse) XXX_Merge ¶
func (dst *ManifestLsDevsResponse) XXX_Merge(src proto.Message)
func (*ManifestLsDevsResponse) XXX_Size ¶
func (m *ManifestLsDevsResponse) XXX_Size() int
func (*ManifestLsDevsResponse) XXX_Unmarshal ¶
func (m *ManifestLsDevsResponse) XXX_Unmarshal(b []byte) error
type MetaKeyValue ¶
type MetaKeyValue struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MetaKeyValue) Descriptor ¶
func (*MetaKeyValue) Descriptor() ([]byte, []int)
func (*MetaKeyValue) GetKey ¶
func (m *MetaKeyValue) GetKey() string
func (*MetaKeyValue) GetValue ¶
func (m *MetaKeyValue) GetValue() string
func (*MetaKeyValue) ProtoMessage ¶
func (*MetaKeyValue) ProtoMessage()
func (*MetaKeyValue) Reset ¶
func (m *MetaKeyValue) Reset()
func (*MetaKeyValue) String ¶
func (m *MetaKeyValue) String() string
func (*MetaKeyValue) XXX_DiscardUnknown ¶
func (m *MetaKeyValue) XXX_DiscardUnknown()
func (*MetaKeyValue) XXX_Marshal ¶
func (m *MetaKeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetaKeyValue) XXX_Merge ¶
func (dst *MetaKeyValue) XXX_Merge(src proto.Message)
func (*MetaKeyValue) XXX_Size ¶
func (m *MetaKeyValue) XXX_Size() int
func (*MetaKeyValue) XXX_Unmarshal ¶
func (m *MetaKeyValue) XXX_Unmarshal(b []byte) error
type ResetAPIKeyParams ¶
type ResetAPIKeyParams struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResetAPIKeyParams) Descriptor ¶
func (*ResetAPIKeyParams) Descriptor() ([]byte, []int)
func (*ResetAPIKeyParams) ProtoMessage ¶
func (*ResetAPIKeyParams) ProtoMessage()
func (*ResetAPIKeyParams) Reset ¶
func (m *ResetAPIKeyParams) Reset()
func (*ResetAPIKeyParams) String ¶
func (m *ResetAPIKeyParams) String() string
func (*ResetAPIKeyParams) XXX_DiscardUnknown ¶
func (m *ResetAPIKeyParams) XXX_DiscardUnknown()
func (*ResetAPIKeyParams) XXX_Marshal ¶
func (m *ResetAPIKeyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResetAPIKeyParams) XXX_Merge ¶
func (dst *ResetAPIKeyParams) XXX_Merge(src proto.Message)
func (*ResetAPIKeyParams) XXX_Size ¶
func (m *ResetAPIKeyParams) XXX_Size() int
func (*ResetAPIKeyParams) XXX_Unmarshal ¶
func (m *ResetAPIKeyParams) XXX_Unmarshal(b []byte) error
type Status ¶
type Status struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Status) Descriptor ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) XXX_DiscardUnknown ¶
func (m *Status) XXX_DiscardUnknown()