openshift

package
v4.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

func NewAdminClient

func NewAdminClient(cs *internalapi.OpenShiftManagedCluster) (*Client, error)

func NewCustomerAdminClient

func NewCustomerAdminClient(cs *internalapi.OpenShiftManagedCluster) (*Client, error)

func NewEndUserClient

func NewEndUserClient(cs *internalapi.OpenShiftManagedCluster) (*Client, error)

func (*Client) CleanupProject

func (cli *Client) CleanupProject(namespace string) error

func (*Client) CreateProject

func (cli *Client) CreateProject(namespace string) error

func (*Client) DumpInfo

func (cli *Client) DumpInfo(namespace string) error

func (*Client) GetServiceAccountToken

func (cli *Client) GetServiceAccountToken(namespace, name string) ([]byte, error)

func (*Client) InstantiateTemplate

func (cli *Client) InstantiateTemplate(srcTemplateName, dstNamespace string) error

type ClientSet

type ClientSet struct {
	Admin         *Client
	CustomerAdmin *Client
	EndUser       *Client
}

func NewClientSet

func NewClientSet(cs *internalapi.OpenShiftManagedCluster) (*ClientSet, error)

NewClientSet creates a new set of openshift clients scoped for different levels of access

Jump to

Keyboard shortcuts

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