install

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	GitClient        git.Git
	RootDir          string
	GitRepoNamespace string
	GitRepoName      string
}

Config defines configurable options for the installer

type Installer

type Installer struct {
	Config
	// contains filtered or unexported fields
}

Installer holds the configuration for isntalling a profile

func NewInstaller

func NewInstaller(cfg Config) *Installer

NewInstaller creates a new profiles installer

func (*Installer) Install

func (i *Installer) Install(installation profilesv1.ProfileInstallation) error

Install installs the profile

type ProfileInstaller

type ProfileInstaller interface {
	Install(installation profilesv1.ProfileInstallation) error
}

ProfileInstaller installs the profile

Directories

Path Synopsis
fakes
Code generated by counterfeiter.
Code generated by counterfeiter.
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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