leftovers: github.com/genevievelesperance/leftovers/aws/route53/fakes Index | Files

package fakes

import "github.com/genevievelesperance/leftovers/aws/route53/fakes"

Index

Package Files

health_checks_client.go hosted_zones_client.go logger.go record_sets.go record_sets_client.go

type HealthChecksClient Uses

type HealthChecksClient struct {
    DeleteHealthCheckCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            DeleteHealthCheckInput *awsroute53.DeleteHealthCheckInput
        }
        Returns struct {
            DeleteHealthCheckOutput *awsroute53.DeleteHealthCheckOutput
            Error                   error
        }
        Stub func(*awsroute53.DeleteHealthCheckInput) (*awsroute53.DeleteHealthCheckOutput, error)
    }
    ListHealthChecksCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            ListHealthChecksInput *awsroute53.ListHealthChecksInput
        }
        Returns struct {
            ListHealthChecksOutput *awsroute53.ListHealthChecksOutput
            Error                  error
        }
        Stub func(*awsroute53.ListHealthChecksInput) (*awsroute53.ListHealthChecksOutput, error)
    }
}

func (*HealthChecksClient) DeleteHealthCheck Uses

func (f *HealthChecksClient) DeleteHealthCheck(param1 *awsroute53.DeleteHealthCheckInput) (*awsroute53.DeleteHealthCheckOutput, error)

func (*HealthChecksClient) ListHealthChecks Uses

func (f *HealthChecksClient) ListHealthChecks(param1 *awsroute53.ListHealthChecksInput) (*awsroute53.ListHealthChecksOutput, error)

type HostedZonesClient Uses

type HostedZonesClient struct {
    DeleteHostedZoneCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            DeleteHostedZoneInput *awsroute53.DeleteHostedZoneInput
        }
        Returns struct {
            DeleteHostedZoneOutput *awsroute53.DeleteHostedZoneOutput
            Error                  error
        }
        Stub func(*awsroute53.DeleteHostedZoneInput) (*awsroute53.DeleteHostedZoneOutput, error)
    }
    ListHostedZonesCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            ListHostedZonesInput *awsroute53.ListHostedZonesInput
        }
        Returns struct {
            ListHostedZonesOutput *awsroute53.ListHostedZonesOutput
            Error                 error
        }
        Stub func(*awsroute53.ListHostedZonesInput) (*awsroute53.ListHostedZonesOutput, error)
    }
}

func (*HostedZonesClient) DeleteHostedZone Uses

func (f *HostedZonesClient) DeleteHostedZone(param1 *awsroute53.DeleteHostedZoneInput) (*awsroute53.DeleteHostedZoneOutput, error)

func (*HostedZonesClient) ListHostedZones Uses

func (f *HostedZonesClient) ListHostedZones(param1 *awsroute53.ListHostedZonesInput) (*awsroute53.ListHostedZonesOutput, error)

type Logger Uses

type Logger struct {
    PromptWithDetailsCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            ResourceType string
            ResourceName string
        }
        Returns struct {
            Proceed bool
        }
        Stub func(string, string) bool
    }
}

func (*Logger) PromptWithDetails Uses

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

type RecordSets Uses

type RecordSets struct {
    DeleteCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            HostedZoneId   *string
            HostedZoneName string
            RecordSets     []*awsroute53.ResourceRecordSet
        }
        Returns struct {
            Error error
        }
        Stub func(*string, string, []*awsroute53.ResourceRecordSet) error
    }
    GetCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            HostedZoneId *string
        }
        Returns struct {
            ResourceRecordSetSlice []*awsroute53.ResourceRecordSet
            Error                  error
        }
        Stub func(*string) ([]*awsroute53.ResourceRecordSet, error)
    }
}

func (*RecordSets) Delete Uses

func (f *RecordSets) Delete(param1 *string, param2 string, param3 []*awsroute53.ResourceRecordSet) error

func (*RecordSets) Get Uses

func (f *RecordSets) Get(param1 *string) ([]*awsroute53.ResourceRecordSet, error)

type RecordSetsClient Uses

type RecordSetsClient struct {
    ChangeResourceRecordSetsCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            ChangeResourceRecordSetsInput *awsroute53.ChangeResourceRecordSetsInput
        }
        Returns struct {
            ChangeResourceRecordSetsOutput *awsroute53.ChangeResourceRecordSetsOutput
            Error                          error
        }
        Stub func(*awsroute53.ChangeResourceRecordSetsInput) (*awsroute53.ChangeResourceRecordSetsOutput, error)
    }
    ListResourceRecordSetsCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            ListResourceRecordSetsInput *awsroute53.ListResourceRecordSetsInput
        }
        Returns struct {
            ListResourceRecordSetsOutput *awsroute53.ListResourceRecordSetsOutput
            Error                        error
        }
        Stub func(*awsroute53.ListResourceRecordSetsInput) (*awsroute53.ListResourceRecordSetsOutput, error)
    }
}

func (*RecordSetsClient) ChangeResourceRecordSets Uses

func (f *RecordSetsClient) ChangeResourceRecordSets(param1 *awsroute53.ChangeResourceRecordSetsInput) (*awsroute53.ChangeResourceRecordSetsOutput, error)

func (*RecordSetsClient) ListResourceRecordSets Uses

func (f *RecordSetsClient) ListResourceRecordSets(param1 *awsroute53.ListResourceRecordSetsInput) (*awsroute53.ListResourceRecordSetsOutput, error)

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