upstreamconfigservice

package
v0.0.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SkaConfig

type SkaConfig struct {
	IgnorePaths []string `yaml:"ignorePaths"`
}

type UpstreamConfigInput

type UpstreamConfigInput struct {
	Placeholder string `yaml:"placeholder"`
	Label       string `yaml:"label"`
	Regexp      string `yaml:"regexp,omitempty"`
	MinLength   int    `yaml:"minLength,omitempty"`
	MaxLength   int    `yaml:"maxLength,omitempty"`
	Help        string `yaml:"help,omitempty"`
	Default     string `yaml:"default,omitempty"`
}

type UpstreamConfigService

type UpstreamConfigService struct {
	// contains filtered or unexported fields
}

func NewUpstreamConfigService

func NewUpstreamConfigService() *UpstreamConfigService

func (*UpstreamConfigService) GetInputs

func (ucs *UpstreamConfigService) GetInputs() []UpstreamConfigInput

func (*UpstreamConfigService) LoadFromPath

func (ucs *UpstreamConfigService) LoadFromPath(path string) (*UpstreamConfigService, error)

func (*UpstreamConfigService) SkaConfigIgnorePaths

func (ucs *UpstreamConfigService) SkaConfigIgnorePaths() []string

func (*UpstreamConfigService) UpstreamIgnorePaths

func (ucs *UpstreamConfigService) UpstreamIgnorePaths() []string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL