Documentation ¶
Index ¶
- Variables
- type Ownership
- func (*Ownership) Descriptor() ([]byte, []int)
- func (this *Ownership) Equal(that interface{}) bool
- func (*Ownership) ProtoMessage()
- func (m *Ownership) Reset()
- func (m *Ownership) String() string
- func (m *Ownership) XXX_DiscardUnknown()
- func (m *Ownership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ownership) XXX_Merge(src proto.Message)
- func (m *Ownership) XXX_Size() int
- func (m *Ownership) XXX_Unmarshal(b []byte) error
- type Ownership_Resource
Constants ¶
This section is empty.
Variables ¶
View Source
var Ownership_Resource_name = map[int32]string{
0: "None",
1: "Service",
2: "Process",
}
View Source
var Ownership_Resource_value = map[string]int32{
"None": 0,
"Service": 1,
"Process": 2,
}
Functions ¶
This section is empty.
Types ¶
type Ownership ¶
type Ownership struct { // Service's hash. Hash github_com_mesg_foundation_engine_hash.Hash `` /* 135-byte string literal not displayed */ // The owner of the resource. Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty" hash:"name:2" validate:"required"` // Resource's hash. ResourceHash github_com_mesg_foundation_engine_hash.Hash `` /* 136-byte string literal not displayed */ // Resource's type. Resource Ownership_Resource `protobuf:"varint,4,opt,name=resource,proto3,enum=mesg.types.Ownership_Resource" json:"resource,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Ownership is a ownership relation between one owner and a resource.
func (*Ownership) Descriptor ¶
func (*Ownership) ProtoMessage ¶
func (*Ownership) ProtoMessage()
func (*Ownership) XXX_DiscardUnknown ¶
func (m *Ownership) XXX_DiscardUnknown()
func (*Ownership) XXX_Marshal ¶
func (*Ownership) XXX_Unmarshal ¶
type Ownership_Resource ¶ added in v0.18.0
type Ownership_Resource int32
const ( Ownership_None Ownership_Resource = 0 Ownership_Service Ownership_Resource = 1 Ownership_Process Ownership_Resource = 2 )
func (Ownership_Resource) EnumDescriptor ¶ added in v0.18.0
func (Ownership_Resource) EnumDescriptor() ([]byte, []int)
func (Ownership_Resource) String ¶ added in v0.18.0
func (x Ownership_Resource) String() string
Click to show internal directories.
Click to hide internal directories.