property

package
v6.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

View Source
var ReadOnly = []string{"version"}

The version is dropped as `service get` drops it: kept in a file, it turns every apply after an edit in the UI into a conflict.

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