models

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K8sIoApimachineryPkgApisMetaV1LabelSelectorRequirement

type K8sIoApimachineryPkgApisMetaV1LabelSelectorRequirement struct {

	// key is the label key that the selector applies to.
	// +patchMergeKey=key
	// +patchStrategy=merge
	Key string `json:"key,omitempty"`

	// operator represents a key's relationship to a set of values.
	// Valid operators are In, NotIn, Exists and DoesNotExist.
	Operator string `json:"operator,omitempty"`

	// values is an array of string values. If the operator is In or NotIn,
	// the values array must be non-empty. If the operator is Exists or DoesNotExist,
	// the values array must be empty. This array is replaced during a strategic
	// merge patch.
	// +optional
	Values []string `json:"values"`
}

K8sIoApimachineryPkgApisMetaV1LabelSelectorRequirement A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

swagger:model k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement

func (*K8sIoApimachineryPkgApisMetaV1LabelSelectorRequirement) MarshalBinary

MarshalBinary interface implementation

func (*K8sIoApimachineryPkgApisMetaV1LabelSelectorRequirement) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1CommonBatchLabelSelector

type VmwareTanzuManageV1alpha1CommonBatchLabelSelector struct {

	// Match expressions is a list of label selector requirements, the requirements are ANDed.
	// Label selector requirements support 4 operators for matching labels - in, notin, exists and doesnotexist.
	MatchExpressions []*K8sIoApimachineryPkgApisMetaV1LabelSelectorRequirement `json:"matchExpressions"`
}

func (*VmwareTanzuManageV1alpha1CommonBatchLabelSelector) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1CommonBatchLabelSelector) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1CommonBatchSelector

type VmwareTanzuManageV1alpha1CommonBatchSelector struct {

	// List of target names to exclude.
	ExcludedNames []string `json:"excludedNames"`

	// Label based Selector.
	LabelSelector *VmwareTanzuManageV1alpha1CommonBatchLabelSelector `json:"labelSelector,omitempty"`

	// List of target names to include.
	Names []string `json:"names"`
}

VmwareTanzuManageV1alpha1CommonBatchSelector Selector to include/exclude specific targets.

swagger:model vmware.tanzu.manage.v1alpha1.common.batch.Selector

func (*VmwareTanzuManageV1alpha1CommonBatchSelector) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1CommonBatchSelector) UnmarshalBinary

UnmarshalBinary interface implementation

Jump to

Keyboard shortcuts

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