mock

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	DescribeAllEndpointsFn func(epType string) ([]byte, error)
	ListDBIdentifiersFn    func() ([]byte, error)
	DescribeEndpointFn     func(clusterName string, epType string) ([]byte, error)
}

func (*DB) DescribeAllEndpoints

func (mdb *DB) DescribeAllEndpoints(epType string) ([]byte, error)

func (*DB) DescribeEndpoint

func (mdb *DB) DescribeEndpoint(clusterName string, epType string) ([]byte, error)

func (*DB) ListDBIdentifiers

func (mdb *DB) ListDBIdentifiers() ([]byte, error)

type KMS

type KMS struct {
	DecodeDataFn func(data string) ([]byte, error)
}

func (*KMS) DecodeData

func (m *KMS) DecodeData(data string) ([]byte, error)

type KmsAPI

type KmsAPI struct {
	DecryptFn func(input *kms.DecryptInput) (*kms.DecryptOutput, error)
}

func (*KmsAPI) Decrypt

func (k *KmsAPI) Decrypt(input *kms.DecryptInput) (*kms.DecryptOutput, error)

type RdsAPI

type RdsAPI struct {
	DescribeDBClusterEndpointsFn func(input *rds.DescribeDBClusterEndpointsInput) (*rds.DescribeDBClusterEndpointsOutput, error)
	DescribeDBInstancesFn        func(input *rds.DescribeDBInstancesInput) (*rds.DescribeDBInstancesOutput, error)
}

func (*RdsAPI) DescribeDBClusterEndpoints

func (rds *RdsAPI) DescribeDBClusterEndpoints(input *rds.DescribeDBClusterEndpointsInput) (*rds.DescribeDBClusterEndpointsOutput, error)

func (*RdsAPI) DescribeDBInstances

func (rds *RdsAPI) DescribeDBInstances(input *rds.DescribeDBInstancesInput) (*rds.DescribeDBInstancesOutput, error)

type SSM added in v0.2.1

type SSM struct {
	GetFn                func(filters []*ssm.ParameterStringFilter) error
	GetParametersFn      func() error
	GetParameterByPathFn func(path string) ([]byte, error)
}

func (*SSM) Get added in v0.2.1

func (s *SSM) Get(filters []*ssm.ParameterStringFilter) error

func (*SSM) GetParameterByPath added in v0.2.1

func (s *SSM) GetParameterByPath(path string) ([]byte, error)

func (*SSM) GetParameters added in v0.2.1

func (s *SSM) GetParameters() error

Jump to

Keyboard shortcuts

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