Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PushResult ¶
PushResult reports the repository state used for the push.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service manages GitOps repository operations for the local-dev plugin.
func NewService ¶
NewService returns a GitOps helper service.
func (*Service) CurrentBranch ¶
CurrentBranch returns the currently checked-out branch or main when detached.
func (*Service) PullRebase ¶
PullRebase synchronizes the local checkout after a Flux bootstrap commit.
Flux bootstrap writes manifests into the local working tree (e.g. the flux-system/ directory) without staging them. Git refuses to rebase with unstaged changes, so we commit any dirty state before pulling.