fakes

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2018 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 {
	ListAliasesCall struct {
		CallCount int
		Receives  struct {
			Input *kms.ListAliasesInput
		}
		Returns struct {
			Output *kms.ListAliasesOutput
			Error  error
		}
	}

	DeleteAliasCall struct {
		CallCount int
		Receives  struct {
			Input *kms.DeleteAliasInput
		}
		Returns struct {
			Output *kms.DeleteAliasOutput
			Error  error
		}
	}
}

func (*AliasesClient) DeleteAlias

func (a *AliasesClient) DeleteAlias(input *kms.DeleteAliasInput) (*kms.DeleteAliasOutput, error)

func (*AliasesClient) ListAliases

func (a *AliasesClient) ListAliases(input *kms.ListAliasesInput) (*kms.ListAliasesOutput, error)

type KeysClient added in v0.24.0

type KeysClient struct {
	ListKeysCall struct {
		CallCount int
		Receives  struct {
			Input *kms.ListKeysInput
		}
		Returns struct {
			Output *kms.ListKeysOutput
			Error  error
		}
	}
	DescribeKeyCall struct {
		CallCount int
		Receives  struct {
			Input *kms.DescribeKeyInput
		}
		Returns struct {
			Output *kms.DescribeKeyOutput
			Error  error
		}
	}
	ListResourceTagsCall struct {
		CallCount int
		Receives  struct {
			Input *kms.ListResourceTagsInput
		}
		Returns struct {
			Output *kms.ListResourceTagsOutput
			Error  error
		}
	}
	DisableKeyCall struct {
		CallCount int
		Receives  struct {
			Input *kms.DisableKeyInput
		}
		Returns struct {
			Output *kms.DisableKeyOutput
			Error  error
		}
	}
	ScheduleKeyDeletionCall struct {
		CallCount int
		Receives  struct {
			Input *kms.ScheduleKeyDeletionInput
		}
		Returns struct {
			Output *kms.ScheduleKeyDeletionOutput
			Error  error
		}
	}
}

func (*KeysClient) DescribeKey added in v0.24.0

func (k *KeysClient) DescribeKey(input *kms.DescribeKeyInput) (*kms.DescribeKeyOutput, error)

func (*KeysClient) DisableKey added in v0.24.0

func (k *KeysClient) DisableKey(input *kms.DisableKeyInput) (*kms.DisableKeyOutput, error)

func (*KeysClient) ListKeys added in v0.24.0

func (k *KeysClient) ListKeys(input *kms.ListKeysInput) (*kms.ListKeysOutput, error)

func (*KeysClient) ListResourceTags added in v0.24.0

func (k *KeysClient) ListResourceTags(input *kms.ListResourceTagsInput) (*kms.ListResourceTagsOutput, error)

func (*KeysClient) ScheduleKeyDeletion added in v0.24.0

func (k *KeysClient) ScheduleKeyDeletion(input *kms.ScheduleKeyDeletionInput) (*kms.ScheduleKeyDeletionOutput, error)

type Logger

type Logger struct {
	PrintfCall struct {
		CallCount int
		Receives  struct {
			Message   string
			Arguments []interface{}
		}
		Messages []string
	}

	PromptWithDetailsCall struct {
		CallCount int
		Receives  struct {
			Type string
			Name string
		}
		Returns struct {
			Proceed bool
		}
	}
}

func (*Logger) Printf added in v0.24.0

func (l *Logger) Printf(message string, a ...interface{})

func (*Logger) PromptWithDetails

func (l *Logger) PromptWithDetails(resourceType, resourceName string) bool

Jump to

Keyboard shortcuts

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