emr_serverless

package
v0.11.179 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: Apache-2.0 Imports: 24 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(cfg *config.Config) (*BasicOperator, error)

func (*BasicOperator) Run

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
}

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 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