clients

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDiscoverMapper

func GetDiscoverMapper() (discoverymapper.DiscoveryMapper, error)

GetDiscoverMapper get discover mapper

func GetKubeClient

func GetKubeClient() (client.Client, error)

GetKubeClient create and return kube runtime client

func GetKubeConfig

func GetKubeConfig() (*rest.Config, error)

GetKubeConfig create/get kube runtime config

func GetPackageDiscover

func GetPackageDiscover() (*packages.PackageDiscover, error)

GetPackageDiscover get package discover

func SetKubeClient

func SetKubeClient(c client.Client)

SetKubeClient for test

Types

This section is empty.

Jump to

Keyboard shortcuts

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