leftovers: github.com/genevievelesperance/leftovers/azure/fakes Index | Files

package fakes

import "github.com/genevievelesperance/leftovers/azure/fakes"

Index

Package Files

app_security_groups_client.go groups_client.go logger.go

type AppSecurityGroupsClient Uses

type AppSecurityGroupsClient struct {
    DeleteAppSecurityGroupCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            RgName string
            Name   string
        }
        Returns struct {
            Error error
        }
        Stub func(string, string) error
    }
    ListAppSecurityGroupsCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            RgName string
        }
        Returns struct {
            StringSlice []string
            Error       error
        }
        Stub func(string) ([]string, error)
    }
}

func (*AppSecurityGroupsClient) DeleteAppSecurityGroup Uses

func (f *AppSecurityGroupsClient) DeleteAppSecurityGroup(param1 string, param2 string) error

func (*AppSecurityGroupsClient) ListAppSecurityGroups Uses

func (f *AppSecurityGroupsClient) ListAppSecurityGroups(param1 string) ([]string, error)

type GroupsClient Uses

type GroupsClient struct {
    DeleteGroupCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            Name string
        }
        Returns struct {
            Error error
        }
        Stub func(string) error
    }
    ListGroupsCall struct {
        sync.Mutex
        CallCount int
        Returns   struct {
            Groups []string
            Err    error
        }
        Stub func() ([]string, error)
    }
}

func (*GroupsClient) DeleteGroup Uses

func (f *GroupsClient) DeleteGroup(param1 string) error

func (*GroupsClient) ListGroups Uses

func (f *GroupsClient) ListGroups() ([]string, error)

type Logger Uses

type Logger struct {
    DebuglnCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            Message string
        }
        Stub func(string)
    }
    NoConfirmCall struct {
        sync.Mutex
        CallCount int
        Stub      func()
    }
    PrintfCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            Message string
            Args    []interface {
            }
        }
        Stub func(string, ...interface {
        })
    }
    PrintlnCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            Message string
        }
        Stub func(string)
    }
    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) NoConfirm Uses

func (f *Logger) NoConfirm()

func (*Logger) Printf Uses

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

func (*Logger) Println Uses

func (f *Logger) Println(param1 string)

func (*Logger) PromptWithDetails Uses

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

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