Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewValidator ¶
func NewValidator(repoService GitHubRepositoriesService, network config.Network, state *flowkit.State, logger output.Logger) *validator
Types ¶
type ContractUpdateStatus ¶
type ContractUpdateStatus struct {
Kind string `json:"kind,omitempty"`
AccountAddress string `json:"account_address"`
ContractName string `json:"contract_name"`
Error string `json:"error,omitempty"`
}
func (ContractUpdateStatus) IsFailure ¶
func (s ContractUpdateStatus) IsFailure() bool
type GitHubRepositoriesService ¶
type GitHubRepositoriesService interface {
GetContents(ctx context.Context, owner string, repo string, path string, opt *github.RepositoryContentGetOptions) (fileContent *github.RepositoryContent, directoryContent []*github.RepositoryContent, resp *github.Response, err error)
DownloadContents(ctx context.Context, owner string, repo string, filepath string, opt *github.RepositoryContentGetOptions) (io.ReadCloser, error)
}
Click to show internal directories.
Click to hide internal directories.