Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "openshift-client", Aliases: []string{"oc", "openshift"}, Short: "Download OpenShift client tools", Long: "Downloads to latest compatible version of the OpenShift client tools.", Example: ` # Download oc client tools rosa download oc`, Run: run, }
Functions ¶
This section is empty.
Types ¶
type WriteCounter ¶
type WriteCounter struct {
Total uint64
}
WriteCounter counts the number of bytes written to it. It implements to the io.Writer interface and we can pass this into io.TeeReader() which will report progress on each write cycle.
func (WriteCounter) PrintProgress ¶
func (wc WriteCounter) PrintProgress()
Click to show internal directories.
Click to hide internal directories.