environment

package
v0.3.161 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2026 License: Apache-2.0 Imports: 35 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Environment

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

func Run

func Run(stdout io.Writer, stderr io.Writer, logger io.Writer) (_ *Environment, err error)

func (*Environment) ApplyObject

func (e *Environment) ApplyObject(obj client.Object, fieldOwner string) error

func (*Environment) CleanupObject

func (e *Environment) CleanupObject(ctx context.Context, obj client.Object) error

func (*Environment) CleanupObjects

func (e *Environment) CleanupObjects(ctx context.Context, objs ...client.Object) error

func (*Environment) Client

func (e *Environment) Client() client.Client

func (*Environment) Config

func (e *Environment) Config() *rest.Config

func (*Environment) CreateNamespace

func (e *Environment) CreateNamespace() (string, error)

func (*Environment) CreateObject

func (e *Environment) CreateObject(obj client.Object) error

func (*Environment) DiscoveryClient

func (e *Environment) DiscoveryClient() discovery.DiscoveryInterface

func (*Environment) EnsureObjectDoesNotExist

func (e *Environment) EnsureObjectDoesNotExist(obj client.Object) error

func (*Environment) EnsureObjectExists

func (e *Environment) EnsureObjectExists(obj client.Object, reconcilerName, ownerId string, digest string) (client.Object, error)

func (*Environment) Finalize

func (e *Environment) Finalize(obj client.Object, finalizer string) error

func (*Environment) Id

func (e *Environment) Id() string

func (*Environment) KubeConfig

func (e *Environment) KubeConfig() string

func (*Environment) Observe

func (e *Environment) Observe(obj ObserveableObject, status metav1.ConditionStatus) error

func (*Environment) Scheme

func (e *Environment) Scheme() *runtime.Scheme

func (*Environment) Stop

func (e *Environment) Stop() error

func (*Environment) Version

func (e *Environment) Version() *version.Info

type ObserveableObject

type ObserveableObject interface {
	client.Object
	SetObservedGeneration(generation int64)
	SetCondition(condition metav1.Condition)
}

Directories

Path Synopsis
apis
testing.cs.sap.com/v1alpha1
Package v1alpha1 contains API Schema definitions for the testing v1alpha1 API group
Package v1alpha1 contains API Schema definitions for the testing v1alpha1 API group

Jump to

Keyboard shortcuts

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