Documentation ¶
Index ¶
- Variables
- func RegisterAccountServiceServer(s *grpc.Server, srv AccountServiceServer)
- func RegisterNamespacesServer(s *grpc.Server, srv NamespacesServer)
- func RegisterObjectServiceServer(s *grpc.Server, srv ObjectServiceServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetDefaultNamespace() *Namespace
- func (x *Account) GetEnabled() bool
- func (x *Account) GetIsAdmin() bool
- func (x *Account) GetIsRoot() bool
- func (x *Account) GetName() string
- func (x *Account) GetOwner() string
- func (x *Account) GetPassword() string
- func (x *Account) GetUid() string
- func (x *Account) GetUsername() string
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountServiceClient
- type AccountServiceServer
- type Action
- type AuthenticateRequest
- func (*AuthenticateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateRequest) GetPassword() string
- func (x *AuthenticateRequest) GetUsername() string
- func (*AuthenticateRequest) ProtoMessage()
- func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateRequest) Reset()
- func (x *AuthenticateRequest) String() string
- type AuthenticateResponse
- func (*AuthenticateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateResponse) GetAccount() *Account
- func (x *AuthenticateResponse) GetDefaultNamespace() string
- func (x *AuthenticateResponse) GetSuccess() bool
- func (*AuthenticateResponse) ProtoMessage()
- func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message
- func (x *AuthenticateResponse) Reset()
- func (x *AuthenticateResponse) String() string
- type AuthorizeNamespaceRequest
- func (*AuthorizeNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizeNamespaceRequest) GetAccount() string
- func (x *AuthorizeNamespaceRequest) GetAction() Action
- func (x *AuthorizeNamespaceRequest) GetNamespace() string
- func (*AuthorizeNamespaceRequest) ProtoMessage()
- func (x *AuthorizeNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *AuthorizeNamespaceRequest) Reset()
- func (x *AuthorizeNamespaceRequest) String() string
- type AuthorizeNamespaceResponse
- type AuthorizeRequest
- func (*AuthorizeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizeRequest) GetAccount() string
- func (x *AuthorizeRequest) GetAction() string
- func (x *AuthorizeRequest) GetInherit() bool
- func (x *AuthorizeRequest) GetNode() string
- func (*AuthorizeRequest) ProtoMessage()
- func (x *AuthorizeRequest) ProtoReflect() protoreflect.Message
- func (x *AuthorizeRequest) Reset()
- func (x *AuthorizeRequest) String() string
- type AuthorizeResponse
- type CreateNamespaceRequest
- func (*CreateNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNamespaceRequest) GetName() string
- func (*CreateNamespaceRequest) ProtoMessage()
- func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNamespaceRequest) Reset()
- func (x *CreateNamespaceRequest) String() string
- type CreateObjectRequest
- func (*CreateObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateObjectRequest) GetKind() string
- func (x *CreateObjectRequest) GetName() string
- func (x *CreateObjectRequest) GetNamespaceid() string
- func (x *CreateObjectRequest) GetParent() string
- func (*CreateObjectRequest) ProtoMessage()
- func (x *CreateObjectRequest) ProtoReflect() protoreflect.Message
- func (x *CreateObjectRequest) Reset()
- func (x *CreateObjectRequest) String() string
- type CreateUserAccountRequest
- func (*CreateUserAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserAccountRequest) GetAccount() *Account
- func (x *CreateUserAccountRequest) GetCreateGfUser() bool
- func (x *CreateUserAccountRequest) GetPassword() string
- func (*CreateUserAccountRequest) ProtoMessage()
- func (x *CreateUserAccountRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserAccountRequest) Reset()
- func (x *CreateUserAccountRequest) String() string
- type CreateUserAccountResponse
- func (*CreateUserAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserAccountResponse) GetUid() string
- func (*CreateUserAccountResponse) ProtoMessage()
- func (x *CreateUserAccountResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUserAccountResponse) Reset()
- func (x *CreateUserAccountResponse) String() string
- type DeleteAccountRequest
- func (*DeleteAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAccountRequest) GetHarddelete() bool
- func (x *DeleteAccountRequest) GetUid() string
- func (*DeleteAccountRequest) ProtoMessage()
- func (x *DeleteAccountRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAccountRequest) Reset()
- func (x *DeleteAccountRequest) String() string
- type DeleteAccountResponse
- type DeleteNamespaceRequest
- func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNamespaceRequest) GetHarddelete() bool
- func (x *DeleteNamespaceRequest) GetNamespaceid() string
- func (*DeleteNamespaceRequest) ProtoMessage()
- func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNamespaceRequest) Reset()
- func (x *DeleteNamespaceRequest) String() string
- type DeleteNamespaceResponse
- type DeleteObjectRequest
- func (*DeleteObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteObjectRequest) GetUid() string
- func (*DeleteObjectRequest) ProtoMessage()
- func (x *DeleteObjectRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteObjectRequest) Reset()
- func (x *DeleteObjectRequest) String() string
- type DeleteObjectResponse
- type DeletePermissionRequest
- func (*DeletePermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePermissionRequest) GetAccountId() string
- func (x *DeletePermissionRequest) GetNamespace() string
- func (*DeletePermissionRequest) ProtoMessage()
- func (x *DeletePermissionRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePermissionRequest) Reset()
- func (x *DeletePermissionRequest) String() string
- type DeletePermissionResponse
- type GetAccountRequest
- type GetNamespaceRequest
- func (*GetNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNamespaceRequest) GetNamespace() string
- func (*GetNamespaceRequest) ProtoMessage()
- func (x *GetNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *GetNamespaceRequest) Reset()
- func (x *GetNamespaceRequest) String() string
- type IsAdminRequest
- type IsAdminResponse
- type IsAuthorizedNamespaceRequest
- func (*IsAuthorizedNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsAuthorizedNamespaceRequest) GetAccount() string
- func (x *IsAuthorizedNamespaceRequest) GetAction() Action
- func (x *IsAuthorizedNamespaceRequest) GetNamespaceid() string
- func (*IsAuthorizedNamespaceRequest) ProtoMessage()
- func (x *IsAuthorizedNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *IsAuthorizedNamespaceRequest) Reset()
- func (x *IsAuthorizedNamespaceRequest) String() string
- type IsAuthorizedNamespaceResponse
- func (*IsAuthorizedNamespaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsAuthorizedNamespaceResponse) GetDecision() *wrappers.BoolValue
- func (*IsAuthorizedNamespaceResponse) ProtoMessage()
- func (x *IsAuthorizedNamespaceResponse) ProtoReflect() protoreflect.Message
- func (x *IsAuthorizedNamespaceResponse) Reset()
- func (x *IsAuthorizedNamespaceResponse) String() string
- type IsAuthorizedRequest
- func (*IsAuthorizedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsAuthorizedRequest) GetAccount() string
- func (x *IsAuthorizedRequest) GetAction() Action
- func (x *IsAuthorizedRequest) GetNode() string
- func (*IsAuthorizedRequest) ProtoMessage()
- func (x *IsAuthorizedRequest) ProtoReflect() protoreflect.Message
- func (x *IsAuthorizedRequest) Reset()
- func (x *IsAuthorizedRequest) String() string
- type IsAuthorizedResponse
- func (*IsAuthorizedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsAuthorizedResponse) GetDecision() *wrappers.BoolValue
- func (*IsAuthorizedResponse) ProtoMessage()
- func (x *IsAuthorizedResponse) ProtoReflect() protoreflect.Message
- func (x *IsAuthorizedResponse) Reset()
- func (x *IsAuthorizedResponse) String() string
- type IsRootRequest
- type IsRootResponse
- type ListAccountsRequest
- type ListAccountsResponse
- func (*ListAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountsResponse) GetAccounts() []*Account
- func (*ListAccountsResponse) ProtoMessage()
- func (x *ListAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAccountsResponse) Reset()
- func (x *ListAccountsResponse) String() string
- type ListNamespacesForAccountRequest
- func (*ListNamespacesForAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNamespacesForAccountRequest) GetAccount() string
- func (*ListNamespacesForAccountRequest) ProtoMessage()
- func (x *ListNamespacesForAccountRequest) ProtoReflect() protoreflect.Message
- func (x *ListNamespacesForAccountRequest) Reset()
- func (x *ListNamespacesForAccountRequest) String() string
- type ListNamespacesRequest
- type ListNamespacesResponse
- func (*ListNamespacesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNamespacesResponse) GetNamespaces() []*Namespace
- func (*ListNamespacesResponse) ProtoMessage()
- func (x *ListNamespacesResponse) ProtoReflect() protoreflect.Message
- func (x *ListNamespacesResponse) Reset()
- func (x *ListNamespacesResponse) String() string
- type ListObjectsRequest
- func (*ListObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListObjectsRequest) GetAccount() string
- func (x *ListObjectsRequest) GetNamespace() string
- func (x *ListObjectsRequest) GetRecurse() bool
- func (*ListObjectsRequest) ProtoMessage()
- func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListObjectsRequest) Reset()
- func (x *ListObjectsRequest) String() string
- type ListObjectsResponse
- func (*ListObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListObjectsResponse) GetObjects() []*Object
- func (*ListObjectsResponse) ProtoMessage()
- func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListObjectsResponse) Reset()
- func (x *ListObjectsResponse) String() string
- type ListPermissionsRequest
- func (*ListPermissionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPermissionsRequest) GetNamespace() string
- func (*ListPermissionsRequest) ProtoMessage()
- func (x *ListPermissionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPermissionsRequest) Reset()
- func (x *ListPermissionsRequest) String() string
- type ListPermissionsResponse
- func (*ListPermissionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPermissionsResponse) GetPermissions() []*Permission
- func (*ListPermissionsResponse) ProtoMessage()
- func (x *ListPermissionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPermissionsResponse) Reset()
- func (x *ListPermissionsResponse) String() string
- type Namespace
- func (*Namespace) Descriptor() ([]byte, []int)deprecated
- func (x *Namespace) GetDeleteinitiationtime() string
- func (x *Namespace) GetId() string
- func (x *Namespace) GetMarkfordeletion() bool
- func (x *Namespace) GetName() string
- func (*Namespace) ProtoMessage()
- func (x *Namespace) ProtoReflect() protoreflect.Message
- func (x *Namespace) Reset()
- func (x *Namespace) String() string
- type NamespacesClient
- type NamespacesServer
- type Object
- func (*Object) Descriptor() ([]byte, []int)deprecated
- func (x *Object) GetKind() string
- func (x *Object) GetName() string
- func (x *Object) GetObjects() []*Object
- func (x *Object) GetUid() string
- func (*Object) ProtoMessage()
- func (x *Object) ProtoReflect() protoreflect.Message
- func (x *Object) Reset()
- func (x *Object) String() string
- type ObjectServiceClient
- type ObjectServiceServer
- type OwnershipRequest
- func (*OwnershipRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OwnershipRequest) GetAccountid() string
- func (x *OwnershipRequest) GetOwnerid() string
- func (*OwnershipRequest) ProtoMessage()
- func (x *OwnershipRequest) ProtoReflect() protoreflect.Message
- func (x *OwnershipRequest) Reset()
- func (x *OwnershipRequest) String() string
- type OwnershipResponse
- type Permission
- func (*Permission) Descriptor() ([]byte, []int)deprecated
- func (x *Permission) GetAccountId() string
- func (x *Permission) GetAccountName() string
- func (x *Permission) GetAction() Action
- func (x *Permission) GetNamespace() string
- func (*Permission) ProtoMessage()
- func (x *Permission) ProtoReflect() protoreflect.Message
- func (x *Permission) Reset()
- func (x *Permission) String() string
- type SetPasswordRequest
- func (*SetPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetPasswordRequest) GetPassword() string
- func (x *SetPasswordRequest) GetUsername() string
- func (*SetPasswordRequest) ProtoMessage()
- func (x *SetPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *SetPasswordRequest) Reset()
- func (x *SetPasswordRequest) String() string
- type SetPasswordResponse
- type UnimplementedAccountServiceServer
- func (*UnimplementedAccountServiceServer) AssignOwner(context.Context, *OwnershipRequest) (*OwnershipResponse, error)
- func (*UnimplementedAccountServiceServer) Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
- func (*UnimplementedAccountServiceServer) Authorize(context.Context, *AuthorizeRequest) (*AuthorizeResponse, error)
- func (*UnimplementedAccountServiceServer) AuthorizeNamespace(context.Context, *AuthorizeNamespaceRequest) (*AuthorizeNamespaceResponse, error)
- func (*UnimplementedAccountServiceServer) CreateUserAccount(context.Context, *CreateUserAccountRequest) (*CreateUserAccountResponse, error)
- func (*UnimplementedAccountServiceServer) DeleteAccount(context.Context, *DeleteAccountRequest) (*DeleteAccountResponse, error)
- func (*UnimplementedAccountServiceServer) GetAccount(context.Context, *GetAccountRequest) (*Account, error)
- func (*UnimplementedAccountServiceServer) IsAdmin(context.Context, *IsAdminRequest) (*IsAdminResponse, error)
- func (*UnimplementedAccountServiceServer) IsAuthorized(context.Context, *IsAuthorizedRequest) (*IsAuthorizedResponse, error)
- func (*UnimplementedAccountServiceServer) IsAuthorizedNamespace(context.Context, *IsAuthorizedNamespaceRequest) (*IsAuthorizedNamespaceResponse, error)
- func (*UnimplementedAccountServiceServer) IsRoot(context.Context, *IsRootRequest) (*IsRootResponse, error)
- func (*UnimplementedAccountServiceServer) ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error)
- func (*UnimplementedAccountServiceServer) RemoveOwner(context.Context, *OwnershipRequest) (*OwnershipResponse, error)
- func (*UnimplementedAccountServiceServer) SetPassword(context.Context, *SetPasswordRequest) (*SetPasswordResponse, error)
- func (*UnimplementedAccountServiceServer) UpdateAccount(context.Context, *UpdateAccountRequest) (*UpdateAccountResponse, error)
- type UnimplementedNamespacesServer
- func (*UnimplementedNamespacesServer) CreateNamespace(context.Context, *CreateNamespaceRequest) (*Namespace, error)
- func (*UnimplementedNamespacesServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error)
- func (*UnimplementedNamespacesServer) DeletePermission(context.Context, *DeletePermissionRequest) (*DeletePermissionResponse, error)
- func (*UnimplementedNamespacesServer) GetNamespace(context.Context, *GetNamespaceRequest) (*Namespace, error)
- func (*UnimplementedNamespacesServer) ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error)
- func (*UnimplementedNamespacesServer) ListPermissions(context.Context, *ListPermissionsRequest) (*ListPermissionsResponse, error)
- func (*UnimplementedNamespacesServer) UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*UpdateNamespaceResponse, error)
- type UnimplementedObjectServiceServer
- func (*UnimplementedObjectServiceServer) CreateObject(context.Context, *CreateObjectRequest) (*Object, error)
- func (*UnimplementedObjectServiceServer) DeleteObject(context.Context, *DeleteObjectRequest) (*DeleteObjectResponse, error)
- func (*UnimplementedObjectServiceServer) ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error)
- type UpdateAccountRequest
- func (*UpdateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAccountRequest) GetAccount() *Account
- func (x *UpdateAccountRequest) GetFieldMask() *field_mask.FieldMask
- func (*UpdateAccountRequest) ProtoMessage()
- func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAccountRequest) Reset()
- func (x *UpdateAccountRequest) String() string
- type UpdateAccountResponse
- type UpdateNamespaceRequest
- func (*UpdateNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNamespaceRequest) GetNamespace() *Namespace
- func (x *UpdateNamespaceRequest) GetNamespaceMask() *field_mask.FieldMask
- func (*UpdateNamespaceRequest) ProtoMessage()
- func (x *UpdateNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNamespaceRequest) Reset()
- func (x *UpdateNamespaceRequest) String() string
- type UpdateNamespaceResponse
Constants ¶
This section is empty.
Variables ¶
var ( Action_name = map[int32]string{ 0: "NONE", 1: "READ", 2: "WRITE", } Action_value = map[string]int32{ "NONE": 0, "READ": 1, "WRITE": 2, } )
Enum value maps for Action.
var File_pkg_node_nodepb_node_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAccountServiceServer ¶
func RegisterAccountServiceServer(s *grpc.Server, srv AccountServiceServer)
func RegisterNamespacesServer ¶
func RegisterNamespacesServer(s *grpc.Server, srv NamespacesServer)
func RegisterObjectServiceServer ¶
func RegisterObjectServiceServer(s *grpc.Server, srv ObjectServiceServer)
Types ¶
type Account ¶
type Account struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` IsRoot bool `protobuf:"varint,3,opt,name=is_root,json=isRoot,proto3" json:"is_root,omitempty"` Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"` DefaultNamespace *Namespace `protobuf:"bytes,5,opt,name=default_namespace,json=defaultNamespace,proto3" json:"default_namespace,omitempty"` Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"` IsAdmin bool `protobuf:"varint,7,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"` Owner string `protobuf:"bytes,8,opt,name=owner,proto3" json:"owner,omitempty"` Username string `protobuf:"bytes,9,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
func (*Account) GetDefaultNamespace ¶
func (*Account) GetEnabled ¶
func (*Account) GetIsAdmin ¶ added in v0.1.5
func (*Account) GetPassword ¶ added in v0.1.4
func (*Account) GetUsername ¶ added in v0.1.5
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶ added in v0.1.5
func (x *Account) ProtoReflect() protoreflect.Message
type AccountServiceClient ¶
type AccountServiceClient interface { CreateUserAccount(ctx context.Context, in *CreateUserAccountRequest, opts ...grpc.CallOption) (*CreateUserAccountResponse, error) UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*UpdateAccountResponse, error) GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*Account, error) ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, error) SetPassword(ctx context.Context, in *SetPasswordRequest, opts ...grpc.CallOption) (*SetPasswordResponse, error) DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*DeleteAccountResponse, error) Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error) IsAuthorized(ctx context.Context, in *IsAuthorizedRequest, opts ...grpc.CallOption) (*IsAuthorizedResponse, error) IsAuthorizedNamespace(ctx context.Context, in *IsAuthorizedNamespaceRequest, opts ...grpc.CallOption) (*IsAuthorizedNamespaceResponse, error) Authorize(ctx context.Context, in *AuthorizeRequest, opts ...grpc.CallOption) (*AuthorizeResponse, error) AuthorizeNamespace(ctx context.Context, in *AuthorizeNamespaceRequest, opts ...grpc.CallOption) (*AuthorizeNamespaceResponse, error) IsRoot(ctx context.Context, in *IsRootRequest, opts ...grpc.CallOption) (*IsRootResponse, error) IsAdmin(ctx context.Context, in *IsAdminRequest, opts ...grpc.CallOption) (*IsAdminResponse, error) AssignOwner(ctx context.Context, in *OwnershipRequest, opts ...grpc.CallOption) (*OwnershipResponse, error) RemoveOwner(ctx context.Context, in *OwnershipRequest, opts ...grpc.CallOption) (*OwnershipResponse, 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.ClientConnInterface) AccountServiceClient
type AccountServiceServer ¶
type AccountServiceServer interface { CreateUserAccount(context.Context, *CreateUserAccountRequest) (*CreateUserAccountResponse, error) UpdateAccount(context.Context, *UpdateAccountRequest) (*UpdateAccountResponse, error) GetAccount(context.Context, *GetAccountRequest) (*Account, error) ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error) SetPassword(context.Context, *SetPasswordRequest) (*SetPasswordResponse, error) DeleteAccount(context.Context, *DeleteAccountRequest) (*DeleteAccountResponse, error) Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error) IsAuthorized(context.Context, *IsAuthorizedRequest) (*IsAuthorizedResponse, error) IsAuthorizedNamespace(context.Context, *IsAuthorizedNamespaceRequest) (*IsAuthorizedNamespaceResponse, error) Authorize(context.Context, *AuthorizeRequest) (*AuthorizeResponse, error) AuthorizeNamespace(context.Context, *AuthorizeNamespaceRequest) (*AuthorizeNamespaceResponse, error) IsRoot(context.Context, *IsRootRequest) (*IsRootResponse, error) IsAdmin(context.Context, *IsAdminRequest) (*IsAdminResponse, error) AssignOwner(context.Context, *OwnershipRequest) (*OwnershipResponse, error) RemoveOwner(context.Context, *OwnershipRequest) (*OwnershipResponse, error) }
AccountServiceServer is the server API for AccountService service.
type Action ¶
type Action int32
func (Action) Descriptor ¶ added in v0.1.5
func (Action) Descriptor() protoreflect.EnumDescriptor
func (Action) EnumDescriptor
deprecated
func (Action) Number ¶ added in v0.1.5
func (x Action) Number() protoreflect.EnumNumber
func (Action) Type ¶ added in v0.1.5
func (Action) Type() protoreflect.EnumType
type AuthenticateRequest ¶
type AuthenticateRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*AuthenticateRequest) Descriptor
deprecated
func (*AuthenticateRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateRequest) GetPassword ¶
func (x *AuthenticateRequest) GetPassword() string
func (*AuthenticateRequest) GetUsername ¶
func (x *AuthenticateRequest) GetUsername() string
func (*AuthenticateRequest) ProtoMessage ¶
func (*AuthenticateRequest) ProtoMessage()
func (*AuthenticateRequest) ProtoReflect ¶ added in v0.1.5
func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateRequest) Reset ¶
func (x *AuthenticateRequest) Reset()
func (*AuthenticateRequest) String ¶
func (x *AuthenticateRequest) String() string
type AuthenticateResponse ¶
type AuthenticateResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Account *Account `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` DefaultNamespace string `protobuf:"bytes,3,opt,name=default_namespace,json=defaultNamespace,proto3" json:"default_namespace,omitempty"` // contains filtered or unexported fields }
func (*AuthenticateResponse) Descriptor
deprecated
func (*AuthenticateResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateResponse.ProtoReflect.Descriptor instead.
func (*AuthenticateResponse) GetAccount ¶
func (x *AuthenticateResponse) GetAccount() *Account
func (*AuthenticateResponse) GetDefaultNamespace ¶
func (x *AuthenticateResponse) GetDefaultNamespace() string
func (*AuthenticateResponse) GetSuccess ¶
func (x *AuthenticateResponse) GetSuccess() bool
func (*AuthenticateResponse) ProtoMessage ¶
func (*AuthenticateResponse) ProtoMessage()
func (*AuthenticateResponse) ProtoReflect ¶ added in v0.1.5
func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message
func (*AuthenticateResponse) Reset ¶
func (x *AuthenticateResponse) Reset()
func (*AuthenticateResponse) String ¶
func (x *AuthenticateResponse) String() string
type AuthorizeNamespaceRequest ¶
type AuthorizeNamespaceRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Action Action `protobuf:"varint,3,opt,name=action,proto3,enum=infinimesh.node.Action" json:"action,omitempty"` // contains filtered or unexported fields }
func (*AuthorizeNamespaceRequest) Descriptor
deprecated
func (*AuthorizeNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeNamespaceRequest.ProtoReflect.Descriptor instead.
func (*AuthorizeNamespaceRequest) GetAccount ¶
func (x *AuthorizeNamespaceRequest) GetAccount() string
func (*AuthorizeNamespaceRequest) GetAction ¶
func (x *AuthorizeNamespaceRequest) GetAction() Action
func (*AuthorizeNamespaceRequest) GetNamespace ¶
func (x *AuthorizeNamespaceRequest) GetNamespace() string
func (*AuthorizeNamespaceRequest) ProtoMessage ¶
func (*AuthorizeNamespaceRequest) ProtoMessage()
func (*AuthorizeNamespaceRequest) ProtoReflect ¶ added in v0.1.5
func (x *AuthorizeNamespaceRequest) ProtoReflect() protoreflect.Message
func (*AuthorizeNamespaceRequest) Reset ¶
func (x *AuthorizeNamespaceRequest) Reset()
func (*AuthorizeNamespaceRequest) String ¶
func (x *AuthorizeNamespaceRequest) String() string
type AuthorizeNamespaceResponse ¶
type AuthorizeNamespaceResponse struct {
// contains filtered or unexported fields
}
func (*AuthorizeNamespaceResponse) Descriptor
deprecated
func (*AuthorizeNamespaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeNamespaceResponse.ProtoReflect.Descriptor instead.
func (*AuthorizeNamespaceResponse) ProtoMessage ¶
func (*AuthorizeNamespaceResponse) ProtoMessage()
func (*AuthorizeNamespaceResponse) ProtoReflect ¶ added in v0.1.5
func (x *AuthorizeNamespaceResponse) ProtoReflect() protoreflect.Message
func (*AuthorizeNamespaceResponse) Reset ¶
func (x *AuthorizeNamespaceResponse) Reset()
func (*AuthorizeNamespaceResponse) String ¶
func (x *AuthorizeNamespaceResponse) String() string
type AuthorizeRequest ¶
type AuthorizeRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"` Inherit bool `protobuf:"varint,4,opt,name=inherit,proto3" json:"inherit,omitempty"` // contains filtered or unexported fields }
func (*AuthorizeRequest) Descriptor
deprecated
func (*AuthorizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeRequest.ProtoReflect.Descriptor instead.
func (*AuthorizeRequest) GetAccount ¶
func (x *AuthorizeRequest) GetAccount() string
func (*AuthorizeRequest) GetAction ¶
func (x *AuthorizeRequest) GetAction() string
func (*AuthorizeRequest) GetInherit ¶
func (x *AuthorizeRequest) GetInherit() bool
func (*AuthorizeRequest) GetNode ¶
func (x *AuthorizeRequest) GetNode() string
func (*AuthorizeRequest) ProtoMessage ¶
func (*AuthorizeRequest) ProtoMessage()
func (*AuthorizeRequest) ProtoReflect ¶ added in v0.1.5
func (x *AuthorizeRequest) ProtoReflect() protoreflect.Message
func (*AuthorizeRequest) Reset ¶
func (x *AuthorizeRequest) Reset()
func (*AuthorizeRequest) String ¶
func (x *AuthorizeRequest) String() string
type AuthorizeResponse ¶
type AuthorizeResponse struct {
// contains filtered or unexported fields
}
func (*AuthorizeResponse) Descriptor
deprecated
func (*AuthorizeResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeResponse.ProtoReflect.Descriptor instead.
func (*AuthorizeResponse) ProtoMessage ¶
func (*AuthorizeResponse) ProtoMessage()
func (*AuthorizeResponse) ProtoReflect ¶ added in v0.1.5
func (x *AuthorizeResponse) ProtoReflect() protoreflect.Message
func (*AuthorizeResponse) Reset ¶
func (x *AuthorizeResponse) Reset()
func (*AuthorizeResponse) String ¶
func (x *AuthorizeResponse) String() string
type CreateNamespaceRequest ¶
type CreateNamespaceRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CreateNamespaceRequest) Descriptor
deprecated
func (*CreateNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNamespaceRequest.ProtoReflect.Descriptor instead.
func (*CreateNamespaceRequest) GetName ¶
func (x *CreateNamespaceRequest) GetName() string
func (*CreateNamespaceRequest) ProtoMessage ¶
func (*CreateNamespaceRequest) ProtoMessage()
func (*CreateNamespaceRequest) ProtoReflect ¶ added in v0.1.5
func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message
func (*CreateNamespaceRequest) Reset ¶
func (x *CreateNamespaceRequest) Reset()
func (*CreateNamespaceRequest) String ¶
func (x *CreateNamespaceRequest) String() string
type CreateObjectRequest ¶
type CreateObjectRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` Namespaceid string `protobuf:"bytes,4,opt,name=namespaceid,proto3" json:"namespaceid,omitempty"` // contains filtered or unexported fields }
func (*CreateObjectRequest) Descriptor
deprecated
func (*CreateObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateObjectRequest.ProtoReflect.Descriptor instead.
func (*CreateObjectRequest) GetKind ¶
func (x *CreateObjectRequest) GetKind() string
func (*CreateObjectRequest) GetName ¶
func (x *CreateObjectRequest) GetName() string
func (*CreateObjectRequest) GetNamespaceid ¶ added in v0.1.5
func (x *CreateObjectRequest) GetNamespaceid() string
func (*CreateObjectRequest) GetParent ¶
func (x *CreateObjectRequest) GetParent() string
func (*CreateObjectRequest) ProtoMessage ¶
func (*CreateObjectRequest) ProtoMessage()
func (*CreateObjectRequest) ProtoReflect ¶ added in v0.1.5
func (x *CreateObjectRequest) ProtoReflect() protoreflect.Message
func (*CreateObjectRequest) Reset ¶
func (x *CreateObjectRequest) Reset()
func (*CreateObjectRequest) String ¶
func (x *CreateObjectRequest) String() string
type CreateUserAccountRequest ¶
type CreateUserAccountRequest struct { Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` //To be Deprecated. Donot use this field. Instead use the password field in Account struct CreateGfUser bool `protobuf:"varint,4,opt,name=create_gf_user,json=createGfUser,proto3" json:"create_gf_user,omitempty"` // contains filtered or unexported fields }
func (*CreateUserAccountRequest) Descriptor
deprecated
func (*CreateUserAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserAccountRequest.ProtoReflect.Descriptor instead.
func (*CreateUserAccountRequest) GetAccount ¶
func (x *CreateUserAccountRequest) GetAccount() *Account
func (*CreateUserAccountRequest) GetCreateGfUser ¶ added in v0.1.5
func (x *CreateUserAccountRequest) GetCreateGfUser() bool
func (*CreateUserAccountRequest) GetPassword ¶
func (x *CreateUserAccountRequest) GetPassword() string
func (*CreateUserAccountRequest) ProtoMessage ¶
func (*CreateUserAccountRequest) ProtoMessage()
func (*CreateUserAccountRequest) ProtoReflect ¶ added in v0.1.5
func (x *CreateUserAccountRequest) ProtoReflect() protoreflect.Message
func (*CreateUserAccountRequest) Reset ¶
func (x *CreateUserAccountRequest) Reset()
func (*CreateUserAccountRequest) String ¶
func (x *CreateUserAccountRequest) String() string
type CreateUserAccountResponse ¶
type CreateUserAccountResponse struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
func (*CreateUserAccountResponse) Descriptor
deprecated
func (*CreateUserAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserAccountResponse.ProtoReflect.Descriptor instead.
func (*CreateUserAccountResponse) GetUid ¶
func (x *CreateUserAccountResponse) GetUid() string
func (*CreateUserAccountResponse) ProtoMessage ¶
func (*CreateUserAccountResponse) ProtoMessage()
func (*CreateUserAccountResponse) ProtoReflect ¶ added in v0.1.5
func (x *CreateUserAccountResponse) ProtoReflect() protoreflect.Message
func (*CreateUserAccountResponse) Reset ¶
func (x *CreateUserAccountResponse) Reset()
func (*CreateUserAccountResponse) String ¶
func (x *CreateUserAccountResponse) String() string
type DeleteAccountRequest ¶ added in v0.1.5
type DeleteAccountRequest struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Harddelete bool `protobuf:"varint,2,opt,name=harddelete,proto3" json:"harddelete,omitempty"` // contains filtered or unexported fields }
func (*DeleteAccountRequest) Descriptor
deprecated
added in
v0.1.5
func (*DeleteAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead.
func (*DeleteAccountRequest) GetHarddelete ¶ added in v0.1.5
func (x *DeleteAccountRequest) GetHarddelete() bool
func (*DeleteAccountRequest) GetUid ¶ added in v0.1.5
func (x *DeleteAccountRequest) GetUid() string
func (*DeleteAccountRequest) ProtoMessage ¶ added in v0.1.5
func (*DeleteAccountRequest) ProtoMessage()
func (*DeleteAccountRequest) ProtoReflect ¶ added in v0.1.5
func (x *DeleteAccountRequest) ProtoReflect() protoreflect.Message
func (*DeleteAccountRequest) Reset ¶ added in v0.1.5
func (x *DeleteAccountRequest) Reset()
func (*DeleteAccountRequest) String ¶ added in v0.1.5
func (x *DeleteAccountRequest) String() string
type DeleteAccountResponse ¶ added in v0.1.5
type DeleteAccountResponse struct {
// contains filtered or unexported fields
}
func (*DeleteAccountResponse) Descriptor
deprecated
added in
v0.1.5
func (*DeleteAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccountResponse.ProtoReflect.Descriptor instead.
func (*DeleteAccountResponse) ProtoMessage ¶ added in v0.1.5
func (*DeleteAccountResponse) ProtoMessage()
func (*DeleteAccountResponse) ProtoReflect ¶ added in v0.1.5
func (x *DeleteAccountResponse) ProtoReflect() protoreflect.Message
func (*DeleteAccountResponse) Reset ¶ added in v0.1.5
func (x *DeleteAccountResponse) Reset()
func (*DeleteAccountResponse) String ¶ added in v0.1.5
func (x *DeleteAccountResponse) String() string
type DeleteNamespaceRequest ¶ added in v0.1.5
type DeleteNamespaceRequest struct { Namespaceid string `protobuf:"bytes,1,opt,name=namespaceid,proto3" json:"namespaceid,omitempty"` Harddelete bool `protobuf:"varint,2,opt,name=harddelete,proto3" json:"harddelete,omitempty"` // contains filtered or unexported fields }
func (*DeleteNamespaceRequest) Descriptor
deprecated
added in
v0.1.5
func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNamespaceRequest.ProtoReflect.Descriptor instead.
func (*DeleteNamespaceRequest) GetHarddelete ¶ added in v0.1.5
func (x *DeleteNamespaceRequest) GetHarddelete() bool
func (*DeleteNamespaceRequest) GetNamespaceid ¶ added in v0.1.5
func (x *DeleteNamespaceRequest) GetNamespaceid() string
func (*DeleteNamespaceRequest) ProtoMessage ¶ added in v0.1.5
func (*DeleteNamespaceRequest) ProtoMessage()
func (*DeleteNamespaceRequest) ProtoReflect ¶ added in v0.1.5
func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message
func (*DeleteNamespaceRequest) Reset ¶ added in v0.1.5
func (x *DeleteNamespaceRequest) Reset()
func (*DeleteNamespaceRequest) String ¶ added in v0.1.5
func (x *DeleteNamespaceRequest) String() string
type DeleteNamespaceResponse ¶ added in v0.1.5
type DeleteNamespaceResponse struct {
// contains filtered or unexported fields
}
func (*DeleteNamespaceResponse) Descriptor
deprecated
added in
v0.1.5
func (*DeleteNamespaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNamespaceResponse.ProtoReflect.Descriptor instead.
func (*DeleteNamespaceResponse) ProtoMessage ¶ added in v0.1.5
func (*DeleteNamespaceResponse) ProtoMessage()
func (*DeleteNamespaceResponse) ProtoReflect ¶ added in v0.1.5
func (x *DeleteNamespaceResponse) ProtoReflect() protoreflect.Message
func (*DeleteNamespaceResponse) Reset ¶ added in v0.1.5
func (x *DeleteNamespaceResponse) Reset()
func (*DeleteNamespaceResponse) String ¶ added in v0.1.5
func (x *DeleteNamespaceResponse) String() string
type DeleteObjectRequest ¶
type DeleteObjectRequest struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
func (*DeleteObjectRequest) Descriptor
deprecated
func (*DeleteObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteObjectRequest.ProtoReflect.Descriptor instead.
func (*DeleteObjectRequest) GetUid ¶
func (x *DeleteObjectRequest) GetUid() string
func (*DeleteObjectRequest) ProtoMessage ¶
func (*DeleteObjectRequest) ProtoMessage()
func (*DeleteObjectRequest) ProtoReflect ¶ added in v0.1.5
func (x *DeleteObjectRequest) ProtoReflect() protoreflect.Message
func (*DeleteObjectRequest) Reset ¶
func (x *DeleteObjectRequest) Reset()
func (*DeleteObjectRequest) String ¶
func (x *DeleteObjectRequest) String() string
type DeleteObjectResponse ¶
type DeleteObjectResponse struct {
// contains filtered or unexported fields
}
func (*DeleteObjectResponse) Descriptor
deprecated
func (*DeleteObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteObjectResponse.ProtoReflect.Descriptor instead.
func (*DeleteObjectResponse) ProtoMessage ¶
func (*DeleteObjectResponse) ProtoMessage()
func (*DeleteObjectResponse) ProtoReflect ¶ added in v0.1.5
func (x *DeleteObjectResponse) ProtoReflect() protoreflect.Message
func (*DeleteObjectResponse) Reset ¶
func (x *DeleteObjectResponse) Reset()
func (*DeleteObjectResponse) String ¶
func (x *DeleteObjectResponse) String() string
type DeletePermissionRequest ¶ added in v0.1.4
type DeletePermissionRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*DeletePermissionRequest) Descriptor
deprecated
added in
v0.1.4
func (*DeletePermissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePermissionRequest.ProtoReflect.Descriptor instead.
func (*DeletePermissionRequest) GetAccountId ¶ added in v0.1.4
func (x *DeletePermissionRequest) GetAccountId() string
func (*DeletePermissionRequest) GetNamespace ¶ added in v0.1.4
func (x *DeletePermissionRequest) GetNamespace() string
func (*DeletePermissionRequest) ProtoMessage ¶ added in v0.1.4
func (*DeletePermissionRequest) ProtoMessage()
func (*DeletePermissionRequest) ProtoReflect ¶ added in v0.1.5
func (x *DeletePermissionRequest) ProtoReflect() protoreflect.Message
func (*DeletePermissionRequest) Reset ¶ added in v0.1.4
func (x *DeletePermissionRequest) Reset()
func (*DeletePermissionRequest) String ¶ added in v0.1.4
func (x *DeletePermissionRequest) String() string
type DeletePermissionResponse ¶ added in v0.1.4
type DeletePermissionResponse struct {
// contains filtered or unexported fields
}
func (*DeletePermissionResponse) Descriptor
deprecated
added in
v0.1.4
func (*DeletePermissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeletePermissionResponse.ProtoReflect.Descriptor instead.
func (*DeletePermissionResponse) ProtoMessage ¶ added in v0.1.4
func (*DeletePermissionResponse) ProtoMessage()
func (*DeletePermissionResponse) ProtoReflect ¶ added in v0.1.5
func (x *DeletePermissionResponse) ProtoReflect() protoreflect.Message
func (*DeletePermissionResponse) Reset ¶ added in v0.1.4
func (x *DeletePermissionResponse) Reset()
func (*DeletePermissionResponse) String ¶ added in v0.1.4
func (x *DeletePermissionResponse) String() string
type GetAccountRequest ¶
type GetAccountRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetAccountRequest) Descriptor
deprecated
func (*GetAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.
func (*GetAccountRequest) GetId ¶
func (x *GetAccountRequest) GetId() string
func (*GetAccountRequest) ProtoMessage ¶
func (*GetAccountRequest) ProtoMessage()
func (*GetAccountRequest) ProtoReflect ¶ added in v0.1.5
func (x *GetAccountRequest) ProtoReflect() protoreflect.Message
func (*GetAccountRequest) Reset ¶
func (x *GetAccountRequest) Reset()
func (*GetAccountRequest) String ¶
func (x *GetAccountRequest) String() string
type GetNamespaceRequest ¶
type GetNamespaceRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // name // contains filtered or unexported fields }
func (*GetNamespaceRequest) Descriptor
deprecated
func (*GetNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNamespaceRequest.ProtoReflect.Descriptor instead.
func (*GetNamespaceRequest) GetNamespace ¶
func (x *GetNamespaceRequest) GetNamespace() string
func (*GetNamespaceRequest) ProtoMessage ¶
func (*GetNamespaceRequest) ProtoMessage()
func (*GetNamespaceRequest) ProtoReflect ¶ added in v0.1.5
func (x *GetNamespaceRequest) ProtoReflect() protoreflect.Message
func (*GetNamespaceRequest) Reset ¶
func (x *GetNamespaceRequest) Reset()
func (*GetNamespaceRequest) String ¶
func (x *GetNamespaceRequest) String() string
type IsAdminRequest ¶ added in v0.1.5
type IsAdminRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*IsAdminRequest) Descriptor
deprecated
added in
v0.1.5
func (*IsAdminRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsAdminRequest.ProtoReflect.Descriptor instead.
func (*IsAdminRequest) GetAccount ¶ added in v0.1.5
func (x *IsAdminRequest) GetAccount() string
func (*IsAdminRequest) ProtoMessage ¶ added in v0.1.5
func (*IsAdminRequest) ProtoMessage()
func (*IsAdminRequest) ProtoReflect ¶ added in v0.1.5
func (x *IsAdminRequest) ProtoReflect() protoreflect.Message
func (*IsAdminRequest) Reset ¶ added in v0.1.5
func (x *IsAdminRequest) Reset()
func (*IsAdminRequest) String ¶ added in v0.1.5
func (x *IsAdminRequest) String() string
type IsAdminResponse ¶ added in v0.1.5
type IsAdminResponse struct { IsAdmin bool `protobuf:"varint,1,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"` // contains filtered or unexported fields }
func (*IsAdminResponse) Descriptor
deprecated
added in
v0.1.5
func (*IsAdminResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsAdminResponse.ProtoReflect.Descriptor instead.
func (*IsAdminResponse) GetIsAdmin ¶ added in v0.1.5
func (x *IsAdminResponse) GetIsAdmin() bool
func (*IsAdminResponse) ProtoMessage ¶ added in v0.1.5
func (*IsAdminResponse) ProtoMessage()
func (*IsAdminResponse) ProtoReflect ¶ added in v0.1.5
func (x *IsAdminResponse) ProtoReflect() protoreflect.Message
func (*IsAdminResponse) Reset ¶ added in v0.1.5
func (x *IsAdminResponse) Reset()
func (*IsAdminResponse) String ¶ added in v0.1.5
func (x *IsAdminResponse) String() string
type IsAuthorizedNamespaceRequest ¶
type IsAuthorizedNamespaceRequest struct { Namespaceid string `protobuf:"bytes,1,opt,name=namespaceid,proto3" json:"namespaceid,omitempty"` Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` Action Action `protobuf:"varint,3,opt,name=Action,proto3,enum=infinimesh.node.Action" json:"Action,omitempty"` // contains filtered or unexported fields }
func (*IsAuthorizedNamespaceRequest) Descriptor
deprecated
func (*IsAuthorizedNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsAuthorizedNamespaceRequest.ProtoReflect.Descriptor instead.
func (*IsAuthorizedNamespaceRequest) GetAccount ¶
func (x *IsAuthorizedNamespaceRequest) GetAccount() string
func (*IsAuthorizedNamespaceRequest) GetAction ¶
func (x *IsAuthorizedNamespaceRequest) GetAction() Action
func (*IsAuthorizedNamespaceRequest) GetNamespaceid ¶ added in v0.1.5
func (x *IsAuthorizedNamespaceRequest) GetNamespaceid() string
func (*IsAuthorizedNamespaceRequest) ProtoMessage ¶
func (*IsAuthorizedNamespaceRequest) ProtoMessage()
func (*IsAuthorizedNamespaceRequest) ProtoReflect ¶ added in v0.1.5
func (x *IsAuthorizedNamespaceRequest) ProtoReflect() protoreflect.Message
func (*IsAuthorizedNamespaceRequest) Reset ¶
func (x *IsAuthorizedNamespaceRequest) Reset()
func (*IsAuthorizedNamespaceRequest) String ¶
func (x *IsAuthorizedNamespaceRequest) String() string
type IsAuthorizedNamespaceResponse ¶
type IsAuthorizedNamespaceResponse struct { Decision *wrappers.BoolValue `protobuf:"bytes,1,opt,name=decision,proto3" json:"decision,omitempty"` // contains filtered or unexported fields }
func (*IsAuthorizedNamespaceResponse) Descriptor
deprecated
func (*IsAuthorizedNamespaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsAuthorizedNamespaceResponse.ProtoReflect.Descriptor instead.
func (*IsAuthorizedNamespaceResponse) GetDecision ¶
func (x *IsAuthorizedNamespaceResponse) GetDecision() *wrappers.BoolValue
func (*IsAuthorizedNamespaceResponse) ProtoMessage ¶
func (*IsAuthorizedNamespaceResponse) ProtoMessage()
func (*IsAuthorizedNamespaceResponse) ProtoReflect ¶ added in v0.1.5
func (x *IsAuthorizedNamespaceResponse) ProtoReflect() protoreflect.Message
func (*IsAuthorizedNamespaceResponse) Reset ¶
func (x *IsAuthorizedNamespaceResponse) Reset()
func (*IsAuthorizedNamespaceResponse) String ¶
func (x *IsAuthorizedNamespaceResponse) String() string
type IsAuthorizedRequest ¶
type IsAuthorizedRequest struct { Node string `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` Action Action `protobuf:"varint,3,opt,name=action,proto3,enum=infinimesh.node.Action" json:"action,omitempty"` // contains filtered or unexported fields }
func (*IsAuthorizedRequest) Descriptor
deprecated
func (*IsAuthorizedRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsAuthorizedRequest.ProtoReflect.Descriptor instead.
func (*IsAuthorizedRequest) GetAccount ¶
func (x *IsAuthorizedRequest) GetAccount() string
func (*IsAuthorizedRequest) GetAction ¶
func (x *IsAuthorizedRequest) GetAction() Action
func (*IsAuthorizedRequest) GetNode ¶
func (x *IsAuthorizedRequest) GetNode() string
func (*IsAuthorizedRequest) ProtoMessage ¶
func (*IsAuthorizedRequest) ProtoMessage()
func (*IsAuthorizedRequest) ProtoReflect ¶ added in v0.1.5
func (x *IsAuthorizedRequest) ProtoReflect() protoreflect.Message
func (*IsAuthorizedRequest) Reset ¶
func (x *IsAuthorizedRequest) Reset()
func (*IsAuthorizedRequest) String ¶
func (x *IsAuthorizedRequest) String() string
type IsAuthorizedResponse ¶
type IsAuthorizedResponse struct { Decision *wrappers.BoolValue `protobuf:"bytes,1,opt,name=decision,proto3" json:"decision,omitempty"` // contains filtered or unexported fields }
func (*IsAuthorizedResponse) Descriptor
deprecated
func (*IsAuthorizedResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsAuthorizedResponse.ProtoReflect.Descriptor instead.
func (*IsAuthorizedResponse) GetDecision ¶
func (x *IsAuthorizedResponse) GetDecision() *wrappers.BoolValue
func (*IsAuthorizedResponse) ProtoMessage ¶
func (*IsAuthorizedResponse) ProtoMessage()
func (*IsAuthorizedResponse) ProtoReflect ¶ added in v0.1.5
func (x *IsAuthorizedResponse) ProtoReflect() protoreflect.Message
func (*IsAuthorizedResponse) Reset ¶
func (x *IsAuthorizedResponse) Reset()
func (*IsAuthorizedResponse) String ¶
func (x *IsAuthorizedResponse) String() string
type IsRootRequest ¶
type IsRootRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*IsRootRequest) Descriptor
deprecated
func (*IsRootRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsRootRequest.ProtoReflect.Descriptor instead.
func (*IsRootRequest) GetAccount ¶
func (x *IsRootRequest) GetAccount() string
func (*IsRootRequest) ProtoMessage ¶
func (*IsRootRequest) ProtoMessage()
func (*IsRootRequest) ProtoReflect ¶ added in v0.1.5
func (x *IsRootRequest) ProtoReflect() protoreflect.Message
func (*IsRootRequest) Reset ¶
func (x *IsRootRequest) Reset()
func (*IsRootRequest) String ¶
func (x *IsRootRequest) String() string
type IsRootResponse ¶
type IsRootResponse struct { IsRoot bool `protobuf:"varint,1,opt,name=is_root,json=isRoot,proto3" json:"is_root,omitempty"` // contains filtered or unexported fields }
func (*IsRootResponse) Descriptor
deprecated
func (*IsRootResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsRootResponse.ProtoReflect.Descriptor instead.
func (*IsRootResponse) GetIsRoot ¶
func (x *IsRootResponse) GetIsRoot() bool
func (*IsRootResponse) ProtoMessage ¶
func (*IsRootResponse) ProtoMessage()
func (*IsRootResponse) ProtoReflect ¶ added in v0.1.5
func (x *IsRootResponse) ProtoReflect() protoreflect.Message
func (*IsRootResponse) Reset ¶
func (x *IsRootResponse) Reset()
func (*IsRootResponse) String ¶
func (x *IsRootResponse) String() string
type ListAccountsRequest ¶
type ListAccountsRequest struct {
// contains filtered or unexported fields
}
func (*ListAccountsRequest) Descriptor
deprecated
func (*ListAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountsRequest.ProtoReflect.Descriptor instead.
func (*ListAccountsRequest) ProtoMessage ¶
func (*ListAccountsRequest) ProtoMessage()
func (*ListAccountsRequest) ProtoReflect ¶ added in v0.1.5
func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message
func (*ListAccountsRequest) Reset ¶
func (x *ListAccountsRequest) Reset()
func (*ListAccountsRequest) String ¶
func (x *ListAccountsRequest) String() string
type ListAccountsResponse ¶
type ListAccountsResponse struct { Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` // contains filtered or unexported fields }
func (*ListAccountsResponse) Descriptor
deprecated
func (*ListAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountsResponse.ProtoReflect.Descriptor instead.
func (*ListAccountsResponse) GetAccounts ¶
func (x *ListAccountsResponse) GetAccounts() []*Account
func (*ListAccountsResponse) ProtoMessage ¶
func (*ListAccountsResponse) ProtoMessage()
func (*ListAccountsResponse) ProtoReflect ¶ added in v0.1.5
func (x *ListAccountsResponse) ProtoReflect() protoreflect.Message
func (*ListAccountsResponse) Reset ¶
func (x *ListAccountsResponse) Reset()
func (*ListAccountsResponse) String ¶
func (x *ListAccountsResponse) String() string
type ListNamespacesForAccountRequest ¶
type ListNamespacesForAccountRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*ListNamespacesForAccountRequest) Descriptor
deprecated
func (*ListNamespacesForAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNamespacesForAccountRequest.ProtoReflect.Descriptor instead.
func (*ListNamespacesForAccountRequest) GetAccount ¶
func (x *ListNamespacesForAccountRequest) GetAccount() string
func (*ListNamespacesForAccountRequest) ProtoMessage ¶
func (*ListNamespacesForAccountRequest) ProtoMessage()
func (*ListNamespacesForAccountRequest) ProtoReflect ¶ added in v0.1.5
func (x *ListNamespacesForAccountRequest) ProtoReflect() protoreflect.Message
func (*ListNamespacesForAccountRequest) Reset ¶
func (x *ListNamespacesForAccountRequest) Reset()
func (*ListNamespacesForAccountRequest) String ¶
func (x *ListNamespacesForAccountRequest) String() string
type ListNamespacesRequest ¶
type ListNamespacesRequest struct {
// contains filtered or unexported fields
}
func (*ListNamespacesRequest) Descriptor
deprecated
func (*ListNamespacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNamespacesRequest.ProtoReflect.Descriptor instead.
func (*ListNamespacesRequest) ProtoMessage ¶
func (*ListNamespacesRequest) ProtoMessage()
func (*ListNamespacesRequest) ProtoReflect ¶ added in v0.1.5
func (x *ListNamespacesRequest) ProtoReflect() protoreflect.Message
func (*ListNamespacesRequest) Reset ¶
func (x *ListNamespacesRequest) Reset()
func (*ListNamespacesRequest) String ¶
func (x *ListNamespacesRequest) String() string
type ListNamespacesResponse ¶
type ListNamespacesResponse struct { Namespaces []*Namespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // contains filtered or unexported fields }
func (*ListNamespacesResponse) Descriptor
deprecated
func (*ListNamespacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNamespacesResponse.ProtoReflect.Descriptor instead.
func (*ListNamespacesResponse) GetNamespaces ¶
func (x *ListNamespacesResponse) GetNamespaces() []*Namespace
func (*ListNamespacesResponse) ProtoMessage ¶
func (*ListNamespacesResponse) ProtoMessage()
func (*ListNamespacesResponse) ProtoReflect ¶ added in v0.1.5
func (x *ListNamespacesResponse) ProtoReflect() protoreflect.Message
func (*ListNamespacesResponse) Reset ¶
func (x *ListNamespacesResponse) Reset()
func (*ListNamespacesResponse) String ¶
func (x *ListNamespacesResponse) String() string
type ListObjectsRequest ¶
type ListObjectsRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Recurse bool `protobuf:"varint,3,opt,name=recurse,proto3" json:"recurse,omitempty"` // contains filtered or unexported fields }
func (*ListObjectsRequest) Descriptor
deprecated
func (*ListObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListObjectsRequest.ProtoReflect.Descriptor instead.
func (*ListObjectsRequest) GetAccount ¶
func (x *ListObjectsRequest) GetAccount() string
func (*ListObjectsRequest) GetNamespace ¶
func (x *ListObjectsRequest) GetNamespace() string
func (*ListObjectsRequest) GetRecurse ¶
func (x *ListObjectsRequest) GetRecurse() bool
func (*ListObjectsRequest) ProtoMessage ¶
func (*ListObjectsRequest) ProtoMessage()
func (*ListObjectsRequest) ProtoReflect ¶ added in v0.1.5
func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message
func (*ListObjectsRequest) Reset ¶
func (x *ListObjectsRequest) Reset()
func (*ListObjectsRequest) String ¶
func (x *ListObjectsRequest) String() string
type ListObjectsResponse ¶
type ListObjectsResponse struct { Objects []*Object `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
func (*ListObjectsResponse) Descriptor
deprecated
func (*ListObjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListObjectsResponse.ProtoReflect.Descriptor instead.
func (*ListObjectsResponse) GetObjects ¶
func (x *ListObjectsResponse) GetObjects() []*Object
func (*ListObjectsResponse) ProtoMessage ¶
func (*ListObjectsResponse) ProtoMessage()
func (*ListObjectsResponse) ProtoReflect ¶ added in v0.1.5
func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message
func (*ListObjectsResponse) Reset ¶
func (x *ListObjectsResponse) Reset()
func (*ListObjectsResponse) String ¶
func (x *ListObjectsResponse) String() string
type ListPermissionsRequest ¶ added in v0.1.4
type ListPermissionsRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*ListPermissionsRequest) Descriptor
deprecated
added in
v0.1.4
func (*ListPermissionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPermissionsRequest.ProtoReflect.Descriptor instead.
func (*ListPermissionsRequest) GetNamespace ¶ added in v0.1.4
func (x *ListPermissionsRequest) GetNamespace() string
func (*ListPermissionsRequest) ProtoMessage ¶ added in v0.1.4
func (*ListPermissionsRequest) ProtoMessage()
func (*ListPermissionsRequest) ProtoReflect ¶ added in v0.1.5
func (x *ListPermissionsRequest) ProtoReflect() protoreflect.Message
func (*ListPermissionsRequest) Reset ¶ added in v0.1.4
func (x *ListPermissionsRequest) Reset()
func (*ListPermissionsRequest) String ¶ added in v0.1.4
func (x *ListPermissionsRequest) String() string
type ListPermissionsResponse ¶ added in v0.1.4
type ListPermissionsResponse struct { Permissions []*Permission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
func (*ListPermissionsResponse) Descriptor
deprecated
added in
v0.1.4
func (*ListPermissionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPermissionsResponse.ProtoReflect.Descriptor instead.
func (*ListPermissionsResponse) GetPermissions ¶ added in v0.1.4
func (x *ListPermissionsResponse) GetPermissions() []*Permission
func (*ListPermissionsResponse) ProtoMessage ¶ added in v0.1.4
func (*ListPermissionsResponse) ProtoMessage()
func (*ListPermissionsResponse) ProtoReflect ¶ added in v0.1.5
func (x *ListPermissionsResponse) ProtoReflect() protoreflect.Message
func (*ListPermissionsResponse) Reset ¶ added in v0.1.4
func (x *ListPermissionsResponse) Reset()
func (*ListPermissionsResponse) String ¶ added in v0.1.4
func (x *ListPermissionsResponse) String() string
type Namespace ¶
type Namespace struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Markfordeletion bool `protobuf:"varint,3,opt,name=markfordeletion,proto3" json:"markfordeletion,omitempty"` Deleteinitiationtime string `protobuf:"bytes,4,opt,name=deleteinitiationtime,proto3" json:"deleteinitiationtime,omitempty"` // contains filtered or unexported fields }
func (*Namespace) Descriptor
deprecated
func (*Namespace) GetDeleteinitiationtime ¶ added in v0.1.5
func (*Namespace) GetMarkfordeletion ¶ added in v0.1.5
func (*Namespace) ProtoMessage ¶
func (*Namespace) ProtoMessage()
func (*Namespace) ProtoReflect ¶ added in v0.1.5
func (x *Namespace) ProtoReflect() protoreflect.Message
type NamespacesClient ¶
type NamespacesClient interface { CreateNamespace(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*Namespace, error) GetNamespace(ctx context.Context, in *GetNamespaceRequest, opts ...grpc.CallOption) (*Namespace, error) ListNamespaces(ctx context.Context, in *ListNamespacesRequest, opts ...grpc.CallOption) (*ListNamespacesResponse, error) ListPermissions(ctx context.Context, in *ListPermissionsRequest, opts ...grpc.CallOption) (*ListPermissionsResponse, error) DeletePermission(ctx context.Context, in *DeletePermissionRequest, opts ...grpc.CallOption) (*DeletePermissionResponse, error) DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*DeleteNamespaceResponse, error) UpdateNamespace(ctx context.Context, in *UpdateNamespaceRequest, opts ...grpc.CallOption) (*UpdateNamespaceResponse, error) }
NamespacesClient is the client API for Namespaces service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNamespacesClient ¶
func NewNamespacesClient(cc grpc.ClientConnInterface) NamespacesClient
type NamespacesServer ¶
type NamespacesServer interface { CreateNamespace(context.Context, *CreateNamespaceRequest) (*Namespace, error) GetNamespace(context.Context, *GetNamespaceRequest) (*Namespace, error) ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error) ListPermissions(context.Context, *ListPermissionsRequest) (*ListPermissionsResponse, error) DeletePermission(context.Context, *DeletePermissionRequest) (*DeletePermissionResponse, error) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error) UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*UpdateNamespaceResponse, error) }
NamespacesServer is the server API for Namespaces service.
type Object ¶
type Object struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` Objects []*Object `protobuf:"bytes,4,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
func (*Object) Descriptor
deprecated
func (*Object) GetObjects ¶
func (*Object) ProtoMessage ¶
func (*Object) ProtoMessage()
func (*Object) ProtoReflect ¶ added in v0.1.5
func (x *Object) ProtoReflect() protoreflect.Message
type ObjectServiceClient ¶
type ObjectServiceClient interface { CreateObject(ctx context.Context, in *CreateObjectRequest, opts ...grpc.CallOption) (*Object, error) ListObjects(ctx context.Context, in *ListObjectsRequest, opts ...grpc.CallOption) (*ListObjectsResponse, error) DeleteObject(ctx context.Context, in *DeleteObjectRequest, opts ...grpc.CallOption) (*DeleteObjectResponse, error) }
ObjectServiceClient is the client API for ObjectService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewObjectServiceClient ¶
func NewObjectServiceClient(cc grpc.ClientConnInterface) ObjectServiceClient
type ObjectServiceServer ¶
type ObjectServiceServer interface { CreateObject(context.Context, *CreateObjectRequest) (*Object, error) ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error) DeleteObject(context.Context, *DeleteObjectRequest) (*DeleteObjectResponse, error) }
ObjectServiceServer is the server API for ObjectService service.
type OwnershipRequest ¶ added in v1.0.0
type OwnershipRequest struct { Ownerid string `protobuf:"bytes,1,opt,name=ownerid,proto3" json:"ownerid,omitempty"` Accountid string `protobuf:"bytes,2,opt,name=accountid,proto3" json:"accountid,omitempty"` // contains filtered or unexported fields }
func (*OwnershipRequest) Descriptor
deprecated
added in
v1.0.0
func (*OwnershipRequest) Descriptor() ([]byte, []int)
Deprecated: Use OwnershipRequest.ProtoReflect.Descriptor instead.
func (*OwnershipRequest) GetAccountid ¶ added in v1.0.0
func (x *OwnershipRequest) GetAccountid() string
func (*OwnershipRequest) GetOwnerid ¶ added in v1.0.0
func (x *OwnershipRequest) GetOwnerid() string
func (*OwnershipRequest) ProtoMessage ¶ added in v1.0.0
func (*OwnershipRequest) ProtoMessage()
func (*OwnershipRequest) ProtoReflect ¶ added in v1.0.0
func (x *OwnershipRequest) ProtoReflect() protoreflect.Message
func (*OwnershipRequest) Reset ¶ added in v1.0.0
func (x *OwnershipRequest) Reset()
func (*OwnershipRequest) String ¶ added in v1.0.0
func (x *OwnershipRequest) String() string
type OwnershipResponse ¶ added in v1.0.0
type OwnershipResponse struct {
// contains filtered or unexported fields
}
func (*OwnershipResponse) Descriptor
deprecated
added in
v1.0.0
func (*OwnershipResponse) Descriptor() ([]byte, []int)
Deprecated: Use OwnershipResponse.ProtoReflect.Descriptor instead.
func (*OwnershipResponse) ProtoMessage ¶ added in v1.0.0
func (*OwnershipResponse) ProtoMessage()
func (*OwnershipResponse) ProtoReflect ¶ added in v1.0.0
func (x *OwnershipResponse) ProtoReflect() protoreflect.Message
func (*OwnershipResponse) Reset ¶ added in v1.0.0
func (x *OwnershipResponse) Reset()
func (*OwnershipResponse) String ¶ added in v1.0.0
func (x *OwnershipResponse) String() string
type Permission ¶ added in v0.1.4
type Permission struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` AccountName string `protobuf:"bytes,3,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` Action Action `protobuf:"varint,4,opt,name=action,proto3,enum=infinimesh.node.Action" json:"action,omitempty"` // contains filtered or unexported fields }
func (*Permission) Descriptor
deprecated
added in
v0.1.4
func (*Permission) Descriptor() ([]byte, []int)
Deprecated: Use Permission.ProtoReflect.Descriptor instead.
func (*Permission) GetAccountId ¶ added in v0.1.4
func (x *Permission) GetAccountId() string
func (*Permission) GetAccountName ¶ added in v0.1.4
func (x *Permission) GetAccountName() string
func (*Permission) GetAction ¶ added in v0.1.4
func (x *Permission) GetAction() Action
func (*Permission) GetNamespace ¶ added in v0.1.4
func (x *Permission) GetNamespace() string
func (*Permission) ProtoMessage ¶ added in v0.1.4
func (*Permission) ProtoMessage()
func (*Permission) ProtoReflect ¶ added in v0.1.5
func (x *Permission) ProtoReflect() protoreflect.Message
func (*Permission) Reset ¶ added in v0.1.4
func (x *Permission) Reset()
func (*Permission) String ¶ added in v0.1.4
func (x *Permission) String() string
type SetPasswordRequest ¶ added in v0.1.4
type SetPasswordRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*SetPasswordRequest) Descriptor
deprecated
added in
v0.1.4
func (*SetPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetPasswordRequest.ProtoReflect.Descriptor instead.
func (*SetPasswordRequest) GetPassword ¶ added in v0.1.4
func (x *SetPasswordRequest) GetPassword() string
func (*SetPasswordRequest) GetUsername ¶ added in v0.1.4
func (x *SetPasswordRequest) GetUsername() string
func (*SetPasswordRequest) ProtoMessage ¶ added in v0.1.4
func (*SetPasswordRequest) ProtoMessage()
func (*SetPasswordRequest) ProtoReflect ¶ added in v0.1.5
func (x *SetPasswordRequest) ProtoReflect() protoreflect.Message
func (*SetPasswordRequest) Reset ¶ added in v0.1.4
func (x *SetPasswordRequest) Reset()
func (*SetPasswordRequest) String ¶ added in v0.1.4
func (x *SetPasswordRequest) String() string
type SetPasswordResponse ¶ added in v0.1.4
type SetPasswordResponse struct {
// contains filtered or unexported fields
}
func (*SetPasswordResponse) Descriptor
deprecated
added in
v0.1.4
func (*SetPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetPasswordResponse.ProtoReflect.Descriptor instead.
func (*SetPasswordResponse) ProtoMessage ¶ added in v0.1.4
func (*SetPasswordResponse) ProtoMessage()
func (*SetPasswordResponse) ProtoReflect ¶ added in v0.1.5
func (x *SetPasswordResponse) ProtoReflect() protoreflect.Message
func (*SetPasswordResponse) Reset ¶ added in v0.1.4
func (x *SetPasswordResponse) Reset()
func (*SetPasswordResponse) String ¶ added in v0.1.4
func (x *SetPasswordResponse) String() string
type UnimplementedAccountServiceServer ¶ added in v0.1.5
type UnimplementedAccountServiceServer struct { }
UnimplementedAccountServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAccountServiceServer) AssignOwner ¶ added in v1.0.0
func (*UnimplementedAccountServiceServer) AssignOwner(context.Context, *OwnershipRequest) (*OwnershipResponse, error)
func (*UnimplementedAccountServiceServer) Authenticate ¶ added in v0.1.5
func (*UnimplementedAccountServiceServer) Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
func (*UnimplementedAccountServiceServer) Authorize ¶ added in v0.1.5
func (*UnimplementedAccountServiceServer) Authorize(context.Context, *AuthorizeRequest) (*AuthorizeResponse, error)
func (*UnimplementedAccountServiceServer) AuthorizeNamespace ¶ added in v0.1.5
func (*UnimplementedAccountServiceServer) AuthorizeNamespace(context.Context, *AuthorizeNamespaceRequest) (*AuthorizeNamespaceResponse, error)
func (*UnimplementedAccountServiceServer) CreateUserAccount ¶ added in v0.1.5
func (*UnimplementedAccountServiceServer) CreateUserAccount(context.Context, *CreateUserAccountRequest) (*CreateUserAccountResponse, error)
func (*UnimplementedAccountServiceServer) DeleteAccount ¶ added in v0.1.5
func (*UnimplementedAccountServiceServer) DeleteAccount(context.Context, *DeleteAccountRequest) (*DeleteAccountResponse, error)
func (*UnimplementedAccountServiceServer) GetAccount ¶ added in v0.1.5
func (*UnimplementedAccountServiceServer) GetAccount(context.Context, *GetAccountRequest) (*Account, error)
func (*UnimplementedAccountServiceServer) IsAdmin ¶ added in v0.1.5
func (*UnimplementedAccountServiceServer) IsAdmin(context.Context, *IsAdminRequest) (*IsAdminResponse, error)
func (*UnimplementedAccountServiceServer) IsAuthorized ¶ added in v0.1.5
func (*UnimplementedAccountServiceServer) IsAuthorized(context.Context, *IsAuthorizedRequest) (*IsAuthorizedResponse, error)
func (*UnimplementedAccountServiceServer) IsAuthorizedNamespace ¶ added in v0.1.5
func (*UnimplementedAccountServiceServer) IsAuthorizedNamespace(context.Context, *IsAuthorizedNamespaceRequest) (*IsAuthorizedNamespaceResponse, error)
func (*UnimplementedAccountServiceServer) IsRoot ¶ added in v0.1.5
func (*UnimplementedAccountServiceServer) IsRoot(context.Context, *IsRootRequest) (*IsRootResponse, error)
func (*UnimplementedAccountServiceServer) ListAccounts ¶ added in v0.1.5
func (*UnimplementedAccountServiceServer) ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error)
func (*UnimplementedAccountServiceServer) RemoveOwner ¶ added in v1.0.0
func (*UnimplementedAccountServiceServer) RemoveOwner(context.Context, *OwnershipRequest) (*OwnershipResponse, error)
func (*UnimplementedAccountServiceServer) SetPassword ¶ added in v0.1.5
func (*UnimplementedAccountServiceServer) SetPassword(context.Context, *SetPasswordRequest) (*SetPasswordResponse, error)
func (*UnimplementedAccountServiceServer) UpdateAccount ¶ added in v0.1.5
func (*UnimplementedAccountServiceServer) UpdateAccount(context.Context, *UpdateAccountRequest) (*UpdateAccountResponse, error)
type UnimplementedNamespacesServer ¶ added in v0.1.5
type UnimplementedNamespacesServer struct { }
UnimplementedNamespacesServer can be embedded to have forward compatible implementations.
func (*UnimplementedNamespacesServer) CreateNamespace ¶ added in v0.1.5
func (*UnimplementedNamespacesServer) CreateNamespace(context.Context, *CreateNamespaceRequest) (*Namespace, error)
func (*UnimplementedNamespacesServer) DeleteNamespace ¶ added in v0.1.5
func (*UnimplementedNamespacesServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error)
func (*UnimplementedNamespacesServer) DeletePermission ¶ added in v0.1.5
func (*UnimplementedNamespacesServer) DeletePermission(context.Context, *DeletePermissionRequest) (*DeletePermissionResponse, error)
func (*UnimplementedNamespacesServer) GetNamespace ¶ added in v0.1.5
func (*UnimplementedNamespacesServer) GetNamespace(context.Context, *GetNamespaceRequest) (*Namespace, error)
func (*UnimplementedNamespacesServer) ListNamespaces ¶ added in v0.1.5
func (*UnimplementedNamespacesServer) ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error)
func (*UnimplementedNamespacesServer) ListPermissions ¶ added in v0.1.5
func (*UnimplementedNamespacesServer) ListPermissions(context.Context, *ListPermissionsRequest) (*ListPermissionsResponse, error)
func (*UnimplementedNamespacesServer) UpdateNamespace ¶ added in v0.1.5
func (*UnimplementedNamespacesServer) UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*UpdateNamespaceResponse, error)
type UnimplementedObjectServiceServer ¶ added in v0.1.5
type UnimplementedObjectServiceServer struct { }
UnimplementedObjectServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedObjectServiceServer) CreateObject ¶ added in v0.1.5
func (*UnimplementedObjectServiceServer) CreateObject(context.Context, *CreateObjectRequest) (*Object, error)
func (*UnimplementedObjectServiceServer) DeleteObject ¶ added in v0.1.5
func (*UnimplementedObjectServiceServer) DeleteObject(context.Context, *DeleteObjectRequest) (*DeleteObjectResponse, error)
func (*UnimplementedObjectServiceServer) ListObjects ¶ added in v0.1.5
func (*UnimplementedObjectServiceServer) ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error)
type UpdateAccountRequest ¶
type UpdateAccountRequest struct { Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` FieldMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=fieldMask,proto3" json:"fieldMask,omitempty"` // contains filtered or unexported fields }
func (*UpdateAccountRequest) Descriptor
deprecated
func (*UpdateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAccountRequest.ProtoReflect.Descriptor instead.
func (*UpdateAccountRequest) GetAccount ¶
func (x *UpdateAccountRequest) GetAccount() *Account
func (*UpdateAccountRequest) GetFieldMask ¶
func (x *UpdateAccountRequest) GetFieldMask() *field_mask.FieldMask
func (*UpdateAccountRequest) ProtoMessage ¶
func (*UpdateAccountRequest) ProtoMessage()
func (*UpdateAccountRequest) ProtoReflect ¶ added in v0.1.5
func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message
func (*UpdateAccountRequest) Reset ¶
func (x *UpdateAccountRequest) Reset()
func (*UpdateAccountRequest) String ¶
func (x *UpdateAccountRequest) String() string
type UpdateAccountResponse ¶ added in v0.1.5
type UpdateAccountResponse struct {
// contains filtered or unexported fields
}
func (*UpdateAccountResponse) Descriptor
deprecated
added in
v0.1.5
func (*UpdateAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAccountResponse.ProtoReflect.Descriptor instead.
func (*UpdateAccountResponse) ProtoMessage ¶ added in v0.1.5
func (*UpdateAccountResponse) ProtoMessage()
func (*UpdateAccountResponse) ProtoReflect ¶ added in v0.1.5
func (x *UpdateAccountResponse) ProtoReflect() protoreflect.Message
func (*UpdateAccountResponse) Reset ¶ added in v0.1.5
func (x *UpdateAccountResponse) Reset()
func (*UpdateAccountResponse) String ¶ added in v0.1.5
func (x *UpdateAccountResponse) String() string
type UpdateNamespaceRequest ¶ added in v0.1.5
type UpdateNamespaceRequest struct { Namespace *Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` NamespaceMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=namespaceMask,proto3" json:"namespaceMask,omitempty"` // contains filtered or unexported fields }
func (*UpdateNamespaceRequest) Descriptor
deprecated
added in
v0.1.5
func (*UpdateNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNamespaceRequest.ProtoReflect.Descriptor instead.
func (*UpdateNamespaceRequest) GetNamespace ¶ added in v0.1.5
func (x *UpdateNamespaceRequest) GetNamespace() *Namespace
func (*UpdateNamespaceRequest) GetNamespaceMask ¶ added in v0.1.5
func (x *UpdateNamespaceRequest) GetNamespaceMask() *field_mask.FieldMask
func (*UpdateNamespaceRequest) ProtoMessage ¶ added in v0.1.5
func (*UpdateNamespaceRequest) ProtoMessage()
func (*UpdateNamespaceRequest) ProtoReflect ¶ added in v0.1.5
func (x *UpdateNamespaceRequest) ProtoReflect() protoreflect.Message
func (*UpdateNamespaceRequest) Reset ¶ added in v0.1.5
func (x *UpdateNamespaceRequest) Reset()
func (*UpdateNamespaceRequest) String ¶ added in v0.1.5
func (x *UpdateNamespaceRequest) String() string
type UpdateNamespaceResponse ¶ added in v0.1.5
type UpdateNamespaceResponse struct {
// contains filtered or unexported fields
}
func (*UpdateNamespaceResponse) Descriptor
deprecated
added in
v0.1.5
func (*UpdateNamespaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNamespaceResponse.ProtoReflect.Descriptor instead.
func (*UpdateNamespaceResponse) ProtoMessage ¶ added in v0.1.5
func (*UpdateNamespaceResponse) ProtoMessage()
func (*UpdateNamespaceResponse) ProtoReflect ¶ added in v0.1.5
func (x *UpdateNamespaceResponse) ProtoReflect() protoreflect.Message
func (*UpdateNamespaceResponse) Reset ¶ added in v0.1.5
func (x *UpdateNamespaceResponse) Reset()
func (*UpdateNamespaceResponse) String ¶ added in v0.1.5
func (x *UpdateNamespaceResponse) String() string