integrationctl

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Doctor

func Doctor(ctx context.Context) (domain.Report, error)

func ExitCodeFromErr

func ExitCodeFromErr(err error) int

func List

func List(ctx context.Context) (domain.Report, error)

func NormalizeTargets

func NormalizeTargets(targets []string) []string

Types

type AddParams

type AddParams struct {
	Source          string
	Targets         []string
	Scope           string
	AutoUpdate      *bool
	AdoptNewTargets string
	AllowPrerelease *bool
	DryRun          bool
}

type RemoveParams

type RemoveParams struct {
	Name   string
	DryRun bool
}

type RepairParams

type RepairParams struct {
	Name   string
	Target string
	DryRun bool
}

type Report

type Report = domain.Report

type Result

type Result struct {
	OperationID string
	Summary     string
	Report      domain.Report
}

func Add

func Add(ctx context.Context, p AddParams) (Result, error)

func Disable

func Disable(ctx context.Context, p ToggleParams) (Result, error)

func Enable

func Enable(ctx context.Context, p ToggleParams) (Result, error)

func Remove

func Remove(ctx context.Context, p RemoveParams) (Result, error)

func Repair

func Repair(ctx context.Context, p RepairParams) (Result, error)

func Sync

func Sync(ctx context.Context, p SyncParams) (Result, error)

func Update

func Update(ctx context.Context, p UpdateParams) (Result, error)

type SyncParams

type SyncParams struct {
	DryRun bool
}

type ToggleParams

type ToggleParams struct {
	Name   string
	Target string
	DryRun bool
}

type UpdateParams

type UpdateParams struct {
	Name   string
	All    bool
	DryRun bool
}

Directories

Path Synopsis
adapters
fs
agentplugins module
Package opencodeplugin plans placement of one global OpenCode local JS plugin.
Package opencodeplugin plans placement of one global OpenCode local JS plugin.

Jump to

Keyboard shortcuts

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