Documentation ¶
Index ¶
- func GenerateCKETemplate(ctx context.Context, st storage.Storage, name string, ckeTemplate []byte) ([]byte, error)
- func GenerateConf(w io.Writer, lrns []int) error
- func GetCKEImages() ([]neco.ContainerImage, error)
- func SetCKETemplate(ctx context.Context, st storage.Storage) error
- func UpdateResources(ctx context.Context, st storage.Storage) error
- func UploadContents(ctx context.Context, sabakanHTTP *http.Client, proxyHTTP *http.Client, ...) error
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 ¶
GenerateConf generates config.yml from template.
func GetCKEImages ¶
func GetCKEImages() ([]neco.ContainerImage, error)
GetCKEImages get images list from `ckecli images`
func SetCKETemplate ¶
SetCKETemplate set cke template with overriding weights
func UpdateResources ¶
UpdateResources updates user-defined resources
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.