awsprivatelink

package
v1.1.16 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ControllerName = hivev1.AWSPrivateLinkControllerName
)
View Source
const (
	// VPCEndpointPerVPCLimit is a limit on the maximum number of VPC endpoints that can
	// be created in a VPC. This limit is used to filter out any VPCs in the inventory
	// that are already at the this upper limit.
	// The actual limit is 255, but we limit to lower limit.
	VPCEndpointPerVPCLimit = 250
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new AWSPrivateLink Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

func AddToManager

func AddToManager(mgr manager.Manager, r *ReconcileAWSPrivateLink, concurrentReconciles int, rateLimiter workqueue.RateLimiter) error

AddToManager adds a new Controller to mgr with r as the reconcile.Reconciler

func ReadAWSPrivateLinkControllerConfigFile

func ReadAWSPrivateLinkControllerConfigFile() (*hivev1.AWSPrivateLinkConfig, error)

ReadAWSPrivateLinkControllerConfigFile reads the configuration from the env and unmarshals. If the env is set to a file but that file doesn't exist it returns a zeo value configuration.

Types

type ReconcileAWSPrivateLink struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcileAWSPrivateLink reconciles a PrivateLink for clusterdeployment object

func NewReconciler

func NewReconciler(mgr manager.Manager, rateLimiter flowcontrol.RateLimiter) (*ReconcileAWSPrivateLink, error)

NewReconciler returns a new ReconcileClusterClaim

func (*ReconcileAWSPrivateLink) Reconcile

func (r *ReconcileAWSPrivateLink) Reconcile(ctx context.Context, request reconcile.Request) (result reconcile.Result, returnErr error)

Reconcile reconciles PrivateLink for ClusterDeployment.

Jump to

Keyboard shortcuts

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