composinator

package
v0.15.16 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

func StartServer() error

Types

type StackData

type StackData struct {
	StackName            string
	Services             map[string]v3.Service
	StandaloneContainers map[string]v3.Container
	VolumeTemplates      map[string]v3.VolumeTemplate
	Certificates         map[string]v3.Certificate
	PortRuleServices     map[string]v3.Service
	PortRuleContainers   map[string]v3.Container
	Secrets              map[string]v3.Secret
}

StackData is the metadata for exporting compose file for a stack. All maps use resource.id as its ley except volumeTemplates, which uses its name.

func GetStackData

func GetStackData(client *v3.RancherClient, stackID string) (StackData, error)

Jump to

Keyboard shortcuts

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