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 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 (*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)
func (*SpecBuilder) BuildSpec ¶
func (dd *SpecBuilder) BuildSpec(ctx context.Context, trigger *awsdeployer_tpb.RequestDeploymentMessage, cluster *environment_pb.Cluster, environment *environment_pb.Environment) (*awsdeployer_pb.DeploymentSpec, error)
type TemplateStore ¶
type TemplateStore interface {
PutTemplate(ctx context.Context, envName, appName, deploymentID string, template []byte) (*awsdeployer_pb.S3Template, error)
}
Click to show internal directories.
Click to hide internal directories.