wait

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: May 9, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InstanceStateReady    = "Ready"
	InstanceStateCreating = "Creating"
	InstanceStateError    = "Error"
)

Variables

This section is empty.

Functions

func CreateGitInstanceWaitHandler

func CreateGitInstanceWaitHandler(ctx context.Context, a APIClientInterface, projectId, instanceId string) *wait.AsyncActionHandler[git.Instance]

func DeleteGitInstanceWaitHandler

func DeleteGitInstanceWaitHandler(ctx context.Context, a APIClientInterface, projectId, instanceId string) *wait.AsyncActionHandler[git.Instance]

Types

type APIClientInterface

type APIClientInterface interface {
	GetInstanceExecute(ctx context.Context, projectId string, instanceId string) (*git.Instance, error)
}

APIClientInterface Interfaces needed for tests

Jump to

Keyboard shortcuts

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