Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HarnessClient ¶
type HarnessClient struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(clientURL, token, accountID string) *HarnessClient
func (*HarnessClient) GetNewDelegate ¶
func (c *HarnessClient) GetNewDelegate(delegateName, installType string) ([]byte, error)
https://app.harness.io/gateway/api/setup/delegates/downloadUrl
type HarnessDelegateResponse ¶
func (HarnessDelegateResponse) GetURLByInstallType ¶
func (hd HarnessDelegateResponse) GetURLByInstallType(installType string) (string, error)
Click to show internal directories.
Click to hide internal directories.