View Source K8s.Client.Runner.StreamTo (k8s v2.0.0-rc.2)
Takes a K8s.Client.list/3
operation and returns an Elixir Stream
of resources.
Link to this section Summary
Functions
Validates operation type before calling stream/3
. Only supports verbs: list_all_namespaces
and list
.
Link to this section Functions
@spec run(K8s.Operation.t(), stream_to :: pid()) :: K8s.Client.Provider.stream_to_response_t()
Validates operation type before calling stream/3
. Only supports verbs: list_all_namespaces
and list
.
@spec run(K8s.Operation.t(), keyword(), stream_to :: pid()) :: K8s.Client.Provider.stream_to_response_t()
@spec run(K8s.Conn.t(), K8s.Operation.t(), stream_to :: pid()) :: K8s.Client.Provider.stream_to_response_t()
@spec run(K8s.Conn.t(), K8s.Operation.t(), keyword(), stream_to :: pid()) :: K8s.Client.Provider.stream_to_response_t()