Documentation ¶
Overview ¶
Package runtime is a generated protocol buffer package.
It is generated from these files:
plugin.proto
It has these top-level messages:
PluginSpec PluginPrivilege
Index ¶
- Variables
- type PluginPrivilege
- func (*PluginPrivilege) Descriptor() ([]byte, []int)
- func (m *PluginPrivilege) GetDescription() string
- func (m *PluginPrivilege) GetName() string
- func (m *PluginPrivilege) GetValue() []string
- func (m *PluginPrivilege) Marshal() (dAtA []byte, err error)
- func (m *PluginPrivilege) MarshalTo(dAtA []byte) (int, error)
- func (*PluginPrivilege) ProtoMessage()
- func (m *PluginPrivilege) Reset()
- func (m *PluginPrivilege) Size() (n int)
- func (m *PluginPrivilege) String() string
- func (m *PluginPrivilege) Unmarshal(dAtA []byte) error
- type PluginSpec
- func (*PluginSpec) Descriptor() ([]byte, []int)
- func (m *PluginSpec) GetDisabled() bool
- func (m *PluginSpec) GetEnv() []string
- func (m *PluginSpec) GetName() string
- func (m *PluginSpec) GetPrivileges() []*PluginPrivilege
- func (m *PluginSpec) GetRemote() string
- func (m *PluginSpec) Marshal() (dAtA []byte, err error)
- func (m *PluginSpec) MarshalTo(dAtA []byte) (int, error)
- func (*PluginSpec) ProtoMessage()
- func (m *PluginSpec) Reset()
- func (m *PluginSpec) Size() (n int)
- func (m *PluginSpec) String() string
- func (m *PluginSpec) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthPlugin = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPlugin = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type PluginPrivilege ¶
type PluginPrivilege struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Value []string `protobuf:"bytes,3,rep,name=value" json:"value,omitempty"` }
PluginPrivilege describes a permission the user has to accept upon installing a plugin.
func (*PluginPrivilege) Descriptor ¶
func (*PluginPrivilege) Descriptor() ([]byte, []int)
func (*PluginPrivilege) GetDescription ¶
func (m *PluginPrivilege) GetDescription() string
func (*PluginPrivilege) GetName ¶
func (m *PluginPrivilege) GetName() string
func (*PluginPrivilege) GetValue ¶
func (m *PluginPrivilege) GetValue() []string
func (*PluginPrivilege) Marshal ¶
func (m *PluginPrivilege) Marshal() (dAtA []byte, err error)
func (*PluginPrivilege) ProtoMessage ¶
func (*PluginPrivilege) ProtoMessage()
func (*PluginPrivilege) Reset ¶
func (m *PluginPrivilege) Reset()
func (*PluginPrivilege) Size ¶
func (m *PluginPrivilege) Size() (n int)
func (*PluginPrivilege) String ¶
func (m *PluginPrivilege) String() string
func (*PluginPrivilege) Unmarshal ¶
func (m *PluginPrivilege) Unmarshal(dAtA []byte) error
type PluginSpec ¶
type PluginSpec struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Remote string `protobuf:"bytes,2,opt,name=remote,proto3" json:"remote,omitempty"` Privileges []*PluginPrivilege `protobuf:"bytes,3,rep,name=privileges" json:"privileges,omitempty"` Disabled bool `protobuf:"varint,4,opt,name=disabled,proto3" json:"disabled,omitempty"` Env []string `protobuf:"bytes,5,rep,name=env" json:"env,omitempty"` }
PluginSpec defines the base payload which clients can specify for creating a service with the plugin runtime.
func (*PluginSpec) Descriptor ¶
func (*PluginSpec) Descriptor() ([]byte, []int)
func (*PluginSpec) GetDisabled ¶
func (m *PluginSpec) GetDisabled() bool
func (*PluginSpec) GetEnv ¶
func (m *PluginSpec) GetEnv() []string
func (*PluginSpec) GetName ¶
func (m *PluginSpec) GetName() string
func (*PluginSpec) GetPrivileges ¶
func (m *PluginSpec) GetPrivileges() []*PluginPrivilege
func (*PluginSpec) GetRemote ¶
func (m *PluginSpec) GetRemote() string
func (*PluginSpec) Marshal ¶
func (m *PluginSpec) Marshal() (dAtA []byte, err error)
func (*PluginSpec) ProtoMessage ¶
func (*PluginSpec) ProtoMessage()
func (*PluginSpec) Reset ¶
func (m *PluginSpec) Reset()
func (*PluginSpec) Size ¶
func (m *PluginSpec) Size() (n int)
func (*PluginSpec) String ¶
func (m *PluginSpec) String() string
func (*PluginSpec) Unmarshal ¶
func (m *PluginSpec) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.