affinity

package
v0.0.0-...-d7ecc2e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Merge

func Merge(dst *core.Affinity, src *core.Affinity) *core.Affinity

Merge merges from src into dst and returns dst

Types

type Affinity

type Affinity struct {
	// contains filtered or unexported fields
}

func New

func New(macro interfaces.IMacro, labeler interfaces.ILabeler) *Affinity

func (*Affinity) Make

func (a *Affinity) Make(template *api.PodTemplate) *core.Affinity

Make creates new Affinity struct

func (*Affinity) PreparePodTemplate

func (a *Affinity) PreparePodTemplate(podTemplate *api.PodTemplate, host *api.Host)

PreparePreparePodTemplate

Jump to

Keyboard shortcuts

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