Documentation
¶
Index ¶
- Variables
- func CloneCmd(ch *cmdutil.Helper) *cobra.Command
- func ConnectGithubFlow(ctx context.Context, ch *cmdutil.Helper, opts *DeployOpts) error
- func DeleteCmd(ch *cmdutil.Helper) *cobra.Command
- func DeployCmd(ch *cmdutil.Helper) *cobra.Command
- func DeployWithUploadFlow(ctx context.Context, ch *cmdutil.Helper, opts *DeployOpts) error
- func DescribeCmd(ch *cmdutil.Helper) *cobra.Command
- func EditCmd(ch *cmdutil.Helper) *cobra.Command
- func GitPushCmd(ch *cmdutil.Helper) *cobra.Command
- func HibernateCmd(ch *cmdutil.Helper) *cobra.Command
- func JwtCmd(ch *cmdutil.Helper) *cobra.Command
- func ListCmd(ch *cmdutil.Helper) *cobra.Command
- func LogsCmd(ch *cmdutil.Helper) *cobra.Command
- func PartitionsCmd(ch *cmdutil.Helper) *cobra.Command
- func ProjectCmd(ch *cmdutil.Helper) *cobra.Command
- func ProjectNames(ctx context.Context, ch *cmdutil.Helper) ([]string, error)
- func RefreshCmd(ch *cmdutil.Helper) *cobra.Command
- func RenameCmd(ch *cmdutil.Helper) *cobra.Command
- func ShowCmd(ch *cmdutil.Helper) *cobra.Command
- func StatusCmd(ch *cmdutil.Helper) *cobra.Command
- func TablesCmd(ch *cmdutil.Helper) *cobra.Command
- func ValidateLocalProject(ch *cmdutil.Helper, localGitPath, subPath string) (string, string, error)
- type DeployOpts
- type TableInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidProject = errors.New("invalid project")
Functions ¶
func ConnectGithubFlow ¶ added in v0.49.0
func DeployWithUploadFlow ¶ added in v0.49.1
func ProjectNames ¶ added in v0.78.0
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
ProdBranch string
Slots int
PushEnv 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
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
Click to show internal directories.
Click to hide internal directories.