Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NamespaceConfigurer

type NamespaceConfigurer struct {
	NamePrefix string
	// contains filtered or unexported fields
}

func NewNamespace

func NewNamespace(name string, coreCli *corev1.CoreV1Client) *NamespaceConfigurer

func (*NamespaceConfigurer) Create

func (c *NamespaceConfigurer) Create(additionalLabels map[string]string) error

func (*NamespaceConfigurer) Delete

func (c *NamespaceConfigurer) Delete() error

func (*NamespaceConfigurer) Name

func (c *NamespaceConfigurer) Name() string

type Service

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

func NewService

func NewService(coreCli *corev1.CoreV1Client, name, namespace string) *Service

func (*Service) Create

func (self *Service) Create(spec v1.ServiceSpec) error

func (*Service) Delete

func (self *Service) Delete() error

type ServiceBrokerConfig

type ServiceBrokerConfig struct {
	Name      string `envconfig:"default=ns-helm-broker"`
	Namespace string `envconfig:"default=default"`
	URL       string `envconfig:"default=http://helm-broker.kyma-system.svc.cluster.local/cluster"`

	ServiceClassExternalName string   `envconfig:"default=testing"`
	ServicePlanExternalNames []string `envconfig:"default=full,minimal"`
}

type ServiceBrokerConfigurer

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

func NewServiceBroker

func NewServiceBroker(cfg ServiceBrokerConfig, svcatCli *clientset.Clientset, namespaceConfigurer *NamespaceConfigurer) *ServiceBrokerConfigurer

func (*ServiceBrokerConfigurer) Create

func (c *ServiceBrokerConfigurer) Create() error

func (*ServiceBrokerConfigurer) Delete

func (c *ServiceBrokerConfigurer) Delete() error

func (*ServiceBrokerConfigurer) WaitForReady

func (c *ServiceBrokerConfigurer) WaitForReady() error