manifestset

package
v0.0.41101 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManifestResultSet

type ManifestResultSet struct {
	MachineConfig *mcov1.MachineConfig
	KubeletConfig *mcov1.KubeletConfig
	Tuned         *tunedv1.Tuned
	RuntimeClass  *nodev1beta1.RuntimeClass
}

ManifestResultSet contains all component's instances that should be created according to performance-profile

func GetNewComponents

func GetNewComponents(profile *performancev2.PerformanceProfile, profileMCP *mcov1.MachineConfigPool) (*ManifestResultSet, error)

GetNewComponents return a list of all component's instances that should be created according to profile

func (*ManifestResultSet) ToManifestTable

func (ms *ManifestResultSet) ToManifestTable() ManifestTable

ToManifestTable return a map with Kind name as key and component's instance as value

func (*ManifestResultSet) ToObjects

func (ms *ManifestResultSet) ToObjects() []metav1.Object

ToObjects return a list of all manifests converted to objects

type ManifestTable

type ManifestTable map[string]interface{}

ManifestTable is map with Kind name as key and component's instance as value

Jump to

Keyboard shortcuts

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