roclient

package
v1.12.7 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLayeredReader added in v1.7.4

func NewLayeredReader(rs ...client.Reader) client.Reader

Types

type LayeredReader added in v1.7.4

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

func (*LayeredReader) Get added in v1.7.4

func (r *LayeredReader) Get(ctx context.Context,
	key client.ObjectKey,
	obj client.Object,
	opts ...client.GetOption,
) error

func (*LayeredReader) List added in v1.7.4

func (r *LayeredReader) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error

type Reader

type Reader interface {
	client.Reader

	AddObject(co client.Object) error
}

func NewReader

func NewReader(scheme *runtime.Scheme) Reader

func NewReaderFromFile

func NewReaderFromFile(fpath string, scheme *runtime.Scheme) (Reader, error)

Jump to

Keyboard shortcuts

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