Versions in this module Expand all Collapse all v0 v0.1.0 Dec 29, 2021 Changes in this version + var File_api_v1alpha1_stage_plugin_proto protoreflect.FileDescriptor + var File_api_v1alpha1_stage_proto protoreflect.FileDescriptor + func RegisterStagePluginServer(s *grpc.Server, srv StagePluginServer) + type Box struct + AccessToken string + Name string + User string + Version string + func (*Box) Descriptor() ([]byte, []int) + func (*Box) ProtoMessage() + func (x *Box) GetAccessToken() string + func (x *Box) GetName() string + func (x *Box) GetUser() string + func (x *Box) GetVersion() string + func (x *Box) ProtoReflect() protoreflect.Message + func (x *Box) Reset() + func (x *Box) String() string + type CreateStageRequest struct + Config *Stage + func (*CreateStageRequest) Descriptor() ([]byte, []int) + func (*CreateStageRequest) ProtoMessage() + func (x *CreateStageRequest) GetConfig() *Stage + func (x *CreateStageRequest) ProtoReflect() protoreflect.Message + func (x *CreateStageRequest) Reset() + func (x *CreateStageRequest) String() string + type DeleteStageRequest struct + Force bool + Name string + Volumes bool + func (*DeleteStageRequest) Descriptor() ([]byte, []int) + func (*DeleteStageRequest) ProtoMessage() + func (x *DeleteStageRequest) GetForce() bool + func (x *DeleteStageRequest) GetName() string + func (x *DeleteStageRequest) GetVolumes() bool + func (x *DeleteStageRequest) ProtoReflect() protoreflect.Message + func (x *DeleteStageRequest) Reset() + func (x *DeleteStageRequest) String() string + type GetStageRequest struct + Name string + func (*GetStageRequest) Descriptor() ([]byte, []int) + func (*GetStageRequest) ProtoMessage() + func (x *GetStageRequest) GetName() string + func (x *GetStageRequest) ProtoReflect() protoreflect.Message + func (x *GetStageRequest) Reset() + func (x *GetStageRequest) String() string + type GetStageResponse struct + Available bool + Exist bool + Name string + SshOptions *SSHOptions + func (*GetStageResponse) Descriptor() ([]byte, []int) + func (*GetStageResponse) ProtoMessage() + func (x *GetStageResponse) GetAvailable() bool + func (x *GetStageResponse) GetExist() bool + func (x *GetStageResponse) GetName() string + func (x *GetStageResponse) GetSshOptions() *SSHOptions + func (x *GetStageResponse) ProtoReflect() protoreflect.Message + func (x *GetStageResponse) Reset() + func (x *GetStageResponse) String() string + type InitPluginResponse struct + Config map[string]string + func (*InitPluginResponse) Descriptor() ([]byte, []int) + func (*InitPluginResponse) ProtoMessage() + func (x *InitPluginResponse) GetConfig() map[string]string + func (x *InitPluginResponse) ProtoReflect() protoreflect.Message + func (x *InitPluginResponse) Reset() + func (x *InitPluginResponse) String() string + type PersistentVolume struct + Size int64 + func (*PersistentVolume) Descriptor() ([]byte, []int) + func (*PersistentVolume) ProtoMessage() + func (x *PersistentVolume) GetSize() int64 + func (x *PersistentVolume) ProtoReflect() protoreflect.Message + func (x *PersistentVolume) Reset() + func (x *PersistentVolume) String() string + type PluginInfo struct + Dependencies []*PluginName + Fields map[string]string + Name *PluginName + func (*PluginInfo) Descriptor() ([]byte, []int) + func (*PluginInfo) ProtoMessage() + func (x *PluginInfo) GetDependencies() []*PluginName + func (x *PluginInfo) GetFields() map[string]string + func (x *PluginInfo) GetName() *PluginName + func (x *PluginInfo) ProtoReflect() protoreflect.Message + func (x *PluginInfo) Reset() + func (x *PluginInfo) String() string + type PluginName struct + Name string + Type string + func (*PluginName) Descriptor() ([]byte, []int) + func (*PluginName) ProtoMessage() + func (x *PluginName) GetName() string + func (x *PluginName) GetType() string + func (x *PluginName) ProtoReflect() protoreflect.Message + func (x *PluginName) Reset() + func (x *PluginName) String() string + type Resources struct + Cpu int64 + Memory int64 + UsbFilters []*UsbFilter + Volumes []*PersistentVolume + func (*Resources) Descriptor() ([]byte, []int) + func (*Resources) ProtoMessage() + func (x *Resources) GetCpu() int64 + func (x *Resources) GetMemory() int64 + func (x *Resources) GetUsbFilters() []*UsbFilter + func (x *Resources) GetVolumes() []*PersistentVolume + func (x *Resources) ProtoReflect() protoreflect.Message + func (x *Resources) Reset() + func (x *Resources) String() string + type SSHOptions struct + Hostname string + Port int32 + PrivateKeyFile string + Username string + func (*SSHOptions) Descriptor() ([]byte, []int) + func (*SSHOptions) ProtoMessage() + func (x *SSHOptions) GetHostname() string + func (x *SSHOptions) GetPort() int32 + func (x *SSHOptions) GetPrivateKeyFile() string + func (x *SSHOptions) GetUsername() string + func (x *SSHOptions) ProtoReflect() protoreflect.Message + func (x *SSHOptions) Reset() + func (x *SSHOptions) String() string + type Stage struct + Box *Box + Name string + Resources *Resources + Type string + func (*Stage) Descriptor() ([]byte, []int) + func (*Stage) ProtoMessage() + func (x *Stage) GetBox() *Box + func (x *Stage) GetName() string + func (x *Stage) GetResources() *Resources + func (x *Stage) GetType() string + func (x *Stage) ProtoReflect() protoreflect.Message + func (x *Stage) Reset() + func (x *Stage) String() string + type StagePluginClient interface + CreateStage func(ctx context.Context, in *CreateStageRequest, opts ...grpc.CallOption) (*empty.Empty, error) + DeleteStage func(ctx context.Context, in *DeleteStageRequest, opts ...grpc.CallOption) (*empty.Empty, error) + GetPluginInfo func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PluginInfo, error) + GetStage func(ctx context.Context, in *GetStageRequest, opts ...grpc.CallOption) (*GetStageResponse, error) + InitPlugin func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*InitPluginResponse, error) + StartStage func(ctx context.Context, in *StartStageRequest, opts ...grpc.CallOption) (*empty.Empty, error) + StopStage func(ctx context.Context, in *StopStageRequest, opts ...grpc.CallOption) (*empty.Empty, error) + func NewStagePluginClient(cc grpc.ClientConnInterface) StagePluginClient + type StagePluginServer interface + CreateStage func(context.Context, *CreateStageRequest) (*empty.Empty, error) + DeleteStage func(context.Context, *DeleteStageRequest) (*empty.Empty, error) + GetPluginInfo func(context.Context, *empty.Empty) (*PluginInfo, error) + GetStage func(context.Context, *GetStageRequest) (*GetStageResponse, error) + InitPlugin func(context.Context, *empty.Empty) (*InitPluginResponse, error) + StartStage func(context.Context, *StartStageRequest) (*empty.Empty, error) + StopStage func(context.Context, *StopStageRequest) (*empty.Empty, error) + type StartStageRequest struct + Name string + func (*StartStageRequest) Descriptor() ([]byte, []int) + func (*StartStageRequest) ProtoMessage() + func (x *StartStageRequest) GetName() string + func (x *StartStageRequest) ProtoReflect() protoreflect.Message + func (x *StartStageRequest) Reset() + func (x *StartStageRequest) String() string + type StopStageRequest struct + Name string + func (*StopStageRequest) Descriptor() ([]byte, []int) + func (*StopStageRequest) ProtoMessage() + func (x *StopStageRequest) GetName() string + func (x *StopStageRequest) ProtoReflect() protoreflect.Message + func (x *StopStageRequest) Reset() + func (x *StopStageRequest) String() string + type UnimplementedStagePluginServer struct + func (*UnimplementedStagePluginServer) CreateStage(context.Context, *CreateStageRequest) (*empty.Empty, error) + func (*UnimplementedStagePluginServer) DeleteStage(context.Context, *DeleteStageRequest) (*empty.Empty, error) + func (*UnimplementedStagePluginServer) GetPluginInfo(context.Context, *empty.Empty) (*PluginInfo, error) + func (*UnimplementedStagePluginServer) GetStage(context.Context, *GetStageRequest) (*GetStageResponse, error) + func (*UnimplementedStagePluginServer) InitPlugin(context.Context, *empty.Empty) (*InitPluginResponse, error) + func (*UnimplementedStagePluginServer) StartStage(context.Context, *StartStageRequest) (*empty.Empty, error) + func (*UnimplementedStagePluginServer) StopStage(context.Context, *StopStageRequest) (*empty.Empty, error) + type UsbFilter struct + Name string + ProductId string + VendorId string + func (*UsbFilter) Descriptor() ([]byte, []int) + func (*UsbFilter) ProtoMessage() + func (x *UsbFilter) GetName() string + func (x *UsbFilter) GetProductId() string + func (x *UsbFilter) GetVendorId() string + func (x *UsbFilter) ProtoReflect() protoreflect.Message + func (x *UsbFilter) Reset() + func (x *UsbFilter) String() string