taskmock

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mock

func Mock(opts ...optFunc) []*awsmocker.MockedEndpoint

func WithCounts

func WithCounts(pcount, rcount int) optFunc

func WithExitCode

func WithExitCode(val int) optFunc

func WithFamily

func WithFamily(val string) optFunc

func WithSReason

func WithSReason(val ecsTypes.TaskStopCode) optFunc

Types

type Options

type Options struct {
	PendingCount int
	RunningCount int
	ExitCode     int
	Family       string
	StopReason   ecsTypes.TaskStopCode
}

Jump to

Keyboard shortcuts

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