Documentation ¶
Index ¶
- Constants
- type AddPackageOpts
- type AddProjectPackageOpts
- type AggregateMetricsOpts
- type AggregateMetricsResult
- type Application
- type ApplicationOpts
- type CancelOperationOpts
- type CreateProjectOpts
- type CreateProjectResult
- type DeleteProjectOpts
- type Details
- type Driver
- func (d *Driver) AddPackage(opts AddPackageOpts) error
- func (d *Driver) AddProjectPackage(opts AddProjectPackageOpts) error
- func (d *Driver) AggregateMetrics(opts AggregateMetricsOpts) (*AggregateMetricsResult, error)
- func (d *Driver) CancelOperation(opts CancelOperationOpts) error
- func (d *Driver) CreateProject(opts CreateProjectOpts) (*CreateProjectResult, error)
- func (d *Driver) DeleteProject(opts DeleteProjectOpts) error
- func (d *Driver) GetDetails() (*Details, error)
- func (d *Driver) GetOperation(opts GetOperationOpts) (*GetOperationResult, error)
- func (d *Driver) GetPackage(opts GetPackageOpts) (*GetPackageResult, error)
- func (d *Driver) GetPreferences() (*Preferences, error)
- func (d *Driver) GetProject(opts GetPackageOpts) (*GetProjectResult, error)
- func (d *Driver) InstallPackage(opts InstallPackageOpts) (*InstallPackageResult, error)
- func (d *Driver) ListMetrics(opts ListMetricsOpts) (*ListMetricsResult, error)
- func (d *Driver) ListOperations() (*ListOperationsResult, error)
- func (d *Driver) ListPackages(opts ListPackagesOpts) (*ListPackagesResult, error)
- func (d *Driver) ListProjects(opts ListProjectsOpts) (*ListProjectsResult, error)
- func (d *Driver) LongRunningOperation() (uuid.UUID, error)
- func (d *Driver) LongRunningRequestWithCancellation(cid uuid.UUID) error
- func (d *Driver) OpenDirectoryDialog(opts OpenDialogOptions) (string, error)
- func (d *Driver) OpenExplorer(opts OpenExplorerOptions) error
- func (d *Driver) OpenFileDialog(opts OpenDialogOptions) (string, error)
- func (d *Driver) Quit()
- func (d *Driver) RefreshPackages() error
- func (d *Driver) RemoveProjectPackage(opts RemoveProjectPackageOpts) error
- func (d *Driver) RenderProject(opts RenderProjectOpts) error
- func (d *Driver) RunProject(opts RunProjectOpts) error
- func (d *Driver) SaveFileDialog(opts SaveDialogOptions) (string, error)
- func (d *Driver) UninstallPackage(opts UninstallPackageOpts) error
- func (d *Driver) UpdatePreferences(opts UpdatePreferencesOpts) error
- func (d *Driver) UpdateProject(opts UpdateProjectOpts) error
- type Feature
- type FileFilter
- type GetOperationOpts
- type GetOperationResult
- type GetPackageOpts
- type GetPackageResult
- type GetProjectOpts
- type GetProjectResult
- type InstallPackageOpts
- type InstallPackageResult
- type LaunchEvent
- type ListMetricsOpts
- type ListMetricsResult
- type ListOperationsOpts
- type ListOperationsResult
- type ListPackagesOpts
- type ListPackagesResult
- type ListProjectsOpts
- type ListProjectsResult
- type OpenDialogOptions
- type OpenExplorerOptions
- type Option
- type Options
- type Preferences
- type RemoveProjectPackageOpts
- type RenderProjectOpts
- type RunProjectOpts
- type SaveDialogOptions
- type UninstallPackageOpts
- type UpdatePreferencesOpts
- type UpdateProjectOpts
Constants ¶
View Source
const ( OperationCancelChannel = "operation.cancel" ApplicationLogChannel = "application.log" ApplicationArgumentChannel = "application.argument" )
View Source
const ( Domain = "development" StartupMetric = "application.startup" PackageCountMetric = "package.count" ProjectCountMetric = "project.count" ProjectRunMetric = "project.action.run" // ProjectExploreMetric = "project.action.explore" ProjectUpdateMetric = "project.action.update" StoreInsertMetric = "store.insert" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddPackageOpts ¶
type AddPackageOpts struct {
Reference string `json:"reference"`
}
type AddProjectPackageOpts ¶
type AggregateMetricsOpts ¶
type AggregateMetricsOpts types.FilterMetricsOpts
type AggregateMetricsResult ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func New ¶
func New(opts ApplicationOpts) (*Application, error)
func (*Application) Execute ¶
func (a *Application) Execute() error
type CancelOperationOpts ¶
type CreateProjectOpts ¶
type CreateProjectOpts struct {
Name string `json:"name"`
}
type CreateProjectResult ¶
type DeleteProjectOpts ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (*Driver) AddPackage ¶
func (d *Driver) AddPackage(opts AddPackageOpts) error
func (*Driver) AddProjectPackage ¶
func (d *Driver) AddProjectPackage(opts AddProjectPackageOpts) error
func (*Driver) AggregateMetrics ¶
func (d *Driver) AggregateMetrics(opts AggregateMetricsOpts) (*AggregateMetricsResult, error)
func (*Driver) CancelOperation ¶
func (d *Driver) CancelOperation(opts CancelOperationOpts) error
func (*Driver) CreateProject ¶
func (d *Driver) CreateProject(opts CreateProjectOpts) (*CreateProjectResult, error)
func (*Driver) DeleteProject ¶
func (d *Driver) DeleteProject(opts DeleteProjectOpts) error
func (*Driver) GetDetails ¶
func (*Driver) GetOperation ¶
func (d *Driver) GetOperation(opts GetOperationOpts) (*GetOperationResult, error)
func (*Driver) GetPackage ¶
func (d *Driver) GetPackage(opts GetPackageOpts) (*GetPackageResult, error)
func (*Driver) GetPreferences ¶
func (d *Driver) GetPreferences() (*Preferences, error)
func (*Driver) GetProject ¶
func (d *Driver) GetProject(opts GetPackageOpts) (*GetProjectResult, error)
func (*Driver) InstallPackage ¶
func (d *Driver) InstallPackage(opts InstallPackageOpts) (*InstallPackageResult, error)
func (*Driver) ListMetrics ¶
func (d *Driver) ListMetrics(opts ListMetricsOpts) (*ListMetricsResult, error)
func (*Driver) ListOperations ¶
func (d *Driver) ListOperations() (*ListOperationsResult, error)
func (*Driver) ListPackages ¶
func (d *Driver) ListPackages(opts ListPackagesOpts) (*ListPackagesResult, error)
func (*Driver) ListProjects ¶
func (d *Driver) ListProjects(opts ListProjectsOpts) (*ListProjectsResult, error)
func (*Driver) LongRunningRequestWithCancellation ¶
func (*Driver) OpenDirectoryDialog ¶
func (d *Driver) OpenDirectoryDialog(opts OpenDialogOptions) (string, error)
func (*Driver) OpenExplorer ¶
func (d *Driver) OpenExplorer(opts OpenExplorerOptions) error
func (*Driver) OpenFileDialog ¶
func (d *Driver) OpenFileDialog(opts OpenDialogOptions) (string, error)
func (*Driver) RefreshPackages ¶
func (*Driver) RemoveProjectPackage ¶
func (d *Driver) RemoveProjectPackage(opts RemoveProjectPackageOpts) error
func (*Driver) RenderProject ¶
func (d *Driver) RenderProject(opts RenderProjectOpts) error
func (*Driver) RunProject ¶
func (d *Driver) RunProject(opts RunProjectOpts) error
func (*Driver) SaveFileDialog ¶ added in v0.1.1
func (d *Driver) SaveFileDialog(opts SaveDialogOptions) (string, error)
func (*Driver) UninstallPackage ¶
func (d *Driver) UninstallPackage(opts UninstallPackageOpts) error
func (*Driver) UpdatePreferences ¶
func (d *Driver) UpdatePreferences(opts UpdatePreferencesOpts) error
func (*Driver) UpdateProject ¶
func (d *Driver) UpdateProject(opts UpdateProjectOpts) error
UpdateProject updates a project
type FileFilter ¶
type GetOperationOpts ¶
type GetOperationResult ¶
type GetPackageOpts ¶
type GetPackageResult ¶
type GetProjectOpts ¶
type GetProjectResult ¶
type InstallPackageOpts ¶
type InstallPackageResult ¶
type LaunchEvent ¶
type LaunchEvent struct {
Args []string `json:"args"`
}
type ListMetricsOpts ¶
type ListMetricsOpts types.FilterMetricsOpts
type ListMetricsResult ¶
type ListOperationsOpts ¶
type ListOperationsOpts struct { }
type ListOperationsResult ¶
type ListPackagesOpts ¶
type ListPackagesOpts struct { Query string `json:"query"` References []string `json:"references,omitempty"` Type enums.PackageType `json:"type"` State enums.PackageState `json:"state"` }
type ListPackagesResult ¶
type ListProjectsOpts ¶
type ListProjectsOpts struct {
Query string `json:"query"`
}
type ListProjectsResult ¶
type OpenDialogOptions ¶
type OpenDialogOptions struct { DefaultDirectory string `json:"defaultDirectory,omitempty" ` DefaultFilename string `json:"defaultFilename,omitempty"` Title string `json:"title,omitempty"` Filters []FileFilter `json:"filters,omitempty"` }
type OpenExplorerOptions ¶
type OpenExplorerOptions struct {
Path string `json:"path"`
}
type Option ¶
type Option func(*Options)
func WithContainer ¶
func WithPlatform ¶
func WithVersion ¶
func WithWriter ¶
func WithWriter(writer buffer.BufferManager) Option
type Preferences ¶
type RenderProjectOpts ¶
type RunProjectOpts ¶
type SaveDialogOptions ¶ added in v0.1.1
type SaveDialogOptions struct { DefaultDirectory string `json:"defaultDirectory,omitempty"` DefaultFilename string `json:"defaultFilename,omitempty"` Title string `json:"title,omitempty"` Filters []FileFilter `json:"filters,omitempty"` }
type UninstallPackageOpts ¶
type UpdatePreferencesOpts ¶
type UpdatePreferencesOpts Preferences
type UpdateProjectOpts ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.