installer

package
v0.0.0-...-1ac4f16 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNamespace

func CreateNamespace(k8sClient *corev1.CoreV1Client, name string) error

func DeleteNamespace

func DeleteNamespace(k8sClient *corev1.CoreV1Client, name string) error

Types

type BrokerInstaller

type BrokerInstaller struct {
	// contains filtered or unexported fields
}

func NewBroker

func NewBroker(name, namespace string) *BrokerInstaller

func (*BrokerInstaller) Install

func (t *BrokerInstaller) Install(svcatCli *clientset.Clientset, broker *v1beta1.ServiceBroker) error

func (*BrokerInstaller) Name

func (t *BrokerInstaller) Name() string

func (*BrokerInstaller) Namespace

func (t *BrokerInstaller) Namespace() string

func (*BrokerInstaller) Uninstall

func (t *BrokerInstaller) Uninstall(svcatCli *clientset.Clientset) error

func (*BrokerInstaller) WaitForBrokerRunning

func (t *BrokerInstaller) WaitForBrokerRunning(svcatCli *clientset.Clientset) error

type ClusterBrokerInstaller

type ClusterBrokerInstaller struct {
	// contains filtered or unexported fields
}

func NewClusterBroker

func NewClusterBroker(name, namespace string) *ClusterBrokerInstaller

func (*ClusterBrokerInstaller) Install

func (*ClusterBrokerInstaller) Name

func (t *ClusterBrokerInstaller) Name() string

func (*ClusterBrokerInstaller) Namespace

func (t *ClusterBrokerInstaller) Namespace() string

func (*ClusterBrokerInstaller) Uninstall

func (t *ClusterBrokerInstaller) Uninstall(svcatCli *clientset.Clientset) error

func (*ClusterBrokerInstaller) WaitForBrokerRunning

func (t *ClusterBrokerInstaller) WaitForBrokerRunning(svcatCli *clientset.Clientset) error

type PodInstaller

type PodInstaller struct {
	// contains filtered or unexported fields
}

func NewPod

func NewPod(name, namespace string) *PodInstaller

func (*PodInstaller) Create

func (t *PodInstaller) Create(k8sClient *corev1Type.CoreV1Client, pod *corev1.Pod) error

func (*PodInstaller) Delete

func (t *PodInstaller) Delete(k8sClient *corev1Type.CoreV1Client) error

func (*PodInstaller) Name

func (t *PodInstaller) Name() string

func (*PodInstaller) Namespace

func (t *PodInstaller) Namespace() string

func (*PodInstaller) WaitForPodRunning

func (t *PodInstaller) WaitForPodRunning(k8sClient *corev1Type.CoreV1Client) error

type ServiceInstaller

type ServiceInstaller struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(name, namespace string) *ServiceInstaller

func (*ServiceInstaller) Create

func (t *ServiceInstaller) Create(k8sClient *corev1Type.CoreV1Client, service *corev1.Service) error

func (*ServiceInstaller) Delete

func (t *ServiceInstaller) Delete(k8sClient *corev1Type.CoreV1Client) error

func (*ServiceInstaller) Name

func (t *ServiceInstaller) Name() string

func (*ServiceInstaller) Namespace

func (t *ServiceInstaller) Namespace() string

func (*ServiceInstaller) WaitForEndpoint

func (t *ServiceInstaller) WaitForEndpoint(k8sClient *corev1Type.CoreV1Client) error

Jump to

Keyboard shortcuts

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