Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Checker ¶
type Checker interface {
ValidatePackage(param *ParamValidatePackage) error
}
type CheckerImpl ¶ added in v1.29.0
type CheckerImpl struct{}
func NewChecker ¶
func NewChecker() *CheckerImpl
func (*CheckerImpl) ValidatePackage ¶ added in v1.29.0
func (pc *CheckerImpl) ValidatePackage(param *ParamValidatePackage) error
type Config ¶
type Config struct { Path string YAML *ConfigYAML }
type ConfigReader ¶
type ConfigReaderImpl ¶ added in v1.29.0
type ConfigReaderImpl struct {
// contains filtered or unexported fields
}
func NewConfigReader ¶
func NewConfigReader(fs afero.Fs) *ConfigReaderImpl
type ConfigYAML ¶
type MockChecker ¶ added in v1.29.0
type MockChecker struct {
Err error
}
func (*MockChecker) ValidatePackage ¶ added in v1.29.0
func (pc *MockChecker) ValidatePackage(param *ParamValidatePackage) error
type MockConfigReader ¶ added in v1.29.0
type ParamValidatePackage ¶
type Registry ¶
type Registry struct { Name string `json:"name,omitempty"` Type string `validate:"required" json:"type,omitempty" jsonschema:"enum=standard,enum=local,enum=github_content"` RepoOwner string `yaml:"repo_owner" json:"repo_owner,omitempty"` RepoName string `yaml:"repo_name" json:"repo_name,omitempty"` Ref string `json:"ref,omitempty"` Path string `validate:"required" json:"path,omitempty"` }
Click to show internal directories.
Click to hide internal directories.