Documentation ¶
Index ¶
Constants ¶
View Source
const ( // NamespacedBrokerName name of the namespaced Service Broker NamespacedBrokerName = "application-broker" // BrokerLabelKey key of the namespaced Service Broker label BrokerLabelKey = "namespaced-application-broker" // BrokerLabelValue value of the namespaced Service Broker label BrokerLabelValue = "true" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Facade ¶
type Facade struct {
// contains filtered or unexported fields
}
Facade is responsible for creation k8s objects for namespaced broker
func NewFacade ¶
func NewFacade(brokerGetter scbeta.ServiceBrokersGetter, servicesGetter typedCorev1.ServicesGetter, brokerSyncer brokerSyncer, workingNamespace, abSelectorKey, abSelectorValue string, serviceName string, abTargetPort int32, log logrus.FieldLogger) *Facade
NewFacade returns facade
func (*Facade) Create ¶
Create creates ServiceBroker. Errors don't stop execution of method. AlreadyExist errors are ignored.
type MigrationService ¶
type MigrationService struct {
// contains filtered or unexported fields
}
MigrationService performs migration from old setup - one service per servicebroker to current solution
func NewMigrationService ¶
func NewMigrationService(serviceInterface typedCorev1.ServicesGetter, brokerGetter scbeta.ServiceBrokersGetter, workingNamespace, serviceName string, log logrus.FieldLogger) (*MigrationService, error)
NewMigrationService creates new MigrationService instance
func (*MigrationService) Migrate ¶
func (s *MigrationService) Migrate()
Migrate performs the migration
Click to show internal directories.
Click to hide internal directories.