executor

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package executor This package provides an interface to talk to admin for scheduled executions. The implementation constructs a request using the schedule details and the passed in schedule time to be sent to admin for execution

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor interface {
	// Execute sends a scheduled execution request to admin
	Execute(ctx context.Context, scheduledTime time.Time, s models.SchedulableEntity) error
}

Executor allows the ability to create scheduled executions on admin

func New

func New(scope promutils.Scope,
	adminServiceClient service.AdminServiceClient) Executor

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL