codex

package
v0.0.0-...-10bf2d1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	// contains filtered or unexported fields
}

func New

func New() *Adapter

func NewWithRunner

func NewWithRunner(runner adapters.CommandRunner) *Adapter

func (*Adapter) Capabilities

func (a *Adapter) Capabilities(version adapters.Version) []adapters.Capability

func (*Adapter) ClassifyEntry

func (a *Adapter) ClassifyEntry(relative string, _ fs.FileInfo) (adapters.Category, bool, string)

func (*Adapter) CreateHome

func (a *Adapter) CreateHome(path string) error

func (*Adapter) CredentialLoginCommand

func (a *Adapter) CredentialLoginCommand(request adapters.AuthRequest) (adapters.Command, error)

func (*Adapter) CredentialLogoutCommand

func (a *Adapter) CredentialLogoutCommand(request adapters.AuthRequest) (adapters.Command, error)

func (*Adapter) CredentialStatusCommand

func (a *Adapter) CredentialStatusCommand(request adapters.AuthRequest) (adapters.Command, error)

func (*Adapter) DefaultSourceHome

func (a *Adapter) DefaultSourceHome() (string, error)

func (*Adapter) DetectBinary

func (a *Adapter) DetectBinary(ctx context.Context, configured string) (adapters.Binary, error)

func (*Adapter) Doctor

func (a *Adapter) Doctor(ctx context.Context, options adapters.DoctorOptions) []adapters.Check

func (*Adapter) Inventory

func (a *Adapter) Inventory(home string, includeSessions bool) (adapters.Inventory, error)

func (*Adapter) ParseCredentialStatus

func (a *Adapter) ParseCredentialStatus(output []byte) adapters.CredentialStatus

func (*Adapter) ResolveEnvironment

func (a *Adapter) ResolveEnvironment(request adapters.ActivationRequest) (adapters.EnvironmentPlan, error)

func (*Adapter) Tool

func (a *Adapter) Tool() adapters.Tool

func (*Adapter) ValidateConfig

func (a *Adapter) ValidateConfig(home string) []adapters.Check

Jump to

Keyboard shortcuts

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