Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterResourceGatherer ¶
type ClusterResourceGatherer struct {
// contains filtered or unexported fields
}
func NewClusterResourceGatherer ¶
func NewClusterResourceGatherer(logger *slog.Logger) *ClusterResourceGatherer
func (*ClusterResourceGatherer) Gather ¶
func (g *ClusterResourceGatherer) Gather(namespace string) ([]rulecontext.Object, error)
type ExclusionChecker ¶
type FileResourceGatherer ¶
type FileResourceGatherer struct {
// contains filtered or unexported fields
}
func NewFileResourceGatherer ¶
func NewFileResourceGatherer(logger *slog.Logger, filePaths []string, matcher ExclusionChecker) *FileResourceGatherer
func (*FileResourceGatherer) Gather ¶
func (fg *FileResourceGatherer) Gather(namespace string) ([]rulecontext.Object, error)
type StdinResourceGatherer ¶
type StdinResourceGatherer struct {
// contains filtered or unexported fields
}
func NewStdinResourceGatherer ¶
func NewStdinResourceGatherer(logger *slog.Logger) *StdinResourceGatherer
func (*StdinResourceGatherer) Gather ¶
func (g *StdinResourceGatherer) Gather(namespace string) ([]rulecontext.Object, error)
Click to show internal directories.
Click to hide internal directories.