v0

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUnstructuredWrapper

func NewUnstructuredWrapper(obj *unstructured.Unstructured) stream.Definition

NewUnstructuredWrapper creates a new UnstructuredWrapper from the given unstructured object.

Types

type UnstructuredWrapper

type UnstructuredWrapper struct {
	common.SecretReferenceReader
	*status_v0.StatusWrapper
	*common.ConfiguratorProvider
	*common.OwnerReferenceProvider

	Underlying *unstructured.Unstructured
	// contains filtered or unexported fields
}

func (*UnstructuredWrapper) GetBackend

func (u *UnstructuredWrapper) GetBackend() stream.Backend

func (*UnstructuredWrapper) GetJobTemplate

func (u *UnstructuredWrapper) GetJobTemplate(request *v1.BackfillRequest) types.NamespacedName

func (*UnstructuredWrapper) GetPreviousBackend

func (u *UnstructuredWrapper) GetPreviousBackend(_ context.Context, _ client.Client) (*stream.Backend, error)

func (*UnstructuredWrapper) GetSchedule

func (u *UnstructuredWrapper) GetSchedule() (string, error)

func (*UnstructuredWrapper) NamespacedName

func (u *UnstructuredWrapper) NamespacedName() types.NamespacedName

func (*UnstructuredWrapper) SetSuspended

func (u *UnstructuredWrapper) SetSuspended(suspended bool) error

func (*UnstructuredWrapper) StateString

func (u *UnstructuredWrapper) StateString() string

func (*UnstructuredWrapper) Suspended

func (u *UnstructuredWrapper) Suspended() bool

func (*UnstructuredWrapper) ToUnstructured

func (u *UnstructuredWrapper) ToUnstructured() *unstructured.Unstructured

func (*UnstructuredWrapper) Validate

func (u *UnstructuredWrapper) Validate() error

Jump to

Keyboard shortcuts

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