Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateGitOpsCommit ¶
Types ¶
type GitOpsConfig ¶
type GitOpsConfig struct { Provider string `json:"provider"` RepoURI string `json:"repoUri"` Hostname string `json:"hostname"` Path string `json:"path"` Branch string `json:"branch"` Format string `json:"format"` Action string `json:"action"` PublicKey string `json:"publicKey"` PrivateKey string `json:"-"` LastError string `json:"lastError"` }
func GetDownstreamGitOps ¶
func GetDownstreamGitOps(appID string, clusterID string) (*GitOpsConfig, error)
GetDownstreamGitOps will return the gitops config for a downstrea, This implementation copies how it works in typescript.
func (*GitOpsConfig) CloneURL ¶
func (g *GitOpsConfig) CloneURL() string
func (*GitOpsConfig) CommitURL ¶
func (g *GitOpsConfig) CommitURL(hash string) string
Click to show internal directories.
Click to hide internal directories.