Documentation ¶
Index ¶
- func GetConnectionDetails(cr *v1alpha1.CLB) managed.ConnectionDetails
- func SetupCLB(mgr ctrl.Manager, l logging.Logger) error
- type Connector
- type External
- func (e *External) Create(ctx context.Context, mg resource.Managed) (managed.ExternalCreation, error)
- func (e *External) Delete(ctx context.Context, mg resource.Managed) error
- func (e *External) Observe(ctx context.Context, mg resource.Managed) (managed.ExternalObservation, error)
- func (e *External) Update(ctx context.Context, mg resource.Managed) (managed.ExternalUpdate, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConnectionDetails ¶
func GetConnectionDetails(cr *v1alpha1.CLB) managed.ConnectionDetails
GetConnectionDetails generates connection details
Types ¶
type Connector ¶
type Connector struct { Client client.Client Usage resource.Tracker NewClientFn func(ctx context.Context, endpoint, accessKeyID, accessKeySecret, stsToken string) (*slbclient.SDKClient, error) }
Connector stores Kubernetes client and SLB client
type External ¶
type External struct {
ExternalClient slbclient.ClientInterface
}
External includes external SLB client
func (*External) Create ¶
func (e *External) Create(ctx context.Context, mg resource.Managed) (managed.ExternalCreation, error)
Create managed resource CLB
Click to show internal directories.
Click to hide internal directories.