cmd

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package cmd implements the pomerium zero command.

Index

Constants

View Source
const (
	// PomeriumZeroTokenEnv is the environment variable name for the API token.
	//nolint: gosec
	PomeriumZeroTokenEnv = "POMERIUM_ZERO_TOKEN"
)

Variables

This section is empty.

Functions

func IsManagedMode

func IsManagedMode(configFile string) bool

IsManagedMode returns true if Pomerium should start in managed mode using this command.

func Run

func Run(ctx context.Context, configFile string) error

Run runs the pomerium zero command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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