Documentation ¶
Index ¶
- Variables
- func RegisterPluginServer(s *grpc.Server, srv PluginServer)
- type GetBackdropRequest
- func (*GetBackdropRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBackdropRequest) GetAlias() string
- func (*GetBackdropRequest) ProtoMessage()
- func (x *GetBackdropRequest) ProtoReflect() protoreflect.Message
- func (x *GetBackdropRequest) Reset()
- func (x *GetBackdropRequest) String() string
- type ListBackdropsResponse
- func (*ListBackdropsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackdropsResponse) GetBackdrops() []*v1alpha5.Backdrop
- func (*ListBackdropsResponse) ProtoMessage()
- func (x *ListBackdropsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBackdropsResponse) Reset()
- func (x *ListBackdropsResponse) String() string
- type PluginClient
- type PluginServer
- type UnimplementedPluginServer
- func (*UnimplementedPluginServer) GetBackdrop(context.Context, *GetBackdropRequest) (*v1alpha5.Backdrop, error)
- func (*UnimplementedPluginServer) GetPluginInfo(context.Context, *empty.Empty) (*v1alpha5.PluginInfo, error)
- func (*UnimplementedPluginServer) InitPlugin(context.Context, *empty.Empty) (*v1alpha5.InitPluginResponse, error)
- func (*UnimplementedPluginServer) ListBackdrops(context.Context, *empty.Empty) (*ListBackdropsResponse, error)
- func (*UnimplementedPluginServer) ResetPlugin(context.Context, *empty.Empty) (*empty.Empty, error)
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) GetBackdrop(context.Context, *GetBackdropRequest) (*v1alpha5.Backdrop, error)
func (*UnimplementedPluginServer) GetPluginInfo ¶
func (*UnimplementedPluginServer) GetPluginInfo(context.Context, *empty.Empty) (*v1alpha5.PluginInfo, error)
func (*UnimplementedPluginServer) InitPlugin ¶
func (*UnimplementedPluginServer) InitPlugin(context.Context, *empty.Empty) (*v1alpha5.InitPluginResponse, error)
func (*UnimplementedPluginServer) ListBackdrops ¶
func (*UnimplementedPluginServer) ListBackdrops(context.Context, *empty.Empty) (*ListBackdropsResponse, error)
func (*UnimplementedPluginServer) ResetPlugin ¶
Click to show internal directories.
Click to hide internal directories.