profile

package
v0.16.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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 (p *Profile) AddProject() error

func (*Profile) AddProjectByName

func (p *Profile) AddProjectByName(name string) error

func (*Profile) AddProjectDirect

func (p *Profile) AddProjectDirect(proj interfaces.IProject) error

AddProject ...

func (*Profile) GetBasePath

func (p *Profile) GetBasePath() string

GetBasePath ...

func (*Profile) GetCurrentProject

func (p *Profile) GetCurrentProject() interfaces.IProject

GetCurrentProject ...

func (*Profile) GetCurrentProjectID

func (p *Profile) GetCurrentProjectID() uint

GetCurrentProject ...

func (*Profile) GetID

func (p *Profile) GetID() uint

GetID ...

func (*Profile) GetMetaData

func (p *Profile) GetMetaData(key string) string

GetMetaData ...

func (*Profile) GetName

func (p *Profile) GetName() string

GetName ...

func (*Profile) GetPluginsDir

func (p *Profile) GetPluginsDir() string

GetPluginsDir ...

func (*Profile) GetProjects

func (p *Profile) GetProjects() map[string]interfaces.IProject

GetProjects ....

func (*Profile) GetProjectsTable

func (p *Profile) GetProjectsTable() [][]string

GetProjectsTable ....

func (*Profile) GetValues

func (p *Profile) GetValues(i ...interface{}) []string

GetValues ...

func (*Profile) GetValuesAsMap

func (p *Profile) GetValuesAsMap(i ...interface{}) map[string]string

func (*Profile) IsInitialized

func (p *Profile) IsInitialized() bool

IsInitialized ...

func (*Profile) RemoveProject

func (p *Profile) RemoveProject(proj interfaces.IProject) error

RemoveProject ...

func (*Profile) RemoveProjectByName

func (p *Profile) RemoveProjectByName(proj string) error

RemoveProjectByName ...

func (*Profile) SetCurrentProject

func (p *Profile) SetCurrentProject(newProject interfaces.IProject) error

SetCurrentProject ...

func (*Profile) SetCurrentProjectID

func (p *Profile) SetCurrentProjectID(id uint) error

GetCurrentProject ...

func (*Profile) SetID

func (p *Profile) SetID(id uint) error

SetID ...

func (*Profile) SetInitialized

func (p *Profile) SetInitialized(init bool) error

SetInitialized ...

func (*Profile) SetMetaData

func (p *Profile) SetMetaData(key, value string)

SetMetaData ...

func (*Profile) SetName

func (p *Profile) SetName(n string) error

SetName ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL