emrserverless

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	service.AbstractResource
	*types.Application
}

func NewApplication

func NewApplication(client AwsClient, application *types.Application) Application

func (Application) GetName

func (e Application) GetName() string

func (Application) GetTagValue

func (e Application) GetTagValue(tag string) string

func (Application) GetTags

func (e Application) GetTags() map[string]string

type ApplicationList

type ApplicationList struct {
	Items []Application
}

type AwsClient

type AwsClient interface {
	GetRegion() ptypes.AwsRegion
	GetAccountID() ptypes.AwsAccountID
	EMRServerless() *emrserverless.Client
}

type EMRServerlessRepository

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

func NewEMRServerlessRepository

func NewEMRServerlessRepository(ctx context.Context, client AwsClient) *EMRServerlessRepository

func (*EMRServerlessRepository) DescribeApplication

func (r *EMRServerlessRepository) DescribeApplication(applicationId *string) (*Application, error)

func (*EMRServerlessRepository) DescribeApplicationByInput

func (r *EMRServerlessRepository) DescribeApplicationByInput(query *emrserverless.GetApplicationInput) (*Application, error)

func (*EMRServerlessRepository) GetRegion

func (r *EMRServerlessRepository) GetRegion() ptypes.AwsRegion

func (*EMRServerlessRepository) ListApplicationsActive

func (r *EMRServerlessRepository) ListApplicationsActive() ([]Application, error)

func (*EMRServerlessRepository) ListApplicationsAll

func (r *EMRServerlessRepository) ListApplicationsAll(maxResults *int32) ([]Application, error)

func (*EMRServerlessRepository) ListApplicationsByInput

func (r *EMRServerlessRepository) ListApplicationsByInput(query *emrserverless.ListApplicationsInput) ([]Application, error)

func (*EMRServerlessRepository) ListJobRunsAll

func (r *EMRServerlessRepository) ListJobRunsAll() ([]JobRun, error)

func (*EMRServerlessRepository) ListJobRunsByInput

func (r *EMRServerlessRepository) ListJobRunsByInput(query *emrserverless.ListJobRunsInput) ([]JobRun, error)

ListJobRunsByInput returns all job runs for a given Input

type JobRun

type JobRun struct {
	service.AbstractResource
	*types.JobRun
}

func NewJobRun

func NewJobRun(client AwsClient, jobRun *types.JobRun) JobRun

func (JobRun) GetName

func (e JobRun) GetName() string

func (JobRun) GetTagValue

func (e JobRun) GetTagValue(tag string) string

func (JobRun) GetTags

func (e JobRun) GetTags() map[string]string

type JobRunList

type JobRunList struct {
	Items []JobRun
}

Jump to

Keyboard shortcuts

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