Documentation
¶
Overview ¶
package operation is used to wait for an HCP Operation to complete.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Waiter ¶
type Waiter interface {
// Wait waits for the operation to complete or for the context to be
// cancelled.
Wait(context.Context, *models.HashicorpCloudOperationOperation) (*models.HashicorpCloudOperationOperation, error)
}
Waiter is used to wait for an Operation to complete.
func New ¶
func New(c operation_service.ClientService, logger hclog.Logger) Waiter
Click to show internal directories.
Click to hide internal directories.