Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Selector ¶
type Selector interface { // MatchesRef returns a boolean value indicating whether or not the Selector // would consider a commit referenced by the specified ref to be eligible for // selection. MatchesRef(string) bool // Select selects images from a container image repository. Select(context.Context) ([]kargoapi.DiscoveredCommit, error) }
Selector is an interface for selecting commits from a Git repository.
func NewSelector ¶
func NewSelector( sub kargoapi.GitSubscription, creds *git.RepoCredentials, ) (Selector, error)
NewSelector returns some implementation of the Selector interface that selects commits from a Git repository based on the provided subscription.
Click to show internal directories.
Click to hide internal directories.