as3

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ADC

type ADC struct {
	Label         string `json:"label,omitempty"`
	Remark        string `json:"remark,omitempty"`
	SchemaVersion string `json:"schemaVersion"`
	Id            string `json:"id,omitempty"`
	// contains filtered or unexported fields
}

ADC

func (*ADC) AddTenant

func (a *ADC) AddTenant(name string, tenant Tenant)

func (ADC) MarshalJSON

func (a ADC) MarshalJSON() ([]byte, error)

type AS3

type AS3 struct {
	Persist     bool        `json:"persist"`
	Class       string      `json:"class"`
	Action      string      `json:"action,omitempty"`
	Declaration interface{} `json:"declaration,omitempty"`
}

AS3

type Application

type Application struct {
	Label    string `json:"label,omitempty"`
	Remark   string `json:"remark,omitempty"`
	Template string `json:"template,omitempty"`
	// contains filtered or unexported fields
}

func (*Application) AddEntity

func (a *Application) AddEntity(name string, entity interface{})

func (Application) MarshalJSON

func (a Application) MarshalJSON() ([]byte, error)

type Applications

type Applications map[string]Application

Applications

type GSLBDatacenter

type GSLBDatacenter struct {
	Class  string `json:"class"`
	Label  string `json:"label,omitempty"`
	Remark string `json:"remark,omitempty"`
}

GSLB Entities

type GSLBDomain

type GSLBDomain struct {
	Class              string            `json:"class"`
	Label              string            `json:"label,omitempty"`
	Remark             string            `json:"remark,omitempty"`
	DomainName         string            `json:"domainName,omitempty"`
	Aliases            []string          `json:"aliases,omitempty"`
	ResourceRecordType string            `json:"resourceRecordType,omitempty"`
	PoolLbMode         string            `json:"poolLbMode,omitempty"`
	Pools              []PointerGSLBPool `json:"pools,omitempty"`
}

type GSLBMonitor

type GSLBMonitor struct {
	Class       string `json:"class"`
	Label       string `json:"label,omitempty"`
	Remark      string `json:"remark,omitempty"`
	MonitorType string `json:"monitorType"`
	Interval    int64  `json:"interval,omitempty"`
	Timeout     int64  `json:"timeout,omitempty"`
	Receive     string `json:"receive,omitempty"`
	Send        string `json:"send,omitempty"`
}

type GSLBMonitorHTTP

type GSLBMonitorHTTP GSLBMonitor

type GSLBMonitorHTTS

type GSLBMonitorHTTS GSLBMonitor

type GSLBMonitorICMP

type GSLBMonitorICMP GSLBMonitor

type GSLBMonitorTCP

type GSLBMonitorTCP GSLBMonitor

type GSLBMonitorUDP

type GSLBMonitorUDP GSLBMonitor

type GSLBPool

type GSLBPool struct {
	Class              string               `json:"class"`
	Label              string               `json:"label,omitempty"`
	Remark             string               `json:"remark,omitempty"`
	Enabled            bool                 `json:"enabled,omitempty"`
	ResourceRecordType string               `json:"resourceRecordType,omitempty"`
	Members            []GSLBPoolMember     `json:"members,omitempty"`
	Monitors           []PointerGSLBMonitor `json:"monitors,omitempty"`
	TTL                int                  `json:"ttl,omitempty"`
}

type GSLBPoolMember

type GSLBPoolMember struct {
	Label         string            `json:"label,omitempty"`
	Remark        string            `json:"remark,omitempty"`
	DependsOn     string            `json:"depends_on,omitempty"`
	Ratio         int               `json:"ratio,omitempty"`
	Server        PointerGSLBServer `json:"server,omitempty"`
	VirtualServer string            `json:"virtualServer,omitempty"`
	DomainName    string            `json:"domainName,omitempty"`
}

type GSLBPoolMemberA

type GSLBPoolMemberA GSLBPoolMember

type GSLBPoolMemberAAAA

type GSLBPoolMemberAAAA GSLBPoolMember

type GSLBPoolMemberCNAME

type GSLBPoolMemberCNAME GSLBPoolMember

type GSLBPoolMemberMX

type GSLBPoolMemberMX GSLBPoolMember

type GSLBServer

type GSLBServer struct {
	Class                    string                `json:"class"`
	Label                    string                `json:"label,omitempty"`
	Remark                   string                `json:"remark,omitempty"`
	DataCenter               PointerGSLBDataCenter `json:"dataCenter,omitempty"`
	Devices                  []GSLBServerDevice    `json:"devices,omitempty"`
	VirtualServers           []GSLBVirtualServer   `json:"virtualServers,omitempty"`
	Monitors                 []PointerGSLBMonitor  `json:"monitors,omitempty"`
	ServiceCheckProbeEnabled bool                  `json:"serviceCheckProbeEnabled"`
	SnmpProbeEnabled         bool                  `json:"snmpProbeEnabled"`
	PathProbeEnabled         bool                  `json:"pathProbeEnabled"`
}

type GSLBServerDevice

type GSLBServerDevice struct {
	Label   string `json:"label,omitempty"`
	Remark  string `json:"remark,omitempty"`
	Address string `json:"address,omitempty"`
}

type GSLBVirtualServer

type GSLBVirtualServer struct {
	Label    string               `json:"label,omitempty"`
	Remark   string               `json:"remark,omitempty"`
	Address  string               `json:"address,omitempty"`
	Enabled  bool                 `json:"enabled,omitempty"`
	Monitors []PointerGSLBMonitor `json:"monitors,omitempty"`
	Name     string               `json:"name,omitempty"`
	Port     uint32               `json:"port,omitempty"`
}

type Pointer

type Pointer struct {
	Use   string `json:"use,omitempty"`
	BigIP string `json:"bigip,omitempty"`
}

type PointerGSLBDataCenter

type PointerGSLBDataCenter Pointer

type PointerGSLBDomainA

type PointerGSLBDomainA Pointer

type PointerGSLBDomainAAAA

type PointerGSLBDomainAAAA Pointer

type PointerGSLBDomainCNAME

type PointerGSLBDomainCNAME Pointer

type PointerGSLBDomainMX

type PointerGSLBDomainMX Pointer

type PointerGSLBMonitor

type PointerGSLBMonitor Pointer

type PointerGSLBPool

type PointerGSLBPool Pointer

type PointerGSLBPoolA

type PointerGSLBPoolA Pointer

type PointerGSLBPoolAAAA

type PointerGSLBPoolAAAA Pointer

type PointerGSLBPoolCNAME

type PointerGSLBPoolCNAME Pointer

type PointerGSLBPoolMX

type PointerGSLBPoolMX Pointer

type PointerGSLBPoolMemberA

type PointerGSLBPoolMemberA Pointer

type PointerGSLBPoolMemberAAAA

type PointerGSLBPoolMemberAAAA Pointer

type PointerGSLBPoolMemberCNAME

type PointerGSLBPoolMemberCNAME Pointer

type PointerGSLBPoolMemberMX

type PointerGSLBPoolMemberMX Pointer

type PointerGSLBProberPool

type PointerGSLBProberPool Pointer

type PointerGSLBProberPoolMember

type PointerGSLBProberPoolMember Pointer

type PointerGSLBServer

type PointerGSLBServer Pointer

type PointerGSLBServerDevice

type PointerGSLBServerDevice Pointer

type PointerGSLBTopologyRegion

type PointerGSLBTopologyRegion Pointer

type PointerGSLBVirtualServer

type PointerGSLBVirtualServer Pointer

type Response

type Response struct {
	Results []Result `json:"results"`
}

type Result

type Result struct {
	Code    int64  `json:"code"`
	Message string `json:"message"`
	Host    string `json:"host"`
	Tenant  string `json:"tenant"`
	RunTime int64  `json:"runTime"`
}

type Tenant

type Tenant struct {
	Label  string `json:"label,omitempty"`
	Remark string `json:"remark,omitempty"`
	// contains filtered or unexported fields
}

Tenants

func (*Tenant) AddApplication

func (t *Tenant) AddApplication(name string, application Application)

func (Tenant) MarshalJSON

func (t Tenant) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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