fieldsetter

package
v0.27.0-dev Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fieldsetter defines methods to set the fields of <Infra>Machine resource

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FieldSetter

type FieldSetter struct {
	Log          logr.Logger
	FieldPathMap map[string]string
	// contains filtered or unexported fields
}

FieldSetter mutates <infra>Machine

func (*FieldSetter) Handle

Handle will handle the infra admission request

func (*FieldSetter) InjectDecoder

func (fs *FieldSetter) InjectDecoder(d *admission.Decoder) error

InjectDecoder injects the decoder. A decoder will be automatically injected.

Jump to

Keyboard shortcuts

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