Documentation ¶
Index ¶
- Constants
- Variables
- func ChatEventName(event *chat.ChatEvent) string
- func DefaultRunParametersComputer(ctx context.Context, input *ActionMessage, job *Job, event interface{}) map[string]string
- func DeregisterJobServiceEnhancedServer(s grpc.ServiceRegistrar, name string)
- func DeregisterTaskServiceEnhancedServer(s grpc.ServiceRegistrar, name string)
- func EvaluateFieldBool(ctx context.Context, input *ActionMessage, value string) (bool, error)
- func EvaluateFieldInt(ctx context.Context, input *ActionMessage, value string) (int, error)
- func EvaluateFieldInt64(ctx context.Context, input *ActionMessage, value string) (int64, error)
- func EvaluateFieldStr(ctx context.Context, input *ActionMessage, value string) string
- func EvaluateFieldStrSlice(ctx context.Context, input *ActionMessage, values []string) []string
- func IdmChangeEventName(objectType IdmSelectorType, eventType idm.ChangeEventType) string
- func MatchesChatEvent(eventName string, event *chat.ChatEvent) bool
- func MatchesIdmChangeEvent(eventName string, event *idm.ChangeEvent) bool
- func MustMarshalAny(pb proto.Message) *anypb.Any
- func MustMarshalAnyMultiple(pbs ...proto.Message) (out []*anypb.Any)
- func NodeChangeEventName(event tree.NodeChangeEvent_EventType) string
- func ParseNodeChangeEventName(eventName string) (tree.NodeChangeEvent_EventType, bool)
- func RegisterDefault(j *Job, service string)
- func RegisterFieldEvaluator(evaluator FieldEvaluator)
- func RegisterJobServiceEnhancedServer(s grpc.ServiceRegistrar, srv NamedJobServiceServer)
- func RegisterJobServiceServer(s grpc.ServiceRegistrar, srv JobServiceServer)
- func RegisterNodesFreeStringEvaluator(f FreeStringEvaluator)
- func RegisterTaskServiceEnhancedServer(s grpc.ServiceRegistrar, srv NamedTaskServiceServer)
- func RegisterTaskServiceServer(s grpc.ServiceRegistrar, srv TaskServiceServer)
- type Action
- func (a *Action) ApplyFilters(ctx context.Context, ff []InputFilter, input *ActionMessage) (output *ActionMessage, excluded *ActionMessage, passThrough bool)
- func (a *Action) BuildTaskActionPath(ctx context.Context, suffix string, indexTag ...int) (string, context.Context)
- func (a *Action) CollectSelector(ctx context.Context, selector InputSelector, input *ActionMessage, ...)
- func (*Action) Descriptor() ([]byte, []int)deprecated
- func (a *Action) FanOutSelector(ctx context.Context, selector InputSelector, input *ActionMessage, ...)
- func (a *Action) FanToNext(ctx context.Context, index int, input *ActionMessage, ...)
- func (x *Action) GetActionOutputFilter() *ActionOutputFilter
- func (x *Action) GetBreakAfter() bool
- func (x *Action) GetBypass() bool
- func (x *Action) GetChainedActions() []*Action
- func (x *Action) GetChatEventFilter() *ChatEventFilter
- func (x *Action) GetContextMetaFilter() *ContextMetaFilter
- func (x *Action) GetDataFilter() *DataSelector
- func (x *Action) GetDataSelector() *DataSelector
- func (x *Action) GetDataSourceFilter() *DataSourceSelector
- func (x *Action) GetDataSourceSelector() *DataSourceSelector
- func (x *Action) GetDescription() string
- func (x *Action) GetFailedFilterActions() []*Action
- func (x *Action) GetID() string
- func (x *Action) GetIdmFilter() *IdmSelector
- func (x *Action) GetIdmSelector() *IdmSelector
- func (x *Action) GetLabel() string
- func (x *Action) GetMergeAction() *Action
- func (x *Action) GetNodesFilter() *NodesSelector
- func (x *Action) GetNodesSelector() *NodesSelector
- func (x *Action) GetParameters() map[string]string
- func (x *Action) GetTimeout() string
- func (x *Action) GetTriggerFilter() *TriggerFilter
- func (x *Action) GetUsersFilter() *UsersSelector
- func (x *Action) GetUsersSelector() *UsersSelector
- func (a *Action) HasSelectors() bool
- func (a *Action) MarshalLogObject(encoder zapcore.ObjectEncoder) error
- func (*Action) ProtoMessage()
- func (x *Action) ProtoReflect() protoreflect.Message
- func (x *Action) Reset()
- func (x *Action) String() string
- func (a *Action) ToMessages(startMessage *ActionMessage, ctx context.Context, ...)
- func (this *Action) Validate() error
- func (a *Action) Zap() zapcore.Field
- func (a *Action) ZapId() zapcore.Field
- type ActionLog
- func (*ActionLog) Descriptor() ([]byte, []int)deprecated
- func (x *ActionLog) GetAction() *Action
- func (x *ActionLog) GetInputMessage() *ActionMessage
- func (x *ActionLog) GetOutputMessage() *ActionMessage
- func (*ActionLog) ProtoMessage()
- func (x *ActionLog) ProtoReflect() protoreflect.Message
- func (x *ActionLog) Reset()
- func (x *ActionLog) String() string
- func (this *ActionLog) Validate() error
- type ActionMessage
- func (a *ActionMessage) AppendOutput(output *ActionOutput)
- func (a *ActionMessage) AsRunError(e error) (*ActionMessage, error)
- func (a *ActionMessage) Clone() *ActionMessage
- func (*ActionMessage) Descriptor() ([]byte, []int)deprecated
- func (a *ActionMessage) EventFromAny() (interface{}, error)
- func (x *ActionMessage) GetAcls() []*idm.ACL
- func (x *ActionMessage) GetActivities() []*activity.Object
- func (x *ActionMessage) GetDataSources() []*object.DataSource
- func (x *ActionMessage) GetEvent() *anypb.Any
- func (a *ActionMessage) GetLastOutput() *ActionOutput
- func (x *ActionMessage) GetNodes() []*tree.Node
- func (x *ActionMessage) GetOutputChain() []*ActionOutput
- func (a *ActionMessage) GetOutputs() []*ActionOutput
- func (x *ActionMessage) GetRoles() []*idm.Role
- func (x *ActionMessage) GetUsers() []*idm.User
- func (x *ActionMessage) GetWorkspaces() []*idm.Workspace
- func (a *ActionMessage) MarshalLogObject(encoder zapcore.ObjectEncoder) error
- func (*ActionMessage) ProtoMessage()
- func (x *ActionMessage) ProtoReflect() protoreflect.Message
- func (x *ActionMessage) Reset()
- func (a *ActionMessage) ScanVar(name string, output interface{}) error
- func (a *ActionMessage) StackedVars(expected ...string) map[string]interface{}
- func (a *ActionMessage) StackedVarsKeys() (keys []string)
- func (x *ActionMessage) String() string
- func (this *ActionMessage) Validate() error
- func (a *ActionMessage) WithAcl(acl *idm.ACL) *ActionMessage
- func (a *ActionMessage) WithAcls(aa ...*idm.ACL) *ActionMessage
- func (a *ActionMessage) WithDataSource(ds *object.DataSource) *ActionMessage
- func (a *ActionMessage) WithDataSources(ds ...*object.DataSource) *ActionMessage
- func (a *ActionMessage) WithError(e error) *ActionMessage
- func (a *ActionMessage) WithIgnore() *ActionMessage
- func (a *ActionMessage) WithNode(n *tree.Node) *ActionMessage
- func (a *ActionMessage) WithNodes(nodes ...*tree.Node) *ActionMessage
- func (a *ActionMessage) WithOutput(output *ActionOutput) *ActionMessage
- func (a *ActionMessage) WithRole(r *idm.Role) *ActionMessage
- func (a *ActionMessage) WithRoles(r ...*idm.Role) *ActionMessage
- func (a *ActionMessage) WithUser(u *idm.User) *ActionMessage
- func (a *ActionMessage) WithUsers(users ...*idm.User) *ActionMessage
- func (a *ActionMessage) WithWorkspace(ws *idm.Workspace) *ActionMessage
- func (a *ActionMessage) WithWorkspaces(ws ...*idm.Workspace) *ActionMessage
- type ActionOutput
- func (*ActionOutput) Descriptor() ([]byte, []int)deprecated
- func (m *ActionOutput) FillVars(vv map[string]interface{}, expected ...string)
- func (x *ActionOutput) GetErrorString() string
- func (x *ActionOutput) GetIgnored() bool
- func (x *ActionOutput) GetJsonBody() []byte
- func (x *ActionOutput) GetRawBody() []byte
- func (x *ActionOutput) GetStringBody() string
- func (x *ActionOutput) GetSuccess() bool
- func (x *ActionOutput) GetTime() int32
- func (x *ActionOutput) GetVars() map[string]string
- func (m *ActionOutput) JsonAsValue() configx.Value
- func (m *ActionOutput) JsonAsValues() configx.Values
- func (m *ActionOutput) JsonObject() (map[string]interface{}, error)
- func (m *ActionOutput) JsonSliceOfInterfaces() ([]interface{}, error)
- func (m *ActionOutput) JsonSliceOfObjects() ([]map[string]interface{}, error)
- func (m *ActionOutput) LogVarsWithLimit(vv map[string]interface{}, jsonSizeLimit int)
- func (m *ActionOutput) MarshalLogObject(encoder zapcore.ObjectEncoder) error
- func (*ActionOutput) ProtoMessage()
- func (x *ActionOutput) ProtoReflect() protoreflect.Message
- func (x *ActionOutput) Reset()
- func (m *ActionOutput) SetVar(key string, value interface{})
- func (x *ActionOutput) String() string
- func (this *ActionOutput) Validate() error
- type ActionOutputFilter
- func (*ActionOutputFilter) Descriptor() ([]byte, []int)deprecated
- func (n *ActionOutputFilter) Filter(ctx context.Context, input *ActionMessage) (*ActionMessage, *ActionMessage, bool)
- func (n *ActionOutputFilter) FilterID() string
- func (x *ActionOutputFilter) GetDescription() string
- func (x *ActionOutputFilter) GetLabel() string
- func (x *ActionOutputFilter) GetQuery() *service.Query
- func (*ActionOutputFilter) ProtoMessage()
- func (x *ActionOutputFilter) ProtoReflect() protoreflect.Message
- func (x *ActionOutputFilter) Reset()
- func (x *ActionOutputFilter) String() string
- func (this *ActionOutputFilter) Validate() error
- type ActionOutputSingleQuery
- func (*ActionOutputSingleQuery) Descriptor() ([]byte, []int)deprecated
- func (x *ActionOutputSingleQuery) GetErrorStringRegexp() string
- func (x *ActionOutputSingleQuery) GetFreeCondition() string
- func (x *ActionOutputSingleQuery) GetIsSuccess() bool
- func (x *ActionOutputSingleQuery) GetJsonBodyHasKey() string
- func (x *ActionOutputSingleQuery) GetJsonBodyRegexp() string
- func (x *ActionOutputSingleQuery) GetJsonBodySizeGreaterThan() int32
- func (x *ActionOutputSingleQuery) GetJsonBodySizeSmallerThan() int32
- func (x *ActionOutputSingleQuery) GetNot() bool
- func (x *ActionOutputSingleQuery) GetStringBodyRegexp() string
- func (x *ActionOutputSingleQuery) GetStringBodySizeGreaterThan() int32
- func (x *ActionOutputSingleQuery) GetStringBodySizeSmallerThan() int32
- func (x *ActionOutputSingleQuery) GetTaskTimeGt() int32
- func (x *ActionOutputSingleQuery) GetTaskTimeLt() int32
- func (*ActionOutputSingleQuery) ProtoMessage()
- func (x *ActionOutputSingleQuery) ProtoReflect() protoreflect.Message
- func (x *ActionOutputSingleQuery) Reset()
- func (x *ActionOutputSingleQuery) String() string
- func (this *ActionOutputSingleQuery) Validate() error
- type ChatEventFilter
- func (*ChatEventFilter) Descriptor() ([]byte, []int)deprecated
- func (m *ChatEventFilter) Filter(ctx context.Context, input *ActionMessage) (*ActionMessage, *ActionMessage, bool)
- func (m *ChatEventFilter) FilterID() string
- func (x *ChatEventFilter) GetDescription() string
- func (x *ChatEventFilter) GetLabel() string
- func (x *ChatEventFilter) GetQuery() *service.Query
- func (*ChatEventFilter) ProtoMessage()
- func (x *ChatEventFilter) ProtoReflect() protoreflect.Message
- func (x *ChatEventFilter) Reset()
- func (x *ChatEventFilter) String() string
- func (this *ChatEventFilter) Validate() error
- type ChatEventFilterQuery
- func (*ChatEventFilterQuery) Descriptor() ([]byte, []int)deprecated
- func (x *ChatEventFilterQuery) GetEventType() string
- func (x *ChatEventFilterQuery) GetMessageAuthor() string
- func (x *ChatEventFilterQuery) GetMessageRegexp() string
- func (x *ChatEventFilterQuery) GetRoomLabelRegexp() string
- func (x *ChatEventFilterQuery) GetRoomType() chat.RoomType
- func (x *ChatEventFilterQuery) GetRoomTypeObject() string
- func (x *ChatEventFilterQuery) GetRoomUuid() string
- func (*ChatEventFilterQuery) ProtoMessage()
- func (x *ChatEventFilterQuery) ProtoReflect() protoreflect.Message
- func (x *ChatEventFilterQuery) Reset()
- func (x *ChatEventFilterQuery) String() string
- func (this *ChatEventFilterQuery) Validate() error
- type Command
- type ContextMetaFilter
- func (*ContextMetaFilter) Descriptor() ([]byte, []int)deprecated
- func (m *ContextMetaFilter) Filter(ctx context.Context, input *ActionMessage) (*ActionMessage, *ActionMessage, bool)
- func (m *ContextMetaFilter) FilterID() string
- func (x *ContextMetaFilter) GetDescription() string
- func (x *ContextMetaFilter) GetLabel() string
- func (x *ContextMetaFilter) GetQuery() *service.Query
- func (x *ContextMetaFilter) GetType() ContextMetaFilterType
- func (*ContextMetaFilter) ProtoMessage()
- func (x *ContextMetaFilter) ProtoReflect() protoreflect.Message
- func (x *ContextMetaFilter) Reset()
- func (x *ContextMetaFilter) String() string
- func (this *ContextMetaFilter) Validate() error
- type ContextMetaFilterType
- func (ContextMetaFilterType) Descriptor() protoreflect.EnumDescriptor
- func (x ContextMetaFilterType) Enum() *ContextMetaFilterType
- func (ContextMetaFilterType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContextMetaFilterType) Number() protoreflect.EnumNumber
- func (x ContextMetaFilterType) String() string
- func (ContextMetaFilterType) Type() protoreflect.EnumType
- type ContextMetaSingleQuery
- func (*ContextMetaSingleQuery) Descriptor() ([]byte, []int)deprecated
- func (x *ContextMetaSingleQuery) GetCondition() *idm.PolicyCondition
- func (x *ContextMetaSingleQuery) GetFieldName() string
- func (*ContextMetaSingleQuery) ProtoMessage()
- func (x *ContextMetaSingleQuery) ProtoReflect() protoreflect.Message
- func (x *ContextMetaSingleQuery) Reset()
- func (x *ContextMetaSingleQuery) String() string
- func (this *ContextMetaSingleQuery) Validate() error
- type CtrlCommand
- func (*CtrlCommand) Descriptor() ([]byte, []int)deprecated
- func (x *CtrlCommand) GetCmd() Command
- func (x *CtrlCommand) GetJobId() string
- func (x *CtrlCommand) GetOwnerId() string
- func (x *CtrlCommand) GetRunParameters() map[string]string
- func (x *CtrlCommand) GetTaskId() string
- func (*CtrlCommand) ProtoMessage()
- func (x *CtrlCommand) ProtoReflect() protoreflect.Message
- func (x *CtrlCommand) Reset()
- func (x *CtrlCommand) String() string
- func (this *CtrlCommand) Validate() error
- type CtrlCommandResponse
- func (*CtrlCommandResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CtrlCommandResponse) GetMsg() string
- func (*CtrlCommandResponse) ProtoMessage()
- func (x *CtrlCommandResponse) ProtoReflect() protoreflect.Message
- func (x *CtrlCommandResponse) Reset()
- func (x *CtrlCommandResponse) String() string
- func (this *CtrlCommandResponse) Validate() error
- type DataSelector
- func (x *DataSelector) ApplyClearInput(msg *ActionMessage) *ActionMessage
- func (*DataSelector) Descriptor() ([]byte, []int)deprecated
- func (x *DataSelector) GetClearInput() bool
- func (x *DataSelector) GetCollect() bool
- func (x *DataSelector) GetDescription() string
- func (x *DataSelector) GetFanOutInput() bool
- func (x *DataSelector) GetLabel() string
- func (x *DataSelector) GetQuery() *service.Query
- func (x *DataSelector) GetTimeout() string
- func (x *DataSelector) MultipleSelection() bool
- func (x *DataSelector) PreParseJsonPath(jp string) (input, jsonBody, vars bool, expectedVars []string)
- func (*DataSelector) ProtoMessage()
- func (x *DataSelector) ProtoReflect() protoreflect.Message
- func (x *DataSelector) Reset()
- func (x *DataSelector) Select(ctx context.Context, input *ActionMessage, objects chan interface{}, ...) error
- func (x *DataSelector) SelectorID() string
- func (x *DataSelector) SelectorLabel() string
- func (x *DataSelector) String() string
- func (this *DataSelector) Validate() error
- type DataSelectorSingleQuery
- func (*DataSelectorSingleQuery) Descriptor() ([]byte, []int)deprecated
- func (x *DataSelectorSingleQuery) GetJsonPath() string
- func (*DataSelectorSingleQuery) ProtoMessage()
- func (x *DataSelectorSingleQuery) ProtoReflect() protoreflect.Message
- func (x *DataSelectorSingleQuery) Reset()
- func (x *DataSelectorSingleQuery) String() string
- func (this *DataSelectorSingleQuery) Validate() error
- type DataSourceSelector
- func (m *DataSourceSelector) ApplyClearInput(msg *ActionMessage) *ActionMessage
- func (*DataSourceSelector) Descriptor() ([]byte, []int)deprecated
- func (m *DataSourceSelector) Filter(ctx context.Context, input *ActionMessage) (*ActionMessage, *ActionMessage, bool)
- func (m *DataSourceSelector) FilterID() string
- func (x *DataSourceSelector) GetAll() bool
- func (x *DataSourceSelector) GetClearInput() bool
- func (x *DataSourceSelector) GetCollect() bool
- func (x *DataSourceSelector) GetDescription() string
- func (x *DataSourceSelector) GetFanOutInput() bool
- func (x *DataSourceSelector) GetLabel() string
- func (x *DataSourceSelector) GetQuery() *service.Query
- func (x *DataSourceSelector) GetTimeout() string
- func (x *DataSourceSelector) GetType() DataSourceSelectorType
- func (m *DataSourceSelector) MultipleSelection() bool
- func (*DataSourceSelector) ProtoMessage()
- func (x *DataSourceSelector) ProtoReflect() protoreflect.Message
- func (x *DataSourceSelector) Reset()
- func (m *DataSourceSelector) Select(ctx context.Context, input *ActionMessage, objects chan interface{}, ...) error
- func (m *DataSourceSelector) SelectorID() string
- func (m *DataSourceSelector) SelectorLabel() string
- func (x *DataSourceSelector) String() string
- func (this *DataSourceSelector) Validate() error
- type DataSourceSelectorType
- func (DataSourceSelectorType) Descriptor() protoreflect.EnumDescriptor
- func (x DataSourceSelectorType) Enum() *DataSourceSelectorType
- func (DataSourceSelectorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DataSourceSelectorType) Number() protoreflect.EnumNumber
- func (x DataSourceSelectorType) String() string
- func (DataSourceSelectorType) Type() protoreflect.EnumType
- type DefaultJob
- type DeleteJobRequest
- func (*DeleteJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteJobRequest) GetCleanableJobs() bool
- func (x *DeleteJobRequest) GetJobID() string
- func (*DeleteJobRequest) ProtoMessage()
- func (x *DeleteJobRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteJobRequest) Reset()
- func (x *DeleteJobRequest) String() string
- func (this *DeleteJobRequest) Validate() error
- type DeleteJobResponse
- func (*DeleteJobResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteJobResponse) GetDeleteCount() int32
- func (x *DeleteJobResponse) GetSuccess() bool
- func (*DeleteJobResponse) ProtoMessage()
- func (x *DeleteJobResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteJobResponse) Reset()
- func (x *DeleteJobResponse) String() string
- func (this *DeleteJobResponse) Validate() error
- type DeleteTasksRequest
- func (*DeleteTasksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTasksRequest) GetJobId() string
- func (x *DeleteTasksRequest) GetPruneLimit() int32
- func (x *DeleteTasksRequest) GetStatus() []TaskStatus
- func (x *DeleteTasksRequest) GetTaskID() []string
- func (*DeleteTasksRequest) ProtoMessage()
- func (x *DeleteTasksRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTasksRequest) Reset()
- func (x *DeleteTasksRequest) String() string
- func (this *DeleteTasksRequest) Validate() error
- type DeleteTasksResponse
- func (*DeleteTasksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTasksResponse) GetDeleted() []string
- func (*DeleteTasksResponse) ProtoMessage()
- func (x *DeleteTasksResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteTasksResponse) Reset()
- func (x *DeleteTasksResponse) String() string
- func (this *DeleteTasksResponse) Validate() error
- type DetectStuckTasksRequest
- func (*DetectStuckTasksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DetectStuckTasksRequest) GetSince() int32
- func (*DetectStuckTasksRequest) ProtoMessage()
- func (x *DetectStuckTasksRequest) ProtoReflect() protoreflect.Message
- func (x *DetectStuckTasksRequest) Reset()
- func (x *DetectStuckTasksRequest) String() string
- func (this *DetectStuckTasksRequest) Validate() error
- type DetectStuckTasksResponse
- func (*DetectStuckTasksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DetectStuckTasksResponse) GetFixedTaskIds() []string
- func (*DetectStuckTasksResponse) ProtoMessage()
- func (x *DetectStuckTasksResponse) ProtoReflect() protoreflect.Message
- func (x *DetectStuckTasksResponse) Reset()
- func (x *DetectStuckTasksResponse) String() string
- func (this *DetectStuckTasksResponse) Validate() error
- type FieldEvaluator
- type FreeStringEvaluator
- type GetJobRequest
- func (*GetJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetJobRequest) GetJobID() string
- func (x *GetJobRequest) GetLoadTasks() TaskStatus
- func (*GetJobRequest) ProtoMessage()
- func (x *GetJobRequest) ProtoReflect() protoreflect.Message
- func (x *GetJobRequest) Reset()
- func (x *GetJobRequest) String() string
- func (this *GetJobRequest) Validate() error
- type GetJobResponse
- func (*GetJobResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetJobResponse) GetJob() *Job
- func (*GetJobResponse) ProtoMessage()
- func (x *GetJobResponse) ProtoReflect() protoreflect.Message
- func (x *GetJobResponse) Reset()
- func (x *GetJobResponse) String() string
- func (this *GetJobResponse) Validate() error
- type IdmSelector
- func (m *IdmSelector) ApplyClearInput(msg *ActionMessage) *ActionMessage
- func (*IdmSelector) Descriptor() ([]byte, []int)deprecated
- func (m *IdmSelector) Filter(ctx context.Context, input *ActionMessage) (*ActionMessage, *ActionMessage, bool)
- func (m *IdmSelector) FilterID() string
- func (x *IdmSelector) GetAll() bool
- func (x *IdmSelector) GetClearInput() bool
- func (x *IdmSelector) GetCollect() bool
- func (x *IdmSelector) GetDescription() string
- func (x *IdmSelector) GetFanOutInput() bool
- func (x *IdmSelector) GetLabel() string
- func (x *IdmSelector) GetQuery() *service.Query
- func (x *IdmSelector) GetRange() *SelectorRange
- func (x *IdmSelector) GetTimeout() string
- func (x *IdmSelector) GetType() IdmSelectorType
- func (m *IdmSelector) MultipleSelection() bool
- func (*IdmSelector) ProtoMessage()
- func (x *IdmSelector) ProtoReflect() protoreflect.Message
- func (x *IdmSelector) Reset()
- func (m *IdmSelector) Select(ctx context.Context, input *ActionMessage, objects chan interface{}, ...) error
- func (m *IdmSelector) SelectorID() string
- func (m *IdmSelector) SelectorLabel() string
- func (x *IdmSelector) String() string
- func (this *IdmSelector) Validate() error
- func (m *IdmSelector) WorkspaceFromEventContext(ctx context.Context) (*idm.Workspace, bool)
- type IdmSelectorType
- func (IdmSelectorType) Descriptor() protoreflect.EnumDescriptor
- func (x IdmSelectorType) Enum() *IdmSelectorType
- func (IdmSelectorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x IdmSelectorType) Number() protoreflect.EnumNumber
- func (x IdmSelectorType) String() string
- func (IdmSelectorType) Type() protoreflect.EnumType
- type InputFilter
- type InputSelector
- type JSONPathSelectorFunc
- type Job
- func (*Job) Descriptor() ([]byte, []int)deprecated
- func (x *Job) GetActions() []*Action
- func (x *Job) GetAutoClean() bool
- func (x *Job) GetAutoRestart() bool
- func (x *Job) GetAutoStart() bool
- func (x *Job) GetChatEventFilter() *ChatEventFilter
- func (x *Job) GetContextMetaFilter() *ContextMetaFilter
- func (x *Job) GetCreatedAt() int32
- func (x *Job) GetCustom() bool
- func (x *Job) GetDataSourceFilter() *DataSourceSelector
- func (x *Job) GetEventNames() []string
- func (x *Job) GetHooks() []*JobHook
- func (x *Job) GetID() string
- func (x *Job) GetIdmFilter() *IdmSelector
- func (x *Job) GetInactive() bool
- func (x *Job) GetLabel() string
- func (x *Job) GetLanguages() []string
- func (x *Job) GetMaxConcurrency() int32
- func (x *Job) GetMergeAction() *Action
- func (x *Job) GetMetadata() map[string]string
- func (x *Job) GetModifiedAt() int32
- func (x *Job) GetNodeEventFilter() *NodesSelector
- func (x *Job) GetOwner() string
- func (x *Job) GetParameters() []*JobParameter
- func (x *Job) GetResourcesDependencies() []*anypb.Any
- func (x *Job) GetSchedule() *Schedule
- func (x *Job) GetTasks() []*Task
- func (x *Job) GetTasksSilentUpdate() bool
- func (x *Job) GetTimeout() string
- func (x *Job) GetUserEventFilter() *UsersSelector
- func (x *Job) GetVersionMeta() map[string]string
- func (job *Job) MarshalLogObject(encoder zapcore.ObjectEncoder) error
- func (*Job) ProtoMessage()
- func (x *Job) ProtoReflect() protoreflect.Message
- func (x *Job) Reset()
- func (x *Job) String() string
- func (this *Job) Validate() error
- func (job *Job) Zap() zapcore.Field
- func (job *Job) ZapId() zapcore.Field
- type JobChangeEvent
- func (*JobChangeEvent) Descriptor() ([]byte, []int)deprecated
- func (x *JobChangeEvent) GetJobRemoved() string
- func (x *JobChangeEvent) GetJobUpdated() *Job
- func (*JobChangeEvent) ProtoMessage()
- func (x *JobChangeEvent) ProtoReflect() protoreflect.Message
- func (x *JobChangeEvent) Reset()
- func (x *JobChangeEvent) String() string
- func (this *JobChangeEvent) Validate() error
- type JobHook
- func (*JobHook) Descriptor() ([]byte, []int)deprecated
- func (x *JobHook) GetAllowOverridePresets() bool
- func (x *JobHook) GetApiSlug() string
- func (x *JobHook) GetMetadata() map[string]string
- func (x *JobHook) GetPolicies() []*service.ResourcePolicy
- func (x *JobHook) GetPresetParameters() map[string]string
- func (*JobHook) ProtoMessage()
- func (x *JobHook) ProtoReflect() protoreflect.Message
- func (x *JobHook) Reset()
- func (x *JobHook) String() string
- func (this *JobHook) Validate() error
- type JobParameter
- func (*JobParameter) Descriptor() ([]byte, []int)deprecated
- func (x *JobParameter) GetDescription() string
- func (x *JobParameter) GetJsonChoices() string
- func (x *JobParameter) GetMandatory() bool
- func (x *JobParameter) GetName() string
- func (x *JobParameter) GetType() string
- func (x *JobParameter) GetValue() string
- func (*JobParameter) ProtoMessage()
- func (x *JobParameter) ProtoReflect() protoreflect.Message
- func (x *JobParameter) Reset()
- func (x *JobParameter) String() string
- func (this *JobParameter) Validate() error
- type JobServiceClient
- type JobServiceEnhancedServer
- func (m JobServiceEnhancedServer) DeleteJob(ctx context.Context, r *DeleteJobRequest) (*DeleteJobResponse, error)
- func (m JobServiceEnhancedServer) DeleteTasks(ctx context.Context, r *DeleteTasksRequest) (*DeleteTasksResponse, error)
- func (m JobServiceEnhancedServer) DetectStuckTasks(ctx context.Context, r *DetectStuckTasksRequest) (*DetectStuckTasksResponse, error)
- func (m JobServiceEnhancedServer) GetJob(ctx context.Context, r *GetJobRequest) (*GetJobResponse, error)
- func (m JobServiceEnhancedServer) ListJobs(r *ListJobsRequest, s JobService_ListJobsServer) error
- func (m JobServiceEnhancedServer) ListTasks(r *ListTasksRequest, s JobService_ListTasksServer) error
- func (m JobServiceEnhancedServer) PutJob(ctx context.Context, r *PutJobRequest) (*PutJobResponse, error)
- func (m JobServiceEnhancedServer) PutTask(ctx context.Context, r *PutTaskRequest) (*PutTaskResponse, error)
- func (m JobServiceEnhancedServer) PutTaskStream(s JobService_PutTaskStreamServer) error
- type JobServiceServer
- type JobService_ListJobsClient
- type JobService_ListJobsServer
- type JobService_ListTasksClient
- type JobService_ListTasksServer
- type JobService_PutTaskStreamClient
- type JobService_PutTaskStreamServer
- type JobTriggerEvent
- func (*JobTriggerEvent) Descriptor() ([]byte, []int)deprecated
- func (x *JobTriggerEvent) GetHookSlug() string
- func (x *JobTriggerEvent) GetJobID() string
- func (x *JobTriggerEvent) GetRunNow() bool
- func (x *JobTriggerEvent) GetRunParameters() map[string]string
- func (x *JobTriggerEvent) GetRunTaskId() string
- func (x *JobTriggerEvent) GetSchedule() *Schedule
- func (x *JobTriggerEvent) GetTriggerMessage() *ActionMessage
- func (*JobTriggerEvent) ProtoMessage()
- func (x *JobTriggerEvent) ProtoReflect() protoreflect.Message
- func (x *JobTriggerEvent) Reset()
- func (x *JobTriggerEvent) String() string
- func (this *JobTriggerEvent) Validate() error
- type JsonChunk
- type ListJobsRequest
- func (*ListJobsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListJobsRequest) GetEventsOnly() bool
- func (x *ListJobsRequest) GetJobIDs() []string
- func (x *ListJobsRequest) GetLoadTasks() TaskStatus
- func (x *ListJobsRequest) GetOwner() string
- func (x *ListJobsRequest) GetTasksLimit() int32
- func (x *ListJobsRequest) GetTasksOffset() int32
- func (x *ListJobsRequest) GetTimersOnly() bool
- func (*ListJobsRequest) ProtoMessage()
- func (x *ListJobsRequest) ProtoReflect() protoreflect.Message
- func (x *ListJobsRequest) Reset()
- func (x *ListJobsRequest) String() string
- func (this *ListJobsRequest) Validate() error
- type ListJobsResponse
- func (*ListJobsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListJobsResponse) GetJob() *Job
- func (*ListJobsResponse) ProtoMessage()
- func (x *ListJobsResponse) ProtoReflect() protoreflect.Message
- func (x *ListJobsResponse) Reset()
- func (x *ListJobsResponse) String() string
- func (this *ListJobsResponse) Validate() error
- type ListTasksRequest
- func (*ListTasksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTasksRequest) GetJobID() string
- func (x *ListTasksRequest) GetStatus() TaskStatus
- func (*ListTasksRequest) ProtoMessage()
- func (x *ListTasksRequest) ProtoReflect() protoreflect.Message
- func (x *ListTasksRequest) Reset()
- func (x *ListTasksRequest) String() string
- func (this *ListTasksRequest) Validate() error
- type ListTasksResponse
- func (*ListTasksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTasksResponse) GetTask() *Task
- func (*ListTasksResponse) ProtoMessage()
- func (x *ListTasksResponse) ProtoReflect() protoreflect.Message
- func (x *ListTasksResponse) Reset()
- func (x *ListTasksResponse) String() string
- func (this *ListTasksResponse) Validate() error
- type MessageMatcher
- type NamedJobServiceServer
- type NamedTaskServiceServer
- type NodeMatcher
- type NodesSelector
- func (n *NodesSelector) ApplyClearInput(msg *ActionMessage) *ActionMessage
- func (*NodesSelector) Descriptor() ([]byte, []int)deprecated
- func (n *NodesSelector) Filter(ctx context.Context, input *ActionMessage) (*ActionMessage, *ActionMessage, bool)
- func (n *NodesSelector) FilterID() string
- func (x *NodesSelector) GetAll() bool
- func (x *NodesSelector) GetClearInput() bool
- func (x *NodesSelector) GetCollect() bool
- func (x *NodesSelector) GetDescription() string
- func (x *NodesSelector) GetFanOutInput() bool
- func (x *NodesSelector) GetLabel() string
- func (x *NodesSelector) GetPathes() []string
- func (x *NodesSelector) GetQuery() *service.Query
- func (x *NodesSelector) GetRange() *SelectorRange
- func (x *NodesSelector) GetTimeout() string
- func (n *NodesSelector) MultipleSelection() bool
- func (*NodesSelector) ProtoMessage()
- func (x *NodesSelector) ProtoReflect() protoreflect.Message
- func (x *NodesSelector) Reset()
- func (n *NodesSelector) Select(ctx context.Context, input *ActionMessage, objects chan interface{}, ...) error
- func (n *NodesSelector) SelectorID() string
- func (n *NodesSelector) SelectorLabel() string
- func (x *NodesSelector) String() string
- func (this *NodesSelector) Validate() error
- type PutJobRequest
- func (*PutJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutJobRequest) GetJob() *Job
- func (*PutJobRequest) ProtoMessage()
- func (x *PutJobRequest) ProtoReflect() protoreflect.Message
- func (x *PutJobRequest) Reset()
- func (x *PutJobRequest) String() string
- func (this *PutJobRequest) Validate() error
- type PutJobResponse
- func (*PutJobResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PutJobResponse) GetJob() *Job
- func (*PutJobResponse) ProtoMessage()
- func (x *PutJobResponse) ProtoReflect() protoreflect.Message
- func (x *PutJobResponse) Reset()
- func (x *PutJobResponse) String() string
- func (this *PutJobResponse) Validate() error
- type PutTaskRequest
- func (*PutTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutTaskRequest) GetStatusMeta() map[string]string
- func (x *PutTaskRequest) GetTask() *Task
- func (*PutTaskRequest) ProtoMessage()
- func (x *PutTaskRequest) ProtoReflect() protoreflect.Message
- func (x *PutTaskRequest) Reset()
- func (x *PutTaskRequest) String() string
- func (this *PutTaskRequest) Validate() error
- type PutTaskResponse
- func (*PutTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PutTaskResponse) GetTask() *Task
- func (*PutTaskResponse) ProtoMessage()
- func (x *PutTaskResponse) ProtoReflect() protoreflect.Message
- func (x *PutTaskResponse) Reset()
- func (x *PutTaskResponse) String() string
- func (this *PutTaskResponse) Validate() error
- type RunParametersComputerFunc
- type Schedule
- func (*Schedule) Descriptor() ([]byte, []int)deprecated
- func (x *Schedule) GetIso8601MinDelta() string
- func (x *Schedule) GetIso8601Schedule() string
- func (*Schedule) ProtoMessage()
- func (x *Schedule) ProtoReflect() protoreflect.Message
- func (x *Schedule) Reset()
- func (x *Schedule) String() string
- func (this *Schedule) Validate() error
- type SelectorRange
- func (*SelectorRange) Descriptor() ([]byte, []int)deprecated
- func (x *SelectorRange) GetLimit() string
- func (x *SelectorRange) GetOffset() string
- func (x *SelectorRange) GetOrderBy() string
- func (x *SelectorRange) GetOrderDir() string
- func (*SelectorRange) ProtoMessage()
- func (x *SelectorRange) ProtoReflect() protoreflect.Message
- func (x *SelectorRange) Reset()
- func (x *SelectorRange) String() string
- func (this *SelectorRange) Validate() error
- type Task
- func (*Task) Descriptor() ([]byte, []int)deprecated
- func (x *Task) GetActionsLogs() []*ActionLog
- func (x *Task) GetCanPause() bool
- func (x *Task) GetCanStop() bool
- func (task *Task) GetCtxOperationID() string
- func (x *Task) GetEndTime() int32
- func (x *Task) GetHasProgress() bool
- func (x *Task) GetID() string
- func (x *Task) GetJobID() string
- func (x *Task) GetProgress() float32
- func (x *Task) GetStartTime() int32
- func (x *Task) GetStatus() TaskStatus
- func (x *Task) GetStatusMessage() string
- func (x *Task) GetTriggerOwner() string
- func (task *Task) MarshalLogObject(encoder zapcore.ObjectEncoder) error
- func (*Task) ProtoMessage()
- func (x *Task) ProtoReflect() protoreflect.Message
- func (x *Task) Reset()
- func (x *Task) String() string
- func (this *Task) Validate() error
- func (task *Task) Zap() zapcore.Field
- func (task *Task) ZapId() zapcore.Field
- type TaskChangeEvent
- func (*TaskChangeEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TaskChangeEvent) GetJob() *Job
- func (x *TaskChangeEvent) GetNanoStamp() int64
- func (x *TaskChangeEvent) GetStatusMeta() map[string]string
- func (x *TaskChangeEvent) GetTaskUpdated() *Task
- func (*TaskChangeEvent) ProtoMessage()
- func (x *TaskChangeEvent) ProtoReflect() protoreflect.Message
- func (x *TaskChangeEvent) Reset()
- func (x *TaskChangeEvent) String() string
- func (this *TaskChangeEvent) Validate() error
- type TaskServiceClient
- type TaskServiceEnhancedServer
- type TaskServiceServer
- type TaskStatus
- type TriggerFilter
- func (*TriggerFilter) Descriptor() ([]byte, []int)deprecated
- func (m *TriggerFilter) Filter(ctx context.Context, input *ActionMessage) (*ActionMessage, *ActionMessage, bool)
- func (m *TriggerFilter) FilterID() string
- func (x *TriggerFilter) GetDescription() string
- func (x *TriggerFilter) GetLabel() string
- func (x *TriggerFilter) GetQuery() *service.Query
- func (*TriggerFilter) ProtoMessage()
- func (x *TriggerFilter) ProtoReflect() protoreflect.Message
- func (x *TriggerFilter) Reset()
- func (x *TriggerFilter) String() string
- func (this *TriggerFilter) Validate() error
- type TriggerFilterQuery
- func (*TriggerFilterQuery) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerFilterQuery) GetApiHookSlug() string
- func (x *TriggerFilterQuery) GetEventNames() []string
- func (x *TriggerFilterQuery) GetIsApiHook() bool
- func (x *TriggerFilterQuery) GetIsManual() bool
- func (x *TriggerFilterQuery) GetIsSchedule() bool
- func (x *TriggerFilterQuery) GetRunParameterName() string
- func (x *TriggerFilterQuery) GetRunParameterValue() string
- func (*TriggerFilterQuery) ProtoMessage()
- func (x *TriggerFilterQuery) ProtoReflect() protoreflect.Message
- func (x *TriggerFilterQuery) Reset()
- func (x *TriggerFilterQuery) String() string
- func (this *TriggerFilterQuery) Validate() error
- type UnimplementedJobServiceServer
- func (UnimplementedJobServiceServer) DeleteJob(context.Context, *DeleteJobRequest) (*DeleteJobResponse, error)
- func (UnimplementedJobServiceServer) DeleteTasks(context.Context, *DeleteTasksRequest) (*DeleteTasksResponse, error)
- func (UnimplementedJobServiceServer) DetectStuckTasks(context.Context, *DetectStuckTasksRequest) (*DetectStuckTasksResponse, error)
- func (UnimplementedJobServiceServer) GetJob(context.Context, *GetJobRequest) (*GetJobResponse, error)
- func (UnimplementedJobServiceServer) ListJobs(*ListJobsRequest, JobService_ListJobsServer) error
- func (UnimplementedJobServiceServer) ListTasks(*ListTasksRequest, JobService_ListTasksServer) error
- func (UnimplementedJobServiceServer) PutJob(context.Context, *PutJobRequest) (*PutJobResponse, error)
- func (UnimplementedJobServiceServer) PutTask(context.Context, *PutTaskRequest) (*PutTaskResponse, error)
- func (UnimplementedJobServiceServer) PutTaskStream(JobService_PutTaskStreamServer) error
- type UnimplementedTaskServiceServer
- type UnsafeJobServiceServer
- type UnsafeTaskServiceServer
- type UsersSelector
- func (m *UsersSelector) ApplyClearInput(msg *ActionMessage) *ActionMessage
- func (*UsersSelector) Descriptor() ([]byte, []int)deprecated
- func (n *UsersSelector) Filter(ctx context.Context, input *ActionMessage) (*ActionMessage, bool)
- func (x *UsersSelector) GetAll() bool
- func (x *UsersSelector) GetClearInput() bool
- func (x *UsersSelector) GetCollect() bool
- func (x *UsersSelector) GetDescription() string
- func (x *UsersSelector) GetLabel() string
- func (x *UsersSelector) GetQuery() *service.Query
- func (x *UsersSelector) GetTimeout() string
- func (x *UsersSelector) GetUsers() []*idm.User
- func (m *UsersSelector) MultipleSelection() bool
- func (*UsersSelector) ProtoMessage()
- func (x *UsersSelector) ProtoReflect() protoreflect.Message
- func (x *UsersSelector) Reset()
- func (m *UsersSelector) Select(ctx context.Context, input *ActionMessage, objects chan interface{}, ...) error
- func (m *UsersSelector) SelectorID() string
- func (m *UsersSelector) SelectorLabel() string
- func (x *UsersSelector) String() string
- func (this *UsersSelector) Validate() error
Constants ¶
const (
IndexedContextKey = "chainIndex"
)
Variables ¶
var ( IdmSelectorType_name = map[int32]string{ 0: "User", 1: "Role", 2: "Workspace", 3: "Acl", } IdmSelectorType_value = map[string]int32{ "User": 0, "Role": 1, "Workspace": 2, "Acl": 3, } )
Enum value maps for IdmSelectorType.
var ( DataSourceSelectorType_name = map[int32]string{ 0: "DataSource", 1: "Object", } DataSourceSelectorType_value = map[string]int32{ "DataSource": 0, "Object": 1, } )
Enum value maps for DataSourceSelectorType.
var ( ContextMetaFilterType_name = map[int32]string{ 0: "RequestMeta", 1: "ContextUser", } ContextMetaFilterType_value = map[string]int32{ "RequestMeta": 0, "ContextUser": 1, } )
Enum value maps for ContextMetaFilterType.
var ( TaskStatus_name = map[int32]string{ 0: "Unknown", 1: "Idle", 2: "Running", 3: "Finished", 4: "Interrupted", 5: "Paused", 6: "Any", 7: "Error", 8: "Queued", } TaskStatus_value = map[string]int32{ "Unknown": 0, "Idle": 1, "Running": 2, "Finished": 3, "Interrupted": 4, "Paused": 5, "Any": 6, "Error": 7, "Queued": 8, } )
Enum value maps for TaskStatus.
var ( Command_name = map[int32]string{ 0: "None", 1: "Pause", 2: "Resume", 3: "Stop", 4: "Delete", 5: "RunOnce", 6: "Inactive", 7: "Active", } Command_value = map[string]int32{ "None": 0, "Pause": 1, "Resume": 2, "Stop": 3, "Delete": 4, "RunOnce": 5, "Inactive": 6, "Active": 7, } )
Enum value maps for Command.
var File_cells_jobs_proto protoreflect.FileDescriptor
var JobService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "jobs.JobService", HandlerType: (*JobServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PutJob", Handler: _JobService_PutJob_Handler, }, { MethodName: "GetJob", Handler: _JobService_GetJob_Handler, }, { MethodName: "DeleteJob", Handler: _JobService_DeleteJob_Handler, }, { MethodName: "PutTask", Handler: _JobService_PutTask_Handler, }, { MethodName: "DeleteTasks", Handler: _JobService_DeleteTasks_Handler, }, { MethodName: "DetectStuckTasks", Handler: _JobService_DetectStuckTasks_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ListJobs", Handler: _JobService_ListJobs_Handler, ServerStreams: true, }, { StreamName: "PutTaskStream", Handler: _JobService_PutTaskStream_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "ListTasks", Handler: _JobService_ListTasks_Handler, ServerStreams: true, }, }, Metadata: "cells-jobs.proto", }
JobService_ServiceDesc is the grpc.ServiceDesc for JobService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TaskService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "jobs.TaskService", HandlerType: (*TaskServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Control", Handler: _TaskService_Control_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cells-jobs.proto", }
TaskService_ServiceDesc is the grpc.ServiceDesc for TaskService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func ChatEventName ¶ added in v4.4.0
ChatEventName computes a string identifier to identify corresponding chat.ChatEvent
func DefaultRunParametersComputer ¶ added in v4.4.0
func DeregisterJobServiceEnhancedServer ¶
func DeregisterJobServiceEnhancedServer(s grpc.ServiceRegistrar, name string)
func DeregisterTaskServiceEnhancedServer ¶
func DeregisterTaskServiceEnhancedServer(s grpc.ServiceRegistrar, name string)
func EvaluateFieldBool ¶
func EvaluateFieldInt ¶
func EvaluateFieldInt64 ¶
func EvaluateFieldStr ¶
func EvaluateFieldStr(ctx context.Context, input *ActionMessage, value string) string
EvaluateFieldStr goes through all registered evaluators to modify string value on the fly
func EvaluateFieldStrSlice ¶
func EvaluateFieldStrSlice(ctx context.Context, input *ActionMessage, values []string) []string
EvaluateFieldStrSlice goes through all registered evaluators to modify string value on the fly
func IdmChangeEventName ¶
func IdmChangeEventName(objectType IdmSelectorType, eventType idm.ChangeEventType) string
IdmChangeEventName builds a string representation for scheduler events for listening to a specific IDM event. For the moment ONLY USER EVENTS are supported
func MatchesChatEvent ¶ added in v4.4.0
MatchesChatEvent checks if an event matches the passed string name
func MatchesIdmChangeEvent ¶
func MatchesIdmChangeEvent(eventName string, event *idm.ChangeEvent) bool
MatchesIdmChangeEvent compares a string representation of scheduler trigger event with an actual idm.ChangeEvent - Only User Events are supported
func MustMarshalAny ¶
MustMarshalAny is an util function to avoid error check
func MustMarshalAnyMultiple ¶
MustMarshalAnyMultiple is an util function to avoid error check
func NodeChangeEventName ¶
func NodeChangeEventName(event tree.NodeChangeEvent_EventType) string
NodeChangeEventName builds a simple string from a given event type
func ParseNodeChangeEventName ¶
func ParseNodeChangeEventName(eventName string) (tree.NodeChangeEvent_EventType, bool)
ParseNodeChangeEventName parses the passed string and return the corresponding int32 code if it exists or (-1, false) otherwise
func RegisterDefault ¶ added in v4.2.3
RegisterDefault appends a job to the internal registry
func RegisterFieldEvaluator ¶
func RegisterFieldEvaluator(evaluator FieldEvaluator)
RegisterFieldEvaluator adds a new evaluator to internal registry
func RegisterJobServiceEnhancedServer ¶
func RegisterJobServiceEnhancedServer(s grpc.ServiceRegistrar, srv NamedJobServiceServer)
func RegisterJobServiceServer ¶
func RegisterJobServiceServer(s grpc.ServiceRegistrar, srv JobServiceServer)
func RegisterNodesFreeStringEvaluator ¶
func RegisterNodesFreeStringEvaluator(f FreeStringEvaluator)
func RegisterTaskServiceEnhancedServer ¶
func RegisterTaskServiceEnhancedServer(s grpc.ServiceRegistrar, srv NamedTaskServiceServer)
func RegisterTaskServiceServer ¶
func RegisterTaskServiceServer(s grpc.ServiceRegistrar, srv TaskServiceServer)
Types ¶
type Action ¶
type Action struct { // String Identifier for specific action ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` // User-defined label for this action Label string `protobuf:"bytes,13,opt,name=Label,proto3" json:"Label,omitempty"` // User-defined comment for this action Description string `protobuf:"bytes,14,opt,name=Description,proto3" json:"Description,omitempty"` // Bypass this action (forward input to output and do nothing) Bypass bool `protobuf:"varint,15,opt,name=Bypass,proto3" json:"Bypass,omitempty"` // Stop full chain now : do not carry on executing next actions BreakAfter bool `protobuf:"varint,16,opt,name=BreakAfter,proto3" json:"BreakAfter,omitempty"` // Optional timeout for this action Timeout string `protobuf:"bytes,20,opt,name=Timeout,proto3" json:"Timeout,omitempty"` // Nodes Selector NodesSelector *NodesSelector `protobuf:"bytes,2,opt,name=NodesSelector,proto3" json:"NodesSelector,omitempty"` // Node Filter NodesFilter *NodesSelector `protobuf:"bytes,4,opt,name=NodesFilter,proto3" json:"NodesFilter,omitempty"` // Users Selector (deprecated in favor of IdmSelector) UsersSelector *UsersSelector `protobuf:"bytes,3,opt,name=UsersSelector,proto3" json:"UsersSelector,omitempty"` // User Filter (deprecated in favor of IdmSelector) UsersFilter *UsersSelector `protobuf:"bytes,5,opt,name=UsersFilter,proto3" json:"UsersFilter,omitempty"` // Idm objects collector IdmSelector *IdmSelector `protobuf:"bytes,9,opt,name=IdmSelector,proto3" json:"IdmSelector,omitempty"` // Idm objects filter IdmFilter *IdmSelector `protobuf:"bytes,10,opt,name=IdmFilter,proto3" json:"IdmFilter,omitempty"` // DataSource objects collector DataSourceSelector *DataSourceSelector `protobuf:"bytes,17,opt,name=DataSourceSelector,proto3" json:"DataSourceSelector,omitempty"` // DataSource objects filter DataSourceFilter *DataSourceSelector `protobuf:"bytes,18,opt,name=DataSourceFilter,proto3" json:"DataSourceFilter,omitempty"` // Previous action output filter ActionOutputFilter *ActionOutputFilter `protobuf:"bytes,6,opt,name=ActionOutputFilter,proto3" json:"ActionOutputFilter,omitempty"` // Metadata policy-based filter ContextMetaFilter *ContextMetaFilter `protobuf:"bytes,11,opt,name=ContextMetaFilter,proto3" json:"ContextMetaFilter,omitempty"` // Filter on specific triggers TriggerFilter *TriggerFilter `protobuf:"bytes,19,opt,name=TriggerFilter,proto3" json:"TriggerFilter,omitempty"` // Collect/select values from JsonBody DataSelector *DataSelector `protobuf:"bytes,22,opt,name=DataSelector,proto3" json:"DataSelector,omitempty"` // Filter values from JsonBody DataFilter *DataSelector `protobuf:"bytes,23,opt,name=DataFilter,proto3" json:"DataFilter,omitempty"` // Filter values from ChatEvent ChatEventFilter *ChatEventFilter `protobuf:"bytes,24,opt,name=ChatEventFilter,proto3" json:"ChatEventFilter,omitempty"` // Defined parameters for this action Parameters map[string]string `` /* 161-byte string literal not displayed */ // Other actions to perform after this one is finished, // using the Output of this action as Input for the next. // If there are many, it is considered they can be triggered // in parallel ChainedActions []*Action `protobuf:"bytes,8,rep,name=ChainedActions,proto3" json:"ChainedActions,omitempty"` // If any Filter is used, next actions can be triggered on Failure // This adds ability to create conditional Yes/No branches FailedFilterActions []*Action `protobuf:"bytes,12,rep,name=FailedFilterActions,proto3" json:"FailedFilterActions,omitempty"` // CollectAction adds starts another chain after the whole ChainedAction/FailedFilterActions have been performed MergeAction *Action `protobuf:"bytes,21,opt,name=MergeAction,proto3" json:"MergeAction,omitempty"` // contains filtered or unexported fields }
func (*Action) ApplyFilters ¶
func (a *Action) ApplyFilters(ctx context.Context, ff []InputFilter, input *ActionMessage) (output *ActionMessage, excluded *ActionMessage, passThrough bool)
func (*Action) BuildTaskActionPath ¶ added in v4.0.4
func (*Action) CollectSelector ¶
func (a *Action) CollectSelector(ctx context.Context, selector InputSelector, input *ActionMessage, output chan *ActionMessage, done chan bool, errors chan error)
func (*Action) Descriptor
deprecated
func (*Action) FanOutSelector ¶
func (a *Action) FanOutSelector(ctx context.Context, selector InputSelector, input *ActionMessage, output chan *ActionMessage, done chan bool, errors chan error)
func (*Action) FanToNext ¶
func (a *Action) FanToNext(ctx context.Context, index int, input *ActionMessage, output chan *ActionMessage, errors chan error, done chan bool)
func (*Action) GetActionOutputFilter ¶
func (x *Action) GetActionOutputFilter() *ActionOutputFilter
func (*Action) GetBreakAfter ¶
func (*Action) GetChainedActions ¶
func (*Action) GetChatEventFilter ¶ added in v4.4.0
func (x *Action) GetChatEventFilter() *ChatEventFilter
func (*Action) GetContextMetaFilter ¶
func (x *Action) GetContextMetaFilter() *ContextMetaFilter
func (*Action) GetDataFilter ¶ added in v4.3.1
func (x *Action) GetDataFilter() *DataSelector
func (*Action) GetDataSelector ¶ added in v4.3.1
func (x *Action) GetDataSelector() *DataSelector
func (*Action) GetDataSourceFilter ¶
func (x *Action) GetDataSourceFilter() *DataSourceSelector
func (*Action) GetDataSourceSelector ¶
func (x *Action) GetDataSourceSelector() *DataSourceSelector
func (*Action) GetDescription ¶
func (*Action) GetFailedFilterActions ¶
func (*Action) GetIdmFilter ¶
func (x *Action) GetIdmFilter() *IdmSelector
func (*Action) GetIdmSelector ¶
func (x *Action) GetIdmSelector() *IdmSelector
func (*Action) GetMergeAction ¶ added in v4.0.5
func (*Action) GetNodesFilter ¶
func (x *Action) GetNodesFilter() *NodesSelector
func (*Action) GetNodesSelector ¶
func (x *Action) GetNodesSelector() *NodesSelector
func (*Action) GetParameters ¶
func (*Action) GetTimeout ¶ added in v4.0.1
func (*Action) GetTriggerFilter ¶
func (x *Action) GetTriggerFilter() *TriggerFilter
func (*Action) GetUsersFilter ¶
func (x *Action) GetUsersFilter() *UsersSelector
func (*Action) GetUsersSelector ¶
func (x *Action) GetUsersSelector() *UsersSelector
func (*Action) HasSelectors ¶
func (*Action) MarshalLogObject ¶
func (a *Action) MarshalLogObject(encoder zapcore.ObjectEncoder) error
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) ProtoReflect ¶
func (x *Action) ProtoReflect() protoreflect.Message
func (*Action) ToMessages ¶
func (a *Action) ToMessages(startMessage *ActionMessage, ctx context.Context, output, failedFilter chan *ActionMessage, errors chan error, done chan bool)
type ActionLog ¶
type ActionLog struct { Action *Action `protobuf:"bytes,1,opt,name=Action,proto3" json:"Action,omitempty"` InputMessage *ActionMessage `protobuf:"bytes,2,opt,name=InputMessage,proto3" json:"InputMessage,omitempty"` OutputMessage *ActionMessage `protobuf:"bytes,3,opt,name=OutputMessage,proto3" json:"OutputMessage,omitempty"` // contains filtered or unexported fields }
func (*ActionLog) Descriptor
deprecated
func (*ActionLog) GetInputMessage ¶
func (x *ActionLog) GetInputMessage() *ActionMessage
func (*ActionLog) GetOutputMessage ¶
func (x *ActionLog) GetOutputMessage() *ActionMessage
func (*ActionLog) ProtoMessage ¶
func (*ActionLog) ProtoMessage()
func (*ActionLog) ProtoReflect ¶
func (x *ActionLog) ProtoReflect() protoreflect.Message
type ActionMessage ¶
type ActionMessage struct { // Initial event that triggered the Job Event *anypb.Any `protobuf:"bytes,1,opt,name=Event,proto3" json:"Event,omitempty"` // One or more Node Nodes []*tree.Node `protobuf:"bytes,2,rep,name=Nodes,proto3" json:"Nodes,omitempty"` // One or more User Users []*idm.User `protobuf:"bytes,3,rep,name=Users,proto3" json:"Users,omitempty"` // One or more Role Roles []*idm.Role `protobuf:"bytes,6,rep,name=Roles,proto3" json:"Roles,omitempty"` // One or more Workspace Workspaces []*idm.Workspace `protobuf:"bytes,7,rep,name=Workspaces,proto3" json:"Workspaces,omitempty"` // One or more ACL Acls []*idm.ACL `protobuf:"bytes,8,rep,name=Acls,proto3" json:"Acls,omitempty"` // One or more Activity Activities []*activity.Object `protobuf:"bytes,4,rep,name=Activities,proto3" json:"Activities,omitempty"` // One or more DataSource DataSources []*object.DataSource `protobuf:"bytes,9,rep,name=DataSources,proto3" json:"DataSources,omitempty"` // Stack of ActionOutput messages appended by all previous actions OutputChain []*ActionOutput `protobuf:"bytes,5,rep,name=OutputChain,proto3" json:"OutputChain,omitempty"` // contains filtered or unexported fields }
Message passed along from one action to another, main properties are modified by the various actions. OutputChain is being stacked up when passing through actions
func (*ActionMessage) AppendOutput ¶
func (a *ActionMessage) AppendOutput(output *ActionOutput)
func (*ActionMessage) AsRunError ¶ added in v4.3.1
func (a *ActionMessage) AsRunError(e error) (*ActionMessage, error)
AsRunError combines an input.WithError and the error itself
func (*ActionMessage) Clone ¶ added in v4.0.4
func (a *ActionMessage) Clone() *ActionMessage
func (*ActionMessage) Descriptor
deprecated
func (*ActionMessage) Descriptor() ([]byte, []int)
Deprecated: Use ActionMessage.ProtoReflect.Descriptor instead.
func (*ActionMessage) EventFromAny ¶ added in v4.0.4
func (a *ActionMessage) EventFromAny() (interface{}, error)
EventFromAny loads and unmarshal event from an anypb value
func (*ActionMessage) GetAcls ¶
func (x *ActionMessage) GetAcls() []*idm.ACL
func (*ActionMessage) GetActivities ¶
func (x *ActionMessage) GetActivities() []*activity.Object
func (*ActionMessage) GetDataSources ¶
func (x *ActionMessage) GetDataSources() []*object.DataSource
func (*ActionMessage) GetEvent ¶
func (x *ActionMessage) GetEvent() *anypb.Any
func (*ActionMessage) GetLastOutput ¶
func (a *ActionMessage) GetLastOutput() *ActionOutput
func (*ActionMessage) GetNodes ¶
func (x *ActionMessage) GetNodes() []*tree.Node
func (*ActionMessage) GetOutputChain ¶
func (x *ActionMessage) GetOutputChain() []*ActionOutput
func (*ActionMessage) GetOutputs ¶
func (a *ActionMessage) GetOutputs() []*ActionOutput
func (*ActionMessage) GetRoles ¶
func (x *ActionMessage) GetRoles() []*idm.Role
func (*ActionMessage) GetUsers ¶
func (x *ActionMessage) GetUsers() []*idm.User
func (*ActionMessage) GetWorkspaces ¶
func (x *ActionMessage) GetWorkspaces() []*idm.Workspace
func (*ActionMessage) MarshalLogObject ¶ added in v4.0.4
func (a *ActionMessage) MarshalLogObject(encoder zapcore.ObjectEncoder) error
func (*ActionMessage) ProtoMessage ¶
func (*ActionMessage) ProtoMessage()
func (*ActionMessage) ProtoReflect ¶
func (x *ActionMessage) ProtoReflect() protoreflect.Message
func (*ActionMessage) Reset ¶
func (x *ActionMessage) Reset()
func (*ActionMessage) ScanVar ¶ added in v4.2.0
func (a *ActionMessage) ScanVar(name string, output interface{}) error
func (*ActionMessage) StackedVars ¶ added in v4.0.5
func (a *ActionMessage) StackedVars(expected ...string) map[string]interface{}
func (*ActionMessage) StackedVarsKeys ¶ added in v4.3.3
func (a *ActionMessage) StackedVarsKeys() (keys []string)
func (*ActionMessage) String ¶
func (x *ActionMessage) String() string
func (*ActionMessage) Validate ¶
func (this *ActionMessage) Validate() error
func (*ActionMessage) WithAcl ¶
func (a *ActionMessage) WithAcl(acl *idm.ACL) *ActionMessage
func (*ActionMessage) WithAcls ¶
func (a *ActionMessage) WithAcls(aa ...*idm.ACL) *ActionMessage
func (*ActionMessage) WithDataSource ¶
func (a *ActionMessage) WithDataSource(ds *object.DataSource) *ActionMessage
func (*ActionMessage) WithDataSources ¶
func (a *ActionMessage) WithDataSources(ds ...*object.DataSource) *ActionMessage
func (*ActionMessage) WithError ¶
func (a *ActionMessage) WithError(e error) *ActionMessage
func (*ActionMessage) WithIgnore ¶
func (a *ActionMessage) WithIgnore() *ActionMessage
func (*ActionMessage) WithNode ¶
func (a *ActionMessage) WithNode(n *tree.Node) *ActionMessage
func (*ActionMessage) WithNodes ¶
func (a *ActionMessage) WithNodes(nodes ...*tree.Node) *ActionMessage
func (*ActionMessage) WithOutput ¶ added in v4.0.5
func (a *ActionMessage) WithOutput(output *ActionOutput) *ActionMessage
func (*ActionMessage) WithRole ¶
func (a *ActionMessage) WithRole(r *idm.Role) *ActionMessage
func (*ActionMessage) WithRoles ¶
func (a *ActionMessage) WithRoles(r ...*idm.Role) *ActionMessage
func (*ActionMessage) WithUser ¶
func (a *ActionMessage) WithUser(u *idm.User) *ActionMessage
func (*ActionMessage) WithUsers ¶
func (a *ActionMessage) WithUsers(users ...*idm.User) *ActionMessage
func (*ActionMessage) WithWorkspace ¶
func (a *ActionMessage) WithWorkspace(ws *idm.Workspace) *ActionMessage
func (*ActionMessage) WithWorkspaces ¶
func (a *ActionMessage) WithWorkspaces(ws ...*idm.Workspace) *ActionMessage
type ActionOutput ¶
type ActionOutput struct { // True if action succeeded Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"` // Arbitrary bytes sequence RawBody []byte `protobuf:"bytes,2,opt,name=RawBody,proto3" json:"RawBody,omitempty"` // Arbitrary string StringBody string `protobuf:"bytes,3,opt,name=StringBody,proto3" json:"StringBody,omitempty"` // Arbitrary JSON-encoded bytes JsonBody []byte `protobuf:"bytes,4,opt,name=JsonBody,proto3" json:"JsonBody,omitempty"` // Error ErrorString string `protobuf:"bytes,5,opt,name=ErrorString,proto3" json:"ErrorString,omitempty"` // If action was returned WithIgnore() Ignored bool `protobuf:"varint,6,opt,name=Ignored,proto3" json:"Ignored,omitempty"` // Time taken to run the action Time int32 `protobuf:"varint,7,opt,name=Time,proto3" json:"Time,omitempty"` // Vars container, values are json-encoded. Vars map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
Standard output of an action. Success value is required other are optional
func (*ActionOutput) Descriptor
deprecated
func (*ActionOutput) Descriptor() ([]byte, []int)
Deprecated: Use ActionOutput.ProtoReflect.Descriptor instead.
func (*ActionOutput) FillVars ¶ added in v4.0.5
func (m *ActionOutput) FillVars(vv map[string]interface{}, expected ...string)
FillVars append existing, json-decoded values to the input map
func (*ActionOutput) GetErrorString ¶
func (x *ActionOutput) GetErrorString() string
func (*ActionOutput) GetIgnored ¶
func (x *ActionOutput) GetIgnored() bool
func (*ActionOutput) GetJsonBody ¶
func (x *ActionOutput) GetJsonBody() []byte
func (*ActionOutput) GetRawBody ¶
func (x *ActionOutput) GetRawBody() []byte
func (*ActionOutput) GetStringBody ¶
func (x *ActionOutput) GetStringBody() string
func (*ActionOutput) GetSuccess ¶
func (x *ActionOutput) GetSuccess() bool
func (*ActionOutput) GetTime ¶
func (x *ActionOutput) GetTime() int32
func (*ActionOutput) GetVars ¶ added in v4.0.5
func (x *ActionOutput) GetVars() map[string]string
func (*ActionOutput) JsonAsValue ¶
func (m *ActionOutput) JsonAsValue() configx.Value
JsonAsValue loads JsonBody into a configx.Value type to ease golang templating
func (*ActionOutput) JsonAsValues ¶
func (m *ActionOutput) JsonAsValues() configx.Values
JsonAsValues loads JsonBody into a configx.Values type to ease golang templating
func (*ActionOutput) JsonObject ¶ added in v4.3.1
func (m *ActionOutput) JsonObject() (map[string]interface{}, error)
func (*ActionOutput) JsonSliceOfInterfaces ¶ added in v4.3.1
func (m *ActionOutput) JsonSliceOfInterfaces() ([]interface{}, error)
func (*ActionOutput) JsonSliceOfObjects ¶ added in v4.3.1
func (m *ActionOutput) JsonSliceOfObjects() ([]map[string]interface{}, error)
func (*ActionOutput) LogVarsWithLimit ¶ added in v4.3.3
func (m *ActionOutput) LogVarsWithLimit(vv map[string]interface{}, jsonSizeLimit int)
LogVarsWithLimit does the same as FillVars but does not json-decode values and truncate huge vars
func (*ActionOutput) MarshalLogObject ¶ added in v4.0.4
func (m *ActionOutput) MarshalLogObject(encoder zapcore.ObjectEncoder) error
MarshalLogObject implements zapcore Marshaler interface
func (*ActionOutput) ProtoMessage ¶
func (*ActionOutput) ProtoMessage()
func (*ActionOutput) ProtoReflect ¶
func (x *ActionOutput) ProtoReflect() protoreflect.Message
func (*ActionOutput) Reset ¶
func (x *ActionOutput) Reset()
func (*ActionOutput) SetVar ¶ added in v4.0.5
func (m *ActionOutput) SetVar(key string, value interface{})
SetVar json-encodes the value and store it in the Vars map
func (*ActionOutput) String ¶
func (x *ActionOutput) String() string
func (*ActionOutput) Validate ¶
func (this *ActionOutput) Validate() error
type ActionOutputFilter ¶
type ActionOutputFilter struct { // Query built from ActionOutputSingleQuery Query *service.Query `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"` // Selector custom label Label string `protobuf:"bytes,2,opt,name=Label,proto3" json:"Label,omitempty"` // Selector additional description Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"` // contains filtered or unexported fields }
ActionOutputFilter can be used to filter last message output
func (*ActionOutputFilter) Descriptor
deprecated
func (*ActionOutputFilter) Descriptor() ([]byte, []int)
Deprecated: Use ActionOutputFilter.ProtoReflect.Descriptor instead.
func (*ActionOutputFilter) Filter ¶
func (n *ActionOutputFilter) Filter(ctx context.Context, input *ActionMessage) (*ActionMessage, *ActionMessage, bool)
func (*ActionOutputFilter) FilterID ¶ added in v4.0.4
func (n *ActionOutputFilter) FilterID() string
func (*ActionOutputFilter) GetDescription ¶
func (x *ActionOutputFilter) GetDescription() string
func (*ActionOutputFilter) GetLabel ¶
func (x *ActionOutputFilter) GetLabel() string
func (*ActionOutputFilter) GetQuery ¶
func (x *ActionOutputFilter) GetQuery() *service.Query
func (*ActionOutputFilter) ProtoMessage ¶
func (*ActionOutputFilter) ProtoMessage()
func (*ActionOutputFilter) ProtoReflect ¶
func (x *ActionOutputFilter) ProtoReflect() protoreflect.Message
func (*ActionOutputFilter) Reset ¶
func (x *ActionOutputFilter) Reset()
func (*ActionOutputFilter) String ¶
func (x *ActionOutputFilter) String() string
func (*ActionOutputFilter) Validate ¶
func (this *ActionOutputFilter) Validate() error
type ActionOutputSingleQuery ¶
type ActionOutputSingleQuery struct { // Check if ActionOutput has success IsSuccess bool `protobuf:"varint,1,opt,name=IsSuccess,proto3" json:"IsSuccess,omitempty"` // Occurrence of string in StringBody or JsonBody (as string) StringBodyRegexp string `protobuf:"bytes,2,opt,name=StringBodyRegexp,proto3" json:"StringBodyRegexp,omitempty"` // StringBody or JsonBody size bigger than StringBodySizeGreaterThan int32 `protobuf:"varint,3,opt,name=StringBodySizeGreaterThan,proto3" json:"StringBodySizeGreaterThan,omitempty"` // StringBody or JsonBody size smaller than StringBodySizeSmallerThan int32 `protobuf:"varint,4,opt,name=StringBodySizeSmallerThan,proto3" json:"StringBodySizeSmallerThan,omitempty"` // Exact match of StringBody or JsonBody (as string) JsonBodyRegexp string `protobuf:"bytes,5,opt,name=JsonBodyRegexp,proto3" json:"JsonBodyRegexp,omitempty"` // Check existence of key in json body JsonBodyHasKey string `protobuf:"bytes,6,opt,name=JsonBodyHasKey,proto3" json:"JsonBodyHasKey,omitempty"` // StringBody or JsonBody size bigger than JsonBodySizeGreaterThan int32 `protobuf:"varint,7,opt,name=JsonBodySizeGreaterThan,proto3" json:"JsonBodySizeGreaterThan,omitempty"` // StringBody or JsonBody size smaller than JsonBodySizeSmallerThan int32 `protobuf:"varint,8,opt,name=JsonBodySizeSmallerThan,proto3" json:"JsonBodySizeSmallerThan,omitempty"` // Time taken greater than TaskTimeGt int32 `protobuf:"varint,9,opt,name=TaskTimeGt,proto3" json:"TaskTimeGt,omitempty"` // Time taken shorter than TaskTimeLt int32 `protobuf:"varint,10,opt,name=TaskTimeLt,proto3" json:"TaskTimeLt,omitempty"` // Check occurrence on error string ErrorStringRegexp string `protobuf:"bytes,11,opt,name=ErrorStringRegexp,proto3" json:"ErrorStringRegexp,omitempty"` // FreeCondition can be built using templates or gval FreeCondition string `protobuf:"bytes,13,opt,name=FreeCondition,proto3" json:"FreeCondition,omitempty"` // Invert condition Not bool `protobuf:"varint,12,opt,name=Not,proto3" json:"Not,omitempty"` // contains filtered or unexported fields }
ActionOutputSingleQuery provides a unitary query to filter ActionOutput messages
func (*ActionOutputSingleQuery) Descriptor
deprecated
func (*ActionOutputSingleQuery) Descriptor() ([]byte, []int)
Deprecated: Use ActionOutputSingleQuery.ProtoReflect.Descriptor instead.
func (*ActionOutputSingleQuery) GetErrorStringRegexp ¶
func (x *ActionOutputSingleQuery) GetErrorStringRegexp() string
func (*ActionOutputSingleQuery) GetFreeCondition ¶
func (x *ActionOutputSingleQuery) GetFreeCondition() string
func (*ActionOutputSingleQuery) GetIsSuccess ¶
func (x *ActionOutputSingleQuery) GetIsSuccess() bool
func (*ActionOutputSingleQuery) GetJsonBodyHasKey ¶
func (x *ActionOutputSingleQuery) GetJsonBodyHasKey() string
func (*ActionOutputSingleQuery) GetJsonBodyRegexp ¶
func (x *ActionOutputSingleQuery) GetJsonBodyRegexp() string
func (*ActionOutputSingleQuery) GetJsonBodySizeGreaterThan ¶
func (x *ActionOutputSingleQuery) GetJsonBodySizeGreaterThan() int32
func (*ActionOutputSingleQuery) GetJsonBodySizeSmallerThan ¶
func (x *ActionOutputSingleQuery) GetJsonBodySizeSmallerThan() int32
func (*ActionOutputSingleQuery) GetNot ¶
func (x *ActionOutputSingleQuery) GetNot() bool
func (*ActionOutputSingleQuery) GetStringBodyRegexp ¶
func (x *ActionOutputSingleQuery) GetStringBodyRegexp() string
func (*ActionOutputSingleQuery) GetStringBodySizeGreaterThan ¶
func (x *ActionOutputSingleQuery) GetStringBodySizeGreaterThan() int32
func (*ActionOutputSingleQuery) GetStringBodySizeSmallerThan ¶
func (x *ActionOutputSingleQuery) GetStringBodySizeSmallerThan() int32
func (*ActionOutputSingleQuery) GetTaskTimeGt ¶
func (x *ActionOutputSingleQuery) GetTaskTimeGt() int32
func (*ActionOutputSingleQuery) GetTaskTimeLt ¶
func (x *ActionOutputSingleQuery) GetTaskTimeLt() int32
func (*ActionOutputSingleQuery) ProtoMessage ¶
func (*ActionOutputSingleQuery) ProtoMessage()
func (*ActionOutputSingleQuery) ProtoReflect ¶
func (x *ActionOutputSingleQuery) ProtoReflect() protoreflect.Message
func (*ActionOutputSingleQuery) Reset ¶
func (x *ActionOutputSingleQuery) Reset()
func (*ActionOutputSingleQuery) String ¶
func (x *ActionOutputSingleQuery) String() string
func (*ActionOutputSingleQuery) Validate ¶
func (this *ActionOutputSingleQuery) Validate() error
type ChatEventFilter ¶ added in v4.4.0
type ChatEventFilter struct { // Selector custom label Label string `protobuf:"bytes,1,opt,name=Label,proto3" json:"Label,omitempty"` // Selector additional description Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"` // Query used to compute output object or list of objects Query *service.Query `protobuf:"bytes,3,opt,name=Query,proto3" json:"Query,omitempty"` // contains filtered or unexported fields }
func (*ChatEventFilter) Descriptor
deprecated
added in
v4.4.0
func (*ChatEventFilter) Descriptor() ([]byte, []int)
Deprecated: Use ChatEventFilter.ProtoReflect.Descriptor instead.
func (*ChatEventFilter) Filter ¶ added in v4.4.0
func (m *ChatEventFilter) Filter(ctx context.Context, input *ActionMessage) (*ActionMessage, *ActionMessage, bool)
func (*ChatEventFilter) FilterID ¶ added in v4.4.0
func (m *ChatEventFilter) FilterID() string
func (*ChatEventFilter) GetDescription ¶ added in v4.4.0
func (x *ChatEventFilter) GetDescription() string
func (*ChatEventFilter) GetLabel ¶ added in v4.4.0
func (x *ChatEventFilter) GetLabel() string
func (*ChatEventFilter) GetQuery ¶ added in v4.4.0
func (x *ChatEventFilter) GetQuery() *service.Query
func (*ChatEventFilter) ProtoMessage ¶ added in v4.4.0
func (*ChatEventFilter) ProtoMessage()
func (*ChatEventFilter) ProtoReflect ¶ added in v4.4.0
func (x *ChatEventFilter) ProtoReflect() protoreflect.Message
func (*ChatEventFilter) Reset ¶ added in v4.4.0
func (x *ChatEventFilter) Reset()
func (*ChatEventFilter) String ¶ added in v4.4.0
func (x *ChatEventFilter) String() string
func (*ChatEventFilter) Validate ¶ added in v4.4.0
func (this *ChatEventFilter) Validate() error
type ChatEventFilterQuery ¶ added in v4.4.0
type ChatEventFilterQuery struct { // EventType, inferred from ChatEvent Details field and presence of Message or Room in event EventType string `protobuf:"bytes,1,opt,name=EventType,proto3" json:"EventType,omitempty"` // Room UUID RoomUuid string `protobuf:"bytes,2,opt,name=RoomUuid,proto3" json:"RoomUuid,omitempty"` // Room Type RoomType chat.RoomType `protobuf:"varint,3,opt,name=RoomType,proto3,enum=chat.RoomType" json:"RoomType,omitempty"` // Room Associated Object RoomTypeObject string `protobuf:"bytes,4,opt,name=RoomTypeObject,proto3" json:"RoomTypeObject,omitempty"` // Room Label RoomLabelRegexp string `protobuf:"bytes,5,opt,name=RoomLabelRegexp,proto3" json:"RoomLabelRegexp,omitempty"` // Message Regexp MessageRegexp string `protobuf:"bytes,6,opt,name=MessageRegexp,proto3" json:"MessageRegexp,omitempty"` // Message Author MessageAuthor string `protobuf:"bytes,7,opt,name=MessageAuthor,proto3" json:"MessageAuthor,omitempty"` // contains filtered or unexported fields }
func (*ChatEventFilterQuery) Descriptor
deprecated
added in
v4.4.0
func (*ChatEventFilterQuery) Descriptor() ([]byte, []int)
Deprecated: Use ChatEventFilterQuery.ProtoReflect.Descriptor instead.
func (*ChatEventFilterQuery) GetEventType ¶ added in v4.4.0
func (x *ChatEventFilterQuery) GetEventType() string
func (*ChatEventFilterQuery) GetMessageAuthor ¶ added in v4.4.0
func (x *ChatEventFilterQuery) GetMessageAuthor() string
func (*ChatEventFilterQuery) GetMessageRegexp ¶ added in v4.4.0
func (x *ChatEventFilterQuery) GetMessageRegexp() string
func (*ChatEventFilterQuery) GetRoomLabelRegexp ¶ added in v4.4.0
func (x *ChatEventFilterQuery) GetRoomLabelRegexp() string
func (*ChatEventFilterQuery) GetRoomType ¶ added in v4.4.0
func (x *ChatEventFilterQuery) GetRoomType() chat.RoomType
func (*ChatEventFilterQuery) GetRoomTypeObject ¶ added in v4.4.0
func (x *ChatEventFilterQuery) GetRoomTypeObject() string
func (*ChatEventFilterQuery) GetRoomUuid ¶ added in v4.4.0
func (x *ChatEventFilterQuery) GetRoomUuid() string
func (*ChatEventFilterQuery) ProtoMessage ¶ added in v4.4.0
func (*ChatEventFilterQuery) ProtoMessage()
func (*ChatEventFilterQuery) ProtoReflect ¶ added in v4.4.0
func (x *ChatEventFilterQuery) ProtoReflect() protoreflect.Message
func (*ChatEventFilterQuery) Reset ¶ added in v4.4.0
func (x *ChatEventFilterQuery) Reset()
func (*ChatEventFilterQuery) String ¶ added in v4.4.0
func (x *ChatEventFilterQuery) String() string
func (*ChatEventFilterQuery) Validate ¶ added in v4.4.0
func (this *ChatEventFilterQuery) Validate() error
type Command ¶
type Command int32
func (Command) Descriptor ¶
func (Command) Descriptor() protoreflect.EnumDescriptor
func (Command) EnumDescriptor
deprecated
func (Command) Number ¶
func (x Command) Number() protoreflect.EnumNumber
func (Command) Type ¶
func (Command) Type() protoreflect.EnumType
type ContextMetaFilter ¶
type ContextMetaFilter struct { // Type of context filter Type ContextMetaFilterType `protobuf:"varint,1,opt,name=Type,proto3,enum=jobs.ContextMetaFilterType" json:"Type,omitempty"` // Can be built with ContextMetaSingleQuery Query *service.Query `protobuf:"bytes,2,opt,name=Query,proto3" json:"Query,omitempty"` // Selector custom label Label string `protobuf:"bytes,3,opt,name=Label,proto3" json:"Label,omitempty"` // Selector additional description Description string `protobuf:"bytes,4,opt,name=Description,proto3" json:"Description,omitempty"` // contains filtered or unexported fields }
PolicyContextFilter can be used to filter request metadata
func (*ContextMetaFilter) Descriptor
deprecated
func (*ContextMetaFilter) Descriptor() ([]byte, []int)
Deprecated: Use ContextMetaFilter.ProtoReflect.Descriptor instead.
func (*ContextMetaFilter) Filter ¶
func (m *ContextMetaFilter) Filter(ctx context.Context, input *ActionMessage) (*ActionMessage, *ActionMessage, bool)
func (*ContextMetaFilter) FilterID ¶ added in v4.0.4
func (m *ContextMetaFilter) FilterID() string
func (*ContextMetaFilter) GetDescription ¶
func (x *ContextMetaFilter) GetDescription() string
func (*ContextMetaFilter) GetLabel ¶
func (x *ContextMetaFilter) GetLabel() string
func (*ContextMetaFilter) GetQuery ¶
func (x *ContextMetaFilter) GetQuery() *service.Query
func (*ContextMetaFilter) GetType ¶
func (x *ContextMetaFilter) GetType() ContextMetaFilterType
func (*ContextMetaFilter) ProtoMessage ¶
func (*ContextMetaFilter) ProtoMessage()
func (*ContextMetaFilter) ProtoReflect ¶
func (x *ContextMetaFilter) ProtoReflect() protoreflect.Message
func (*ContextMetaFilter) Reset ¶
func (x *ContextMetaFilter) Reset()
func (*ContextMetaFilter) String ¶
func (x *ContextMetaFilter) String() string
func (*ContextMetaFilter) Validate ¶
func (this *ContextMetaFilter) Validate() error
type ContextMetaFilterType ¶
type ContextMetaFilterType int32
const ( ContextMetaFilterType_RequestMeta ContextMetaFilterType = 0 ContextMetaFilterType_ContextUser ContextMetaFilterType = 1 )
func (ContextMetaFilterType) Descriptor ¶
func (ContextMetaFilterType) Descriptor() protoreflect.EnumDescriptor
func (ContextMetaFilterType) Enum ¶
func (x ContextMetaFilterType) Enum() *ContextMetaFilterType
func (ContextMetaFilterType) EnumDescriptor
deprecated
func (ContextMetaFilterType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContextMetaFilterType.Descriptor instead.
func (ContextMetaFilterType) Number ¶
func (x ContextMetaFilterType) Number() protoreflect.EnumNumber
func (ContextMetaFilterType) String ¶
func (x ContextMetaFilterType) String() string
func (ContextMetaFilterType) Type ¶
func (ContextMetaFilterType) Type() protoreflect.EnumType
type ContextMetaSingleQuery ¶
type ContextMetaSingleQuery struct { // Field on which the Condition test will be applied FieldName string `protobuf:"bytes,1,opt,name=FieldName,proto3" json:"FieldName,omitempty"` // One of the available conditions as defined for Security Policies Condition *idm.PolicyCondition `protobuf:"bytes,2,opt,name=Condition,proto3" json:"Condition,omitempty"` // contains filtered or unexported fields }
ContextMetaSingleQuery uses idm.PolicyCondition
func (*ContextMetaSingleQuery) Descriptor
deprecated
func (*ContextMetaSingleQuery) Descriptor() ([]byte, []int)
Deprecated: Use ContextMetaSingleQuery.ProtoReflect.Descriptor instead.
func (*ContextMetaSingleQuery) GetCondition ¶
func (x *ContextMetaSingleQuery) GetCondition() *idm.PolicyCondition
func (*ContextMetaSingleQuery) GetFieldName ¶
func (x *ContextMetaSingleQuery) GetFieldName() string
func (*ContextMetaSingleQuery) ProtoMessage ¶
func (*ContextMetaSingleQuery) ProtoMessage()
func (*ContextMetaSingleQuery) ProtoReflect ¶
func (x *ContextMetaSingleQuery) ProtoReflect() protoreflect.Message
func (*ContextMetaSingleQuery) Reset ¶
func (x *ContextMetaSingleQuery) Reset()
func (*ContextMetaSingleQuery) String ¶
func (x *ContextMetaSingleQuery) String() string
func (*ContextMetaSingleQuery) Validate ¶
func (this *ContextMetaSingleQuery) Validate() error
type CtrlCommand ¶
type CtrlCommand struct { // Type of command to send (None, Pause, Resume, Stop, Delete, RunOnce, Inactive, Active) Cmd Command `protobuf:"varint,1,opt,name=Cmd,proto3,enum=jobs.Command" json:"Cmd,omitempty"` // Id of the job JobId string `protobuf:"bytes,2,opt,name=JobId,proto3" json:"JobId,omitempty"` // Id of the associated task TaskId string `protobuf:"bytes,3,opt,name=TaskId,proto3" json:"TaskId,omitempty"` // Owner of the job OwnerId string `protobuf:"bytes,4,opt,name=OwnerId,proto3" json:"OwnerId,omitempty"` // Parameters used for RunOnce command RunParameters map[string]string `` /* 167-byte string literal not displayed */ // contains filtered or unexported fields }
Command sent to control a job or a task
func (*CtrlCommand) Descriptor
deprecated
func (*CtrlCommand) Descriptor() ([]byte, []int)
Deprecated: Use CtrlCommand.ProtoReflect.Descriptor instead.
func (*CtrlCommand) GetCmd ¶
func (x *CtrlCommand) GetCmd() Command
func (*CtrlCommand) GetJobId ¶
func (x *CtrlCommand) GetJobId() string
func (*CtrlCommand) GetOwnerId ¶
func (x *CtrlCommand) GetOwnerId() string
func (*CtrlCommand) GetRunParameters ¶
func (x *CtrlCommand) GetRunParameters() map[string]string
func (*CtrlCommand) GetTaskId ¶
func (x *CtrlCommand) GetTaskId() string
func (*CtrlCommand) ProtoMessage ¶
func (*CtrlCommand) ProtoMessage()
func (*CtrlCommand) ProtoReflect ¶
func (x *CtrlCommand) ProtoReflect() protoreflect.Message
func (*CtrlCommand) Reset ¶
func (x *CtrlCommand) Reset()
func (*CtrlCommand) String ¶
func (x *CtrlCommand) String() string
func (*CtrlCommand) Validate ¶
func (this *CtrlCommand) Validate() error
type CtrlCommandResponse ¶
type CtrlCommandResponse struct { Msg string `protobuf:"bytes,1,opt,name=Msg,proto3" json:"Msg,omitempty"` // contains filtered or unexported fields }
Response to the CtrlCommand
func (*CtrlCommandResponse) Descriptor
deprecated
func (*CtrlCommandResponse) Descriptor() ([]byte, []int)
Deprecated: Use CtrlCommandResponse.ProtoReflect.Descriptor instead.
func (*CtrlCommandResponse) GetMsg ¶
func (x *CtrlCommandResponse) GetMsg() string
func (*CtrlCommandResponse) ProtoMessage ¶
func (*CtrlCommandResponse) ProtoMessage()
func (*CtrlCommandResponse) ProtoReflect ¶
func (x *CtrlCommandResponse) ProtoReflect() protoreflect.Message
func (*CtrlCommandResponse) Reset ¶
func (x *CtrlCommandResponse) Reset()
func (*CtrlCommandResponse) String ¶
func (x *CtrlCommandResponse) String() string
func (*CtrlCommandResponse) Validate ¶
func (this *CtrlCommandResponse) Validate() error
type DataSelector ¶ added in v4.3.1
type DataSelector struct { // Selector custom label Label string `protobuf:"bytes,1,opt,name=Label,proto3" json:"Label,omitempty"` // Selector additional description Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"` // Query used to compute output object or list of objects Query *service.Query `protobuf:"bytes,3,opt,name=Query,proto3" json:"Query,omitempty"` // Collect results Collect bool `protobuf:"varint,4,opt,name=Collect,proto3" json:"Collect,omitempty"` // Ignore query and just fan out input.LastOutput.JsonBody FanOutInput bool `protobuf:"varint,5,opt,name=FanOutInput,proto3" json:"FanOutInput,omitempty"` // Optional Timeout for this selector Timeout string `protobuf:"bytes,6,opt,name=Timeout,proto3" json:"Timeout,omitempty"` // Clear previous selection ClearInput bool `protobuf:"varint,7,opt,name=ClearInput,proto3" json:"ClearInput,omitempty"` // contains filtered or unexported fields }
func (*DataSelector) ApplyClearInput ¶ added in v4.3.1
func (x *DataSelector) ApplyClearInput(msg *ActionMessage) *ActionMessage
func (*DataSelector) Descriptor
deprecated
added in
v4.3.1
func (*DataSelector) Descriptor() ([]byte, []int)
Deprecated: Use DataSelector.ProtoReflect.Descriptor instead.
func (*DataSelector) GetClearInput ¶ added in v4.3.1
func (x *DataSelector) GetClearInput() bool
func (*DataSelector) GetCollect ¶ added in v4.3.1
func (x *DataSelector) GetCollect() bool
func (*DataSelector) GetDescription ¶ added in v4.3.1
func (x *DataSelector) GetDescription() string
func (*DataSelector) GetFanOutInput ¶ added in v4.3.1
func (x *DataSelector) GetFanOutInput() bool
func (*DataSelector) GetLabel ¶ added in v4.3.1
func (x *DataSelector) GetLabel() string
func (*DataSelector) GetQuery ¶ added in v4.3.1
func (x *DataSelector) GetQuery() *service.Query
func (*DataSelector) GetTimeout ¶ added in v4.3.1
func (x *DataSelector) GetTimeout() string
func (*DataSelector) MultipleSelection ¶ added in v4.3.1
func (x *DataSelector) MultipleSelection() bool
func (*DataSelector) PreParseJsonPath ¶ added in v4.3.3
func (x *DataSelector) PreParseJsonPath(jp string) (input, jsonBody, vars bool, expectedVars []string)
func (*DataSelector) ProtoMessage ¶ added in v4.3.1
func (*DataSelector) ProtoMessage()
func (*DataSelector) ProtoReflect ¶ added in v4.3.1
func (x *DataSelector) ProtoReflect() protoreflect.Message
func (*DataSelector) Reset ¶ added in v4.3.1
func (x *DataSelector) Reset()
func (*DataSelector) Select ¶ added in v4.3.1
func (x *DataSelector) Select(ctx context.Context, input *ActionMessage, objects chan interface{}, done chan bool) error
func (*DataSelector) SelectorID ¶ added in v4.3.1
func (x *DataSelector) SelectorID() string
func (*DataSelector) SelectorLabel ¶ added in v4.3.1
func (x *DataSelector) SelectorLabel() string
func (*DataSelector) String ¶ added in v4.3.1
func (x *DataSelector) String() string
func (*DataSelector) Validate ¶ added in v4.3.1
func (this *DataSelector) Validate() error
type DataSelectorSingleQuery ¶ added in v4.3.1
type DataSelectorSingleQuery struct { // Perform a JsonPath query. Input data exposes JsonBody and Vars. JsonPath string `protobuf:"bytes,1,opt,name=JsonPath,proto3" json:"JsonPath,omitempty"` // contains filtered or unexported fields }
func (*DataSelectorSingleQuery) Descriptor
deprecated
added in
v4.3.1
func (*DataSelectorSingleQuery) Descriptor() ([]byte, []int)
Deprecated: Use DataSelectorSingleQuery.ProtoReflect.Descriptor instead.
func (*DataSelectorSingleQuery) GetJsonPath ¶ added in v4.3.1
func (x *DataSelectorSingleQuery) GetJsonPath() string
func (*DataSelectorSingleQuery) ProtoMessage ¶ added in v4.3.1
func (*DataSelectorSingleQuery) ProtoMessage()
func (*DataSelectorSingleQuery) ProtoReflect ¶ added in v4.3.1
func (x *DataSelectorSingleQuery) ProtoReflect() protoreflect.Message
func (*DataSelectorSingleQuery) Reset ¶ added in v4.3.1
func (x *DataSelectorSingleQuery) Reset()
func (*DataSelectorSingleQuery) String ¶ added in v4.3.1
func (x *DataSelectorSingleQuery) String() string
func (*DataSelectorSingleQuery) Validate ¶ added in v4.3.1
func (this *DataSelectorSingleQuery) Validate() error
type DataSourceSelector ¶
type DataSourceSelector struct { // Selector custom label Label string `protobuf:"bytes,1,opt,name=Label,proto3" json:"Label,omitempty"` // Selector additional description Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"` // Selector type, either DataSource or Object service Type DataSourceSelectorType `protobuf:"varint,3,opt,name=Type,proto3,enum=jobs.DataSourceSelectorType" json:"Type,omitempty"` // Select all All bool `protobuf:"varint,4,opt,name=All,proto3" json:"All,omitempty"` // Collect results Collect bool `protobuf:"varint,5,opt,name=Collect,proto3" json:"Collect,omitempty"` // Ignore query and just fan out input.DataSources FanOutInput bool `protobuf:"varint,8,opt,name=FanOutInput,proto3" json:"FanOutInput,omitempty"` // Composition of DataSourceSingleQueries Query *service.Query `protobuf:"bytes,6,opt,name=Query,proto3" json:"Query,omitempty"` // Optional Timeout for this selector Timeout string `protobuf:"bytes,7,opt,name=Timeout,proto3" json:"Timeout,omitempty"` // Clear previous selection ClearInput bool `protobuf:"varint,9,opt,name=ClearInput,proto3" json:"ClearInput,omitempty"` // contains filtered or unexported fields }
Selector/Filter for DataSource objects
func (*DataSourceSelector) ApplyClearInput ¶ added in v4.2.0
func (m *DataSourceSelector) ApplyClearInput(msg *ActionMessage) *ActionMessage
func (*DataSourceSelector) Descriptor
deprecated
func (*DataSourceSelector) Descriptor() ([]byte, []int)
Deprecated: Use DataSourceSelector.ProtoReflect.Descriptor instead.
func (*DataSourceSelector) Filter ¶
func (m *DataSourceSelector) Filter(ctx context.Context, input *ActionMessage) (*ActionMessage, *ActionMessage, bool)
func (*DataSourceSelector) FilterID ¶ added in v4.0.4
func (m *DataSourceSelector) FilterID() string
func (*DataSourceSelector) GetAll ¶
func (x *DataSourceSelector) GetAll() bool
func (*DataSourceSelector) GetClearInput ¶ added in v4.2.0
func (x *DataSourceSelector) GetClearInput() bool
func (*DataSourceSelector) GetCollect ¶
func (x *DataSourceSelector) GetCollect() bool
func (*DataSourceSelector) GetDescription ¶
func (x *DataSourceSelector) GetDescription() string
func (*DataSourceSelector) GetFanOutInput ¶ added in v4.0.5
func (x *DataSourceSelector) GetFanOutInput() bool
func (*DataSourceSelector) GetLabel ¶
func (x *DataSourceSelector) GetLabel() string
func (*DataSourceSelector) GetQuery ¶
func (x *DataSourceSelector) GetQuery() *service.Query
func (*DataSourceSelector) GetTimeout ¶ added in v4.0.1
func (x *DataSourceSelector) GetTimeout() string
func (*DataSourceSelector) GetType ¶
func (x *DataSourceSelector) GetType() DataSourceSelectorType
func (*DataSourceSelector) MultipleSelection ¶
func (m *DataSourceSelector) MultipleSelection() bool
func (*DataSourceSelector) ProtoMessage ¶
func (*DataSourceSelector) ProtoMessage()
func (*DataSourceSelector) ProtoReflect ¶
func (x *DataSourceSelector) ProtoReflect() protoreflect.Message
func (*DataSourceSelector) Reset ¶
func (x *DataSourceSelector) Reset()
func (*DataSourceSelector) Select ¶
func (m *DataSourceSelector) Select(ctx context.Context, input *ActionMessage, objects chan interface{}, done chan bool) error
func (*DataSourceSelector) SelectorID ¶ added in v4.0.4
func (m *DataSourceSelector) SelectorID() string
func (*DataSourceSelector) SelectorLabel ¶ added in v4.2.6
func (m *DataSourceSelector) SelectorLabel() string
func (*DataSourceSelector) String ¶
func (x *DataSourceSelector) String() string
func (*DataSourceSelector) Validate ¶
func (this *DataSourceSelector) Validate() error
type DataSourceSelectorType ¶
type DataSourceSelectorType int32
const ( DataSourceSelectorType_DataSource DataSourceSelectorType = 0 DataSourceSelectorType_Object DataSourceSelectorType = 1 )
func (DataSourceSelectorType) Descriptor ¶
func (DataSourceSelectorType) Descriptor() protoreflect.EnumDescriptor
func (DataSourceSelectorType) Enum ¶
func (x DataSourceSelectorType) Enum() *DataSourceSelectorType
func (DataSourceSelectorType) EnumDescriptor
deprecated
func (DataSourceSelectorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataSourceSelectorType.Descriptor instead.
func (DataSourceSelectorType) Number ¶
func (x DataSourceSelectorType) Number() protoreflect.EnumNumber
func (DataSourceSelectorType) String ¶
func (x DataSourceSelectorType) String() string
func (DataSourceSelectorType) Type ¶
func (DataSourceSelectorType) Type() protoreflect.EnumType
type DefaultJob ¶ added in v4.2.3
func ListDefaults ¶ added in v4.2.3
func ListDefaults() []*DefaultJob
ListDefaults returns the content of the internal registry
type DeleteJobRequest ¶
type DeleteJobRequest struct { JobID string `protobuf:"bytes,1,opt,name=JobID,proto3" json:"JobID,omitempty"` CleanableJobs bool `protobuf:"varint,2,opt,name=CleanableJobs,proto3" json:"CleanableJobs,omitempty"` // contains filtered or unexported fields }
func (*DeleteJobRequest) Descriptor
deprecated
func (*DeleteJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteJobRequest.ProtoReflect.Descriptor instead.
func (*DeleteJobRequest) GetCleanableJobs ¶
func (x *DeleteJobRequest) GetCleanableJobs() bool
func (*DeleteJobRequest) GetJobID ¶
func (x *DeleteJobRequest) GetJobID() string
func (*DeleteJobRequest) ProtoMessage ¶
func (*DeleteJobRequest) ProtoMessage()
func (*DeleteJobRequest) ProtoReflect ¶
func (x *DeleteJobRequest) ProtoReflect() protoreflect.Message
func (*DeleteJobRequest) Reset ¶
func (x *DeleteJobRequest) Reset()
func (*DeleteJobRequest) String ¶
func (x *DeleteJobRequest) String() string
func (*DeleteJobRequest) Validate ¶
func (this *DeleteJobRequest) Validate() error
type DeleteJobResponse ¶
type DeleteJobResponse struct { Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"` DeleteCount int32 `protobuf:"varint,2,opt,name=DeleteCount,proto3" json:"DeleteCount,omitempty"` // contains filtered or unexported fields }
func (*DeleteJobResponse) Descriptor
deprecated
func (*DeleteJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteJobResponse.ProtoReflect.Descriptor instead.
func (*DeleteJobResponse) GetDeleteCount ¶
func (x *DeleteJobResponse) GetDeleteCount() int32
func (*DeleteJobResponse) GetSuccess ¶
func (x *DeleteJobResponse) GetSuccess() bool
func (*DeleteJobResponse) ProtoMessage ¶
func (*DeleteJobResponse) ProtoMessage()
func (*DeleteJobResponse) ProtoReflect ¶
func (x *DeleteJobResponse) ProtoReflect() protoreflect.Message
func (*DeleteJobResponse) Reset ¶
func (x *DeleteJobResponse) Reset()
func (*DeleteJobResponse) String ¶
func (x *DeleteJobResponse) String() string
func (*DeleteJobResponse) Validate ¶
func (this *DeleteJobResponse) Validate() error
type DeleteTasksRequest ¶
type DeleteTasksRequest struct { // Id of the job JobId string `protobuf:"bytes,1,opt,name=JobId,proto3" json:"JobId,omitempty"` // Ids of tasks to delete TaskID []string `protobuf:"bytes,2,rep,name=TaskID,proto3" json:"TaskID,omitempty"` // If no TaskID and/or no JobID are passed, delete tasks by status Status []TaskStatus `protobuf:"varint,3,rep,packed,name=Status,proto3,enum=jobs.TaskStatus" json:"Status,omitempty"` // If deleting by status, optionally keep only a number of tasks PruneLimit int32 `protobuf:"varint,4,opt,name=PruneLimit,proto3" json:"PruneLimit,omitempty"` // contains filtered or unexported fields }
func (*DeleteTasksRequest) Descriptor
deprecated
func (*DeleteTasksRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTasksRequest.ProtoReflect.Descriptor instead.
func (*DeleteTasksRequest) GetJobId ¶
func (x *DeleteTasksRequest) GetJobId() string
func (*DeleteTasksRequest) GetPruneLimit ¶
func (x *DeleteTasksRequest) GetPruneLimit() int32
func (*DeleteTasksRequest) GetStatus ¶
func (x *DeleteTasksRequest) GetStatus() []TaskStatus
func (*DeleteTasksRequest) GetTaskID ¶
func (x *DeleteTasksRequest) GetTaskID() []string
func (*DeleteTasksRequest) ProtoMessage ¶
func (*DeleteTasksRequest) ProtoMessage()
func (*DeleteTasksRequest) ProtoReflect ¶
func (x *DeleteTasksRequest) ProtoReflect() protoreflect.Message
func (*DeleteTasksRequest) Reset ¶
func (x *DeleteTasksRequest) Reset()
func (*DeleteTasksRequest) String ¶
func (x *DeleteTasksRequest) String() string
func (*DeleteTasksRequest) Validate ¶
func (this *DeleteTasksRequest) Validate() error
type DeleteTasksResponse ¶
type DeleteTasksResponse struct { Deleted []string `protobuf:"bytes,1,rep,name=Deleted,proto3" json:"Deleted,omitempty"` // contains filtered or unexported fields }
func (*DeleteTasksResponse) Descriptor
deprecated
func (*DeleteTasksResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTasksResponse.ProtoReflect.Descriptor instead.
func (*DeleteTasksResponse) GetDeleted ¶
func (x *DeleteTasksResponse) GetDeleted() []string
func (*DeleteTasksResponse) ProtoMessage ¶
func (*DeleteTasksResponse) ProtoMessage()
func (*DeleteTasksResponse) ProtoReflect ¶
func (x *DeleteTasksResponse) ProtoReflect() protoreflect.Message
func (*DeleteTasksResponse) Reset ¶
func (x *DeleteTasksResponse) Reset()
func (*DeleteTasksResponse) String ¶
func (x *DeleteTasksResponse) String() string
func (*DeleteTasksResponse) Validate ¶
func (this *DeleteTasksResponse) Validate() error
type DetectStuckTasksRequest ¶
type DetectStuckTasksRequest struct { Since int32 `protobuf:"varint,1,opt,name=Since,proto3" json:"Since,omitempty"` // contains filtered or unexported fields }
func (*DetectStuckTasksRequest) Descriptor
deprecated
func (*DetectStuckTasksRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetectStuckTasksRequest.ProtoReflect.Descriptor instead.
func (*DetectStuckTasksRequest) GetSince ¶
func (x *DetectStuckTasksRequest) GetSince() int32
func (*DetectStuckTasksRequest) ProtoMessage ¶
func (*DetectStuckTasksRequest) ProtoMessage()
func (*DetectStuckTasksRequest) ProtoReflect ¶
func (x *DetectStuckTasksRequest) ProtoReflect() protoreflect.Message
func (*DetectStuckTasksRequest) Reset ¶
func (x *DetectStuckTasksRequest) Reset()
func (*DetectStuckTasksRequest) String ¶
func (x *DetectStuckTasksRequest) String() string
func (*DetectStuckTasksRequest) Validate ¶
func (this *DetectStuckTasksRequest) Validate() error
type DetectStuckTasksResponse ¶
type DetectStuckTasksResponse struct { FixedTaskIds []string `protobuf:"bytes,1,rep,name=FixedTaskIds,proto3" json:"FixedTaskIds,omitempty"` // contains filtered or unexported fields }
func (*DetectStuckTasksResponse) Descriptor
deprecated
func (*DetectStuckTasksResponse) Descriptor() ([]byte, []int)
Deprecated: Use DetectStuckTasksResponse.ProtoReflect.Descriptor instead.
func (*DetectStuckTasksResponse) GetFixedTaskIds ¶
func (x *DetectStuckTasksResponse) GetFixedTaskIds() []string
func (*DetectStuckTasksResponse) ProtoMessage ¶
func (*DetectStuckTasksResponse) ProtoMessage()
func (*DetectStuckTasksResponse) ProtoReflect ¶
func (x *DetectStuckTasksResponse) ProtoReflect() protoreflect.Message
func (*DetectStuckTasksResponse) Reset ¶
func (x *DetectStuckTasksResponse) Reset()
func (*DetectStuckTasksResponse) String ¶
func (x *DetectStuckTasksResponse) String() string
func (*DetectStuckTasksResponse) Validate ¶
func (this *DetectStuckTasksResponse) Validate() error
type FieldEvaluator ¶
type FieldEvaluator interface {
EvaluateField(ctx context.Context, input *ActionMessage, value string) string
}
func GetFieldEvaluators ¶
func GetFieldEvaluators() []FieldEvaluator
GetFieldEvaluators lists all registered evaluators
type FreeStringEvaluator ¶
type GetJobRequest ¶
type GetJobRequest struct { JobID string `protobuf:"bytes,1,opt,name=JobID,proto3" json:"JobID,omitempty"` LoadTasks TaskStatus `protobuf:"varint,2,opt,name=LoadTasks,proto3,enum=jobs.TaskStatus" json:"LoadTasks,omitempty"` // contains filtered or unexported fields }
func (*GetJobRequest) Descriptor
deprecated
func (*GetJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetJobRequest.ProtoReflect.Descriptor instead.
func (*GetJobRequest) GetJobID ¶
func (x *GetJobRequest) GetJobID() string
func (*GetJobRequest) GetLoadTasks ¶
func (x *GetJobRequest) GetLoadTasks() TaskStatus
func (*GetJobRequest) ProtoMessage ¶
func (*GetJobRequest) ProtoMessage()
func (*GetJobRequest) ProtoReflect ¶
func (x *GetJobRequest) ProtoReflect() protoreflect.Message
func (*GetJobRequest) Reset ¶
func (x *GetJobRequest) Reset()
func (*GetJobRequest) String ¶
func (x *GetJobRequest) String() string
func (*GetJobRequest) Validate ¶
func (this *GetJobRequest) Validate() error
type GetJobResponse ¶
type GetJobResponse struct { Job *Job `protobuf:"bytes,1,opt,name=Job,proto3" json:"Job,omitempty"` // contains filtered or unexported fields }
func (*GetJobResponse) Descriptor
deprecated
func (*GetJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetJobResponse.ProtoReflect.Descriptor instead.
func (*GetJobResponse) GetJob ¶
func (x *GetJobResponse) GetJob() *Job
func (*GetJobResponse) ProtoMessage ¶
func (*GetJobResponse) ProtoMessage()
func (*GetJobResponse) ProtoReflect ¶
func (x *GetJobResponse) ProtoReflect() protoreflect.Message
func (*GetJobResponse) Reset ¶
func (x *GetJobResponse) Reset()
func (*GetJobResponse) String ¶
func (x *GetJobResponse) String() string
func (*GetJobResponse) Validate ¶
func (this *GetJobResponse) Validate() error
type IdmSelector ¶
type IdmSelector struct { // Type of objects to look for Type IdmSelectorType `protobuf:"varint,1,opt,name=Type,proto3,enum=jobs.IdmSelectorType" json:"Type,omitempty"` // Load all objects All bool `protobuf:"varint,2,opt,name=All,proto3" json:"All,omitempty"` // Serialized search query Query *service.Query `protobuf:"bytes,3,opt,name=Query,proto3" json:"Query,omitempty"` // Pass a slice of objects to one action, or trigger all actions in parallel Collect bool `protobuf:"varint,4,opt,name=Collect,proto3" json:"Collect,omitempty"` // Ignore query and just fan out input.[Type] FanOutInput bool `protobuf:"varint,8,opt,name=FanOutInput,proto3" json:"FanOutInput,omitempty"` // Selector custom label Label string `protobuf:"bytes,5,opt,name=Label,proto3" json:"Label,omitempty"` // Selector additional description Description string `protobuf:"bytes,6,opt,name=Description,proto3" json:"Description,omitempty"` // Optional Timeout for this selector Timeout string `protobuf:"bytes,7,opt,name=Timeout,proto3" json:"Timeout,omitempty"` // Clear previous selection ClearInput bool `protobuf:"varint,9,opt,name=ClearInput,proto3" json:"ClearInput,omitempty"` // Handle ranges Range *SelectorRange `protobuf:"bytes,11,opt,name=Range,proto3" json:"Range,omitempty"` // contains filtered or unexported fields }
Generic container for select/filter idm objects
func (*IdmSelector) ApplyClearInput ¶ added in v4.2.0
func (m *IdmSelector) ApplyClearInput(msg *ActionMessage) *ActionMessage
func (*IdmSelector) Descriptor
deprecated
func (*IdmSelector) Descriptor() ([]byte, []int)
Deprecated: Use IdmSelector.ProtoReflect.Descriptor instead.
func (*IdmSelector) Filter ¶
func (m *IdmSelector) Filter(ctx context.Context, input *ActionMessage) (*ActionMessage, *ActionMessage, bool)
Filter IDM objects by a query
func (*IdmSelector) FilterID ¶ added in v4.0.4
func (m *IdmSelector) FilterID() string
func (*IdmSelector) GetAll ¶
func (x *IdmSelector) GetAll() bool
func (*IdmSelector) GetClearInput ¶ added in v4.2.0
func (x *IdmSelector) GetClearInput() bool
func (*IdmSelector) GetCollect ¶
func (x *IdmSelector) GetCollect() bool
func (*IdmSelector) GetDescription ¶
func (x *IdmSelector) GetDescription() string
func (*IdmSelector) GetFanOutInput ¶ added in v4.0.5
func (x *IdmSelector) GetFanOutInput() bool
func (*IdmSelector) GetLabel ¶
func (x *IdmSelector) GetLabel() string
func (*IdmSelector) GetQuery ¶
func (x *IdmSelector) GetQuery() *service.Query
func (*IdmSelector) GetRange ¶ added in v4.4.0
func (x *IdmSelector) GetRange() *SelectorRange
func (*IdmSelector) GetTimeout ¶ added in v4.0.1
func (x *IdmSelector) GetTimeout() string
func (*IdmSelector) GetType ¶
func (x *IdmSelector) GetType() IdmSelectorType
func (*IdmSelector) MultipleSelection ¶
func (m *IdmSelector) MultipleSelection() bool
func (*IdmSelector) ProtoMessage ¶
func (*IdmSelector) ProtoMessage()
func (*IdmSelector) ProtoReflect ¶
func (x *IdmSelector) ProtoReflect() protoreflect.Message
func (*IdmSelector) Reset ¶
func (x *IdmSelector) Reset()
func (*IdmSelector) Select ¶
func (m *IdmSelector) Select(ctx context.Context, input *ActionMessage, objects chan interface{}, done chan bool) error
Select IDM Objects by a given query
func (*IdmSelector) SelectorID ¶ added in v4.0.4
func (m *IdmSelector) SelectorID() string
func (*IdmSelector) SelectorLabel ¶ added in v4.2.6
func (m *IdmSelector) SelectorLabel() string
func (*IdmSelector) String ¶
func (x *IdmSelector) String() string
func (*IdmSelector) Validate ¶
func (this *IdmSelector) Validate() error
func (*IdmSelector) WorkspaceFromEventContext ¶
WorkspaceFromEventContext tries to find the CtxWorkspaceUuid key in the context metadata and if it is set, lookup actual workspace by UUID.
type IdmSelectorType ¶
type IdmSelectorType int32
Possible values for IdmSelector.Type
const ( IdmSelectorType_User IdmSelectorType = 0 IdmSelectorType_Role IdmSelectorType = 1 IdmSelectorType_Workspace IdmSelectorType = 2 IdmSelectorType_Acl IdmSelectorType = 3 )
func (IdmSelectorType) Descriptor ¶
func (IdmSelectorType) Descriptor() protoreflect.EnumDescriptor
func (IdmSelectorType) Enum ¶
func (x IdmSelectorType) Enum() *IdmSelectorType
func (IdmSelectorType) EnumDescriptor
deprecated
func (IdmSelectorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use IdmSelectorType.Descriptor instead.
func (IdmSelectorType) Number ¶
func (x IdmSelectorType) Number() protoreflect.EnumNumber
func (IdmSelectorType) String ¶
func (x IdmSelectorType) String() string
func (IdmSelectorType) Type ¶
func (IdmSelectorType) Type() protoreflect.EnumType
type InputFilter ¶
type InputFilter interface { Filter(ctx context.Context, input *ActionMessage) (*ActionMessage, *ActionMessage, bool) FilterID() string }
type InputSelector ¶
type InputSelector interface { Select(ctx context.Context, input *ActionMessage, objects chan interface{}, done chan bool) error MultipleSelection() bool GetTimeout() string SelectorID() string SelectorLabel() string GetClearInput() bool ApplyClearInput(msg *ActionMessage) *ActionMessage }
type JSONPathSelectorFunc ¶ added in v4.3.1
type JSONPathSelectorFunc func(ctx context.Context, data interface{}, jsonPath string) ([]interface{}, error)
var (
JSONPathSelector JSONPathSelectorFunc
)
type Job ¶
type Job struct { // Unique ID for this Job ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` // Human-readable Label Label string `protobuf:"bytes,2,opt,name=Label,proto3" json:"Label,omitempty"` // Who created this Job Owner string `protobuf:"bytes,3,opt,name=Owner,proto3" json:"Owner,omitempty"` // Additional user-defined metadata, can be used for icon, documentation, pre-requisites, etc. Metadata map[string]string `` /* 158-byte string literal not displayed */ // Timestamp for creation time CreatedAt int32 `protobuf:"varint,25,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` // Timestamp for modification time ModifiedAt int32 `protobuf:"varint,26,opt,name=ModifiedAt,proto3" json:"ModifiedAt,omitempty"` // Admin can temporarily disable this job Inactive bool `protobuf:"varint,4,opt,name=Inactive,proto3" json:"Inactive,omitempty"` // Job created by application or by administrator Custom bool `protobuf:"varint,20,opt,name=Custom,proto3" json:"Custom,omitempty"` // Optional list of languages detected in the context at launch time Languages []string `protobuf:"bytes,10,rep,name=Languages,proto3" json:"Languages,omitempty"` // How the job will be triggered. // One of these must be set (not exclusive) // Listen to a given set of events EventNames []string `protobuf:"bytes,5,rep,name=EventNames,proto3" json:"EventNames,omitempty"` // Schedule a periodic repetition Schedule *Schedule `protobuf:"bytes,6,opt,name=Schedule,proto3" json:"Schedule,omitempty"` // Start task as soon as job is inserted AutoStart bool `protobuf:"varint,7,opt,name=AutoStart,proto3" json:"AutoStart,omitempty"` // Start task as soon as server is started AutoRestart bool `protobuf:"varint,29,opt,name=AutoRestart,proto3" json:"AutoRestart,omitempty"` // Remove job automatically once it is finished (success only) AutoClean bool `protobuf:"varint,11,opt,name=AutoClean,proto3" json:"AutoClean,omitempty"` // Chain of actions to perform Actions []*Action `protobuf:"bytes,8,rep,name=Actions,proto3" json:"Actions,omitempty"` // Collect chain of actions into a merged output MergeAction *Action `protobuf:"bytes,24,opt,name=MergeAction,proto3" json:"MergeAction,omitempty"` // Task properties MaxConcurrency int32 `protobuf:"varint,9,opt,name=MaxConcurrency,proto3" json:"MaxConcurrency,omitempty"` // Do not send notification on task update TasksSilentUpdate bool `protobuf:"varint,12,opt,name=TasksSilentUpdate,proto3" json:"TasksSilentUpdate,omitempty"` // Filled with currently running tasks Tasks []*Task `protobuf:"bytes,14,rep,name=Tasks,proto3" json:"Tasks,omitempty"` // Filter out specific events NodeEventFilter *NodesSelector `protobuf:"bytes,15,opt,name=NodeEventFilter,proto3" json:"NodeEventFilter,omitempty"` // Deprecated in favor of more generic IdmSelector UserEventFilter *UsersSelector `protobuf:"bytes,16,opt,name=UserEventFilter,proto3" json:"UserEventFilter,omitempty"` // Idm objects filter IdmFilter *IdmSelector `protobuf:"bytes,17,opt,name=IdmFilter,proto3" json:"IdmFilter,omitempty"` // Event Context Filter ContextMetaFilter *ContextMetaFilter `protobuf:"bytes,18,opt,name=ContextMetaFilter,proto3" json:"ContextMetaFilter,omitempty"` // DataSource objects filter DataSourceFilter *DataSourceSelector `protobuf:"bytes,21,opt,name=DataSourceFilter,proto3" json:"DataSourceFilter,omitempty"` // Filter values from ChatEvent ChatEventFilter *ChatEventFilter `protobuf:"bytes,31,opt,name=ChatEventFilter,proto3" json:"ChatEventFilter,omitempty"` // Job-level parameters that can be passed to underlying actions Parameters []*JobParameter `protobuf:"bytes,19,rep,name=Parameters,proto3" json:"Parameters,omitempty"` // Additional dependencies that may be required when running the job ResourcesDependencies []*anypb.Any `protobuf:"bytes,22,rep,name=ResourcesDependencies,proto3" json:"ResourcesDependencies,omitempty"` // Optional Timeout any running job Timeout string `protobuf:"bytes,23,opt,name=Timeout,proto3" json:"Timeout,omitempty"` // Additional Versioning Metadata VersionMeta map[string]string `` /* 164-byte string literal not displayed */ // Expose this job through one or more-userspace APIs Hooks []*JobHook `protobuf:"bytes,28,rep,name=Hooks,proto3" json:"Hooks,omitempty"` // contains filtered or unexported fields }
func (*Job) Descriptor
deprecated
func (*Job) GetActions ¶
func (*Job) GetAutoClean ¶
func (*Job) GetAutoRestart ¶ added in v4.2.0
func (*Job) GetAutoStart ¶
func (*Job) GetChatEventFilter ¶ added in v4.4.0
func (x *Job) GetChatEventFilter() *ChatEventFilter
func (*Job) GetContextMetaFilter ¶
func (x *Job) GetContextMetaFilter() *ContextMetaFilter
func (*Job) GetCreatedAt ¶ added in v4.0.5
func (*Job) GetDataSourceFilter ¶
func (x *Job) GetDataSourceFilter() *DataSourceSelector
func (*Job) GetEventNames ¶
func (*Job) GetIdmFilter ¶
func (x *Job) GetIdmFilter() *IdmSelector
func (*Job) GetInactive ¶
func (*Job) GetLanguages ¶
func (*Job) GetMaxConcurrency ¶
func (*Job) GetMergeAction ¶ added in v4.0.5
func (*Job) GetMetadata ¶ added in v4.3.1
func (*Job) GetModifiedAt ¶ added in v4.0.5
func (*Job) GetNodeEventFilter ¶
func (x *Job) GetNodeEventFilter() *NodesSelector
func (*Job) GetParameters ¶
func (x *Job) GetParameters() []*JobParameter
func (*Job) GetResourcesDependencies ¶
func (*Job) GetSchedule ¶
func (*Job) GetTasksSilentUpdate ¶
func (*Job) GetTimeout ¶ added in v4.0.1
func (*Job) GetUserEventFilter ¶
func (x *Job) GetUserEventFilter() *UsersSelector
func (*Job) GetVersionMeta ¶ added in v4.0.5
func (*Job) MarshalLogObject ¶
func (job *Job) MarshalLogObject(encoder zapcore.ObjectEncoder) error
func (*Job) ProtoMessage ¶
func (*Job) ProtoMessage()
func (*Job) ProtoReflect ¶
func (x *Job) ProtoReflect() protoreflect.Message
type JobChangeEvent ¶
type JobChangeEvent struct { JobUpdated *Job `protobuf:"bytes,1,opt,name=JobUpdated,proto3" json:"JobUpdated,omitempty"` JobRemoved string `protobuf:"bytes,2,opt,name=JobRemoved,proto3" json:"JobRemoved,omitempty"` // contains filtered or unexported fields }
Events sent by the JobService when CRUD'ing a Job configuration
func (*JobChangeEvent) Descriptor
deprecated
func (*JobChangeEvent) Descriptor() ([]byte, []int)
Deprecated: Use JobChangeEvent.ProtoReflect.Descriptor instead.
func (*JobChangeEvent) GetJobRemoved ¶
func (x *JobChangeEvent) GetJobRemoved() string
func (*JobChangeEvent) GetJobUpdated ¶
func (x *JobChangeEvent) GetJobUpdated() *Job
func (*JobChangeEvent) ProtoMessage ¶
func (*JobChangeEvent) ProtoMessage()
func (*JobChangeEvent) ProtoReflect ¶
func (x *JobChangeEvent) ProtoReflect() protoreflect.Message
func (*JobChangeEvent) Reset ¶
func (x *JobChangeEvent) Reset()
func (*JobChangeEvent) String ¶
func (x *JobChangeEvent) String() string
func (*JobChangeEvent) Validate ¶
func (this *JobChangeEvent) Validate() error
type JobHook ¶ added in v4.0.5
type JobHook struct { // Custom ApiSlug, otherwise use the job UUID ApiSlug string `protobuf:"bytes,1,opt,name=ApiSlug,proto3" json:"ApiSlug,omitempty"` // Preset parameters values when calling this endpoint. May be overriden by a map[string]string in the body PresetParameters map[string]string `` /* 173-byte string literal not displayed */ // Allow trigger parameters to override default presets AllowOverridePresets bool `protobuf:"varint,3,opt,name=AllowOverridePresets,proto3" json:"AllowOverridePresets,omitempty"` // Additional arbitrary metadata attached to this hook Metadata map[string]string `` /* 157-byte string literal not displayed */ // Set permissions for accessing this endpoint Policies []*service.ResourcePolicy `protobuf:"bytes,5,rep,name=Policies,proto3" json:"Policies,omitempty"` // contains filtered or unexported fields }
Dynamically expose a job trigger via API
func (*JobHook) Descriptor
deprecated
added in
v4.0.5
func (*JobHook) GetAllowOverridePresets ¶ added in v4.0.5
func (*JobHook) GetApiSlug ¶ added in v4.0.5
func (*JobHook) GetMetadata ¶ added in v4.0.5
func (*JobHook) GetPolicies ¶ added in v4.0.5
func (x *JobHook) GetPolicies() []*service.ResourcePolicy
func (*JobHook) GetPresetParameters ¶ added in v4.0.5
func (*JobHook) ProtoMessage ¶ added in v4.0.5
func (*JobHook) ProtoMessage()
func (*JobHook) ProtoReflect ¶ added in v4.0.5
func (x *JobHook) ProtoReflect() protoreflect.Message
type JobParameter ¶
type JobParameter struct { // Parameter name Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` // Additional description Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"` // Value saved for this parameter Value string `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"` // If mandatory, job cannot start without a value Mandatory bool `protobuf:"varint,3,opt,name=Mandatory,proto3" json:"Mandatory,omitempty"` // Parameter type used in GUI forms Type string `protobuf:"bytes,5,opt,name=Type,proto3" json:"Type,omitempty"` // Additional data used by GUI elements JsonChoices string `protobuf:"bytes,6,opt,name=JsonChoices,proto3" json:"JsonChoices,omitempty"` // contains filtered or unexported fields }
func (*JobParameter) Descriptor
deprecated
func (*JobParameter) Descriptor() ([]byte, []int)
Deprecated: Use JobParameter.ProtoReflect.Descriptor instead.
func (*JobParameter) GetDescription ¶
func (x *JobParameter) GetDescription() string
func (*JobParameter) GetJsonChoices ¶
func (x *JobParameter) GetJsonChoices() string
func (*JobParameter) GetMandatory ¶
func (x *JobParameter) GetMandatory() bool
func (*JobParameter) GetName ¶
func (x *JobParameter) GetName() string
func (*JobParameter) GetType ¶
func (x *JobParameter) GetType() string
func (*JobParameter) GetValue ¶
func (x *JobParameter) GetValue() string
func (*JobParameter) ProtoMessage ¶
func (*JobParameter) ProtoMessage()
func (*JobParameter) ProtoReflect ¶
func (x *JobParameter) ProtoReflect() protoreflect.Message
func (*JobParameter) Reset ¶
func (x *JobParameter) Reset()
func (*JobParameter) String ¶
func (x *JobParameter) String() string
func (*JobParameter) Validate ¶
func (this *JobParameter) Validate() error
type JobServiceClient ¶
type JobServiceClient interface { PutJob(ctx context.Context, in *PutJobRequest, opts ...grpc.CallOption) (*PutJobResponse, error) GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*GetJobResponse, error) DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*DeleteJobResponse, error) ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (JobService_ListJobsClient, error) PutTask(ctx context.Context, in *PutTaskRequest, opts ...grpc.CallOption) (*PutTaskResponse, error) PutTaskStream(ctx context.Context, opts ...grpc.CallOption) (JobService_PutTaskStreamClient, error) ListTasks(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (JobService_ListTasksClient, error) DeleteTasks(ctx context.Context, in *DeleteTasksRequest, opts ...grpc.CallOption) (*DeleteTasksResponse, error) DetectStuckTasks(ctx context.Context, in *DetectStuckTasksRequest, opts ...grpc.CallOption) (*DetectStuckTasksResponse, error) }
JobServiceClient is the client API for JobService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewJobServiceClient ¶
func NewJobServiceClient(cc grpc.ClientConnInterface) JobServiceClient
type JobServiceEnhancedServer ¶
type JobServiceEnhancedServer map[string]NamedJobServiceServer
func (JobServiceEnhancedServer) DeleteJob ¶
func (m JobServiceEnhancedServer) DeleteJob(ctx context.Context, r *DeleteJobRequest) (*DeleteJobResponse, error)
func (JobServiceEnhancedServer) DeleteTasks ¶
func (m JobServiceEnhancedServer) DeleteTasks(ctx context.Context, r *DeleteTasksRequest) (*DeleteTasksResponse, error)
func (JobServiceEnhancedServer) DetectStuckTasks ¶
func (m JobServiceEnhancedServer) DetectStuckTasks(ctx context.Context, r *DetectStuckTasksRequest) (*DetectStuckTasksResponse, error)
func (JobServiceEnhancedServer) GetJob ¶
func (m JobServiceEnhancedServer) GetJob(ctx context.Context, r *GetJobRequest) (*GetJobResponse, error)
func (JobServiceEnhancedServer) ListJobs ¶
func (m JobServiceEnhancedServer) ListJobs(r *ListJobsRequest, s JobService_ListJobsServer) error
func (JobServiceEnhancedServer) ListTasks ¶
func (m JobServiceEnhancedServer) ListTasks(r *ListTasksRequest, s JobService_ListTasksServer) error
func (JobServiceEnhancedServer) PutJob ¶
func (m JobServiceEnhancedServer) PutJob(ctx context.Context, r *PutJobRequest) (*PutJobResponse, error)
func (JobServiceEnhancedServer) PutTask ¶
func (m JobServiceEnhancedServer) PutTask(ctx context.Context, r *PutTaskRequest) (*PutTaskResponse, error)
func (JobServiceEnhancedServer) PutTaskStream ¶
func (m JobServiceEnhancedServer) PutTaskStream(s JobService_PutTaskStreamServer) error
type JobServiceServer ¶
type JobServiceServer interface { PutJob(context.Context, *PutJobRequest) (*PutJobResponse, error) GetJob(context.Context, *GetJobRequest) (*GetJobResponse, error) DeleteJob(context.Context, *DeleteJobRequest) (*DeleteJobResponse, error) ListJobs(*ListJobsRequest, JobService_ListJobsServer) error PutTask(context.Context, *PutTaskRequest) (*PutTaskResponse, error) PutTaskStream(JobService_PutTaskStreamServer) error ListTasks(*ListTasksRequest, JobService_ListTasksServer) error DeleteTasks(context.Context, *DeleteTasksRequest) (*DeleteTasksResponse, error) DetectStuckTasks(context.Context, *DetectStuckTasksRequest) (*DetectStuckTasksResponse, error) // contains filtered or unexported methods }
JobServiceServer is the server API for JobService service. All implementations must embed UnimplementedJobServiceServer for forward compatibility
type JobService_ListJobsClient ¶
type JobService_ListJobsClient interface { Recv() (*ListJobsResponse, error) grpc.ClientStream }
type JobService_ListJobsServer ¶
type JobService_ListJobsServer interface { Send(*ListJobsResponse) error grpc.ServerStream }
type JobService_ListTasksClient ¶
type JobService_ListTasksClient interface { Recv() (*ListTasksResponse, error) grpc.ClientStream }
type JobService_ListTasksServer ¶
type JobService_ListTasksServer interface { Send(*ListTasksResponse) error grpc.ServerStream }
type JobService_PutTaskStreamClient ¶
type JobService_PutTaskStreamClient interface { Send(*PutTaskRequest) error Recv() (*PutTaskResponse, error) grpc.ClientStream }
type JobService_PutTaskStreamServer ¶
type JobService_PutTaskStreamServer interface { Send(*PutTaskResponse) error Recv() (*PutTaskRequest, error) grpc.ServerStream }
type JobTriggerEvent ¶
type JobTriggerEvent struct { // Id of the Job JobID string `protobuf:"bytes,1,opt,name=JobID,proto3" json:"JobID,omitempty"` // Schedule Schedule *Schedule `protobuf:"bytes,2,opt,name=Schedule,proto3" json:"Schedule,omitempty"` // Start job now RunNow bool `protobuf:"varint,3,opt,name=RunNow,proto3" json:"RunNow,omitempty"` // Impose the task unique ID for this run RunTaskId string `protobuf:"bytes,4,opt,name=RunTaskId,proto3" json:"RunTaskId,omitempty"` // Use specific parameters values for this run RunParameters map[string]string `` /* 167-byte string literal not displayed */ // This was triggered by the hooks API HookSlug string `protobuf:"bytes,6,opt,name=HookSlug,proto3" json:"HookSlug,omitempty"` // Predefined custom message TriggerMessage *ActionMessage `protobuf:"bytes,7,opt,name=TriggerMessage,proto3" json:"TriggerMessage,omitempty"` // contains filtered or unexported fields }
Simple Event sent by the timer service to trigger a JobID at a given time or to trigger a run now, with optional parameters
func (*JobTriggerEvent) Descriptor
deprecated
func (*JobTriggerEvent) Descriptor() ([]byte, []int)
Deprecated: Use JobTriggerEvent.ProtoReflect.Descriptor instead.
func (*JobTriggerEvent) GetHookSlug ¶ added in v4.0.5
func (x *JobTriggerEvent) GetHookSlug() string
func (*JobTriggerEvent) GetJobID ¶
func (x *JobTriggerEvent) GetJobID() string
func (*JobTriggerEvent) GetRunNow ¶
func (x *JobTriggerEvent) GetRunNow() bool
func (*JobTriggerEvent) GetRunParameters ¶
func (x *JobTriggerEvent) GetRunParameters() map[string]string
func (*JobTriggerEvent) GetRunTaskId ¶
func (x *JobTriggerEvent) GetRunTaskId() string
func (*JobTriggerEvent) GetSchedule ¶
func (x *JobTriggerEvent) GetSchedule() *Schedule
func (*JobTriggerEvent) GetTriggerMessage ¶ added in v4.0.5
func (x *JobTriggerEvent) GetTriggerMessage() *ActionMessage
func (*JobTriggerEvent) ProtoMessage ¶
func (*JobTriggerEvent) ProtoMessage()
func (*JobTriggerEvent) ProtoReflect ¶
func (x *JobTriggerEvent) ProtoReflect() protoreflect.Message
func (*JobTriggerEvent) Reset ¶
func (x *JobTriggerEvent) Reset()
func (*JobTriggerEvent) String ¶
func (x *JobTriggerEvent) String() string
func (*JobTriggerEvent) Validate ¶
func (this *JobTriggerEvent) Validate() error
type JsonChunk ¶ added in v4.3.1
type JsonChunk struct {
// contains filtered or unexported fields
}
type ListJobsRequest ¶
type ListJobsRequest struct { // Restrict to a specific owner (current user by default) Owner string `protobuf:"bytes,1,opt,name=Owner,proto3" json:"Owner,omitempty"` // Filter with only event-based jobs EventsOnly bool `protobuf:"varint,2,opt,name=EventsOnly,proto3" json:"EventsOnly,omitempty"` // Filter with only timer-based jobs TimersOnly bool `protobuf:"varint,3,opt,name=TimersOnly,proto3" json:"TimersOnly,omitempty"` // Load tasks that correspond to the given TaskStatus LoadTasks TaskStatus `protobuf:"varint,4,opt,name=LoadTasks,proto3,enum=jobs.TaskStatus" json:"LoadTasks,omitempty"` // Load jobs by their ID JobIDs []string `protobuf:"bytes,5,rep,name=JobIDs,proto3" json:"JobIDs,omitempty"` // Start listing at a given position TasksOffset int32 `protobuf:"varint,6,opt,name=TasksOffset,proto3" json:"TasksOffset,omitempty"` // Lmit the number of results TasksLimit int32 `protobuf:"varint,7,opt,name=TasksLimit,proto3" json:"TasksLimit,omitempty"` // contains filtered or unexported fields }
func (*ListJobsRequest) Descriptor
deprecated
func (*ListJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListJobsRequest.ProtoReflect.Descriptor instead.
func (*ListJobsRequest) GetEventsOnly ¶
func (x *ListJobsRequest) GetEventsOnly() bool
func (*ListJobsRequest) GetJobIDs ¶
func (x *ListJobsRequest) GetJobIDs() []string
func (*ListJobsRequest) GetLoadTasks ¶
func (x *ListJobsRequest) GetLoadTasks() TaskStatus
func (*ListJobsRequest) GetOwner ¶
func (x *ListJobsRequest) GetOwner() string
func (*ListJobsRequest) GetTasksLimit ¶
func (x *ListJobsRequest) GetTasksLimit() int32
func (*ListJobsRequest) GetTasksOffset ¶
func (x *ListJobsRequest) GetTasksOffset() int32
func (*ListJobsRequest) GetTimersOnly ¶
func (x *ListJobsRequest) GetTimersOnly() bool
func (*ListJobsRequest) ProtoMessage ¶
func (*ListJobsRequest) ProtoMessage()
func (*ListJobsRequest) ProtoReflect ¶
func (x *ListJobsRequest) ProtoReflect() protoreflect.Message
func (*ListJobsRequest) Reset ¶
func (x *ListJobsRequest) Reset()
func (*ListJobsRequest) String ¶
func (x *ListJobsRequest) String() string
func (*ListJobsRequest) Validate ¶
func (this *ListJobsRequest) Validate() error
type ListJobsResponse ¶
type ListJobsResponse struct { Job *Job `protobuf:"bytes,1,opt,name=Job,proto3" json:"Job,omitempty"` // contains filtered or unexported fields }
func (*ListJobsResponse) Descriptor
deprecated
func (*ListJobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListJobsResponse.ProtoReflect.Descriptor instead.
func (*ListJobsResponse) GetJob ¶
func (x *ListJobsResponse) GetJob() *Job
func (*ListJobsResponse) ProtoMessage ¶
func (*ListJobsResponse) ProtoMessage()
func (*ListJobsResponse) ProtoReflect ¶
func (x *ListJobsResponse) ProtoReflect() protoreflect.Message
func (*ListJobsResponse) Reset ¶
func (x *ListJobsResponse) Reset()
func (*ListJobsResponse) String ¶
func (x *ListJobsResponse) String() string
func (*ListJobsResponse) Validate ¶
func (this *ListJobsResponse) Validate() error
type ListTasksRequest ¶
type ListTasksRequest struct { // List tasks for the job with this Id JobID string `protobuf:"bytes,1,opt,name=JobID,proto3" json:"JobID,omitempty"` // List only tasks with this Status Status TaskStatus `protobuf:"varint,2,opt,name=Status,proto3,enum=jobs.TaskStatus" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*ListTasksRequest) Descriptor
deprecated
func (*ListTasksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTasksRequest.ProtoReflect.Descriptor instead.
func (*ListTasksRequest) GetJobID ¶
func (x *ListTasksRequest) GetJobID() string
func (*ListTasksRequest) GetStatus ¶
func (x *ListTasksRequest) GetStatus() TaskStatus
func (*ListTasksRequest) ProtoMessage ¶
func (*ListTasksRequest) ProtoMessage()
func (*ListTasksRequest) ProtoReflect ¶
func (x *ListTasksRequest) ProtoReflect() protoreflect.Message
func (*ListTasksRequest) Reset ¶
func (x *ListTasksRequest) Reset()
func (*ListTasksRequest) String ¶
func (x *ListTasksRequest) String() string
func (*ListTasksRequest) Validate ¶
func (this *ListTasksRequest) Validate() error
type ListTasksResponse ¶
type ListTasksResponse struct { Task *Task `protobuf:"bytes,1,opt,name=Task,proto3" json:"Task,omitempty"` // contains filtered or unexported fields }
func (*ListTasksResponse) Descriptor
deprecated
func (*ListTasksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTasksResponse.ProtoReflect.Descriptor instead.
func (*ListTasksResponse) GetTask ¶
func (x *ListTasksResponse) GetTask() *Task
func (*ListTasksResponse) ProtoMessage ¶
func (*ListTasksResponse) ProtoMessage()
func (*ListTasksResponse) ProtoReflect ¶
func (x *ListTasksResponse) ProtoReflect() protoreflect.Message
func (*ListTasksResponse) Reset ¶
func (x *ListTasksResponse) Reset()
func (*ListTasksResponse) String ¶
func (x *ListTasksResponse) String() string
func (*ListTasksResponse) Validate ¶
func (this *ListTasksResponse) Validate() error
type MessageMatcher ¶
type MessageMatcher struct {
*ActionOutputSingleQuery
}
func (*MessageMatcher) Matches ¶
func (m *MessageMatcher) Matches(object interface{}) bool
type NamedJobServiceServer ¶
type NamedJobServiceServer interface { JobServiceServer Name() string }
type NamedTaskServiceServer ¶
type NamedTaskServiceServer interface { TaskServiceServer Name() string }
type NodeMatcher ¶
func (*NodeMatcher) Matches ¶
func (n *NodeMatcher) Matches(object interface{}) bool
type NodesSelector ¶
type NodesSelector struct { // Select all files - ignore any other condition All bool `protobuf:"varint,1,opt,name=All,proto3" json:"All,omitempty"` // Preset list of node pathes Pathes []string `protobuf:"bytes,2,rep,name=Pathes,proto3" json:"Pathes,omitempty"` // Query to apply to select users (or filter a given node passed by event) Query *service.Query `protobuf:"bytes,4,opt,name=Query,proto3" json:"Query,omitempty"` // Whether to trigger one action per node or one action // with all nodes as selection Collect bool `protobuf:"varint,5,opt,name=Collect,proto3" json:"Collect,omitempty"` // Ignore query and just fan out input.Nodes FanOutInput bool `protobuf:"varint,9,opt,name=FanOutInput,proto3" json:"FanOutInput,omitempty"` // Selector custom label Label string `protobuf:"bytes,6,opt,name=Label,proto3" json:"Label,omitempty"` // Selector additional description Description string `protobuf:"bytes,7,opt,name=Description,proto3" json:"Description,omitempty"` // Optional Timeout for this selector Timeout string `protobuf:"bytes,8,opt,name=Timeout,proto3" json:"Timeout,omitempty"` // Clear previous selection ClearInput bool `protobuf:"varint,10,opt,name=ClearInput,proto3" json:"ClearInput,omitempty"` // Handle ranges Range *SelectorRange `protobuf:"bytes,11,opt,name=Range,proto3" json:"Range,omitempty"` // contains filtered or unexported fields }
///////////////// JOB SERVICE // /////////////////
func (*NodesSelector) ApplyClearInput ¶ added in v4.2.0
func (n *NodesSelector) ApplyClearInput(msg *ActionMessage) *ActionMessage
func (*NodesSelector) Descriptor
deprecated
func (*NodesSelector) Descriptor() ([]byte, []int)
Deprecated: Use NodesSelector.ProtoReflect.Descriptor instead.
func (*NodesSelector) Filter ¶
func (n *NodesSelector) Filter(ctx context.Context, input *ActionMessage) (*ActionMessage, *ActionMessage, bool)
func (*NodesSelector) FilterID ¶ added in v4.0.4
func (n *NodesSelector) FilterID() string
func (*NodesSelector) GetAll ¶
func (x *NodesSelector) GetAll() bool
func (*NodesSelector) GetClearInput ¶ added in v4.2.0
func (x *NodesSelector) GetClearInput() bool
func (*NodesSelector) GetCollect ¶
func (x *NodesSelector) GetCollect() bool
func (*NodesSelector) GetDescription ¶
func (x *NodesSelector) GetDescription() string
func (*NodesSelector) GetFanOutInput ¶ added in v4.0.5
func (x *NodesSelector) GetFanOutInput() bool
func (*NodesSelector) GetLabel ¶
func (x *NodesSelector) GetLabel() string
func (*NodesSelector) GetPathes ¶
func (x *NodesSelector) GetPathes() []string
func (*NodesSelector) GetQuery ¶
func (x *NodesSelector) GetQuery() *service.Query
func (*NodesSelector) GetRange ¶ added in v4.4.0
func (x *NodesSelector) GetRange() *SelectorRange
func (*NodesSelector) GetTimeout ¶ added in v4.0.1
func (x *NodesSelector) GetTimeout() string
func (*NodesSelector) MultipleSelection ¶
func (n *NodesSelector) MultipleSelection() bool
func (*NodesSelector) ProtoMessage ¶
func (*NodesSelector) ProtoMessage()
func (*NodesSelector) ProtoReflect ¶
func (x *NodesSelector) ProtoReflect() protoreflect.Message
func (*NodesSelector) Reset ¶
func (x *NodesSelector) Reset()
func (*NodesSelector) Select ¶
func (n *NodesSelector) Select(ctx context.Context, input *ActionMessage, objects chan interface{}, done chan bool) error
func (*NodesSelector) SelectorID ¶ added in v4.0.4
func (n *NodesSelector) SelectorID() string
func (*NodesSelector) SelectorLabel ¶ added in v4.2.6
func (n *NodesSelector) SelectorLabel() string
func (*NodesSelector) String ¶
func (x *NodesSelector) String() string
func (*NodesSelector) Validate ¶
func (this *NodesSelector) Validate() error
type PutJobRequest ¶
type PutJobRequest struct { Job *Job `protobuf:"bytes,1,opt,name=Job,proto3" json:"Job,omitempty"` // contains filtered or unexported fields }
func (*PutJobRequest) Descriptor
deprecated
func (*PutJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutJobRequest.ProtoReflect.Descriptor instead.
func (*PutJobRequest) GetJob ¶
func (x *PutJobRequest) GetJob() *Job
func (*PutJobRequest) ProtoMessage ¶
func (*PutJobRequest) ProtoMessage()
func (*PutJobRequest) ProtoReflect ¶
func (x *PutJobRequest) ProtoReflect() protoreflect.Message
func (*PutJobRequest) Reset ¶
func (x *PutJobRequest) Reset()
func (*PutJobRequest) String ¶
func (x *PutJobRequest) String() string
func (*PutJobRequest) Validate ¶
func (this *PutJobRequest) Validate() error
type PutJobResponse ¶
type PutJobResponse struct { Job *Job `protobuf:"bytes,1,opt,name=Job,proto3" json:"Job,omitempty"` // contains filtered or unexported fields }
func (*PutJobResponse) Descriptor
deprecated
func (*PutJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutJobResponse.ProtoReflect.Descriptor instead.
func (*PutJobResponse) GetJob ¶
func (x *PutJobResponse) GetJob() *Job
func (*PutJobResponse) ProtoMessage ¶
func (*PutJobResponse) ProtoMessage()
func (*PutJobResponse) ProtoReflect ¶
func (x *PutJobResponse) ProtoReflect() protoreflect.Message
func (*PutJobResponse) Reset ¶
func (x *PutJobResponse) Reset()
func (*PutJobResponse) String ¶
func (x *PutJobResponse) String() string
func (*PutJobResponse) Validate ¶
func (this *PutJobResponse) Validate() error
type PutTaskRequest ¶
type PutTaskRequest struct { Task *Task `protobuf:"bytes,1,opt,name=Task,proto3" json:"Task,omitempty"` StatusMeta map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PutTaskRequest) Descriptor
deprecated
func (*PutTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutTaskRequest.ProtoReflect.Descriptor instead.
func (*PutTaskRequest) GetStatusMeta ¶ added in v4.4.0
func (x *PutTaskRequest) GetStatusMeta() map[string]string
func (*PutTaskRequest) GetTask ¶
func (x *PutTaskRequest) GetTask() *Task
func (*PutTaskRequest) ProtoMessage ¶
func (*PutTaskRequest) ProtoMessage()
func (*PutTaskRequest) ProtoReflect ¶
func (x *PutTaskRequest) ProtoReflect() protoreflect.Message
func (*PutTaskRequest) Reset ¶
func (x *PutTaskRequest) Reset()
func (*PutTaskRequest) String ¶
func (x *PutTaskRequest) String() string
func (*PutTaskRequest) Validate ¶
func (this *PutTaskRequest) Validate() error
type PutTaskResponse ¶
type PutTaskResponse struct { Task *Task `protobuf:"bytes,1,opt,name=Task,proto3" json:"Task,omitempty"` // contains filtered or unexported fields }
func (*PutTaskResponse) Descriptor
deprecated
func (*PutTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutTaskResponse.ProtoReflect.Descriptor instead.
func (*PutTaskResponse) GetTask ¶
func (x *PutTaskResponse) GetTask() *Task
func (*PutTaskResponse) ProtoMessage ¶
func (*PutTaskResponse) ProtoMessage()
func (*PutTaskResponse) ProtoReflect ¶
func (x *PutTaskResponse) ProtoReflect() protoreflect.Message
func (*PutTaskResponse) Reset ¶
func (x *PutTaskResponse) Reset()
func (*PutTaskResponse) String ¶
func (x *PutTaskResponse) String() string
func (*PutTaskResponse) Validate ¶
func (this *PutTaskResponse) Validate() error
type RunParametersComputerFunc ¶ added in v4.4.0
type RunParametersComputerFunc func(ctx context.Context, input *ActionMessage, job *Job, event interface{}) map[string]string
var (
RunParametersComputer RunParametersComputerFunc
)
type Schedule ¶
type Schedule struct { // ISO 8601 Description of the scheduling for instance "R2/2015-06-04T19:25:16.828696-07:00/PT4S" // where first part is the number of repetitions (if 0, infinite repetition), // second part the starting date and last part, the duration between 2 occurrences. Iso8601Schedule string `protobuf:"bytes,1,opt,name=Iso8601Schedule,proto3" json:"Iso8601Schedule,omitempty"` // Minimum time between two runs Iso8601MinDelta string `protobuf:"bytes,3,opt,name=Iso8601MinDelta,proto3" json:"Iso8601MinDelta,omitempty"` // contains filtered or unexported fields }
func (*Schedule) Descriptor
deprecated
func (*Schedule) GetIso8601MinDelta ¶
func (*Schedule) GetIso8601Schedule ¶
func (*Schedule) ProtoMessage ¶
func (*Schedule) ProtoMessage()
func (*Schedule) ProtoReflect ¶
func (x *Schedule) ProtoReflect() protoreflect.Message
type SelectorRange ¶ added in v4.4.0
type SelectorRange struct { // Limit number of results - use string to allow templating Limit string `protobuf:"bytes,10,opt,name=Limit,proto3" json:"Limit,omitempty"` // Start offset - use string to allow templating Offset string `protobuf:"bytes,11,opt,name=Offset,proto3" json:"Offset,omitempty"` // OrderBy a given field of the object OrderBy string `protobuf:"bytes,12,opt,name=OrderBy,proto3" json:"OrderBy,omitempty"` // Order direction (asc/desc) OrderDir string `protobuf:"bytes,13,opt,name=OrderDir,proto3" json:"OrderDir,omitempty"` // contains filtered or unexported fields }
func (*SelectorRange) Descriptor
deprecated
added in
v4.4.0
func (*SelectorRange) Descriptor() ([]byte, []int)
Deprecated: Use SelectorRange.ProtoReflect.Descriptor instead.
func (*SelectorRange) GetLimit ¶ added in v4.4.0
func (x *SelectorRange) GetLimit() string
func (*SelectorRange) GetOffset ¶ added in v4.4.0
func (x *SelectorRange) GetOffset() string
func (*SelectorRange) GetOrderBy ¶ added in v4.4.0
func (x *SelectorRange) GetOrderBy() string
func (*SelectorRange) GetOrderDir ¶ added in v4.4.0
func (x *SelectorRange) GetOrderDir() string
func (*SelectorRange) ProtoMessage ¶ added in v4.4.0
func (*SelectorRange) ProtoMessage()
func (*SelectorRange) ProtoReflect ¶ added in v4.4.0
func (x *SelectorRange) ProtoReflect() protoreflect.Message
func (*SelectorRange) Reset ¶ added in v4.4.0
func (x *SelectorRange) Reset()
func (*SelectorRange) String ¶ added in v4.4.0
func (x *SelectorRange) String() string
func (*SelectorRange) Validate ¶ added in v4.4.0
func (this *SelectorRange) Validate() error
type Task ¶
type Task struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` JobID string `protobuf:"bytes,2,opt,name=JobID,proto3" json:"JobID,omitempty"` Status TaskStatus `protobuf:"varint,3,opt,name=Status,proto3,enum=jobs.TaskStatus" json:"Status,omitempty"` StatusMessage string `protobuf:"bytes,4,opt,name=StatusMessage,proto3" json:"StatusMessage,omitempty"` TriggerOwner string `protobuf:"bytes,5,opt,name=TriggerOwner,proto3" json:"TriggerOwner,omitempty"` StartTime int32 `protobuf:"varint,6,opt,name=StartTime,proto3" json:"StartTime,omitempty"` EndTime int32 `protobuf:"varint,7,opt,name=EndTime,proto3" json:"EndTime,omitempty"` // Can be interrupted CanStop bool `protobuf:"varint,8,opt,name=CanStop,proto3" json:"CanStop,omitempty"` // Can be paused/resumed CanPause bool `protobuf:"varint,9,opt,name=CanPause,proto3" json:"CanPause,omitempty"` // Tasks publish a progress HasProgress bool `protobuf:"varint,10,opt,name=HasProgress,proto3" json:"HasProgress,omitempty"` // Float value of the progress between 0 and 1 Progress float32 `protobuf:"fixed32,11,opt,name=Progress,proto3" json:"Progress,omitempty"` // Logs of all the actions performed ActionsLogs []*ActionLog `protobuf:"bytes,12,rep,name=ActionsLogs,proto3" json:"ActionsLogs,omitempty"` // contains filtered or unexported fields }
func (*Task) Descriptor
deprecated
func (*Task) GetActionsLogs ¶
func (*Task) GetCanPause ¶
func (*Task) GetCanStop ¶
func (*Task) GetCtxOperationID ¶
func (*Task) GetEndTime ¶
func (*Task) GetHasProgress ¶
func (*Task) GetProgress ¶
func (*Task) GetStartTime ¶
func (*Task) GetStatus ¶
func (x *Task) GetStatus() TaskStatus
func (*Task) GetStatusMessage ¶
func (*Task) GetTriggerOwner ¶
func (*Task) MarshalLogObject ¶
func (task *Task) MarshalLogObject(encoder zapcore.ObjectEncoder) error
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) ProtoReflect ¶
func (x *Task) ProtoReflect() protoreflect.Message
type TaskChangeEvent ¶
type TaskChangeEvent struct { TaskUpdated *Task `protobuf:"bytes,1,opt,name=TaskUpdated,proto3" json:"TaskUpdated,omitempty"` Job *Job `protobuf:"bytes,2,opt,name=Job,proto3" json:"Job,omitempty"` NanoStamp int64 `protobuf:"varint,3,opt,name=NanoStamp,proto3" json:"NanoStamp,omitempty"` StatusMeta map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TaskChangeEvent) Descriptor
deprecated
func (*TaskChangeEvent) Descriptor() ([]byte, []int)
Deprecated: Use TaskChangeEvent.ProtoReflect.Descriptor instead.
func (*TaskChangeEvent) GetJob ¶
func (x *TaskChangeEvent) GetJob() *Job
func (*TaskChangeEvent) GetNanoStamp ¶ added in v4.4.0
func (x *TaskChangeEvent) GetNanoStamp() int64
func (*TaskChangeEvent) GetStatusMeta ¶ added in v4.4.0
func (x *TaskChangeEvent) GetStatusMeta() map[string]string
func (*TaskChangeEvent) GetTaskUpdated ¶
func (x *TaskChangeEvent) GetTaskUpdated() *Task
func (*TaskChangeEvent) ProtoMessage ¶
func (*TaskChangeEvent) ProtoMessage()
func (*TaskChangeEvent) ProtoReflect ¶
func (x *TaskChangeEvent) ProtoReflect() protoreflect.Message
func (*TaskChangeEvent) Reset ¶
func (x *TaskChangeEvent) Reset()
func (*TaskChangeEvent) String ¶
func (x *TaskChangeEvent) String() string
func (*TaskChangeEvent) Validate ¶
func (this *TaskChangeEvent) Validate() error
type TaskServiceClient ¶
type TaskServiceClient interface {
Control(ctx context.Context, in *CtrlCommand, opts ...grpc.CallOption) (*CtrlCommandResponse, error)
}
TaskServiceClient is the client API for TaskService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTaskServiceClient ¶
func NewTaskServiceClient(cc grpc.ClientConnInterface) TaskServiceClient
type TaskServiceEnhancedServer ¶
type TaskServiceEnhancedServer map[string]NamedTaskServiceServer
func (TaskServiceEnhancedServer) Control ¶
func (m TaskServiceEnhancedServer) Control(ctx context.Context, r *CtrlCommand) (*CtrlCommandResponse, error)
type TaskServiceServer ¶
type TaskServiceServer interface { Control(context.Context, *CtrlCommand) (*CtrlCommandResponse, error) // contains filtered or unexported methods }
TaskServiceServer is the server API for TaskService service. All implementations must embed UnimplementedTaskServiceServer for forward compatibility
type TaskStatus ¶
type TaskStatus int32
///////////////// TASK SERVICE // /////////////////
const ( TaskStatus_Unknown TaskStatus = 0 TaskStatus_Idle TaskStatus = 1 TaskStatus_Running TaskStatus = 2 TaskStatus_Finished TaskStatus = 3 TaskStatus_Interrupted TaskStatus = 4 TaskStatus_Paused TaskStatus = 5 TaskStatus_Any TaskStatus = 6 TaskStatus_Error TaskStatus = 7 TaskStatus_Queued TaskStatus = 8 )
func (TaskStatus) Descriptor ¶
func (TaskStatus) Descriptor() protoreflect.EnumDescriptor
func (TaskStatus) Enum ¶
func (x TaskStatus) Enum() *TaskStatus
func (TaskStatus) EnumDescriptor
deprecated
func (TaskStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use TaskStatus.Descriptor instead.
func (TaskStatus) Number ¶
func (x TaskStatus) Number() protoreflect.EnumNumber
func (TaskStatus) String ¶
func (x TaskStatus) String() string
func (TaskStatus) Type ¶
func (TaskStatus) Type() protoreflect.EnumType
type TriggerFilter ¶
type TriggerFilter struct { // Filter custom label Label string `protobuf:"bytes,1,opt,name=Label,proto3" json:"Label,omitempty"` // Filter additional description Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"` // Filter type Query *service.Query `protobuf:"bytes,3,opt,name=Query,proto3" json:"Query,omitempty"` // contains filtered or unexported fields }
Filter for events, can be applied on action branches
func (*TriggerFilter) Descriptor
deprecated
func (*TriggerFilter) Descriptor() ([]byte, []int)
Deprecated: Use TriggerFilter.ProtoReflect.Descriptor instead.
func (*TriggerFilter) Filter ¶
func (m *TriggerFilter) Filter(ctx context.Context, input *ActionMessage) (*ActionMessage, *ActionMessage, bool)
func (*TriggerFilter) FilterID ¶ added in v4.0.4
func (m *TriggerFilter) FilterID() string
func (*TriggerFilter) GetDescription ¶
func (x *TriggerFilter) GetDescription() string
func (*TriggerFilter) GetLabel ¶
func (x *TriggerFilter) GetLabel() string
func (*TriggerFilter) GetQuery ¶
func (x *TriggerFilter) GetQuery() *service.Query
func (*TriggerFilter) ProtoMessage ¶
func (*TriggerFilter) ProtoMessage()
func (*TriggerFilter) ProtoReflect ¶
func (x *TriggerFilter) ProtoReflect() protoreflect.Message
func (*TriggerFilter) Reset ¶
func (x *TriggerFilter) Reset()
func (*TriggerFilter) String ¶
func (x *TriggerFilter) String() string
func (*TriggerFilter) Validate ¶
func (this *TriggerFilter) Validate() error
type TriggerFilterQuery ¶
type TriggerFilterQuery struct { // Event was triggered by a programed schedule IsSchedule bool `protobuf:"varint,1,opt,name=IsSchedule,proto3" json:"IsSchedule,omitempty"` // Event was triggered manually in the CellsFlows/Scheduler console IsManual bool `protobuf:"varint,2,opt,name=IsManual,proto3" json:"IsManual,omitempty"` // Event was triggered by a WebHook (can be in the user space) IsApiHook bool `protobuf:"varint,4,opt,name=IsApiHook,proto3" json:"IsApiHook,omitempty"` // Event was triggered by a specific WebHook (by its unique slug) ApiHookSlug string `protobuf:"bytes,5,opt,name=ApiHookSlug,proto3" json:"ApiHookSlug,omitempty"` // Filter by a name/value on a runtime defined parameter RunParameterName string `protobuf:"bytes,6,opt,name=RunParameterName,proto3" json:"RunParameterName,omitempty"` // Combined with RunParameterName, value used for comparison RunParameterValue string `protobuf:"bytes,7,opt,name=RunParameterValue,proto3" json:"RunParameterValue,omitempty"` // Event was trigger by one of these Events EventNames []string `protobuf:"bytes,3,rep,name=EventNames,proto3" json:"EventNames,omitempty"` // contains filtered or unexported fields }
Atomic query for TriggerFilter
func (*TriggerFilterQuery) Descriptor
deprecated
func (*TriggerFilterQuery) Descriptor() ([]byte, []int)
Deprecated: Use TriggerFilterQuery.ProtoReflect.Descriptor instead.
func (*TriggerFilterQuery) GetApiHookSlug ¶ added in v4.0.5
func (x *TriggerFilterQuery) GetApiHookSlug() string
func (*TriggerFilterQuery) GetEventNames ¶
func (x *TriggerFilterQuery) GetEventNames() []string
func (*TriggerFilterQuery) GetIsApiHook ¶ added in v4.0.5
func (x *TriggerFilterQuery) GetIsApiHook() bool
func (*TriggerFilterQuery) GetIsManual ¶
func (x *TriggerFilterQuery) GetIsManual() bool
func (*TriggerFilterQuery) GetIsSchedule ¶
func (x *TriggerFilterQuery) GetIsSchedule() bool
func (*TriggerFilterQuery) GetRunParameterName ¶ added in v4.0.5
func (x *TriggerFilterQuery) GetRunParameterName() string
func (*TriggerFilterQuery) GetRunParameterValue ¶ added in v4.0.5
func (x *TriggerFilterQuery) GetRunParameterValue() string
func (*TriggerFilterQuery) ProtoMessage ¶
func (*TriggerFilterQuery) ProtoMessage()
func (*TriggerFilterQuery) ProtoReflect ¶
func (x *TriggerFilterQuery) ProtoReflect() protoreflect.Message
func (*TriggerFilterQuery) Reset ¶
func (x *TriggerFilterQuery) Reset()
func (*TriggerFilterQuery) String ¶
func (x *TriggerFilterQuery) String() string
func (*TriggerFilterQuery) Validate ¶
func (this *TriggerFilterQuery) Validate() error
type UnimplementedJobServiceServer ¶
type UnimplementedJobServiceServer struct { }
UnimplementedJobServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedJobServiceServer) DeleteJob ¶
func (UnimplementedJobServiceServer) DeleteJob(context.Context, *DeleteJobRequest) (*DeleteJobResponse, error)
func (UnimplementedJobServiceServer) DeleteTasks ¶
func (UnimplementedJobServiceServer) DeleteTasks(context.Context, *DeleteTasksRequest) (*DeleteTasksResponse, error)
func (UnimplementedJobServiceServer) DetectStuckTasks ¶
func (UnimplementedJobServiceServer) DetectStuckTasks(context.Context, *DetectStuckTasksRequest) (*DetectStuckTasksResponse, error)
func (UnimplementedJobServiceServer) GetJob ¶
func (UnimplementedJobServiceServer) GetJob(context.Context, *GetJobRequest) (*GetJobResponse, error)
func (UnimplementedJobServiceServer) ListJobs ¶
func (UnimplementedJobServiceServer) ListJobs(*ListJobsRequest, JobService_ListJobsServer) error
func (UnimplementedJobServiceServer) ListTasks ¶
func (UnimplementedJobServiceServer) ListTasks(*ListTasksRequest, JobService_ListTasksServer) error
func (UnimplementedJobServiceServer) PutJob ¶
func (UnimplementedJobServiceServer) PutJob(context.Context, *PutJobRequest) (*PutJobResponse, error)
func (UnimplementedJobServiceServer) PutTask ¶
func (UnimplementedJobServiceServer) PutTask(context.Context, *PutTaskRequest) (*PutTaskResponse, error)
func (UnimplementedJobServiceServer) PutTaskStream ¶
func (UnimplementedJobServiceServer) PutTaskStream(JobService_PutTaskStreamServer) error
type UnimplementedTaskServiceServer ¶
type UnimplementedTaskServiceServer struct { }
UnimplementedTaskServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTaskServiceServer) Control ¶
func (UnimplementedTaskServiceServer) Control(context.Context, *CtrlCommand) (*CtrlCommandResponse, error)
type UnsafeJobServiceServer ¶
type UnsafeJobServiceServer interface {
// contains filtered or unexported methods
}
UnsafeJobServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to JobServiceServer will result in compilation errors.
type UnsafeTaskServiceServer ¶
type UnsafeTaskServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTaskServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TaskServiceServer will result in compilation errors.
type UsersSelector ¶
type UsersSelector struct { // Select all users All bool `protobuf:"varint,1,opt,name=All,proto3" json:"All,omitempty"` // Preset set of Users Users []*idm.User `protobuf:"bytes,2,rep,name=Users,proto3" json:"Users,omitempty"` // Filter users using this query Query *service.Query `protobuf:"bytes,3,opt,name=Query,proto3" json:"Query,omitempty"` // Wether to trigger one action per user or one action // with all user as a selection Collect bool `protobuf:"varint,5,opt,name=Collect,proto3" json:"Collect,omitempty"` // Selector custom label Label string `protobuf:"bytes,6,opt,name=Label,proto3" json:"Label,omitempty"` // Selector additional description Description string `protobuf:"bytes,7,opt,name=Description,proto3" json:"Description,omitempty"` // Optional Timeout for this selector Timeout string `protobuf:"bytes,8,opt,name=Timeout,proto3" json:"Timeout,omitempty"` // Clear previous selection ClearInput bool `protobuf:"varint,9,opt,name=ClearInput,proto3" json:"ClearInput,omitempty"` // contains filtered or unexported fields }
Select or filter users - should be replaced by more generic IdmSelector
func (*UsersSelector) ApplyClearInput ¶ added in v4.2.0
func (m *UsersSelector) ApplyClearInput(msg *ActionMessage) *ActionMessage
func (*UsersSelector) Descriptor
deprecated
func (*UsersSelector) Descriptor() ([]byte, []int)
Deprecated: Use UsersSelector.ProtoReflect.Descriptor instead.
func (*UsersSelector) Filter ¶
func (n *UsersSelector) Filter(ctx context.Context, input *ActionMessage) (*ActionMessage, bool)
Filter is not implemented. Use IdmSelector object instead
func (*UsersSelector) GetAll ¶
func (x *UsersSelector) GetAll() bool
func (*UsersSelector) GetClearInput ¶ added in v4.2.0
func (x *UsersSelector) GetClearInput() bool
func (*UsersSelector) GetCollect ¶
func (x *UsersSelector) GetCollect() bool
func (*UsersSelector) GetDescription ¶
func (x *UsersSelector) GetDescription() string
func (*UsersSelector) GetLabel ¶
func (x *UsersSelector) GetLabel() string
func (*UsersSelector) GetQuery ¶
func (x *UsersSelector) GetQuery() *service.Query
func (*UsersSelector) GetTimeout ¶ added in v4.0.1
func (x *UsersSelector) GetTimeout() string
func (*UsersSelector) GetUsers ¶
func (x *UsersSelector) GetUsers() []*idm.User
func (*UsersSelector) MultipleSelection ¶
func (m *UsersSelector) MultipleSelection() bool
func (*UsersSelector) ProtoMessage ¶
func (*UsersSelector) ProtoMessage()
func (*UsersSelector) ProtoReflect ¶
func (x *UsersSelector) ProtoReflect() protoreflect.Message
func (*UsersSelector) Reset ¶
func (x *UsersSelector) Reset()
func (*UsersSelector) Select ¶
func (m *UsersSelector) Select(ctx context.Context, input *ActionMessage, objects chan interface{}, done chan bool) error
Select performs a query on the User Service to load a list of users. The more generic IdmSelector should be used instead.
func (*UsersSelector) SelectorID ¶ added in v4.0.4
func (m *UsersSelector) SelectorID() string
func (*UsersSelector) SelectorLabel ¶ added in v4.2.6
func (m *UsersSelector) SelectorLabel() string
func (*UsersSelector) String ¶
func (x *UsersSelector) String() string
func (*UsersSelector) Validate ¶
func (this *UsersSelector) Validate() error
Source Files ¶
- action-message.go
- action-output-filter.go
- action-output.go
- action.go
- cells-jobs.pb.go
- cells-jobs.validator.pb.go
- cells-jobs_grpc.enhanced.pb.go
- cells-jobs_grpc.pb.go
- chat-filter.go
- context-meta-filter.go
- data-selector.go
- defaults-registry.go
- ds-selector.go
- event.go
- idm-selector.go
- job.go
- nodes-selector.go
- selector.go
- trigger-filter.go
- users-selector.go