Versions in this module Expand all Collapse all v0 v0.6.0 Jun 14, 2024 Changes in this version + func NewBgpConfHandler(client client.Client) *bgpConfHandler + func NewBgpPeerHandler(client client.Client) *bgpPeerHandler + func NewEipHandler(client client.Client) *eipHandler + type BgpConfHandler interface + Create func(ctx context.Context, bgpConf *v1alpha2.BgpConf) (Create, error) + Delete func(ctx context.Context) (Delete, error) + Get func(ctx context.Context) (*v1alpha2.BgpConf, error) + Patch func(ctx context.Context, patch []byte) (Update, error) + Update func(ctx context.Context, newObj *v1alpha2.BgpConf) (Update, error) + type BgpPeerHandler interface + Create func(ctx context.Context, bgpPeer *v1alpha2.BgpPeer) (Create, error) + Delete func(ctx context.Context, name string) (Delete, error) + Get func(ctx context.Context, name string) (*v1alpha2.BgpPeer, error) + List func(ctx context.Context) (*v1alpha2.BgpPeerList, error) + Patch func(ctx context.Context, name string, patch []byte) (Update, error) + Update func(ctx context.Context, name string, newObj *v1alpha2.BgpPeer) (Update, error) + type Create struct + Created bool + type Delete struct + Deleted bool + type EipHandler interface + Create func(ctx context.Context, eip *v1alpha2.Eip) (Create, error) + Delete func(ctx context.Context, name string) (Delete, error) + Get func(ctx context.Context, name string) (*v1alpha2.Eip, error) + List func(ctx context.Context) (*v1alpha2.EipList, error) + Patch func(ctx context.Context, name string, patch []byte) (Update, error) + Update func(ctx context.Context, name string, newObj *v1alpha2.Eip) (Update, error) + type Update struct + Updated bool