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

package fakes

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

Index

Package Files

clusters_client.go logger.go

type ClustersClient Uses

type ClustersClient struct {
    DeleteClusterCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            DeleteClusterInput *awseks.DeleteClusterInput
        }
        Returns struct {
            DeleteClusterOutput *awseks.DeleteClusterOutput
            Error               error
        }
        Stub func(*awseks.DeleteClusterInput) (*awseks.DeleteClusterOutput, error)
    }
    ListClustersCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            ListClustersInput *awseks.ListClustersInput
        }
        Returns struct {
            ListClustersOutput *awseks.ListClustersOutput
            Error              error
        }
        Stub func(*awseks.ListClustersInput) (*awseks.ListClustersOutput, error)
    }
}

func (*ClustersClient) DeleteCluster Uses

func (f *ClustersClient) DeleteCluster(param1 *awseks.DeleteClusterInput) (*awseks.DeleteClusterOutput, error)

func (*ClustersClient) ListClusters Uses

func (f *ClustersClient) ListClusters(param1 *awseks.ListClustersInput) (*awseks.ListClustersOutput, error)

type Logger Uses

type Logger struct {
    PrintfCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            M   string
            A   []interface {
            }
        }
        Stub func(string, ...interface {
        })
    }
    PromptWithDetailsCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            ResourceType string
            ResourceName string
        }
        Returns struct {
            Proceed bool
        }
        Stub func(string, string) bool
    }
}

func (*Logger) Printf Uses

func (f *Logger) Printf(param1 string, param2 ...interface {
})

func (*Logger) PromptWithDetails Uses

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

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