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. |
Click to show internal directories.
Click to hide internal directories.