vpcendpointtemplate

package
v0.0.0-...-4da6f2b Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "VpcEndpointTemplate"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type VpcEndpointTemplateReconciler

type VpcEndpointTemplateReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

VpcEndpointTemplateReconciler reconciles a VpcEndpointTemplate object

func (*VpcEndpointTemplateReconciler) CreateVpcEndpoint

func (r *VpcEndpointTemplateReconciler) CreateVpcEndpoint(ctx context.Context, vpcet *avov1alpha2.VpcEndpointTemplate, namespace string) error

CreateVpcEndpoint creates a VpcEndpoint provided a vpcet and a namespace

func (*VpcEndpointTemplateReconciler) FilterHostedControlPlanes

FilterHostedControlPlanes returns a list of all hostedcontrolplane resources in all namespaces. Basically does `oc get hostedcontrolplane -A` TODO: Filter over private hostedcontrolplanes in the future

func (*VpcEndpointTemplateReconciler) Reconcile

func (*VpcEndpointTemplateReconciler) ReplaceVpcEndpointSpec

ReplaceVpcEndpointSpec effectively does a "kubectl replace" if the provided actual VpcEndpoint doesn't match the vpcet

func (*VpcEndpointTemplateReconciler) SetupWithManager

func (r *VpcEndpointTemplateReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

func (*VpcEndpointTemplateReconciler) ValidateVpcEndpointForHostedControlPlanes

func (r *VpcEndpointTemplateReconciler) ValidateVpcEndpointForHostedControlPlanes(ctx context.Context, vpcet *avov1alpha2.VpcEndpointTemplate, hcpList []hyperv1beta1.HostedControlPlane) error

Jump to

Keyboard shortcuts

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