cke

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: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCKETemplate

func GenerateCKETemplate(ctx context.Context, st storage.Storage, name string, ckeTemplate []byte) ([]byte, error)

GenerateCKETemplate generates cke-template.yml using role and weights.

func GenerateConf

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

GenerateConf generates config.yml from template.

func GetCKEImages

func GetCKEImages() ([]neco.ContainerImage, error)

GetCKEImages get images list from `ckecli images`

func SetCKETemplate

func SetCKETemplate(ctx context.Context, st storage.Storage) error

SetCKETemplate set cke template with overriding weights

func UpdateResources

func UpdateResources(ctx context.Context, st storage.Storage) error

UpdateResources updates user-defined resources

func UploadContents

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

UploadContents uploads contents to sabakan

Types

This section is empty.

Jump to

Keyboard shortcuts

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