fakes

package
v0.0.0-...-90c63b4 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWS

type AWS struct {
	SessionCall struct {
		Returns struct {
			Session clients.Session
			Error   error
		}
	}
	FetchSubnetsCall struct {
		Receives struct {
			SubnetIds []string
		}
		Returns struct {
			Subnets []clients.Subnet
			Error   error
		}
	}
}

func (*AWS) FetchSubnets

func (a *AWS) FetchSubnets(session clients.Session, subnetIds []string) ([]clients.Subnet, error)

func (*AWS) Session

func (a *AWS) Session() (clients.Session, error)

type BOSH

type BOSH struct {
	DeployCall struct {
		CallCount int
		Receives  struct {
			Manifest []byte
		}
		Returns struct {
			TaskId int
			Error  error
		}
	}

	InfoCall struct {
		Returns struct {
			Info  bosh.DirectorInfo
			Error error
		}
	}

	DeleteDeploymentCall struct {
		Receives struct {
			Name string
		}

		Returns struct {
			Error error
		}
	}

	GetTaskOutputCall struct {
		Receives struct {
			TaskId int
		}
		Returns struct {
			TaskOutputs []bosh.TaskOutput
			Error       error
		}
	}
}

func (*BOSH) DeleteDeployment

func (b *BOSH) DeleteDeployment(name string) error

func (*BOSH) Deploy

func (b *BOSH) Deploy(manifest []byte) (int, error)

func (*BOSH) GetTaskOutput

func (b *BOSH) GetTaskOutput(taskId int) ([]bosh.TaskOutput, error)

func (*BOSH) Info

func (b *BOSH) Info() (bosh.DirectorInfo, error)

type Session

type Session struct {
	DescribeSubnetsCall struct {
		Returns struct {
			DescribeSubnetsOutput *ec2.DescribeSubnetsOutput
			Error                 error
		}
	}
}

func (*Session) DescribeSubnets

func (s *Session) DescribeSubnets(input *ec2.DescribeSubnetsInput) (*ec2.DescribeSubnetsOutput, error)

type SubnetChecker

type SubnetChecker struct {
	CheckSubnetsCall struct {
		Returns struct {
			Bool  bool
			Error error
		}
	}
}

func (*SubnetChecker) CheckSubnets

func (s *SubnetChecker) CheckSubnets(manifestFilename string) (bool, error)

Jump to

Keyboard shortcuts

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