Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractTarGz ¶
Types ¶
type Packer ¶
type Packer struct {
// contains filtered or unexported fields
}
func (*Packer) EnsureImage ¶
func (m *Packer) EnsureImage(ctx context.Context, log logr.Logger, hc api.HcloudClient, parameters *api.PackerParameters) (*infrav1.HcloudImageID, error)
EnsureImage checks if the API has an image already build and if not, it will run packer build to create one
func (*Packer) Initialize ¶
func (m *Packer) Initialize(machine *infrav1.HcloudMachine) error
Click to show internal directories.
Click to hide internal directories.