"math/rand" "strings" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" "github.com/pivotal-cf-experimental/bosh-classroom/proctor/controller" "github.com/pivotal-cf-experimental/bosh-classroom/proctor/mocks" ) var _ = Describe("DescribeClassroom", func() { var ( c *controller.Controller atlasClient *mocks.AtlasClient awsClient *mocks.AWSClient cliLogger *mocks.CLILogger classroomName string prefixedName string ) BeforeEach(func() { atlasClient = &mocks.AtlasClient{} awsClient = &mocks.AWSClient{} cliLogger = &mocks.CLILogger{} c = &controller.Controller{ AWSClient: awsClient, Log: cliLogger, }
"fmt" "math/rand" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" "github.com/pivotal-cf-experimental/bosh-classroom/proctor/controller" "github.com/pivotal-cf-experimental/bosh-classroom/proctor/mocks" ) var _ = Describe("ListClassrooms", func() { var ( c *controller.Controller atlasClient *mocks.AtlasClient awsClient *mocks.AWSClient cliLogger *mocks.CLILogger classroomName string prefixedName string ) BeforeEach(func() { atlasClient = &mocks.AtlasClient{} awsClient = &mocks.AWSClient{} cliLogger = &mocks.CLILogger{} c = &controller.Controller{ AWSClient: awsClient, Log: cliLogger, }
"github.com/hashicorp/go-multierror" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" "github.com/pivotal-cf-experimental/bosh-classroom/proctor/controller" "github.com/pivotal-cf-experimental/bosh-classroom/proctor/mocks" "github.com/pivotal-cf-experimental/bosh-classroom/proctor/shell" ) var _ = Describe("RunOnVMs", func() { var ( c *controller.Controller atlasClient *mocks.AtlasClient awsClient *mocks.AWSClient cliLogger *mocks.CLILogger parallelRunner *mocks.ParallelRunner webClient *mocks.WebClient classroomName string prefixedName string ) BeforeEach(func() { atlasClient = &mocks.AtlasClient{} awsClient = &mocks.AWSClient{} cliLogger = &mocks.CLILogger{} parallelRunner = &mocks.ParallelRunner{} webClient = &mocks.WebClient{} c = &controller.Controller{ AWSClient: awsClient,
"fmt" "math/rand" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" "github.com/pivotal-cf-experimental/bosh-classroom/proctor/controller" "github.com/pivotal-cf-experimental/bosh-classroom/proctor/mocks" ) var _ = Describe("CreateClassroom", func() { var ( c *controller.Controller atlasClient *mocks.AtlasClient awsClient *mocks.AWSClient cliLogger *mocks.CLILogger classroomName string prefixedName string ) BeforeEach(func() { atlasClient = &mocks.AtlasClient{} atlasClient.GetLatestAMIsCall.Returns.AMIMap = map[string]string{ "some-region": "some-ami", } awsClient = &mocks.AWSClient{} cliLogger = &mocks.CLILogger{} c = &controller.Controller{ AtlasClient: atlasClient,