Documentation ¶
Overview ¶
* Copyright (c) 2023 Baidu, Inc. All Rights Reserved. * * 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 ¶
- type VPCRouteOperator
- func (operator *VPCRouteOperator) Create(resource *ccev2.NetResourceSet) error
- func (operator *VPCRouteOperator) Delete(nodeName string) error
- func (operator *VPCRouteOperator) Init(ctx context.Context) error
- func (operator *VPCRouteOperator) Resync(context.Context, time.Time)
- func (operator *VPCRouteOperator) Start(ctx context.Context, updater ipam.NetResourceSetGetterUpdater) (allocator.NetResourceSetEventHandler, error)
- func (operator *VPCRouteOperator) Update(resource *ccev2.NetResourceSet) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VPCRouteOperator ¶
type VPCRouteOperator struct {
// contains filtered or unexported fields
}
func (*VPCRouteOperator) Create ¶
func (operator *VPCRouteOperator) Create(resource *ccev2.NetResourceSet) error
Create implements allocator.NetResourceSetEventHandler
func (*VPCRouteOperator) Delete ¶
func (operator *VPCRouteOperator) Delete(nodeName string) error
Delete implements allocator.NetResourceSetEventHandler
func (*VPCRouteOperator) Resync ¶
func (operator *VPCRouteOperator) Resync(context.Context, time.Time)
Resync implements allocator.NetResourceSetEventHandler
func (*VPCRouteOperator) Start ¶
func (operator *VPCRouteOperator) Start(ctx context.Context, updater ipam.NetResourceSetGetterUpdater) (allocator.NetResourceSetEventHandler, error)
func (*VPCRouteOperator) Update ¶
func (operator *VPCRouteOperator) Update(resource *ccev2.NetResourceSet) error
Update implements allocator.NetResourceSetEventHandler