leftovers: github.com/genevievelesperance/leftovers/nsxt/logicalrouting/fakes Index | Files

package fakes

import "github.com/genevievelesperance/leftovers/nsxt/logicalrouting/fakes"

Index

Package Files

logger.go logical_routing_api.go

type Logger Uses

type Logger struct {
    DebuglnCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            Message string
        }
        Stub func(string)
    }
    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) Debugln Uses

func (f *Logger) Debugln(param1 string)

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

type LogicalRoutingAPI Uses

type LogicalRoutingAPI struct {
    DeleteLogicalRouterCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            Ctx               context.Context
            Id                string
            LocalVarOptionals map[string]interface {
            }
        }
        Returns struct {
            Response *http.Response
            Error    error
        }
        Stub func(context.Context, string, map[string]interface {
        }) (*http.Response, error)
    }
    ListLogicalRoutersCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            Ctx               context.Context
            LocalVarOptionals map[string]interface {
            }
        }
        Returns struct {
            LogicalRouterListResult manager.LogicalRouterListResult
            Response                *http.Response
            Error                   error
        }
        Stub func(context.Context, map[string]interface {
        }) (manager.LogicalRouterListResult, *http.Response, error)
    }
}

func (*LogicalRoutingAPI) DeleteLogicalRouter Uses

func (f *LogicalRoutingAPI) DeleteLogicalRouter(param1 context.Context, param2 string, param3 map[string]interface {
}) (*http.Response, error)

func (*LogicalRoutingAPI) ListLogicalRouters Uses

func (f *LogicalRoutingAPI) ListLogicalRouters(param1 context.Context, param2 map[string]interface {
}) (manager.LogicalRouterListResult, *http.Response, error)

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