Documentation ¶
Index ¶
Constants ¶
View Source
const (
ContainerDefinitionName = "ecs-container-def.json"
)
View Source
const (
EcspressoConfigName = "ecspresso.yml"
)
View Source
const (
ServiceDefinitionName = "ecs-service-def.json"
)
View Source
const (
TaskDefinitionName = "ecs-task-def.json"
)
Variables ¶
This section is empty.
Functions ¶
func RunTask ¶
func RunTask(opts *RunOptions, ecsConf *EcspressoConfig, svrDef *ServiceDefinition, taskDef *TaskDefinition) (err error)
Types ¶
type BuildOptions ¶
type ContainerDefinition ¶
type ContainerDefinition struct {
Content []byte
}
func BuildContainerDefinition ¶
func BuildContainerDefinition(path string, taskDefPath string, overrides []byte) (*ContainerDefinition, error)
func NewContainerDefinition ¶
func NewContainerDefinition(path string, taskDefPath string) (*ContainerDefinition, error)
func (*ContainerDefinition) Patch ¶
func (containerDef *ContainerDefinition) Patch(overrides []byte) error
type EcspressoConfig ¶
type EcspressoConfig struct {
Content []byte
}
func BuildEcspressoConfig ¶
func BuildEcspressoConfig(path string, overrides []byte) (*EcspressoConfig, error)
func NewEcspressoConfig ¶
func NewEcspressoConfig(path string) (*EcspressoConfig, error)
func (*EcspressoConfig) Patch ¶
func (ecsConf *EcspressoConfig) Patch(overrides []byte) error
func (*EcspressoConfig) Print ¶
func (ecsConf *EcspressoConfig) Print()
type RunOptions ¶
type Runner ¶
type Runner struct {
*RunOptions
}
type ServiceDefinition ¶
type ServiceDefinition struct {
Content []byte
}
func BuildServiceDefinition ¶
func BuildServiceDefinition(path string, overrides []byte) (*ServiceDefinition, error)
func NewServiceDefinition ¶
func NewServiceDefinition(path string) (*ServiceDefinition, error)
func (*ServiceDefinition) Patch ¶
func (svrDef *ServiceDefinition) Patch(overrides []byte) error
func (*ServiceDefinition) Print ¶
func (svrDef *ServiceDefinition) Print()
type TaskDefinition ¶
type TaskDefinition struct {
Content []byte
}
func BuildTaskDefinition ¶
func BuildTaskDefinition(path string, overrides []byte, containerDef *ContainerDefinition) (*TaskDefinition, error)
func NewTaskDefinition ¶
func NewTaskDefinition(path string) (*TaskDefinition, error)
func (*TaskDefinition) Patch ¶
func (taskDef *TaskDefinition) Patch(overrides []byte, containerDef *ContainerDefinition) error
func (*TaskDefinition) Print ¶
func (taskDef *TaskDefinition) Print()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.