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

package fakes

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

Index

Package Files

aliases_client.go keys_client.go logger.go

type AliasesClient Uses

type AliasesClient struct {
    DeleteAliasCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            DeleteAliasInput *awskms.DeleteAliasInput
        }
        Returns struct {
            DeleteAliasOutput *awskms.DeleteAliasOutput
            Error             error
        }
        Stub func(*awskms.DeleteAliasInput) (*awskms.DeleteAliasOutput, error)
    }
    ListAliasesCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            ListAliasesInput *awskms.ListAliasesInput
        }
        Returns struct {
            ListAliasesOutput *awskms.ListAliasesOutput
            Error             error
        }
        Stub func(*awskms.ListAliasesInput) (*awskms.ListAliasesOutput, error)
    }
}

func (*AliasesClient) DeleteAlias Uses

func (f *AliasesClient) DeleteAlias(param1 *awskms.DeleteAliasInput) (*awskms.DeleteAliasOutput, error)

func (*AliasesClient) ListAliases Uses

func (f *AliasesClient) ListAliases(param1 *awskms.ListAliasesInput) (*awskms.ListAliasesOutput, error)

type KeysClient Uses

type KeysClient struct {
    DescribeKeyCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            DescribeKeyInput *awskms.DescribeKeyInput
        }
        Returns struct {
            DescribeKeyOutput *awskms.DescribeKeyOutput
            Error             error
        }
        Stub func(*awskms.DescribeKeyInput) (*awskms.DescribeKeyOutput, error)
    }
    DisableKeyCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            DisableKeyInput *awskms.DisableKeyInput
        }
        Returns struct {
            DisableKeyOutput *awskms.DisableKeyOutput
            Error            error
        }
        Stub func(*awskms.DisableKeyInput) (*awskms.DisableKeyOutput, error)
    }
    ListKeysCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            ListKeysInput *awskms.ListKeysInput
        }
        Returns struct {
            ListKeysOutput *awskms.ListKeysOutput
            Error          error
        }
        Stub func(*awskms.ListKeysInput) (*awskms.ListKeysOutput, error)
    }
    ListResourceTagsCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            ListResourceTagsInput *awskms.ListResourceTagsInput
        }
        Returns struct {
            ListResourceTagsOutput *awskms.ListResourceTagsOutput
            Error                  error
        }
        Stub func(*awskms.ListResourceTagsInput) (*awskms.ListResourceTagsOutput, error)
    }
    ScheduleKeyDeletionCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            ScheduleKeyDeletionInput *awskms.ScheduleKeyDeletionInput
        }
        Returns struct {
            ScheduleKeyDeletionOutput *awskms.ScheduleKeyDeletionOutput
            Error                     error
        }
        Stub func(*awskms.ScheduleKeyDeletionInput) (*awskms.ScheduleKeyDeletionOutput, error)
    }
}

func (*KeysClient) DescribeKey Uses

func (f *KeysClient) DescribeKey(param1 *awskms.DescribeKeyInput) (*awskms.DescribeKeyOutput, error)

func (*KeysClient) DisableKey Uses

func (f *KeysClient) DisableKey(param1 *awskms.DisableKeyInput) (*awskms.DisableKeyOutput, error)

func (*KeysClient) ListKeys Uses

func (f *KeysClient) ListKeys(param1 *awskms.ListKeysInput) (*awskms.ListKeysOutput, error)

func (*KeysClient) ListResourceTags Uses

func (f *KeysClient) ListResourceTags(param1 *awskms.ListResourceTagsInput) (*awskms.ListResourceTagsOutput, error)

func (*KeysClient) ScheduleKeyDeletion Uses

func (f *KeysClient) ScheduleKeyDeletion(param1 *awskms.ScheduleKeyDeletionInput) (*awskms.ScheduleKeyDeletionOutput, error)

type Logger Uses

type Logger struct {
    PrintfCall struct {
        sync.Mutex
        CallCount int
        Receives  struct {
            M   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) 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 2 packages (graph). Updated 2019-10-08. Refresh now. Tools for package owners.