v1alpha1

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_configuration_v1alpha1_configuration_proto protoreflect.FileDescriptor

Functions

func RegisterPluginServer

func RegisterPluginServer(s *grpc.Server, srv PluginServer)

Types

type GetBackdropRequest

type GetBackdropRequest struct {
	Alias string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBackdropRequest) Descriptor deprecated

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

Deprecated: Use GetBackdropRequest.ProtoReflect.Descriptor instead.

func (*GetBackdropRequest) GetAlias

func (x *GetBackdropRequest) GetAlias() string

func (*GetBackdropRequest) ProtoMessage

func (*GetBackdropRequest) ProtoMessage()

func (*GetBackdropRequest) ProtoReflect

func (x *GetBackdropRequest) ProtoReflect() protoreflect.Message

func (*GetBackdropRequest) Reset

func (x *GetBackdropRequest) Reset()

func (*GetBackdropRequest) String

func (x *GetBackdropRequest) String() string

type ListBackdropsResponse

type ListBackdropsResponse struct {
	Backdrops []*v1alpha5.Backdrop `protobuf:"bytes,1,rep,name=backdrops,proto3" json:"backdrops,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBackdropsResponse) Descriptor deprecated

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

Deprecated: Use ListBackdropsResponse.ProtoReflect.Descriptor instead.

func (*ListBackdropsResponse) GetBackdrops

func (x *ListBackdropsResponse) GetBackdrops() []*v1alpha5.Backdrop

func (*ListBackdropsResponse) ProtoMessage

func (*ListBackdropsResponse) ProtoMessage()

func (*ListBackdropsResponse) ProtoReflect

func (x *ListBackdropsResponse) ProtoReflect() protoreflect.Message

func (*ListBackdropsResponse) Reset

func (x *ListBackdropsResponse) Reset()

func (*ListBackdropsResponse) String

func (x *ListBackdropsResponse) String() string

type PluginClient

type PluginClient interface {
	GetPluginInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*v1alpha5.PluginInfo, error)
	InitPlugin(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*v1alpha5.InitPluginResponse, error)
	ResetPlugin(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
	ListBackdrops(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ListBackdropsResponse, error)
	GetBackdrop(ctx context.Context, in *GetBackdropRequest, opts ...grpc.CallOption) (*v1alpha5.Backdrop, error)
}

PluginClient is the client API for Plugin service.

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

func NewPluginClient

func NewPluginClient(cc grpc.ClientConnInterface) PluginClient

type PluginServer

type PluginServer interface {
	GetPluginInfo(context.Context, *empty.Empty) (*v1alpha5.PluginInfo, error)
	InitPlugin(context.Context, *empty.Empty) (*v1alpha5.InitPluginResponse, error)
	ResetPlugin(context.Context, *empty.Empty) (*empty.Empty, error)
	ListBackdrops(context.Context, *empty.Empty) (*ListBackdropsResponse, error)
	GetBackdrop(context.Context, *GetBackdropRequest) (*v1alpha5.Backdrop, error)
}

PluginServer is the server API for Plugin service.

type UnimplementedPluginServer

type UnimplementedPluginServer struct {
}

UnimplementedPluginServer can be embedded to have forward compatible implementations.

func (*UnimplementedPluginServer) GetBackdrop

func (*UnimplementedPluginServer) GetPluginInfo

func (*UnimplementedPluginServer) InitPlugin

func (*UnimplementedPluginServer) ListBackdrops

func (*UnimplementedPluginServer) ResetPlugin

Jump to

Keyboard shortcuts

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