runtime

package
v23.0.7+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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

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) MarshalTo

func (m *PluginPrivilege) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *PluginSpec) MarshalTo(dAtA []byte) (int, 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

Jump to

Keyboard shortcuts

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