Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigurePlatformHubVersionControlSettingsExample ¶
func ConfigurePlatformHubVersionControlSettingsExample()
ConfigurePlatformHubVersionControlSettingsExample provides an example of how to point Platform Hub at a Git repository using username/password credentials.
If the repository is already configured, changing the URL will repoint Platform Hub at the new repository.
func ConfigurePlatformHubVersionControlSettingsWithGitHubConnectionExample ¶
func ConfigurePlatformHubVersionControlSettingsWithGitHubConnectionExample()
ConfigurePlatformHubVersionControlSettingsWithGitHubConnectionExample provides an example of how to point Platform Hub at a repository reachable through a GitHub App connection.
The repository listing supplies both the Git URL and the repository's own default branch, so neither needs to be provided.
func GetPlatformHubGitHubConnectionByIDExample ¶
func GetPlatformHubGitHubConnectionByIDExample()
GetPlatformHubGitHubConnectionByIDExample provides an example of how to get a single Platform Hub GitHub App connection and the repositories it grants access to.
func GetPlatformHubVersionControlSettingsExample ¶
func GetPlatformHubVersionControlSettingsExample()
GetPlatformHubVersionControlSettingsExample provides an example of how to read the Platform Hub version control settings from Octopus Deploy through the Go API client.
func ListPlatformHubGitHubConnectionsExample ¶
func ListPlatformHubGitHubConnectionsExample()
ListPlatformHubGitHubConnectionsExample provides an example of how to list the GitHub App connections available to Platform Hub, paging through the results.
Types ¶
This section is empty.