Documentation
¶
Index ¶
- type IK2
- type IK2Body
- type IK2Inventory
- type IK2InventoryBody
- type IK2InventoryRoot
- type IK2Metadata
- type IK2Root
- type IK2Stack
- type IK2StackBody
- type IK2StackLayer
- type IK2Template
- type IK2TemplateApply
- type IK2TemplateApplyBody
- type IK2TemplateApplyRoot
- type IK2TemplateBody
- type IK2TemplateRef
- type IK2TemplateRefSource
- type IK2TemplateRoot
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IK2Inventory ¶
type IK2Inventory struct {
K2 IK2InventoryRoot `yaml:"k2"`
}
type IK2InventoryBody ¶
type IK2InventoryRoot ¶
type IK2InventoryRoot struct {
Metadata IK2Metadata `yaml:"metadata"`
Body IK2InventoryBody `yaml:"body"`
}
type IK2Metadata ¶
type IK2Root ¶
type IK2Root[TBody IK2Body] struct { Metadata IK2Metadata `yaml:"metadata"` Body TBody `yaml:"body"` }
type IK2Stack ¶ added in v0.10.0
type IK2Stack struct {
Version string `yaml:"version"`
Stack IK2StackBody `yaml:"stack"`
}
type IK2StackBody ¶ added in v0.10.0
type IK2StackBody struct {
Description string `yaml:"description"`
Extends []string `yaml:"extends,omitempty"`
Env map[string]string `yaml:"env"`
Layers []IK2StackLayer `yaml:"layers"`
}
type IK2StackLayer ¶ added in v0.10.0
type IK2Template ¶
type IK2Template struct {
K2 IK2TemplateRoot `yaml:"k2"`
}
func (*IK2Template) ExecuteBootstrap ¶ added in v0.9.4
func (t *IK2Template) ExecuteBootstrap(target *IK2TemplateApply) error
func (*IK2Template) ExecuteNuke ¶ added in v0.9.4
func (t *IK2Template) ExecuteNuke(target *IK2TemplateApply) error
func (*IK2Template) ExecutePost ¶ added in v0.9.4
func (t *IK2Template) ExecutePost(target *IK2TemplateApply) error
func (*IK2Template) ExecutePre ¶ added in v0.9.4
func (t *IK2Template) ExecutePre(target *IK2TemplateApply) error
type IK2TemplateApply ¶
type IK2TemplateApply struct {
K2 IK2TemplateApplyRoot `yaml:"k2"`
}
func (*IK2TemplateApply) ExecuteBootstrap ¶ added in v0.9.4
func (t *IK2TemplateApply) ExecuteBootstrap() error
func (*IK2TemplateApply) ExecuteNuke ¶ added in v0.9.4
func (t *IK2TemplateApply) ExecuteNuke() error
func (*IK2TemplateApply) ExecutePost ¶ added in v0.9.4
func (t *IK2TemplateApply) ExecutePost() error
func (*IK2TemplateApply) ExecutePre ¶ added in v0.9.4
func (t *IK2TemplateApply) ExecutePre() error
type IK2TemplateApplyBody ¶
type IK2TemplateApplyRoot ¶
type IK2TemplateApplyRoot struct {
Metadata IK2Metadata `yaml:"metadata"`
Body IK2TemplateApplyBody `yaml:"body"`
}
type IK2TemplateBody ¶
type IK2TemplateRef ¶
type IK2TemplateRef struct {
// The name of the template
Source IK2TemplateRefSource `yaml:"source"`
Params map[string]string `yaml:"params"`
}
func (*IK2TemplateRef) Hash ¶
func (t *IK2TemplateRef) Hash() string
type IK2TemplateRefSource ¶
type IK2TemplateRefSource string
const ( K2TemplateRefSourceInventory IK2TemplateRefSource = "inventory" K2TemplateRefSourceGit IK2TemplateRefSource = "git" )
type IK2TemplateRoot ¶
type IK2TemplateRoot struct {
Metadata IK2Metadata `yaml:"metadata"`
Body IK2TemplateBody `yaml:"body"`
}
Click to show internal directories.
Click to hide internal directories.