clients

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 9 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 added in v1.2.4

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