asset

package
v0.0.0-...-9febfc8 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2025 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flagmap

type Flagmap = map[string][]string

type GetAsset

type GetAsset struct {
	Namespace string
	// Zone value Name(s) of a zone to filter by.
	Zones []string
	// Rack Name(s) of a rack to filter by.
	Racks []string
	// Tags Name(s) of a tag to filter by.
	Tags []string
	// boards Name(s) of a build target/board to filter by.
	Boards []string
	// Models Name(s) of a model to filter by..
	Models []string
	// AssetTypes Name(s) of a assettype to filter by.
	AssetTypes []string
}

GetAsset contains fields used to control behaviour when fetching Assets

func (*GetAsset) TriggerRun

func (g *GetAsset) TriggerRun(
	ctx context.Context,
	executor executor.IExecCommander,
) ([]*ufsModels.Asset, error)

TriggerRun trigger `shivas get asset` CLI to get the asset information.

Jump to

Keyboard shortcuts

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