Documentation ¶
Index ¶
- func InitNewProfile(name string, ui interfaces.IUIPlugin, log interfaces.ILogger, ...) interfaces.IProfile
- func ProvideProfile(logger interfaces.ILogger, ui interfaces.IUIPlugin) interfaces.IProfile
- type Profile
- func (p *Profile) AddProject() error
- func (p *Profile) AddProjectByName(name string) error
- func (p *Profile) AddProjectDirect(proj interfaces.IProject) error
- func (p *Profile) GetBasePath() string
- func (p *Profile) GetCurrentProject() interfaces.IProject
- func (p *Profile) GetCurrentProjectID() uint
- func (p *Profile) GetID() uint
- func (p *Profile) GetMetaData(key string) string
- func (p *Profile) GetName() string
- func (p *Profile) GetPluginsDir() string
- func (p *Profile) GetProjects() map[string]interfaces.IProject
- func (p *Profile) GetProjectsTable() [][]string
- func (p *Profile) GetValues(i ...interface{}) []string
- func (p *Profile) GetValuesAsMap(i ...interface{}) map[string]string
- func (p *Profile) IsInitialized() bool
- func (p *Profile) RemoveProject(proj interfaces.IProject) error
- func (p *Profile) RemoveProjectByName(proj string) error
- func (p *Profile) SetCurrentProject(newProject interfaces.IProject) error
- func (p *Profile) SetCurrentProjectID(id uint) error
- func (p *Profile) SetID(id uint) error
- func (p *Profile) SetInitialized(init bool) error
- func (p *Profile) SetMetaData(key, value string)
- func (p *Profile) SetName(n string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitNewProfile ¶
func InitNewProfile(name string, ui interfaces.IUIPlugin, log interfaces.ILogger, helper interfaces.IHelper, i ...interface{}) interfaces.IProfile
InitNewProfile ...
func ProvideProfile ¶
func ProvideProfile(logger interfaces.ILogger, ui interfaces.IUIPlugin) interfaces.IProfile
ProvideProfile ...
Types ¶
type Profile ¶
type Profile struct { Logger interfaces.ILogger Ui interfaces.IUIPlugin // contains filtered or unexported fields }
Profile ...
func (*Profile) AddProject ¶
func (*Profile) AddProjectByName ¶
func (*Profile) AddProjectDirect ¶
func (p *Profile) AddProjectDirect(proj interfaces.IProject) error
AddProject ...
func (*Profile) GetCurrentProject ¶
func (p *Profile) GetCurrentProject() interfaces.IProject
GetCurrentProject ...
func (*Profile) GetCurrentProjectID ¶
GetCurrentProject ...
func (*Profile) GetProjects ¶
func (p *Profile) GetProjects() map[string]interfaces.IProject
GetProjects ....
func (*Profile) GetProjectsTable ¶
GetProjectsTable ....
func (*Profile) GetValuesAsMap ¶
func (*Profile) RemoveProject ¶
func (p *Profile) RemoveProject(proj interfaces.IProject) error
RemoveProject ...
func (*Profile) RemoveProjectByName ¶
RemoveProjectByName ...
func (*Profile) SetCurrentProject ¶
func (p *Profile) SetCurrentProject(newProject interfaces.IProject) error
SetCurrentProject ...
func (*Profile) SetCurrentProjectID ¶
GetCurrentProject ...
func (*Profile) SetInitialized ¶
SetInitialized ...
Click to show internal directories.
Click to hide internal directories.