fixtures

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewChannel

func NewChannel(spaceID string, channelID string, channelName string, projectID string) *channels.Channel

func NewCobraRootCommand

func NewCobraRootCommand(fac *testutil.MockFactory) (cmd *cobra.Command, stdout *bytes.Buffer, stderr *bytes.Buffer)

NewCobraRootCommand creates the Cobra root command, and captures its stdout/stderr into buffers so you can assert on them later

func NewDeploymentProcessForProject

func NewDeploymentProcessForProject(spaceID string, projectID string) *deployments.DeploymentProcess

func NewDeploymentProcessForVersionControlledProject

func NewDeploymentProcessForVersionControlledProject(spaceID string, projectID string, gitRef string) *deployments.DeploymentProcess

func NewDeploymentSettingsForProject

func NewDeploymentSettingsForProject(spaceID string, projectID string, versioningStrategy *projects.VersioningStrategy) *deployments.DeploymentSettings

func NewProject

func NewProject(spaceID string, projectID string, projectName string, lifecycleID string, projectGroupID string, deploymentProcessID string) *projects.Project

func NewRelease

func NewRelease(spaceID string, releaseID string, releaseVersion string, projectID string, channelID string) *releases.Release

func NewSpace

func NewSpace(spaceID string, name string) *spaces.Space

func NewVersionControlledProject

func NewVersionControlledProject(spaceID string, projectID string, projectName string, lifecycleID string, projectGroupID string, deploymentProcessID string) *projects.Project

Types

This section is empty.

Jump to

Keyboard shortcuts

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