policy

package
v0.0.0-...-2735486 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Method

type Method string
const (
	Override Method = "override"
	Append   Method = "append"
)

func (*Method) Validate

func (m *Method) Validate() error

type Policy

type Policy struct {
	// Method defines the merge method
	// +doc/enum: override|Overrides values during configuration merge
	// +doc/enum: append|Appends, if possible, values during configuration merge
	Method *Method `json:"method,omitempty"`
}

func (*Policy) DeepCopy

func (in *Policy) DeepCopy() *Policy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.

func (*Policy) DeepCopyInto

func (in *Policy) DeepCopyInto(out *Policy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Policy) GetMethod

func (m *Policy) GetMethod(d Method) Method

func (*Policy) Validate

func (m *Policy) Validate() error

Jump to

Keyboard shortcuts

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