Documentation ¶
Overview ¶
Copyright 2021 Antrea Authors
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func NewClusterGroupHandler(lister crdlister.ClusterGroupLister, ...) types.MirroringHandler
- func NewClusterNetworkPolicyHandler(lister crdlister.ClusterNetworkPolicyLister, ...) types.MirroringHandler
- func NewExternalEntityHandler(lister crdlister.ExternalEntityLister, ...) types.MirroringHandler
- func NewNetworkPolicyHandler(lister crdlister.NetworkPolicyLister, ...) types.MirroringHandler
- func NewTierHandler(lister crdlister.TierLister, legacyLister legacysecuritylister.TierLister, ...) types.MirroringHandler
- func NewTraceflowHandler(lister crdlister.TraceflowLister, legacyLister legacyopslister.TraceflowLister, ...) types.MirroringHandler
- type ClusterGroupHandler
- func (c *ClusterGroupHandler) AddNewObject(obj metav1.Object) error
- func (c *ClusterGroupHandler) DeleteNewObject(namespace, name string) error
- func (c *ClusterGroupHandler) GetLegacyObject(namespace, name string) (metav1.Object, error)
- func (c *ClusterGroupHandler) GetNewObject(namespace, name string) (metav1.Object, error)
- func (c *ClusterGroupHandler) SyncObject(legacyObj, newObj metav1.Object) error
- func (c *ClusterGroupHandler) UpdateNewObject(newObj metav1.Object) error
- type ClusterNetworkPolicyHandler
- func (c *ClusterNetworkPolicyHandler) AddNewObject(obj metav1.Object) error
- func (c *ClusterNetworkPolicyHandler) DeleteNewObject(namespace, name string) error
- func (c *ClusterNetworkPolicyHandler) GetLegacyObject(namespace, name string) (metav1.Object, error)
- func (c *ClusterNetworkPolicyHandler) GetNewObject(namespace, name string) (metav1.Object, error)
- func (c *ClusterNetworkPolicyHandler) SyncObject(legacyObj, newObj metav1.Object) error
- func (c *ClusterNetworkPolicyHandler) UpdateNewObject(newObj metav1.Object) error
- type ExternalEntityHandler
- func (c *ExternalEntityHandler) AddNewObject(obj metav1.Object) error
- func (c *ExternalEntityHandler) DeleteNewObject(namespace, name string) error
- func (c *ExternalEntityHandler) GetLegacyObject(namespace, name string) (metav1.Object, error)
- func (c *ExternalEntityHandler) GetNewObject(namespace, name string) (metav1.Object, error)
- func (c *ExternalEntityHandler) SyncObject(legacyObj, newObj metav1.Object) error
- func (c *ExternalEntityHandler) UpdateNewObject(newObj metav1.Object) error
- type NetworkPolicyHandler
- func (c *NetworkPolicyHandler) AddNewObject(obj metav1.Object) error
- func (c *NetworkPolicyHandler) DeleteNewObject(namespace, name string) error
- func (c *NetworkPolicyHandler) GetLegacyObject(namespace, name string) (metav1.Object, error)
- func (c *NetworkPolicyHandler) GetNewObject(namespace, name string) (metav1.Object, error)
- func (c *NetworkPolicyHandler) SyncObject(legacyObj, newObj metav1.Object) error
- func (c *NetworkPolicyHandler) UpdateNewObject(newObj metav1.Object) error
- type TierHandler
- func (c *TierHandler) AddNewObject(obj metav1.Object) error
- func (c *TierHandler) DeleteNewObject(namespace, name string) error
- func (c *TierHandler) GetLegacyObject(namespace, name string) (metav1.Object, error)
- func (c *TierHandler) GetNewObject(namespace, name string) (metav1.Object, error)
- func (c *TierHandler) SyncObject(legacyObj, newObj metav1.Object) error
- func (c *TierHandler) UpdateNewObject(newObj metav1.Object) error
- type TraceflowHandler
- func (c *TraceflowHandler) AddNewObject(obj metav1.Object) error
- func (c *TraceflowHandler) DeleteNewObject(namespace, name string) error
- func (c *TraceflowHandler) GetLegacyObject(namespace, name string) (metav1.Object, error)
- func (c *TraceflowHandler) GetNewObject(namespace, name string) (metav1.Object, error)
- func (c *TraceflowHandler) SyncObject(legacyObj, newObj metav1.Object) error
- func (c *TraceflowHandler) UpdateNewObject(newObj metav1.Object) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterGroupHandler ¶
func NewClusterGroupHandler(lister crdlister.ClusterGroupLister, legacyLister legacycorelister.ClusterGroupLister, client crdclient.ClusterGroupInterface, legacyClient legacycoreclient.ClusterGroupInterface) types.MirroringHandler
func NewClusterNetworkPolicyHandler ¶
func NewClusterNetworkPolicyHandler(lister crdlister.ClusterNetworkPolicyLister, legacyLister legacysecuritylister.ClusterNetworkPolicyLister, client crdclient.ClusterNetworkPolicyInterface, legacyClient legacysecurityclient.ClusterNetworkPolicyInterface) types.MirroringHandler
func NewExternalEntityHandler ¶
func NewExternalEntityHandler(lister crdlister.ExternalEntityLister, legacyLister legacycorelister.ExternalEntityLister, client crdclientset.Interface, legacyClient legacycoreclientset.Interface) types.MirroringHandler
func NewNetworkPolicyHandler ¶
func NewNetworkPolicyHandler(lister crdlister.NetworkPolicyLister, legacyLister legacysecuritylister.NetworkPolicyLister, client crdclientset.Interface, legacyClient legacysecurityclientset.Interface) types.MirroringHandler
func NewTierHandler ¶
func NewTierHandler(lister crdlister.TierLister, legacyLister legacysecuritylister.TierLister, client crdclient.TierInterface, legacyClient legacysecurityclient.TierInterface) types.MirroringHandler
func NewTraceflowHandler ¶
func NewTraceflowHandler(lister crdlister.TraceflowLister, legacyLister legacyopslister.TraceflowLister, client crdclient.TraceflowInterface, legacyClient legacyopsclient.TraceflowInterface) types.MirroringHandler
Types ¶
type ClusterGroupHandler ¶
type ClusterGroupHandler struct {
// contains filtered or unexported fields
}
func (*ClusterGroupHandler) AddNewObject ¶
func (c *ClusterGroupHandler) AddNewObject(obj metav1.Object) error
AddNewObject creates the mirrored new ClusterGroup.
func (*ClusterGroupHandler) DeleteNewObject ¶
func (c *ClusterGroupHandler) DeleteNewObject(namespace, name string) error
DeleteNewObject deletes the mirrored new ClusterGroup.
func (*ClusterGroupHandler) GetLegacyObject ¶
func (c *ClusterGroupHandler) GetLegacyObject(namespace, name string) (metav1.Object, error)
GetLegacyObject gets the legacy ClusterGroup struct.
func (*ClusterGroupHandler) GetNewObject ¶
func (c *ClusterGroupHandler) GetNewObject(namespace, name string) (metav1.Object, error)
GetNewObject gets the mirrored new ClusterGroup struct.
func (*ClusterGroupHandler) SyncObject ¶
func (c *ClusterGroupHandler) SyncObject(legacyObj, newObj metav1.Object) error
SyncObject updates the mirrored new ClusterGroup.
func (*ClusterGroupHandler) UpdateNewObject ¶
func (c *ClusterGroupHandler) UpdateNewObject(newObj metav1.Object) error
UpdateNewObject updates the mirrored new ClusterGroup.
type ClusterNetworkPolicyHandler ¶
type ClusterNetworkPolicyHandler struct {
// contains filtered or unexported fields
}
func (*ClusterNetworkPolicyHandler) AddNewObject ¶
func (c *ClusterNetworkPolicyHandler) AddNewObject(obj metav1.Object) error
AddNewObject creates the mirrored new ClusterNetworkPolicy.
func (*ClusterNetworkPolicyHandler) DeleteNewObject ¶
func (c *ClusterNetworkPolicyHandler) DeleteNewObject(namespace, name string) error
DeleteNewObject deletes the mirrored new ClusterNetworkPolicy.
func (*ClusterNetworkPolicyHandler) GetLegacyObject ¶
func (c *ClusterNetworkPolicyHandler) GetLegacyObject(namespace, name string) (metav1.Object, error)
GetLegacyObject gets the legacy ClusterNetworkPolicy struct.
func (*ClusterNetworkPolicyHandler) GetNewObject ¶
func (c *ClusterNetworkPolicyHandler) GetNewObject(namespace, name string) (metav1.Object, error)
GetNewObject gets the mirrored new ClusterNetworkPolicy struct.
func (*ClusterNetworkPolicyHandler) SyncObject ¶
func (c *ClusterNetworkPolicyHandler) SyncObject(legacyObj, newObj metav1.Object) error
SyncObject updates the mirrored new ClusterNetworkPolicy.
func (*ClusterNetworkPolicyHandler) UpdateNewObject ¶
func (c *ClusterNetworkPolicyHandler) UpdateNewObject(newObj metav1.Object) error
UpdateNewObject updates the mirrored new ClusterGroup.
type ExternalEntityHandler ¶
type ExternalEntityHandler struct {
// contains filtered or unexported fields
}
func (*ExternalEntityHandler) AddNewObject ¶
func (c *ExternalEntityHandler) AddNewObject(obj metav1.Object) error
AddNewObject creates the mirrored new ExternalEntity.
func (*ExternalEntityHandler) DeleteNewObject ¶
func (c *ExternalEntityHandler) DeleteNewObject(namespace, name string) error
DeleteNewObject deletes the mirrored new ExternalEntity.
func (*ExternalEntityHandler) GetLegacyObject ¶
func (c *ExternalEntityHandler) GetLegacyObject(namespace, name string) (metav1.Object, error)
GetLegacyObject gets the legacy ExternalEntity struct.
func (*ExternalEntityHandler) GetNewObject ¶
func (c *ExternalEntityHandler) GetNewObject(namespace, name string) (metav1.Object, error)
GetNewObject gets the mirrored new ExternalEntity struct.
func (*ExternalEntityHandler) SyncObject ¶
func (c *ExternalEntityHandler) SyncObject(legacyObj, newObj metav1.Object) error
SyncObject updates the mirrored new ExternalEntity.
func (*ExternalEntityHandler) UpdateNewObject ¶
func (c *ExternalEntityHandler) UpdateNewObject(newObj metav1.Object) error
UpdateNewObject updates the mirrored new ClusterGroup.
type NetworkPolicyHandler ¶
type NetworkPolicyHandler struct {
// contains filtered or unexported fields
}
func (*NetworkPolicyHandler) AddNewObject ¶
func (c *NetworkPolicyHandler) AddNewObject(obj metav1.Object) error
AddNewObject creates the mirrored new NetworkPolicy.
func (*NetworkPolicyHandler) DeleteNewObject ¶
func (c *NetworkPolicyHandler) DeleteNewObject(namespace, name string) error
DeleteNewObject deletes the mirrored new NetworkPolicy.
func (*NetworkPolicyHandler) GetLegacyObject ¶
func (c *NetworkPolicyHandler) GetLegacyObject(namespace, name string) (metav1.Object, error)
GetLegacyObject gets the legacy NetworkPolicy struct.
func (*NetworkPolicyHandler) GetNewObject ¶
func (c *NetworkPolicyHandler) GetNewObject(namespace, name string) (metav1.Object, error)
GetNewObject gets the mirrored new NetworkPolicy struct.
func (*NetworkPolicyHandler) SyncObject ¶
func (c *NetworkPolicyHandler) SyncObject(legacyObj, newObj metav1.Object) error
SyncObject updates the mirrored new NetworkPolicy.
func (*NetworkPolicyHandler) UpdateNewObject ¶
func (c *NetworkPolicyHandler) UpdateNewObject(newObj metav1.Object) error
UpdateNewObject updates the mirrored new ClusterGroup.
type TierHandler ¶
type TierHandler struct {
// contains filtered or unexported fields
}
func (*TierHandler) AddNewObject ¶
func (c *TierHandler) AddNewObject(obj metav1.Object) error
AddNewObject creates the mirrored new Tier.
func (*TierHandler) DeleteNewObject ¶
func (c *TierHandler) DeleteNewObject(namespace, name string) error
DeleteNewObject deletes the mirrored new Tier.
func (*TierHandler) GetLegacyObject ¶
func (c *TierHandler) GetLegacyObject(namespace, name string) (metav1.Object, error)
GetLegacyObject gets the legacy Tier struct.
func (*TierHandler) GetNewObject ¶
func (c *TierHandler) GetNewObject(namespace, name string) (metav1.Object, error)
GetNewObject gets the mirrored new Tier struct.
func (*TierHandler) SyncObject ¶
func (c *TierHandler) SyncObject(legacyObj, newObj metav1.Object) error
SyncObject updates the mirrored new Tier.
func (*TierHandler) UpdateNewObject ¶
func (c *TierHandler) UpdateNewObject(newObj metav1.Object) error
UpdateNewObject updates the mirrored new ClusterGroup.
type TraceflowHandler ¶
type TraceflowHandler struct {
// contains filtered or unexported fields
}
func (*TraceflowHandler) AddNewObject ¶
func (c *TraceflowHandler) AddNewObject(obj metav1.Object) error
AddNewObject creates the mirrored new Traceflow.
func (*TraceflowHandler) DeleteNewObject ¶
func (c *TraceflowHandler) DeleteNewObject(namespace, name string) error
DeleteNewObject deletes the mirrored new Traceflow.
func (*TraceflowHandler) GetLegacyObject ¶
func (c *TraceflowHandler) GetLegacyObject(namespace, name string) (metav1.Object, error)
GetLegacyObject gets the legacy Traceflow struct.
func (*TraceflowHandler) GetNewObject ¶
func (c *TraceflowHandler) GetNewObject(namespace, name string) (metav1.Object, error)
GetNewObject gets the mirrored new Traceflow struct.
func (*TraceflowHandler) SyncObject ¶
func (c *TraceflowHandler) SyncObject(legacyObj, newObj metav1.Object) error
SyncObject updates the mirrored new Traceflow.
func (*TraceflowHandler) UpdateNewObject ¶
func (c *TraceflowHandler) UpdateNewObject(newObj metav1.Object) error
UpdateNewObject updates the mirrored new ClusterGroup.