nfd

package
v0.18.3 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manifests

type Manifests struct {
	Namespace          *corev1.Namespace
	SATopologyUpdater  *corev1.ServiceAccount
	CRTopologyUpdater  *rbacv1.ClusterRole
	CRBTopologyUpdater *rbacv1.ClusterRoleBinding
	DSTopologyUpdater  *appsv1.DaemonSet
	// contains filtered or unexported fields
}

func GetManifests

func GetManifests(plat platform.Platform, namespace string) (Manifests, error)

func New

func New(plat platform.Platform) Manifests

func (Manifests) Clone

func (mf Manifests) Clone() Manifests

func (Manifests) Render

func (mf Manifests) Render(options RenderOptions) (Manifests, error)

func (Manifests) ToObjects

func (mf Manifests) ToObjects() []client.Object

type RenderOptions

type RenderOptions struct {
	DaemonSet objectupdate.DaemonSetOptions

	// Deployment option
	Replicas int32

	// General options
	Namespace string
}

Jump to

Keyboard shortcuts

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