kubernetes

package
v0.0.0-...-d1f8b28 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitForConditionOnObject

func WaitForConditionOnObject(ctx context.Context, client ctrlruntimeclient.WithWatch, identifier ctrlruntimeclient.ObjectKey, list ctrlruntimeclient.ObjectList, into ctrlruntimeclient.Object, evaluate evaluator, timeout time.Duration) error

WaitForConditionOnObject uses a watch to wait for a condition to be true on an object. When the condition is satisfied or the timeout expires, the object is returned along with any errors encountered.

Types

type PodClient

type PodClient interface {
	loggingclient.LoggingClient
	GetPendingTimeout() time.Duration
	// WithNewLoggingClient returns a new instance of the PodClient that resets
	// its LoggingClient.
	WithNewLoggingClient() PodClient
	Exec(namespace, pod string, opts *coreapi.PodExecOptions) (remotecommand.Executor, error)
	GetLogs(namespace, name string, opts *coreapi.PodLogOptions) *rest.Request
}

func NewPodClient

func NewPodClient(ctrlclient loggingclient.LoggingClient, config *rest.Config, client rest.Interface, pendingTimeout time.Duration) PodClient

Directories

Path Synopsis
pkg
credentialprovider
package credentialprovider copies the DockerConfigJSON-related parts from https://github.com/kubernetes/kubernetes/tree/b259c92dda81e18822b790501445d98d7c0ed339/pkg/credentialprovider in order to avoid depending on k8s.io/kubernetes directly, which is unsupported.
package credentialprovider copies the DockerConfigJSON-related parts from https://github.com/kubernetes/kubernetes/tree/b259c92dda81e18822b790501445d98d7c0ed339/pkg/credentialprovider in order to avoid depending on k8s.io/kubernetes directly, which is unsupported.

Jump to

Keyboard shortcuts

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