Documentation ¶
Index ¶
- func GetProjectName(projectDir string) (string, error)
- func InterfaceToStringArray(stringOrStringArray interface{}, configSection interface{}, doc *doc) ([]string, error)
- type Ansible
- type AnsibleTask
- type ArtifactExport
- type DeployTemplates
- type Docker
- type ExportBase
- func (c *ExportBase) AddExcludePath(arg string)
- func (c *ExportBase) AutoExcludeExportAndCheck(exp autoExcludeExport) bool
- func (c *ExportBase) GetExcludePathsForAutoExclude() []string
- func (c *ExportBase) GetIncludePathsForAutoExclude() []string
- func (c *ExportBase) GetRaw() interface{}
- func (c *ExportBase) GetTo() string
- type GitExport
- type GitExportBase
- type GitLocal
- type GitLocalExport
- type GitManager
- type GitRemote
- type GitRemoteExport
- type Image
- type ImageArtifact
- type ImageBase
- type ImageInterface
- type Import
- type Meta
- type Mount
- type Shell
- type StageDependencies
- type WerfConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProjectName ¶
func InterfaceToStringArray ¶
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 ¶
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 DeployTemplates ¶
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 }
type GitLocalExport ¶
type GitLocalExport struct { *GitExportBase // contains filtered or unexported fields }
type GitManager ¶
type GitRemote ¶
type GitRemote struct { *GitRemoteExport As string Name string Url string // contains filtered or unexported fields }
type GitRemoteExport ¶
type GitRemoteExport struct { *GitLocalExport Branch string Tag string Commit string // contains filtered or unexported fields }
type ImageArtifact ¶
type ImageArtifact struct {
*ImageBase
}
func (*ImageArtifact) IsArtifact ¶
func (c *ImageArtifact) IsArtifact() bool
type ImageBase ¶
type ImageBase struct { Name string From string FromImage *Image FromImageArtifact *ImageArtifact FromCacheVersion string Git *GitManager Shell *Shell Ansible *Ansible Mount []*Mount Import []*Import // contains filtered or unexported fields }
func (*ImageBase) ImageBaseConfig ¶
func (*ImageBase) IsArtifact ¶
type ImageInterface ¶
type Import ¶
type Import struct { *ArtifactExport ImageName string ArtifactName string Before string After string Image *Image ImageArtifact *ImageArtifact // contains filtered or unexported fields }
type Meta ¶
type Meta struct { ConfigVersion int Project string DeployTemplates DeployTemplates }
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 ¶
type StageDependencies ¶
type WerfConfig ¶
func GetWerfConfig ¶
func GetWerfConfig(werfConfigPath string) (*WerfConfig, error)
func (*WerfConfig) HasImage ¶
func (c *WerfConfig) HasImage(imageName string) bool
Source Files ¶
- ansible.go
- ansible_task.go
- artifact_export.go
- common.go
- deploy_templates.go
- docker.go
- errors.go
- export_base.go
- git_export.go
- git_export_base.go
- git_local.go
- git_local_export.go
- git_manager.go
- git_remote.go
- git_remote_export.go
- image.go
- image_artifact.go
- image_base.go
- image_interface.go
- import.go
- meta.go
- mount.go
- parser.go
- raw_ansible.go
- raw_ansible_task.go
- raw_artifact_export.go
- raw_deploy_templates.go
- raw_docker.go
- raw_export_base.go
- raw_git.go
- raw_git_export.go
- raw_image.go
- raw_import.go
- raw_meta.go
- raw_mount.go
- raw_shell.go
- raw_stage_dependencies.go
- shell.go
- stage_dependencies.go
- werf.go
Click to show internal directories.
Click to hide internal directories.