clients

package
v0.0.0-...-1650b30 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Timeout = flag.Duration("kubernetes-timeout", 10*time.Second, "Timeout of all Kubernetes calls")
)

Functions

This section is empty.

Types

type Interface

type Interface interface {
	GetInfrastructure() (*ocpv1.Infrastructure, error)
	GetConfigMap(namespace, name string) (*v1.ConfigMap, error)
	GetSecret(namespace, name string) (*v1.Secret, error)
	ListNodes() ([]v1.Node, error)
	ListStorageClasses() ([]storagev1.StorageClass, error)
	ListPVs() ([]v1.PersistentVolume, error)
}

func Create

func Create() (Interface, error)

Jump to

Keyboard shortcuts

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