algo

package
v0.5.12 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DoUbuntu20_04K8S = `` /* 1398-byte string literal not displayed */

	UndoUbuntu20_04K8S = `` /* 948-byte string literal not displayed */

)

contains the installation and uninstallation steps for the supported os and k8s

View Source
var (
	DoCommon = `` /* 847-byte string literal not displayed */

	DoUbuntuK8S = `
imgpkg pull -i $BUNDLE_ADDR -o $BUNDLE_PATH
BUNDLE_PATH=$BUNDLE_PATH $BUNDLE_PATH/install.sh`

	UndoUbuntuK8S = `
BUNDLE_PATH=$BUNDLE_PATH $BUNDLE_PATH/uninstall.sh
rm -rf $BUNDLE_PATH`
)

contains the installation and uninstallation steps for the supported os and k8s

Functions

This section is empty.

Types

type Ubuntu20_04K8SInstaller added in v0.5.5

type Ubuntu20_04K8SInstaller struct {
	// contains filtered or unexported fields
}

Ubuntu20_04K8SInstaller represent the installer implementation for ubuntu20.04.* os distribution

func NewUbuntu20_04K8SInstaller added in v0.5.5

func NewUbuntu20_04K8SInstaller(ctx context.Context, arch, bundleAddrs string) (*Ubuntu20_04K8SInstaller, error)

NewUbuntu20_04K8SInstaller will return new Ubuntu20_04K8SInstaller instance

func (*Ubuntu20_04K8SInstaller) Install added in v0.5.5

func (s *Ubuntu20_04K8SInstaller) Install() string

Install will return k8s install script

func (*Ubuntu20_04K8SInstaller) Uninstall added in v0.5.5

func (s *Ubuntu20_04K8SInstaller) Uninstall() string

Uninstall will return k8s uninstall script

type UbuntuK8SInstaller added in v0.5.2

type UbuntuK8SInstaller struct {
	// contains filtered or unexported fields
}

UbuntuK8SInstaller represent the installer implementation for Ubuntu distribution

func NewUbuntuK8SInstaller added in v0.5.2

func NewUbuntuK8SInstaller(ctx context.Context, osbundle, arch, bundleAddrs string) (*UbuntuK8SInstaller, error)

NewUbuntuK8SInstaller will return new UbuntuK8SInstaller instance

func (*UbuntuK8SInstaller) Install added in v0.5.2

func (s *UbuntuK8SInstaller) Install() string

Install will return k8s install script

func (*UbuntuK8SInstaller) Uninstall added in v0.5.2

func (s *UbuntuK8SInstaller) Uninstall() string

Uninstall will return k8s uninstall script

Jump to

Keyboard shortcuts

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