mage

package
v0.0.0-...-fb54fd9 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Aliases = map[string]any{
	"update": Update.All,
}

Aliases stores aliases for the targets.

Functions

func CustomizePackaging

func CustomizePackaging()

CustomizePackaging modifies the device in the configuration files based on the target OS.

func XPackConfigFileParams

func XPackConfigFileParams() devtools.ConfigFileParams

XPackConfigFileParams returns the default ConfigFileParams for generating cloudbeat*.yml files.

Types

type Update

type Update mg.Namespace

Update target namespace.

func (Update) All

func (Update) All()

All updates all generated content.

func (Update) Config

func (Update) Config() error

Config generates both the short and reference configs.

func (Update) FieldDocs

func (Update) FieldDocs() error

FieldDocs collects all fields by provider and generates documentation for them.

func (Update) Fields

func (Update) Fields() error

Fields generates a fields.yml for the Beat.

func (Update) IncludeFields

func (Update) IncludeFields() error

IncludeFields generates include/fields.go by provider.

Jump to

Keyboard shortcuts

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