status

package
v0.33.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjectWithStatusSubResource

type ObjectWithStatusSubResource interface {
	resource.Object

	// SecretStorageGetStatus should return the status sub-resource for the resource.
	SecretStorageGetStatus() (statusSubResource StatusSubResource)
}

ObjectWithStatusSubResource defines an interface for getting and setting the status sub-resource for a resource. It is a copy of the interface in the apiserver-runtime package, but with the SecretStorage prefix. The prefix is needed since the apiserver-runtime package fails if the storage is not a k8s.io/apiserver/pkg/registry/generic/registry.Store.

type StatusSubResource

type StatusSubResource interface {
	resource.SubResource
	// SecretStorageCopyTo copies the content of the status subresource to a parent resource.
	SecretStorageCopyTo(parent ObjectWithStatusSubResource)
}

StatusSubResource defines required methods for implementing a status subresource.

Jump to

Keyboard shortcuts

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