model

package
v0.0.0-...-b57fb5b Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Environments []Enviornment `json:"environments"`
	Stacks       []Stack       `json:"includeStacks"`
	UseStacks    int16         `json:"useStacks"`
	Exclude      []Stack       `json:"exclude"`
}

type EnvVersion

type EnvVersion struct {
	Environment string `json:"environment"`
	Stack       string `json:"stack"`
	Docker      string `json:"docker"`
	DockerPath  string `json:"dockerPath"`
}

type Enviornment

type Enviornment struct {
	Url    string `json:"url"`
	ApiKey string `json:"apiKey"`
	Name   string `json:"name"`
}

type Labels

type Labels struct {
	Image     string `json:"com.docker.stack.image"`
	Namespace string `json:"com.docker.stack.namespace"`
}

type PortList

type PortList struct {
	Objects []PortObject
}

type PortObject

type PortObject struct {
	Spec Spec `json:"Spec"`
}

type Spec

type Spec struct {
	Labels Labels `json:"Labels"`
	Name   string `json:"Name"`
}

type Stack

type Stack struct {
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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