Documentation
¶
Index ¶
- func NewDefaultStackDeployer(cloud aws.Cloud, k8sClient client.Client, ...) *defaultStackDeployer
- func NewDefaultStackMarshaller() *defaultStackMarshaller
- func NewStackSchemaBuilder(stackID coremodel.StackID) *stackSchemaBuilder
- type ResourceSynthesizer
- type StackDeployer
- type StackMarshaller
- type StackSchema
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultStackDeployer ¶
func NewDefaultStackDeployer(cloud aws.Cloud, k8sClient client.Client, networkingSGManager networking.SecurityGroupManager, networkingSGReconciler networking.SecurityGroupReconciler, config config.ControllerConfig, tagPrefix string, logger logr.Logger) *defaultStackDeployer
NewDefaultStackDeployer constructs new defaultStackDeployer.
func NewDefaultStackMarshaller ¶
func NewDefaultStackMarshaller() *defaultStackMarshaller
func NewStackSchemaBuilder ¶
NewStackSchemaBuilder constructs new stackSchemaBuilder.
Types ¶
type ResourceSynthesizer ¶
type StackDeployer ¶
type StackDeployer interface {
// Deploy a resource stack.
Deploy(ctx context.Context, stack core.Stack) error
}
StackDeployer will deploy a resource stack into AWS and K8S.
type StackMarshaller ¶
StackMarshaller will marshall a resource stack into JSON.
type StackSchema ¶
type StackSchema struct {
// Stack's ID
ID string `json:"id"`
// all resources within stack.
Resources map[string]map[string]interface{} `json:"resources"`
}
StackSchema represents the JSON model for stack.
Click to show internal directories.
Click to hide internal directories.