sabre_pb2

package
v0.0.0-...-27ba6b1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

View Source
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 (*CreateContractRegistryAction) Reset

func (x *CreateContractRegistryAction) Reset()

func (*CreateContractRegistryAction) 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 (*CreateNamespaceRegistryAction) Reset

func (x *CreateNamespaceRegistryAction) Reset()

func (*CreateNamespaceRegistryAction) 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 (*CreateNamespaceRegistryPermissionAction) GetRead

func (*CreateNamespaceRegistryPermissionAction) GetWrite

func (*CreateNamespaceRegistryPermissionAction) ProtoMessage

func (*CreateNamespaceRegistryPermissionAction) ProtoReflect

func (*CreateNamespaceRegistryPermissionAction) Reset

func (*CreateNamespaceRegistryPermissionAction) 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 (*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 (*DeleteContractRegistryAction) Reset

func (x *DeleteContractRegistryAction) Reset()

func (*DeleteContractRegistryAction) 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 (*DeleteNamespaceRegistryAction) Reset

func (x *DeleteNamespaceRegistryAction) Reset()

func (*DeleteNamespaceRegistryAction) 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 (*DeleteNamespaceRegistryPermissionAction) ProtoMessage

func (*DeleteNamespaceRegistryPermissionAction) ProtoReflect

func (*DeleteNamespaceRegistryPermissionAction) Reset

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

func (SabrePayload_Action) EnumDescriptor deprecated

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

Deprecated: Use SabrePayload_Action.Descriptor instead.

func (SabrePayload_Action) Number

func (SabrePayload_Action) String

func (x SabrePayload_Action) String() string

func (SabrePayload_Action) Type

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 (*UpdateContractRegistryOwnersAction) GetOwners

func (x *UpdateContractRegistryOwnersAction) GetOwners() []string

func (*UpdateContractRegistryOwnersAction) ProtoMessage

func (*UpdateContractRegistryOwnersAction) ProtoMessage()

func (*UpdateContractRegistryOwnersAction) ProtoReflect

func (*UpdateContractRegistryOwnersAction) Reset

func (*UpdateContractRegistryOwnersAction) 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 (*UpdateNamespaceRegistryOwnersAction) ProtoMessage

func (*UpdateNamespaceRegistryOwnersAction) ProtoMessage()

func (*UpdateNamespaceRegistryOwnersAction) ProtoReflect

func (*UpdateNamespaceRegistryOwnersAction) Reset

func (*UpdateNamespaceRegistryOwnersAction) 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 (*UpdateSmartPermissionAction) Reset

func (x *UpdateSmartPermissionAction) Reset()

func (*UpdateSmartPermissionAction) String

func (x *UpdateSmartPermissionAction) String() string

Jump to

Keyboard shortcuts

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