Documentation ¶
Index ¶
- type StackConfig
- func (c *StackConfig) ClusterExportedStacksS3URI() string
- func (c *StackConfig) ClusterS3URI() string
- func (c StackConfig) EtcdSnapshotsS3Bucket() (string, error)
- func (c StackConfig) EtcdSnapshotsS3PathRef() (string, error)
- func (c StackConfig) EtcdSnapshotsS3PrefixRef() (string, error)
- func (c *StackConfig) RenderStackTemplateAsBytes() ([]byte, error)
- func (c *StackConfig) RenderStackTemplateAsString() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StackConfig ¶
type StackConfig struct { *controlplaneconfig.Config StackName string controlplaneconfig.StackTemplateOptions UserDataEtcd model.UserData ExtraCfnResources map[string]interface{} model.EtcdExistingState }
StackConfig contains configuration parameters available when rendering CFN stack template from golang text templates
func NewEtcdStackConfig ¶
func NewEtcdStackConfig(cp *controlplaneconfig.StackConfig) *StackConfig
NewEtcdStackConfig: Convert a controlplane StackConfig to an Etcd flavour StackConfig
func (*StackConfig) ClusterExportedStacksS3URI ¶
func (c *StackConfig) ClusterExportedStacksS3URI() string
func (*StackConfig) ClusterS3URI ¶
func (c *StackConfig) ClusterS3URI() string
func (StackConfig) EtcdSnapshotsS3Bucket ¶
func (c StackConfig) EtcdSnapshotsS3Bucket() (string, error)
func (StackConfig) EtcdSnapshotsS3PathRef ¶
func (c StackConfig) EtcdSnapshotsS3PathRef() (string, error)
EtcdSnapshotsS3Path is a pair of a S3 bucket and a key of an S3 object containing an etcd cluster snapshot
func (StackConfig) EtcdSnapshotsS3PrefixRef ¶
func (c StackConfig) EtcdSnapshotsS3PrefixRef() (string, error)
func (*StackConfig) RenderStackTemplateAsBytes ¶
func (c *StackConfig) RenderStackTemplateAsBytes() ([]byte, error)
func (*StackConfig) RenderStackTemplateAsString ¶
func (c *StackConfig) RenderStackTemplateAsString() (string, error)
Click to show internal directories.
Click to hide internal directories.