Help us shape the future of Go! Take the 2026 Go Developer Survey

console

package
v1.20.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAboutInformation

func AddAboutInformation(section string, items ...foundation.AboutItem)

AddAboutInformation Add custom information to the application information.

Types

type AboutCommand

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

func NewAboutCommand

func NewAboutCommand(app foundation.Application) *AboutCommand

func (*AboutCommand) Description

func (r *AboutCommand) Description() string

Description The console command description.

func (*AboutCommand) Extend

func (r *AboutCommand) Extend() command.Extend

Extend The console command extend.

func (*AboutCommand) Handle

func (r *AboutCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*AboutCommand) Signature

func (r *AboutCommand) Signature() string

Signature The name and signature of the console command.

type DownCommand

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

func NewDownCommand

func NewDownCommand(view view.View, hash hash.Hash, maintenance *MaintenanceMode) *DownCommand

func (*DownCommand) Description

func (r *DownCommand) Description() string

Description The console command description.

func (*DownCommand) Extend

func (r *DownCommand) Extend() command.Extend

Extend The console command extend.

func (*DownCommand) Handle

func (r *DownCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*DownCommand) Signature

func (r *DownCommand) Signature() string

Signature The name and signature of the console command.

type EnvDecryptCommand

type EnvDecryptCommand struct {
}

func NewEnvDecryptCommand

func NewEnvDecryptCommand() *EnvDecryptCommand

func (*EnvDecryptCommand) Description

func (r *EnvDecryptCommand) Description() string

Description The console command description.

func (*EnvDecryptCommand) Extend

func (r *EnvDecryptCommand) Extend() command.Extend

Extend The console command extend.

func (*EnvDecryptCommand) Handle

func (r *EnvDecryptCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*EnvDecryptCommand) Signature

func (r *EnvDecryptCommand) Signature() string

Signature The name and signature of the console command.

type EnvEncryptCommand

type EnvEncryptCommand struct {
}

func NewEnvEncryptCommand

func NewEnvEncryptCommand() *EnvEncryptCommand

func (*EnvEncryptCommand) Description

func (r *EnvEncryptCommand) Description() string

Description The console command description.

func (*EnvEncryptCommand) Extend

func (r *EnvEncryptCommand) Extend() command.Extend

Extend The console command extend.

func (*EnvEncryptCommand) Handle

func (r *EnvEncryptCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*EnvEncryptCommand) Signature

func (r *EnvEncryptCommand) Signature() string

Signature The name and signature of the console command.

type MaintenanceMode

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

func NewMaintenanceMode

func NewMaintenanceMode(config config.Config, cache cache.Cache, storage filesystem.Storage) *MaintenanceMode

func (*MaintenanceMode) Delete

func (r *MaintenanceMode) Delete() (bool, error)

func (*MaintenanceMode) Get

func (r *MaintenanceMode) Get() ([]byte, bool, error)

func (*MaintenanceMode) Put

func (r *MaintenanceMode) Put(content string) error

type MaintenanceOptions

type MaintenanceOptions struct {
	Reason   string `json:"reason,omitempty"`
	Redirect string `json:"redirect,omitempty"`
	Render   string `json:"render,omitempty"`
	Secret   string `json:"secret,omitempty"`
	Status   int    `json:"status"`
}

type PackageInstallCommand

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

func NewPackageInstallCommand

func NewPackageInstallCommand(bindings map[string]contractsbinding.Info, process process.Process, json contractsfoundation.Json) *PackageInstallCommand

func (*PackageInstallCommand) Description

func (r *PackageInstallCommand) Description() string

Description The console command description.

func (*PackageInstallCommand) Extend

func (r *PackageInstallCommand) Extend() command.Extend

Extend The console command extend.

func (*PackageInstallCommand) Handle

func (r *PackageInstallCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*PackageInstallCommand) Signature

func (r *PackageInstallCommand) Signature() string

Signature The name and signature of the console command.

type PackageMakeCommand

type PackageMakeCommand struct{}

func NewPackageMakeCommand

func NewPackageMakeCommand() *PackageMakeCommand

func (*PackageMakeCommand) Description

func (r *PackageMakeCommand) Description() string

Description The console command description.

func (*PackageMakeCommand) Extend

func (r *PackageMakeCommand) Extend() command.Extend

Extend The console command extend.

func (*PackageMakeCommand) Handle

func (r *PackageMakeCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*PackageMakeCommand) Signature

func (r *PackageMakeCommand) Signature() string

Signature The name and signature of the console command.

type PackageMakeCommandStubs

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

func NewPackageMakeCommandStubs

func NewPackageMakeCommandStubs(pkg, root string) *PackageMakeCommandStubs

func (PackageMakeCommandStubs) Config

func (r PackageMakeCommandStubs) Config() string

func (PackageMakeCommandStubs) Contracts

func (r PackageMakeCommandStubs) Contracts() string

func (PackageMakeCommandStubs) Facades

func (r PackageMakeCommandStubs) Facades() string

func (PackageMakeCommandStubs) Main

func (PackageMakeCommandStubs) OldConfig

func (r PackageMakeCommandStubs) OldConfig() string

func (PackageMakeCommandStubs) OldSetup

func (r PackageMakeCommandStubs) OldSetup() string

func (PackageMakeCommandStubs) Readme

func (r PackageMakeCommandStubs) Readme() string

func (PackageMakeCommandStubs) ServiceProvider

func (r PackageMakeCommandStubs) ServiceProvider() string

func (PackageMakeCommandStubs) Setup

func (r PackageMakeCommandStubs) Setup() string

type PackageUninstallCommand

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

func NewPackageUninstallCommand

func NewPackageUninstallCommand(
	bindings map[string]binding.Info,
	process process.Process,
	json foundation.Json,
) *PackageUninstallCommand

func (*PackageUninstallCommand) Description

func (r *PackageUninstallCommand) Description() string

Description The console command description.

func (*PackageUninstallCommand) Extend

Extend The console command extend.

func (*PackageUninstallCommand) Handle

Handle Execute the console command.

func (*PackageUninstallCommand) Signature

func (r *PackageUninstallCommand) Signature() string

Signature The name and signature of the console command.

type ProviderMakeCommand

type ProviderMakeCommand struct {
}

func NewProviderMakeCommand

func NewProviderMakeCommand() *ProviderMakeCommand

func (*ProviderMakeCommand) Description

func (r *ProviderMakeCommand) Description() string

Description The console command description.

func (*ProviderMakeCommand) Extend

func (r *ProviderMakeCommand) Extend() command.Extend

Extend The console command extend.

func (*ProviderMakeCommand) Handle

func (r *ProviderMakeCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*ProviderMakeCommand) Signature

func (r *ProviderMakeCommand) Signature() string

Signature The name and signature of the console command.

type Stubs

type Stubs struct {
}

func (Stubs) ServiceProvider

func (r Stubs) ServiceProvider() string

func (Stubs) Test

func (r Stubs) Test() string

type TestMakeCommand

type TestMakeCommand struct {
}

func NewTestMakeCommand

func NewTestMakeCommand() *TestMakeCommand

func (*TestMakeCommand) Description

func (r *TestMakeCommand) Description() string

Description The console command description.

func (*TestMakeCommand) Extend

func (r *TestMakeCommand) Extend() command.Extend

Extend The console command extend.

func (*TestMakeCommand) Handle

func (r *TestMakeCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*TestMakeCommand) Signature

func (r *TestMakeCommand) Signature() string

Signature The name and signature of the console command.

type UpCommand

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

func NewUpCommand

func NewUpCommand(maintenance *MaintenanceMode) *UpCommand

func (*UpCommand) Description

func (r *UpCommand) Description() string

Description The console command description.

func (*UpCommand) Extend

func (r *UpCommand) Extend() command.Extend

Extend The console command extend.

func (*UpCommand) Handle

func (r *UpCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*UpCommand) Signature

func (r *UpCommand) Signature() string

Signature The name and signature of the console command.

type VendorPublishCommand

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

func NewVendorPublishCommand

func NewVendorPublishCommand(publishes, publishGroups map[string]map[string]string) *VendorPublishCommand

func (*VendorPublishCommand) Description

func (r *VendorPublishCommand) Description() string

Description The console command description.

func (*VendorPublishCommand) Extend

func (r *VendorPublishCommand) Extend() command.Extend

Extend The console command extend.

func (*VendorPublishCommand) Handle

func (r *VendorPublishCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*VendorPublishCommand) Signature

func (r *VendorPublishCommand) Signature() string

Signature The name and signature of the console command.

Jump to

Keyboard shortcuts

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