libs

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

func NewContextProvider

func NewContextProvider(
	client dclient.Interface,
	imageOpts []imagedataloader.Option,
	gctxStore gctxstore.Store,
) (Context, error)

type FakeContextProvider

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

func NewFakeContextProvider

func NewFakeContextProvider() *FakeContextProvider

func (*FakeContextProvider) AddResource

func (*FakeContextProvider) GetGlobalReference

func (cp *FakeContextProvider) GetGlobalReference(string, string) (any, error)

func (*FakeContextProvider) GetImageData

func (cp *FakeContextProvider) GetImageData(string) (map[string]any, error)

func (*FakeContextProvider) GetResource

func (cp *FakeContextProvider) GetResource(apiVersion, resource, namespace, name string) (*unstructured.Unstructured, error)

func (*FakeContextProvider) ListResources

func (cp *FakeContextProvider) ListResources(apiVersion, resource, namespace string) (*unstructured.UnstructuredList, error)

func (*FakeContextProvider) PostResource

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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