Versions in this module Expand all Collapse all v6 v6.2.3 Oct 13, 2026 v6.2.2 Sep 30, 2026 v6.2.1 Sep 30, 2026 v6.2.0 Sep 29, 2026 Changes in this version + var ErrUnexpected = errors.New("the run did not end as expected") type RunOptions + BusyRetries int + BusyRetryInterval time.Duration + ExpectationRetries int + ExpectationRetryInterval time.Duration type RunResult + APILocation string type WaitOptions + ExpectReason string + ExpectState string v6.1.0 Sep 29, 2026 Changes in this version + var StartCheckDelay = 2 * time.Second + var StartCheckTimeout = 15 * time.Second type RunOptions + Parallel int type WaitOptions + Prefix string v6.0.1 Sep 29, 2026 v6.0.0 Sep 28, 2026 Changes in this version + var ErrIncomplete = fmt.Errorf("incomplete dump") + var ErrTimedOut = errors.New("timed out") + var Interactive = func() bool + var PollInterval = 5 * time.Second + func Apply(ctx context.Context, c *platform.Client, o ApplyOptions) error + func ApplyTemplate(ctx context.Context, c *platform.Client, key string, o TemplateOptions) error + func Delete(ctx context.Context, c *platform.Client, key string) error + func Dump(ctx context.Context, c *platform.Client, o DumpOptions) error + func Get(ctx context.Context, c *platform.Client, o GetOptions) error + func Init(ctx context.Context, c *platform.Client, o InitOptions) error + func ResolveFiles(paths []string, recursive bool) ([]string, error) + func ResolvePlaceholders(o TemplateOptions) ([]api.ExperimentTemplatePlaceholderValueAO, error) + func Run(ctx context.Context, c *platform.Client, o RunOptions) error + func WriteGitHubSummary(runs []*RunResult) error + func WriteReport(file string, runs []*RunResult) error + type ApplyOptions struct + Files []string + Key string + Recursive bool + type Document = *output.Document + func Fetch(ctx context.Context, c *platform.Client, key string) (Document, error) + type DumpOptions struct + Directory string + Teams []string + Type string + type GetOptions struct + File string + Key string + Type string + type InitOptions struct + Environment string + File string + Team string + Template string + type RunOptions struct + AllowParallel bool + Files []string + Key string + Recursive bool + Report string + Retries int + RetryInterval int + Wait bool + Yes bool + type RunResult struct + Ended time.Time + ID int64 + Key string + Name string + Reason string + Started time.Time + State string + Steps []Step + UILocation string + func (r RunResult) Duration() time.Duration + type Step struct + Ended time.Time + Name string + Reason string + Started time.Time + State string + func (s Step) Duration() time.Duration + type TemplateOptions struct + Environment string + ExecutionVariable *jsyaml.Map + ExternalID string + Placeholder *jsyaml.Map + PlaceholdersFile string + ResetProperties bool + Team string + Template string + Variable *jsyaml.Map + type WaitOptions struct + KeepRunningOnInterrupt bool + ShowSteps bool + Steps bool + Timeout time.Duration