Documentation ¶
Index ¶
- Variables
- type CreateContractAction
- func (*CreateContractAction) Descriptor() ([]byte, []int)deprecated
- func (x *CreateContractAction) GetContract() []byte
- func (x *CreateContractAction) GetInputs() []string
- func (x *CreateContractAction) GetName() string
- func (x *CreateContractAction) GetOutputs() []string
- func (x *CreateContractAction) GetVersion() string
- func (*CreateContractAction) ProtoMessage()
- func (x *CreateContractAction) ProtoReflect() protoreflect.Message
- func (x *CreateContractAction) Reset()
- func (x *CreateContractAction) String() string
- type CreateContractRegistryAction
- func (*CreateContractRegistryAction) Descriptor() ([]byte, []int)deprecated
- func (x *CreateContractRegistryAction) GetName() string
- func (x *CreateContractRegistryAction) GetOwners() []string
- func (*CreateContractRegistryAction) ProtoMessage()
- func (x *CreateContractRegistryAction) ProtoReflect() protoreflect.Message
- func (x *CreateContractRegistryAction) Reset()
- func (x *CreateContractRegistryAction) String() string
- type CreateNamespaceRegistryAction
- func (*CreateNamespaceRegistryAction) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNamespaceRegistryAction) GetNamespace() string
- func (x *CreateNamespaceRegistryAction) GetOwners() []string
- func (*CreateNamespaceRegistryAction) ProtoMessage()
- func (x *CreateNamespaceRegistryAction) ProtoReflect() protoreflect.Message
- func (x *CreateNamespaceRegistryAction) Reset()
- func (x *CreateNamespaceRegistryAction) String() string
- type CreateNamespaceRegistryPermissionAction
- func (*CreateNamespaceRegistryPermissionAction) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNamespaceRegistryPermissionAction) GetContractName() string
- func (x *CreateNamespaceRegistryPermissionAction) GetNamespace() string
- func (x *CreateNamespaceRegistryPermissionAction) GetRead() bool
- func (x *CreateNamespaceRegistryPermissionAction) GetWrite() bool
- func (*CreateNamespaceRegistryPermissionAction) ProtoMessage()
- func (x *CreateNamespaceRegistryPermissionAction) ProtoReflect() protoreflect.Message
- func (x *CreateNamespaceRegistryPermissionAction) Reset()
- func (x *CreateNamespaceRegistryPermissionAction) String() string
- type CreateSmartPermissionAction
- func (*CreateSmartPermissionAction) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSmartPermissionAction) GetFunction() []byte
- func (x *CreateSmartPermissionAction) GetName() string
- func (x *CreateSmartPermissionAction) GetOrgId() string
- func (*CreateSmartPermissionAction) ProtoMessage()
- func (x *CreateSmartPermissionAction) ProtoReflect() protoreflect.Message
- func (x *CreateSmartPermissionAction) Reset()
- func (x *CreateSmartPermissionAction) String() string
- type DeleteContractAction
- func (*DeleteContractAction) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteContractAction) GetName() string
- func (x *DeleteContractAction) GetVersion() string
- func (*DeleteContractAction) ProtoMessage()
- func (x *DeleteContractAction) ProtoReflect() protoreflect.Message
- func (x *DeleteContractAction) Reset()
- func (x *DeleteContractAction) String() string
- type DeleteContractRegistryAction
- func (*DeleteContractRegistryAction) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteContractRegistryAction) GetName() string
- func (*DeleteContractRegistryAction) ProtoMessage()
- func (x *DeleteContractRegistryAction) ProtoReflect() protoreflect.Message
- func (x *DeleteContractRegistryAction) Reset()
- func (x *DeleteContractRegistryAction) String() string
- type DeleteNamespaceRegistryAction
- func (*DeleteNamespaceRegistryAction) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNamespaceRegistryAction) GetNamespace() string
- func (*DeleteNamespaceRegistryAction) ProtoMessage()
- func (x *DeleteNamespaceRegistryAction) ProtoReflect() protoreflect.Message
- func (x *DeleteNamespaceRegistryAction) Reset()
- func (x *DeleteNamespaceRegistryAction) String() string
- type DeleteNamespaceRegistryPermissionAction
- func (*DeleteNamespaceRegistryPermissionAction) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNamespaceRegistryPermissionAction) GetContractName() string
- func (x *DeleteNamespaceRegistryPermissionAction) GetNamespace() string
- func (*DeleteNamespaceRegistryPermissionAction) ProtoMessage()
- func (x *DeleteNamespaceRegistryPermissionAction) ProtoReflect() protoreflect.Message
- func (x *DeleteNamespaceRegistryPermissionAction) Reset()
- func (x *DeleteNamespaceRegistryPermissionAction) String() string
- type DeleteSmartPermissionAction
- func (*DeleteSmartPermissionAction) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSmartPermissionAction) GetName() string
- func (x *DeleteSmartPermissionAction) GetOrgId() string
- func (*DeleteSmartPermissionAction) ProtoMessage()
- func (x *DeleteSmartPermissionAction) ProtoReflect() protoreflect.Message
- func (x *DeleteSmartPermissionAction) Reset()
- func (x *DeleteSmartPermissionAction) String() string
- type ExecuteContractAction
- func (*ExecuteContractAction) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteContractAction) GetInputs() []string
- func (x *ExecuteContractAction) GetName() string
- func (x *ExecuteContractAction) GetOutputs() []string
- func (x *ExecuteContractAction) GetPayload() []byte
- func (x *ExecuteContractAction) GetVersion() string
- func (*ExecuteContractAction) ProtoMessage()
- func (x *ExecuteContractAction) ProtoReflect() protoreflect.Message
- func (x *ExecuteContractAction) Reset()
- func (x *ExecuteContractAction) String() string
- type SabrePayload
- func (*SabrePayload) Descriptor() ([]byte, []int)deprecated
- func (x *SabrePayload) GetAction() SabrePayload_Action
- func (x *SabrePayload) GetCreateContract() *CreateContractAction
- func (x *SabrePayload) GetCreateContractRegistry() *CreateContractRegistryAction
- func (x *SabrePayload) GetCreateNamespaceRegistry() *CreateNamespaceRegistryAction
- func (x *SabrePayload) GetCreateNamespaceRegistryPermission() *CreateNamespaceRegistryPermissionAction
- func (x *SabrePayload) GetCreateSmartPermission() *CreateSmartPermissionAction
- func (x *SabrePayload) GetDeleteContract() *DeleteContractAction
- func (x *SabrePayload) GetDeleteContractRegistry() *DeleteContractRegistryAction
- func (x *SabrePayload) GetDeleteNamespaceRegistry() *DeleteNamespaceRegistryAction
- func (x *SabrePayload) GetDeleteNamespaceRegistryPermission() *DeleteNamespaceRegistryPermissionAction
- func (x *SabrePayload) GetDeleteSmartPermission() *DeleteSmartPermissionAction
- func (x *SabrePayload) GetExecuteContract() *ExecuteContractAction
- func (x *SabrePayload) GetUpdateContractRegistryOwners() *UpdateContractRegistryOwnersAction
- func (x *SabrePayload) GetUpdateNamespaceRegistryOwners() *UpdateNamespaceRegistryOwnersAction
- func (x *SabrePayload) GetUpdateSmartPermission() *UpdateSmartPermissionAction
- func (*SabrePayload) ProtoMessage()
- func (x *SabrePayload) ProtoReflect() protoreflect.Message
- func (x *SabrePayload) Reset()
- func (x *SabrePayload) String() string
- type SabrePayload_Action
- func (SabrePayload_Action) Descriptor() protoreflect.EnumDescriptor
- func (x SabrePayload_Action) Enum() *SabrePayload_Action
- func (SabrePayload_Action) EnumDescriptor() ([]byte, []int)deprecated
- func (x SabrePayload_Action) Number() protoreflect.EnumNumber
- func (x SabrePayload_Action) String() string
- func (SabrePayload_Action) Type() protoreflect.EnumType
- type UpdateContractRegistryOwnersAction
- func (*UpdateContractRegistryOwnersAction) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateContractRegistryOwnersAction) GetName() string
- func (x *UpdateContractRegistryOwnersAction) GetOwners() []string
- func (*UpdateContractRegistryOwnersAction) ProtoMessage()
- func (x *UpdateContractRegistryOwnersAction) ProtoReflect() protoreflect.Message
- func (x *UpdateContractRegistryOwnersAction) Reset()
- func (x *UpdateContractRegistryOwnersAction) String() string
- type UpdateNamespaceRegistryOwnersAction
- func (*UpdateNamespaceRegistryOwnersAction) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNamespaceRegistryOwnersAction) GetNamespace() string
- func (x *UpdateNamespaceRegistryOwnersAction) GetOwners() []string
- func (*UpdateNamespaceRegistryOwnersAction) ProtoMessage()
- func (x *UpdateNamespaceRegistryOwnersAction) ProtoReflect() protoreflect.Message
- func (x *UpdateNamespaceRegistryOwnersAction) Reset()
- func (x *UpdateNamespaceRegistryOwnersAction) String() string
- type UpdateSmartPermissionAction
- func (*UpdateSmartPermissionAction) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSmartPermissionAction) GetFunction() []byte
- func (x *UpdateSmartPermissionAction) GetName() string
- func (x *UpdateSmartPermissionAction) GetOrgId() string
- func (*UpdateSmartPermissionAction) ProtoMessage()
- func (x *UpdateSmartPermissionAction) ProtoReflect() protoreflect.Message
- func (x *UpdateSmartPermissionAction) Reset()
- func (x *UpdateSmartPermissionAction) String() string
Constants ¶
This section is empty.
Variables ¶
var ( SabrePayload_Action_name = map[int32]string{ 0: "ACTION_UNSET", 1: "CREATE_CONTRACT", 2: "DELETE_CONTRACT", 3: "EXECUTE_CONTRACT", 4: "CREATE_CONTRACT_REGISTRY", 5: "DELETE_CONTRACT_REGISTRY", 6: "UPDATE_CONTRACT_REGISTRY_OWNERS", 7: "CREATE_NAMESPACE_REGISTRY", 8: "DELETE_NAMESPACE_REGISTRY", 9: "UPDATE_NAMESPACE_REGISTRY_OWNERS", 10: "CREATE_NAMESPACE_REGISTRY_PERMISSION", 11: "DELETE_NAMESPACE_REGISTRY_PERMISSION", 12: "CREATE_SMART_PERMISSION", 13: "UPDATE_SMART_PERMISSION", 14: "DELETE_SMART_PERMISSION", } SabrePayload_Action_value = map[string]int32{ "ACTION_UNSET": 0, "CREATE_CONTRACT": 1, "DELETE_CONTRACT": 2, "EXECUTE_CONTRACT": 3, "CREATE_CONTRACT_REGISTRY": 4, "DELETE_CONTRACT_REGISTRY": 5, "UPDATE_CONTRACT_REGISTRY_OWNERS": 6, "CREATE_NAMESPACE_REGISTRY": 7, "DELETE_NAMESPACE_REGISTRY": 8, "UPDATE_NAMESPACE_REGISTRY_OWNERS": 9, "CREATE_NAMESPACE_REGISTRY_PERMISSION": 10, "DELETE_NAMESPACE_REGISTRY_PERMISSION": 11, "CREATE_SMART_PERMISSION": 12, "UPDATE_SMART_PERMISSION": 13, "DELETE_SMART_PERMISSION": 14, } )
Enum value maps for SabrePayload_Action.
var File_sabre_payload_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CreateContractAction ¶
type CreateContractAction struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Inputs []string `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs,omitempty"` Outputs []string `protobuf:"bytes,4,rep,name=outputs,proto3" json:"outputs,omitempty"` Contract []byte `protobuf:"bytes,5,opt,name=contract,proto3" json:"contract,omitempty"` // contains filtered or unexported fields }
creates a Contract and updates ContractRegistry with a version entry
func (*CreateContractAction) Descriptor
deprecated
func (*CreateContractAction) Descriptor() ([]byte, []int)
Deprecated: Use CreateContractAction.ProtoReflect.Descriptor instead.
func (*CreateContractAction) GetContract ¶
func (x *CreateContractAction) GetContract() []byte
func (*CreateContractAction) GetInputs ¶
func (x *CreateContractAction) GetInputs() []string
func (*CreateContractAction) GetName ¶
func (x *CreateContractAction) GetName() string
func (*CreateContractAction) GetOutputs ¶
func (x *CreateContractAction) GetOutputs() []string
func (*CreateContractAction) GetVersion ¶
func (x *CreateContractAction) GetVersion() string
func (*CreateContractAction) ProtoMessage ¶
func (*CreateContractAction) ProtoMessage()
func (*CreateContractAction) ProtoReflect ¶
func (x *CreateContractAction) ProtoReflect() protoreflect.Message
func (*CreateContractAction) Reset ¶
func (x *CreateContractAction) Reset()
func (*CreateContractAction) String ¶
func (x *CreateContractAction) String() string
type CreateContractRegistryAction ¶
type CreateContractRegistryAction struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Owners []string `protobuf:"bytes,2,rep,name=owners,proto3" json:"owners,omitempty"` // contains filtered or unexported fields }
creates the ContractRegistry in state with no Versions
func (*CreateContractRegistryAction) Descriptor
deprecated
func (*CreateContractRegistryAction) Descriptor() ([]byte, []int)
Deprecated: Use CreateContractRegistryAction.ProtoReflect.Descriptor instead.
func (*CreateContractRegistryAction) GetName ¶
func (x *CreateContractRegistryAction) GetName() string
func (*CreateContractRegistryAction) GetOwners ¶
func (x *CreateContractRegistryAction) GetOwners() []string
func (*CreateContractRegistryAction) ProtoMessage ¶
func (*CreateContractRegistryAction) ProtoMessage()
func (*CreateContractRegistryAction) ProtoReflect ¶
func (x *CreateContractRegistryAction) ProtoReflect() protoreflect.Message
func (*CreateContractRegistryAction) Reset ¶
func (x *CreateContractRegistryAction) Reset()
func (*CreateContractRegistryAction) String ¶
func (x *CreateContractRegistryAction) String() string
type CreateNamespaceRegistryAction ¶
type CreateNamespaceRegistryAction struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Owners []string `protobuf:"bytes,2,rep,name=owners,proto3" json:"owners,omitempty"` // contains filtered or unexported fields }
creates the ContractRegistry in state with no Permissions
func (*CreateNamespaceRegistryAction) Descriptor
deprecated
func (*CreateNamespaceRegistryAction) Descriptor() ([]byte, []int)
Deprecated: Use CreateNamespaceRegistryAction.ProtoReflect.Descriptor instead.
func (*CreateNamespaceRegistryAction) GetNamespace ¶
func (x *CreateNamespaceRegistryAction) GetNamespace() string
func (*CreateNamespaceRegistryAction) GetOwners ¶
func (x *CreateNamespaceRegistryAction) GetOwners() []string
func (*CreateNamespaceRegistryAction) ProtoMessage ¶
func (*CreateNamespaceRegistryAction) ProtoMessage()
func (*CreateNamespaceRegistryAction) ProtoReflect ¶
func (x *CreateNamespaceRegistryAction) ProtoReflect() protoreflect.Message
func (*CreateNamespaceRegistryAction) Reset ¶
func (x *CreateNamespaceRegistryAction) Reset()
func (*CreateNamespaceRegistryAction) String ¶
func (x *CreateNamespaceRegistryAction) String() string
type CreateNamespaceRegistryPermissionAction ¶
type CreateNamespaceRegistryPermissionAction struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` ContractName string `protobuf:"bytes,2,opt,name=contract_name,json=contractName,proto3" json:"contract_name,omitempty"` Read bool `protobuf:"varint,3,opt,name=read,proto3" json:"read,omitempty"` Write bool `protobuf:"varint,4,opt,name=write,proto3" json:"write,omitempty"` // contains filtered or unexported fields }
adds a permission entry to the NamespaceRegistry associated with 'namespace'
func (*CreateNamespaceRegistryPermissionAction) Descriptor
deprecated
func (*CreateNamespaceRegistryPermissionAction) Descriptor() ([]byte, []int)
Deprecated: Use CreateNamespaceRegistryPermissionAction.ProtoReflect.Descriptor instead.
func (*CreateNamespaceRegistryPermissionAction) GetContractName ¶
func (x *CreateNamespaceRegistryPermissionAction) GetContractName() string
func (*CreateNamespaceRegistryPermissionAction) GetNamespace ¶
func (x *CreateNamespaceRegistryPermissionAction) GetNamespace() string
func (*CreateNamespaceRegistryPermissionAction) GetRead ¶
func (x *CreateNamespaceRegistryPermissionAction) GetRead() bool
func (*CreateNamespaceRegistryPermissionAction) GetWrite ¶
func (x *CreateNamespaceRegistryPermissionAction) GetWrite() bool
func (*CreateNamespaceRegistryPermissionAction) ProtoMessage ¶
func (*CreateNamespaceRegistryPermissionAction) ProtoMessage()
func (*CreateNamespaceRegistryPermissionAction) ProtoReflect ¶
func (x *CreateNamespaceRegistryPermissionAction) ProtoReflect() protoreflect.Message
func (*CreateNamespaceRegistryPermissionAction) Reset ¶
func (x *CreateNamespaceRegistryPermissionAction) Reset()
func (*CreateNamespaceRegistryPermissionAction) String ¶
func (x *CreateNamespaceRegistryPermissionAction) String() string
type CreateSmartPermissionAction ¶
type CreateSmartPermissionAction struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // ID of organization that owns the smart permission OrgId string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` Function []byte `protobuf:"bytes,3,opt,name=function,proto3" json:"function,omitempty"` // contains filtered or unexported fields }
Creates a smart permission
func (*CreateSmartPermissionAction) Descriptor
deprecated
func (*CreateSmartPermissionAction) Descriptor() ([]byte, []int)
Deprecated: Use CreateSmartPermissionAction.ProtoReflect.Descriptor instead.
func (*CreateSmartPermissionAction) GetFunction ¶
func (x *CreateSmartPermissionAction) GetFunction() []byte
func (*CreateSmartPermissionAction) GetName ¶
func (x *CreateSmartPermissionAction) GetName() string
func (*CreateSmartPermissionAction) GetOrgId ¶
func (x *CreateSmartPermissionAction) GetOrgId() string
func (*CreateSmartPermissionAction) ProtoMessage ¶
func (*CreateSmartPermissionAction) ProtoMessage()
func (*CreateSmartPermissionAction) ProtoReflect ¶
func (x *CreateSmartPermissionAction) ProtoReflect() protoreflect.Message
func (*CreateSmartPermissionAction) Reset ¶
func (x *CreateSmartPermissionAction) Reset()
func (*CreateSmartPermissionAction) String ¶
func (x *CreateSmartPermissionAction) String() string
type DeleteContractAction ¶
type DeleteContractAction struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
removes a Contract and removes the version entry from ContractRegistry
func (*DeleteContractAction) Descriptor
deprecated
func (*DeleteContractAction) Descriptor() ([]byte, []int)
Deprecated: Use DeleteContractAction.ProtoReflect.Descriptor instead.
func (*DeleteContractAction) GetName ¶
func (x *DeleteContractAction) GetName() string
func (*DeleteContractAction) GetVersion ¶
func (x *DeleteContractAction) GetVersion() string
func (*DeleteContractAction) ProtoMessage ¶
func (*DeleteContractAction) ProtoMessage()
func (*DeleteContractAction) ProtoReflect ¶
func (x *DeleteContractAction) ProtoReflect() protoreflect.Message
func (*DeleteContractAction) Reset ¶
func (x *DeleteContractAction) Reset()
func (*DeleteContractAction) String ¶
func (x *DeleteContractAction) String() string
type DeleteContractRegistryAction ¶
type DeleteContractRegistryAction struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
deletes the ContractRegistry associated with 'name' only if it contains no versions
func (*DeleteContractRegistryAction) Descriptor
deprecated
func (*DeleteContractRegistryAction) Descriptor() ([]byte, []int)
Deprecated: Use DeleteContractRegistryAction.ProtoReflect.Descriptor instead.
func (*DeleteContractRegistryAction) GetName ¶
func (x *DeleteContractRegistryAction) GetName() string
func (*DeleteContractRegistryAction) ProtoMessage ¶
func (*DeleteContractRegistryAction) ProtoMessage()
func (*DeleteContractRegistryAction) ProtoReflect ¶
func (x *DeleteContractRegistryAction) ProtoReflect() protoreflect.Message
func (*DeleteContractRegistryAction) Reset ¶
func (x *DeleteContractRegistryAction) Reset()
func (*DeleteContractRegistryAction) String ¶
func (x *DeleteContractRegistryAction) String() string
type DeleteNamespaceRegistryAction ¶
type DeleteNamespaceRegistryAction struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
deletes the NamespaceRegistry associated with 'namespace' only if it contains no permissions
func (*DeleteNamespaceRegistryAction) Descriptor
deprecated
func (*DeleteNamespaceRegistryAction) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNamespaceRegistryAction.ProtoReflect.Descriptor instead.
func (*DeleteNamespaceRegistryAction) GetNamespace ¶
func (x *DeleteNamespaceRegistryAction) GetNamespace() string
func (*DeleteNamespaceRegistryAction) ProtoMessage ¶
func (*DeleteNamespaceRegistryAction) ProtoMessage()
func (*DeleteNamespaceRegistryAction) ProtoReflect ¶
func (x *DeleteNamespaceRegistryAction) ProtoReflect() protoreflect.Message
func (*DeleteNamespaceRegistryAction) Reset ¶
func (x *DeleteNamespaceRegistryAction) Reset()
func (*DeleteNamespaceRegistryAction) String ¶
func (x *DeleteNamespaceRegistryAction) String() string
type DeleteNamespaceRegistryPermissionAction ¶
type DeleteNamespaceRegistryPermissionAction struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` ContractName string `protobuf:"bytes,2,opt,name=contract_name,json=contractName,proto3" json:"contract_name,omitempty"` // contains filtered or unexported fields }
removes a permission entry to the NamespaceRegistry associated with 'namespace'
func (*DeleteNamespaceRegistryPermissionAction) Descriptor
deprecated
func (*DeleteNamespaceRegistryPermissionAction) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNamespaceRegistryPermissionAction.ProtoReflect.Descriptor instead.
func (*DeleteNamespaceRegistryPermissionAction) GetContractName ¶
func (x *DeleteNamespaceRegistryPermissionAction) GetContractName() string
func (*DeleteNamespaceRegistryPermissionAction) GetNamespace ¶
func (x *DeleteNamespaceRegistryPermissionAction) GetNamespace() string
func (*DeleteNamespaceRegistryPermissionAction) ProtoMessage ¶
func (*DeleteNamespaceRegistryPermissionAction) ProtoMessage()
func (*DeleteNamespaceRegistryPermissionAction) ProtoReflect ¶
func (x *DeleteNamespaceRegistryPermissionAction) ProtoReflect() protoreflect.Message
func (*DeleteNamespaceRegistryPermissionAction) Reset ¶
func (x *DeleteNamespaceRegistryPermissionAction) Reset()
func (*DeleteNamespaceRegistryPermissionAction) String ¶
func (x *DeleteNamespaceRegistryPermissionAction) String() string
type DeleteSmartPermissionAction ¶
type DeleteSmartPermissionAction struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // ID of organization that owns the smart permission OrgId string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // contains filtered or unexported fields }
Deletes a smart permission
func (*DeleteSmartPermissionAction) Descriptor
deprecated
func (*DeleteSmartPermissionAction) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSmartPermissionAction.ProtoReflect.Descriptor instead.
func (*DeleteSmartPermissionAction) GetName ¶
func (x *DeleteSmartPermissionAction) GetName() string
func (*DeleteSmartPermissionAction) GetOrgId ¶
func (x *DeleteSmartPermissionAction) GetOrgId() string
func (*DeleteSmartPermissionAction) ProtoMessage ¶
func (*DeleteSmartPermissionAction) ProtoMessage()
func (*DeleteSmartPermissionAction) ProtoReflect ¶
func (x *DeleteSmartPermissionAction) ProtoReflect() protoreflect.Message
func (*DeleteSmartPermissionAction) Reset ¶
func (x *DeleteSmartPermissionAction) Reset()
func (*DeleteSmartPermissionAction) String ¶
func (x *DeleteSmartPermissionAction) String() string
type ExecuteContractAction ¶
type ExecuteContractAction struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Inputs []string `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs,omitempty"` Outputs []string `protobuf:"bytes,4,rep,name=outputs,proto3" json:"outputs,omitempty"` Payload []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
executes the contract
func (*ExecuteContractAction) Descriptor
deprecated
func (*ExecuteContractAction) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteContractAction.ProtoReflect.Descriptor instead.
func (*ExecuteContractAction) GetInputs ¶
func (x *ExecuteContractAction) GetInputs() []string
func (*ExecuteContractAction) GetName ¶
func (x *ExecuteContractAction) GetName() string
func (*ExecuteContractAction) GetOutputs ¶
func (x *ExecuteContractAction) GetOutputs() []string
func (*ExecuteContractAction) GetPayload ¶
func (x *ExecuteContractAction) GetPayload() []byte
func (*ExecuteContractAction) GetVersion ¶
func (x *ExecuteContractAction) GetVersion() string
func (*ExecuteContractAction) ProtoMessage ¶
func (*ExecuteContractAction) ProtoMessage()
func (*ExecuteContractAction) ProtoReflect ¶
func (x *ExecuteContractAction) ProtoReflect() protoreflect.Message
func (*ExecuteContractAction) Reset ¶
func (x *ExecuteContractAction) Reset()
func (*ExecuteContractAction) String ¶
func (x *ExecuteContractAction) String() string
type SabrePayload ¶
type SabrePayload struct { Action SabrePayload_Action `protobuf:"varint,1,opt,name=action,proto3,enum=SabrePayload_Action" json:"action,omitempty"` CreateContract *CreateContractAction `protobuf:"bytes,2,opt,name=create_contract,json=createContract,proto3" json:"create_contract,omitempty"` DeleteContract *DeleteContractAction `protobuf:"bytes,3,opt,name=delete_contract,json=deleteContract,proto3" json:"delete_contract,omitempty"` ExecuteContract *ExecuteContractAction `protobuf:"bytes,4,opt,name=execute_contract,json=executeContract,proto3" json:"execute_contract,omitempty"` CreateContractRegistry *CreateContractRegistryAction `` /* 129-byte string literal not displayed */ DeleteContractRegistry *DeleteContractRegistryAction `` /* 129-byte string literal not displayed */ UpdateContractRegistryOwners *UpdateContractRegistryOwnersAction `` /* 149-byte string literal not displayed */ CreateNamespaceRegistry *CreateNamespaceRegistryAction `` /* 132-byte string literal not displayed */ DeleteNamespaceRegistry *DeleteNamespaceRegistryAction `` /* 132-byte string literal not displayed */ UpdateNamespaceRegistryOwners *UpdateNamespaceRegistryOwnersAction `` /* 153-byte string literal not displayed */ CreateNamespaceRegistryPermission *CreateNamespaceRegistryPermissionAction `` /* 165-byte string literal not displayed */ DeleteNamespaceRegistryPermission *DeleteNamespaceRegistryPermissionAction `` /* 165-byte string literal not displayed */ CreateSmartPermission *CreateSmartPermissionAction `` /* 127-byte string literal not displayed */ UpdateSmartPermission *UpdateSmartPermissionAction `` /* 127-byte string literal not displayed */ DeleteSmartPermission *DeleteSmartPermissionAction `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SabrePayload) Descriptor
deprecated
func (*SabrePayload) Descriptor() ([]byte, []int)
Deprecated: Use SabrePayload.ProtoReflect.Descriptor instead.
func (*SabrePayload) GetAction ¶
func (x *SabrePayload) GetAction() SabrePayload_Action
func (*SabrePayload) GetCreateContract ¶
func (x *SabrePayload) GetCreateContract() *CreateContractAction
func (*SabrePayload) GetCreateContractRegistry ¶
func (x *SabrePayload) GetCreateContractRegistry() *CreateContractRegistryAction
func (*SabrePayload) GetCreateNamespaceRegistry ¶
func (x *SabrePayload) GetCreateNamespaceRegistry() *CreateNamespaceRegistryAction
func (*SabrePayload) GetCreateNamespaceRegistryPermission ¶
func (x *SabrePayload) GetCreateNamespaceRegistryPermission() *CreateNamespaceRegistryPermissionAction
func (*SabrePayload) GetCreateSmartPermission ¶
func (x *SabrePayload) GetCreateSmartPermission() *CreateSmartPermissionAction
func (*SabrePayload) GetDeleteContract ¶
func (x *SabrePayload) GetDeleteContract() *DeleteContractAction
func (*SabrePayload) GetDeleteContractRegistry ¶
func (x *SabrePayload) GetDeleteContractRegistry() *DeleteContractRegistryAction
func (*SabrePayload) GetDeleteNamespaceRegistry ¶
func (x *SabrePayload) GetDeleteNamespaceRegistry() *DeleteNamespaceRegistryAction
func (*SabrePayload) GetDeleteNamespaceRegistryPermission ¶
func (x *SabrePayload) GetDeleteNamespaceRegistryPermission() *DeleteNamespaceRegistryPermissionAction
func (*SabrePayload) GetDeleteSmartPermission ¶
func (x *SabrePayload) GetDeleteSmartPermission() *DeleteSmartPermissionAction
func (*SabrePayload) GetExecuteContract ¶
func (x *SabrePayload) GetExecuteContract() *ExecuteContractAction
func (*SabrePayload) GetUpdateContractRegistryOwners ¶
func (x *SabrePayload) GetUpdateContractRegistryOwners() *UpdateContractRegistryOwnersAction
func (*SabrePayload) GetUpdateNamespaceRegistryOwners ¶
func (x *SabrePayload) GetUpdateNamespaceRegistryOwners() *UpdateNamespaceRegistryOwnersAction
func (*SabrePayload) GetUpdateSmartPermission ¶
func (x *SabrePayload) GetUpdateSmartPermission() *UpdateSmartPermissionAction
func (*SabrePayload) ProtoMessage ¶
func (*SabrePayload) ProtoMessage()
func (*SabrePayload) ProtoReflect ¶
func (x *SabrePayload) ProtoReflect() protoreflect.Message
func (*SabrePayload) Reset ¶
func (x *SabrePayload) Reset()
func (*SabrePayload) String ¶
func (x *SabrePayload) String() string
type SabrePayload_Action ¶
type SabrePayload_Action int32
const ( SabrePayload_ACTION_UNSET SabrePayload_Action = 0 SabrePayload_CREATE_CONTRACT SabrePayload_Action = 1 SabrePayload_DELETE_CONTRACT SabrePayload_Action = 2 SabrePayload_EXECUTE_CONTRACT SabrePayload_Action = 3 SabrePayload_CREATE_CONTRACT_REGISTRY SabrePayload_Action = 4 SabrePayload_DELETE_CONTRACT_REGISTRY SabrePayload_Action = 5 SabrePayload_UPDATE_CONTRACT_REGISTRY_OWNERS SabrePayload_Action = 6 SabrePayload_CREATE_NAMESPACE_REGISTRY SabrePayload_Action = 7 SabrePayload_DELETE_NAMESPACE_REGISTRY SabrePayload_Action = 8 SabrePayload_UPDATE_NAMESPACE_REGISTRY_OWNERS SabrePayload_Action = 9 SabrePayload_CREATE_NAMESPACE_REGISTRY_PERMISSION SabrePayload_Action = 10 SabrePayload_DELETE_NAMESPACE_REGISTRY_PERMISSION SabrePayload_Action = 11 SabrePayload_CREATE_SMART_PERMISSION SabrePayload_Action = 12 SabrePayload_UPDATE_SMART_PERMISSION SabrePayload_Action = 13 SabrePayload_DELETE_SMART_PERMISSION SabrePayload_Action = 14 )
func (SabrePayload_Action) Descriptor ¶
func (SabrePayload_Action) Descriptor() protoreflect.EnumDescriptor
func (SabrePayload_Action) Enum ¶
func (x SabrePayload_Action) Enum() *SabrePayload_Action
func (SabrePayload_Action) EnumDescriptor
deprecated
func (SabrePayload_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use SabrePayload_Action.Descriptor instead.
func (SabrePayload_Action) Number ¶
func (x SabrePayload_Action) Number() protoreflect.EnumNumber
func (SabrePayload_Action) String ¶
func (x SabrePayload_Action) String() string
func (SabrePayload_Action) Type ¶
func (SabrePayload_Action) Type() protoreflect.EnumType
type UpdateContractRegistryOwnersAction ¶
type UpdateContractRegistryOwnersAction struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Owners []string `protobuf:"bytes,2,rep,name=owners,proto3" json:"owners,omitempty"` // contains filtered or unexported fields }
updates the owners field in the ContractRegistry associated with 'name'
func (*UpdateContractRegistryOwnersAction) Descriptor
deprecated
func (*UpdateContractRegistryOwnersAction) Descriptor() ([]byte, []int)
Deprecated: Use UpdateContractRegistryOwnersAction.ProtoReflect.Descriptor instead.
func (*UpdateContractRegistryOwnersAction) GetName ¶
func (x *UpdateContractRegistryOwnersAction) GetName() string
func (*UpdateContractRegistryOwnersAction) GetOwners ¶
func (x *UpdateContractRegistryOwnersAction) GetOwners() []string
func (*UpdateContractRegistryOwnersAction) ProtoMessage ¶
func (*UpdateContractRegistryOwnersAction) ProtoMessage()
func (*UpdateContractRegistryOwnersAction) ProtoReflect ¶
func (x *UpdateContractRegistryOwnersAction) ProtoReflect() protoreflect.Message
func (*UpdateContractRegistryOwnersAction) Reset ¶
func (x *UpdateContractRegistryOwnersAction) Reset()
func (*UpdateContractRegistryOwnersAction) String ¶
func (x *UpdateContractRegistryOwnersAction) String() string
type UpdateNamespaceRegistryOwnersAction ¶
type UpdateNamespaceRegistryOwnersAction struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Owners []string `protobuf:"bytes,2,rep,name=owners,proto3" json:"owners,omitempty"` // contains filtered or unexported fields }
updates the owners field in the NamespaceRegistry associated with 'namespace'
func (*UpdateNamespaceRegistryOwnersAction) Descriptor
deprecated
func (*UpdateNamespaceRegistryOwnersAction) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNamespaceRegistryOwnersAction.ProtoReflect.Descriptor instead.
func (*UpdateNamespaceRegistryOwnersAction) GetNamespace ¶
func (x *UpdateNamespaceRegistryOwnersAction) GetNamespace() string
func (*UpdateNamespaceRegistryOwnersAction) GetOwners ¶
func (x *UpdateNamespaceRegistryOwnersAction) GetOwners() []string
func (*UpdateNamespaceRegistryOwnersAction) ProtoMessage ¶
func (*UpdateNamespaceRegistryOwnersAction) ProtoMessage()
func (*UpdateNamespaceRegistryOwnersAction) ProtoReflect ¶
func (x *UpdateNamespaceRegistryOwnersAction) ProtoReflect() protoreflect.Message
func (*UpdateNamespaceRegistryOwnersAction) Reset ¶
func (x *UpdateNamespaceRegistryOwnersAction) Reset()
func (*UpdateNamespaceRegistryOwnersAction) String ¶
func (x *UpdateNamespaceRegistryOwnersAction) String() string
type UpdateSmartPermissionAction ¶
type UpdateSmartPermissionAction struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // ID of organization that owns the smart permission OrgId string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` Function []byte `protobuf:"bytes,3,opt,name=function,proto3" json:"function,omitempty"` // contains filtered or unexported fields }
Updates a smart permission
func (*UpdateSmartPermissionAction) Descriptor
deprecated
func (*UpdateSmartPermissionAction) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSmartPermissionAction.ProtoReflect.Descriptor instead.
func (*UpdateSmartPermissionAction) GetFunction ¶
func (x *UpdateSmartPermissionAction) GetFunction() []byte
func (*UpdateSmartPermissionAction) GetName ¶
func (x *UpdateSmartPermissionAction) GetName() string
func (*UpdateSmartPermissionAction) GetOrgId ¶
func (x *UpdateSmartPermissionAction) GetOrgId() string
func (*UpdateSmartPermissionAction) ProtoMessage ¶
func (*UpdateSmartPermissionAction) ProtoMessage()
func (*UpdateSmartPermissionAction) ProtoReflect ¶
func (x *UpdateSmartPermissionAction) ProtoReflect() protoreflect.Message
func (*UpdateSmartPermissionAction) Reset ¶
func (x *UpdateSmartPermissionAction) Reset()
func (*UpdateSmartPermissionAction) String ¶
func (x *UpdateSmartPermissionAction) String() string