Documentation ¶
Index ¶
- Variables
- type Container
- func (c *Container) HTTPServeMux() *httpx.ServeMux
- func (c *Container) HTTPServer() *http.Server
- func (c *Container) K8sHTTPClient() *http.Client
- func (c *Container) K8sHTTPProxy() *proxy.HTTP
- func (c *Container) K8sRestConfig() *rest.Config
- func (c *Container) RESTClientFactory() *kube.DefaultRESTClientFactory
- func (c *Container) RESTConfigFactory() *kube.DefaultRESTConfigFactory
- type ContainerFactoryFunc
- type Parameters
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 (*Container) HTTPServer ¶
func (*Container) K8sHTTPClient ¶
func (*Container) K8sHTTPProxy ¶
func (*Container) K8sRestConfig ¶
func (*Container) RESTClientFactory ¶
func (c *Container) RESTClientFactory() *kube.DefaultRESTClientFactory
func (*Container) RESTConfigFactory ¶
func (c *Container) RESTConfigFactory() *kube.DefaultRESTConfigFactory
type ContainerFactoryFunc ¶
type Parameters ¶
type Parameters struct { APIServerTimeout time.Duration APIServerHost string APIServerPort uint16 APIAllowedOrigins []string Config config.Config KubeconfigPath string }
func NewDefaultParameters ¶
func NewDefaultParameters() Parameters
Click to show internal directories.
Click to hide internal directories.