property

package
v6.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package property implements the `property` commands: the definitions of the properties experiments and services carry, and their associations, which say who carries them.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyDefinitions

func ApplyDefinitions(ctx context.Context, c *platform.Client, o ApplyDefinitionOptions) error

ApplyDefinitions upserts definitions by their key; there is no id to write back.

func ListDefinitions

func ListDefinitions(ctx context.Context, c *platform.Client, explicitType string) error

Types

type ApplyAssociationOptions

type ApplyAssociationOptions struct {
	Files     []string
	Recursive bool
}

type ApplyDefinitionOptions

type ApplyDefinitionOptions struct {
	Files        []string
	Recursive    bool
	DeleteValues bool
}

type DeleteAssociationOptions

type DeleteAssociationOptions struct {
	ID           string
	DeleteValues bool
	Yes          bool
}

type DeleteDefinitionOptions

type DeleteDefinitionOptions struct {
	Key          string
	Associations bool
	Yes          bool
}

type GetAssociationOptions

type GetAssociationOptions struct {
	ID, File, Type string
}

type GetDefinitionOptions

type GetDefinitionOptions struct {
	Key, File, Type string
}

type ListAssociationOptions

type ListAssociationOptions struct {
	Key, Experiment, Service, Type string
	// Output is -t for the other listings; --type already names the association type here.
	Output string
}

Jump to

Keyboard shortcuts

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