Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KubeConfigFake ¶ added in v0.0.52
func KubeConfigFake() *clientcmdapi.Config
func WriteObject ¶
func WriteObject(w http.ResponseWriter, obj runtime.Object)
Types ¶
type InOpenShiftHandler ¶ added in v0.0.52
type InOpenShiftHandler struct { }
func (*InOpenShiftHandler) ServeHTTP ¶ added in v0.0.52
func (h *InOpenShiftHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)
type McpClient ¶ added in v0.0.52
func NewMcpClient ¶ added in v0.0.52
func NewMcpClient(t *testing.T, mcpHttpServer *server.StreamableHTTPServer) *McpClient
type MockServer ¶
type MockServer struct {
// contains filtered or unexported fields
}
func NewMockServer ¶
func NewMockServer() *MockServer
func (*MockServer) Close ¶
func (m *MockServer) Close()
func (*MockServer) Config ¶
func (m *MockServer) Config() *rest.Config
func (*MockServer) Handle ¶
func (m *MockServer) Handle(handler http.Handler)
func (*MockServer) Kubeconfig ¶ added in v0.0.52
func (m *MockServer) Kubeconfig() *api.Config
func (*MockServer) KubeconfigFile ¶ added in v0.0.52
func (m *MockServer) KubeconfigFile(t *testing.T) string
type StreamContext ¶
type StreamContext struct { Closer io.Closer StdinStream io.ReadCloser StdoutStream io.WriteCloser StderrStream io.WriteCloser // contains filtered or unexported fields }
func CreateHTTPStreams ¶
func CreateHTTPStreams(w http.ResponseWriter, req *http.Request, opts *StreamOptions) (*StreamContext, error)
Click to show internal directories.
Click to hide internal directories.