# Functions

NewPushResult returns a new PushResult.
NewSourceManager takes all the provided inputs, validates them and returns a SourceManager which can be used to operate on the configured source.
WithCheckoutOptionLastObserved is a CheckoutOption option to configure the last observed commit.
WithCheckoutOptionShallowClone is a CheckoutOption option to configure shallow clone.
WithPushConfigForce configures the PushConfig to use force.
WithPushConfigOptions configures the PushConfig Options that are used in push.
WithPushResultRefspec sets the refspecs in the PushResult.
WithPushResultSwitchBranch marks the PushResult with switchBranch.
WithSourceOptionGitAllBranchReferences configures the SourceManager to fetch all the Git branch references that are present in the remote repository.
WithSourceOptionNoCrossNamespaceRef configures the SourceManager to disable cross namespace references.

# Variables

ErrInvalidSourceConfiguration is an error for invalid source configuration.

# Structs

PushResult is the result of a push operation.
SourceManager manages source.
SourceOptions contains the optional attributes of SourceManager.
TemplateData is the type of the value given to the commit message template.

# Type aliases

CheckoutOption allows configuring the checkout options.
PushConfig configures the options used in push operation.
PushResultOption allows configuring the options of PushResult.
SourceOption configures the SourceManager options.