dpbreleaseartifacts

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

Package dpbreleaseartifacts provides the "dpbreleaseartifacts" provider which supports querying and storing analysis results in a git repository.

It supports releases, release compilations, and stemcell analysis results.

The following directory structure is used within the repository:

./{release_compilation_path}
  ./{os_name}
    ./{os_version}
      ./analysis
        ./{analyzer}
          ./v{version}.meta4
./{release_path}
  ./analysis
    ./{analyzer}
      ./v{version}.meta4

Index

Constants

View Source
const ProviderName = "dpbreleaseartifacts"

Variables

This section is empty.

Functions

func New

func New(name string, config Config, logger logrus.FieldLogger) datastore.Index

func NewFactory

func NewFactory(logger logrus.FieldLogger) datastore.Factory

Types

type Config

type Config struct {
	// RepositoryConfig defines how to access the repository.
	repository.RepositoryConfig `yaml:"repository"`

	// StorageConfig defines where results should be stored.
	storage.StorageConfig `yaml:"storage"`

	// Release defines a static release name for release-related results.
	Release string `yaml:"release"`

	// ReleasePath defines a custom prefix when storing release analyses.
	ReleasePath string `yaml:"release_path"`

	// ReleaseCompilationPath defines a custom prefix when storing release
	// compilation analyses.
	ReleaseCompilationPath string `yaml:"release_compilation_path"`

	// StemcellPath defines a custom prefix when storing stemcell analyses.
	StemcellPath string `yaml:"stemcell_path"`
}

Jump to

Keyboard shortcuts

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