edge

package
v0.27.6 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 54 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OsAndroid       = "Android"
	OsWindows       = "Windows"
	OsWindowsServer = "WindowsServer"
	OsMacOs         = "macOS"
	OsIOS           = "iOS"
	OsLinux         = "Linux"

	PostureCheckTypeDomain  = "DOMAIN"
	PostureCheckTypeProcess = "PROCESS"
	PostureCheckTypeMAC     = "MAC"
	PostureCheckTypeOS      = "OS"
	PostureCheckTypeMFA     = "MFA"
)

Variables

View Source
var ExtraEdgeCommands []func(p common.OptionsProvider) *cobra.Command

Functions

func CreateEntityOfType

func CreateEntityOfType(entityType string, body string, options *api.Options) (*gabs.Container, error)

CreateEntityOfType create an entity of the given type on the Ziti Controller

func DetailEntityOfType

func DetailEntityOfType(entityType, entityId string, logJSON bool, out io.Writer, timeout int, verbose bool) (*gabs.Container, error)

func ListEntitiesOfType

func ListEntitiesOfType(entityType string, params url.Values, logJSON bool, out io.Writer, timeout int, verbose bool) ([]*gabs.Container, *api.Paging, error)

ListEntitiesOfType queries the Ziti Controller for entities of the given type

func ListEntitiesWithFilter

func ListEntitiesWithFilter(entityType string, filter string) ([]*gabs.Container, *api.Paging, error)

func NewCmdEdge

func NewCmdEdge(out io.Writer, errOut io.Writer) *cobra.Command

NewCmdEdge creates a command object for the "controller" command

func Ptr added in v0.27.6

func Ptr[T any](sub T) *T

func WrapHardEllipses

func WrapHardEllipses(str string, wrapLen int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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