util

package
v0.0.0-...-f146e69 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcceptString

func AcceptString(allowedValues sets.String, currValue string) bool

Types

type MultiSourceFileWriter

type MultiSourceFileWriter struct {
	// contains filtered or unexported fields
}

func NewMultiSourceWriter

func NewMultiSourceWriter(printer printers.ResourcePrinter) *MultiSourceFileWriter

func (*MultiSourceFileWriter) WriteFromResource

func (f *MultiSourceFileWriter) WriteFromResource(filepath string, obj runtime.Object) error

func (*MultiSourceFileWriter) WriteFromSource

func (f *MultiSourceFileWriter) WriteFromSource(filepath string, source fileWriterSource) error

type TextWriterSource

type TextWriterSource struct {
	Text string
}

func (*TextWriterSource) Stream

func (t *TextWriterSource) Stream() (io.ReadCloser, error)

Jump to

Keyboard shortcuts

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