Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConversionHook ¶
type ConversionHook interface { // Convert is called to convert a resource in one version into a different version. Convert(conversionSpec *apiextensionsv1.ConversionRequest) *apiextensionsv1.ConversionResponse }
type MutatingAdmissionHook ¶
type MutatingAdmissionHook interface { // Mutate is called to decide whether to accept the admission request. The returned AdmissionResponse may // use the Patch field to mutate the object from the passed AdmissionRequest. Mutate(ctx context.Context, admissionSpec *admissionv1.AdmissionRequest) *admissionv1.AdmissionResponse }
type SchemeBackedConverter ¶
type SchemeBackedConverter struct {
// contains filtered or unexported fields
}
func NewSchemeBackedConverter ¶
func NewSchemeBackedConverter(log logr.Logger, scheme *runtime.Scheme) *SchemeBackedConverter
func (*SchemeBackedConverter) Convert ¶
func (c *SchemeBackedConverter) Convert(conversionSpec *apiextensionsv1.ConversionRequest) *apiextensionsv1.ConversionResponse
type ValidatingAdmissionHook ¶
type ValidatingAdmissionHook interface { // Validate is called to decide whether to accept the admission request. The returned AdmissionResponse // must not use the Patch field. Validate(ctx context.Context, admissionSpec *admissionv1.AdmissionRequest) *admissionv1.AdmissionResponse }
Click to show internal directories.
Click to hide internal directories.