MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / NewChannel

Function NewChannel

test/fixtures/projects.go:184–189  ·  view source on GitHub ↗
(spaceID string, channelID string, channelName string, projectID string)

Source from the content-addressed store, hash-verified

182}
183
184func NewChannel(spaceID string, channelID string, channelName string, projectID string) *channels.Channel {
185 result := channels.NewChannel(channelName, projectID)
186 result.ID = channelID
187 result.SpaceID = spaceID
188 return result
189}
190
191func NewEphemeralChannel(spaceID string, channelID string, channelName string, projectID string, ephemeralEnvironmentNameTemplate string, autoDeploy bool) *channels.Channel {
192 result := channels.NewChannel(channelName, projectID)

Calls

no outgoing calls