services

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteManifestsInput

type DeleteManifestsInput struct {
	Path string
}

type DeleteManifestsParam

type DeleteManifestsParam struct {
	Org       string
	Repo      string
	Branch    string
	CommitMsg string
	Username  string
	Token     string
}

type GitRemoteRepoAppService

type GitRemoteRepoAppService struct {
	// contains filtered or unexported fields
}

func NewGitRemoteRepoAppService

func NewGitRemoteRepoAppService(gitapi gateways.GitHubIFace) *GitRemoteRepoAppService

func (*GitRemoteRepoAppService) GetOpenPullRequest

func (s *GitRemoteRepoAppService) GetOpenPullRequest(ctx context.Context, org, repo string, prNum int, username, token string) (*gateways.PullRequest, error)

func (GitRemoteRepoAppService) IsApplicationUpdated

func (s GitRemoteRepoAppService) IsApplicationUpdated(ctx context.Context, param IsApplicationUpdatedParam) (bool, error)

func (*GitRemoteRepoAppService) ListOpenPullRequest

func (s *GitRemoteRepoAppService) ListOpenPullRequest(ctx context.Context, org, repo string, username, token string) ([]*gateways.PullRequest, error)

func (*GitRemoteRepoAppService) SendMessage

func (s *GitRemoteRepoAppService) SendMessage(ctx context.Context, pr *gateways.PullRequest, message string, username, token string) error

type GitRemoteRepoInfraService

type GitRemoteRepoInfraService struct {
	// contains filtered or unexported fields
}

func NewGitRemoteRepoInfraService

func NewGitRemoteRepoInfraService(gitCodeIF gateways.GitIFace) *GitRemoteRepoInfraService

func (GitRemoteRepoInfraService) DeleteManifests

func (GitRemoteRepoInfraService) UpdateManifests

type IsApplicationUpdatedParam

type IsApplicationUpdatedParam struct {
	Org                     string
	Repo                    string
	PrNum                   int
	Username                string
	Token                   string
	HashInRA                string
	HashInArgoCDApplication string
}

type UpdateManifestsInput

type UpdateManifestsInput struct {
	Content string
	Path    string
}

Inputs of some functions

type UpdateManifestsParam

type UpdateManifestsParam struct {
	Org       string
	Repo      string
	Branch    string
	CommitMsg string
	Username  string
	Token     string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL