Documentation
¶
Index ¶
- func Check(ctx context.Context, path string) tea.Cmd
- func DeploySite(ctx context.Context, id, path string, files []string, ...) tea.Cmd
- func Init(path string, force bool) tea.Cmd
- func ScanDir(path string, ignore []string) tea.Cmd
- func SitesCheckExists(ctx context.Context, client *apis.ClientWithResponses, name string) tea.Cmd
- type CheckSuccessMsg
- type ErrorMsg
- type InitSuccessMsg
- type SitesCheckDoesNotExistMsg
- type SitesCheckExistsMsg
- type SitesDeployFileSuccessMsg
- type SitesDeployScanSuccessMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeploySite ¶ added in v0.3.26
func DeploySite(ctx context.Context, id, path string, files []string, filesCtrl ports.FilesController) tea.Cmd
DeploySite deploys a site by scanning the directory and uploading files.
func SitesCheckExists ¶
SitesCheckExists checks if a site exists and returns a SiteExistsMsg if it does.
Types ¶
type CheckSuccessMsg ¶ added in v0.3.25
type CheckSuccessMsg struct{}
CheckSuccessMsg is sent when the check command succeeds.
type InitSuccessMsg ¶ added in v0.3.25
type InitSuccessMsg struct{}
InitSuccessMsg is a message that indicates the initialization was successful.
type SitesCheckDoesNotExistMsg ¶
type SitesCheckDoesNotExistMsg struct{}
SitesCheckDoesNotExistMsg is sent when a site does not exist.
type SitesCheckExistsMsg ¶
type SitesCheckExistsMsg struct{}
SitesCheckExistsMsg is sent when a site exists.
type SitesDeployFileSuccessMsg ¶ added in v0.3.26
type SitesDeployFileSuccessMsg struct{ File string }
SitesDeployFileSuccessMsg is sent when a site deployment is successful.
type SitesDeployScanSuccessMsg ¶ added in v0.3.26
SitesDeployScanSuccess is sent when a site deployment scan is successful.
Click to show internal directories.
Click to hide internal directories.