operation

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

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