leftovers: github.com/genevievelesperance/leftovers/aws/rds/fakes Index | Files

package fakes

import "github.com/genevievelesperance/leftovers/aws/rds/fakes"

Index

Package Files

db_clusters_client.go db_instances_client.go db_subnet_groups_client.go logger.go

type DbClustersClient Uses

type DbClustersClient struct {
    DeleteDBClusterCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            DeleteDBClusterInput *awsrds.DeleteDBClusterInput
        }
        Returns struct {
            DeleteDBClusterOutput *awsrds.DeleteDBClusterOutput
            Error                 error
        }
        Stub func(*awsrds.DeleteDBClusterInput) (*awsrds.DeleteDBClusterOutput, error)
    }
    DescribeDBClustersCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            DescribeDBClustersInput *awsrds.DescribeDBClustersInput
        }
        Returns struct {
            DescribeDBClustersOutput *awsrds.DescribeDBClustersOutput
            Error                    error
        }
        Stub func(*awsrds.DescribeDBClustersInput) (*awsrds.DescribeDBClustersOutput, error)
    }
}

func (*DbClustersClient) DeleteDBCluster Uses

func (f *DbClustersClient) DeleteDBCluster(param1 *awsrds.DeleteDBClusterInput) (*awsrds.DeleteDBClusterOutput, error)

func (*DbClustersClient) DescribeDBClusters Uses

func (f *DbClustersClient) DescribeDBClusters(param1 *awsrds.DescribeDBClustersInput) (*awsrds.DescribeDBClustersOutput, error)

type DbInstancesClient Uses

type DbInstancesClient struct {
    DeleteDBInstanceCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            DeleteDBInstanceInput *awsrds.DeleteDBInstanceInput
        }
        Returns struct {
            DeleteDBInstanceOutput *awsrds.DeleteDBInstanceOutput
            Error                  error
        }
        Stub func(*awsrds.DeleteDBInstanceInput) (*awsrds.DeleteDBInstanceOutput, error)
    }
    DescribeDBInstancesCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            DescribeDBInstancesInput *awsrds.DescribeDBInstancesInput
        }
        Returns struct {
            DescribeDBInstancesOutput *awsrds.DescribeDBInstancesOutput
            Error                     error
        }
        Stub func(*awsrds.DescribeDBInstancesInput) (*awsrds.DescribeDBInstancesOutput, error)
    }
}

func (*DbInstancesClient) DeleteDBInstance Uses

func (f *DbInstancesClient) DeleteDBInstance(param1 *awsrds.DeleteDBInstanceInput) (*awsrds.DeleteDBInstanceOutput, error)

func (*DbInstancesClient) DescribeDBInstances Uses

func (f *DbInstancesClient) DescribeDBInstances(param1 *awsrds.DescribeDBInstancesInput) (*awsrds.DescribeDBInstancesOutput, error)

type DbSubnetGroupsClient Uses

type DbSubnetGroupsClient struct {
    DeleteDBSubnetGroupCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            DeleteDBSubnetGroupInput *awsrds.DeleteDBSubnetGroupInput
        }
        Returns struct {
            DeleteDBSubnetGroupOutput *awsrds.DeleteDBSubnetGroupOutput
            Error                     error
        }
        Stub func(*awsrds.DeleteDBSubnetGroupInput) (*awsrds.DeleteDBSubnetGroupOutput, error)
    }
    DescribeDBSubnetGroupsCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            DescribeDBSubnetGroupsInput *awsrds.DescribeDBSubnetGroupsInput
        }
        Returns struct {
            DescribeDBSubnetGroupsOutput *awsrds.DescribeDBSubnetGroupsOutput
            Error                        error
        }
        Stub func(*awsrds.DescribeDBSubnetGroupsInput) (*awsrds.DescribeDBSubnetGroupsOutput, error)
    }
}

func (*DbSubnetGroupsClient) DeleteDBSubnetGroup Uses

func (f *DbSubnetGroupsClient) DeleteDBSubnetGroup(param1 *awsrds.DeleteDBSubnetGroupInput) (*awsrds.DeleteDBSubnetGroupOutput, error)

func (*DbSubnetGroupsClient) DescribeDBSubnetGroups Uses

func (f *DbSubnetGroupsClient) DescribeDBSubnetGroups(param1 *awsrds.DescribeDBSubnetGroupsInput) (*awsrds.DescribeDBSubnetGroupsOutput, error)

type Logger Uses

type Logger struct {
    PromptWithDetailsCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            ResourceType string
            ResourceName string
        }
        Returns struct {
            Proceed bool
        }
        Stub func(string, string) bool
    }
}

func (*Logger) PromptWithDetails Uses

func (f *Logger) PromptWithDetails(param1 string, param2 string) bool

Package fakes imports 2 packages (graph). Updated 2019-10-09. Refresh now. Tools for package owners.