Documentation ¶
Index ¶
- Constants
- func GetAllPagesGeneric[T any](client *zpa.Client, relativeURL, searchQuery string) ([]T, *http.Response, error)
- func GetAllPagesGenericWithCustomFilters[T any](client *zpa.Client, relativeURL, searchQuery string, ...) ([]T, *http.Response, error)
- func InList(list []string, item string) bool
- func RemoveCloudSuffix(str string) string
- type AssociatedProfileNames
- type Conditions
- type DeleteApplicationQueryParams
- type NetworkPorts
- type Pagination
- type Rules
Constants ¶
View Source
const (
DefaultPageSize = 500
)
Variables ¶
This section is empty.
Functions ¶
func GetAllPagesGeneric ¶
func GetAllPagesGeneric[T any](client *zpa.Client, relativeURL, searchQuery string) ([]T, *http.Response, error)
GetAllPagesGeneric fetches all resources instead of just one single page
func GetAllPagesGenericWithCustomFilters ¶
func GetAllPagesGenericWithCustomFilters[T any](client *zpa.Client, relativeURL, searchQuery string, buildFilters func(pageSize, page int, searchQuery string) interface{}) ([]T, *http.Response, error)
GetAllPagesGenericWithCustomFilters fetches all resources instead of just one single page
func RemoveCloudSuffix ¶
RemoveCloudSuffix removes appended cloud name (zscalerthree.net) i.e "CrowdStrike_ZPA_Pre-ZTA (zscalerthree.net)"
Types ¶
type AssociatedProfileNames ¶
type Conditions ¶
type DeleteApplicationQueryParams ¶
type DeleteApplicationQueryParams struct {
ForceDelete bool `json:"forceDelete,omitempty" url:"forceDelete,omitempty"`
}
type NetworkPorts ¶
type Pagination ¶
Click to show internal directories.
Click to hide internal directories.