builder

package
v2.32.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RetryableSetupParameter

type RetryableSetupParameter struct {
	// BootAfterBuild Buildの後に再起動を行うか
	BootAfterBuild bool
	// NICUpdateWaitDuration NIC接続切断操作の後の待ち時間
	NICUpdateWaitDuration time.Duration
	// RetryCount リトライ回数
	RetryCount int
	// ProvisioningRetryInterval
	ProvisioningRetryInterval time.Duration
	// DeleteRetryCount 削除リトライ回数
	DeleteRetryCount int
	// DeleteRetryInterval 削除リトライ間隔
	DeleteRetryInterval time.Duration
	// sacloud.StateWaiterによるステート待ちの間隔
	PollingInterval time.Duration
}

RetryableSetupParameter アプライアンス作成時に利用するsetup.RetryableSetupのパラメータ

func DefaultSetupOptions

func DefaultSetupOptions() *RetryableSetupParameter

DefaultSetupOptions RetryableSetupのデフォルトオプション

type UpdateLevel

type UpdateLevel int

UpdateLevel Update時にどのレベルの変更が必要か

const (
	// UpdateLevelNone 変更なし
	UpdateLevelNone UpdateLevel = iota
	// UpdateLevelSimple 単純な更新のみ(再起動不要)
	UpdateLevelSimple
	// UpdateLevelNeedShutdown シャットダウンが必要な変更
	UpdateLevelNeedShutdown
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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