args

package
v1.29.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// Version indicates if the version information should be printed
	Version *bool
	// LogLevel represents the ECS Agent's log level
	LogLevel *string
	// AcceptInsecureCert indicates if SSL certificate verification
	// should be disabled
	AcceptInsecureCert *bool
	// License indicates if the license information should be printed
	License *bool
	// BlackholeEC2Metadata indicates if EC2 Metadata requests should be
	// blackholed
	BlackholeEC2Metadata *bool
	// ECSAttributes indicates that the agent should print its attributes
	ECSAttributes *bool
	// WindowsService indicates that the agent should run as a Windows service
	WindowsService *bool
}

Args wraps various ECS Agent arguments

func New

func New(arguments []string) (*Args, error)

New creates a new Args object from the argument list

Jump to

Keyboard shortcuts

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