aci

package
v0.0.0-...-796497b Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JSON_REPLACEMENT_START = "<"
	JSON_REPLACEMENT_END   = ">"
	JSON_LOGIN             = `{"aaaUser": {"attributes": {"name": "<USERNAME>", "pwd": "<PASSWORD>"}}}`
	JSON_LOGOUT            = `{"aaaUser":{"attributes":{"name": "<USERNAME>"}}}`
)
View Source
const (
	INDEX_POS_LATEST    = "mdfTree.addElementRel(469, 1, 'Latest', '');"
	INDEX_POS_SUGGESTED = "mdfTree.addElementRel(468, 1, 'Suggested', '');"
	INDEX_POS_RELEASES  = "mdfTree.addElementRel(470, 1, 'All Releases', '');"
	INDEX_POS_DEFERRED  = "mdfTree.addElementRel(471, 1, 'Deferred Releases', '');"
	INDEX_POS_END       = "document.write(mdfTree);"
)

Variables

This section is empty.

Functions

func GetAllDeferredReleases

func GetAllDeferredReleases() []string

func GetAllLatestReleases

func GetAllLatestReleases() []string

func GetAllReleases

func GetAllReleases() []string

func GetAllSuggestedReleases

func GetAllSuggestedReleases() []string

func GetAllofReleases

func GetAllofReleases() []string

func GetDeferredReleases

func GetDeferredReleases() []string

func GetIsDeferredRelease

func GetIsDeferredRelease(version string) bool

func GetIsSuggestedOrLatest

func GetIsSuggestedOrLatest(train string) bool

func GetLatestRelease

func GetLatestRelease() string

func GetLatestReleaseTrain

func GetLatestReleaseTrain(train string) string

func GetLatestReleases

func GetLatestReleases() []string

func GetSuggestedRelease

func GetSuggestedRelease() string

func GetSuggestedReleaseTrain

func GetSuggestedReleaseTrain(train string) string

func GetSuggestedReleases

func GetSuggestedReleases() []string

func GetWebData

func GetWebData()

func IsLatestReleaseTrain

func IsLatestReleaseTrain(train string) bool

func IsSuggestedReleaseTrain

func IsSuggestedReleaseTrain(train string) bool

func ShowAllReleases

func ShowAllReleases()

func ShowDeferredReleases

func ShowDeferredReleases()

func ShowLatestReleases

func ShowLatestReleases()

func ShowSuggestedReleases

func ShowSuggestedReleases()

Types

type ACI

type ACI struct {
	LastResponse RESPONSE
	// contains filtered or unexported fields
}

func New

func New() *ACI

func (*ACI) End

func (a *ACI) End() (string, []error)

func (*ACI) GetPriviledges

func (a *ACI) GetPriviledges() string

func (*ACI) GetVersion

func (a *ACI) GetVersion() string

func (*ACI) IsAdmin

func (a *ACI) IsAdmin() bool

func (*ACI) Login

func (a *ACI) Login(ip, username, password string) *ACI

func (*ACI) Logout

func (a *ACI) Logout() []error

type ACIDATA

type ACIDATA struct {
	// contains filtered or unexported fields
}

type ACILogin

type ACILogin struct {
	// contains filtered or unexported fields
}

type RESPONSE

type RESPONSE struct {
	Response string
	Body     string
	Errors   []error
}

Jump to

Keyboard shortcuts

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