fakes

package
v0.65.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliasesClient

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

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

func (*AliasesClient) ListAliases

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

type KeysClient added in v0.24.0

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 added in v0.24.0

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

func (*KeysClient) DisableKey added in v0.24.0

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

func (*KeysClient) ListKeys added in v0.24.0

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

func (*KeysClient) ListResourceTags added in v0.24.0

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

func (*KeysClient) ScheduleKeyDeletion added in v0.24.0

type Logger

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 added in v0.24.0

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

func (*Logger) PromptWithDetails

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL