config

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2018 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InterfaceToStringArray

func InterfaceToStringArray(stringOrStringArray interface{}, configSection interface{}, doc *doc) ([]string, error)

Types

type Ansible

type Ansible struct {
	BeforeInstall             []*AnsibleTask
	Install                   []*AnsibleTask
	BeforeSetup               []*AnsibleTask
	Setup                     []*AnsibleTask
	CacheVersion              string
	BeforeInstallCacheVersion string
	InstallCacheVersion       string
	BeforeSetupCacheVersion   string
	SetupCacheVersion         string
	// contains filtered or unexported fields
}

func (*Ansible) GetDumpConfigSection

func (c *Ansible) GetDumpConfigSection() string

type AnsibleTask

type AnsibleTask struct {
	Config interface{}
	// contains filtered or unexported fields
}

func (*AnsibleTask) GetDumpConfigSection

func (c *AnsibleTask) GetDumpConfigSection() string

type ArtifactExport

type ArtifactExport struct {
	*ExportBase
	// contains filtered or unexported fields
}

type ArtifactImport

type ArtifactImport struct {
	*ArtifactExport
	ArtifactName string
	Before       string
	After        string

	ArtifactDimg *DimgArtifact
	// contains filtered or unexported fields
}

func (*ArtifactImport) GetRaw

func (c *ArtifactImport) GetRaw() interface{}

type Dimg

type Dimg struct {
	*DimgBase
	Docker *Docker
}

func ParseDimgs

func ParseDimgs(dappfilePath string) ([]*Dimg, error)

func (*Dimg) DimgTree

func (c *Dimg) DimgTree() (tree []DimgInterface)

type DimgArtifact

type DimgArtifact struct {
	*DimgBase
}

func (*DimgArtifact) DimgTree

func (c *DimgArtifact) DimgTree() (tree []DimgInterface)

type DimgBase

type DimgBase struct {
	DimgInterface

	Name             string
	From             string
	FromDimg         *Dimg
	FromDimgArtifact *DimgArtifact
	FromCacheVersion string
	Git              *GitManager
	Shell            *Shell
	Ansible          *Ansible
	Mount            []*Mount
	Import           []*ArtifactImport
	// contains filtered or unexported fields
}

type DimgInterface

type DimgInterface interface{}

type Docker

type Docker struct {
	Volume     []string
	Expose     []string
	Env        map[string]string
	Label      map[string]string
	Cmd        []string
	Onbuild    []string
	Workdir    string
	User       string
	Entrypoint []string
	// contains filtered or unexported fields
}

type ExportBase

type ExportBase struct {
	Add          string
	To           string
	IncludePaths []string
	ExcludePaths []string
	Owner        string
	Group        string
	// contains filtered or unexported fields
}

func (*ExportBase) AddExcludePath

func (c *ExportBase) AddExcludePath(arg string)

func (*ExportBase) AutoExcludeExportAndCheck

func (c *ExportBase) AutoExcludeExportAndCheck(exp autoExcludeExport) bool

func (*ExportBase) GetExcludePathsForAutoExclude

func (c *ExportBase) GetExcludePathsForAutoExclude() []string

func (*ExportBase) GetIncludePathsForAutoExclude

func (c *ExportBase) GetIncludePathsForAutoExclude() []string

func (*ExportBase) GetRaw

func (c *ExportBase) GetRaw() interface{}

func (*ExportBase) GetTo

func (c *ExportBase) GetTo() string

type GitExport

type GitExport struct {
	*ExportBase
	// contains filtered or unexported fields
}

type GitExportBase

type GitExportBase struct {
	*GitExport
	StageDependencies *StageDependencies
	// contains filtered or unexported fields
}

type GitLocal

type GitLocal struct {
	*GitLocalExport
	As string
	// contains filtered or unexported fields
}

func (*GitLocal) GetRaw

func (c *GitLocal) GetRaw() interface{}

type GitLocalExport

type GitLocalExport struct {
	*GitExportBase
	// contains filtered or unexported fields
}

type GitManager

type GitManager struct {
	Local  []*GitLocal
	Remote []*GitRemote
}

type GitRemote

type GitRemote struct {
	*GitRemoteExport
	As   string
	Name string
	Url  string
	// contains filtered or unexported fields
}

func (*GitRemote) GetRaw

func (c *GitRemote) GetRaw() interface{}

type GitRemoteExport

type GitRemoteExport struct {
	*GitLocalExport
	Branch string
	Tag    string
	Commit string
	// contains filtered or unexported fields
}

type Mount

type Mount struct {
	To   string
	From string
	Type string
	// contains filtered or unexported fields
}

type Shell

type Shell struct {
	BeforeInstall             []string
	Install                   []string
	BeforeSetup               []string
	Setup                     []string
	CacheVersion              string
	BeforeInstallCacheVersion string
	InstallCacheVersion       string
	BeforeSetupCacheVersion   string
	SetupCacheVersion         string
	// contains filtered or unexported fields
}

func (*Shell) GetDumpConfigSection

func (c *Shell) GetDumpConfigSection() string

type StageDependencies

type StageDependencies struct {
	Install     []string
	Setup       []string
	BeforeSetup []string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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