leftovers: github.com/genevievelesperance/leftovers/gcp/container/fakes Index | Files

package fakes

import "github.com/genevievelesperance/leftovers/gcp/container/fakes"

Index

Package Files

clusters_client.go logger.go

type ClustersClient Uses

type ClustersClient struct {
    DeleteClusterCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            Zone    string
            Cluster string
        }
        Returns struct {
            Error error
        }
        Stub func(string, string) error
    }
    ListClustersCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            Zone string
        }
        Returns struct {
            ListClustersResponse *gcpcontainer.ListClustersResponse
            Error                error
        }
        Stub func(string) (*gcpcontainer.ListClustersResponse, error)
    }
}

func (*ClustersClient) DeleteCluster Uses

func (f *ClustersClient) DeleteCluster(param1 string, param2 string) error

func (*ClustersClient) ListClusters Uses

func (f *ClustersClient) ListClusters(param1 string) (*gcpcontainer.ListClustersResponse, error)

type Logger Uses

type Logger struct {
    DebugfCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            Message string
            A       []interface {
            }
        }
        Stub func(string, ...interface {
        })
    }
    PrintfCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            Message 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) Debugf Uses

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

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-10-31. Refresh now. Tools for package owners.