Documentation
¶
Index ¶
- type Adapter
- func (a *Adapter) Capabilities(version adapters.Version) []adapters.Capability
- func (a *Adapter) ClassifyEntry(relative string, _ fs.FileInfo) (adapters.Category, bool, string)
- func (a *Adapter) CreateHome(path string) error
- func (a *Adapter) CredentialLoginCommand(request adapters.AuthRequest) (adapters.Command, error)
- func (a *Adapter) CredentialLogoutCommand(request adapters.AuthRequest) (adapters.Command, error)
- func (a *Adapter) CredentialStatusCommand(request adapters.AuthRequest) (adapters.Command, error)
- func (a *Adapter) DefaultSourceHome() (string, error)
- func (a *Adapter) DetectBinary(ctx context.Context, configured string) (adapters.Binary, error)
- func (a *Adapter) Doctor(ctx context.Context, options adapters.DoctorOptions) []adapters.Check
- func (a *Adapter) Inventory(home string, includeSessions bool) (adapters.Inventory, error)
- func (a *Adapter) ParseCredentialStatus(output []byte) adapters.CredentialStatus
- func (a *Adapter) ResolveEnvironment(request adapters.ActivationRequest) (adapters.EnvironmentPlan, error)
- func (a *Adapter) Tool() adapters.Tool
- func (a *Adapter) ValidateConfig(home string) []adapters.Check
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 NewWithRunner ¶
func NewWithRunner(runner adapters.CommandRunner) *Adapter
func (*Adapter) Capabilities ¶
func (a *Adapter) Capabilities(version adapters.Version) []adapters.Capability
func (*Adapter) ClassifyEntry ¶
func (*Adapter) CreateHome ¶
func (*Adapter) CredentialLoginCommand ¶
func (*Adapter) CredentialLogoutCommand ¶
func (*Adapter) CredentialStatusCommand ¶
func (*Adapter) DefaultSourceHome ¶
func (*Adapter) DetectBinary ¶
func (*Adapter) ParseCredentialStatus ¶
func (a *Adapter) ParseCredentialStatus(output []byte) adapters.CredentialStatus
func (*Adapter) ResolveEnvironment ¶
func (a *Adapter) ResolveEnvironment(request adapters.ActivationRequest) (adapters.EnvironmentPlan, error)
Click to show internal directories.
Click to hide internal directories.