sabakan

package
v0.0.0-...-1eec387 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateConf

func GenerateConf(w io.Writer, mylrn int, lrns []int) error

GenerateConf generates sabakan config file

func GenerateService

func GenerateService(w io.Writer, rt neco.ContainerRuntime) error

GenerateService generate systemd service unit contents.

func InitLocal

func InitLocal(ctx context.Context, vc *api.Client) error

InitLocal initialize sabakan on local machine

func InstallBashCompletion

func InstallBashCompletion(ctx context.Context) error

InstallBashCompletion installs bash completion for sabactl

func InstallTools

func InstallTools(ctx context.Context, rt neco.ContainerRuntime) error

InstallTools installs sabactl and sabakan-cryptsetup under /usr/local/bin

func UploadContents

func UploadContents(ctx context.Context, sabakanHTTP *http.Client, proxyHTTP *http.Client, version string, fetcher neco.ImageFetcher, st storage.Storage) error

UploadContents upload contents to sabakan

func UploadDHCPJSON

func UploadDHCPJSON(ctx context.Context, sabakanHTTP *http.Client) error

UploadDHCPJSON uploads dhcp.json

func UploadIgnitions

func UploadIgnitions(ctx context.Context, c *http.Client, id string, st storage.Storage) error

UploadIgnitions updates ignitions from local file

func UploadImageAssets

func UploadImageAssets(ctx context.Context, img neco.ContainerImage, c *sabac.Client, fetcher neco.ImageFetcher) error

UploadImageAssets upload docker container image as sabakan assets.

Types

This section is empty.

Jump to

Keyboard shortcuts

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