Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrProposalNotFound = errors.New("proposal not found")
Functions ¶
func ProposeChanges ¶
func ProposeChanges[A Resource](opts ProposalOption) containers.Option[Source[A]]
ProposeChanges configures the phase to propose the change (via PR or MR) as opposed to directly integrating it into the target trunk branch.
Types ¶
type Proposal ¶
type Proposal struct { BaseRevision string BaseBranch string Branch string Digest string Title string Body string ExternalMetadata map[string]any }
Proposal contains the fields necessary to propose a resource update to a Repository.
type ProposalOption ¶
type ProposalOption struct {
Labels []string
}
Click to show internal directories.
Click to hide internal directories.