provisioner

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const Shebang = `#! /usr/bin/env bash
set -xe
`

Variables

This section is empty.

Functions

func Dryrun

func Dryrun(log *logger.FunLogger, env v1alpha1.Environment) error

Types

type DependencyGraph

type DependencyGraph map[string][]string

type ProvisionFunc

type ProvisionFunc func(tpl *bytes.Buffer, env v1alpha1.Environment) error

type Provisioner

type Provisioner struct {
	Client         *ssh.Client
	SessionManager *ssm.Client

	HostUrl  string
	UserName string
	KeyPath  string
	// contains filtered or unexported fields
}

func New

func New(log *logger.FunLogger, keyPath, userName, hostUrl string) (*Provisioner, error)

func (*Provisioner) Run

func (p *Provisioner) Run(env v1alpha1.Environment) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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