Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPAddressManager ¶
type IPAddressManager struct {
// contains filtered or unexported fields
}
func NewIPAddressManager ¶
func NewIPAddressManager(awsSession *session.Session) *IPAddressManager
func (*IPAddressManager) AllocateEip ¶
func (m *IPAddressManager) AllocateEip(pod *corev1.Pod) (string, error)
func (*IPAddressManager) ReleaseEip ¶
func (m *IPAddressManager) ReleaseEip(pod *corev1.Pod) (string, error)
type IPAddressStore ¶
type IPAddressStore interface { AssociateEIPAllocationId(podNamespace, podName, podIP, eipAllocationId string) (string, error) ReleaseEIPAllocationId(podNamespace, podName, podIP, eipAllocationId string) (string, error) GetAssociatedEIPAllocationId(podNamespace, podName, podIP, eipAllocationId string) (string, error) GetAllAssociatedEIPAllocationIds() ([]string, error) GetAvailableEIPAllocationIds() ([]string, error) }
Click to show internal directories.
Click to hide internal directories.