plugin

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 7 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPluginInitServer

func RegisterPluginInitServer(s *grpc.Server, srv PluginInitServer)

Types

type ConfigureRequest

type ConfigureRequest struct {
	//* The configuration for the plugin.
	Configuration string `protobuf:"bytes,1,opt,name=configuration,proto3" json:"configuration,omitempty"`
	//* Global configurations.
	GlobalConfig         *ConfigureRequest_GlobalConfig `protobuf:"bytes,2,opt,name=globalConfig,proto3" json:"globalConfig,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

* Represents the plugin-specific configuration string.

func (*ConfigureRequest) Descriptor

func (*ConfigureRequest) Descriptor() ([]byte, []int)

func (*ConfigureRequest) GetConfiguration

func (m *ConfigureRequest) GetConfiguration() string

func (*ConfigureRequest) GetGlobalConfig

func (m *ConfigureRequest) GetGlobalConfig() *ConfigureRequest_GlobalConfig

func (*ConfigureRequest) ProtoMessage

func (*ConfigureRequest) ProtoMessage()

func (*ConfigureRequest) Reset

func (m *ConfigureRequest) Reset()

func (*ConfigureRequest) String

func (m *ConfigureRequest) String() string

func (*ConfigureRequest) XXX_DiscardUnknown

func (m *ConfigureRequest) XXX_DiscardUnknown()

func (*ConfigureRequest) XXX_Marshal

func (m *ConfigureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigureRequest) XXX_Merge

func (m *ConfigureRequest) XXX_Merge(src proto.Message)

func (*ConfigureRequest) XXX_Size

func (m *ConfigureRequest) XXX_Size() int

func (*ConfigureRequest) XXX_Unmarshal

func (m *ConfigureRequest) XXX_Unmarshal(b []byte) error

type ConfigureRequest_GlobalConfig

type ConfigureRequest_GlobalConfig struct {
	TrustDomain          string   `protobuf:"bytes,1,opt,name=trustDomain,proto3" json:"trustDomain,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Global configuration nested type.

func (*ConfigureRequest_GlobalConfig) Descriptor

func (*ConfigureRequest_GlobalConfig) Descriptor() ([]byte, []int)

func (*ConfigureRequest_GlobalConfig) GetTrustDomain

func (m *ConfigureRequest_GlobalConfig) GetTrustDomain() string

func (*ConfigureRequest_GlobalConfig) ProtoMessage

func (*ConfigureRequest_GlobalConfig) ProtoMessage()

func (*ConfigureRequest_GlobalConfig) Reset

func (m *ConfigureRequest_GlobalConfig) Reset()

func (*ConfigureRequest_GlobalConfig) String

func (*ConfigureRequest_GlobalConfig) XXX_DiscardUnknown

func (m *ConfigureRequest_GlobalConfig) XXX_DiscardUnknown()

func (*ConfigureRequest_GlobalConfig) XXX_Marshal

func (m *ConfigureRequest_GlobalConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigureRequest_GlobalConfig) XXX_Merge

func (m *ConfigureRequest_GlobalConfig) XXX_Merge(src proto.Message)

func (*ConfigureRequest_GlobalConfig) XXX_Size

func (m *ConfigureRequest_GlobalConfig) XXX_Size() int

func (*ConfigureRequest_GlobalConfig) XXX_Unmarshal

func (m *ConfigureRequest_GlobalConfig) XXX_Unmarshal(b []byte) error

type ConfigureResponse

type ConfigureResponse struct {
	//* A list of errors
	ErrorList            []string `protobuf:"bytes,1,rep,name=errorList,proto3" json:"errorList,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Represents a list of configuration problems found in the configuration string.

func (*ConfigureResponse) Descriptor

func (*ConfigureResponse) Descriptor() ([]byte, []int)

func (*ConfigureResponse) GetErrorList

func (m *ConfigureResponse) GetErrorList() []string

func (*ConfigureResponse) ProtoMessage

func (*ConfigureResponse) ProtoMessage()

func (*ConfigureResponse) Reset

func (m *ConfigureResponse) Reset()

func (*ConfigureResponse) String

func (m *ConfigureResponse) String() string

func (*ConfigureResponse) XXX_DiscardUnknown

func (m *ConfigureResponse) XXX_DiscardUnknown()

func (*ConfigureResponse) XXX_Marshal

func (m *ConfigureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigureResponse) XXX_Merge

func (m *ConfigureResponse) XXX_Merge(src proto.Message)

func (*ConfigureResponse) XXX_Size

func (m *ConfigureResponse) XXX_Size() int

func (*ConfigureResponse) XXX_Unmarshal

func (m *ConfigureResponse) XXX_Unmarshal(b []byte) error

type GetPluginInfoRequest

type GetPluginInfoRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Represents an empty request.

func (*GetPluginInfoRequest) Descriptor

func (*GetPluginInfoRequest) Descriptor() ([]byte, []int)

func (*GetPluginInfoRequest) ProtoMessage

func (*GetPluginInfoRequest) ProtoMessage()

func (*GetPluginInfoRequest) Reset

func (m *GetPluginInfoRequest) Reset()

func (*GetPluginInfoRequest) String

func (m *GetPluginInfoRequest) String() string

func (*GetPluginInfoRequest) XXX_DiscardUnknown

func (m *GetPluginInfoRequest) XXX_DiscardUnknown()

func (*GetPluginInfoRequest) XXX_Marshal

func (m *GetPluginInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPluginInfoRequest) XXX_Merge

func (m *GetPluginInfoRequest) XXX_Merge(src proto.Message)

func (*GetPluginInfoRequest) XXX_Size

func (m *GetPluginInfoRequest) XXX_Size() int

func (*GetPluginInfoRequest) XXX_Unmarshal

func (m *GetPluginInfoRequest) XXX_Unmarshal(b []byte) error

type GetPluginInfoResponse

type GetPluginInfoResponse struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Category             string   `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"`
	Type                 string   `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Description          string   `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	DateCreated          string   `protobuf:"bytes,5,opt,name=dateCreated,proto3" json:"dateCreated,omitempty"`
	Location             string   `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`
	Version              string   `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
	Author               string   `protobuf:"bytes,8,opt,name=author,proto3" json:"author,omitempty"`
	Company              string   `protobuf:"bytes,9,opt,name=company,proto3" json:"company,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Represents the plugin metadata.

func (*GetPluginInfoResponse) Descriptor

func (*GetPluginInfoResponse) Descriptor() ([]byte, []int)

func (*GetPluginInfoResponse) GetAuthor

func (m *GetPluginInfoResponse) GetAuthor() string

func (*GetPluginInfoResponse) GetCategory

func (m *GetPluginInfoResponse) GetCategory() string

func (*GetPluginInfoResponse) GetCompany

func (m *GetPluginInfoResponse) GetCompany() string

func (*GetPluginInfoResponse) GetDateCreated

func (m *GetPluginInfoResponse) GetDateCreated() string

func (*GetPluginInfoResponse) GetDescription

func (m *GetPluginInfoResponse) GetDescription() string

func (*GetPluginInfoResponse) GetLocation

func (m *GetPluginInfoResponse) GetLocation() string

func (*GetPluginInfoResponse) GetName

func (m *GetPluginInfoResponse) GetName() string

func (*GetPluginInfoResponse) GetType

func (m *GetPluginInfoResponse) GetType() string

func (*GetPluginInfoResponse) GetVersion

func (m *GetPluginInfoResponse) GetVersion() string

func (*GetPluginInfoResponse) ProtoMessage

func (*GetPluginInfoResponse) ProtoMessage()

func (*GetPluginInfoResponse) Reset

func (m *GetPluginInfoResponse) Reset()

func (*GetPluginInfoResponse) String

func (m *GetPluginInfoResponse) String() string

func (*GetPluginInfoResponse) XXX_DiscardUnknown

func (m *GetPluginInfoResponse) XXX_DiscardUnknown()

func (*GetPluginInfoResponse) XXX_Marshal

func (m *GetPluginInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPluginInfoResponse) XXX_Merge

func (m *GetPluginInfoResponse) XXX_Merge(src proto.Message)

func (*GetPluginInfoResponse) XXX_Size

func (m *GetPluginInfoResponse) XXX_Size() int

func (*GetPluginInfoResponse) XXX_Unmarshal

func (m *GetPluginInfoResponse) XXX_Unmarshal(b []byte) error

type InitRequest

type InitRequest struct {
	HostServices         []string `protobuf:"bytes,1,rep,name=host_services,json=hostServices,proto3" json:"host_services,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InitRequest) Descriptor

func (*InitRequest) Descriptor() ([]byte, []int)

func (*InitRequest) GetHostServices

func (m *InitRequest) GetHostServices() []string

func (*InitRequest) ProtoMessage

func (*InitRequest) ProtoMessage()

func (*InitRequest) Reset

func (m *InitRequest) Reset()

func (*InitRequest) String

func (m *InitRequest) String() string

func (*InitRequest) XXX_DiscardUnknown

func (m *InitRequest) XXX_DiscardUnknown()

func (*InitRequest) XXX_Marshal

func (m *InitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InitRequest) XXX_Merge

func (m *InitRequest) XXX_Merge(src proto.Message)

func (*InitRequest) XXX_Size

func (m *InitRequest) XXX_Size() int

func (*InitRequest) XXX_Unmarshal

func (m *InitRequest) XXX_Unmarshal(b []byte) error

type InitResponse

type InitResponse struct {
	PluginServices       []string `protobuf:"bytes,1,rep,name=plugin_services,json=pluginServices,proto3" json:"plugin_services,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InitResponse) Descriptor

func (*InitResponse) Descriptor() ([]byte, []int)

func (*InitResponse) GetPluginServices

func (m *InitResponse) GetPluginServices() []string

func (*InitResponse) ProtoMessage

func (*InitResponse) ProtoMessage()

func (*InitResponse) Reset

func (m *InitResponse) Reset()

func (*InitResponse) String

func (m *InitResponse) String() string

func (*InitResponse) XXX_DiscardUnknown

func (m *InitResponse) XXX_DiscardUnknown()

func (*InitResponse) XXX_Marshal

func (m *InitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InitResponse) XXX_Merge

func (m *InitResponse) XXX_Merge(src proto.Message)

func (*InitResponse) XXX_Size

func (m *InitResponse) XXX_Size() int

func (*InitResponse) XXX_Unmarshal

func (m *InitResponse) XXX_Unmarshal(b []byte) error

type PluginInitClient

type PluginInitClient interface {
	Init(ctx context.Context, in *InitRequest, opts ...grpc.CallOption) (*InitResponse, error)
}

PluginInitClient is the client API for PluginInit service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPluginInitClient

func NewPluginInitClient(cc *grpc.ClientConn) PluginInitClient

type PluginInitServer

type PluginInitServer interface {
	Init(context.Context, *InitRequest) (*InitResponse, error)
}

PluginInitServer is the server API for PluginInit service.

type UnimplementedPluginInitServer

type UnimplementedPluginInitServer struct {
}

UnimplementedPluginInitServer can be embedded to have forward compatible implementations.

func (*UnimplementedPluginInitServer) Init

Jump to

Keyboard shortcuts

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