Documentation ¶
Overview ¶
Package account is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterAccountServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAccountServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AccountServiceClient) error
- func RegisterAccountServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAccountServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AccountServiceServer) error
- func RegisterAccountServiceServer(s *grpc.Server, srv AccountServiceServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)
- func (m *Account) GetCapabilities() []string
- func (m *Account) GetEnabled() bool
- func (m *Account) GetName() string
- func (m *Account) GetTokens() []*Token
- func (m *Account) Marshal() (dAtA []byte, err error)
- func (m *Account) MarshalTo(dAtA []byte) (int, error)
- func (m *Account) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Account) ProtoMessage()
- func (m *Account) Reset()
- func (m *Account) Size() (n int)
- func (m *Account) String() string
- func (m *Account) Unmarshal(dAtA []byte) error
- func (m *Account) XXX_DiscardUnknown()
- func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Account) XXX_Merge(src proto.Message)
- func (m *Account) XXX_Size() int
- func (m *Account) XXX_Unmarshal(b []byte) error
- type AccountServiceClient
- type AccountServiceServer
- type AccountsList
- func (*AccountsList) Descriptor() ([]byte, []int)
- func (m *AccountsList) GetItems() []*Account
- func (m *AccountsList) Marshal() (dAtA []byte, err error)
- func (m *AccountsList) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountsList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountsList) ProtoMessage()
- func (m *AccountsList) Reset()
- func (m *AccountsList) Size() (n int)
- func (m *AccountsList) String() string
- func (m *AccountsList) Unmarshal(dAtA []byte) error
- func (m *AccountsList) XXX_DiscardUnknown()
- func (m *AccountsList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountsList) XXX_Merge(src proto.Message)
- func (m *AccountsList) XXX_Size() int
- func (m *AccountsList) XXX_Unmarshal(b []byte) error
- type CanIRequest
- func (*CanIRequest) Descriptor() ([]byte, []int)
- func (m *CanIRequest) GetAction() string
- func (m *CanIRequest) GetResource() string
- func (m *CanIRequest) GetSubresource() string
- func (m *CanIRequest) Marshal() (dAtA []byte, err error)
- func (m *CanIRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CanIRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CanIRequest) ProtoMessage()
- func (m *CanIRequest) Reset()
- func (m *CanIRequest) Size() (n int)
- func (m *CanIRequest) String() string
- func (m *CanIRequest) Unmarshal(dAtA []byte) error
- func (m *CanIRequest) XXX_DiscardUnknown()
- func (m *CanIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CanIRequest) XXX_Merge(src proto.Message)
- func (m *CanIRequest) XXX_Size() int
- func (m *CanIRequest) XXX_Unmarshal(b []byte) error
- type CanIResponse
- func (*CanIResponse) Descriptor() ([]byte, []int)
- func (m *CanIResponse) GetValue() string
- func (m *CanIResponse) Marshal() (dAtA []byte, err error)
- func (m *CanIResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CanIResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CanIResponse) ProtoMessage()
- func (m *CanIResponse) Reset()
- func (m *CanIResponse) Size() (n int)
- func (m *CanIResponse) String() string
- func (m *CanIResponse) Unmarshal(dAtA []byte) error
- func (m *CanIResponse) XXX_DiscardUnknown()
- func (m *CanIResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CanIResponse) XXX_Merge(src proto.Message)
- func (m *CanIResponse) XXX_Size() int
- func (m *CanIResponse) XXX_Unmarshal(b []byte) error
- type CreateTokenRequest
- func (*CreateTokenRequest) Descriptor() ([]byte, []int)
- func (m *CreateTokenRequest) GetExpiresIn() int64
- func (m *CreateTokenRequest) GetId() string
- func (m *CreateTokenRequest) GetName() string
- func (m *CreateTokenRequest) Marshal() (dAtA []byte, err error)
- func (m *CreateTokenRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateTokenRequest) ProtoMessage()
- func (m *CreateTokenRequest) Reset()
- func (m *CreateTokenRequest) Size() (n int)
- func (m *CreateTokenRequest) String() string
- func (m *CreateTokenRequest) Unmarshal(dAtA []byte) error
- func (m *CreateTokenRequest) XXX_DiscardUnknown()
- func (m *CreateTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateTokenRequest) XXX_Merge(src proto.Message)
- func (m *CreateTokenRequest) XXX_Size() int
- func (m *CreateTokenRequest) XXX_Unmarshal(b []byte) error
- type CreateTokenResponse
- func (*CreateTokenResponse) Descriptor() ([]byte, []int)
- func (m *CreateTokenResponse) GetToken() string
- func (m *CreateTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *CreateTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateTokenResponse) ProtoMessage()
- func (m *CreateTokenResponse) Reset()
- func (m *CreateTokenResponse) Size() (n int)
- func (m *CreateTokenResponse) String() string
- func (m *CreateTokenResponse) Unmarshal(dAtA []byte) error
- func (m *CreateTokenResponse) XXX_DiscardUnknown()
- func (m *CreateTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateTokenResponse) XXX_Merge(src proto.Message)
- func (m *CreateTokenResponse) XXX_Size() int
- func (m *CreateTokenResponse) XXX_Unmarshal(b []byte) error
- type DeleteTokenRequest
- func (*DeleteTokenRequest) Descriptor() ([]byte, []int)
- func (m *DeleteTokenRequest) GetId() string
- func (m *DeleteTokenRequest) GetName() string
- func (m *DeleteTokenRequest) Marshal() (dAtA []byte, err error)
- func (m *DeleteTokenRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DeleteTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeleteTokenRequest) ProtoMessage()
- func (m *DeleteTokenRequest) Reset()
- func (m *DeleteTokenRequest) Size() (n int)
- func (m *DeleteTokenRequest) String() string
- func (m *DeleteTokenRequest) Unmarshal(dAtA []byte) error
- func (m *DeleteTokenRequest) XXX_DiscardUnknown()
- func (m *DeleteTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteTokenRequest) XXX_Merge(src proto.Message)
- func (m *DeleteTokenRequest) XXX_Size() int
- func (m *DeleteTokenRequest) XXX_Unmarshal(b []byte) error
- type EmptyResponse
- func (*EmptyResponse) Descriptor() ([]byte, []int)
- func (m *EmptyResponse) Marshal() (dAtA []byte, err error)
- func (m *EmptyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *EmptyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EmptyResponse) ProtoMessage()
- func (m *EmptyResponse) Reset()
- func (m *EmptyResponse) Size() (n int)
- func (m *EmptyResponse) String() string
- func (m *EmptyResponse) Unmarshal(dAtA []byte) error
- func (m *EmptyResponse) XXX_DiscardUnknown()
- func (m *EmptyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EmptyResponse) XXX_Merge(src proto.Message)
- func (m *EmptyResponse) XXX_Size() int
- func (m *EmptyResponse) XXX_Unmarshal(b []byte) error
- type GetAccountRequest
- func (*GetAccountRequest) Descriptor() ([]byte, []int)
- func (m *GetAccountRequest) GetName() string
- func (m *GetAccountRequest) Marshal() (dAtA []byte, err error)
- func (m *GetAccountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetAccountRequest) ProtoMessage()
- func (m *GetAccountRequest) Reset()
- func (m *GetAccountRequest) Size() (n int)
- func (m *GetAccountRequest) String() string
- func (m *GetAccountRequest) Unmarshal(dAtA []byte) error
- func (m *GetAccountRequest) XXX_DiscardUnknown()
- func (m *GetAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAccountRequest) XXX_Merge(src proto.Message)
- func (m *GetAccountRequest) XXX_Size() int
- func (m *GetAccountRequest) XXX_Unmarshal(b []byte) error
- type ListAccountRequest
- func (*ListAccountRequest) Descriptor() ([]byte, []int)
- func (m *ListAccountRequest) Marshal() (dAtA []byte, err error)
- func (m *ListAccountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ListAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListAccountRequest) ProtoMessage()
- func (m *ListAccountRequest) Reset()
- func (m *ListAccountRequest) Size() (n int)
- func (m *ListAccountRequest) String() string
- func (m *ListAccountRequest) Unmarshal(dAtA []byte) error
- func (m *ListAccountRequest) XXX_DiscardUnknown()
- func (m *ListAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAccountRequest) XXX_Merge(src proto.Message)
- func (m *ListAccountRequest) XXX_Size() int
- func (m *ListAccountRequest) XXX_Unmarshal(b []byte) error
- type Token
- func (*Token) Descriptor() ([]byte, []int)
- func (m *Token) GetExpiresAt() int64
- func (m *Token) GetId() string
- func (m *Token) GetIssuedAt() int64
- func (m *Token) Marshal() (dAtA []byte, err error)
- func (m *Token) MarshalTo(dAtA []byte) (int, error)
- func (m *Token) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Token) ProtoMessage()
- func (m *Token) Reset()
- func (m *Token) Size() (n int)
- func (m *Token) String() string
- func (m *Token) Unmarshal(dAtA []byte) error
- func (m *Token) XXX_DiscardUnknown()
- func (m *Token) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Token) XXX_Merge(src proto.Message)
- func (m *Token) XXX_Size() int
- func (m *Token) XXX_Unmarshal(b []byte) error
- type TokensList
- func (*TokensList) Descriptor() ([]byte, []int)
- func (m *TokensList) GetItems() []*Token
- func (m *TokensList) Marshal() (dAtA []byte, err error)
- func (m *TokensList) MarshalTo(dAtA []byte) (int, error)
- func (m *TokensList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokensList) ProtoMessage()
- func (m *TokensList) Reset()
- func (m *TokensList) Size() (n int)
- func (m *TokensList) String() string
- func (m *TokensList) Unmarshal(dAtA []byte) error
- func (m *TokensList) XXX_DiscardUnknown()
- func (m *TokensList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokensList) XXX_Merge(src proto.Message)
- func (m *TokensList) XXX_Size() int
- func (m *TokensList) XXX_Unmarshal(b []byte) error
- type UnimplementedAccountServiceServer
- func (*UnimplementedAccountServiceServer) CanI(ctx context.Context, req *CanIRequest) (*CanIResponse, error)
- func (*UnimplementedAccountServiceServer) CreateToken(ctx context.Context, req *CreateTokenRequest) (*CreateTokenResponse, error)
- func (*UnimplementedAccountServiceServer) DeleteToken(ctx context.Context, req *DeleteTokenRequest) (*EmptyResponse, error)
- func (*UnimplementedAccountServiceServer) GetAccount(ctx context.Context, req *GetAccountRequest) (*Account, error)
- func (*UnimplementedAccountServiceServer) ListAccounts(ctx context.Context, req *ListAccountRequest) (*AccountsList, error)
- func (*UnimplementedAccountServiceServer) UpdatePassword(ctx context.Context, req *UpdatePasswordRequest) (*UpdatePasswordResponse, error)
- type UpdatePasswordRequest
- func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)
- func (m *UpdatePasswordRequest) GetCurrentPassword() string
- func (m *UpdatePasswordRequest) GetName() string
- func (m *UpdatePasswordRequest) GetNewPassword() string
- func (m *UpdatePasswordRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdatePasswordRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdatePasswordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdatePasswordRequest) ProtoMessage()
- func (m *UpdatePasswordRequest) Reset()
- func (m *UpdatePasswordRequest) Size() (n int)
- func (m *UpdatePasswordRequest) String() string
- func (m *UpdatePasswordRequest) Unmarshal(dAtA []byte) error
- func (m *UpdatePasswordRequest) XXX_DiscardUnknown()
- func (m *UpdatePasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdatePasswordRequest) XXX_Merge(src proto.Message)
- func (m *UpdatePasswordRequest) XXX_Size() int
- func (m *UpdatePasswordRequest) XXX_Unmarshal(b []byte) error
- type UpdatePasswordResponse
- func (*UpdatePasswordResponse) Descriptor() ([]byte, []int)
- func (m *UpdatePasswordResponse) Marshal() (dAtA []byte, err error)
- func (m *UpdatePasswordResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdatePasswordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdatePasswordResponse) ProtoMessage()
- func (m *UpdatePasswordResponse) Reset()
- func (m *UpdatePasswordResponse) Size() (n int)
- func (m *UpdatePasswordResponse) String() string
- func (m *UpdatePasswordResponse) Unmarshal(dAtA []byte) error
- func (m *UpdatePasswordResponse) XXX_DiscardUnknown()
- func (m *UpdatePasswordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdatePasswordResponse) XXX_Merge(src proto.Message)
- func (m *UpdatePasswordResponse) XXX_Size() int
- func (m *UpdatePasswordResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterAccountServiceHandler ¶
func RegisterAccountServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAccountServiceHandler registers the http handlers for service AccountService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAccountServiceHandlerClient ¶
func RegisterAccountServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AccountServiceClient) error
RegisterAccountServiceHandlerClient registers the http handlers for service AccountService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AccountServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AccountServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AccountServiceClient" to call the correct interceptors.
func RegisterAccountServiceHandlerFromEndpoint ¶
func RegisterAccountServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAccountServiceHandlerFromEndpoint is same as RegisterAccountServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAccountServiceHandlerServer ¶ added in v1.7.6
func RegisterAccountServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AccountServiceServer) error
RegisterAccountServiceHandlerServer registers the http handlers for service AccountService to "mux". UnaryRPC :call AccountServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterAccountServiceServer ¶
func RegisterAccountServiceServer(s *grpc.Server, srv AccountServiceServer)
Types ¶
type Account ¶ added in v1.5.0
type Account struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` Capabilities []string `protobuf:"bytes,3,rep,name=capabilities,proto3" json:"capabilities,omitempty"` Tokens []*Token `protobuf:"bytes,4,rep,name=tokens,proto3" json:"tokens,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Account) Descriptor ¶ added in v1.5.0
func (*Account) GetCapabilities ¶ added in v1.5.0
func (*Account) GetEnabled ¶ added in v1.5.0
func (*Account) MarshalToSizedBuffer ¶ added in v1.5.0
func (*Account) ProtoMessage ¶ added in v1.5.0
func (*Account) ProtoMessage()
func (*Account) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *Account) XXX_DiscardUnknown()
func (*Account) XXX_Marshal ¶ added in v1.5.0
func (*Account) XXX_Unmarshal ¶ added in v1.5.0
type AccountServiceClient ¶
type AccountServiceClient interface { // CanI checks if the current account has permission to perform an action CanI(ctx context.Context, in *CanIRequest, opts ...grpc.CallOption) (*CanIResponse, error) // UpdatePassword updates an account's password to a new value UpdatePassword(ctx context.Context, in *UpdatePasswordRequest, opts ...grpc.CallOption) (*UpdatePasswordResponse, error) // ListAccounts returns the list of accounts ListAccounts(ctx context.Context, in *ListAccountRequest, opts ...grpc.CallOption) (*AccountsList, error) // GetAccount returns an account GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*Account, error) // CreateToken creates a token CreateToken(ctx context.Context, in *CreateTokenRequest, opts ...grpc.CallOption) (*CreateTokenResponse, error) // DeleteToken deletes a token DeleteToken(ctx context.Context, in *DeleteTokenRequest, opts ...grpc.CallOption) (*EmptyResponse, error) }
AccountServiceClient is the client API for AccountService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAccountServiceClient ¶
func NewAccountServiceClient(cc *grpc.ClientConn) AccountServiceClient
type AccountServiceServer ¶
type AccountServiceServer interface { // CanI checks if the current account has permission to perform an action CanI(context.Context, *CanIRequest) (*CanIResponse, error) // UpdatePassword updates an account's password to a new value UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error) // ListAccounts returns the list of accounts ListAccounts(context.Context, *ListAccountRequest) (*AccountsList, error) // GetAccount returns an account GetAccount(context.Context, *GetAccountRequest) (*Account, error) // CreateToken creates a token CreateToken(context.Context, *CreateTokenRequest) (*CreateTokenResponse, error) // DeleteToken deletes a token DeleteToken(context.Context, *DeleteTokenRequest) (*EmptyResponse, error) }
AccountServiceServer is the server API for AccountService service.
type AccountsList ¶ added in v1.5.0
type AccountsList struct { Items []*Account `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AccountsList) Descriptor ¶ added in v1.5.0
func (*AccountsList) Descriptor() ([]byte, []int)
func (*AccountsList) GetItems ¶ added in v1.5.0
func (m *AccountsList) GetItems() []*Account
func (*AccountsList) Marshal ¶ added in v1.5.0
func (m *AccountsList) Marshal() (dAtA []byte, err error)
func (*AccountsList) MarshalTo ¶ added in v1.5.0
func (m *AccountsList) MarshalTo(dAtA []byte) (int, error)
func (*AccountsList) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *AccountsList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountsList) ProtoMessage ¶ added in v1.5.0
func (*AccountsList) ProtoMessage()
func (*AccountsList) Reset ¶ added in v1.5.0
func (m *AccountsList) Reset()
func (*AccountsList) Size ¶ added in v1.5.0
func (m *AccountsList) Size() (n int)
func (*AccountsList) String ¶ added in v1.5.0
func (m *AccountsList) String() string
func (*AccountsList) Unmarshal ¶ added in v1.5.0
func (m *AccountsList) Unmarshal(dAtA []byte) error
func (*AccountsList) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *AccountsList) XXX_DiscardUnknown()
func (*AccountsList) XXX_Marshal ¶ added in v1.5.0
func (m *AccountsList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountsList) XXX_Merge ¶ added in v1.5.0
func (m *AccountsList) XXX_Merge(src proto.Message)
func (*AccountsList) XXX_Size ¶ added in v1.5.0
func (m *AccountsList) XXX_Size() int
func (*AccountsList) XXX_Unmarshal ¶ added in v1.5.0
func (m *AccountsList) XXX_Unmarshal(b []byte) error
type CanIRequest ¶ added in v1.4.0
type CanIRequest struct { Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` Subresource string `protobuf:"bytes,3,opt,name=subresource,proto3" json:"subresource,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CanIRequest) Descriptor ¶ added in v1.4.0
func (*CanIRequest) Descriptor() ([]byte, []int)
func (*CanIRequest) GetAction ¶ added in v1.4.0
func (m *CanIRequest) GetAction() string
func (*CanIRequest) GetResource ¶ added in v1.4.0
func (m *CanIRequest) GetResource() string
func (*CanIRequest) GetSubresource ¶ added in v1.4.0
func (m *CanIRequest) GetSubresource() string
func (*CanIRequest) Marshal ¶ added in v1.4.0
func (m *CanIRequest) Marshal() (dAtA []byte, err error)
func (*CanIRequest) MarshalTo ¶ added in v1.4.0
func (m *CanIRequest) MarshalTo(dAtA []byte) (int, error)
func (*CanIRequest) MarshalToSizedBuffer ¶ added in v1.4.0
func (m *CanIRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CanIRequest) ProtoMessage ¶ added in v1.4.0
func (*CanIRequest) ProtoMessage()
func (*CanIRequest) Reset ¶ added in v1.4.0
func (m *CanIRequest) Reset()
func (*CanIRequest) Size ¶ added in v1.4.0
func (m *CanIRequest) Size() (n int)
func (*CanIRequest) String ¶ added in v1.4.0
func (m *CanIRequest) String() string
func (*CanIRequest) Unmarshal ¶ added in v1.4.0
func (m *CanIRequest) Unmarshal(dAtA []byte) error
func (*CanIRequest) XXX_DiscardUnknown ¶ added in v1.4.0
func (m *CanIRequest) XXX_DiscardUnknown()
func (*CanIRequest) XXX_Marshal ¶ added in v1.4.0
func (m *CanIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CanIRequest) XXX_Merge ¶ added in v1.4.0
func (m *CanIRequest) XXX_Merge(src proto.Message)
func (*CanIRequest) XXX_Size ¶ added in v1.4.0
func (m *CanIRequest) XXX_Size() int
func (*CanIRequest) XXX_Unmarshal ¶ added in v1.4.0
func (m *CanIRequest) XXX_Unmarshal(b []byte) error
type CanIResponse ¶ added in v1.4.0
type CanIResponse struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CanIResponse) Descriptor ¶ added in v1.4.0
func (*CanIResponse) Descriptor() ([]byte, []int)
func (*CanIResponse) GetValue ¶ added in v1.4.0
func (m *CanIResponse) GetValue() string
func (*CanIResponse) Marshal ¶ added in v1.4.0
func (m *CanIResponse) Marshal() (dAtA []byte, err error)
func (*CanIResponse) MarshalTo ¶ added in v1.4.0
func (m *CanIResponse) MarshalTo(dAtA []byte) (int, error)
func (*CanIResponse) MarshalToSizedBuffer ¶ added in v1.4.0
func (m *CanIResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CanIResponse) ProtoMessage ¶ added in v1.4.0
func (*CanIResponse) ProtoMessage()
func (*CanIResponse) Reset ¶ added in v1.4.0
func (m *CanIResponse) Reset()
func (*CanIResponse) Size ¶ added in v1.4.0
func (m *CanIResponse) Size() (n int)
func (*CanIResponse) String ¶ added in v1.4.0
func (m *CanIResponse) String() string
func (*CanIResponse) Unmarshal ¶ added in v1.4.0
func (m *CanIResponse) Unmarshal(dAtA []byte) error
func (*CanIResponse) XXX_DiscardUnknown ¶ added in v1.4.0
func (m *CanIResponse) XXX_DiscardUnknown()
func (*CanIResponse) XXX_Marshal ¶ added in v1.4.0
func (m *CanIResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CanIResponse) XXX_Merge ¶ added in v1.4.0
func (m *CanIResponse) XXX_Merge(src proto.Message)
func (*CanIResponse) XXX_Size ¶ added in v1.4.0
func (m *CanIResponse) XXX_Size() int
func (*CanIResponse) XXX_Unmarshal ¶ added in v1.4.0
func (m *CanIResponse) XXX_Unmarshal(b []byte) error
type CreateTokenRequest ¶ added in v1.5.0
type CreateTokenRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // expiresIn represents a duration in seconds ExpiresIn int64 `protobuf:"varint,2,opt,name=expiresIn,proto3" json:"expiresIn,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateTokenRequest) Descriptor ¶ added in v1.5.0
func (*CreateTokenRequest) Descriptor() ([]byte, []int)
func (*CreateTokenRequest) GetExpiresIn ¶ added in v1.5.0
func (m *CreateTokenRequest) GetExpiresIn() int64
func (*CreateTokenRequest) GetId ¶ added in v1.5.3
func (m *CreateTokenRequest) GetId() string
func (*CreateTokenRequest) GetName ¶ added in v1.5.0
func (m *CreateTokenRequest) GetName() string
func (*CreateTokenRequest) Marshal ¶ added in v1.5.0
func (m *CreateTokenRequest) Marshal() (dAtA []byte, err error)
func (*CreateTokenRequest) MarshalTo ¶ added in v1.5.0
func (m *CreateTokenRequest) MarshalTo(dAtA []byte) (int, error)
func (*CreateTokenRequest) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *CreateTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateTokenRequest) ProtoMessage ¶ added in v1.5.0
func (*CreateTokenRequest) ProtoMessage()
func (*CreateTokenRequest) Reset ¶ added in v1.5.0
func (m *CreateTokenRequest) Reset()
func (*CreateTokenRequest) Size ¶ added in v1.5.0
func (m *CreateTokenRequest) Size() (n int)
func (*CreateTokenRequest) String ¶ added in v1.5.0
func (m *CreateTokenRequest) String() string
func (*CreateTokenRequest) Unmarshal ¶ added in v1.5.0
func (m *CreateTokenRequest) Unmarshal(dAtA []byte) error
func (*CreateTokenRequest) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *CreateTokenRequest) XXX_DiscardUnknown()
func (*CreateTokenRequest) XXX_Marshal ¶ added in v1.5.0
func (m *CreateTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateTokenRequest) XXX_Merge ¶ added in v1.5.0
func (m *CreateTokenRequest) XXX_Merge(src proto.Message)
func (*CreateTokenRequest) XXX_Size ¶ added in v1.5.0
func (m *CreateTokenRequest) XXX_Size() int
func (*CreateTokenRequest) XXX_Unmarshal ¶ added in v1.5.0
func (m *CreateTokenRequest) XXX_Unmarshal(b []byte) error
type CreateTokenResponse ¶ added in v1.5.0
type CreateTokenResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateTokenResponse) Descriptor ¶ added in v1.5.0
func (*CreateTokenResponse) Descriptor() ([]byte, []int)
func (*CreateTokenResponse) GetToken ¶ added in v1.5.0
func (m *CreateTokenResponse) GetToken() string
func (*CreateTokenResponse) Marshal ¶ added in v1.5.0
func (m *CreateTokenResponse) Marshal() (dAtA []byte, err error)
func (*CreateTokenResponse) MarshalTo ¶ added in v1.5.0
func (m *CreateTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*CreateTokenResponse) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *CreateTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateTokenResponse) ProtoMessage ¶ added in v1.5.0
func (*CreateTokenResponse) ProtoMessage()
func (*CreateTokenResponse) Reset ¶ added in v1.5.0
func (m *CreateTokenResponse) Reset()
func (*CreateTokenResponse) Size ¶ added in v1.5.0
func (m *CreateTokenResponse) Size() (n int)
func (*CreateTokenResponse) String ¶ added in v1.5.0
func (m *CreateTokenResponse) String() string
func (*CreateTokenResponse) Unmarshal ¶ added in v1.5.0
func (m *CreateTokenResponse) Unmarshal(dAtA []byte) error
func (*CreateTokenResponse) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *CreateTokenResponse) XXX_DiscardUnknown()
func (*CreateTokenResponse) XXX_Marshal ¶ added in v1.5.0
func (m *CreateTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateTokenResponse) XXX_Merge ¶ added in v1.5.0
func (m *CreateTokenResponse) XXX_Merge(src proto.Message)
func (*CreateTokenResponse) XXX_Size ¶ added in v1.5.0
func (m *CreateTokenResponse) XXX_Size() int
func (*CreateTokenResponse) XXX_Unmarshal ¶ added in v1.5.0
func (m *CreateTokenResponse) XXX_Unmarshal(b []byte) error
type DeleteTokenRequest ¶ added in v1.5.0
type DeleteTokenRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteTokenRequest) Descriptor ¶ added in v1.5.0
func (*DeleteTokenRequest) Descriptor() ([]byte, []int)
func (*DeleteTokenRequest) GetId ¶ added in v1.5.0
func (m *DeleteTokenRequest) GetId() string
func (*DeleteTokenRequest) GetName ¶ added in v1.5.0
func (m *DeleteTokenRequest) GetName() string
func (*DeleteTokenRequest) Marshal ¶ added in v1.5.0
func (m *DeleteTokenRequest) Marshal() (dAtA []byte, err error)
func (*DeleteTokenRequest) MarshalTo ¶ added in v1.5.0
func (m *DeleteTokenRequest) MarshalTo(dAtA []byte) (int, error)
func (*DeleteTokenRequest) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *DeleteTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeleteTokenRequest) ProtoMessage ¶ added in v1.5.0
func (*DeleteTokenRequest) ProtoMessage()
func (*DeleteTokenRequest) Reset ¶ added in v1.5.0
func (m *DeleteTokenRequest) Reset()
func (*DeleteTokenRequest) Size ¶ added in v1.5.0
func (m *DeleteTokenRequest) Size() (n int)
func (*DeleteTokenRequest) String ¶ added in v1.5.0
func (m *DeleteTokenRequest) String() string
func (*DeleteTokenRequest) Unmarshal ¶ added in v1.5.0
func (m *DeleteTokenRequest) Unmarshal(dAtA []byte) error
func (*DeleteTokenRequest) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *DeleteTokenRequest) XXX_DiscardUnknown()
func (*DeleteTokenRequest) XXX_Marshal ¶ added in v1.5.0
func (m *DeleteTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteTokenRequest) XXX_Merge ¶ added in v1.5.0
func (m *DeleteTokenRequest) XXX_Merge(src proto.Message)
func (*DeleteTokenRequest) XXX_Size ¶ added in v1.5.0
func (m *DeleteTokenRequest) XXX_Size() int
func (*DeleteTokenRequest) XXX_Unmarshal ¶ added in v1.5.0
func (m *DeleteTokenRequest) XXX_Unmarshal(b []byte) error
type EmptyResponse ¶ added in v1.5.0
type EmptyResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EmptyResponse) Descriptor ¶ added in v1.5.0
func (*EmptyResponse) Descriptor() ([]byte, []int)
func (*EmptyResponse) Marshal ¶ added in v1.5.0
func (m *EmptyResponse) Marshal() (dAtA []byte, err error)
func (*EmptyResponse) MarshalTo ¶ added in v1.5.0
func (m *EmptyResponse) MarshalTo(dAtA []byte) (int, error)
func (*EmptyResponse) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *EmptyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EmptyResponse) ProtoMessage ¶ added in v1.5.0
func (*EmptyResponse) ProtoMessage()
func (*EmptyResponse) Reset ¶ added in v1.5.0
func (m *EmptyResponse) Reset()
func (*EmptyResponse) Size ¶ added in v1.5.0
func (m *EmptyResponse) Size() (n int)
func (*EmptyResponse) String ¶ added in v1.5.0
func (m *EmptyResponse) String() string
func (*EmptyResponse) Unmarshal ¶ added in v1.5.0
func (m *EmptyResponse) Unmarshal(dAtA []byte) error
func (*EmptyResponse) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *EmptyResponse) XXX_DiscardUnknown()
func (*EmptyResponse) XXX_Marshal ¶ added in v1.5.0
func (m *EmptyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EmptyResponse) XXX_Merge ¶ added in v1.5.0
func (m *EmptyResponse) XXX_Merge(src proto.Message)
func (*EmptyResponse) XXX_Size ¶ added in v1.5.0
func (m *EmptyResponse) XXX_Size() int
func (*EmptyResponse) XXX_Unmarshal ¶ added in v1.5.0
func (m *EmptyResponse) XXX_Unmarshal(b []byte) error
type GetAccountRequest ¶ added in v1.5.0
type GetAccountRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAccountRequest) Descriptor ¶ added in v1.5.0
func (*GetAccountRequest) Descriptor() ([]byte, []int)
func (*GetAccountRequest) GetName ¶ added in v1.5.0
func (m *GetAccountRequest) GetName() string
func (*GetAccountRequest) Marshal ¶ added in v1.5.0
func (m *GetAccountRequest) Marshal() (dAtA []byte, err error)
func (*GetAccountRequest) MarshalTo ¶ added in v1.5.0
func (m *GetAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetAccountRequest) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *GetAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetAccountRequest) ProtoMessage ¶ added in v1.5.0
func (*GetAccountRequest) ProtoMessage()
func (*GetAccountRequest) Reset ¶ added in v1.5.0
func (m *GetAccountRequest) Reset()
func (*GetAccountRequest) Size ¶ added in v1.5.0
func (m *GetAccountRequest) Size() (n int)
func (*GetAccountRequest) String ¶ added in v1.5.0
func (m *GetAccountRequest) String() string
func (*GetAccountRequest) Unmarshal ¶ added in v1.5.0
func (m *GetAccountRequest) Unmarshal(dAtA []byte) error
func (*GetAccountRequest) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *GetAccountRequest) XXX_DiscardUnknown()
func (*GetAccountRequest) XXX_Marshal ¶ added in v1.5.0
func (m *GetAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAccountRequest) XXX_Merge ¶ added in v1.5.0
func (m *GetAccountRequest) XXX_Merge(src proto.Message)
func (*GetAccountRequest) XXX_Size ¶ added in v1.5.0
func (m *GetAccountRequest) XXX_Size() int
func (*GetAccountRequest) XXX_Unmarshal ¶ added in v1.5.0
func (m *GetAccountRequest) XXX_Unmarshal(b []byte) error
type ListAccountRequest ¶ added in v1.5.0
type ListAccountRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListAccountRequest) Descriptor ¶ added in v1.5.0
func (*ListAccountRequest) Descriptor() ([]byte, []int)
func (*ListAccountRequest) Marshal ¶ added in v1.5.0
func (m *ListAccountRequest) Marshal() (dAtA []byte, err error)
func (*ListAccountRequest) MarshalTo ¶ added in v1.5.0
func (m *ListAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListAccountRequest) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *ListAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListAccountRequest) ProtoMessage ¶ added in v1.5.0
func (*ListAccountRequest) ProtoMessage()
func (*ListAccountRequest) Reset ¶ added in v1.5.0
func (m *ListAccountRequest) Reset()
func (*ListAccountRequest) Size ¶ added in v1.5.0
func (m *ListAccountRequest) Size() (n int)
func (*ListAccountRequest) String ¶ added in v1.5.0
func (m *ListAccountRequest) String() string
func (*ListAccountRequest) Unmarshal ¶ added in v1.5.0
func (m *ListAccountRequest) Unmarshal(dAtA []byte) error
func (*ListAccountRequest) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *ListAccountRequest) XXX_DiscardUnknown()
func (*ListAccountRequest) XXX_Marshal ¶ added in v1.5.0
func (m *ListAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAccountRequest) XXX_Merge ¶ added in v1.5.0
func (m *ListAccountRequest) XXX_Merge(src proto.Message)
func (*ListAccountRequest) XXX_Size ¶ added in v1.5.0
func (m *ListAccountRequest) XXX_Size() int
func (*ListAccountRequest) XXX_Unmarshal ¶ added in v1.5.0
func (m *ListAccountRequest) XXX_Unmarshal(b []byte) error
type Token ¶ added in v1.5.0
type Token struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` IssuedAt int64 `protobuf:"varint,2,opt,name=issuedAt,proto3" json:"issuedAt,omitempty"` ExpiresAt int64 `protobuf:"varint,3,opt,name=expiresAt,proto3" json:"expiresAt,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Token) Descriptor ¶ added in v1.5.0
func (*Token) GetExpiresAt ¶ added in v1.5.0
func (*Token) GetIssuedAt ¶ added in v1.5.0
func (*Token) MarshalToSizedBuffer ¶ added in v1.5.0
func (*Token) ProtoMessage ¶ added in v1.5.0
func (*Token) ProtoMessage()
func (*Token) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *Token) XXX_DiscardUnknown()
func (*Token) XXX_Marshal ¶ added in v1.5.0
func (*Token) XXX_Unmarshal ¶ added in v1.5.0
type TokensList ¶ added in v1.5.0
type TokensList struct { Items []*Token `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TokensList) Descriptor ¶ added in v1.5.0
func (*TokensList) Descriptor() ([]byte, []int)
func (*TokensList) GetItems ¶ added in v1.5.0
func (m *TokensList) GetItems() []*Token
func (*TokensList) Marshal ¶ added in v1.5.0
func (m *TokensList) Marshal() (dAtA []byte, err error)
func (*TokensList) MarshalTo ¶ added in v1.5.0
func (m *TokensList) MarshalTo(dAtA []byte) (int, error)
func (*TokensList) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *TokensList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokensList) ProtoMessage ¶ added in v1.5.0
func (*TokensList) ProtoMessage()
func (*TokensList) Reset ¶ added in v1.5.0
func (m *TokensList) Reset()
func (*TokensList) Size ¶ added in v1.5.0
func (m *TokensList) Size() (n int)
func (*TokensList) String ¶ added in v1.5.0
func (m *TokensList) String() string
func (*TokensList) Unmarshal ¶ added in v1.5.0
func (m *TokensList) Unmarshal(dAtA []byte) error
func (*TokensList) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *TokensList) XXX_DiscardUnknown()
func (*TokensList) XXX_Marshal ¶ added in v1.5.0
func (m *TokensList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokensList) XXX_Merge ¶ added in v1.5.0
func (m *TokensList) XXX_Merge(src proto.Message)
func (*TokensList) XXX_Size ¶ added in v1.5.0
func (m *TokensList) XXX_Size() int
func (*TokensList) XXX_Unmarshal ¶ added in v1.5.0
func (m *TokensList) XXX_Unmarshal(b []byte) error
type UnimplementedAccountServiceServer ¶ added in v1.4.0
type UnimplementedAccountServiceServer struct { }
UnimplementedAccountServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAccountServiceServer) CanI ¶ added in v1.4.0
func (*UnimplementedAccountServiceServer) CanI(ctx context.Context, req *CanIRequest) (*CanIResponse, error)
func (*UnimplementedAccountServiceServer) CreateToken ¶ added in v1.5.0
func (*UnimplementedAccountServiceServer) CreateToken(ctx context.Context, req *CreateTokenRequest) (*CreateTokenResponse, error)
func (*UnimplementedAccountServiceServer) DeleteToken ¶ added in v1.5.0
func (*UnimplementedAccountServiceServer) DeleteToken(ctx context.Context, req *DeleteTokenRequest) (*EmptyResponse, error)
func (*UnimplementedAccountServiceServer) GetAccount ¶ added in v1.5.0
func (*UnimplementedAccountServiceServer) GetAccount(ctx context.Context, req *GetAccountRequest) (*Account, error)
func (*UnimplementedAccountServiceServer) ListAccounts ¶ added in v1.5.0
func (*UnimplementedAccountServiceServer) ListAccounts(ctx context.Context, req *ListAccountRequest) (*AccountsList, error)
func (*UnimplementedAccountServiceServer) UpdatePassword ¶ added in v1.4.0
func (*UnimplementedAccountServiceServer) UpdatePassword(ctx context.Context, req *UpdatePasswordRequest) (*UpdatePasswordResponse, error)
type UpdatePasswordRequest ¶
type UpdatePasswordRequest struct { NewPassword string `protobuf:"bytes,1,opt,name=newPassword,proto3" json:"newPassword,omitempty"` CurrentPassword string `protobuf:"bytes,2,opt,name=currentPassword,proto3" json:"currentPassword,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdatePasswordRequest) Descriptor ¶
func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)
func (*UpdatePasswordRequest) GetCurrentPassword ¶
func (m *UpdatePasswordRequest) GetCurrentPassword() string
func (*UpdatePasswordRequest) GetName ¶ added in v1.5.0
func (m *UpdatePasswordRequest) GetName() string
func (*UpdatePasswordRequest) GetNewPassword ¶
func (m *UpdatePasswordRequest) GetNewPassword() string
func (*UpdatePasswordRequest) Marshal ¶
func (m *UpdatePasswordRequest) Marshal() (dAtA []byte, err error)
func (*UpdatePasswordRequest) MarshalTo ¶
func (m *UpdatePasswordRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdatePasswordRequest) MarshalToSizedBuffer ¶ added in v1.4.0
func (m *UpdatePasswordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdatePasswordRequest) ProtoMessage ¶
func (*UpdatePasswordRequest) ProtoMessage()
func (*UpdatePasswordRequest) Reset ¶
func (m *UpdatePasswordRequest) Reset()
func (*UpdatePasswordRequest) Size ¶
func (m *UpdatePasswordRequest) Size() (n int)
func (*UpdatePasswordRequest) String ¶
func (m *UpdatePasswordRequest) String() string
func (*UpdatePasswordRequest) Unmarshal ¶
func (m *UpdatePasswordRequest) Unmarshal(dAtA []byte) error
func (*UpdatePasswordRequest) XXX_DiscardUnknown ¶
func (m *UpdatePasswordRequest) XXX_DiscardUnknown()
func (*UpdatePasswordRequest) XXX_Marshal ¶
func (m *UpdatePasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdatePasswordRequest) XXX_Merge ¶
func (m *UpdatePasswordRequest) XXX_Merge(src proto.Message)
func (*UpdatePasswordRequest) XXX_Size ¶
func (m *UpdatePasswordRequest) XXX_Size() int
func (*UpdatePasswordRequest) XXX_Unmarshal ¶
func (m *UpdatePasswordRequest) XXX_Unmarshal(b []byte) error
type UpdatePasswordResponse ¶
type UpdatePasswordResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdatePasswordResponse) Descriptor ¶
func (*UpdatePasswordResponse) Descriptor() ([]byte, []int)
func (*UpdatePasswordResponse) Marshal ¶
func (m *UpdatePasswordResponse) Marshal() (dAtA []byte, err error)
func (*UpdatePasswordResponse) MarshalTo ¶
func (m *UpdatePasswordResponse) MarshalTo(dAtA []byte) (int, error)
func (*UpdatePasswordResponse) MarshalToSizedBuffer ¶ added in v1.4.0
func (m *UpdatePasswordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdatePasswordResponse) ProtoMessage ¶
func (*UpdatePasswordResponse) ProtoMessage()
func (*UpdatePasswordResponse) Reset ¶
func (m *UpdatePasswordResponse) Reset()
func (*UpdatePasswordResponse) Size ¶
func (m *UpdatePasswordResponse) Size() (n int)
func (*UpdatePasswordResponse) String ¶
func (m *UpdatePasswordResponse) String() string
func (*UpdatePasswordResponse) Unmarshal ¶
func (m *UpdatePasswordResponse) Unmarshal(dAtA []byte) error
func (*UpdatePasswordResponse) XXX_DiscardUnknown ¶
func (m *UpdatePasswordResponse) XXX_DiscardUnknown()
func (*UpdatePasswordResponse) XXX_Marshal ¶
func (m *UpdatePasswordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdatePasswordResponse) XXX_Merge ¶
func (m *UpdatePasswordResponse) XXX_Merge(src proto.Message)
func (*UpdatePasswordResponse) XXX_Size ¶
func (m *UpdatePasswordResponse) XXX_Size() int
func (*UpdatePasswordResponse) XXX_Unmarshal ¶
func (m *UpdatePasswordResponse) XXX_Unmarshal(b []byte) error