parse

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeploymentLogsForString added in v1.13.0

func DeploymentLogsForString(ns, name, container, expectedString string) (bool, error)

DeploymentLogsForString parses the container logs of the specified ns/name deployment, returning true if the string was found. TODO [danehans]: Refactor to use client-go GetLogs() method: https://github.com/projectcontour/contour-operator/issues/200

func Image

func Image(s string) error

Image parses s, returning and error if s is not a syntactically valid image reference. Image does not not handle short digests.

func StringInPodExec added in v1.14.0

func StringInPodExec(ns, name, expectedString string, cmd []string) error

StringInPodExec parses the output of cmd for expectedString executed in the specified pod ns/name, returning an error if expectedString was not found.

Types

This section is empty.

Jump to

Keyboard shortcuts

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