types

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2016 License: Apache-2.0 Imports: 0 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlockerHub

type FlockerHub struct {
	Endpoint  string `yaml:"endpoint"`
	AuthToken string `yaml:"tokenfile"`
}

type Manifest

type Manifest struct {
	DockerApp string     `yaml:"docker_app"`
	Hub       FlockerHub `yaml:"flocker_hub"`
	Volumes   []Volume   `yaml:"volumes"`
}

type NewVolume

type NewVolume struct {
	Name       string
	VolumePath string
	VolumeName string
	VolumeSet  string
}

Represents {compose_volume_name : "/chq/<vol_path>"} for volume names in compose to their new path after fli creates them.

type Volume

type Volume struct {
	Name      string `yaml:"name"`
	Snapshot  string `yaml:"snapshot"`
	VolumeSet string `yaml:"volumeset"`
	Branch    string `yaml:"branch"`
}

The idea is that we could use the manifest to create a volume from a snapshot, branch, or volumeset. Having only a VolumeSet in the manifest can indicate creating from a VolumeSet or branch or snapshot respectively.

Jump to

Keyboard shortcuts

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