crdhandler

package
Version: v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL