accounts

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Copyright 2022 Evan Hazlett

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAccounts        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAccounts          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAccounts = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterAccountsServer

func RegisterAccountsServer(s *grpc.Server, srv AccountsServer)

Types

type APIToken

type APIToken struct {
	ID                   string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Token                string    `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	Description          string    `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	CreatedAt            time.Time `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*APIToken) Descriptor

func (*APIToken) Descriptor() ([]byte, []int)

func (*APIToken) GetCreatedAt

func (m *APIToken) GetCreatedAt() time.Time

func (*APIToken) GetDescription

func (m *APIToken) GetDescription() string

func (*APIToken) GetID

func (m *APIToken) GetID() string

func (*APIToken) GetToken

func (m *APIToken) GetToken() string

func (*APIToken) Marshal

func (m *APIToken) Marshal() (dAtA []byte, err error)

func (*APIToken) MarshalTo

func (m *APIToken) MarshalTo(dAtA []byte) (int, error)

func (*APIToken) MarshalToSizedBuffer

func (m *APIToken) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*APIToken) ProtoMessage

func (*APIToken) ProtoMessage()

func (*APIToken) Reset

func (m *APIToken) Reset()

func (*APIToken) Scan added in v0.2.0

func (t *APIToken) Scan(value interface{}) error

func (*APIToken) Size

func (m *APIToken) Size() (n int)

func (*APIToken) String

func (m *APIToken) String() string

func (*APIToken) Unmarshal

func (m *APIToken) Unmarshal(dAtA []byte) error

func (*APIToken) Value added in v0.2.0

func (t *APIToken) Value() (driver.Value, error)

APIToken

func (*APIToken) XXX_DiscardUnknown

func (m *APIToken) XXX_DiscardUnknown()

func (*APIToken) XXX_Marshal

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

func (*APIToken) XXX_Merge

func (m *APIToken) XXX_Merge(src proto.Message)

func (*APIToken) XXX_Size

func (m *APIToken) XXX_Size() int

func (*APIToken) XXX_Unmarshal

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

type Account

type Account struct {
	ID        string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt time.Time `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"`
	Admin     bool      `protobuf:"varint,3,opt,name=admin,proto3" json:"admin,omitempty"`
	Username  string    `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	FirstName string    `protobuf:"bytes,5,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName  string    `protobuf:"bytes,6,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	Email     string    `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"`
	// password is only used in account creation and password resets
	// and is hashed with bcrypt and then cleared and never stored
	Password             string   `protobuf:"bytes,8,opt,name=password,proto3" json:"password,omitempty"`
	PasswordCrypt        []byte   `protobuf:"bytes,9,opt,name=password_crypt,json=passwordCrypt,proto3" json:"-"`
	CurrentNamespace     string   `protobuf:"bytes,10,opt,name=current_namespace,json=currentNamespace,proto3" json:"current_namespace,omitempty"`
	Namespaces           []string `protobuf:"bytes,11,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Account) Descriptor

func (*Account) Descriptor() ([]byte, []int)

func (*Account) GetAdmin

func (m *Account) GetAdmin() bool

func (*Account) GetCreatedAt

func (m *Account) GetCreatedAt() time.Time

func (*Account) GetCurrentNamespace

func (m *Account) GetCurrentNamespace() string

func (*Account) GetEmail

func (m *Account) GetEmail() string

func (*Account) GetFirstName

func (m *Account) GetFirstName() string

func (*Account) GetID

func (m *Account) GetID() string

func (*Account) GetLastName

func (m *Account) GetLastName() string

func (*Account) GetNamespaces

func (m *Account) GetNamespaces() []string

func (*Account) GetPassword

func (m *Account) GetPassword() string

func (*Account) GetPasswordCrypt

func (m *Account) GetPasswordCrypt() []byte

func (*Account) GetUsername

func (m *Account) GetUsername() string

func (*Account) Marshal

func (m *Account) Marshal() (dAtA []byte, err error)

func (*Account) MarshalTo

func (m *Account) MarshalTo(dAtA []byte) (int, error)

func (*Account) MarshalToSizedBuffer

func (m *Account) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) Reset

func (m *Account) Reset()

func (*Account) Scan added in v0.2.0

func (a *Account) Scan(value interface{}) error

func (*Account) Size

func (m *Account) Size() (n int)

func (*Account) String

func (m *Account) String() string

func (*Account) Unmarshal

func (m *Account) Unmarshal(dAtA []byte) error

func (*Account) Value added in v0.2.0

func (a *Account) Value() (driver.Value, error)

Account

func (*Account) XXX_DiscardUnknown

func (m *Account) XXX_DiscardUnknown()

func (*Account) XXX_Marshal

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

func (*Account) XXX_Merge

func (m *Account) XXX_Merge(src proto.Message)

func (*Account) XXX_Size

func (m *Account) XXX_Size() int

func (*Account) XXX_Unmarshal

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

type AccountsClient

type AccountsClient interface {
	ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, error)
	CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...grpc.CallOption) (*types.Empty, error)
	GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error)
	UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*types.Empty, error)
	GenerateAPIToken(ctx context.Context, in *GenerateAPITokenRequest, opts ...grpc.CallOption) (*GenerateAPITokenResponse, error)
	ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*types.Empty, error)
	DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*types.Empty, error)
	Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error)
	GetAccountProfile(ctx context.Context, in *GetAccountProfileRequest, opts ...grpc.CallOption) (*GetAccountProfileResponse, error)
	GenerateServiceToken(ctx context.Context, in *GenerateServiceTokenRequest, opts ...grpc.CallOption) (*GenerateServiceTokenResponse, error)
	ListServiceTokens(ctx context.Context, in *ListServiceTokensRequest, opts ...grpc.CallOption) (*ListServiceTokensResponse, error)
	ListNamespaces(ctx context.Context, in *ListNamespacesRequest, opts ...grpc.CallOption) (*ListNamespacesResponse, error)
	CreateNamespace(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*CreateNamespaceResponse, error)
	GetNamespace(ctx context.Context, in *GetNamespaceRequest, opts ...grpc.CallOption) (*GetNamespaceResponse, error)
	Authenticated(ctx context.Context, in *AuthenticatedRequest, opts ...grpc.CallOption) (*types.Empty, error)
}

AccountsClient is the client API for Accounts service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAccountsClient

func NewAccountsClient(cc *grpc.ClientConn) AccountsClient

type AuthenticateRequest

type AuthenticateRequest struct {
	Username             string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password             []byte   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthenticateRequest) Descriptor

func (*AuthenticateRequest) Descriptor() ([]byte, []int)

func (*AuthenticateRequest) GetPassword

func (m *AuthenticateRequest) GetPassword() []byte

func (*AuthenticateRequest) GetUsername

func (m *AuthenticateRequest) GetUsername() string

func (*AuthenticateRequest) Marshal

func (m *AuthenticateRequest) Marshal() (dAtA []byte, err error)

func (*AuthenticateRequest) MarshalTo

func (m *AuthenticateRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthenticateRequest) MarshalToSizedBuffer

func (m *AuthenticateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthenticateRequest) ProtoMessage

func (*AuthenticateRequest) ProtoMessage()

func (*AuthenticateRequest) Reset

func (m *AuthenticateRequest) Reset()

func (*AuthenticateRequest) Size

func (m *AuthenticateRequest) Size() (n int)

func (*AuthenticateRequest) String

func (m *AuthenticateRequest) String() string

func (*AuthenticateRequest) Unmarshal

func (m *AuthenticateRequest) Unmarshal(dAtA []byte) error

func (*AuthenticateRequest) XXX_DiscardUnknown

func (m *AuthenticateRequest) XXX_DiscardUnknown()

func (*AuthenticateRequest) XXX_Marshal

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

func (*AuthenticateRequest) XXX_Merge

func (m *AuthenticateRequest) XXX_Merge(src proto.Message)

func (*AuthenticateRequest) XXX_Size

func (m *AuthenticateRequest) XXX_Size() int

func (*AuthenticateRequest) XXX_Unmarshal

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

type AuthenticateResponse

type AuthenticateResponse struct {
	Account              *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Config               []byte   `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthenticateResponse) Descriptor

func (*AuthenticateResponse) Descriptor() ([]byte, []int)

func (*AuthenticateResponse) GetAccount

func (m *AuthenticateResponse) GetAccount() *Account

func (*AuthenticateResponse) GetConfig

func (m *AuthenticateResponse) GetConfig() []byte

func (*AuthenticateResponse) Marshal

func (m *AuthenticateResponse) Marshal() (dAtA []byte, err error)

func (*AuthenticateResponse) MarshalTo

func (m *AuthenticateResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthenticateResponse) MarshalToSizedBuffer

func (m *AuthenticateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthenticateResponse) ProtoMessage

func (*AuthenticateResponse) ProtoMessage()

func (*AuthenticateResponse) Reset

func (m *AuthenticateResponse) Reset()

func (*AuthenticateResponse) Size

func (m *AuthenticateResponse) Size() (n int)

func (*AuthenticateResponse) String

func (m *AuthenticateResponse) String() string

func (*AuthenticateResponse) Unmarshal

func (m *AuthenticateResponse) Unmarshal(dAtA []byte) error

func (*AuthenticateResponse) XXX_DiscardUnknown

func (m *AuthenticateResponse) XXX_DiscardUnknown()

func (*AuthenticateResponse) XXX_Marshal

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

func (*AuthenticateResponse) XXX_Merge

func (m *AuthenticateResponse) XXX_Merge(src proto.Message)

func (*AuthenticateResponse) XXX_Size

func (m *AuthenticateResponse) XXX_Size() int

func (*AuthenticateResponse) XXX_Unmarshal

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

type AuthenticatedRequest

type AuthenticatedRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthenticatedRequest) Descriptor

func (*AuthenticatedRequest) Descriptor() ([]byte, []int)

func (*AuthenticatedRequest) Marshal

func (m *AuthenticatedRequest) Marshal() (dAtA []byte, err error)

func (*AuthenticatedRequest) MarshalTo

func (m *AuthenticatedRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthenticatedRequest) MarshalToSizedBuffer

func (m *AuthenticatedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthenticatedRequest) ProtoMessage

func (*AuthenticatedRequest) ProtoMessage()

func (*AuthenticatedRequest) Reset

func (m *AuthenticatedRequest) Reset()

func (*AuthenticatedRequest) Size

func (m *AuthenticatedRequest) Size() (n int)

func (*AuthenticatedRequest) String

func (m *AuthenticatedRequest) String() string

func (*AuthenticatedRequest) Unmarshal

func (m *AuthenticatedRequest) Unmarshal(dAtA []byte) error

func (*AuthenticatedRequest) XXX_DiscardUnknown

func (m *AuthenticatedRequest) XXX_DiscardUnknown()

func (*AuthenticatedRequest) XXX_Marshal

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

func (*AuthenticatedRequest) XXX_Merge

func (m *AuthenticatedRequest) XXX_Merge(src proto.Message)

func (*AuthenticatedRequest) XXX_Size

func (m *AuthenticatedRequest) XXX_Size() int

func (*AuthenticatedRequest) XXX_Unmarshal

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

type ChangePasswordRequest

type ChangePasswordRequest struct {
	Username             string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password             []byte   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChangePasswordRequest) Descriptor

func (*ChangePasswordRequest) Descriptor() ([]byte, []int)

func (*ChangePasswordRequest) GetPassword

func (m *ChangePasswordRequest) GetPassword() []byte

func (*ChangePasswordRequest) GetUsername

func (m *ChangePasswordRequest) GetUsername() string

func (*ChangePasswordRequest) Marshal

func (m *ChangePasswordRequest) Marshal() (dAtA []byte, err error)

func (*ChangePasswordRequest) MarshalTo

func (m *ChangePasswordRequest) MarshalTo(dAtA []byte) (int, error)

func (*ChangePasswordRequest) MarshalToSizedBuffer

func (m *ChangePasswordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChangePasswordRequest) ProtoMessage

func (*ChangePasswordRequest) ProtoMessage()

func (*ChangePasswordRequest) Reset

func (m *ChangePasswordRequest) Reset()

func (*ChangePasswordRequest) Size

func (m *ChangePasswordRequest) Size() (n int)

func (*ChangePasswordRequest) String

func (m *ChangePasswordRequest) String() string

func (*ChangePasswordRequest) Unmarshal

func (m *ChangePasswordRequest) Unmarshal(dAtA []byte) error

func (*ChangePasswordRequest) XXX_DiscardUnknown

func (m *ChangePasswordRequest) XXX_DiscardUnknown()

func (*ChangePasswordRequest) XXX_Marshal

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

func (*ChangePasswordRequest) XXX_Merge

func (m *ChangePasswordRequest) XXX_Merge(src proto.Message)

func (*ChangePasswordRequest) XXX_Size

func (m *ChangePasswordRequest) XXX_Size() int

func (*ChangePasswordRequest) XXX_Unmarshal

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

type CreateAccountRequest

type CreateAccountRequest struct {
	Account              *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateAccountRequest) Descriptor

func (*CreateAccountRequest) Descriptor() ([]byte, []int)

func (*CreateAccountRequest) GetAccount

func (m *CreateAccountRequest) GetAccount() *Account

func (*CreateAccountRequest) Marshal

func (m *CreateAccountRequest) Marshal() (dAtA []byte, err error)

func (*CreateAccountRequest) MarshalTo

func (m *CreateAccountRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateAccountRequest) MarshalToSizedBuffer

func (m *CreateAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateAccountRequest) ProtoMessage

func (*CreateAccountRequest) ProtoMessage()

func (*CreateAccountRequest) Reset

func (m *CreateAccountRequest) Reset()

func (*CreateAccountRequest) Size

func (m *CreateAccountRequest) Size() (n int)

func (*CreateAccountRequest) String

func (m *CreateAccountRequest) String() string

func (*CreateAccountRequest) Unmarshal

func (m *CreateAccountRequest) Unmarshal(dAtA []byte) error

func (*CreateAccountRequest) XXX_DiscardUnknown

func (m *CreateAccountRequest) XXX_DiscardUnknown()

func (*CreateAccountRequest) XXX_Marshal

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

func (*CreateAccountRequest) XXX_Merge

func (m *CreateAccountRequest) XXX_Merge(src proto.Message)

func (*CreateAccountRequest) XXX_Size

func (m *CreateAccountRequest) XXX_Size() int

func (*CreateAccountRequest) XXX_Unmarshal

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

type CreateNamespaceRequest

type CreateNamespaceRequest struct {
	Namespace            *Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*CreateNamespaceRequest) Descriptor

func (*CreateNamespaceRequest) Descriptor() ([]byte, []int)

func (*CreateNamespaceRequest) GetNamespace

func (m *CreateNamespaceRequest) GetNamespace() *Namespace

func (*CreateNamespaceRequest) Marshal

func (m *CreateNamespaceRequest) Marshal() (dAtA []byte, err error)

func (*CreateNamespaceRequest) MarshalTo

func (m *CreateNamespaceRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateNamespaceRequest) MarshalToSizedBuffer

func (m *CreateNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateNamespaceRequest) ProtoMessage

func (*CreateNamespaceRequest) ProtoMessage()

func (*CreateNamespaceRequest) Reset

func (m *CreateNamespaceRequest) Reset()

func (*CreateNamespaceRequest) Size

func (m *CreateNamespaceRequest) Size() (n int)

func (*CreateNamespaceRequest) String

func (m *CreateNamespaceRequest) String() string

func (*CreateNamespaceRequest) Unmarshal

func (m *CreateNamespaceRequest) Unmarshal(dAtA []byte) error

func (*CreateNamespaceRequest) XXX_DiscardUnknown

func (m *CreateNamespaceRequest) XXX_DiscardUnknown()

func (*CreateNamespaceRequest) XXX_Marshal

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

func (*CreateNamespaceRequest) XXX_Merge

func (m *CreateNamespaceRequest) XXX_Merge(src proto.Message)

func (*CreateNamespaceRequest) XXX_Size

func (m *CreateNamespaceRequest) XXX_Size() int

func (*CreateNamespaceRequest) XXX_Unmarshal

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

type CreateNamespaceResponse

type CreateNamespaceResponse struct {
	ID                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateNamespaceResponse) Descriptor

func (*CreateNamespaceResponse) Descriptor() ([]byte, []int)

func (*CreateNamespaceResponse) GetID

func (m *CreateNamespaceResponse) GetID() string

func (*CreateNamespaceResponse) Marshal

func (m *CreateNamespaceResponse) Marshal() (dAtA []byte, err error)

func (*CreateNamespaceResponse) MarshalTo

func (m *CreateNamespaceResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateNamespaceResponse) MarshalToSizedBuffer

func (m *CreateNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateNamespaceResponse) ProtoMessage

func (*CreateNamespaceResponse) ProtoMessage()

func (*CreateNamespaceResponse) Reset

func (m *CreateNamespaceResponse) Reset()

func (*CreateNamespaceResponse) Size

func (m *CreateNamespaceResponse) Size() (n int)

func (*CreateNamespaceResponse) String

func (m *CreateNamespaceResponse) String() string

func (*CreateNamespaceResponse) Unmarshal

func (m *CreateNamespaceResponse) Unmarshal(dAtA []byte) error

func (*CreateNamespaceResponse) XXX_DiscardUnknown

func (m *CreateNamespaceResponse) XXX_DiscardUnknown()

func (*CreateNamespaceResponse) XXX_Marshal

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

func (*CreateNamespaceResponse) XXX_Merge

func (m *CreateNamespaceResponse) XXX_Merge(src proto.Message)

func (*CreateNamespaceResponse) XXX_Size

func (m *CreateNamespaceResponse) XXX_Size() int

func (*CreateNamespaceResponse) XXX_Unmarshal

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

type DeleteAccountRequest

type DeleteAccountRequest struct {
	ID                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteAccountRequest) Descriptor

func (*DeleteAccountRequest) Descriptor() ([]byte, []int)

func (*DeleteAccountRequest) GetID

func (m *DeleteAccountRequest) GetID() string

func (*DeleteAccountRequest) Marshal

func (m *DeleteAccountRequest) Marshal() (dAtA []byte, err error)

func (*DeleteAccountRequest) MarshalTo

func (m *DeleteAccountRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeleteAccountRequest) MarshalToSizedBuffer

func (m *DeleteAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteAccountRequest) ProtoMessage

func (*DeleteAccountRequest) ProtoMessage()

func (*DeleteAccountRequest) Reset

func (m *DeleteAccountRequest) Reset()

func (*DeleteAccountRequest) Size

func (m *DeleteAccountRequest) Size() (n int)

func (*DeleteAccountRequest) String

func (m *DeleteAccountRequest) String() string

func (*DeleteAccountRequest) Unmarshal

func (m *DeleteAccountRequest) Unmarshal(dAtA []byte) error

func (*DeleteAccountRequest) XXX_DiscardUnknown

func (m *DeleteAccountRequest) XXX_DiscardUnknown()

func (*DeleteAccountRequest) XXX_Marshal

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

func (*DeleteAccountRequest) XXX_Merge

func (m *DeleteAccountRequest) XXX_Merge(src proto.Message)

func (*DeleteAccountRequest) XXX_Size

func (m *DeleteAccountRequest) XXX_Size() int

func (*DeleteAccountRequest) XXX_Unmarshal

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

type GenerateAPITokenRequest

type GenerateAPITokenRequest struct {
	Description          string   `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GenerateAPITokenRequest) Descriptor

func (*GenerateAPITokenRequest) Descriptor() ([]byte, []int)

func (*GenerateAPITokenRequest) GetDescription

func (m *GenerateAPITokenRequest) GetDescription() string

func (*GenerateAPITokenRequest) Marshal

func (m *GenerateAPITokenRequest) Marshal() (dAtA []byte, err error)

func (*GenerateAPITokenRequest) MarshalTo

func (m *GenerateAPITokenRequest) MarshalTo(dAtA []byte) (int, error)

func (*GenerateAPITokenRequest) MarshalToSizedBuffer

func (m *GenerateAPITokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenerateAPITokenRequest) ProtoMessage

func (*GenerateAPITokenRequest) ProtoMessage()

func (*GenerateAPITokenRequest) Reset

func (m *GenerateAPITokenRequest) Reset()

func (*GenerateAPITokenRequest) Size

func (m *GenerateAPITokenRequest) Size() (n int)

func (*GenerateAPITokenRequest) String

func (m *GenerateAPITokenRequest) String() string

func (*GenerateAPITokenRequest) Unmarshal

func (m *GenerateAPITokenRequest) Unmarshal(dAtA []byte) error

func (*GenerateAPITokenRequest) XXX_DiscardUnknown

func (m *GenerateAPITokenRequest) XXX_DiscardUnknown()

func (*GenerateAPITokenRequest) XXX_Marshal

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

func (*GenerateAPITokenRequest) XXX_Merge

func (m *GenerateAPITokenRequest) XXX_Merge(src proto.Message)

func (*GenerateAPITokenRequest) XXX_Size

func (m *GenerateAPITokenRequest) XXX_Size() int

func (*GenerateAPITokenRequest) XXX_Unmarshal

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

type GenerateAPITokenResponse

type GenerateAPITokenResponse struct {
	APIToken             *APIToken `protobuf:"bytes,1,opt,name=api_token,json=apiToken,proto3" json:"api_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*GenerateAPITokenResponse) Descriptor

func (*GenerateAPITokenResponse) Descriptor() ([]byte, []int)

func (*GenerateAPITokenResponse) GetAPIToken

func (m *GenerateAPITokenResponse) GetAPIToken() *APIToken

func (*GenerateAPITokenResponse) Marshal

func (m *GenerateAPITokenResponse) Marshal() (dAtA []byte, err error)

func (*GenerateAPITokenResponse) MarshalTo

func (m *GenerateAPITokenResponse) MarshalTo(dAtA []byte) (int, error)

func (*GenerateAPITokenResponse) MarshalToSizedBuffer

func (m *GenerateAPITokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenerateAPITokenResponse) ProtoMessage

func (*GenerateAPITokenResponse) ProtoMessage()

func (*GenerateAPITokenResponse) Reset

func (m *GenerateAPITokenResponse) Reset()

func (*GenerateAPITokenResponse) Size

func (m *GenerateAPITokenResponse) Size() (n int)

func (*GenerateAPITokenResponse) String

func (m *GenerateAPITokenResponse) String() string

func (*GenerateAPITokenResponse) Unmarshal

func (m *GenerateAPITokenResponse) Unmarshal(dAtA []byte) error

func (*GenerateAPITokenResponse) XXX_DiscardUnknown

func (m *GenerateAPITokenResponse) XXX_DiscardUnknown()

func (*GenerateAPITokenResponse) XXX_Marshal

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

func (*GenerateAPITokenResponse) XXX_Merge

func (m *GenerateAPITokenResponse) XXX_Merge(src proto.Message)

func (*GenerateAPITokenResponse) XXX_Size

func (m *GenerateAPITokenResponse) XXX_Size() int

func (*GenerateAPITokenResponse) XXX_Unmarshal

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

type GenerateServiceTokenRequest

type GenerateServiceTokenRequest struct {
	Description          string        `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	TTL                  time.Duration `protobuf:"bytes,2,opt,name=ttl,proto3,stdduration" json:"ttl"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*GenerateServiceTokenRequest) Descriptor

func (*GenerateServiceTokenRequest) Descriptor() ([]byte, []int)

func (*GenerateServiceTokenRequest) GetDescription

func (m *GenerateServiceTokenRequest) GetDescription() string

func (*GenerateServiceTokenRequest) GetTTL

func (*GenerateServiceTokenRequest) Marshal

func (m *GenerateServiceTokenRequest) Marshal() (dAtA []byte, err error)

func (*GenerateServiceTokenRequest) MarshalTo

func (m *GenerateServiceTokenRequest) MarshalTo(dAtA []byte) (int, error)

func (*GenerateServiceTokenRequest) MarshalToSizedBuffer

func (m *GenerateServiceTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenerateServiceTokenRequest) ProtoMessage

func (*GenerateServiceTokenRequest) ProtoMessage()

func (*GenerateServiceTokenRequest) Reset

func (m *GenerateServiceTokenRequest) Reset()

func (*GenerateServiceTokenRequest) Size

func (m *GenerateServiceTokenRequest) Size() (n int)

func (*GenerateServiceTokenRequest) String

func (m *GenerateServiceTokenRequest) String() string

func (*GenerateServiceTokenRequest) Unmarshal

func (m *GenerateServiceTokenRequest) Unmarshal(dAtA []byte) error

func (*GenerateServiceTokenRequest) XXX_DiscardUnknown

func (m *GenerateServiceTokenRequest) XXX_DiscardUnknown()

func (*GenerateServiceTokenRequest) XXX_Marshal

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

func (*GenerateServiceTokenRequest) XXX_Merge

func (m *GenerateServiceTokenRequest) XXX_Merge(src proto.Message)

func (*GenerateServiceTokenRequest) XXX_Size

func (m *GenerateServiceTokenRequest) XXX_Size() int

func (*GenerateServiceTokenRequest) XXX_Unmarshal

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

type GenerateServiceTokenResponse

type GenerateServiceTokenResponse struct {
	ServiceToken         *ServiceToken `protobuf:"bytes,1,opt,name=service_token,json=serviceToken,proto3" json:"service_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*GenerateServiceTokenResponse) Descriptor

func (*GenerateServiceTokenResponse) Descriptor() ([]byte, []int)

func (*GenerateServiceTokenResponse) GetServiceToken

func (m *GenerateServiceTokenResponse) GetServiceToken() *ServiceToken

func (*GenerateServiceTokenResponse) Marshal

func (m *GenerateServiceTokenResponse) Marshal() (dAtA []byte, err error)

func (*GenerateServiceTokenResponse) MarshalTo

func (m *GenerateServiceTokenResponse) MarshalTo(dAtA []byte) (int, error)

func (*GenerateServiceTokenResponse) MarshalToSizedBuffer

func (m *GenerateServiceTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenerateServiceTokenResponse) ProtoMessage

func (*GenerateServiceTokenResponse) ProtoMessage()

func (*GenerateServiceTokenResponse) Reset

func (m *GenerateServiceTokenResponse) Reset()

func (*GenerateServiceTokenResponse) Size

func (m *GenerateServiceTokenResponse) Size() (n int)

func (*GenerateServiceTokenResponse) String

func (*GenerateServiceTokenResponse) Unmarshal

func (m *GenerateServiceTokenResponse) Unmarshal(dAtA []byte) error

func (*GenerateServiceTokenResponse) XXX_DiscardUnknown

func (m *GenerateServiceTokenResponse) XXX_DiscardUnknown()

func (*GenerateServiceTokenResponse) XXX_Marshal

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

func (*GenerateServiceTokenResponse) XXX_Merge

func (m *GenerateServiceTokenResponse) XXX_Merge(src proto.Message)

func (*GenerateServiceTokenResponse) XXX_Size

func (m *GenerateServiceTokenResponse) XXX_Size() int

func (*GenerateServiceTokenResponse) XXX_Unmarshal

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

type GetAccountProfileRequest

type GetAccountProfileRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAccountProfileRequest) Descriptor

func (*GetAccountProfileRequest) Descriptor() ([]byte, []int)

func (*GetAccountProfileRequest) Marshal

func (m *GetAccountProfileRequest) Marshal() (dAtA []byte, err error)

func (*GetAccountProfileRequest) MarshalTo

func (m *GetAccountProfileRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetAccountProfileRequest) MarshalToSizedBuffer

func (m *GetAccountProfileRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAccountProfileRequest) ProtoMessage

func (*GetAccountProfileRequest) ProtoMessage()

func (*GetAccountProfileRequest) Reset

func (m *GetAccountProfileRequest) Reset()

func (*GetAccountProfileRequest) Size

func (m *GetAccountProfileRequest) Size() (n int)

func (*GetAccountProfileRequest) String

func (m *GetAccountProfileRequest) String() string

func (*GetAccountProfileRequest) Unmarshal

func (m *GetAccountProfileRequest) Unmarshal(dAtA []byte) error

func (*GetAccountProfileRequest) XXX_DiscardUnknown

func (m *GetAccountProfileRequest) XXX_DiscardUnknown()

func (*GetAccountProfileRequest) XXX_Marshal

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

func (*GetAccountProfileRequest) XXX_Merge

func (m *GetAccountProfileRequest) XXX_Merge(src proto.Message)

func (*GetAccountProfileRequest) XXX_Size

func (m *GetAccountProfileRequest) XXX_Size() int

func (*GetAccountProfileRequest) XXX_Unmarshal

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

type GetAccountProfileResponse

type GetAccountProfileResponse struct {
	Account              *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAccountProfileResponse) Descriptor

func (*GetAccountProfileResponse) Descriptor() ([]byte, []int)

func (*GetAccountProfileResponse) GetAccount

func (m *GetAccountProfileResponse) GetAccount() *Account

func (*GetAccountProfileResponse) Marshal

func (m *GetAccountProfileResponse) Marshal() (dAtA []byte, err error)

func (*GetAccountProfileResponse) MarshalTo

func (m *GetAccountProfileResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetAccountProfileResponse) MarshalToSizedBuffer

func (m *GetAccountProfileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAccountProfileResponse) ProtoMessage

func (*GetAccountProfileResponse) ProtoMessage()

func (*GetAccountProfileResponse) Reset

func (m *GetAccountProfileResponse) Reset()

func (*GetAccountProfileResponse) Size

func (m *GetAccountProfileResponse) Size() (n int)

func (*GetAccountProfileResponse) String

func (m *GetAccountProfileResponse) String() string

func (*GetAccountProfileResponse) Unmarshal

func (m *GetAccountProfileResponse) Unmarshal(dAtA []byte) error

func (*GetAccountProfileResponse) XXX_DiscardUnknown

func (m *GetAccountProfileResponse) XXX_DiscardUnknown()

func (*GetAccountProfileResponse) XXX_Marshal

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

func (*GetAccountProfileResponse) XXX_Merge

func (m *GetAccountProfileResponse) XXX_Merge(src proto.Message)

func (*GetAccountProfileResponse) XXX_Size

func (m *GetAccountProfileResponse) XXX_Size() int

func (*GetAccountProfileResponse) XXX_Unmarshal

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

type GetAccountRequest

type GetAccountRequest struct {
	Username             string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAccountRequest) Descriptor

func (*GetAccountRequest) Descriptor() ([]byte, []int)

func (*GetAccountRequest) GetUsername

func (m *GetAccountRequest) GetUsername() string

func (*GetAccountRequest) Marshal

func (m *GetAccountRequest) Marshal() (dAtA []byte, err error)

func (*GetAccountRequest) MarshalTo

func (m *GetAccountRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetAccountRequest) MarshalToSizedBuffer

func (m *GetAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAccountRequest) ProtoMessage

func (*GetAccountRequest) ProtoMessage()

func (*GetAccountRequest) Reset

func (m *GetAccountRequest) Reset()

func (*GetAccountRequest) Size

func (m *GetAccountRequest) Size() (n int)

func (*GetAccountRequest) String

func (m *GetAccountRequest) String() string

func (*GetAccountRequest) Unmarshal

func (m *GetAccountRequest) Unmarshal(dAtA []byte) error

func (*GetAccountRequest) XXX_DiscardUnknown

func (m *GetAccountRequest) XXX_DiscardUnknown()

func (*GetAccountRequest) XXX_Marshal

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

func (*GetAccountRequest) XXX_Merge

func (m *GetAccountRequest) XXX_Merge(src proto.Message)

func (*GetAccountRequest) XXX_Size

func (m *GetAccountRequest) XXX_Size() int

func (*GetAccountRequest) XXX_Unmarshal

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

type GetAccountResponse

type GetAccountResponse struct {
	Account              *Account `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAccountResponse) Descriptor

func (*GetAccountResponse) Descriptor() ([]byte, []int)

func (*GetAccountResponse) GetAccount

func (m *GetAccountResponse) GetAccount() *Account

func (*GetAccountResponse) Marshal

func (m *GetAccountResponse) Marshal() (dAtA []byte, err error)

func (*GetAccountResponse) MarshalTo

func (m *GetAccountResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetAccountResponse) MarshalToSizedBuffer

func (m *GetAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAccountResponse) ProtoMessage

func (*GetAccountResponse) ProtoMessage()

func (*GetAccountResponse) Reset

func (m *GetAccountResponse) Reset()

func (*GetAccountResponse) Size

func (m *GetAccountResponse) Size() (n int)

func (*GetAccountResponse) String

func (m *GetAccountResponse) String() string

func (*GetAccountResponse) Unmarshal

func (m *GetAccountResponse) Unmarshal(dAtA []byte) error

func (*GetAccountResponse) XXX_DiscardUnknown

func (m *GetAccountResponse) XXX_DiscardUnknown()

func (*GetAccountResponse) XXX_Marshal

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

func (*GetAccountResponse) XXX_Merge

func (m *GetAccountResponse) XXX_Merge(src proto.Message)

func (*GetAccountResponse) XXX_Size

func (m *GetAccountResponse) XXX_Size() int

func (*GetAccountResponse) XXX_Unmarshal

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

type GetNamespaceRequest

type GetNamespaceRequest struct {
	ID                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetNamespaceRequest) Descriptor

func (*GetNamespaceRequest) Descriptor() ([]byte, []int)

func (*GetNamespaceRequest) GetID

func (m *GetNamespaceRequest) GetID() string

func (*GetNamespaceRequest) Marshal

func (m *GetNamespaceRequest) Marshal() (dAtA []byte, err error)

func (*GetNamespaceRequest) MarshalTo

func (m *GetNamespaceRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetNamespaceRequest) MarshalToSizedBuffer

func (m *GetNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetNamespaceRequest) ProtoMessage

func (*GetNamespaceRequest) ProtoMessage()

func (*GetNamespaceRequest) Reset

func (m *GetNamespaceRequest) Reset()

func (*GetNamespaceRequest) Size

func (m *GetNamespaceRequest) Size() (n int)

func (*GetNamespaceRequest) String

func (m *GetNamespaceRequest) String() string

func (*GetNamespaceRequest) Unmarshal

func (m *GetNamespaceRequest) Unmarshal(dAtA []byte) error

func (*GetNamespaceRequest) XXX_DiscardUnknown

func (m *GetNamespaceRequest) XXX_DiscardUnknown()

func (*GetNamespaceRequest) XXX_Marshal

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

func (*GetNamespaceRequest) XXX_Merge

func (m *GetNamespaceRequest) XXX_Merge(src proto.Message)

func (*GetNamespaceRequest) XXX_Size

func (m *GetNamespaceRequest) XXX_Size() int

func (*GetNamespaceRequest) XXX_Unmarshal

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

type GetNamespaceResponse

type GetNamespaceResponse struct {
	Namespace            *Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*GetNamespaceResponse) Descriptor

func (*GetNamespaceResponse) Descriptor() ([]byte, []int)

func (*GetNamespaceResponse) GetNamespace

func (m *GetNamespaceResponse) GetNamespace() *Namespace

func (*GetNamespaceResponse) Marshal

func (m *GetNamespaceResponse) Marshal() (dAtA []byte, err error)

func (*GetNamespaceResponse) MarshalTo

func (m *GetNamespaceResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetNamespaceResponse) MarshalToSizedBuffer

func (m *GetNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetNamespaceResponse) ProtoMessage

func (*GetNamespaceResponse) ProtoMessage()

func (*GetNamespaceResponse) Reset

func (m *GetNamespaceResponse) Reset()

func (*GetNamespaceResponse) Size

func (m *GetNamespaceResponse) Size() (n int)

func (*GetNamespaceResponse) String

func (m *GetNamespaceResponse) String() string

func (*GetNamespaceResponse) Unmarshal

func (m *GetNamespaceResponse) Unmarshal(dAtA []byte) error

func (*GetNamespaceResponse) XXX_DiscardUnknown

func (m *GetNamespaceResponse) XXX_DiscardUnknown()

func (*GetNamespaceResponse) XXX_Marshal

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

func (*GetNamespaceResponse) XXX_Merge

func (m *GetNamespaceResponse) XXX_Merge(src proto.Message)

func (*GetNamespaceResponse) XXX_Size

func (m *GetNamespaceResponse) XXX_Size() int

func (*GetNamespaceResponse) XXX_Unmarshal

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

type ListAccountsRequest

type ListAccountsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListAccountsRequest) Descriptor

func (*ListAccountsRequest) Descriptor() ([]byte, []int)

func (*ListAccountsRequest) Marshal

func (m *ListAccountsRequest) Marshal() (dAtA []byte, err error)

func (*ListAccountsRequest) MarshalTo

func (m *ListAccountsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListAccountsRequest) MarshalToSizedBuffer

func (m *ListAccountsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListAccountsRequest) ProtoMessage

func (*ListAccountsRequest) ProtoMessage()

func (*ListAccountsRequest) Reset

func (m *ListAccountsRequest) Reset()

func (*ListAccountsRequest) Size

func (m *ListAccountsRequest) Size() (n int)

func (*ListAccountsRequest) String

func (m *ListAccountsRequest) String() string

func (*ListAccountsRequest) Unmarshal

func (m *ListAccountsRequest) Unmarshal(dAtA []byte) error

func (*ListAccountsRequest) XXX_DiscardUnknown

func (m *ListAccountsRequest) XXX_DiscardUnknown()

func (*ListAccountsRequest) XXX_Marshal

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

func (*ListAccountsRequest) XXX_Merge

func (m *ListAccountsRequest) XXX_Merge(src proto.Message)

func (*ListAccountsRequest) XXX_Size

func (m *ListAccountsRequest) XXX_Size() int

func (*ListAccountsRequest) XXX_Unmarshal

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

type ListAccountsResponse

type ListAccountsResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListAccountsResponse) Descriptor

func (*ListAccountsResponse) Descriptor() ([]byte, []int)

func (*ListAccountsResponse) Marshal

func (m *ListAccountsResponse) Marshal() (dAtA []byte, err error)

func (*ListAccountsResponse) MarshalTo

func (m *ListAccountsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListAccountsResponse) MarshalToSizedBuffer

func (m *ListAccountsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListAccountsResponse) ProtoMessage

func (*ListAccountsResponse) ProtoMessage()

func (*ListAccountsResponse) Reset

func (m *ListAccountsResponse) Reset()

func (*ListAccountsResponse) Size

func (m *ListAccountsResponse) Size() (n int)

func (*ListAccountsResponse) String

func (m *ListAccountsResponse) String() string

func (*ListAccountsResponse) Unmarshal

func (m *ListAccountsResponse) Unmarshal(dAtA []byte) error

func (*ListAccountsResponse) XXX_DiscardUnknown

func (m *ListAccountsResponse) XXX_DiscardUnknown()

func (*ListAccountsResponse) XXX_Marshal

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

func (*ListAccountsResponse) XXX_Merge

func (m *ListAccountsResponse) XXX_Merge(src proto.Message)

func (*ListAccountsResponse) XXX_Size

func (m *ListAccountsResponse) XXX_Size() int

func (*ListAccountsResponse) XXX_Unmarshal

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

type ListNamespacesRequest

type ListNamespacesRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListNamespacesRequest) Descriptor

func (*ListNamespacesRequest) Descriptor() ([]byte, []int)

func (*ListNamespacesRequest) Marshal

func (m *ListNamespacesRequest) Marshal() (dAtA []byte, err error)

func (*ListNamespacesRequest) MarshalTo

func (m *ListNamespacesRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListNamespacesRequest) MarshalToSizedBuffer

func (m *ListNamespacesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListNamespacesRequest) ProtoMessage

func (*ListNamespacesRequest) ProtoMessage()

func (*ListNamespacesRequest) Reset

func (m *ListNamespacesRequest) Reset()

func (*ListNamespacesRequest) Size

func (m *ListNamespacesRequest) Size() (n int)

func (*ListNamespacesRequest) String

func (m *ListNamespacesRequest) String() string

func (*ListNamespacesRequest) Unmarshal

func (m *ListNamespacesRequest) Unmarshal(dAtA []byte) error

func (*ListNamespacesRequest) XXX_DiscardUnknown

func (m *ListNamespacesRequest) XXX_DiscardUnknown()

func (*ListNamespacesRequest) XXX_Marshal

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

func (*ListNamespacesRequest) XXX_Merge

func (m *ListNamespacesRequest) XXX_Merge(src proto.Message)

func (*ListNamespacesRequest) XXX_Size

func (m *ListNamespacesRequest) XXX_Size() int

func (*ListNamespacesRequest) XXX_Unmarshal

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

type ListNamespacesResponse

type ListNamespacesResponse struct {
	Namespaces           []*Namespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ListNamespacesResponse) Descriptor

func (*ListNamespacesResponse) Descriptor() ([]byte, []int)

func (*ListNamespacesResponse) GetNamespaces

func (m *ListNamespacesResponse) GetNamespaces() []*Namespace

func (*ListNamespacesResponse) Marshal

func (m *ListNamespacesResponse) Marshal() (dAtA []byte, err error)

func (*ListNamespacesResponse) MarshalTo

func (m *ListNamespacesResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListNamespacesResponse) MarshalToSizedBuffer

func (m *ListNamespacesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListNamespacesResponse) ProtoMessage

func (*ListNamespacesResponse) ProtoMessage()

func (*ListNamespacesResponse) Reset

func (m *ListNamespacesResponse) Reset()

func (*ListNamespacesResponse) Size

func (m *ListNamespacesResponse) Size() (n int)

func (*ListNamespacesResponse) String

func (m *ListNamespacesResponse) String() string

func (*ListNamespacesResponse) Unmarshal

func (m *ListNamespacesResponse) Unmarshal(dAtA []byte) error

func (*ListNamespacesResponse) XXX_DiscardUnknown

func (m *ListNamespacesResponse) XXX_DiscardUnknown()

func (*ListNamespacesResponse) XXX_Marshal

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

func (*ListNamespacesResponse) XXX_Merge

func (m *ListNamespacesResponse) XXX_Merge(src proto.Message)

func (*ListNamespacesResponse) XXX_Size

func (m *ListNamespacesResponse) XXX_Size() int

func (*ListNamespacesResponse) XXX_Unmarshal

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

type ListServiceTokensRequest

type ListServiceTokensRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListServiceTokensRequest) Descriptor

func (*ListServiceTokensRequest) Descriptor() ([]byte, []int)

func (*ListServiceTokensRequest) Marshal

func (m *ListServiceTokensRequest) Marshal() (dAtA []byte, err error)

func (*ListServiceTokensRequest) MarshalTo

func (m *ListServiceTokensRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListServiceTokensRequest) MarshalToSizedBuffer

func (m *ListServiceTokensRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListServiceTokensRequest) ProtoMessage

func (*ListServiceTokensRequest) ProtoMessage()

func (*ListServiceTokensRequest) Reset

func (m *ListServiceTokensRequest) Reset()

func (*ListServiceTokensRequest) Size

func (m *ListServiceTokensRequest) Size() (n int)

func (*ListServiceTokensRequest) String

func (m *ListServiceTokensRequest) String() string

func (*ListServiceTokensRequest) Unmarshal

func (m *ListServiceTokensRequest) Unmarshal(dAtA []byte) error

func (*ListServiceTokensRequest) XXX_DiscardUnknown

func (m *ListServiceTokensRequest) XXX_DiscardUnknown()

func (*ListServiceTokensRequest) XXX_Marshal

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

func (*ListServiceTokensRequest) XXX_Merge

func (m *ListServiceTokensRequest) XXX_Merge(src proto.Message)

func (*ListServiceTokensRequest) XXX_Size

func (m *ListServiceTokensRequest) XXX_Size() int

func (*ListServiceTokensRequest) XXX_Unmarshal

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

type ListServiceTokensResponse

type ListServiceTokensResponse struct {
	ServiceTokens        []*ServiceToken `protobuf:"bytes,1,rep,name=service_tokens,json=serviceTokens,proto3" json:"service_tokens,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ListServiceTokensResponse) Descriptor

func (*ListServiceTokensResponse) Descriptor() ([]byte, []int)

func (*ListServiceTokensResponse) GetServiceTokens

func (m *ListServiceTokensResponse) GetServiceTokens() []*ServiceToken

func (*ListServiceTokensResponse) Marshal

func (m *ListServiceTokensResponse) Marshal() (dAtA []byte, err error)

func (*ListServiceTokensResponse) MarshalTo

func (m *ListServiceTokensResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListServiceTokensResponse) MarshalToSizedBuffer

func (m *ListServiceTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListServiceTokensResponse) ProtoMessage

func (*ListServiceTokensResponse) ProtoMessage()

func (*ListServiceTokensResponse) Reset

func (m *ListServiceTokensResponse) Reset()

func (*ListServiceTokensResponse) Size

func (m *ListServiceTokensResponse) Size() (n int)

func (*ListServiceTokensResponse) String

func (m *ListServiceTokensResponse) String() string

func (*ListServiceTokensResponse) Unmarshal

func (m *ListServiceTokensResponse) Unmarshal(dAtA []byte) error

func (*ListServiceTokensResponse) XXX_DiscardUnknown

func (m *ListServiceTokensResponse) XXX_DiscardUnknown()

func (*ListServiceTokensResponse) XXX_Marshal

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

func (*ListServiceTokensResponse) XXX_Merge

func (m *ListServiceTokensResponse) XXX_Merge(src proto.Message)

func (*ListServiceTokensResponse) XXX_Size

func (m *ListServiceTokensResponse) XXX_Size() int

func (*ListServiceTokensResponse) XXX_Unmarshal

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

type Namespace

type Namespace struct {
	ID                   string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt            time.Time `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"`
	Name                 string    `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description          string    `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	OwnerID              string    `protobuf:"bytes,5,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	Members              []string  `protobuf:"bytes,6,rep,name=members,proto3" json:"members,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*Namespace) Descriptor

func (*Namespace) Descriptor() ([]byte, []int)

func (*Namespace) GetCreatedAt

func (m *Namespace) GetCreatedAt() time.Time

func (*Namespace) GetDescription

func (m *Namespace) GetDescription() string

func (*Namespace) GetID

func (m *Namespace) GetID() string

func (*Namespace) GetMembers

func (m *Namespace) GetMembers() []string

func (*Namespace) GetName

func (m *Namespace) GetName() string

func (*Namespace) GetOwnerID

func (m *Namespace) GetOwnerID() string

func (*Namespace) Marshal

func (m *Namespace) Marshal() (dAtA []byte, err error)

func (*Namespace) MarshalTo

func (m *Namespace) MarshalTo(dAtA []byte) (int, error)

func (*Namespace) MarshalToSizedBuffer

func (m *Namespace) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) Reset

func (m *Namespace) Reset()

func (*Namespace) Scan added in v0.2.0

func (n *Namespace) Scan(value interface{}) error

func (*Namespace) Size

func (m *Namespace) Size() (n int)

func (*Namespace) String

func (m *Namespace) String() string

func (*Namespace) Unmarshal

func (m *Namespace) Unmarshal(dAtA []byte) error

func (*Namespace) Value added in v0.2.0

func (n *Namespace) Value() (driver.Value, error)

Namespace

func (*Namespace) XXX_DiscardUnknown

func (m *Namespace) XXX_DiscardUnknown()

func (*Namespace) XXX_Marshal

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

func (*Namespace) XXX_Merge

func (m *Namespace) XXX_Merge(src proto.Message)

func (*Namespace) XXX_Size

func (m *Namespace) XXX_Size() int

func (*Namespace) XXX_Unmarshal

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

type ServiceToken

type ServiceToken struct {
	Token                string    `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Description          string    `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	CreatedAt            time.Time `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"`
	AccessedAt           time.Time `protobuf:"bytes,4,opt,name=accessed_at,json=accessedAt,proto3,stdtime" json:"accessed_at"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*ServiceToken) Descriptor

func (*ServiceToken) Descriptor() ([]byte, []int)

func (*ServiceToken) GetAccessedAt

func (m *ServiceToken) GetAccessedAt() time.Time

func (*ServiceToken) GetCreatedAt

func (m *ServiceToken) GetCreatedAt() time.Time

func (*ServiceToken) GetDescription

func (m *ServiceToken) GetDescription() string

func (*ServiceToken) GetToken

func (m *ServiceToken) GetToken() string

func (*ServiceToken) Marshal

func (m *ServiceToken) Marshal() (dAtA []byte, err error)

func (*ServiceToken) MarshalTo

func (m *ServiceToken) MarshalTo(dAtA []byte) (int, error)

func (*ServiceToken) MarshalToSizedBuffer

func (m *ServiceToken) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ServiceToken) ProtoMessage

func (*ServiceToken) ProtoMessage()

func (*ServiceToken) Reset

func (m *ServiceToken) Reset()

func (*ServiceToken) Scan added in v0.2.0

func (t *ServiceToken) Scan(value interface{}) error

func (*ServiceToken) Size

func (m *ServiceToken) Size() (n int)

func (*ServiceToken) String

func (m *ServiceToken) String() string

func (*ServiceToken) Unmarshal

func (m *ServiceToken) Unmarshal(dAtA []byte) error

func (*ServiceToken) Value added in v0.2.0

func (t *ServiceToken) Value() (driver.Value, error)

ServiceToken

func (*ServiceToken) XXX_DiscardUnknown

func (m *ServiceToken) XXX_DiscardUnknown()

func (*ServiceToken) XXX_Marshal

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

func (*ServiceToken) XXX_Merge

func (m *ServiceToken) XXX_Merge(src proto.Message)

func (*ServiceToken) XXX_Size

func (m *ServiceToken) XXX_Size() int

func (*ServiceToken) XXX_Unmarshal

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

type UnimplementedAccountsServer

type UnimplementedAccountsServer struct {
}

UnimplementedAccountsServer can be embedded to have forward compatible implementations.

func (*UnimplementedAccountsServer) Authenticate

func (*UnimplementedAccountsServer) Authenticated

func (*UnimplementedAccountsServer) ChangePassword

func (*UnimplementedAccountsServer) CreateAccount

func (*UnimplementedAccountsServer) CreateNamespace

func (*UnimplementedAccountsServer) DeleteAccount

func (*UnimplementedAccountsServer) GenerateAPIToken

func (*UnimplementedAccountsServer) GenerateServiceToken

func (*UnimplementedAccountsServer) GetAccount

func (*UnimplementedAccountsServer) GetAccountProfile

func (*UnimplementedAccountsServer) GetNamespace

func (*UnimplementedAccountsServer) ListAccounts

func (*UnimplementedAccountsServer) ListNamespaces

func (*UnimplementedAccountsServer) ListServiceTokens

func (*UnimplementedAccountsServer) UpdateAccount

type UpdateAccountRequest

type UpdateAccountRequest struct {
	Account              *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateAccountRequest) Descriptor

func (*UpdateAccountRequest) Descriptor() ([]byte, []int)

func (*UpdateAccountRequest) GetAccount

func (m *UpdateAccountRequest) GetAccount() *Account

func (*UpdateAccountRequest) Marshal

func (m *UpdateAccountRequest) Marshal() (dAtA []byte, err error)

func (*UpdateAccountRequest) MarshalTo

func (m *UpdateAccountRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpdateAccountRequest) MarshalToSizedBuffer

func (m *UpdateAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateAccountRequest) ProtoMessage

func (*UpdateAccountRequest) ProtoMessage()

func (*UpdateAccountRequest) Reset

func (m *UpdateAccountRequest) Reset()

func (*UpdateAccountRequest) Size

func (m *UpdateAccountRequest) Size() (n int)

func (*UpdateAccountRequest) String

func (m *UpdateAccountRequest) String() string

func (*UpdateAccountRequest) Unmarshal

func (m *UpdateAccountRequest) Unmarshal(dAtA []byte) error

func (*UpdateAccountRequest) XXX_DiscardUnknown

func (m *UpdateAccountRequest) XXX_DiscardUnknown()

func (*UpdateAccountRequest) XXX_Marshal

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

func (*UpdateAccountRequest) XXX_Merge

func (m *UpdateAccountRequest) XXX_Merge(src proto.Message)

func (*UpdateAccountRequest) XXX_Size

func (m *UpdateAccountRequest) XXX_Size() int

func (*UpdateAccountRequest) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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