company

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Company

type Company struct {
}

func (*Company) IsInvalidLdapGroup added in v1.6.0

func (c *Company) IsInvalidLdapGroup(companyGroups, permissions []string) bool

func (*Company) NewAccountCompanyFromReadCLoser

func (c *Company) NewAccountCompanyFromReadCLoser(body io.ReadCloser) (
	accountCompany *roles.AccountCompany, err error)

func (*Company) NewCompanyApplicationAdminFromReadCloser

func (c *Company) NewCompanyApplicationAdminFromReadCloser(body io.ReadCloser) (
	company *accountEntities.CompanyApplicationAdmin, err error)

func (*Company) NewCompanyFromReadCloser

func (c *Company) NewCompanyFromReadCloser(body io.ReadCloser) (company *accountEntities.Company, err error)

type ICompany

type ICompany interface {
	NewAccountCompanyFromReadCLoser(body io.ReadCloser) (accountCompany *roles.AccountCompany, err error)
	NewCompanyFromReadCloser(body io.ReadCloser) (company *accountEntities.Company, err error)
	NewCompanyApplicationAdminFromReadCloser(body io.ReadCloser) (*accountEntities.CompanyApplicationAdmin, error)
	IsInvalidLdapGroup(companyGroups []string, permissions []string) bool
}

func NewCompanyUseCases

func NewCompanyUseCases() ICompany

Jump to

Keyboard shortcuts

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