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 `alloy:"repository,attr"` Revision string `alloy:"revision,attr,optional"` Path string `alloy:"path,attr"` PullFrequency time.Duration `alloy:"pull_frequency,attr,optional"` Arguments map[string]any `alloy:"arguments,block,optional"` GitAuthConfig vcs.GitAuthConfig `alloy:",squash"` }
Arguments configures the module.git component.
func (*Arguments) SetToDefault ¶
func (args *Arguments) SetToDefault()
SetToDefault implements syntax.Defaulter.
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.