context

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const ClientStateKey = OctantClientState("clientState")
View Source
const KubeConfigKey = OctantContextKey("kubeConfigPath")

Variables

This section is empty.

Functions

func KubeConfigChFrom

func KubeConfigChFrom(ctx context.Context) chan string

func WithClientState added in v0.19.0

func WithClientState(ctx context.Context, state ClientState) context.Context

func WithKubeConfigCh

func WithKubeConfigCh(ctx context.Context) context.Context

Types

type ClientState added in v0.19.0

type ClientState struct {
	ClientID    string          `json:"clientID"`
	Filters     []octant.Filter `json:"filters"`
	Namespace   string          `json:"namespace"`
	ContextName string          `json:"contextName"`
}

func ClientStateFrom added in v0.19.0

func ClientStateFrom(ctx context.Context) ClientState

type OctantClientState added in v0.19.0

type OctantClientState string

type OctantContextKey

type OctantContextKey string

Jump to

Keyboard shortcuts

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