fake

package
v0.48.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRedshiftClient

type MockRedshiftClient struct {
	MockCreate   func(ctx context.Context, input *redshift.CreateClusterInput, opts []func(*redshift.Options)) (*redshift.CreateClusterOutput, error)
	MockDescribe func(ctx context.Context, input *redshift.DescribeClustersInput, opts []func(*redshift.Options)) (*redshift.DescribeClustersOutput, error)
	MockModify   func(ctx context.Context, input *redshift.ModifyClusterInput, opts []func(*redshift.Options)) (*redshift.ModifyClusterOutput, error)
	MockDelete   func(ctx context.Context, input *redshift.DeleteClusterInput, opts []func(*redshift.Options)) (*redshift.DeleteClusterOutput, error)
}

MockRedshiftClient for testing.

func (*MockRedshiftClient) CreateCluster

CreateCluster creates Redshift Instance with provided Specification

func (*MockRedshiftClient) DeleteCluster

DeleteCluster deletes Redshift Instance

func (*MockRedshiftClient) DescribeClusters

DescribeClusters finds Redshift Instance by name

func (*MockRedshiftClient) ModifyCluster

ModifyCluster modifies Redshift Instance with provided Specification

Jump to

Keyboard shortcuts

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