nodepb

package
v0.0.0-...-c6a7f1f Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
var AccountService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "infinimesh.node.AccountService",
	HandlerType: (*AccountServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateUserAccount",
			Handler:    _AccountService_CreateUserAccount_Handler,
		},
		{
			MethodName: "UpdateAccount",
			Handler:    _AccountService_UpdateAccount_Handler,
		},
		{
			MethodName: "GetAccount",
			Handler:    _AccountService_GetAccount_Handler,
		},
		{
			MethodName: "ListAccounts",
			Handler:    _AccountService_ListAccounts_Handler,
		},
		{
			MethodName: "SetPassword",
			Handler:    _AccountService_SetPassword_Handler,
		},
		{
			MethodName: "DeleteAccount",
			Handler:    _AccountService_DeleteAccount_Handler,
		},
		{
			MethodName: "Authenticate",
			Handler:    _AccountService_Authenticate_Handler,
		},
		{
			MethodName: "IsAuthorized",
			Handler:    _AccountService_IsAuthorized_Handler,
		},
		{
			MethodName: "IsAuthorizedNamespace",
			Handler:    _AccountService_IsAuthorizedNamespace_Handler,
		},
		{
			MethodName: "Authorize",
			Handler:    _AccountService_Authorize_Handler,
		},
		{
			MethodName: "AuthorizeNamespace",
			Handler:    _AccountService_AuthorizeNamespace_Handler,
		},
		{
			MethodName: "IsRoot",
			Handler:    _AccountService_IsRoot_Handler,
		},
		{
			MethodName: "IsAdmin",
			Handler:    _AccountService_IsAdmin_Handler,
		},
		{
			MethodName: "AssignOwner",
			Handler:    _AccountService_AssignOwner_Handler,
		},
		{
			MethodName: "RemoveOwner",
			Handler:    _AccountService_RemoveOwner_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/node/nodepb/node.proto",
}

AccountService_ServiceDesc is the grpc.ServiceDesc for AccountService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_pkg_node_nodepb_node_proto protoreflect.FileDescriptor
View Source
var Namespaces_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "infinimesh.node.Namespaces",
	HandlerType: (*NamespacesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateNamespace",
			Handler:    _Namespaces_CreateNamespace_Handler,
		},
		{
			MethodName: "GetNamespace",
			Handler:    _Namespaces_GetNamespace_Handler,
		},
		{
			MethodName: "ListNamespaces",
			Handler:    _Namespaces_ListNamespaces_Handler,
		},
		{
			MethodName: "ListPermissions",
			Handler:    _Namespaces_ListPermissions_Handler,
		},
		{
			MethodName: "DeletePermission",
			Handler:    _Namespaces_DeletePermission_Handler,
		},
		{
			MethodName: "DeleteNamespace",
			Handler:    _Namespaces_DeleteNamespace_Handler,
		},
		{
			MethodName: "UpdateNamespace",
			Handler:    _Namespaces_UpdateNamespace_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/node/nodepb/node.proto",
}

Namespaces_ServiceDesc is the grpc.ServiceDesc for Namespaces service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ObjectService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "infinimesh.node.ObjectService",
	HandlerType: (*ObjectServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateObject",
			Handler:    _ObjectService_CreateObject_Handler,
		},
		{
			MethodName: "ListObjects",
			Handler:    _ObjectService_ListObjects_Handler,
		},
		{
			MethodName: "DeleteObject",
			Handler:    _ObjectService_DeleteObject_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/node/nodepb/node.proto",
}

ObjectService_ServiceDesc is the grpc.ServiceDesc for ObjectService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAccountServiceServer

func RegisterAccountServiceServer(s grpc.ServiceRegistrar, srv AccountServiceServer)

func RegisterNamespacesServer

func RegisterNamespacesServer(s grpc.ServiceRegistrar, srv NamespacesServer)

func RegisterObjectServiceServer

func RegisterObjectServiceServer(s grpc.ServiceRegistrar, 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) Descriptor() ([]byte, []int)

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetDefaultNamespace

func (x *Account) GetDefaultNamespace() *Namespace

func (*Account) GetEnabled

func (x *Account) GetEnabled() bool

func (*Account) GetIsAdmin

func (x *Account) GetIsAdmin() bool

func (*Account) GetIsRoot

func (x *Account) GetIsRoot() bool

func (*Account) GetName

func (x *Account) GetName() string

func (*Account) GetOwner

func (x *Account) GetOwner() string

func (*Account) GetPassword

func (x *Account) GetPassword() string

func (*Account) GetUid

func (x *Account) GetUid() string

func (*Account) GetUsername

func (x *Account) GetUsername() string

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

func (x *Account) ProtoReflect() protoreflect.Message

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AccountServiceServer

AccountServiceServer is the server API for AccountService service. All implementations must embed UnimplementedAccountServiceServer for forward compatibility

type Action

type Action int32
const (
	Action_NONE  Action = 0
	Action_READ  Action = 1
	Action_WRITE Action = 2
)

func (Action) Descriptor

func (Action) Descriptor() protoreflect.EnumDescriptor

func (Action) Enum

func (x Action) Enum() *Action

func (Action) EnumDescriptor deprecated

func (Action) EnumDescriptor() ([]byte, []int)

Deprecated: Use Action.Descriptor instead.

func (Action) Number

func (x Action) Number() protoreflect.EnumNumber

func (Action) String

func (x Action) String() string

func (Action) Type

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

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

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

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

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

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

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

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

func (x *CreateObjectRequest) GetNamespaceid() string

func (*CreateObjectRequest) GetParent

func (x *CreateObjectRequest) GetParent() string

func (*CreateObjectRequest) ProtoMessage

func (*CreateObjectRequest) ProtoMessage()

func (*CreateObjectRequest) ProtoReflect

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

func (x *CreateUserAccountRequest) GetCreateGfUser() bool

func (*CreateUserAccountRequest) GetPassword

func (x *CreateUserAccountRequest) GetPassword() string

func (*CreateUserAccountRequest) ProtoMessage

func (*CreateUserAccountRequest) ProtoMessage()

func (*CreateUserAccountRequest) ProtoReflect

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

func (*CreateUserAccountResponse) Reset

func (x *CreateUserAccountResponse) Reset()

func (*CreateUserAccountResponse) String

func (x *CreateUserAccountResponse) String() string

type DeleteAccountRequest

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

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

Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead.

func (*DeleteAccountRequest) GetHarddelete

func (x *DeleteAccountRequest) GetHarddelete() bool

func (*DeleteAccountRequest) GetUid

func (x *DeleteAccountRequest) GetUid() string

func (*DeleteAccountRequest) ProtoMessage

func (*DeleteAccountRequest) ProtoMessage()

func (*DeleteAccountRequest) ProtoReflect

func (x *DeleteAccountRequest) ProtoReflect() protoreflect.Message

func (*DeleteAccountRequest) Reset

func (x *DeleteAccountRequest) Reset()

func (*DeleteAccountRequest) String

func (x *DeleteAccountRequest) String() string

type DeleteAccountResponse

type DeleteAccountResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteAccountResponse) Descriptor deprecated

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

Deprecated: Use DeleteAccountResponse.ProtoReflect.Descriptor instead.

func (*DeleteAccountResponse) ProtoMessage

func (*DeleteAccountResponse) ProtoMessage()

func (*DeleteAccountResponse) ProtoReflect

func (x *DeleteAccountResponse) ProtoReflect() protoreflect.Message

func (*DeleteAccountResponse) Reset

func (x *DeleteAccountResponse) Reset()

func (*DeleteAccountResponse) String

func (x *DeleteAccountResponse) String() string

type DeleteNamespaceRequest

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

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

Deprecated: Use DeleteNamespaceRequest.ProtoReflect.Descriptor instead.

func (*DeleteNamespaceRequest) GetHarddelete

func (x *DeleteNamespaceRequest) GetHarddelete() bool

func (*DeleteNamespaceRequest) GetNamespaceid

func (x *DeleteNamespaceRequest) GetNamespaceid() string

func (*DeleteNamespaceRequest) ProtoMessage

func (*DeleteNamespaceRequest) ProtoMessage()

func (*DeleteNamespaceRequest) ProtoReflect

func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message

func (*DeleteNamespaceRequest) Reset

func (x *DeleteNamespaceRequest) Reset()

func (*DeleteNamespaceRequest) String

func (x *DeleteNamespaceRequest) String() string

type DeleteNamespaceResponse

type DeleteNamespaceResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteNamespaceResponse) Descriptor deprecated

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

Deprecated: Use DeleteNamespaceResponse.ProtoReflect.Descriptor instead.

func (*DeleteNamespaceResponse) ProtoMessage

func (*DeleteNamespaceResponse) ProtoMessage()

func (*DeleteNamespaceResponse) ProtoReflect

func (x *DeleteNamespaceResponse) ProtoReflect() protoreflect.Message

func (*DeleteNamespaceResponse) Reset

func (x *DeleteNamespaceResponse) Reset()

func (*DeleteNamespaceResponse) String

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

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

func (x *DeleteObjectResponse) ProtoReflect() protoreflect.Message

func (*DeleteObjectResponse) Reset

func (x *DeleteObjectResponse) Reset()

func (*DeleteObjectResponse) String

func (x *DeleteObjectResponse) String() string

type DeletePermissionRequest

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

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

Deprecated: Use DeletePermissionRequest.ProtoReflect.Descriptor instead.

func (*DeletePermissionRequest) GetAccountId

func (x *DeletePermissionRequest) GetAccountId() string

func (*DeletePermissionRequest) GetNamespace

func (x *DeletePermissionRequest) GetNamespace() string

func (*DeletePermissionRequest) ProtoMessage

func (*DeletePermissionRequest) ProtoMessage()

func (*DeletePermissionRequest) ProtoReflect

func (x *DeletePermissionRequest) ProtoReflect() protoreflect.Message

func (*DeletePermissionRequest) Reset

func (x *DeletePermissionRequest) Reset()

func (*DeletePermissionRequest) String

func (x *DeletePermissionRequest) String() string

type DeletePermissionResponse

type DeletePermissionResponse struct {
	// contains filtered or unexported fields
}

func (*DeletePermissionResponse) Descriptor deprecated

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

Deprecated: Use DeletePermissionResponse.ProtoReflect.Descriptor instead.

func (*DeletePermissionResponse) ProtoMessage

func (*DeletePermissionResponse) ProtoMessage()

func (*DeletePermissionResponse) ProtoReflect

func (x *DeletePermissionResponse) ProtoReflect() protoreflect.Message

func (*DeletePermissionResponse) Reset

func (x *DeletePermissionResponse) Reset()

func (*DeletePermissionResponse) String

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

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

func (x *GetNamespaceRequest) ProtoReflect() protoreflect.Message

func (*GetNamespaceRequest) Reset

func (x *GetNamespaceRequest) Reset()

func (*GetNamespaceRequest) String

func (x *GetNamespaceRequest) String() string

type IsAdminRequest

type IsAdminRequest struct {
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*IsAdminRequest) Descriptor deprecated

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

Deprecated: Use IsAdminRequest.ProtoReflect.Descriptor instead.

func (*IsAdminRequest) GetAccount

func (x *IsAdminRequest) GetAccount() string

func (*IsAdminRequest) ProtoMessage

func (*IsAdminRequest) ProtoMessage()

func (*IsAdminRequest) ProtoReflect

func (x *IsAdminRequest) ProtoReflect() protoreflect.Message

func (*IsAdminRequest) Reset

func (x *IsAdminRequest) Reset()

func (*IsAdminRequest) String

func (x *IsAdminRequest) String() string

type IsAdminResponse

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

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

Deprecated: Use IsAdminResponse.ProtoReflect.Descriptor instead.

func (*IsAdminResponse) GetIsAdmin

func (x *IsAdminResponse) GetIsAdmin() bool

func (*IsAdminResponse) ProtoMessage

func (*IsAdminResponse) ProtoMessage()

func (*IsAdminResponse) ProtoReflect

func (x *IsAdminResponse) ProtoReflect() protoreflect.Message

func (*IsAdminResponse) Reset

func (x *IsAdminResponse) Reset()

func (*IsAdminResponse) String

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

func (x *IsAuthorizedNamespaceRequest) GetNamespaceid() string

func (*IsAuthorizedNamespaceRequest) ProtoMessage

func (*IsAuthorizedNamespaceRequest) ProtoMessage()

func (*IsAuthorizedNamespaceRequest) ProtoReflect

func (*IsAuthorizedNamespaceRequest) Reset

func (x *IsAuthorizedNamespaceRequest) Reset()

func (*IsAuthorizedNamespaceRequest) String

type IsAuthorizedNamespaceResponse

type IsAuthorizedNamespaceResponse struct {
	Decision *wrapperspb.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 (*IsAuthorizedNamespaceResponse) ProtoMessage

func (*IsAuthorizedNamespaceResponse) ProtoMessage()

func (*IsAuthorizedNamespaceResponse) ProtoReflect

func (*IsAuthorizedNamespaceResponse) Reset

func (x *IsAuthorizedNamespaceResponse) Reset()

func (*IsAuthorizedNamespaceResponse) 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

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 *wrapperspb.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() *wrapperspb.BoolValue

func (*IsAuthorizedResponse) ProtoMessage

func (*IsAuthorizedResponse) ProtoMessage()

func (*IsAuthorizedResponse) ProtoReflect

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

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

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

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

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

func (*ListNamespacesForAccountRequest) Reset

func (*ListNamespacesForAccountRequest) 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

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

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

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

func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message

func (*ListObjectsResponse) Reset

func (x *ListObjectsResponse) Reset()

func (*ListObjectsResponse) String

func (x *ListObjectsResponse) String() string

type ListPermissionsRequest

type ListPermissionsRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPermissionsRequest) Descriptor deprecated

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

Deprecated: Use ListPermissionsRequest.ProtoReflect.Descriptor instead.

func (*ListPermissionsRequest) GetNamespace

func (x *ListPermissionsRequest) GetNamespace() string

func (*ListPermissionsRequest) ProtoMessage

func (*ListPermissionsRequest) ProtoMessage()

func (*ListPermissionsRequest) ProtoReflect

func (x *ListPermissionsRequest) ProtoReflect() protoreflect.Message

func (*ListPermissionsRequest) Reset

func (x *ListPermissionsRequest) Reset()

func (*ListPermissionsRequest) String

func (x *ListPermissionsRequest) String() string

type ListPermissionsResponse

type ListPermissionsResponse struct {
	Permissions []*Permission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPermissionsResponse) Descriptor deprecated

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

Deprecated: Use ListPermissionsResponse.ProtoReflect.Descriptor instead.

func (*ListPermissionsResponse) GetPermissions

func (x *ListPermissionsResponse) GetPermissions() []*Permission

func (*ListPermissionsResponse) ProtoMessage

func (*ListPermissionsResponse) ProtoMessage()

func (*ListPermissionsResponse) ProtoReflect

func (x *ListPermissionsResponse) ProtoReflect() protoreflect.Message

func (*ListPermissionsResponse) Reset

func (x *ListPermissionsResponse) Reset()

func (*ListPermissionsResponse) String

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"`
	RetentionPeriod      int32  `protobuf:"varint,5,opt,name=RetentionPeriod,proto3" json:"RetentionPeriod,omitempty"`
	// contains filtered or unexported fields
}

func (*Namespace) Descriptor deprecated

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

Deprecated: Use Namespace.ProtoReflect.Descriptor instead.

func (*Namespace) GetDeleteinitiationtime

func (x *Namespace) GetDeleteinitiationtime() string

func (*Namespace) GetId

func (x *Namespace) GetId() string

func (*Namespace) GetMarkfordeletion

func (x *Namespace) GetMarkfordeletion() bool

func (*Namespace) GetName

func (x *Namespace) GetName() string

func (*Namespace) GetRetentionPeriod

func (x *Namespace) GetRetentionPeriod() int32

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) ProtoReflect

func (x *Namespace) ProtoReflect() protoreflect.Message

func (*Namespace) Reset

func (x *Namespace) Reset()

func (*Namespace) String

func (x *Namespace) String() string

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewNamespacesClient

func NewNamespacesClient(cc grpc.ClientConnInterface) NamespacesClient

type NamespacesServer

NamespacesServer is the server API for Namespaces service. All implementations must embed UnimplementedNamespacesServer for forward compatibility

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

Deprecated: Use Object.ProtoReflect.Descriptor instead.

func (*Object) GetKind

func (x *Object) GetKind() string

func (*Object) GetName

func (x *Object) GetName() string

func (*Object) GetObjects

func (x *Object) GetObjects() []*Object

func (*Object) GetUid

func (x *Object) GetUid() string

func (*Object) ProtoMessage

func (*Object) ProtoMessage()

func (*Object) ProtoReflect

func (x *Object) ProtoReflect() protoreflect.Message

func (*Object) Reset

func (x *Object) Reset()

func (*Object) String

func (x *Object) String() string

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ObjectServiceServer

type ObjectServiceServer interface {
	CreateObject(context.Context, *CreateObjectRequest) (*Object, error)
	ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error)
	DeleteObject(context.Context, *DeleteObjectRequest) (*DeleteObjectResponse, error)
	// contains filtered or unexported methods
}

ObjectServiceServer is the server API for ObjectService service. All implementations must embed UnimplementedObjectServiceServer for forward compatibility

type OwnershipRequest

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

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

Deprecated: Use OwnershipRequest.ProtoReflect.Descriptor instead.

func (*OwnershipRequest) GetAccountid

func (x *OwnershipRequest) GetAccountid() string

func (*OwnershipRequest) GetOwnerid

func (x *OwnershipRequest) GetOwnerid() string

func (*OwnershipRequest) ProtoMessage

func (*OwnershipRequest) ProtoMessage()

func (*OwnershipRequest) ProtoReflect

func (x *OwnershipRequest) ProtoReflect() protoreflect.Message

func (*OwnershipRequest) Reset

func (x *OwnershipRequest) Reset()

func (*OwnershipRequest) String

func (x *OwnershipRequest) String() string

type OwnershipResponse

type OwnershipResponse struct {
	// contains filtered or unexported fields
}

func (*OwnershipResponse) Descriptor deprecated

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

Deprecated: Use OwnershipResponse.ProtoReflect.Descriptor instead.

func (*OwnershipResponse) ProtoMessage

func (*OwnershipResponse) ProtoMessage()

func (*OwnershipResponse) ProtoReflect

func (x *OwnershipResponse) ProtoReflect() protoreflect.Message

func (*OwnershipResponse) Reset

func (x *OwnershipResponse) Reset()

func (*OwnershipResponse) String

func (x *OwnershipResponse) String() string

type Permission

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

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

Deprecated: Use Permission.ProtoReflect.Descriptor instead.

func (*Permission) GetAccountId

func (x *Permission) GetAccountId() string

func (*Permission) GetAccountName

func (x *Permission) GetAccountName() string

func (*Permission) GetAction

func (x *Permission) GetAction() Action

func (*Permission) GetNamespace

func (x *Permission) GetNamespace() string

func (*Permission) ProtoMessage

func (*Permission) ProtoMessage()

func (*Permission) ProtoReflect

func (x *Permission) ProtoReflect() protoreflect.Message

func (*Permission) Reset

func (x *Permission) Reset()

func (*Permission) String

func (x *Permission) String() string

type SetPasswordRequest

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

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

Deprecated: Use SetPasswordRequest.ProtoReflect.Descriptor instead.

func (*SetPasswordRequest) GetPassword

func (x *SetPasswordRequest) GetPassword() string

func (*SetPasswordRequest) GetUsername

func (x *SetPasswordRequest) GetUsername() string

func (*SetPasswordRequest) ProtoMessage

func (*SetPasswordRequest) ProtoMessage()

func (*SetPasswordRequest) ProtoReflect

func (x *SetPasswordRequest) ProtoReflect() protoreflect.Message

func (*SetPasswordRequest) Reset

func (x *SetPasswordRequest) Reset()

func (*SetPasswordRequest) String

func (x *SetPasswordRequest) String() string

type SetPasswordResponse

type SetPasswordResponse struct {
	// contains filtered or unexported fields
}

func (*SetPasswordResponse) Descriptor deprecated

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

Deprecated: Use SetPasswordResponse.ProtoReflect.Descriptor instead.

func (*SetPasswordResponse) ProtoMessage

func (*SetPasswordResponse) ProtoMessage()

func (*SetPasswordResponse) ProtoReflect

func (x *SetPasswordResponse) ProtoReflect() protoreflect.Message

func (*SetPasswordResponse) Reset

func (x *SetPasswordResponse) Reset()

func (*SetPasswordResponse) String

func (x *SetPasswordResponse) String() string

type UnimplementedAccountServiceServer

type UnimplementedAccountServiceServer struct {
}

UnimplementedAccountServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAccountServiceServer) AssignOwner

func (UnimplementedAccountServiceServer) Authenticate

func (UnimplementedAccountServiceServer) Authorize

func (UnimplementedAccountServiceServer) AuthorizeNamespace

func (UnimplementedAccountServiceServer) CreateUserAccount

func (UnimplementedAccountServiceServer) DeleteAccount

func (UnimplementedAccountServiceServer) GetAccount

func (UnimplementedAccountServiceServer) IsAdmin

func (UnimplementedAccountServiceServer) IsAuthorized

func (UnimplementedAccountServiceServer) IsRoot

func (UnimplementedAccountServiceServer) ListAccounts

func (UnimplementedAccountServiceServer) RemoveOwner

func (UnimplementedAccountServiceServer) SetPassword

func (UnimplementedAccountServiceServer) UpdateAccount

type UnimplementedNamespacesServer

type UnimplementedNamespacesServer struct {
}

UnimplementedNamespacesServer must be embedded to have forward compatible implementations.

func (UnimplementedNamespacesServer) CreateNamespace

func (UnimplementedNamespacesServer) DeleteNamespace

func (UnimplementedNamespacesServer) DeletePermission

func (UnimplementedNamespacesServer) GetNamespace

func (UnimplementedNamespacesServer) ListNamespaces

func (UnimplementedNamespacesServer) ListPermissions

func (UnimplementedNamespacesServer) UpdateNamespace

type UnimplementedObjectServiceServer

type UnimplementedObjectServiceServer struct {
}

UnimplementedObjectServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedObjectServiceServer) CreateObject

func (UnimplementedObjectServiceServer) DeleteObject

func (UnimplementedObjectServiceServer) ListObjects

type UnsafeAccountServiceServer

type UnsafeAccountServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAccountServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccountServiceServer will result in compilation errors.

type UnsafeNamespacesServer

type UnsafeNamespacesServer interface {
	// contains filtered or unexported methods
}

UnsafeNamespacesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NamespacesServer will result in compilation errors.

type UnsafeObjectServiceServer

type UnsafeObjectServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeObjectServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ObjectServiceServer will result in compilation errors.

type UpdateAccountRequest

type UpdateAccountRequest struct {
	Account   *Account               `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	FieldMask *fieldmaskpb.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() *fieldmaskpb.FieldMask

func (*UpdateAccountRequest) ProtoMessage

func (*UpdateAccountRequest) ProtoMessage()

func (*UpdateAccountRequest) ProtoReflect

func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message

func (*UpdateAccountRequest) Reset

func (x *UpdateAccountRequest) Reset()

func (*UpdateAccountRequest) String

func (x *UpdateAccountRequest) String() string

type UpdateAccountResponse

type UpdateAccountResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateAccountResponse) Descriptor deprecated

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

Deprecated: Use UpdateAccountResponse.ProtoReflect.Descriptor instead.

func (*UpdateAccountResponse) ProtoMessage

func (*UpdateAccountResponse) ProtoMessage()

func (*UpdateAccountResponse) ProtoReflect

func (x *UpdateAccountResponse) ProtoReflect() protoreflect.Message

func (*UpdateAccountResponse) Reset

func (x *UpdateAccountResponse) Reset()

func (*UpdateAccountResponse) String

func (x *UpdateAccountResponse) String() string

type UpdateNamespaceRequest

type UpdateNamespaceRequest struct {
	Namespace     *Namespace             `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	NamespaceMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=namespaceMask,proto3" json:"namespaceMask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateNamespaceRequest) Descriptor deprecated

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

Deprecated: Use UpdateNamespaceRequest.ProtoReflect.Descriptor instead.

func (*UpdateNamespaceRequest) GetNamespace

func (x *UpdateNamespaceRequest) GetNamespace() *Namespace

func (*UpdateNamespaceRequest) GetNamespaceMask

func (x *UpdateNamespaceRequest) GetNamespaceMask() *fieldmaskpb.FieldMask

func (*UpdateNamespaceRequest) ProtoMessage

func (*UpdateNamespaceRequest) ProtoMessage()

func (*UpdateNamespaceRequest) ProtoReflect

func (x *UpdateNamespaceRequest) ProtoReflect() protoreflect.Message

func (*UpdateNamespaceRequest) Reset

func (x *UpdateNamespaceRequest) Reset()

func (*UpdateNamespaceRequest) String

func (x *UpdateNamespaceRequest) String() string

type UpdateNamespaceResponse

type UpdateNamespaceResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateNamespaceResponse) Descriptor deprecated

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

Deprecated: Use UpdateNamespaceResponse.ProtoReflect.Descriptor instead.

func (*UpdateNamespaceResponse) ProtoMessage

func (*UpdateNamespaceResponse) ProtoMessage()

func (*UpdateNamespaceResponse) ProtoReflect

func (x *UpdateNamespaceResponse) ProtoReflect() protoreflect.Message

func (*UpdateNamespaceResponse) Reset

func (x *UpdateNamespaceResponse) Reset()

func (*UpdateNamespaceResponse) String

func (x *UpdateNamespaceResponse) String() string

Jump to

Keyboard shortcuts

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