backend

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Options *options.CompletedOptions

	Provider                 multicluster.Provider
	ExternalAddressGenerator kuberesources.ExternalAddressGeneratorFunc

	Manager mcmanager.Manager
	Scheme  *runtime.Scheme

	ClientConfig *rest.Config
}

func NewConfig

func NewConfig(options *options.CompletedOptions) (*Config, error)

type Controllers

type Controllers struct {
	ServiceExportRBAC        *serviceexportrbac.APIServiceExportRBACReconciler
	ClusterBinding           *clusterbinding.ClusterBindingReconciler
	ServiceExport            *serviceexport.APIServiceExportReconciler
	ServiceExportRequest     *serviceexportrequest.APIServiceExportRequestReconciler
	ServiceNamespace         *servicenamespace.APIServiceNamespaceReconciler
	Cluster                  *cluster.ClusterReconciler
	BindableResourcesRequest *bindableresourcesrequest.BindableResourcesRequestReconciler

	// Provider specific controllers - only set when provider is "kcp"
	APIBindingTemplate *apibindingtemplate.APIBindingTemplateReconciler
	APIResourceSchema  *apiresourceschema.APIResourceSchemaReconciler
}

type Server

type Server struct {
	Config *Config

	OIDC *auth.OIDCServiceProvider

	Kubernetes *kube.Manager
	WebServer  *http.Server

	Controllers
	// contains filtered or unexported fields
}

func NewServer

func NewServer(ctx context.Context, c *Config) (*Server, error)

func (*Server) Addr

func (s *Server) Addr() net.Addr

func (*Server) GetOIDCProvider added in v0.6.0

func (s *Server) GetOIDCProvider(ctx context.Context) (*auth.OIDCServiceProvider, error)

func (*Server) Run

func (s *Server) Run(ctx context.Context) error

Directories

Path Synopsis
provider
kcp
kcp/controllers/apibindingtemplate
Package apibindingtemplate contains a kcp-specific controller that watches APIBindings in provider/backend workspaces and automatically creates or updates APIServiceExportTemplates based on the APIResourceSchemas exposed by each bound APIExport.
Package apibindingtemplate contains a kcp-specific controller that watches APIBindings in provider/backend workspaces and automatically creates or updates APIServiceExportTemplates based on the APIResourceSchemas exposed by each bound APIExport.
kcp/controllers/apiresourceschema
Package apiresourceschema contains a kcp-specific controller that watches APIServiceExportTemplates and copies the corresponding APIResourceSchemas into the workspace so that the serviceexportrequest controller can find them.
Package apiresourceschema contains a kcp-specific controller that watches APIServiceExportTemplates and copies the corresponding APIResourceSchemas into the workspace so that the serviceexportrequest controller can find them.
kcp/controllers/shared
Package shared provides utilities shared across kcp controllers.
Package shared provides utilities shared across kcp controllers.

Jump to

Keyboard shortcuts

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