lib

package
v1.6.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 14 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
	// ForceDownload defines if the download should happen even if the swagger file already exists
	ForceDownload bool
	// SwaggerDir defines where the swagger file should be saved. If empty, a temporary directory will be created and used.
	SwaggerDir  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