subcommands

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateComposeAddCommand

func CreateComposeAddCommand() *cobra.Command

func CreateComposeAddNetCommand

func CreateComposeAddNetCommand() *cobra.Command

func CreateComposeCreateCommand

func CreateComposeCreateCommand() *cobra.Command

func CreateComposeRemoveCommand

func CreateComposeRemoveCommand() *cobra.Command

func CreateKubeDeploymentCommand added in v1.2.1

func CreateKubeDeploymentCommand() *cobra.Command

func CreateKubeDeploymentNewCommand added in v1.2.1

func CreateKubeDeploymentNewCommand() *cobra.Command

Types

type DockerCompose

type DockerCompose struct {
	Version  string             `yaml:"version"`
	Services map[string]Service `yaml:"services"`
	Networks Networks           `yaml:"networks"`
}

type Network

type Network struct {
	Driver string `yaml:"driver"`
	Name   string `yaml:"name"`
}

type Networks

type Networks map[string]Network

type Service

type Service struct {
	Image       string            `yaml:"image"`
	Hostname    string            `yaml:"hostname"`
	Environment map[string]string `yaml:"environment"`
	Ports       []string          `yaml:"ports"`
	Networks    []string          `yaml:"networks"`
}

Jump to

Keyboard shortcuts

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