Documentation ¶
Index ¶
Constants ¶
View Source
const ClientStateKey = OctantClientState("clientState")
View Source
const KubeConfigKey = OctantContextKey("kubeConfigPath")
Variables ¶
This section is empty.
Functions ¶
func KubeConfigChFrom ¶
func WithClientState ¶ added in v0.19.0
func WithClientState(ctx context.Context, state ClientState) 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
Click to show internal directories.
Click to hide internal directories.