clients

package
v0.0.0-...-2c539bb Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: Apache-2.0 Imports: 7 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 GetDiscoveryClient

func GetDiscoveryClient() (*discovery.DiscoveryClient, error)

GetDiscoveryClient return a discovery client

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