openshift

package
v5.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 52 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(log *logrus.Entry, cs *internalapi.OpenShiftManagedCluster) (*Client, error)

func NewCustomerAdminClient

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

func NewEndUserClient

func NewEndUserClient(log *logrus.Entry, 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

InstantiateTemplate gets an openshift template and instantiates it

func (*Client) InstantiateTemplateFromBytes

func (cli *Client) InstantiateTemplateFromBytes(yamldata []byte, dstNamespace string, parameters map[string]string) error

InstantiateTemplateFromBytes instantiates an openshift template from a byte slice

type ClientSet

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

func NewClientSet

func NewClientSet(log *logrus.Entry, 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