{"modulePath":"github.com/fluid-cloudnative/fluid","version":"v1.0.8","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package nodeaffinitywithcache\n\n## Constants\n\n```go\nconst Name = \"NodeAffinityWithCache\"\n```\n\n## Functions\n\n```go\nfunc NewPlugin(c client.Client, args string) (api.MutatingHandler, error)\n```\n\n## Types\n\n```go\ntype NodeAffinityWithCache struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (p *NodeAffinityWithCache) GetName() string\n```\n\n```go\nfunc (p *NodeAffinityWithCache) GetTieredLocality() *TieredLocality\n```\n\n```go\nfunc (p *NodeAffinityWithCache) Mutate(pod *corev1.Pod, runtimeInfos map[string]base.RuntimeInfoInterface) (shouldStop bool, err error)\n```\n\n```go\ntype Preferred struct {\n\tName   string `yaml:\"name\"`\n\tWeight int32  `yaml:\"weight\"`\n}\n```\n\n```go\ntype TieredLocality struct {\n\tPreferred []Preferred `yaml:\"preferred\"`\n\tRequired  []string    `yaml:\"required\"`\n}\n```\n\n","path":"github.com/fluid-cloudnative/fluid/pkg/webhook/plugins/nodeaffinitywithcache","name":"nodeaffinitywithcache","synopsis":"","isRedistributable":true}
