Versions in this module Expand all Collapse all v0 v0.1.0 Aug 1, 2017 Changes in this version + const DOCKER + const DOCKER_COMPOSE + const KUBERNETES + func Render(document *proto.Document) ([]byte, error) + type CopyInstruction struct + Runtime Runtime + TaskInstruction *TaskInstruction + func (t *CopyInstruction) ContainerName() string + func (t *CopyInstruction) ToContainer() bool + type DockerfileInstruction struct + TaskInstruction *TaskInstruction + func (t *DockerfileInstruction) DeriveTargetImage() string + type Document struct + AnchorIds map[string]bool + func NewDocument(document *proto.Document) *Document + func (t *Document) DockerTaskGroups() []*SingleRuntimeTaskGroup + func (t *Document) HasReferences() bool + func (t *Document) KubernetesTaskGroups() []*SingleRuntimeTaskGroup + func (t *Document) NeedsGcloud() bool + func (t *Document) PortReference() *PortReference + type ExecInstruction struct + Runtime Runtime + TaskInstruction *TaskInstruction + func (t *ExecInstruction) ContainerName() string + func (t *ExecInstruction) Interactive() bool + type PortReference struct + func (t *PortReference) Ports() []*PortReference_PortInfo + type PortReference_PortInfo struct + func (t *PortReference_PortInfo) UppercasedProtocol() string + type RunInstruction struct + Runtime Runtime + TaskInstruction *TaskInstruction + func (t *RunInstruction) AllEmptyPersistentVolumes() []*RunInstruction_MountedVolume + func (t *RunInstruction) AllSingleFileVolumes() []*RunInstruction_MountedVolume + func (t *RunInstruction) AllVolumes() []*RunInstruction_MountedVolume + func (t *RunInstruction) ConcatArguments() string + func (t *RunInstruction) ContainerName() string + func (t *RunInstruction) Dependencies() []*RunInstruction_Dependency + func (t *RunInstruction) DependenciesWithLinkAlias() []*RunInstruction_Dependency + func (t *RunInstruction) DependenciesWithoutLinkAlias() []*RunInstruction_Dependency + func (t *RunInstruction) DockerComposeEnvironment() map[string]string + func (t *RunInstruction) DockerEnvironment() map[string]string + func (t *RunInstruction) ExposedPorts() []*RunInstruction_ExposedPort + func (t *RunInstruction) KubernetesEnvironment() map[string]string + func (t *RunInstruction) MappedExposedPorts() []*RunInstruction_ExposedPort + func (t *RunInstruction) RunType() RunInstruction_RunType + func (t *RunInstruction) Volumes() []*RunInstruction_MountedVolume + type RunInstruction_Dependency struct + Runtime Runtime + func (t *RunInstruction_Dependency) ContainerName() string + func (t *RunInstruction_Dependency) DockerComposeEnvironment() map[string]string + func (t *RunInstruction_Dependency) DockerEnvironment() map[string]string + func (t *RunInstruction_Dependency) KubernetesEnvironment() map[string]string + func (t *RunInstruction_Dependency) Volumes() []*RunInstruction_MountedVolume + type RunInstruction_ExposedPort struct + func (t *RunInstruction_ExposedPort) DockerPortMappingProtocol() string + func (t *RunInstruction_ExposedPort) NamingPort() string + type RunInstruction_MountedVolume struct + func (t *RunInstruction_MountedVolume) GetEmptyPersistentVolume() *RunInstruction_MountedVolume_EmptyPersistentVolume + func (t *RunInstruction_MountedVolume) GetSingleFile() *RunInstruction_MountedVolume_SingleFile + func (t *RunInstruction_MountedVolume) KubernetesClaimName() string + func (t *RunInstruction_MountedVolume) KubernetesName() string + type RunInstruction_MountedVolume_EmptyPersistentVolume struct + Volume *RunInstruction_MountedVolume + func (t *RunInstruction_MountedVolume_EmptyPersistentVolume) HostPath() string + type RunInstruction_MountedVolume_SingleFile struct + Volume *RunInstruction_MountedVolume + func (t *RunInstruction_MountedVolume_SingleFile) ConfigMapName() string + func (t *RunInstruction_MountedVolume_SingleFile) HostFile() string + func (t *RunInstruction_MountedVolume_SingleFile) HostFileBaseName() string + type RunInstruction_RunType proto.RunInstruction_RunType + func (t RunInstruction_RunType) AutoremovedContainer() bool + func (t RunInstruction_RunType) DetachedContainer() bool + func (t RunInstruction_RunType) Interactive() bool + func (t RunInstruction_RunType) LongRunning() bool + func (t RunInstruction_RunType) Oneshot() bool + type Runtime proto.Runtime + func (t Runtime) AnchorIdSuffix() string + func (t Runtime) IsDocker() bool + func (t Runtime) IsKubernetes() bool + func (t Runtime) String() string + type SingleRuntimeTask struct + Document *Document + Runtime Runtime + func NewSingleRuntimeTask(task *proto.Task, runtime Runtime, document *Document) *SingleRuntimeTask + func (t *SingleRuntimeTask) AnchorId() string + func (t *SingleRuntimeTask) Instructions() []*TaskInstruction + type SingleRuntimeTaskGroup struct + Document *Document + Runtime Runtime + func (t *SingleRuntimeTaskGroup) AnchorId() string + func (tg *SingleRuntimeTaskGroup) Tasks() []*SingleRuntimeTask + type Task struct + Document *Document + func (t *Task) ForRuntime(runtime proto.Runtime) *SingleRuntimeTask + func (t *Task) HasRuntime(runtime proto.Runtime) bool + type TaskGroup struct + Document *Document + func (tg *TaskGroup) ForRuntime(runtime proto.Runtime) *SingleRuntimeTaskGroup + type TaskInstruction struct + Document *Document + Runtime Runtime + func (t *TaskInstruction) Description() string + func (t *TaskInstruction) GetCopy() *CopyInstruction + func (t *TaskInstruction) GetDockerfile() *DockerfileInstruction + func (t *TaskInstruction) GetExec() *ExecInstruction + func (t *TaskInstruction) GetRun() *RunInstruction