Documentation ¶
Index ¶
- func GenerateObjects(dirname string) (ra models.ReviewApp, at models.ApplicationTemplate, ...)
- func KustomizeBuildForTest(binPath string) (string, error)
- func SyncArgoCDApplication(binPath string, app string) error
- type Dynamic
- type GitHubClient
- func (c GitHubClient) ClosePr(org, repo string, prNum int) error
- func (c GitHubClient) GetDeletedFilenamesInLatestCommit(org, repo, branch string) ([]string, error)
- func (c GitHubClient) GetLatestMessage(org, repo string, prNum int) (string, error)
- func (c GitHubClient) GetUpdatedFilenamesInLatestCommit(org, repo, branch string) ([]string, error)
- func (c GitHubClient) OpenPr(org, repo string, prNum int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateObjects ¶ added in v0.1.0
func GenerateObjects(dirname string) ( ra models.ReviewApp, at models.ApplicationTemplate, mt models.ManifestsTemplate, app models.Application, manifests models.Manifests, preStopJt models.JobTemplate, preStopJob batchv1.Job, )
func KustomizeBuildForTest ¶
func SyncArgoCDApplication ¶
Types ¶
type Dynamic ¶
type Dynamic struct { Client dynamic.Interface Mapper meta.RESTMapper }
func (Dynamic) CreateOrUpdate ¶
func (d Dynamic) CreateOrUpdate(data []byte, obj *unstructured.Unstructured, ns string) error
type GitHubClient ¶
type GitHubClient struct {
// contains filtered or unexported fields
}
func NewGitHubClient ¶
func NewGitHubClient(token string) *GitHubClient
func (GitHubClient) GetDeletedFilenamesInLatestCommit ¶
func (c GitHubClient) GetDeletedFilenamesInLatestCommit(org, repo, branch string) ([]string, error)
func (GitHubClient) GetLatestMessage ¶
func (c GitHubClient) GetLatestMessage(org, repo string, prNum int) (string, error)
func (GitHubClient) GetUpdatedFilenamesInLatestCommit ¶
func (c GitHubClient) GetUpdatedFilenamesInLatestCommit(org, repo, branch string) ([]string, error)
Click to show internal directories.
Click to hide internal directories.