autodetect

package
v5.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package autodetect is for auto-detecting traits from the environment (platform, APIs, ...).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoDetect

type AutoDetect interface {
	IsOpenshift() (bool, error)
}

AutoDetect provides an assortment of routines that auto-detect traits based on the runtime.

func New

func New(restConfig *rest.Config) (AutoDetect, error)

New creates a new auto-detection worker, using the given client when talking to the current cluster.

Jump to

Keyboard shortcuts

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