Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCannotDisableSystemAdmin = errors.New("environment: cannot disable system admin") ErrCannotArchiveSystemAdmin = errors.New("environment: cannot archive system admin") )
Functions ¶
This section is empty.
Types ¶
type EnvironmentV2 ¶ added in v0.4.0
type EnvironmentV2 struct {
*proto.EnvironmentV2
}
func NewEnvironmentV2 ¶ added in v0.4.0
func (*EnvironmentV2) ChangeDescription ¶ added in v0.4.0
func (e *EnvironmentV2) ChangeDescription(description string)
func (*EnvironmentV2) ChangeRequireComment ¶ added in v0.4.1
func (e *EnvironmentV2) ChangeRequireComment(state bool)
func (*EnvironmentV2) Rename ¶ added in v0.4.0
func (e *EnvironmentV2) Rename(name string)
func (*EnvironmentV2) SetArchived ¶ added in v0.4.0
func (e *EnvironmentV2) SetArchived()
func (*EnvironmentV2) SetUnarchived ¶ added in v0.4.0
func (e *EnvironmentV2) SetUnarchived()
type Organization ¶ added in v0.4.0
type Organization struct {
*proto.Organization
}
func NewOrganization ¶ added in v0.4.0
func NewOrganization(name, urlCode, description string, trial, systemAdmin bool) (*Organization, error)
func (*Organization) Archive ¶ added in v0.4.0
func (p *Organization) Archive() error
func (*Organization) ChangeDescription ¶ added in v0.4.0
func (p *Organization) ChangeDescription(description string)
func (*Organization) ChangeName ¶ added in v0.4.0
func (p *Organization) ChangeName(name string)
func (*Organization) ConvertTrial ¶ added in v0.4.0
func (p *Organization) ConvertTrial()
func (*Organization) Disable ¶ added in v0.4.0
func (p *Organization) Disable() error
func (*Organization) Enable ¶ added in v0.4.0
func (p *Organization) Enable()
func (*Organization) Unarchive ¶ added in v0.4.0
func (p *Organization) Unarchive()
type Project ¶
func NewProject ¶
func (*Project) ChangeDescription ¶
func (*Project) ConvertTrial ¶
func (p *Project) ConvertTrial()
Click to show internal directories.
Click to hide internal directories.