Versions in this module Expand all Collapse all v0 v0.4.2 Dec 21, 2023 Changes in this version + const HookFactory_BuildHook_FullMethodName + const HookFactory_GetHooksMetaData_FullMethodName + const HookFactory_GetPipelineType_FullMethodName + var File_hook_proto protoreflect.FileDescriptor + var HookFactory_ServiceDesc = grpc.ServiceDesc + func RegisterHookFactoryServer(s grpc.ServiceRegistrar, srv HookFactoryServer) + type BuildHookRequest struct + HookName string + Info *HookBuildData + func (*BuildHookRequest) Descriptor() ([]byte, []int) + func (*BuildHookRequest) ProtoMessage() + func (x *BuildHookRequest) GetHookName() string + func (x *BuildHookRequest) GetInfo() *HookBuildData + func (x *BuildHookRequest) ProtoReflect() protoreflect.Message + func (x *BuildHookRequest) Reset() + func (x *BuildHookRequest) String() string + type BuildHookResponse struct + Hook *Hook + func (*BuildHookResponse) Descriptor() ([]byte, []int) + func (*BuildHookResponse) ProtoMessage() + func (x *BuildHookResponse) GetHook() *Hook + func (x *BuildHookResponse) ProtoReflect() protoreflect.Message + func (x *BuildHookResponse) Reset() + func (x *BuildHookResponse) String() string + type Empty struct + func (*Empty) Descriptor() ([]byte, []int) + func (*Empty) ProtoMessage() + func (x *Empty) ProtoReflect() protoreflect.Message + func (x *Empty) Reset() + func (x *Empty) String() string + type GetHooksMetaDataResponse struct + HooksMetaData []*HookMetadata + func (*GetHooksMetaDataResponse) Descriptor() ([]byte, []int) + func (*GetHooksMetaDataResponse) ProtoMessage() + func (x *GetHooksMetaDataResponse) GetHooksMetaData() []*HookMetadata + func (x *GetHooksMetaDataResponse) ProtoReflect() protoreflect.Message + func (x *GetHooksMetaDataResponse) Reset() + func (x *GetHooksMetaDataResponse) String() string + type GetPipelineTypeResponse struct + PipelineType string + func (*GetPipelineTypeResponse) Descriptor() ([]byte, []int) + func (*GetPipelineTypeResponse) ProtoMessage() + func (x *GetPipelineTypeResponse) GetPipelineType() string + func (x *GetPipelineTypeResponse) ProtoReflect() protoreflect.Message + func (x *GetPipelineTypeResponse) Reset() + func (x *GetPipelineTypeResponse) String() string + type Hook struct + RequestInputs []*InputOverWrite + RequestResources [][]byte + Resource []byte + func (*Hook) Descriptor() ([]byte, []int) + func (*Hook) ProtoMessage() + func (x *Hook) GetRequestInputs() []*InputOverWrite + func (x *Hook) GetRequestResources() [][]byte + func (x *Hook) GetResource() []byte + func (x *Hook) ProtoReflect() protoreflect.Message + func (x *Hook) Reset() + func (x *Hook) String() string + type HookBuildData struct + BuiltinVars map[string]string + EventSourceType string + EventType string + UserVars map[string]string + func (*HookBuildData) Descriptor() ([]byte, []int) + func (*HookBuildData) ProtoMessage() + func (x *HookBuildData) GetBuiltinVars() map[string]string + func (x *HookBuildData) GetEventSourceType() string + func (x *HookBuildData) GetEventType() string + func (x *HookBuildData) GetUserVars() map[string]string + func (x *HookBuildData) ProtoReflect() protoreflect.Message + func (x *HookBuildData) Reset() + func (x *HookBuildData) String() string + type HookFactoryClient interface + BuildHook func(ctx context.Context, in *BuildHookRequest, opts ...grpc.CallOption) (*BuildHookResponse, error) + GetHooksMetaData func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetHooksMetaDataResponse, error) + GetPipelineType func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetPipelineTypeResponse, error) + func NewHookFactoryClient(cc grpc.ClientConnInterface) HookFactoryClient + type HookFactoryServer interface + BuildHook func(context.Context, *BuildHookRequest) (*BuildHookResponse, error) + GetHooksMetaData func(context.Context, *Empty) (*GetHooksMetaDataResponse, error) + GetPipelineType func(context.Context, *Empty) (*GetPipelineTypeResponse, error) + type HookMetadata struct + IsPostHook bool + IsPreHook bool + Name string + SupportEventSourceTypes []string + VarsDefinition []byte + func (*HookMetadata) Descriptor() ([]byte, []int) + func (*HookMetadata) ProtoMessage() + func (x *HookMetadata) GetIsPostHook() bool + func (x *HookMetadata) GetIsPreHook() bool + func (x *HookMetadata) GetName() string + func (x *HookMetadata) GetSupportEventSourceTypes() []string + func (x *HookMetadata) GetVarsDefinition() []byte + func (x *HookMetadata) ProtoReflect() protoreflect.Message + func (x *HookMetadata) Reset() + func (x *HookMetadata) String() string + type InputOverWrite struct + Destination string + Source *InputSource + func (*InputOverWrite) Descriptor() ([]byte, []int) + func (*InputOverWrite) ProtoMessage() + func (x *InputOverWrite) GetDestination() string + func (x *InputOverWrite) GetSource() *InputSource + func (x *InputOverWrite) ProtoReflect() protoreflect.Message + func (x *InputOverWrite) Reset() + func (x *InputOverWrite) String() string + type InputSource struct + Src isInputSource_Src + func (*InputSource) Descriptor() ([]byte, []int) + func (*InputSource) ProtoMessage() + func (m *InputSource) GetSrc() isInputSource_Src + func (x *InputSource) GetFromEventSource() string + func (x *InputSource) ProtoReflect() protoreflect.Message + func (x *InputSource) Reset() + func (x *InputSource) String() string + type InputSource_FromEventSource struct + FromEventSource string + type UnimplementedHookFactoryServer struct + func (UnimplementedHookFactoryServer) BuildHook(context.Context, *BuildHookRequest) (*BuildHookResponse, error) + func (UnimplementedHookFactoryServer) GetHooksMetaData(context.Context, *Empty) (*GetHooksMetaDataResponse, error) + func (UnimplementedHookFactoryServer) GetPipelineType(context.Context, *Empty) (*GetPipelineTypeResponse, error) + type UnsafeHookFactoryServer interface