Documentation ¶
Index ¶
- func FileExists(path string) bool
- func InitProject(projectName string) error
- type DeployContext
- func (c *DeployContext) ConfirmProject() bool
- func (c *DeployContext) DetectProjectType() (projectType string)
- func (c *DeployContext) LoadCliFlag(inputProjectName, inputProjectType string)
- func (c *DeployContext) LoadEnvFiles() error
- func (c *DeployContext) LoadLetJson()
- func (c *DeployContext) LoadProjectInfoCache()
- func (c *DeployContext) LoadRegion(cmd *cobra.Command, inputCN bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func InitProject ¶ added in v0.0.89
Types ¶
type DeployContext ¶ added in v0.0.89
type DeployContext struct { types.LetConfig Channel string `json:"channel,omitempty"` PreDeployRequest struct { graphql.QueryCheckDeployCapability graphql.QueryBuildTemplate graphql.QueryStsToken graphql.QueryPreference } `json:"-"` }
func (*DeployContext) ConfirmProject ¶ added in v0.0.89
func (c *DeployContext) ConfirmProject() bool
func (*DeployContext) DetectProjectType ¶ added in v0.0.89
func (c *DeployContext) DetectProjectType() (projectType string)
func (*DeployContext) LoadCliFlag ¶ added in v0.0.89
func (c *DeployContext) LoadCliFlag(inputProjectName, inputProjectType string)
func (*DeployContext) LoadEnvFiles ¶ added in v0.0.89
func (c *DeployContext) LoadEnvFiles() error
func (*DeployContext) LoadLetJson ¶ added in v0.0.89
func (c *DeployContext) LoadLetJson()
func (*DeployContext) LoadProjectInfoCache ¶ added in v0.0.89
func (c *DeployContext) LoadProjectInfoCache()
func (*DeployContext) LoadRegion ¶ added in v0.0.89
func (c *DeployContext) LoadRegion(cmd *cobra.Command, inputCN bool)
Click to show internal directories.
Click to hide internal directories.