app

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCannotCreateContainer = fmt.Errorf("cannot create container")

Functions

This section is empty.

Types

type Container

type Container struct {
	Parameters
	// contains filtered or unexported fields
}

func NewContainer

func NewContainer() *Container

func (*Container) HTTPServeMux

func (c *Container) HTTPServeMux() *httpx.ServeMux

func (*Container) HTTPServer

func (c *Container) HTTPServer() *http.Server

func (*Container) K8sHTTPClient

func (c *Container) K8sHTTPClient() *http.Client

func (*Container) K8sHTTPProxy

func (c *Container) K8sHTTPProxy() *proxy.HTTP

func (*Container) K8sRestConfig

func (c *Container) K8sRestConfig() *rest.Config

func (*Container) RESTClientFactory

func (c *Container) RESTClientFactory() *kube.DefaultRESTClientFactory

func (*Container) RESTConfigFactory

func (c *Container) RESTConfigFactory() *kube.DefaultRESTConfigFactory

type ContainerFactoryFunc

type ContainerFactoryFunc func() (*Container, error)

type Parameters

type Parameters struct {
	APIServerTimeout  time.Duration
	APIServerHost     string
	APIServerPort     uint16
	APIAllowedOrigins []string
	Config            config.Config
	KubeconfigPath    string
}

func NewDefaultParameters

func NewDefaultParameters() Parameters

Jump to

Keyboard shortcuts

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