cloudcontrolmock

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCloudControlServiceMock

func CreateCloudControlServiceMock(
	options ...CloudControlServiceMockOption,
) *cloudControlServiceMock

CreateCloudControlServiceMock creates a new Cloud Control service mock configured with the provided options.

Types

type CloudControlServiceMockOption

type CloudControlServiceMockOption func(*cloudControlServiceMock)

CloudControlServiceMockOption configures a Cloud Control service mock.

func WithCreateResourceError

func WithCreateResourceError(err error) CloudControlServiceMockOption

func WithDeleteResourceError

func WithDeleteResourceError(err error) CloudControlServiceMockOption

func WithGetResourceError

func WithGetResourceError(err error) CloudControlServiceMockOption

func WithGetResourceRequestStatusError

func WithGetResourceRequestStatusError(err error) CloudControlServiceMockOption

func WithListResourcesError

func WithListResourcesError(err error) CloudControlServiceMockOption

func WithListResourcesOutput

func WithListResourcesOutput(output *awscc.ListResourcesOutput) CloudControlServiceMockOption

WithListResourcesOutput sets a single ListResources output returned on every call.

func WithListResourcesOutputs

func WithListResourcesOutputs(outputs ...*awscc.ListResourcesOutput) CloudControlServiceMockOption

WithListResourcesOutputs sets a sequence of ListResources outputs returned in order, one per call, to simulate pagination.

func WithUpdateResourceError

func WithUpdateResourceError(err error) CloudControlServiceMockOption

Jump to

Keyboard shortcuts

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