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

project

package
v0.88.3 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidProject = errors.New("invalid project")

Functions

func CloneCmd added in v0.64.1

func CloneCmd(ch *cmdutil.Helper) *cobra.Command

func ConnectGithubFlow added in v0.49.0

func ConnectGithubFlow(ctx context.Context, ch *cmdutil.Helper, opts *DeployOpts) error

func DeleteCmd

func DeleteCmd(ch *cmdutil.Helper) *cobra.Command

func DeployCmd added in v0.49.1

func DeployCmd(ch *cmdutil.Helper) *cobra.Command

func DeployWithUploadFlow added in v0.49.1

func DeployWithUploadFlow(ctx context.Context, ch *cmdutil.Helper, opts *DeployOpts) error

func DescribeCmd added in v0.36.3

func DescribeCmd(ch *cmdutil.Helper) *cobra.Command

func EditCmd

func EditCmd(ch *cmdutil.Helper) *cobra.Command

func GitPushCmd added in v0.49.0

func GitPushCmd(ch *cmdutil.Helper) *cobra.Command

func HibernateCmd added in v0.49.0

func HibernateCmd(ch *cmdutil.Helper) *cobra.Command

func JwtCmd added in v0.24.3

func JwtCmd(ch *cmdutil.Helper) *cobra.Command

func ListCmd added in v0.23.0

func ListCmd(ch *cmdutil.Helper) *cobra.Command

func LogsCmd added in v0.37.0

func LogsCmd(ch *cmdutil.Helper) *cobra.Command

func PartitionsCmd added in v0.51.0

func PartitionsCmd(ch *cmdutil.Helper) *cobra.Command

func ProjectCmd

func ProjectCmd(ch *cmdutil.Helper) *cobra.Command

func ProjectNames added in v0.78.0

func ProjectNames(ctx context.Context, ch *cmdutil.Helper) ([]string, error)

func RefreshCmd added in v0.37.0

func RefreshCmd(ch *cmdutil.Helper) *cobra.Command

func RenameCmd added in v0.24.0

func RenameCmd(ch *cmdutil.Helper) *cobra.Command

func ShowCmd

func ShowCmd(ch *cmdutil.Helper) *cobra.Command

func SkipPartitionCmd added in v0.88.0

func SkipPartitionCmd(ch *cmdutil.Helper) *cobra.Command

func StatusCmd

func StatusCmd(ch *cmdutil.Helper) *cobra.Command

func TablesCmd added in v0.78.0

func TablesCmd(ch *cmdutil.Helper) *cobra.Command

func ValidateLocalProject added in v0.49.0

func ValidateLocalProject(ch *cmdutil.Helper, localGitPath, subPath string) (string, string, error)

Types

type DeployOpts added in v0.49.0

type DeployOpts struct {
	GitPath       string
	SubPath       string
	RemoteName    string
	Name          string
	Description   string
	Public        bool
	Provisioner   string
	ProdVersion   string
	PrimaryBranch string
	Slots         int
	DevSlots      int
	PushEnv       bool
	ForcePush     bool

	ArchiveUpload bool
	// Managed indicates if the project should be deployed using Rill Managed Git.
	Managed bool
	// Github indicates if the project should be connected to GitHub for automatic deploys.
	Github bool

	// SkipDeploy skips the runtime deployment step. Used for testing.
	SkipDeploy bool
	// contains filtered or unexported fields
}

func (*DeployOpts) LocalProjectPath added in v0.78.0

func (o *DeployOpts) LocalProjectPath() string

func (*DeployOpts) ValidateAndApplyDefaults added in v0.78.0

func (o *DeployOpts) ValidateAndApplyDefaults(ctx context.Context, ch *cmdutil.Helper) error

type TableInfo added in v0.78.0

type TableInfo struct {
	Name         string `json:"name" csv:"NAME" header:"NAME"`
	RowCount     string `json:"row_count" csv:"ROW_COUNT" header:"ROW COUNT"`
	ColumnCount  string `json:"column_count" csv:"COLUMN_COUNT" header:"COLUMN COUNT"`
	DatabaseSize string `json:"database_size" csv:"DATABASE_SIZE" header:"DATABASE SIZE"`
}

TableInfo represents information about a database table

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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