cloudinit

package
v0.0.0-...-b2eb650 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package cloudinit defines cloud init adapter for existing nodes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewActionFactory

func NewActionFactory(sshClient ssh.Interface) *actionFactory

NewActionFactory returns a new action factory.

Types

type Service

type Service struct {
	SSHClient ssh.Interface
}

Service holds a collection of interfaces. The interfaces are broken down like this to group functions together.

func NewService

func NewService(sshClient ssh.Interface) *Service

NewService returns a new service.

func (*Service) RawBootstrapDataToProvisioningCommands

func (s *Service) RawBootstrapDataToProvisioningCommands(config []byte) ([]commands.Cmd, error)

RawBootstrapDataToProvisioningCommands converts raw bootstrap data to provisioning commands.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL