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

package fakes

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

Index

Package Files

grouping_objects_api.go logger.go

type GroupingObjectsAPI Uses

type GroupingObjectsAPI struct {
    DeleteIPSetCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            Context            context.Context
            String             string
            MapStringInterface map[string]interface {
            }
        }
        Returns struct {
            Response *http.Response
            Error    error
        }
        Stub func(context.Context, string, map[string]interface {
        }) (*http.Response, error)
    }
    DeleteNSGroupCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            Context            context.Context
            String             string
            MapStringInterface map[string]interface {
            }
        }
        Returns struct {
            Response *http.Response
            Error    error
        }
        Stub func(context.Context, string, map[string]interface {
        }) (*http.Response, error)
    }
    DeleteNSServiceCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            Context            context.Context
            String             string
            MapStringInterface map[string]interface {
            }
        }
        Returns struct {
            Response *http.Response
            Error    error
        }
        Stub func(context.Context, string, map[string]interface {
        }) (*http.Response, error)
    }
    ListIPSetsCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            Context            context.Context
            MapStringInterface map[string]interface {
            }
        }
        Returns struct {
            IpSetListResult manager.IpSetListResult
            Response        *http.Response
            Error           error
        }
        Stub func(context.Context, map[string]interface {
        }) (manager.IpSetListResult, *http.Response, error)
    }
    ListNSGroupsCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            Context            context.Context
            MapStringInterface map[string]interface {
            }
        }
        Returns struct {
            NsGroupListResult manager.NsGroupListResult
            Response          *http.Response
            Error             error
        }
        Stub func(context.Context, map[string]interface {
        }) (manager.NsGroupListResult, *http.Response, error)
    }
    ListNSServicesCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            Context            context.Context
            MapStringInterface map[string]interface {
            }
        }
        Returns struct {
            NsServiceListResult manager.NsServiceListResult
            Response            *http.Response
            Error               error
        }
        Stub func(context.Context, map[string]interface {
        }) (manager.NsServiceListResult, *http.Response, error)
    }
}

func (*GroupingObjectsAPI) DeleteIPSet Uses

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

func (*GroupingObjectsAPI) DeleteNSGroup Uses

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

func (*GroupingObjectsAPI) DeleteNSService Uses

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

func (*GroupingObjectsAPI) ListIPSets Uses

func (f *GroupingObjectsAPI) ListIPSets(param1 context.Context, param2 map[string]interface {
}) (manager.IpSetListResult, *http.Response, error)

func (*GroupingObjectsAPI) ListNSGroups Uses

func (f *GroupingObjectsAPI) ListNSGroups(param1 context.Context, param2 map[string]interface {
}) (manager.NsGroupListResult, *http.Response, error)

func (*GroupingObjectsAPI) ListNSServices Uses

func (f *GroupingObjectsAPI) ListNSServices(param1 context.Context, param2 map[string]interface {
}) (manager.NsServiceListResult, *http.Response, error)

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

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