Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepoMirrorFieldGroup ¶
type RepoMirrorFieldGroup struct { FeatureRepoMirror bool `default:"false" validate:"" json:"FEATURE_REPO_MIRROR" yaml:"FEATURE_REPO_MIRROR"` RepoMirrorInterval int `default:"30" validate:"" json:"REPO_MIRROR_INTERVAL,omitempty" yaml:"REPO_MIRROR_INTERVAL,omitempty"` RepoMirrorServerHostname string `default:"" validate:"" json:"REPO_MIRROR_SERVER_HOSTNAME,omitempty" yaml:"REPO_MIRROR_SERVER_HOSTNAME,omitempty"` RepoMirrorTlsVerify bool `default:"true" validate:"" json:"REPO_MIRROR_TLS_VERIFY" yaml:"REPO_MIRROR_TLS_VERIFY"` }
RepoMirrorFieldGroup represents the RepoMirrorFieldGroup config fields
func NewRepoMirrorFieldGroup ¶
func NewRepoMirrorFieldGroup(fullConfig map[string]interface{}) (*RepoMirrorFieldGroup, error)
NewRepoMirrorFieldGroup creates a new RepoMirrorFieldGroup
func (*RepoMirrorFieldGroup) Fields ¶
func (fg *RepoMirrorFieldGroup) Fields() []string
Fields returns a list of strings representing the fields in this field group
func (*RepoMirrorFieldGroup) Validate ¶
func (fg *RepoMirrorFieldGroup) Validate(opts shared.Options) []shared.ValidationError
Validate checks the configuration settings for this field group
Click to show internal directories.
Click to hide internal directories.