Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSelfNode ¶
func GetSelfNode(isAgent bool, node string) v1.ObjectReference
GetSelfNode gets current node.
Types ¶
type AgentNetworkPolicyInfoQuerier ¶
type AgentNetworkPolicyInfoQuerier interface { NetworkPolicyInfoQuerier GetControllerConnectionStatus() bool GetNetworkPolicies(namespace string) []networkingv1beta1.NetworkPolicy GetAddressGroups() []networkingv1beta1.AddressGroup GetAppliedToGroups() []networkingv1beta1.AppliedToGroup GetNetworkPolicy(npName, npNamespace string) *networkingv1beta1.NetworkPolicy GetAppliedNetworkPolicies(pod, namespace string) []networkingv1beta1.NetworkPolicy }
type ControllerNetworkPolicyInfoQuerier ¶
type ControllerNetworkPolicyInfoQuerier interface { NetworkPolicyInfoQuerier GetConnectedAgentNum() int }
Click to show internal directories.
Click to hide internal directories.