deployer

package
v0.0.0-...-c009273 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultO5SidecarImageName = "ghcr.io/pentops/o5-runtime-sidecar"
)

Variables

View Source
var DeploymentNotFoundError = fmt.Errorf("deployment not found")
View Source
var StackNotFoundError = fmt.Errorf("stack not found")

Functions

This section is empty.

Types

type AuroraIAMParameterValue

type AuroraIAMParameterValue struct {
	Endpoint string `json:"endpoint"` // Address and Port
	DbName   string `json:"dbName"`
	DbUser   string `json:"dbUser"`
}

type ParameterResolver

type ParameterResolver interface {
	ResolveParameter(param *awsdeployer_pb.Parameter) (*awsdeployer_pb.CloudFormationStackParameter, error)
}

type S3API

type S3API interface {
	PutObject(ctx context.Context, params *s3.PutObjectInput, optFns ...func(*s3.Options)) (*s3.PutObjectOutput, error)
	GetBucketLocation(ctx context.Context, params *s3.GetBucketLocationInput, optFns ...func(*s3.Options)) (*s3.GetBucketLocationOutput, error)
}

type S3TemplateStore

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

func NewS3TemplateStore

func NewS3TemplateStore(ctx context.Context, s3Client S3API, cfTemplateBucket string) (*S3TemplateStore, error)

func (*S3TemplateStore) PutTemplate

func (s3ts *S3TemplateStore) PutTemplate(ctx context.Context, envName string, appName string, deploymentID string, templateJSON []byte) (*awsdeployer_pb.S3Template, error)

type SpecBuilder

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

func NewSpecBuilder

func NewSpecBuilder(templateStore TemplateStore) (*SpecBuilder, error)

type TemplateStore

type TemplateStore interface {
	PutTemplate(ctx context.Context, envName, appName, deploymentID string, template []byte) (*awsdeployer_pb.S3Template, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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