args

package
v1.44.3 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: Apache-2.0 Imports: 1 Imported by: 12

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 logging level for both the on-instance file and the logging driver
	LogLevel *string
	// DriverLogLevel represents the ECS Agent's logging driver log level
	DriverLogLevel *string
	// InstanceLogLevel represents the ECS Agent's on-instance file log level
	InstanceLogLevel *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
	// Healthcheck indicates that agent should run healthcheck
	Healthcheck *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