release

package
v0.0.0-...-73df0bb Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ReleaseName       check.Config `yaml:"release_name"`
	ReleaseNameSuffix check.Config `yaml:"release_name_suffix"`
	MissingLicense    check.Config `yaml:"missing_license"`
	MissingJobs       check.Config `yaml:"missing_jobs"`
	UnusedPackages    check.Config `yaml:"unused_packages"`

	JobName                         check.Config `yaml:"job_name"`
	JobPropertiesSyslogDaemonConfig check.Config `yaml:"job_properties_syslog_daemon_config"`
	JobPropertiesCertificate        check.Config `yaml:"job_properties_certificate"`
	JobTemplatesCtl                 check.Config `yaml:"job_templates_ctl"`

	JobProperty           check.Config               `yaml:"job_property"`
	JobPropertySecret     JobPropertySecretConfig    `yaml:"job_property_secret"`
	JobPropertySkipSSL    check.Config               `yaml:"job_property_skip_ssl"`
	JobPropertyDeprecated check.Config               `yaml:"job_property_deprecated"`
	JobPropertyNamespace  check.Config               `yaml:"job_property_namespace"`
	JobPropertyDebugAddr  JobPropertyDebugAddrConfig `yaml:"job_property_debug_addr"`

	PackageName check.Config `yaml:"package_name"`

	Todo check.Config `yaml:"todo"`
}

func NewConfig

func NewConfig(bytes []byte) (Config, error)

type JobPropertiesCertificate

type JobPropertiesCertificate struct {
	check.Config
	// contains filtered or unexported fields
}

func NewJobPropertiesCertificate

func NewJobPropertiesCertificate(context check.Context, job *boshjob.Job, config check.Config) JobPropertiesCertificate

func (JobPropertiesCertificate) Check

func (JobPropertiesCertificate) Description

func (c JobPropertiesCertificate) Description() check.Description

type JobPropertiesSyslogDaemonConfig

type JobPropertiesSyslogDaemonConfig struct {
	check.Config
	// contains filtered or unexported fields
}

func NewJobPropertiesSyslogDaemonConfig

func NewJobPropertiesSyslogDaemonConfig(context check.Context, job *boshjob.Job, config check.Config) JobPropertiesSyslogDaemonConfig

func (JobPropertiesSyslogDaemonConfig) Check

func (JobPropertiesSyslogDaemonConfig) Description

type JobProperty

type JobProperty struct {
	check.Config
	// contains filtered or unexported fields
}

func NewJobProperty

func NewJobProperty(context check.Context, name string, def boshjob.PropertyDefinition, config check.Config) JobProperty

func (JobProperty) Check

func (c JobProperty) Check() ([]check.Suggestion, error)

func (JobProperty) Description

func (c JobProperty) Description() check.Description

type JobPropertyDebugAddr

type JobPropertyDebugAddr struct {
	JobPropertyDebugAddrConfig
	// contains filtered or unexported fields
}

func (JobPropertyDebugAddr) Check

func (c JobPropertyDebugAddr) Check() ([]check.Suggestion, error)

func (JobPropertyDebugAddr) Description

func (c JobPropertyDebugAddr) Description() check.Description

type JobPropertyDebugAddrConfig

type JobPropertyDebugAddrConfig struct {
	DebugPatterns []string `yaml:"debug_patterns"`
	Whitelist     []string `yaml:"whitelist"`
	check.Config
}

type JobPropertyDeprecated

type JobPropertyDeprecated struct {
	check.Config
	// contains filtered or unexported fields
}

func NewJobPropertyDeprecated

func NewJobPropertyDeprecated(context check.Context, def boshjob.PropertyDefinition, config check.Config) JobPropertyDeprecated

func (JobPropertyDeprecated) Check

func (JobPropertyDeprecated) Description

func (c JobPropertyDeprecated) Description() check.Description

type JobPropertyNamespace

type JobPropertyNamespace struct {
	check.Config
	// contains filtered or unexported fields
}

func NewJobPropertyNamespace

func NewJobPropertyNamespace(context check.Context, name string, job *boshjob.Job, config check.Config) JobPropertyNamespace

func (JobPropertyNamespace) Check

func (c JobPropertyNamespace) Check() ([]check.Suggestion, error)

func (JobPropertyNamespace) Description

func (c JobPropertyNamespace) Description() check.Description

type JobPropertySecret

type JobPropertySecret struct {
	JobPropertySecretConfig
	// contains filtered or unexported fields
}

func (JobPropertySecret) Check

func (c JobPropertySecret) Check() ([]check.Suggestion, error)

func (JobPropertySecret) Description

func (c JobPropertySecret) Description() check.Description

type JobPropertySecretConfig

type JobPropertySecretConfig struct {
	SecretPatterns []string `yaml:"secret_patterns"`
	Whitelist      []string `yaml:"whitelist"`
	check.Config
}

type JobPropertySkipSSL

type JobPropertySkipSSL struct {
	check.Config
	// contains filtered or unexported fields
}

func NewJobPropertySkipSSL

func NewJobPropertySkipSSL(context check.Context, name string, config check.Config) JobPropertySkipSSL

func (JobPropertySkipSSL) Check

func (c JobPropertySkipSSL) Check() ([]check.Suggestion, error)

func (JobPropertySkipSSL) Description

func (c JobPropertySkipSSL) Description() check.Description

type JobTemplatesCtl

type JobTemplatesCtl struct {
	check.Config
	// contains filtered or unexported fields
}

func NewJobTemplatesCtl

func NewJobTemplatesCtl(context check.Context, job *boshjob.Job, config check.Config) JobTemplatesCtl

func (JobTemplatesCtl) Check

func (c JobTemplatesCtl) Check() ([]check.Suggestion, error)

func (JobTemplatesCtl) Description

func (c JobTemplatesCtl) Description() check.Description

type LintableRelease

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

func NewLintableRelease

func NewLintableRelease(release boshrel.Release, config Config) LintableRelease

func (LintableRelease) Lint

type MissingJobs

type MissingJobs struct {
	check.Config
	// contains filtered or unexported fields
}

func NewMissingJobs

func NewMissingJobs(context check.Context, release boshrel.Release, config check.Config) MissingJobs

func (MissingJobs) Check

func (c MissingJobs) Check() ([]check.Suggestion, error)

func (MissingJobs) Description

func (c MissingJobs) Description() check.Description

type MissingLicense

type MissingLicense struct {
	check.Config
	// contains filtered or unexported fields
}

func NewMissingLicense

func NewMissingLicense(context check.Context, license *boshlic.License, config check.Config) MissingLicense

func (MissingLicense) Check

func (c MissingLicense) Check() ([]check.Suggestion, error)

func (MissingLicense) Description

func (c MissingLicense) Description() check.Description

type ReleaseNameSuffix

type ReleaseNameSuffix struct {
	check.Config
	// contains filtered or unexported fields
}

func NewReleaseNameSuffix

func NewReleaseNameSuffix(context check.Context, name string, config check.Config) ReleaseNameSuffix

func (ReleaseNameSuffix) Check

func (c ReleaseNameSuffix) Check() ([]check.Suggestion, error)

func (ReleaseNameSuffix) Description

func (c ReleaseNameSuffix) Description() check.Description

type UnusedPackages

type UnusedPackages struct {
	check.Config
	// contains filtered or unexported fields
}

func NewUnusedPackages

func NewUnusedPackages(context check.Context, release boshrel.Release, config check.Config) UnusedPackages

func (UnusedPackages) Check

func (c UnusedPackages) Check() ([]check.Suggestion, error)

func (UnusedPackages) Description

func (c UnusedPackages) Description() check.Description

Jump to

Keyboard shortcuts

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