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

package fakes

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

Index

Package Files

logger.go managed_zones_client.go record_sets.go record_sets_client.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 ManagedZonesClient Uses

type ManagedZonesClient struct {
    DeleteManagedZoneCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            Zone string
        }
        Returns struct {
            Error error
        }
        Stub func(string) error
    }
    ListManagedZonesCall struct {
        sync.Mutex
        CallCount int
        Returns   struct {
            ManagedZonesListResponse *gcpdns.ManagedZonesListResponse
            Error                    error
        }
        Stub func() (*gcpdns.ManagedZonesListResponse, error)
    }
}

func (*ManagedZonesClient) DeleteManagedZone Uses

func (f *ManagedZonesClient) DeleteManagedZone(param1 string) error

func (*ManagedZonesClient) ListManagedZones Uses

func (f *ManagedZonesClient) ListManagedZones() (*gcpdns.ManagedZonesListResponse, error)

type RecordSets Uses

type RecordSets struct {
    DeleteCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            ManagedZone string
        }
        Returns struct {
            Error error
        }
        Stub func(string) error
    }
}

func (*RecordSets) Delete Uses

func (f *RecordSets) Delete(param1 string) error

type RecordSetsClient Uses

type RecordSetsClient struct {
    DeleteRecordSetsCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            ManagedZone string
            Change      *gcpdns.Change
        }
        Returns struct {
            Error error
        }
        Stub func(string, *gcpdns.Change) error
    }
    ListRecordSetsCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            ManagedZone string
        }
        Returns struct {
            ResourceRecordSetsListResponse *gcpdns.ResourceRecordSetsListResponse
            Error                          error
        }
        Stub func(string) (*gcpdns.ResourceRecordSetsListResponse, error)
    }
}

func (*RecordSetsClient) DeleteRecordSets Uses

func (f *RecordSetsClient) DeleteRecordSets(param1 string, param2 *gcpdns.Change) error

func (*RecordSetsClient) ListRecordSets Uses

func (f *RecordSetsClient) ListRecordSets(param1 string) (*gcpdns.ResourceRecordSetsListResponse, error)

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