Documentation ¶
Overview ¶
Package git implements the module.git component.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ Revision: "HEAD", PullFrequency: time.Minute, }
DefaultArguments holds default settings for Arguments.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { Repository string `river:"repository,attr"` Revision string `river:"revision,attr,optional"` Path string `river:"path,attr"` PullFrequency time.Duration `river:"pull_frequency,attr,optional"` Arguments map[string]any `river:"arguments,block,optional"` }
Arguments configures the module.git component.
func (*Arguments) UnmarshalRiver ¶
UnmarshalRiver implements river.Unmarshaler and applies default settings to args.
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
Component implements the module.git component.
func (*Component) CurrentHealth ¶
CurrentHealth implements component.HealthComponent.
func (*Component) DebugInfo ¶
func (c *Component) DebugInfo() interface{}
DebugInfo implements component.DebugComponent.
Click to show internal directories.
Click to hide internal directories.