awscontainer

package
v0.0.0-...-4f62784 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerOverride

type ContainerOverride struct {
	Name              string
	MemoryReservation string
	Memory            int
	Cpu               int
	Command           []string
	Environments      []Environment
}

ContainerOverride struct represents ContainerOverride attributes.

type CreateService

type CreateService struct {
	ServiceName              string
	TaskDefinition           string
	DesiredCount             int
	ClientToken              string
	Cluster                  string
	Role                     string
	DeploymentConfigurations DeploymentConfiguration
	LoadBalancers            []LoadBalancer
	PlacementConstraints     []Placementconstraint
	PlacementStrategys       []Placementstrategy
}

CreateService struct represents Ecscontainer CreateService methods.

type DeleteService

type DeleteService struct {
	Cluster string
	Service string
}

DeleteService struct represents DeleteService attributes.

type DeploymentConfiguration

type DeploymentConfiguration struct {
	MaximumPercent        int
	MinimumHealthyPercent int
}

DeploymentConfiguration struct represents DeploymentConfiguration.

type Ecscontainer

type Ecscontainer struct {
}

Ecscontainer struct represents Ecscontainer attribute and methods associates with it.

func (*Ecscontainer) CreateCluster

func (ecscontainer *Ecscontainer) CreateCluster(request interface{}) (resp interface{}, err error)

CreateCluster creates cluster.

func (*Ecscontainer) CreateService

func (ecscontainer *Ecscontainer) CreateService(request interface{}) (resp interface{}, err error)

CreateService creates container service.

func (*Ecscontainer) DeleteCluster

func (ecscontainer *Ecscontainer) DeleteCluster(request interface{}) (resp interface{}, err error)

DeleteCluster delete cluster.

func (*Ecscontainer) DeleteService

func (ecscontainer *Ecscontainer) DeleteService(request interface{}) (resp interface{}, err error)

DeleteService Delete container service.

func (*Ecscontainer) PrepareSignatureV4query

func (ecscontainer *Ecscontainer) PrepareSignatureV4query(params map[string]string, paramsmap map[string]interface{}, response map[string]interface{}) error

PrepareSignatureV4query creates PrepareSignatureV4 for request.

func (*Ecscontainer) RunTask

func (ecscontainer *Ecscontainer) RunTask(request interface{}) (resp interface{}, err error)

RunTask runs container.

func (*Ecscontainer) StartTask

func (ecscontainer *Ecscontainer) StartTask(request interface{}) (resp interface{}, err error)

StartTask start container service.

func (*Ecscontainer) StopTask

func (ecscontainer *Ecscontainer) StopTask(request interface{}) (resp interface{}, err error)

StopTask stops container.

type Environment

type Environment struct {
	Name  string
	Value string
}

Environment struct represents Environment attributes.

type LoadBalancer

type LoadBalancer struct {
	ContainerName    string
	ContainerPort    int
	LoadBalancerName string
	TargetGroupArn   string
}

LoadBalancer struct represents LoadBalancer.

type Placementconstraint

type Placementconstraint struct {
	Expression string
	Type       string
}

Placementconstraint struct represents Ecscontainer Placement constraint.

type Placementstrategy

type Placementstrategy struct {
	Field string
	Type  string
}

Placementstrategy struct represents Ecscontainer Placement strategy.

type RunTask

type RunTask struct {
	PlacementConstraints []Placementconstraint
	PlacementStrategys   []Placementstrategy
	Cluster              string
	Count                int
	Group                string
	StartedBy            string
	TaskDefinition       string
	// contains filtered or unexported fields
}

RunTask struct represents RunTask attributes.

type StartTask

type StartTask struct {
	Cluster            string
	ContainerInstances []string
	Group              string
	StartedBy          string
	TaskDefinition     string
	// contains filtered or unexported fields
}

StartTask struct represents StartTask attributes.

type StopTask

type StopTask struct {
	Cluster string
	Reason  string
	Task    string
}

StopTask struct represents StopTask attributes.

Jump to

Keyboard shortcuts

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