Documentation ¶
Index ¶
- func CreateAndWaitForResource(client *rancher.Client, v1ResourceType string, v1Resource any, poll bool, ...) (*v1.SteveAPIObject, error)
- func WaitForSteveResourceCreation(client *rancher.Client, v1Resource *v1.SteveAPIObject, ...) error
- func WaitForSteveResourceDeletion(client *rancher.Client, interval, timeout time.Duration, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAndWaitForResource ¶
func CreateAndWaitForResource(client *rancher.Client, v1ResourceType string, v1Resource any, poll bool, interval, timeout time.Duration) (*v1.SteveAPIObject, error)
CreateResource creates a steve resource and polls the resulting object until it comes up active.
func WaitForSteveResourceCreation ¶
func WaitForSteveResourceCreation(client *rancher.Client, v1Resource *v1.SteveAPIObject, interval, timeout time.Duration) error
WaitForSteveResourceCreation waits for a given steve object to be created/come up active.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.