Struct kubeclient::clients::KubeClient [] [src]

pub struct KubeClient<R> { /* fields omitted */ }

Methods

impl<R> KubeClient<R>
[src]

[src]

Get a kubernetes client that uses a specific namespace

impl KubeClient<Deployment>
[src]

[src]

Scale a deployment to a specific number of pods

Examples

let kube = Kubernetes::load_conf("admin.conf")?;
kube.deployments().scale("web-server", 7)?;

Trait Implementations

impl<R: Resource> ReadClient for KubeClient<R>
[src]

[src]

Indicates whether or not the named resource exists in the Kubernetes cluster Read more

[src]

Gets the named resource Read more

impl<R: ListableResource> ListClient for KubeClient<R>
[src]

[src]

Lists resources of a particular type Read more

impl<R: Resource> WriteClient for KubeClient<R>
[src]

[src]

Creates the named resource Read more

[src]

Deleteds the named resource Read more