configurer

package
v0.0.0-...-face4fc Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

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