Versions in this module Expand all Collapse all v1 v1.202449.18 Dec 16, 2024 Changes in this version + var File_pkg_plugin_sdk_v1alpha3_proto_plugin_proto protoreflect.FileDescriptor + func RegisterPluginServer(s *grpc.Server, srv PluginServer) + func RegisterPrompterServer(s *grpc.Server, srv PrompterServer) + type BEPEventCallbackReq struct + Event *buildeventstream.BuildEvent + func (*BEPEventCallbackReq) Descriptor() ([]byte, []int) + func (*BEPEventCallbackReq) ProtoMessage() + func (x *BEPEventCallbackReq) GetEvent() *buildeventstream.BuildEvent + func (x *BEPEventCallbackReq) ProtoReflect() protoreflect.Message + func (x *BEPEventCallbackReq) Reset() + func (x *BEPEventCallbackReq) String() string + type BEPEventCallbackRes struct + func (*BEPEventCallbackRes) Descriptor() ([]byte, []int) + func (*BEPEventCallbackRes) ProtoMessage() + func (x *BEPEventCallbackRes) ProtoReflect() protoreflect.Message + func (x *BEPEventCallbackRes) Reset() + func (x *BEPEventCallbackRes) String() string + type Command struct + LongDesc string + ShortDesc string + Use string + func (*Command) Descriptor() ([]byte, []int) + func (*Command) ProtoMessage() + func (x *Command) GetLongDesc() string + func (x *Command) GetShortDesc() string + func (x *Command) GetUse() string + func (x *Command) ProtoReflect() protoreflect.Message + func (x *Command) Reset() + func (x *Command) String() string + type Context struct + WorkspaceRoot string + func (*Context) Descriptor() ([]byte, []int) + func (*Context) ProtoMessage() + func (x *Context) GetWorkspaceRoot() string + func (x *Context) ProtoReflect() protoreflect.Message + func (x *Context) Reset() + func (x *Context) String() string + type CustomCommandsReq struct + func (*CustomCommandsReq) Descriptor() ([]byte, []int) + func (*CustomCommandsReq) ProtoMessage() + func (x *CustomCommandsReq) ProtoReflect() protoreflect.Message + func (x *CustomCommandsReq) Reset() + func (x *CustomCommandsReq) String() string + type CustomCommandsRes struct + Commands []*Command + func (*CustomCommandsRes) Descriptor() ([]byte, []int) + func (*CustomCommandsRes) ProtoMessage() + func (x *CustomCommandsRes) GetCommands() []*Command + func (x *CustomCommandsRes) ProtoReflect() protoreflect.Message + func (x *CustomCommandsRes) Reset() + func (x *CustomCommandsRes) String() string + type ExecuteCustomCommandReq struct + Args []string + Ctx *Context + CustomCommand string + func (*ExecuteCustomCommandReq) Descriptor() ([]byte, []int) + func (*ExecuteCustomCommandReq) ProtoMessage() + func (x *ExecuteCustomCommandReq) GetArgs() []string + func (x *ExecuteCustomCommandReq) GetCtx() *Context + func (x *ExecuteCustomCommandReq) GetCustomCommand() string + func (x *ExecuteCustomCommandReq) ProtoReflect() protoreflect.Message + func (x *ExecuteCustomCommandReq) Reset() + func (x *ExecuteCustomCommandReq) String() string + type ExecuteCustomCommandRes struct + func (*ExecuteCustomCommandRes) Descriptor() ([]byte, []int) + func (*ExecuteCustomCommandRes) ProtoMessage() + func (x *ExecuteCustomCommandRes) ProtoReflect() protoreflect.Message + func (x *ExecuteCustomCommandRes) Reset() + func (x *ExecuteCustomCommandRes) String() string + type File struct + Path string + func (*File) Descriptor() ([]byte, []int) + func (*File) ProtoMessage() + func (x *File) GetPath() string + func (x *File) ProtoReflect() protoreflect.Message + func (x *File) Reset() + func (x *File) String() string + type PluginClient interface + BEPEventCallback func(ctx context.Context, in *BEPEventCallbackReq, opts ...grpc.CallOption) (*BEPEventCallbackRes, error) + CustomCommands func(ctx context.Context, in *CustomCommandsReq, opts ...grpc.CallOption) (*CustomCommandsRes, error) + ExecuteCustomCommand func(ctx context.Context, in *ExecuteCustomCommandReq, opts ...grpc.CallOption) (*ExecuteCustomCommandRes, error) + PostBuildHook func(ctx context.Context, in *PostBuildHookReq, opts ...grpc.CallOption) (*PostBuildHookRes, error) + PostRunHook func(ctx context.Context, in *PostRunHookReq, opts ...grpc.CallOption) (*PostRunHookRes, error) + PostTestHook func(ctx context.Context, in *PostTestHookReq, opts ...grpc.CallOption) (*PostTestHookRes, error) + Setup func(ctx context.Context, in *SetupReq, opts ...grpc.CallOption) (*SetupRes, error) + func NewPluginClient(cc grpc.ClientConnInterface) PluginClient + type PluginServer interface + BEPEventCallback func(context.Context, *BEPEventCallbackReq) (*BEPEventCallbackRes, error) + CustomCommands func(context.Context, *CustomCommandsReq) (*CustomCommandsRes, error) + ExecuteCustomCommand func(context.Context, *ExecuteCustomCommandReq) (*ExecuteCustomCommandRes, error) + PostBuildHook func(context.Context, *PostBuildHookReq) (*PostBuildHookRes, error) + PostRunHook func(context.Context, *PostRunHookReq) (*PostRunHookRes, error) + PostTestHook func(context.Context, *PostTestHookReq) (*PostTestHookRes, error) + Setup func(context.Context, *SetupReq) (*SetupRes, error) + type PostBuildHookReq struct + BrokerId uint32 + IsInteractiveMode bool + func (*PostBuildHookReq) Descriptor() ([]byte, []int) + func (*PostBuildHookReq) ProtoMessage() + func (x *PostBuildHookReq) GetBrokerId() uint32 + func (x *PostBuildHookReq) GetIsInteractiveMode() bool + func (x *PostBuildHookReq) ProtoReflect() protoreflect.Message + func (x *PostBuildHookReq) Reset() + func (x *PostBuildHookReq) String() string + type PostBuildHookRes struct + func (*PostBuildHookRes) Descriptor() ([]byte, []int) + func (*PostBuildHookRes) ProtoMessage() + func (x *PostBuildHookRes) ProtoReflect() protoreflect.Message + func (x *PostBuildHookRes) Reset() + func (x *PostBuildHookRes) String() string + type PostRunHookReq struct + BrokerId uint32 + IsInteractiveMode bool + func (*PostRunHookReq) Descriptor() ([]byte, []int) + func (*PostRunHookReq) ProtoMessage() + func (x *PostRunHookReq) GetBrokerId() uint32 + func (x *PostRunHookReq) GetIsInteractiveMode() bool + func (x *PostRunHookReq) ProtoReflect() protoreflect.Message + func (x *PostRunHookReq) Reset() + func (x *PostRunHookReq) String() string + type PostRunHookRes struct + func (*PostRunHookRes) Descriptor() ([]byte, []int) + func (*PostRunHookRes) ProtoMessage() + func (x *PostRunHookRes) ProtoReflect() protoreflect.Message + func (x *PostRunHookRes) Reset() + func (x *PostRunHookRes) String() string + type PostTestHookReq struct + BrokerId uint32 + IsInteractiveMode bool + func (*PostTestHookReq) Descriptor() ([]byte, []int) + func (*PostTestHookReq) ProtoMessage() + func (x *PostTestHookReq) GetBrokerId() uint32 + func (x *PostTestHookReq) GetIsInteractiveMode() bool + func (x *PostTestHookReq) ProtoReflect() protoreflect.Message + func (x *PostTestHookReq) Reset() + func (x *PostTestHookReq) String() string + type PostTestHookRes struct + func (*PostTestHookRes) Descriptor() ([]byte, []int) + func (*PostTestHookRes) ProtoMessage() + func (x *PostTestHookRes) ProtoReflect() protoreflect.Message + func (x *PostTestHookRes) Reset() + func (x *PostTestHookRes) String() string + type PromptRunReq struct + AllowEdit bool + Default string + HideEntered bool + IsConfirm bool + IsVimMode bool + Label string + Mask string + func (*PromptRunReq) Descriptor() ([]byte, []int) + func (*PromptRunReq) ProtoMessage() + func (x *PromptRunReq) GetAllowEdit() bool + func (x *PromptRunReq) GetDefault() string + func (x *PromptRunReq) GetHideEntered() bool + func (x *PromptRunReq) GetIsConfirm() bool + func (x *PromptRunReq) GetIsVimMode() bool + func (x *PromptRunReq) GetLabel() string + func (x *PromptRunReq) GetMask() string + func (x *PromptRunReq) ProtoReflect() protoreflect.Message + func (x *PromptRunReq) Reset() + func (x *PromptRunReq) String() string + type PromptRunRes struct + Error *PromptRunRes_Error + Result string + func (*PromptRunRes) Descriptor() ([]byte, []int) + func (*PromptRunRes) ProtoMessage() + func (x *PromptRunRes) GetError() *PromptRunRes_Error + func (x *PromptRunRes) GetResult() string + func (x *PromptRunRes) ProtoReflect() protoreflect.Message + func (x *PromptRunRes) Reset() + func (x *PromptRunRes) String() string + type PromptRunRes_Error struct + Happened bool + Message string + func (*PromptRunRes_Error) Descriptor() ([]byte, []int) + func (*PromptRunRes_Error) ProtoMessage() + func (x *PromptRunRes_Error) GetHappened() bool + func (x *PromptRunRes_Error) GetMessage() string + func (x *PromptRunRes_Error) ProtoReflect() protoreflect.Message + func (x *PromptRunRes_Error) Reset() + func (x *PromptRunRes_Error) String() string + type PrompterClient interface + Run func(ctx context.Context, in *PromptRunReq, opts ...grpc.CallOption) (*PromptRunRes, error) + func NewPrompterClient(cc grpc.ClientConnInterface) PrompterClient + type PrompterServer interface + Run func(context.Context, *PromptRunReq) (*PromptRunRes, error) + type SetupReq struct + File *File + Properties []byte + func (*SetupReq) Descriptor() ([]byte, []int) + func (*SetupReq) ProtoMessage() + func (x *SetupReq) GetFile() *File + func (x *SetupReq) GetProperties() []byte + func (x *SetupReq) ProtoReflect() protoreflect.Message + func (x *SetupReq) Reset() + func (x *SetupReq) String() string + type SetupRes struct + func (*SetupRes) Descriptor() ([]byte, []int) + func (*SetupRes) ProtoMessage() + func (x *SetupRes) ProtoReflect() protoreflect.Message + func (x *SetupRes) Reset() + func (x *SetupRes) String() string + type UnimplementedPluginServer struct + func (*UnimplementedPluginServer) BEPEventCallback(context.Context, *BEPEventCallbackReq) (*BEPEventCallbackRes, error) + func (*UnimplementedPluginServer) CustomCommands(context.Context, *CustomCommandsReq) (*CustomCommandsRes, error) + func (*UnimplementedPluginServer) ExecuteCustomCommand(context.Context, *ExecuteCustomCommandReq) (*ExecuteCustomCommandRes, error) + func (*UnimplementedPluginServer) PostBuildHook(context.Context, *PostBuildHookReq) (*PostBuildHookRes, error) + func (*UnimplementedPluginServer) PostRunHook(context.Context, *PostRunHookReq) (*PostRunHookRes, error) + func (*UnimplementedPluginServer) PostTestHook(context.Context, *PostTestHookReq) (*PostTestHookRes, error) + func (*UnimplementedPluginServer) Setup(context.Context, *SetupReq) (*SetupRes, error) + type UnimplementedPrompterServer struct + func (*UnimplementedPrompterServer) Run(context.Context, *PromptRunReq) (*PromptRunRes, error)