Documentation
¶
Index ¶
- Constants
- type Amphora
- type DBTX
- type GetAllAmphoraRow
- type GetAllLoadBalancersWithVipRow
- type GetAllPoolsRow
- type LoadBalancer
- type Pool
- type Queries
- func (q *Queries) GetAllAmphora(ctx context.Context) ([]GetAllAmphoraRow, error)
- func (q *Queries) GetAllLoadBalancersWithVip(ctx context.Context) ([]GetAllLoadBalancersWithVipRow, error)
- func (q *Queries) GetAllPools(ctx context.Context) ([]GetAllPoolsRow, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Vip
Constants ¶
View Source
const GetAllAmphora = `` /* 201-byte string literal not displayed */
View Source
const GetAllLoadBalancersWithVip = `` /* 316-byte string literal not displayed */
View Source
const GetAllPools = `` /* 225-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Amphora ¶
type Amphora struct {
ID string
ComputeID sql.NullString
Status string
LoadBalancerID sql.NullString
LbNetworkIp sql.NullString
VrrpIp sql.NullString
HaIp sql.NullString
VrrpPortID sql.NullString
HaPortID sql.NullString
Role sql.NullString
CertExpiration sql.NullTime
CertBusy bool
VrrpInterface sql.NullString
VrrpID sql.NullInt32
VrrpPriority sql.NullInt32
CachedZone sql.NullString
CreatedAt sql.NullTime
UpdatedAt sql.NullTime
ImageID sql.NullString
ComputeFlavor sql.NullString
}
type GetAllAmphoraRow ¶
type GetAllAmphoraRow struct {
ID string
ComputeID sql.NullString
Status string
LoadBalancerID sql.NullString
LbNetworkIp sql.NullString
HaIp sql.NullString
Role sql.NullString
CertExpiration sql.NullTime
}
type GetAllLoadBalancersWithVipRow ¶
type GetAllLoadBalancersWithVipRow struct {
ID string
ProjectID sql.NullString
Name sql.NullString
ProvisioningStatus string
OperatingStatus string
Provider sql.NullString
VipAddress sql.NullString
}
type GetAllPoolsRow ¶
type GetAllPoolsRow struct {
ID string
ProjectID sql.NullString
Name sql.NullString
Protocol string
LbAlgorithm string
OperatingStatus string
LoadBalancerID sql.NullString
ProvisioningStatus string
}
type LoadBalancer ¶
type LoadBalancer struct {
ProjectID sql.NullString
ID string
Name sql.NullString
Description sql.NullString
ProvisioningStatus string
OperatingStatus string
Enabled bool
Topology sql.NullString
ServerGroupID sql.NullString
CreatedAt sql.NullTime
UpdatedAt sql.NullTime
Provider sql.NullString
FlavorID sql.NullString
AvailabilityZone sql.NullString
}
type Pool ¶
type Pool struct {
ProjectID sql.NullString
ID string
Name sql.NullString
Description sql.NullString
Protocol string
LbAlgorithm string
OperatingStatus string
Enabled bool
LoadBalancerID sql.NullString
CreatedAt sql.NullTime
UpdatedAt sql.NullTime
ProvisioningStatus string
TlsCertificateID sql.NullString
CaTlsCertificateID sql.NullString
CrlContainerID sql.NullString
TlsEnabled bool
TlsCiphers sql.NullString
TlsVersions sql.NullString
AlpnProtocols sql.NullString
}
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetAllAmphora ¶
func (q *Queries) GetAllAmphora(ctx context.Context) ([]GetAllAmphoraRow, error)
func (*Queries) GetAllLoadBalancersWithVip ¶
func (q *Queries) GetAllLoadBalancersWithVip(ctx context.Context) ([]GetAllLoadBalancersWithVipRow, error)
func (*Queries) GetAllPools ¶
func (q *Queries) GetAllPools(ctx context.Context) ([]GetAllPoolsRow, error)
type Vip ¶
type Vip struct {
LoadBalancerID string
IpAddress sql.NullString
PortID sql.NullString
SubnetID sql.NullString
NetworkID sql.NullString
QosPolicyID sql.NullString
OctaviaOwned sql.NullBool
VnicType string
}
Click to show internal directories.
Click to hide internal directories.