Documentation ¶
Index ¶
- type AddPortsToPgFunc
- type CallBacks
- type CreatePgFunc
- type DeletePgFunc
- type DeletePortsFromPgFunc
- type PgMap
- type PolicyPgMap
- type ResourceManager
- func (rm *ResourceManager) GetPolicyGroupsForPod(podName string, podNs string) (*[]string, error)
- func (rm *ResourceManager) HandleNsEvent(nsEvent *api.NamespaceEvent) error
- func (rm *ResourceManager) HandlePolicyEvent(pe *api.NetworkPolicyEvent) error
- func (rm *ResourceManager) Init(callBacks *CallBacks, clusterCbs *api.ClusterClientCallBacks, ...) error
- func (rm *ResourceManager) InitPolicyImplementer() error
- type VsdMetaData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddPortsToPgFunc ¶
type CallBacks ¶
type CallBacks struct { AddPg CreatePgFunc DeletePg DeletePgFunc AddPortsToPg AddPortsToPgFunc DeletePortsFromPg DeletePortsFromPgFunc }
type DeletePgFunc ¶
type DeletePortsFromPgFunc ¶
type ResourceManager ¶
type ResourceManager struct {
// contains filtered or unexported fields
}
func NewResourceManager ¶
func NewResourceManager(callBacks *CallBacks, clusterCbs *api.ClusterClientCallBacks, vsdMeta *VsdMetaData) (*ResourceManager, error)
func (*ResourceManager) GetPolicyGroupsForPod ¶
func (rm *ResourceManager) GetPolicyGroupsForPod(podName string, podNs string) (*[]string, error)
func (*ResourceManager) HandleNsEvent ¶
func (rm *ResourceManager) HandleNsEvent(nsEvent *api.NamespaceEvent) error
func (*ResourceManager) HandlePolicyEvent ¶
func (rm *ResourceManager) HandlePolicyEvent(pe *api.NetworkPolicyEvent) error
func (*ResourceManager) Init ¶
func (rm *ResourceManager) Init(callBacks *CallBacks, clusterCbs *api.ClusterClientCallBacks, vsdMeta *VsdMetaData) error
func (*ResourceManager) InitPolicyImplementer ¶
func (rm *ResourceManager) InitPolicyImplementer() error
type VsdMetaData ¶
Click to show internal directories.
Click to hide internal directories.