controllercontext

package
v0.23.4 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContext

func NewContext(ctx context.Context, c Context) context.Context

Types

type Context

type Context struct {
	Client ContextClient
	Status ContextStatus
}

func FromContext

func FromContext(ctx context.Context) (*Context, error)

type ContextClient

type ContextClient struct {
	TenantCluster ContextClientTenantCluster
}

type ContextClientTenantCluster

type ContextClientTenantCluster struct {
	G8s versioned.Interface
	K8s kubernetes.Interface
}

type ContextStatus

type ContextStatus struct {
	TenantCluster ContextStatusTenantCluster
	Worker        ContextStatusWorker
}

type ContextStatusTenantCluster added in v0.23.1

type ContextStatusTenantCluster struct {
	IsUnavailable bool
}

type ContextStatusWorker

type ContextStatusWorker struct {
	Nodes int
}

Jump to

Keyboard shortcuts

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