handler

package
v0.0.0-...-62f1e2c Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateConfigmap

func UpdateConfigmap(ctx context.Context, client client.Client, apiFromRequest DeprecatedObjectList) error

Types

type DeprecatedObject

type DeprecatedObject struct {
	Name          string   `json:"name"`
	Namespace     string   `json:"namespace,omitempty"`
	RequesterList []string `json:"requesterList"`
}

type DeprecatedObjectList

type DeprecatedObjectList struct {
	Group   string             `json:"group"`
	Version string             `json:"version"`
	Kind    string             `json:"kind"`
	Objects []DeprecatedObject `json:"objects"`
}

func AddtoReport

func AddtoReport(apiReport []DeprecatedObjectList, pendingApi DeprecatedObjectList) []DeprecatedObjectList

type Recorder

type Recorder struct {
	Client     client.Client
	Namespaces []string
	// contains filtered or unexported fields
}

func (*Recorder) Handle

Handle will record deprecated resources

Jump to

Keyboard shortcuts

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