 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func EnsureCli() (cliPath string, cliDir string, err error)
- func GetApiClient(spaceId string) (*client.Client, error)
- func GetCliPath() (cliPath string, cliDir string, err error)
- func RunCli(space string, args ...string) (string, string, error)
- func RunCliRawOutput(space string, args ...string) ([]byte, []byte, error)
- type CommonProjectFixture
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureCli ¶
EnsureCli builds the CLI using 'go build' if it does not already exist. note: this will always deliberately build the CLI the first time you invoke it, just in case you have an existing out-of-date binary lying around from some prior thing
func GetApiClient ¶
GetApiClient returns a "back door" connection to the Octopus Server that integration tests can use to create fixture data, cleanup, etc
func GetCliPath ¶
Types ¶
type CommonProjectFixture ¶
type CommonProjectFixture struct {
	ProjectGroup          *projectgroups.ProjectGroup
	Lifecycle             *lifecycles.Lifecycle
	Project               *projects.Project
	ProjectDefaultChannel *channels.Channel
}
    func CreateCommonProject ¶
func CreateCommonProject(t *testing.T, apiClient *octopusApiClient.Client, runId uuid.UUID) (*CommonProjectFixture, error)
 Click to show internal directories. 
   Click to hide internal directories.