web

package
v1.0.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadinessProbe

func ReadinessProbe(url string, verbose bool) error

ReadinessProbe monitors a given URL until it received status OK (200) or gets to the timeout

func RenderDockerCompose

func RenderDockerCompose(options *Opts, writer io.Writer) error

RenderDockerCompose renders the docker-compose template and outputs the result into the given writer

Types

type Opts

type Opts struct {
	ImageName string
	Port      int
	Location  string
}

Opts represents the docker-compose configuration file rendering options

Jump to

Keyboard shortcuts

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