k8sclient

package
v0.0.1-pre Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package k8sclient enables in-cluster interaction with Kubernetes API server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Iter8K8s

type Iter8K8s struct{}

Iter8K8s is an implementation of the K8s interface.

func (*Iter8K8s) GetClient

func (k *Iter8K8s) GetClient() (client.Client, error)

GetClient constructs and returns an controller-runtime client.

type K8s

type K8s interface {
	GetClient() (client.Client, error)
}

K8s interface enables getting a k8s client.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL