mock

package
v0.0.0-...-7b5ad67 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	efsiface.EFSAPI
	// contains filtered or unexported fields
}

Client which mocks the EFS client.

func New

func New() *Client

New mock EFS client.

func (*Client) CreateFileSystem

func (m *Client) CreateFileSystem(input *efs.CreateFileSystemInput) (*efs.FileSystemDescription, error)

CreateFileSystem mock.

func (*Client) CreateMountTarget

func (m *Client) CreateMountTarget(input *efs.CreateMountTargetInput) (*efs.MountTargetDescription, error)

CreateMountTarget mock.

func (*Client) CreateTags

func (m *Client) CreateTags(input *efs.CreateTagsInput) (*efs.CreateTagsOutput, error)

CreateTags mock.

func (*Client) DescribeFileSystems

func (m *Client) DescribeFileSystems(input *efs.DescribeFileSystemsInput) (*efs.DescribeFileSystemsOutput, error)

DescribeFileSystems mock.

func (*Client) DescribeMountTargets

func (m *Client) DescribeMountTargets(input *efs.DescribeMountTargetsInput) (*efs.DescribeMountTargetsOutput, error)

DescribeMountTargets mock.

type FileSystem

type FileSystem struct {
	ID          string
	Tags        []Tag
	Performance string
	Mounts      []Mount
}

FileSystem used for in memory mock storage.

type Mount

type Mount struct {
	SubnetID string
}

Mount used for in memory mock storage.

type Tag

type Tag struct {
	Key   string
	Value string
}

Tag used for in memory mock storage.

Jump to

Keyboard shortcuts

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