target

package
v6.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package target implements the `target` commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttributeKeys

func AttributeKeys(ctx context.Context, c *platform.Client, o AttributeOptions) error

func AttributeValues

func AttributeValues(ctx context.Context, c *platform.Client, o AttributeOptions) error

func Query

func Query(ctx context.Context, c *platform.Client, o QueryOptions) error

Types

type AttributeOptions

type AttributeOptions struct {
	Environment, TargetType, Action string
	// The attribute whose values to list; empty lists the keys.
	Key  string
	Type string
}

type QueryOptions

type QueryOptions struct {
	Environment, TargetType, Query string
	Attributes                     []string
	// At most this many targets; 0 is all of them.
	Limit int
	Type  string
}

Jump to

Keyboard shortcuts

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