api_endpoints

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ManualMitigationPath = "/alerts/manual-mitigate"
	AlertsActivePath     = "/alerts-active/alarms"
	AlertsHistoryPath    = "/alerts-active/alerts-history"
)
View Source
const (
	DevicePath  = "/device"
	DevicesPath = "/devices"
)
View Source
const (
	TenantPath  = "/mykentik/tenant"
	TenantsPath = "/mykentik/tenants"
)
View Source
const (
	SavedFilterPath  = "/saved-filter/custom"
	SavedFiltersPath = "/saved-filters/custom"
)
View Source
const (
	TagPath  = "/tag"
	TagsPath = "/tags"
)
View Source
const (
	UserPath  = "/user"
	UsersPath = "/users"
)

Variables

This section is empty.

Functions

func ApplyDeviceLabels

func ApplyDeviceLabels(id ResourceID) string

func CreateCustomApplication

func CreateCustomApplication() string

func CreateCustomDimension

func CreateCustomDimension() string

func CreateInterface

func CreateInterface(deviceID ResourceID) string

func CreateLabel

func CreateLabel() string

func CreatePopulator

func CreatePopulator(customDimensionID ResourceID) string

func CreateSite

func CreateSite() string

func CreateTenantUserPath

func CreateTenantUserPath(tenantID ResourceID) string

func DeleteCustomApplication

func DeleteCustomApplication(id ResourceID) string

func DeleteCustomDimension

func DeleteCustomDimension(id ResourceID) string

func DeleteInterface

func DeleteInterface(deviceID, interfaceID ResourceID) string

func DeleteLabel

func DeleteLabel(id ResourceID) string

func DeletePopulator

func DeletePopulator(customDimensionID ResourceID, populatorID ResourceID) string

func DeleteSite

func DeleteSite(id ResourceID) string

func DeleteTenantUserPath

func DeleteTenantUserPath(tenantID ResourceID, userID ResourceID) string

func GetActiveAlertsPath

func GetActiveAlertsPath(startTime *time.Time, endTime *time.Time, filterBy string, filterVal string, showMitigations bool, showAlarms bool, showMatches bool, learningMode bool) string

func GetAlertsHistoryPath

func GetAlertsHistoryPath(startTime *time.Time, endTime *time.Time, filterBy string, filterVal string, sortOrder string,
	showMitigations bool, showAlarms bool, showMatches bool, learningMode bool) string

func GetAllCustomApplications

func GetAllCustomApplications() string

func GetAllCustomDimensions

func GetAllCustomDimensions() string

func GetAllInterfaces

func GetAllInterfaces(deviceID ResourceID) string

func GetAllLabels

func GetAllLabels() string

func GetAllPlans

func GetAllPlans() string

func GetAllSites

func GetAllSites() string

func GetCustomDimension

func GetCustomDimension(id ResourceID) string

func GetDevice

func GetDevice(id ResourceID) string

func GetInterface

func GetInterface(deviceID, interfaceID ResourceID) string

func GetLabel

func GetLabel(id ResourceID) string

func GetSavedFilter

func GetSavedFilter(id ResourceID) string

func GetSite

func GetSite(id ResourceID) string

func GetTagPath

func GetTagPath(id ResourceID) string

func GetTenantPath

func GetTenantPath(tenantID ResourceID) string

func GetUserPath

func GetUserPath(id ResourceID) string

func QueryChart

func QueryChart() string

func QueryData

func QueryData() string

func QuerySQL

func QuerySQL() string

func QueryURL

func QueryURL() string

func UpdateCustomApplication

func UpdateCustomApplication(id ResourceID) string

func UpdateCustomDimension

func UpdateCustomDimension(id ResourceID) string

func UpdateDevice

func UpdateDevice(id ResourceID) string

func UpdateInterface

func UpdateInterface(deviceID, interfaceID ResourceID) string

func UpdateLabel

func UpdateLabel(id ResourceID) string

func UpdatePopulator

func UpdatePopulator(customDimensionID ResourceID, populatorID ResourceID) string

func UpdateSite

func UpdateSite(id ResourceID) string

Types

type ResourceID

type ResourceID = models.ID

Jump to

Keyboard shortcuts

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