cmd

package
v4.36.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DockerImageName = "authelia/authelia"

DockerImageName the official name of Authelia docker image.

View Source
var ErrNoRunningSuite = errors.New("no running suite")

ErrNoRunningSuite error raised when no suite is running.

View Source
var ErrNotAvailableSuite = errors.New("unavailable suite")

ErrNotAvailableSuite error raised when suite is not available.

View Source
var IntermediateDockerImageName = "authelia:dist"

IntermediateDockerImageName local name of the docker image.

View Source
var OutputDir = "dist"

OutputDir the output directory where the built version of Authelia is located.

Functions

func NewRootCmd

func NewRootCmd() (cmd *cobra.Command)

NewRootCmd returns the root authelia-scripts cmd.

Types

type Docker

type Docker struct{}

Docker a docker object.

func (*Docker) Build

func (d *Docker) Build(tag, dockerfile, target, ldflags string) error

Build build a docker image.

func (*Docker) Login

func (d *Docker) Login(username, password, registry string) error

Login login to the dockerhub registry.

func (*Docker) Manifest

func (d *Docker) Manifest(tag1, tag2 string) error

Manifest push a docker manifest to dockerhub.

func (*Docker) PublishReadme

func (d *Docker) PublishReadme() error

PublishReadme push README.md to dockerhub.

func (*Docker) Tag

func (d *Docker) Tag(image, tag string) error

Tag tag a docker image.

type HostEntry

type HostEntry struct {
	Domain string
	IP     string
}

HostEntry represents an entry in /etc/hosts.

Jump to

Keyboard shortcuts

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