Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InvalidateAllResourceCaches ¶
func InvalidateAllResourceCaches() error
InvalidateAllResourceCaches invalidates all resource list caches
func InvalidateOrganizationCache ¶
InvalidateOrganizationCache invalidates all caches related to an organization
func InvalidateProjectCache ¶
InvalidateProjectCache invalidates all caches related to a project
func InvalidateSiteCache ¶
InvalidateSiteCache invalidates all caches related to a site
Types ¶
type Organization ¶
type Organization = common.FolderConfig
Type aliases for cleaner code
func GetOrganization ¶
func GetOrganization(ctx context.Context, apiBaseURL, orgID string, useCache bool) (*Organization, error)
GetOrganization returns a specific organization, using cache when available
func ListOrganizations ¶
func ListOrganizations(ctx context.Context, apiBaseURL string, useCache bool) ([]*Organization, error)
ListOrganizations returns all organizations, using cache when available
type Project ¶
type Project = common.ProjectConfig
Click to show internal directories.
Click to hide internal directories.