template

package
v0.0.0-...-b25b198 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package template provides the vSphere template Resolver mutating webhook on CAPI Cluster.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VCenterClusterVar

type VCenterClusterVar struct {
	DataCenter    string `json:"datacenter"`
	Server        string `json:"server"`
	Template      string `json:"template"`
	TLSThumbprint string `json:"tlsThumbprint"`
}

type Webhook

type Webhook struct {
	Log      logr.Logger
	Client   client.Client
	Resolver templateresolver.TemplateResolver
	// contains filtered or unexported fields
}

func (*Webhook) Handle

func (cw *Webhook) Handle(ctx context.Context, req admission.Request) admission.Response

func (*Webhook) InjectDecoder

func (cw *Webhook) InjectDecoder(decoder *admission.Decoder) error

Jump to

Keyboard shortcuts

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