View Source K8s.Client.DynamicWebSocketProvider (k8s v1.2.0)

Used internally by the test suite for testing/mocking Kubernetes websocket responses.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Starts this provider.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec init(atom()) :: {:ok, map()}

Callback implementation for GenServer.init/1.

Link to this function

request(url, insecure, ssl_options, cacerts, headers, opts)

View Source
@spec request(
  String.t(),
  boolean(),
  keyword(atom()),
  keyword(binary()),
  keyword(tuple()),
  keyword(atom())
) :: {:ok, pid()} | {:error, binary()}

Handle a request/6.

@spec start_link(any()) :: GenServer.on_start()

Starts this provider.