Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GqlServiceBindingUsageConverter ¶
type GqlServiceBindingUsageConverter interface { ToGQL(item *bindingUsageApi.ServiceBindingUsage) (*gqlschema.ServiceBindingUsage, error) ToGQLs(in []*bindingUsageApi.ServiceBindingUsage) ([]*gqlschema.ServiceBindingUsage, error) }
type PluggableContainer ¶
type PluggableContainer struct { *module.Pluggable Resolver Resolver ServiceCatalogAddonsRetriever *serviceCatalogAddonsRetriever // contains filtered or unexported fields }
func New ¶
func New(restConfig *rest.Config, informerResyncPeriod time.Duration, scRetriever shared.ServiceCatalogRetriever) (*PluggableContainer, error)
func (*PluggableContainer) Disable ¶
func (r *PluggableContainer) Disable() error
func (*PluggableContainer) Enable ¶
func (r *PluggableContainer) Enable() error
type Resolver ¶
type Resolver interface { CreateServiceBindingUsageMutation(ctx context.Context, namespace string, input *gqlschema.CreateServiceBindingUsageInput) (*gqlschema.ServiceBindingUsage, error) DeleteServiceBindingUsageMutation(ctx context.Context, serviceBindingUsageName, namespace string) (*gqlschema.DeleteServiceBindingUsageOutput, error) DeleteServiceBindingUsagesMutation(ctx context.Context, serviceBindingUsageNames []string, namespace string) ([]*gqlschema.DeleteServiceBindingUsageOutput, error) ServiceBindingUsageQuery(ctx context.Context, name, namespace string) (*gqlschema.ServiceBindingUsage, error) ServiceBindingUsagesQuery(ctx context.Context, namespace string, resourceKind, resourceName *string) ([]*gqlschema.ServiceBindingUsage, error) ServiceBindingUsagesOfInstanceQuery(ctx context.Context, instanceName, env string) ([]*gqlschema.ServiceBindingUsage, error) ServiceBindingUsageEventSubscription(ctx context.Context, namespace string, resourceKind, resourceName *string) (<-chan *gqlschema.ServiceBindingUsageEvent, error) ListUsageKinds(ctx context.Context, first *int, offset *int) ([]*gqlschema.UsageKind, error) ListBindableResources(ctx context.Context, namespace string) ([]*gqlschema.BindableResourcesOutputItem, error) AddonsConfigurationsQuery(ctx context.Context, namespace string, first *int, offset *int) ([]*gqlschema.AddonsConfiguration, error) CreateAddonsConfiguration(ctx context.Context, name, namespace string, repositories []*gqlschema.AddonsConfigurationRepositoryInput, urls []string, labels gqlschema.Labels) (*gqlschema.AddonsConfiguration, error) UpdateAddonsConfiguration(ctx context.Context, name, namespace string, repositories []*gqlschema.AddonsConfigurationRepositoryInput, urls []string, labels gqlschema.Labels) (*gqlschema.AddonsConfiguration, error) DeleteAddonsConfiguration(ctx context.Context, name, namespace string) (*gqlschema.AddonsConfiguration, error) AddAddonsConfigurationURLs(ctx context.Context, name, namespace string, urls []string) (*gqlschema.AddonsConfiguration, error) RemoveAddonsConfigurationURLs(ctx context.Context, name, namespace string, urls []string) (*gqlschema.AddonsConfiguration, error) AddAddonsConfigurationRepositories(ctx context.Context, name, namespace string, repositories []*gqlschema.AddonsConfigurationRepositoryInput) (*gqlschema.AddonsConfiguration, error) RemoveAddonsConfigurationRepositories(ctx context.Context, name, namespace string, urls []string) (*gqlschema.AddonsConfiguration, error) ResyncAddonsConfiguration(ctx context.Context, name, namespace string) (*gqlschema.AddonsConfiguration, error) AddonsConfigurationEventSubscription(ctx context.Context, namespace string) (<-chan *gqlschema.AddonsConfigurationEvent, error) ClusterAddonsConfigurationsQuery(ctx context.Context, first *int, offset *int) ([]*gqlschema.AddonsConfiguration, error) CreateClusterAddonsConfiguration(ctx context.Context, name string, repositories []*gqlschema.AddonsConfigurationRepositoryInput, urls []string, labels gqlschema.Labels) (*gqlschema.AddonsConfiguration, error) UpdateClusterAddonsConfiguration(ctx context.Context, name string, repositories []*gqlschema.AddonsConfigurationRepositoryInput, urls []string, labels gqlschema.Labels) (*gqlschema.AddonsConfiguration, error) DeleteClusterAddonsConfiguration(ctx context.Context, name string) (*gqlschema.AddonsConfiguration, error) AddClusterAddonsConfigurationURLs(ctx context.Context, name string, urls []string) (*gqlschema.AddonsConfiguration, error) RemoveClusterAddonsConfigurationURLs(ctx context.Context, name string, urls []string) (*gqlschema.AddonsConfiguration, error) AddClusterAddonsConfigurationRepositories(ctx context.Context, name string, repositories []*gqlschema.AddonsConfigurationRepositoryInput) (*gqlschema.AddonsConfiguration, error) RemoveClusterAddonsConfigurationRepositories(ctx context.Context, name string, urls []string) (*gqlschema.AddonsConfiguration, error) ResyncClusterAddonsConfiguration(ctx context.Context, name string) (*gqlschema.AddonsConfiguration, error) ClusterAddonsConfigurationEventSubscription(ctx context.Context) (<-chan *gqlschema.ClusterAddonsConfigurationEvent, error) }
type ServiceBindingUsageLister ¶
type ServiceBindingUsageLister interface { ListByUsageKind(namespace, kind, resourceName string) ([]*bindingUsageApi.ServiceBindingUsage, error) DeleteAllByUsageKind(namespace, kind, resourceName string) error }
Source Files ¶
- addonsconfiguration_converter.go
- addonsconfiguration_resolver.go
- addonsconfiguration_service.go
- bindableresources_resolver.go
- clusteraddonsconfiguration_converter.go
- clusteraddonsconfiguration_resolver.go
- clusteraddonsconfiguration_service.go
- servicebindingusage_converter.go
- servicebindingusage_resolver.go
- servicebindingusage_service.go
- servicecatalogaddons.go
- usagekind_converter.go
- usagekind_resolver.go
- usagekind_service.go
Click to show internal directories.
Click to hide internal directories.