becs

package
v0.0.0-...-68f935c Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//Host url to BECS
	Host string

	//Username to BECS
	Username string

	//Password to BECS
	Password string

	//APITokens for authorization
	APITokens []string
)

Functions

func AddService

func AddService(w http.ResponseWriter, r *http.Request)

AddService creates a service under given parent oid. Returns the saoid for the newly created service

func DelClient

func DelClient(w http.ResponseWriter, r *http.Request)

DelClient removes a client from an ASR

func DelService

func DelService(w http.ResponseWriter, r *http.Request)

DelService removes a service

func DisableService

func DisableService(w http.ResponseWriter, r *http.Request)

DisableService disables a service

func EnableService

func EnableService(w http.ResponseWriter, r *http.Request)

EnableService enables a service

func GetASR

func GetASR(w http.ResponseWriter, r *http.Request)

GetASR returns a single ibos ASRs by name

func GetASRInterfaces

func GetASRInterfaces(w http.ResponseWriter, r *http.Request)

GetASRInterfaces returns all interfaces from the given ASR OID

func GetASRStatus

func GetASRStatus(w http.ResponseWriter, r *http.Request)

GetASRStatus returns the status of an ASR

func GetASRs

func GetASRs(w http.ResponseWriter, r *http.Request)

GetASRs returns all ibos ASRs

func GetClients

func GetClients(w http.ResponseWriter, r *http.Request)

GetClients returns clients from an interface

func GetInterfaceStatus

func GetInterfaceStatus(w http.ResponseWriter, r *http.Request)

GetInterfaceStatus returns the status of an interface

func GetServices

func GetServices(w http.ResponseWriter, r *http.Request)

GetServices gathers all services from given object oid

func ModifyService

func ModifyService(w http.ResponseWriter, r *http.Request)

ModifyService modifies a service. Returns the saoid for modified service

Types

This section is empty.

Jump to

Keyboard shortcuts

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