sourcetypes

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerConfig

type ContainerConfig struct {
	EPorts     map[string]interface{} `json:"ExposedPorts"`
	User       string                 `json:"User"`
	Env        []string               `json:"Env"`
	WorkingDir string                 `json:"WorkingDir"`
}

ContainerConfig loads container config

type DCService

type DCService struct {
	Image string `yaml:"image,omitempty"`
}

DCService reads service

type DockerCompose

type DockerCompose struct {
	Version    string               `yaml:"version"`
	DCServices map[string]DCService `yaml:"services"`
}

DockerCompose reads docker compose files

type DockerImage

type DockerImage struct {
	RepoTags []string        `json:"RepoTags"`
	CConfig  ContainerConfig `json:"ContainerConfig"`
}

DockerImage loads docker image

Jump to

Keyboard shortcuts

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