types

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppMetadata

type AppMetadata struct {
	Version     string
	Name        string
	Description string
	Namespace   string
	Maintainers Maintainers
	Targets     ApplicationTarget
}

AppMetadata is the format of the data found inside the metadata.yml file

type ApplicationTarget

type ApplicationTarget struct {
	Swarm      bool
	Kubernetes bool
}

ApplicationTarget represents which platform(s) / orchestrator(s) the app package is designed to run on

type InitialComposeFile

type InitialComposeFile struct {
	Version  string
	Services *map[string]InitialService
}

InitialComposeFile TODO

func NewInitialComposeFile

func NewInitialComposeFile() InitialComposeFile

NewInitialComposeFile returns an empty InitialComposeFile object

type InitialService

type InitialService struct {
	Image string
}

InitialService TODO

type Maintainer

type Maintainer struct {
	Name  string
	Email string
}

Maintainer represents one of the apps's maintainers

func (Maintainer) String

func (m Maintainer) String() string

String gives a string representation of a maintainer

type Maintainers

type Maintainers []Maintainer

Maintainers is a list of maintainers

func (Maintainers) String

func (ms Maintainers) String() string

String gives a string representation of a list of maintainers

Jump to

Keyboard shortcuts

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