Documentation ¶
Overview ¶
Package git provides the git rule data ingest engine
Package git provides the git rule data ingest engine
Index ¶
Constants ¶
View Source
const (
// GitRuleDataIngestType is the type of the git rule data ingest engine
GitRuleDataIngestType = "git"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Git ¶
type Git struct {
// contains filtered or unexported fields
}
Git is the engine for a rule type that uses git data ingest
func NewGitIngester ¶
NewGitIngester creates a new git rule data ingest engine
func (*Git) GetConfig ¶
func (gi *Git) GetConfig() protoreflect.ProtoMessage
GetConfig returns the config for the git rule data ingest engine
type IngesterConfig ¶
type IngesterConfig struct { Branch string `json:"branch" yaml:"branch" mapstructure:"branch"` CloneURL string `json:"clone_url" yaml:"clone_url" mapstructure:"clone_url"` }
IngesterConfig is the profile-provided configuration for the git ingester This allows for users to pass in configuration to the ingester in different calls as opposed to having to set it in the rule type.
Click to show internal directories.
Click to hide internal directories.