Documentation ¶
Index ¶
- type NetworkManager
- func (nm *NetworkManager) GetNetworkConfig() []v1alpha1.NetworkConfParams
- func (nm *NetworkManager) GetNetworkDisabled() bool
- func (nm *NetworkManager) GetNetworkStatus() (*v1alpha1.NetworkStatus, error)
- func (nm *NetworkManager) GetNetworkType() string
- func (nm *NetworkManager) SetNetworkState(disabled bool) error
- func (nm *NetworkManager) UpdateNetworkStatus(networkStatus v1alpha1.NetworkStatus, pod *corev1.Pod) (*corev1.Pod, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkManager ¶
type NetworkManager struct {
// contains filtered or unexported fields
}
func NewNetworkManager ¶
func NewNetworkManager(pod *corev1.Pod, client client.Client) *NetworkManager
func (*NetworkManager) GetNetworkConfig ¶
func (nm *NetworkManager) GetNetworkConfig() []v1alpha1.NetworkConfParams
func (*NetworkManager) GetNetworkDisabled ¶
func (nm *NetworkManager) GetNetworkDisabled() bool
func (*NetworkManager) GetNetworkStatus ¶
func (nm *NetworkManager) GetNetworkStatus() (*v1alpha1.NetworkStatus, error)
func (*NetworkManager) GetNetworkType ¶
func (nm *NetworkManager) GetNetworkType() string
func (*NetworkManager) SetNetworkState ¶
func (nm *NetworkManager) SetNetworkState(disabled bool) error
func (*NetworkManager) UpdateNetworkStatus ¶
func (nm *NetworkManager) UpdateNetworkStatus(networkStatus v1alpha1.NetworkStatus, pod *corev1.Pod) (*corev1.Pod, error)
Click to show internal directories.
Click to hide internal directories.