client

package
v0.0.0-...-b80afe7 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package client provides Kubernetes client abstraction.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clients

type Clients interface {
	// Kubernetes returns a typed client for Kubernetes resources.
	Kubernetes() kubernetes.Interface

	// Broker returns a typed client for service broker resources.
	Broker() servicebroker.Interface

	// Dynamic returns a dynamic client for Kubernetes resources.
	Dynamic() dynamic.Interface

	// RESTMapper returns a REST mapps for Kubernetes resources, able to translate
	// a resource type into a API endpoint.
	RESTMapper() meta.RESTMapper
}

Clients provides an abstraction layer for service broker Kubernetes client interfaces.

func New

func New() (Clients, error)

New returns a new set of clients for use in-cluster. This requires that the container has an API service token mounted.

Jump to

Keyboard shortcuts

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