Documentation ¶
Index ¶
- Constants
- func EndpointAddressApplyConfig(addr v1.EndpointAddress) *v1applyconfig.EndpointAddressApplyConfiguration
- func EndpointPortApplyConfig(port v1.EndpointPort) *v1applyconfig.EndpointPortApplyConfiguration
- func EndpointSubsetApplyConfig(subset v1.EndpointSubset) *v1applyconfig.EndpointSubsetApplyConfiguration
- func ObjectReferenceApplyConfiguration(ref *v1.ObjectReference) *v1applyconfig.ObjectReferenceApplyConfiguration
- type BGPPeer
- type Config
- type NodeBGPInfo
Constants ¶
View Source
const ( ProviderName string = "cherryservers" // ConsumerToken token for metal consumer ConsumerToken string = "cloud-provider-cherry" )
View Source
const ( DefaultAnnotationNodeASN = "cherryservers.com/bgp-peers-{{n}}-node-asn" DefaultAnnotationPeerASN = "cherryservers.com/bgp-peers-{{n}}-peer-asn" DefaultAnnotationPeerIP = "cherryservers.com/bgp-peers-{{n}}-peer-ip" DefaultAnnotationSrcIP = "cherryservers.com/bgp-peers-{{n}}-src-ip" DefaultAnnotationBGPPass = "cherryservers.com/bgp-peers-{{n}}-bgp-pass" DefaultAnnotationFIPRegion = "cherryservers.com/fip-region" )
View Source
const PeerPort int = 179
Variables ¶
This section is empty.
Functions ¶
func EndpointAddressApplyConfig ¶
func EndpointAddressApplyConfig(addr v1.EndpointAddress) *v1applyconfig.EndpointAddressApplyConfiguration
func EndpointPortApplyConfig ¶
func EndpointPortApplyConfig(port v1.EndpointPort) *v1applyconfig.EndpointPortApplyConfiguration
func EndpointSubsetApplyConfig ¶
func EndpointSubsetApplyConfig(subset v1.EndpointSubset) *v1applyconfig.EndpointSubsetApplyConfiguration
func ObjectReferenceApplyConfiguration ¶
func ObjectReferenceApplyConfiguration(ref *v1.ObjectReference) *v1applyconfig.ObjectReferenceApplyConfiguration
Types ¶
type Config ¶
type Config struct { AuthToken string `json:"apiKey"` ProjectID int `json:"projectId"` BaseURL *string `json:"base-url,omitempty"` LoadBalancerSetting string `json:"loadbalancer"` Region string `json:"region,omitempty"` AnnotationLocalASN string `json:"annotationLocalASN,omitempty"` AnnotationPeerASN string `json:"annotationPeerASN,omitempty"` AnnotationPeerIP string `json:"annotationPeerIP,omitempty"` AnnotationSrcIP string `json:"annotationSrcIP,omitempty"` AnnotationFIPRegion string `json:"annotationFIPRegion,omitempty"` FIPTag string `json:"fipTag,omitempty"` APIServerPort int32 `json:"apiServerPort,omitempty"` BGPNodeSelector string `json:"bgpNodeSelector,omitempty"` FIPHealthCheckUseHostIP bool `json:"fipHealthCheckUseHostIP,omitempty"` }
Config configuration for a provider, includes authentication token, project ID ID, and optional override URL to talk to a different Cherry Servers API endpoint
type NodeBGPInfo ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
empty
empty loadbalancer that does nothing, but exists to enable bgp functionality
|
empty loadbalancer that does nothing, but exists to enable bgp functionality |
kubevip
kubevip loadbalancer that does nothing, but exists to enable bgp functionality
|
kubevip loadbalancer that does nothing, but exists to enable bgp functionality |
Click to show internal directories.
Click to hide internal directories.