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)
Click to show internal directories.
Click to hide internal directories.