Documentation
¶
Index ¶
Constants ¶
View Source
const Shebang = `#! /usr/bin/env bash
set -xe
`
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DependencyConfigurator ¶ added in v0.2.0
type DependencyConfigurator interface {
Resolve() []ProvisionFunc
// contains filtered or unexported methods
}
DependencyConfigurator defines methods for configuring dependencies
type DependencyResolver ¶ added in v0.2.0
type DependencyResolver struct {
Dependencies []ProvisionFunc
// contains filtered or unexported fields
}
DependencySolver is a struct that holds the dependency list
func NewDependencies ¶ added in v0.2.0
func NewDependencies(env v1alpha1.Environment) *DependencyResolver
func (*DependencyResolver) Resolve ¶ added in v0.2.0
func (d *DependencyResolver) Resolve() []ProvisionFunc
Resolve returns the dependency list in the correct order
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 (*Provisioner) Run ¶
func (p *Provisioner) Run(env v1alpha1.Environment) error
Click to show internal directories.
Click to hide internal directories.