adminapi

package
v4.15.9+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2019 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Overview

Package adminapi is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

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)

func ServeGRPC

func ServeGRPC(ec *etcd.Client, laddr string)

func ServeHTTP

func ServeHTTP(ec *etcd.Client, laddr string)

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

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) Descriptor() ([]byte, []int)

func (*Status) GetCode

func (m *Status) GetCode() uint32

func (*Status) GetMsg

func (m *Status) GetMsg() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) String

func (m *Status) String() string

func (*Status) XXX_DiscardUnknown

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal

func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Status) XXX_Merge

func (dst *Status) XXX_Merge(src proto.Message)

func (*Status) XXX_Size

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal

func (m *Status) XXX_Unmarshal(b []byte) error

type TUserObject

type TUserObject string
var UserObject TUserObject = "user_object"

Jump to

Keyboard shortcuts

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