Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ENIEventHandler ¶
type ENIEventHandler interface { Create(resource *ccev2.ENI) error Update(resource *ccev2.ENI) error Delete(name string) error ResyncENI(context.Context) time.Duration }
ENIEventHandler should implement the behavior to handle ENI
type ENISyncher ¶
type ENISyncher interface { Init(ctx context.Context) error StartENISyncer(context.Context, ENIUpdater) ENIEventHandler }
type ENIUpdater ¶
type ENIUpdater interface { Lister() ccev2lister.ENILister Create(subnet *ccev2.ENI) (*ccev2.ENI, error) Update(newResource *ccev2.ENI) (*ccev2.ENI, error) Delete(name string) error UpdateStatus(newResource *ccev2.ENI) (*ccev2.ENI, error) }
ENIUpdater interface to update resource
type SecurityGroupEventHandler ¶
type SecurityGroupEventHandler interface { Create(resource *ccev2alpha1.SecurityGroup) error Update(resource *ccev2alpha1.SecurityGroup) error Delete(name string) error ResyncSecurityGroup(context.Context) time.Duration }
SecurityGroupEventHandler should implement the behavior to handle SecurityGroup
type SecurityGroupSyncher ¶
type SecurityGroupSyncher interface { Init(ctx context.Context) error StartSecurityGroupSyncer(context.Context, SecurityGroupUpdater) SecurityGroupEventHandler }
type SecurityGroupUpdater ¶
type SecurityGroupUpdater interface { Lister() ccev2alpha1lister.SecurityGroupLister Create(subnet *ccev2alpha1.SecurityGroup) (*ccev2alpha1.SecurityGroup, error) Update(newResource *ccev2alpha1.SecurityGroup) (*ccev2alpha1.SecurityGroup, error) Delete(name string) error UpdateStatus(newResource *ccev2alpha1.SecurityGroup) (*ccev2alpha1.SecurityGroup, error) }
SecurityGroupUpdater interface to update resource
type SubnetEventHandler ¶
type SubnetEventHandler interface { Create(resource *ccev1.Subnet) error Update(resource *ccev1.Subnet) error Delete(name string) error ResyncSubnet(context.Context) time.Duration }
SubnetEventHandler should implement the behavior to handle Subnet
type SubnetSyncher ¶
type SubnetSyncher interface { Init(ctx context.Context) error StartSubnetSyncher(context.Context, SubnetUpdater) SubnetEventHandler }
type SubnetUpdater ¶
type SubnetUpdater interface { Lister() ccev1lister.SubnetLister Create(subnet *ccev1.Subnet) (*ccev1.Subnet, error) Update(newResource *ccev1.Subnet) (*ccev1.Subnet, error) Delete(name string) error UpdateStatus(newResource *ccev1.Subnet) (*ccev1.Subnet, error) }
SubnetUpdater interface to update resource
Click to show internal directories.
Click to hide internal directories.