cliconfig

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultSystemD value
	DefaultSystemD bool = true
)

Variables

View Source
var (
	// DefaultHealthCheckInterval default value
	DefaultHealthCheckInterval = "30s"
	// DefaultHealthCheckRetries default value
	DefaultHealthCheckRetries uint = 3
	// DefaultHealthCheckStartPeriod default value
	DefaultHealthCheckStartPeriod = "0s"
	// DefaultHealthCheckTimeout default value
	DefaultHealthCheckTimeout = "30s"
	// DefaultImageVolume default value
	DefaultImageVolume = "bind"
	// DefaultShmSize default value
	DefaultShmSize = "65536k"
)

Functions

This section is empty.

Types

type AttachValues

type AttachValues struct {
	PodmanCommand
	DetachKeys string
	Latest     bool
	NoStdin    bool
	SigProxy   bool
}

type CheckpointValues

type CheckpointValues struct {
	PodmanCommand
	Keep           bool
	LeaveRunning   bool
	TcpEstablished bool
	All            bool
	Latest         bool
	Export         string
}

type CleanupValues

type CleanupValues struct {
	PodmanCommand
	All    bool
	Latest bool
	Remove bool
}

type CommitValues

type CommitValues struct {
	PodmanCommand
	Change         []string
	Format         string
	Message        string
	Author         string
	Pause          bool
	Quiet          bool
	IncludeVolumes bool
}

type ContainerExistsValues

type ContainerExistsValues struct {
	PodmanCommand
}

type ContainersPrune

type ContainersPrune struct {
	PodmanCommand
}

type CpValues

type CpValues struct {
	PodmanCommand
	Extract bool
	Pause   bool
}

type CreateValues

type CreateValues struct {
	PodmanCommand
}

type DiffValues

type DiffValues struct {
	PodmanCommand
	Archive bool
	Format  string
}

type EventValues

type EventValues struct {
	PodmanCommand
	Filter []string
	Format string
	Since  string
	Stream bool
	Until  string
}

type ExecValues

type ExecValues struct {
	PodmanCommand
	Env          []string
	Privileged   bool
	Interfactive bool
	Tty          bool
	User         string
	Latest       bool
	Workdir      string
	PreserveFDs  int
}

type ExportValues

type ExportValues struct {
	PodmanCommand
	Output string
}

type GenerateKubeValues

type GenerateKubeValues struct {
	PodmanCommand
	Service  bool
	Filename string
}

type GenerateSystemdValues

type GenerateSystemdValues struct {
	PodmanCommand
	Name          bool
	RestartPolicy string
	StopTimeout   int
}

type HealthCheckValues

type HealthCheckValues struct {
	PodmanCommand
}

type HistoryValues

type HistoryValues struct {
	PodmanCommand
	Human   bool
	NoTrunc bool
	Quiet   bool
	Format  string
}

type ImageExistsValues

type ImageExistsValues struct {
	PodmanCommand
}

type ImagesValues

type ImagesValues struct {
	PodmanCommand
	All       bool
	Digests   bool
	Filter    []string
	Format    string
	Noheading bool
	NoTrunc   bool
	Quiet     bool
	Sort      string
}

type ImportValues

type ImportValues struct {
	PodmanCommand
	Change  []string
	Message string
	Quiet   bool
}

type InfoValues

type InfoValues struct {
	PodmanCommand
	Debug  bool
	Format string
}

type InitValues

type InitValues struct {
	PodmanCommand
	All    bool
	Latest bool
}

type InspectValues

type InspectValues struct {
	PodmanCommand
	TypeObject string
	Format     string
	Size       bool
	Latest     bool
}

type KillValues

type KillValues struct {
	PodmanCommand
	All    bool
	Signal string
	Latest bool
}

type KubePlayValues

type KubePlayValues struct {
	PodmanCommand
	Authfile        string
	CertDir         string
	Creds           string
	Quiet           bool
	SignaturePolicy string
	TlsVerify       bool
}

type LoadValues

type LoadValues struct {
	PodmanCommand
	Input           string
	Quiet           bool
	SignaturePolicy string
}

type LoginValues

type LoginValues struct {
	PodmanCommand
	Password      string
	StdinPassword bool
	Username      string
	Authfile      string
	CertDir       string
	GetLogin      bool
	TlsVerify     bool
}

type LogoutValues

type LogoutValues struct {
	PodmanCommand
	Authfile string
	All      bool
}

type LogsValues

type LogsValues struct {
	PodmanCommand
	Details    bool
	Follow     bool
	Since      string
	Tail       uint64
	Timestamps bool
	Latest     bool
}

type MainFlags

type MainFlags struct {
	CGroupManager     string
	CniConfigDir      string
	ConmonPath        string
	DefaultMountsFile string
	HooksDir          []string
	MaxWorks          int
	Namespace         string
	Root              string
	Runroot           string
	Runtime           string
	StorageDriver     string
	StorageOpts       []string
	Syslog            bool
	Trace             bool
	NetworkCmdPath    string

	Config     string
	CpuProfile string
	LogLevel   string
	TmpDir     string

	RemoteUserName       string
	RemoteHost           string
	VarlinkAddress       string
	ConnectionName       string
	RemoteConfigFilePath string
}

type MountValues

type MountValues struct {
	PodmanCommand
	All     bool
	Format  string
	NoTrunc bool
	Latest  bool
}

type PauseValues

type PauseValues struct {
	PodmanCommand
	All bool
}

type PodCreateValues

type PodCreateValues struct {
	PodmanCommand
	CgroupParent string
	Infra        bool
	InfraImage   string
	InfraCommand string
	LabelFile    []string
	Labels       []string
	Name         string
	PodIDFile    string
	Publish      []string
	Share        string
}

type PodExistsValues

type PodExistsValues struct {
	PodmanCommand
}

type PodInspectValues

type PodInspectValues struct {
	PodmanCommand
	Latest bool
}

type PodKillValues

type PodKillValues struct {
	PodmanCommand
	All    bool
	Signal string
	Latest bool
}

type PodPauseValues

type PodPauseValues struct {
	PodmanCommand
	All    bool
	Latest bool
}

type PodPruneValues

type PodPruneValues struct {
	PodmanCommand
	Force bool
}

type PodPsValues

type PodPsValues struct {
	PodmanCommand
	CtrNames  bool
	CtrIDs    bool
	CtrStatus bool
	Filter    string
	Format    string
	Latest    bool
	Namespace bool
	NoTrunc   bool
	Quiet     bool
	Sort      string
}

type PodRestartValues

type PodRestartValues struct {
	PodmanCommand
	All    bool
	Latest bool
}

type PodRmValues

type PodRmValues struct {
	PodmanCommand
	All    bool
	Force  bool
	Latest bool
}

type PodStartValues

type PodStartValues struct {
	PodmanCommand
	All    bool
	Latest bool
}

type PodStatsValues

type PodStatsValues struct {
	PodmanCommand
	All      bool
	NoStream bool
	NoReset  bool
	Format   string
	Latest   bool
}

type PodStopValues

type PodStopValues struct {
	PodmanCommand
	All     bool
	Latest  bool
	Timeout uint
}

type PodTopValues

type PodTopValues struct {
	PodmanCommand
	Latest          bool
	ListDescriptors bool
}

type PodUnpauseValues

type PodUnpauseValues struct {
	PodmanCommand
	All    bool
	Latest bool
}

type PodmanCommand

type PodmanCommand struct {
	*cobra.Command
	InputArgs   []string
	GlobalFlags MainFlags
	Remote      bool
}

func (*PodmanCommand) Bool

func (p *PodmanCommand) Bool(opt string) bool

Bool is a compatibility method for urfave

func (*PodmanCommand) Float64

func (p *PodmanCommand) Float64(opt string) float64

Float64 is a compatibility method for urfave

func (*PodmanCommand) GlobalIsSet

func (p *PodmanCommand) GlobalIsSet(opt string) bool

GlobalIsSet is a compatibility method for urfave

func (*PodmanCommand) Int

func (p *PodmanCommand) Int(opt string) int

Int is a compatibility method for urfave

func (*PodmanCommand) Int64

func (p *PodmanCommand) Int64(opt string) int64

Int64 is a compatibility method for urfave

func (*PodmanCommand) IsSet

func (p *PodmanCommand) IsSet(opt string) bool

IsSet is a compatibility method for urfave

func (*PodmanCommand) String

func (p *PodmanCommand) String(opt string) string

String is a compatibility method for urfave

func (*PodmanCommand) StringArray

func (p *PodmanCommand) StringArray(opt string) []string

StringArray is a compatibility method for urfave

func (*PodmanCommand) StringSlice

func (p *PodmanCommand) StringSlice(opt string) []string

StringSlice is a compatibility method for urfave

func (*PodmanCommand) Uint

func (p *PodmanCommand) Uint(opt string) uint

Unt is a compatibility method for urfave

func (*PodmanCommand) Uint64

func (p *PodmanCommand) Uint64(opt string) uint64

Unt64 is a compatibility method for urfave

type PortValues

type PortValues struct {
	PodmanCommand
	All    bool
	Latest bool
}

type PruneContainersValues

type PruneContainersValues struct {
	PodmanCommand
	Force bool
}

type PruneImagesValues

type PruneImagesValues struct {
	PodmanCommand
	All bool
}

type PsValues

type PsValues struct {
	PodmanCommand
	All       bool
	Filter    []string
	Format    string
	Last      int
	Latest    bool
	Namespace bool
	NoTrunct  bool
	Pod       bool
	Quiet     bool
	Size      bool
	Sort      string
	Sync      bool
	Watch     uint
}

type PullValues

type PullValues struct {
	PodmanCommand
	AllTags         bool
	Authfile        string
	CertDir         string
	Creds           string
	Quiet           bool
	SignaturePolicy string
	TlsVerify       bool
}

type PushValues

type PushValues struct {
	PodmanCommand
	Authfile         string
	CertDir          string
	Compress         bool
	Creds            string
	Format           string
	Quiet            bool
	RemoveSignatures bool
	SignBy           string
	SignaturePolicy  string
	TlsVerify        bool
}

type RefreshValues

type RefreshValues struct {
	PodmanCommand
}

type RestartValues

type RestartValues struct {
	PodmanCommand
	All     bool
	Latest  bool
	Running bool
	Timeout uint
}

type RestoreValues

type RestoreValues struct {
	PodmanCommand
	All            bool
	Keep           bool
	Latest         bool
	TcpEstablished bool
	Import         string
	Name           string
}

type RmValues

type RmValues struct {
	PodmanCommand
	All     bool
	Force   bool
	Latest  bool
	Storage bool
	Volumes bool
}

type RmiValues

type RmiValues struct {
	PodmanCommand
	All   bool
	Force bool
}

type RunValues

type RunValues struct {
	PodmanCommand
}

type RunlabelValues

type RunlabelValues struct {
	PodmanCommand
	Authfile        string
	CertDir         string
	Creds           string
	Display         bool
	Name            string
	Opt1            string
	Opt2            string
	Opt3            string
	Quiet           bool
	Replace         bool
	SignaturePolicy string
	TlsVerify       bool
}

type SaveValues

type SaveValues struct {
	PodmanCommand
	Compress bool
	Format   string
	Output   string
	Quiet    bool
}

type SearchValues

type SearchValues struct {
	PodmanCommand
	Authfile  string
	Filter    []string
	Format    string
	Limit     int
	NoTrunc   bool
	TlsVerify bool
}

type SetTrustValues

type SetTrustValues struct {
	PodmanCommand
	PolicyPath  string
	PubKeysFile []string
	TrustType   string
}

type ShowTrustValues

type ShowTrustValues struct {
	PodmanCommand
	Json         bool
	PolicyPath   string
	Raw          bool
	RegistryPath string
}

type SignValues

type SignValues struct {
	PodmanCommand
	Directory string
	SignBy    string
}

type StartValues

type StartValues struct {
	PodmanCommand
	Attach      bool
	DetachKeys  string
	Interactive bool
	Latest      bool
	SigProxy    bool
}

type StatsValues

type StatsValues struct {
	PodmanCommand
	All      bool
	Format   string
	Latest   bool
	NoReset  bool
	NoStream bool
}

type StopValues

type StopValues struct {
	PodmanCommand
	All     bool
	Latest  bool
	Timeout uint
}

type SystemDfValues

type SystemDfValues struct {
	PodmanCommand
	Verbose bool
	Format  string
}

type SystemMigrateValues

type SystemMigrateValues struct {
	PodmanCommand
}

type SystemPruneValues

type SystemPruneValues struct {
	PodmanCommand
	All    bool
	Force  bool
	Volume bool
}

type SystemRenumberValues

type SystemRenumberValues struct {
	PodmanCommand
}

type TagValues

type TagValues struct {
	PodmanCommand
}

type TopValues

type TopValues struct {
	PodmanCommand
	Latest          bool
	ListDescriptors bool
}

type TreeValues

type TreeValues struct {
	PodmanCommand
	WhatRequires bool
}

type UmountValues

type UmountValues struct {
	PodmanCommand
	All    bool
	Force  bool
	Latest bool
}

type UnpauseValues

type UnpauseValues struct {
	PodmanCommand
	All bool
}

type VarlinkValues

type VarlinkValues struct {
	PodmanCommand
	Timeout int64
}

type VersionValues

type VersionValues struct {
	PodmanCommand
	Format string
}

type VolumeCreateValues

type VolumeCreateValues struct {
	PodmanCommand
	Driver string
	Label  []string
	Opt    []string
}

type VolumeInspectValues

type VolumeInspectValues struct {
	PodmanCommand
	All    bool
	Format string
}

type VolumeLsValues

type VolumeLsValues struct {
	PodmanCommand
	Filter string
	Format string
	Quiet  bool
}

type VolumePruneValues

type VolumePruneValues struct {
	PodmanCommand
	Force bool
}

type VolumeRmValues

type VolumeRmValues struct {
	PodmanCommand
	All   bool
	Force bool
}

type WaitValues

type WaitValues struct {
	PodmanCommand
	Interval uint
	Latest   bool
}

Jump to

Keyboard shortcuts

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