environment

package
v0.3.158 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: Apache-2.0 Imports: 35 Imported by: 0

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