generator

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package generator generates a command given an ECS service or a workload.

Package generator generates a command given an ECS service or a workload.

Package generator generates a command given an ECS service or a workload.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ECSServiceCommandGenerator

type ECSServiceCommandGenerator struct {
	Cluster   string
	Service   string
	ECSClient ecsClient
}

ECSServiceCommandGenerator generates task run command given an ECS service.

func (ECSServiceCommandGenerator) Generate

Generate generates a task run command.

type GenerateCommandOpts

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

GenerateCommandOpts contains information to generate a task run command.

func (GenerateCommandOpts) String

func (o GenerateCommandOpts) String() string

String stringifies a GenerateCommandOpts.

type ServiceCommandGenerator

type ServiceCommandGenerator struct {
	App                  string
	Env                  string
	Service              string
	ECSInformationGetter ecsInformationGetter
}

ServiceCommandGenerator generates task run command given a Copilot service.

func (ServiceCommandGenerator) Generate

Generate generates a task run command.

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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