pod

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2018 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const (
	PodNameEnvVar            = "POD_NAME"
	PodNameNotSetErrorFormat = "Env POD_NAME not set. Pod dependency in namespace %s will be ignored!"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Pod

type Pod struct {
	// contains filtered or unexported fields
}

func NewPod

func NewPod(labels map[string]string, namespace string, requireSameNode bool) (*Pod, error)

func (Pod) IsResolved

func (p Pod) IsResolved(entrypoint entry.EntrypointInterface) (bool, error)

func (Pod) String

func (p Pod) String() string

Jump to

Keyboard shortcuts

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