package dryrun
import "k8s.io/kubernetes/cmd/kubeadm/app/util/dryrun"
Index ¶
- func NewWaiter() apiclient.Waiter
- func PrintDryRunFiles(files []FileToPrint, w io.Writer) error
- type FileToPrint
- type Waiter
Functions ¶
func NewWaiter ¶
NewWaiter returns a new Waiter object that talks to the given Kubernetes cluster
func PrintDryRunFiles ¶
func PrintDryRunFiles(files []FileToPrint, w io.Writer) error
PrintDryRunFiles prints the contents of the FileToPrints given to it to the writer w
Types ¶
type FileToPrint ¶
FileToPrint represents a temporary file on disk that might want to be aliased when printing Useful for things like loading a file from /tmp/ but saying to the user "Would write file foo to /etc/kubernetes/..."
func NewFileToPrint ¶
func NewFileToPrint(realPath, printPath string) FileToPrint
NewFileToPrint makes a new instance of FileToPrint with the specified arguments
type Waiter ¶
type Waiter struct{}
Waiter is an implementation of apiclient.Waiter that should be used for dry-running
func (*Waiter) SetTimeout ¶
SetTimeout is a no-op; we don't wait in this implementation
func (*Waiter) WaitForAPI ¶
WaitForAPI just returns a dummy nil, to indicate that the program should just proceed
func (*Waiter) WaitForPodToDisappear ¶
WaitForPodToDisappear just returns a dummy nil, to indicate that the program should just proceed
func (*Waiter) WaitForPodsWithLabel ¶
WaitForPodsWithLabel just returns a dummy nil, to indicate that the program should just proceed
Source Files ¶
dryrun.go
- Version
- v1.8.0-beta.0
- Published
- Sep 2, 2017
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 3 minutes ago –
Tools for package owners.