Struct kubewatch::Cluster [] [src]

pub struct Cluster { /* fields omitted */ }

Represents connection to Kubernetes API server.

Methods

impl Cluster
[src]

Initialize Cluster with host address and port (e.g. http://127.0.0.1:8080).

let cluster = kubewatch::Cluster::new("http://127.0.0.1:8080").unwrap();

Trait Implementations

impl Debug for Cluster
[src]

Formats the value using the given formatter.

impl Events for Cluster
[src]

Read event monitor from Kubernetes API server.

Read monitor of events with given name and return them as given Event structure.

Helper which reads a byte iterator, deserializes it and return respective structures.