lib

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// GeneratedStore defines that the new GeneratedStore should be used. This variable should
	// either be a URL (http/s) or a local file location
	GeneratedStore string

	// K8sVersion defines what is the Kubernetes version that the validation should target.
	// Should be on the Kubernetes semver format: v1.24.5
	K8sVersion string

	Input       string
	ConfigFlags *genericclioptions.ConfigFlags
}

Config configuration object for Kubepug configurations for kubernetes and for kubepug functionality

type Kubepug

type Kubepug struct {
	Config *Config
}

Kubepug defines a kubepug instance to be used

func NewKubepug

func NewKubepug(config *Config) (*Kubepug, error)

NewKubepug returns a new kubepug library

func (*Kubepug) GetDeprecated

func (k *Kubepug) GetDeprecated() (result *results.Result, err error)

GetDeprecated returns the list of deprecated APIs

Jump to

Keyboard shortcuts

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