wait

package
v2.9.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ApplianceNotFoundRetryCount アプライアンスの待ち処理時に404エラーとなった場合のリトライ回数
	ApplianceNotFoundRetryCount = 30
	// InternetNotFoundRetryCount ルータの作成待ち処理時に404エラーとなった場合のリトライ回数
	InternetNotFoundRetryCount = 360
)

Functions

func UntilArchiveIsReady

func UntilArchiveIsReady(ctx context.Context, client sacloud.ArchiveAPI, zone string, id types.ID) (*sacloud.Archive, error)

UntilArchiveIsReady コピー完了まで待機

func UntilDatabaseIsDown

func UntilDatabaseIsDown(ctx context.Context, client sacloud.DatabaseAPI, zone string, id types.ID) (*sacloud.Database, error)

UntilDatabaseIsDown シャットダウンまで待機

func UntilDatabaseIsUp

func UntilDatabaseIsUp(ctx context.Context, client sacloud.DatabaseAPI, zone string, id types.ID) (*sacloud.Database, error)

UntilDatabaseIsUp 起動まで待機

func UntilDiskIsReady

func UntilDiskIsReady(ctx context.Context, client sacloud.DiskAPI, zone string, id types.ID) (*sacloud.Disk, error)

UntilDiskIsReady コピー完了/ディスク修正完了まで待機

func UntilInternetIsReady

func UntilInternetIsReady(ctx context.Context, client sacloud.InternetAPI, zone string, id types.ID) (*sacloud.Internet, error)

UntilInternetIsReady 準備完了まで待機

func UntilLoadBalancerIsDown

func UntilLoadBalancerIsDown(ctx context.Context, client sacloud.LoadBalancerAPI, zone string, id types.ID) (*sacloud.LoadBalancer, error)

UntilLoadBalancerIsDown シャットダウンまで待機

func UntilLoadBalancerIsUp

func UntilLoadBalancerIsUp(ctx context.Context, client sacloud.LoadBalancerAPI, zone string, id types.ID) (*sacloud.LoadBalancer, error)

UntilLoadBalancerIsUp 起動完了まで待機

func UntilMobileGatewayIsDown

func UntilMobileGatewayIsDown(ctx context.Context, client sacloud.MobileGatewayAPI, zone string, id types.ID) (*sacloud.MobileGateway, error)

UntilMobileGatewayIsDown シャットダウンまで待機

func UntilMobileGatewayIsReady

func UntilMobileGatewayIsReady(ctx context.Context, client sacloud.MobileGatewayAPI, zone string, id types.ID) (*sacloud.MobileGateway, error)

UntilMobileGatewayIsReady コピー完了まで待機

func UntilMobileGatewayIsUp

func UntilMobileGatewayIsUp(ctx context.Context, client sacloud.MobileGatewayAPI, zone string, id types.ID) (*sacloud.MobileGateway, error)

UntilMobileGatewayIsUp 起動まで待機

func UntilNFSIsDown

func UntilNFSIsDown(ctx context.Context, client sacloud.NFSAPI, zone string, id types.ID) (*sacloud.NFS, error)

UntilNFSIsDown シャットダウンまで待機

func UntilNFSIsUp

func UntilNFSIsUp(ctx context.Context, client sacloud.NFSAPI, zone string, id types.ID) (*sacloud.NFS, error)

UntilNFSIsUp 起動まで待機

func UntilServerIsDown

func UntilServerIsDown(ctx context.Context, client sacloud.ServerAPI, zone string, id types.ID) (*sacloud.Server, error)

UntilServerIsDown シャットダウンまで待機

func UntilServerIsUp

func UntilServerIsUp(ctx context.Context, client sacloud.ServerAPI, zone string, id types.ID) (*sacloud.Server, error)

UntilServerIsUp 起動まで待機

func UntilVPCRouterIsDown

func UntilVPCRouterIsDown(ctx context.Context, client sacloud.VPCRouterAPI, zone string, id types.ID) (*sacloud.VPCRouter, error)

UntilVPCRouterIsDown シャットダウンまで待機

func UntilVPCRouterIsReady

func UntilVPCRouterIsReady(ctx context.Context, client sacloud.VPCRouterAPI, zone string, id types.ID) (*sacloud.VPCRouter, error)

UntilVPCRouterIsReady コピー完了まで待機

func UntilVPCRouterIsUp

func UntilVPCRouterIsUp(ctx context.Context, client sacloud.VPCRouterAPI, zone string, id types.ID) (*sacloud.VPCRouter, error)

UntilVPCRouterIsUp 起動まで待機

Types

This section is empty.

Jump to

Keyboard shortcuts

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