Documentation
¶
Index ¶
- Constants
- func CreateNetworkAreaWaitHandler(ctx context.Context, a APIClientInterface, organizationId, areaId string) *wait.AsyncActionHandler[iaas.NetworkArea]
- func CreateNetworkWaitHandler(ctx context.Context, a APIClientInterface, projectId, requestId string) *wait.AsyncActionHandler[iaas.Network]
- func DeleteNetworkAreaWaitHandler(ctx context.Context, a APIClientInterface, organizationId, areaId string) *wait.AsyncActionHandler[iaas.NetworkArea]
- func DeleteNetworkWaitHandler(ctx context.Context, a APIClientInterface, projectId, networkId string) *wait.AsyncActionHandler[iaas.Network]
- func UpdateNetworkAreaWaitHandler(ctx context.Context, a APIClientInterface, organizationId, areaId string) *wait.AsyncActionHandler[iaas.NetworkArea]
- func UpdateNetworkWaitHandler(ctx context.Context, a APIClientInterface, projectId, networkId string) *wait.AsyncActionHandler[iaas.Network]
- type APIClientInterface
Constants ¶
View Source
const (
CreateSuccess = "CREATED"
)
Variables ¶
This section is empty.
Functions ¶
func CreateNetworkAreaWaitHandler ¶
func CreateNetworkAreaWaitHandler(ctx context.Context, a APIClientInterface, organizationId, areaId string) *wait.AsyncActionHandler[iaas.NetworkArea]
CreateNetworkAreaWaitHandler will wait for network area creation
func CreateNetworkWaitHandler ¶
func CreateNetworkWaitHandler(ctx context.Context, a APIClientInterface, projectId, requestId string) *wait.AsyncActionHandler[iaas.Network]
CreateNetworkWaitHandler will wait for network creation
func DeleteNetworkAreaWaitHandler ¶
func DeleteNetworkAreaWaitHandler(ctx context.Context, a APIClientInterface, organizationId, areaId string) *wait.AsyncActionHandler[iaas.NetworkArea]
DeleteNetworkAreaWaitHandler will wait for network area deletion
func DeleteNetworkWaitHandler ¶
func DeleteNetworkWaitHandler(ctx context.Context, a APIClientInterface, projectId, networkId string) *wait.AsyncActionHandler[iaas.Network]
DeleteNetworkWaitHandler will wait for network deletion
func UpdateNetworkAreaWaitHandler ¶
func UpdateNetworkAreaWaitHandler(ctx context.Context, a APIClientInterface, organizationId, areaId string) *wait.AsyncActionHandler[iaas.NetworkArea]
UpdateNetworkAreaWaitHandler will wait for network area update
func UpdateNetworkWaitHandler ¶
func UpdateNetworkWaitHandler(ctx context.Context, a APIClientInterface, projectId, networkId string) *wait.AsyncActionHandler[iaas.Network]
UpdateNetworkWaitHandler will wait for network update
Types ¶
type APIClientInterface ¶
type APIClientInterface interface {
GetNetworkAreaExecute(ctx context.Context, organizationId, areaId string) (*iaas.NetworkArea, error)
GetProjectRequestExecute(ctx context.Context, projectId string, requestId string) (*iaas.Request, error)
GetNetworkExecute(ctx context.Context, projectId, networkId string) (*iaas.Network, error)
}
Interfaces needed for tests
Click to show internal directories.
Click to hide internal directories.