Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompanyGroupClient ¶
type CompanyGroupClient struct {
// contains filtered or unexported fields
}
func NewCompanyGroupClient ¶
func NewCompanyGroupClient( pivnetClient PivnetClient, eh errorhandler.ErrorHandler, format string, outputWriter io.Writer, printer printer.Printer, ) *CompanyGroupClient
func (*CompanyGroupClient) AddMember ¶ added in v0.0.68
func (c *CompanyGroupClient) AddMember(companyGroupID int, memberEmail string, isAdmin string) error
func (*CompanyGroupClient) Get ¶ added in v0.0.68
func (c *CompanyGroupClient) Get(companyGroupID int) error
func (*CompanyGroupClient) List ¶
func (c *CompanyGroupClient) List() error
func (*CompanyGroupClient) RemoveMember ¶ added in v0.0.68
func (c *CompanyGroupClient) RemoveMember(companyGroupID int, memberEmail string) error
type PivnetClient ¶
type PivnetClient interface { CompanyGroups() ([]pivnet.CompanyGroup, error) CompanyGroup(companyGroupID int) (pivnet.CompanyGroup, error) AddCompanyGroupMember(companyGroupID int, emailAddress string, isAdmin string) (pivnet.CompanyGroup, error) RemoveCompanyGroupMember(companyGroupID int, emailAddress string) (pivnet.CompanyGroup, error) }
Click to show internal directories.
Click to hide internal directories.