package
0.40.0
Repository: https://github.com/radius-project/radius.git
Documentation: pkg.go.dev

# Packages

Package logstream is a generated GoMock package.
Package portforward is a generated GoMock package.

# Functions

EnsureNamespace checks if a namespace exists in a Kubernetes cluster and creates it if it doesn't, returning an error if it fails.
GetContextFromConfigFileIfExists attempts to load a Kubernetes context from a config file, and returns an error if the context is not found.
NewCLIClientConfig creates a new Kubernetes client config from the local configuration file using the given context name, with a default QPS and Burst.
NewClientset creates a new Kubernetes client and rest client config by context name.
NewDynamicClient creates a new dynamic client by context name, otherwise returns an error.
NewMockInterface creates a new mock instance.
NewRuntimeClient creates a kubernetes client using a given context and scheme.

# Variables

No description provided by the author

# Structs

No description provided by the author
MockInterface is a mock of Interface interface.
MockInterfaceDeleteNamespaceCall wrap *gomock.Call.
MockInterfaceGetKubeContextCall wrap *gomock.Call.
MockInterfaceMockRecorder is the mock recorder for MockInterface.

# Interfaces

go:generate mockgen -typed -destination=./mock_kubernetes.go -package=kubernetes -self_package github.com/radius-project/radius/pkg/cli/kubernetes github.com/radius-project/radius/pkg/cli/kubernetes Interface.