Documentation ¶
Index ¶
- type LoginService
- type ProjectData
- type ProjectService
- func (p *ProjectService) GetDefaultNetwork() (proxmox.Network, error)
- func (p *ProjectService) GetDefaultStorage() (string, error)
- func (p *ProjectService) GetDefaultVmId() (uint32, error)
- func (p *ProjectService) GetFirstAddressFromFreePool() (string, int, error)
- func (p *ProjectService) LoadProject() (ProjectData, error)
- func (p *ProjectService) OpenProjectDialog() (bool, error)
- func (p *ProjectService) SaveKubeConfigDialog() error
- func (p *ProjectService) SaveProject(project ProjectData) error
- func (p *ProjectService) SaveProjectDialog() (bool, error)
- func (p *ProjectService) SaveSshAuthorizationKeyDialog() error
- func (p *ProjectService) SaveSshPrivateKeyDialog() error
- func (p *ProjectService) SetContext(ctx context.Context)
- type ProvisionerService
- type TaskLogService
- type WailsContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginService ¶
type LoginService struct {
// contains filtered or unexported fields
}
func NewLoginService ¶
func NewLoginService(api *proxmox.Client, ssh *ssh.Client) *LoginService
type ProjectData ¶
type ProjectData struct { KubeConfig string `json:"kubeConfig" yaml:"kubeConfig"` SshKey ssh.RsaKeyPair `json:"sshKey" yaml:"sshKey"` Cluster k4p.Cluster `json:"cluster" yaml:"cluster"` }
type ProjectService ¶
type ProjectService struct {
// contains filtered or unexported fields
}
func NewProjectService ¶
func NewProjectService(proxmoxClient *proxmox.Client) *ProjectService
func (*ProjectService) GetDefaultNetwork ¶
func (p *ProjectService) GetDefaultNetwork() (proxmox.Network, error)
func (*ProjectService) GetDefaultStorage ¶
func (p *ProjectService) GetDefaultStorage() (string, error)
func (*ProjectService) GetDefaultVmId ¶
func (p *ProjectService) GetDefaultVmId() (uint32, error)
func (*ProjectService) GetFirstAddressFromFreePool ¶
func (p *ProjectService) GetFirstAddressFromFreePool() (string, int, error)
func (*ProjectService) LoadProject ¶
func (p *ProjectService) LoadProject() (ProjectData, error)
func (*ProjectService) OpenProjectDialog ¶
func (p *ProjectService) OpenProjectDialog() (bool, error)
func (*ProjectService) SaveKubeConfigDialog ¶
func (p *ProjectService) SaveKubeConfigDialog() error
func (*ProjectService) SaveProject ¶
func (p *ProjectService) SaveProject(project ProjectData) error
func (*ProjectService) SaveProjectDialog ¶
func (p *ProjectService) SaveProjectDialog() (bool, error)
func (*ProjectService) SaveSshAuthorizationKeyDialog ¶
func (p *ProjectService) SaveSshAuthorizationKeyDialog() error
func (*ProjectService) SaveSshPrivateKeyDialog ¶
func (p *ProjectService) SaveSshPrivateKeyDialog() error
func (*ProjectService) SetContext ¶
func (p *ProjectService) SetContext(ctx context.Context)
type ProvisionerService ¶
type ProvisionerService struct {
// contains filtered or unexported fields
}
func NewProvisionerService ¶
func NewProvisionerService( projectService *ProjectService, proxmoxClient *proxmox.Client, sshClient *ssh.Client, eventCollector *event.Collector) *ProvisionerService
func (*ProvisionerService) CreateCluster ¶
func (p *ProvisionerService) CreateCluster(provisionRequest k4p.ProvisionRequest) error
func (*ProvisionerService) GetNetworkBridges ¶
func (p *ProvisionerService) GetNetworkBridges() ([]string, error)
func (*ProvisionerService) GetStorage ¶
func (p *ProvisionerService) GetStorage() ([]string, error)
func (*ProvisionerService) SetupEnvironmentOnProxmox ¶
func (p *ProvisionerService) SetupEnvironmentOnProxmox() error
type TaskLogService ¶
type TaskLogService struct {
// contains filtered or unexported fields
}
func NewTaskLogService ¶
func NewTaskLogService(eventCollector *event.Collector, taskLogReader *tasklog.Reader) *TaskLogService
func (*TaskLogService) ClearTaskLog ¶
func (t *TaskLogService) ClearTaskLog() int
func (*TaskLogService) GetTaskLog ¶
func (t *TaskLogService) GetTaskLog() []tasklog.Task
type WailsContext ¶
Click to show internal directories.
Click to hide internal directories.