consoles

package
v0.12.4 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Console1 Console = "console1" // Externe VDR
	Console2 Console = "console2" // Internal VDR
	Console4 Console = "console4" // Externe CHA
	Console5 Console = "console5" // Internal CHA
	Console7 Console = "console7" // Externe VDR
	Console8 Console = "console8" // Internal VDR
	Console9 Console = "console9" // Externe VDRCHA

	LocationVDR    LocationCode = "vdr"
	LocationCHR    LocationCode = "chr"
	LocationVDRCHA LocationCode = "vdr-cha"
)

Variables

This section is empty.

Functions

func CheckOrganizationName added in v0.8.0

func CheckOrganizationName(organizationName string) bool

CheckOrganizationName - Returns true if the organization name is valid

Types

type Console

type Console string

func FindBySiteID

func FindBySiteID(siteID string) (Console, bool)

FindBySiteID - Returns the console by its siteID

func FindByURL

func FindByURL(url string) (Console, bool)

FindByURL - Returns the console by its URL

func FingByOrganizationName

func FingByOrganizationName(organizationName string) (Console, error)

FingByOrganizationName - Returns the console by its organization name

func (Console) GetLocationCode

func (c Console) GetLocationCode() LocationCode

GetLocationCode - Returns the location code

func (Console) GetSiteID

func (c Console) GetSiteID() Console

GetSiteID - Returns the site ID

func (Console) GetSiteName

func (c Console) GetSiteName() string

GetSiteName - Returns the site name

func (Console) GetURL

func (c Console) GetURL() string

GetURL - Returns the URL

func (Console) Services added in v0.8.0

func (c Console) Services() Services

Services - Returns the Services

type LocationCode

type LocationCode string

type Service added in v0.8.0

type Service struct {
	Enabled  bool
	Endpoint string
}

func (Service) GetEndpoint added in v0.8.0

func (ss Service) GetEndpoint() string

GetEndpoint - Returns the endpoint

func (Service) IsEnabled added in v0.8.0

func (ss Service) IsEnabled() bool

Enabled - Returns true if the service is enabled

type Services added in v0.8.0

type Services struct {
	S3        Service
	VCDA      Service
	Netbackup Service
}

Jump to

Keyboard shortcuts

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