openshift

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateOCLoginCMD

func GenerateOCLoginCMD(server string, username string, password string, clusterid string, additioanlFlags ...string) string

func OcLogin

func OcLogin(ocLoginAtter OcAttributes) (string, error)

func RetryCMDRun

func RetryCMDRun(cmd string, timeout time.Duration) (string, error)

Types

type OcAttributes

type OcAttributes struct {
	Server          string
	Username        string
	Password        string
	ClusterID       string
	AdditioanlFlags []string
	Timeout         time.Duration
}

Jump to

Keyboard shortcuts

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