flytek8s

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Overview

Collection of shared utils for initializing kubernetes clients within flyteadmin.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRestClientConfig

func GetRestClientConfig(kubeConfig, master string,
	configuration runtimeInterfaces.ClusterConfiguration) (*restclient.Config, error)

Initializes a config using a variety of configurable or default fallback options that can be passed to a Kubernetes client on initialization.

func NewKubeClient

func NewKubeClient(kubeConfig, master string, configuration runtimeInterfaces.ClusterConfiguration) (client.Client, error)

Initializes a kubernetes Client which performs CRUD operations on Kubernetes objects

func RemoteClusterConfig

func RemoteClusterConfig(host string, auth runtimeInterfaces.Auth) (*restclient.Config, error)

Reads secret values from paths specified in the config to initialize a Kubernetes rest client Config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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