staticpod

package
v0.0.1-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(dir string, args Args) error

Types

type Args

type Args struct {
	Command         string
	Args            []string
	Image           string
	Dirs            []string
	Files           []string
	HealthPort      int32
	HealthProto     string
	HealthPath      string
	CPUMillis       int64
	SecurityContext *SecurityContext
	Annotations     map[string]string
}

type SecurityContext

type SecurityContext struct {
	UID int64
	GID int64
}

SecurityContext contains the relevant data to setup a pod's security context for execution.

Jump to

Keyboard shortcuts

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