transformers

package
v0.1.96 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const XExtendKey = "x-extend"
View Source
const XRequiredForHelm = "x-required-for-helm"

Variables

This section is empty.

Functions

func Transform

func Transform(s *spec.Schema, transformers ...Transformer) *spec.Schema

Types

type AdditionalProperties

type AdditionalProperties struct {
	Parent *spec.Schema
}

func (*AdditionalProperties) Transform

func (t *AdditionalProperties) Transform(s *spec.Schema) *spec.Schema

Transform sets undefined AdditionalProperties to false recursively.

type Copy

type Copy struct{}

func (*Copy) Transform

func (*Copy) Transform(s *spec.Schema) *spec.Schema

type Extend

type Extend struct {
	Parent *spec.Schema
}

func (*Extend) Transform

func (t *Extend) Transform(s *spec.Schema) *spec.Schema

type ExtendSettings

type ExtendSettings struct {
	Schema *string `json:"schema,omitempty"`
}

type RequiredForHelm

type RequiredForHelm struct{}

func (*RequiredForHelm) Transform

func (*RequiredForHelm) Transform(s *spec.Schema) *spec.Schema

type Transformer

type Transformer interface {
	Transform(s *spec.Schema) *spec.Schema
}

Jump to

Keyboard shortcuts

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