Documentation ¶
Index ¶
- type IResource
- type IStandaloneResource
- type IVirtualResource
- type Loadbalancer
- type LoadbalancerAcl
- type LoadbalancerAclEntries
- type LoadbalancerAclEntry
- type LoadbalancerAgent
- type LoadbalancerAgentParams
- type LoadbalancerAgentParamsHaproxy
- type LoadbalancerAgentParamsTelegraf
- type LoadbalancerAgentParamsVrrp
- type LoadbalancerBackend
- type LoadbalancerBackendGroup
- type LoadbalancerCertificate
- type LoadbalancerHTTPListener
- type LoadbalancerHTTPSListener
- type LoadbalancerListener
- type LoadbalancerListenerRule
- type LoadbalancerTCPListener
- type LoadbalancerUDPListener
- type Resource
- type SharableVirtualResource
- type StandaloneResource
- type StatusStandaloneResource
- type VirtualResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IStandaloneResource ¶
type IVirtualResource ¶
type IVirtualResource interface { IStandaloneResource GetPendingDeleted() bool }
type Loadbalancer ¶
type LoadbalancerAcl ¶
type LoadbalancerAcl struct { SharableVirtualResource AclEntries *LoadbalancerAclEntries }
type LoadbalancerAclEntries ¶
type LoadbalancerAclEntries []*LoadbalancerAclEntry
type LoadbalancerAclEntry ¶
type LoadbalancerAgent ¶
type LoadbalancerAgent struct { StandaloneResource HbLastSeen time.Time HbTimeout int Loadbalancers time.Time LoadbalancerListeners time.Time LoadbalancerListenerRules time.Time LoadbalancerBackendGroups time.Time LoadbalancerBackends time.Time LoadbalancerAcls time.Time LoadbalancerCertificates time.Time Params LoadbalancerAgentParams }
type LoadbalancerAgentParams ¶
type LoadbalancerAgentParams struct { KeepalivedConfTmpl string HaproxyConfTmpl string TelegrafConfTmpl string Vrrp LoadbalancerAgentParamsVrrp Haproxy LoadbalancerAgentParamsHaproxy Telegraf LoadbalancerAgentParamsTelegraf }
type LoadbalancerBackend ¶
type LoadbalancerBackendGroup ¶
type LoadbalancerBackendGroup struct { VirtualResource LoadbalancerId string }
type LoadbalancerCertificate ¶
type LoadbalancerHTTPSListener ¶
type LoadbalancerHTTPSListener struct { CertificateId string TLSCipherPolicy string EnableHttp2 bool }
CACertificate string
type LoadbalancerListener ¶
type LoadbalancerListener struct { VirtualResource LoadbalancerId string Bandwidth int ListenerType string ListenerPort int Scheduler string ClientRequestTimeout int ClientIdleTimeout int BackendConnectTimeout int BackendIdleTimeout int BackendGroupId string AclStatus string AclType string AclId string HealthCheck string HealthCheckType string HealthCheckDomain string HealthCheckURI string HealthCheckHttpCode string HealthCheckRise int HealthCheckFall int HealthCheckInterval int HealthCheckTimeout int HealthCheckReq string HealthCheckExp string LoadbalancerTCPListener LoadbalancerUDPListener LoadbalancerHTTPListener LoadbalancerHTTPSListener XForwardedFor bool Gzip bool }
type LoadbalancerListenerRule ¶
type LoadbalancerListenerRule struct { VirtualResource ListenerId string BackendGroupId string Domain string Path string }
type LoadbalancerTCPListener ¶
type LoadbalancerTCPListener struct{}
type LoadbalancerUDPListener ¶
type LoadbalancerUDPListener struct{}
type Resource ¶
type Resource struct { CreatedAt time.Time UpdatedAt time.Time UpdateVersion int DeletedAt time.Time Deleted bool }
func (*Resource) GetUpdateVersion ¶
func (*Resource) GetUpdatedAt ¶
type SharableVirtualResource ¶
type SharableVirtualResource struct { VirtualResource IsPublic bool }
type StandaloneResource ¶
type StandaloneResource struct { Resource Id string Name string ExternalId string Description string IsEmulated bool }
func (*StandaloneResource) GetId ¶
func (r *StandaloneResource) GetId() string
type StatusStandaloneResource ¶
type StatusStandaloneResource struct { StandaloneResource Status string }
type VirtualResource ¶
type VirtualResource struct { StatusStandaloneResource ProjectId string IsSystem bool PendingDeletedAt time.Time PendingDeleted bool }
func (*VirtualResource) GetPendingDeleted ¶
func (r *VirtualResource) GetPendingDeleted() bool
Click to show internal directories.
Click to hide internal directories.