emr_serverless

package
v0.11.310 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicOperator

type BasicOperator struct {
	// contains filtered or unexported fields
}

func NewBasicOperator

func NewBasicOperator(conn config.ConnectionGetter, env map[string]string) (*BasicOperator, error)

func (*BasicOperator) Run

type CheckRunner added in v0.11.207

type CheckRunner interface {
	Check(ctx context.Context, ti *scheduler.ColumnCheckInstance) error
}

type Client added in v0.11.187

type Client struct {
	Config
}

func NewClient added in v0.11.187

func NewClient(c Config) (*Client, error)

type ColumnCheckOperator added in v0.11.207

type ColumnCheckOperator struct {
	// contains filtered or unexported fields
}

func NewColumnCheckOperator added in v0.11.207

func NewColumnCheckOperator(conn config.ConnectionGetter) *ColumnCheckOperator

func (*ColumnCheckOperator) Run added in v0.11.207

type Config added in v0.11.187

type Config struct {
	AccessKey     string `yaml:"access_key"`
	SecretKey     string `yaml:"secret_key"`
	ApplicationID string `yaml:"application_id"`
	ExecutionRole string `yaml:"execution_role"`
	Region        string `yaml:"region"`
	Workspace     string `yaml:"workspace"`
}

type CustomCheckOperator added in v0.11.207

type CustomCheckOperator struct {
	// contains filtered or unexported fields
}

func NewCustomCheckOperator added in v0.11.207

func NewCustomCheckOperator(conn config.ConnectionGetter, renderer jinja.RendererInterface) *CustomCheckOperator

func (*CustomCheckOperator) Run added in v0.11.207

type CustomCheckRunner added in v0.11.207

type CustomCheckRunner interface {
	Check(ctx context.Context, ti *scheduler.CustomCheckInstance) error
}

type Job

type Job struct {
	// contains filtered or unexported fields
}

func (Job) Run

func (job Job) Run(ctx context.Context) (err error)

type JobRunParams

type JobRunParams struct {
	ApplicationID string
	ExecutionRole string
	Entrypoint    string
	Args          []string
	Config        string
	Timeout       time.Duration
	Region        string
	Logs          string
	Workspace     string
}

type LogConsumer added in v0.11.177

type LogConsumer interface {
	Next() []LogLine
}

type LogLine added in v0.11.177

type LogLine struct {
	Message string
	Source  LogSource
}

type LogSource added in v0.11.178

type LogSource struct {
	URI    *url.URL
	Name   string
	Stream string
}

type MissingFieldsError added in v0.11.187

type MissingFieldsError struct {
	Fields []string
}

func (*MissingFieldsError) Error added in v0.11.187

func (e *MissingFieldsError) Error() string

type NoOpLogConsumer added in v0.11.177

type NoOpLogConsumer struct{}

func (*NoOpLogConsumer) Next added in v0.11.177

func (l *NoOpLogConsumer) Next() []LogLine

type PollTimer added in v0.11.176

type PollTimer struct {
	BaseDuration time.Duration
	RetryCount   int
	MaxRetry     int
}

func (*PollTimer) Duration added in v0.11.176

func (p *PollTimer) Duration() time.Duration

func (*PollTimer) Increase added in v0.11.176

func (p *PollTimer) Increase()

func (*PollTimer) Reset added in v0.11.176

func (p *PollTimer) Reset()

type S3LogConsumer added in v0.11.177

type S3LogConsumer struct {
	Ctx   context.Context //nolint
	S3cli *s3.Client
	URI   *url.URL
	RunID string
	AppID string
	// contains filtered or unexported fields
}

func (*S3LogConsumer) Next added in v0.11.177

func (l *S3LogConsumer) Next() (lines []LogLine)

Jump to

Keyboard shortcuts

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