Documentation ¶
Index ¶
- func Account(ask question.Asker, list []accounts.IAccount, message string) (accounts.IAccount, error)
- func ByNameOrID[T NameOrID](ask question.Asker, list []T, message string) (T, error)
- func Channel(octopus *octopusApiClient.Client, ask question.Asker, questionText string, ...) (*channels.Channel, error)
- func EnvironmentSelect(ask question.Asker, client *client.Client, message string) (*environments.Environment, error)
- func EnvironmentsMultiSelect(ask question.Asker, client *client.Client, message string, required bool) ([]*environments.Environment, error)
- func FindChannel(octopus *octopusApiClient.Client, project *projects.Project, ...) (*channels.Channel, error)
- func FindEnvironment(octopus *client.Client, environmentName string) (*environments.Environment, error)
- func FindProject(octopus *octopusApiClient.Client, projectName string) (*projects.Project, error)
- func Project(questionText string, octopus *octopusApiClient.Client, ask question.Asker) (*projects.Project, error)
- type NameOrID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByNameOrID ¶
func EnvironmentSelect ¶ added in v0.2.1
func EnvironmentSelect(ask question.Asker, client *client.Client, message string) (*environments.Environment, error)
func EnvironmentsMultiSelect ¶ added in v0.2.0
func EnvironmentsMultiSelect(ask question.Asker, client *client.Client, message string, required bool) ([]*environments.Environment, error)
func FindChannel ¶ added in v0.2.1
func FindEnvironment ¶ added in v0.2.1
func FindEnvironment(octopus *client.Client, environmentName string) (*environments.Environment, error)
func FindProject ¶ added in v0.2.1
Types ¶
Click to show internal directories.
Click to hide internal directories.