Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetEnvProject ¶
Types ¶
type ProjectHolder ¶
type ProjectHolder struct {
// contains filtered or unexported fields
}
func NewProjectHolder ¶
func NewProjectHolder() (*ProjectHolder, error)
func (*ProjectHolder) AcquireOrDie ¶
func (ph *ProjectHolder) AcquireOrDie(resourceType string) string
AcquireOrDie tries to get a boskso project. If succeeded, it spawns a goroutine to refresh it and returns the name of the project to use. If failed, it will terminate.
func (*ProjectHolder) Release ¶
func (ph *ProjectHolder) Release()
Release stops the refresh goroutine, and releases the boskso project.
Click to show internal directories.
Click to hide internal directories.