Documentation ¶
Index ¶
- func CreateNamespace(k8sClient *corev1.CoreV1Client, name string) error
- func DeleteNamespace(k8sClient *corev1.CoreV1Client, name string) error
- type BrokerInstaller
- func (t *BrokerInstaller) Install(svcatCli *clientset.Clientset, broker *v1beta1.ServiceBroker) error
- func (t *BrokerInstaller) Name() string
- func (t *BrokerInstaller) Namespace() string
- func (t *BrokerInstaller) Uninstall(svcatCli *clientset.Clientset) error
- func (t *BrokerInstaller) WaitForBrokerRunning(svcatCli *clientset.Clientset) error
- type ClusterBrokerInstaller
- func (t *ClusterBrokerInstaller) Install(svcatCli *clientset.Clientset, broker *v1beta1.ClusterServiceBroker) error
- func (t *ClusterBrokerInstaller) Name() string
- func (t *ClusterBrokerInstaller) Namespace() string
- func (t *ClusterBrokerInstaller) Uninstall(svcatCli *clientset.Clientset) error
- func (t *ClusterBrokerInstaller) WaitForBrokerRunning(svcatCli *clientset.Clientset) error
- type PodInstaller
- func (t *PodInstaller) Create(k8sClient *corev1Type.CoreV1Client, pod *corev1.Pod) error
- func (t *PodInstaller) Delete(k8sClient *corev1Type.CoreV1Client) error
- func (t *PodInstaller) Name() string
- func (t *PodInstaller) Namespace() string
- func (t *PodInstaller) WaitForPodRunning(k8sClient *corev1Type.CoreV1Client) error
- type ServiceInstaller
- func (t *ServiceInstaller) Create(k8sClient *corev1Type.CoreV1Client, service *corev1.Service) error
- func (t *ServiceInstaller) Delete(k8sClient *corev1Type.CoreV1Client) error
- func (t *ServiceInstaller) Name() string
- func (t *ServiceInstaller) Namespace() string
- func (t *ServiceInstaller) WaitForEndpoint(k8sClient *corev1Type.CoreV1Client) error
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 (t *ClusterBrokerInstaller) Install(svcatCli *clientset.Clientset, broker *v1beta1.ClusterServiceBroker) error
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
Click to show internal directories.
Click to hide internal directories.