backend

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2022 License: Apache-2.0 Imports: 25 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

	ClientConfig        *rest.Config
	BindClient          *bindclient.Clientset
	KubeClient          *kubernetesclient.Clientset
	ApiextensionsClient *apiextensionsclient.Clientset

	KubeInformers          kubeinformers.SharedInformerFactory
	BindInformers          bindinformers.SharedInformerFactory
	ApiextensionsInformers apiextensionsinformers.SharedInformerFactory
}

func NewConfig

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

type Controllers

type Controllers struct {
	ClusterBinding       *clusterbinding.Controller
	ServiceNamespace     *servicenamespace.Controller
	ServiceExport        *serviceexport.Controller
	ServiceExportRequest *serviceexportrequest.Controller
}

type Server

type Server struct {
	Config *Config

	OIDC       *examplehttp.OIDCServiceProvider
	Kubernetes *examplekube.Manager
	WebServer  *examplehttp.Server

	Controllers
}

func NewServer

func NewServer(config *Config) (*Server, error)

func (*Server) Addr

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

func (*Server) OptionallyStartInformers

func (s *Server) OptionallyStartInformers(ctx context.Context)

func (*Server) Run

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

Jump to

Keyboard shortcuts

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