types

package
v0.0.0-...-df23a76 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component struct {
	StackName    string
	StackOutputs map[string]string
}

Component represents the configuration of a particular component instance

func (*Component) Display

func (component *Component) Display()

type ComponentEnvironment

type ComponentEnvironment struct {
	Name string
}

Environment represents attributes about the environment where the component will be deployed

type ComponentInput

type ComponentInput struct {
	ApplicationConfiguration *v1alpha1.ApplicationConfiguration
	ComponentConfiguration   *v1alpha1.ComponentConfiguration
	Component                *v1alpha1.ComponentSchematic
	Environment              *ComponentEnvironment
	WorkloadSettings         *ECSWorkloadSettings
}

ComponentInput holds the fields required to deploy an component instance.

type CreateEnvironmentResponse

type CreateEnvironmentResponse struct {
	Env *Environment
	Err error
}

CreateEnvironmentResponse holds the created environment on successful deployment. Otherwise, the environment is set to nil and a descriptive error is returned.

type DeployComponentResponse

type DeployComponentResponse struct {
	Component *Component
	Err       error
}

DeployComponenttResponse holds the created component instance on successful deployment. Otherwise, the component is set to nil and a descriptive error is returned.

type ECSWorkloadSettings

type ECSWorkloadSettings struct {
	TaskCPU    string
	TaskMemory string
}

ECSWorkloadSettings holds fields that are needed to define services in ECS, which are not part of the core OAM types

type Environment

type Environment struct {
	StackName    string
	StackOutputs map[string]string
}

Environment represents the configuration of a particular environment

func (*Environment) Display

func (env *Environment) Display()

type EnvironmentInput

type EnvironmentInput struct {
}

EnvironmentInput holds the fields required to interact with an environment.

Jump to

Keyboard shortcuts

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