models

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MPL-2.0 Imports: 2 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 VmwareTanzuManageV1alpha1CommonBatchDetails

type VmwareTanzuManageV1alpha1CommonBatchDetails struct {

	// Number of atomic targets on which this source resource is successfully applied.
	Applied int32 `json:"applied,omitempty"`

	// Total number of targets available for this source resource.
	AvailableTargets int32 `json:"availableTargets,omitempty"`

	// Number of atomic targets on which this source resource is currently being deleted (only applicable on some source resource types).
	Deleting int32 `json:"deleting,omitempty"`

	// Number of atomic targets on which this source resource failed to apply due to some error.
	Error int32 `json:"error,omitempty"`

	// Number of atomic targets on which this source resource is overridden by another resource.
	Overridden int32 `json:"overridden,omitempty"`

	// Number of atomic targets on which this source resource is still being applied.
	Pending int32 `json:"pending,omitempty"`

	// Number of atomic targets on which this source resource is not applied because they don't match the provided selectors.
	Skipped int32 `json:"skipped,omitempty"`
}

VmwareTanzuManageV1alpha1CommonBatchDetails Details contains information about a source resource being applied on its atomic targets.

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

func (*VmwareTanzuManageV1alpha1CommonBatchDetails) MarshalBinary

func (m *VmwareTanzuManageV1alpha1CommonBatchDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1CommonBatchDetails) UnmarshalBinary

func (m *VmwareTanzuManageV1alpha1CommonBatchDetails) UnmarshalBinary(b []byte) error

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"`
}

VmwareTanzuManageV1alpha1CommonBatchLabelSelector Label Selector.

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

func (*VmwareTanzuManageV1alpha1CommonBatchLabelSelector) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1CommonBatchLabelSelector) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1CommonBatchPhase

type VmwareTanzuManageV1alpha1CommonBatchPhase string

VmwareTanzuManageV1alpha1CommonBatchPhase Phase of the source resource application on its atomic targets. Note: The phase can move back to Pending from Applied when there are additions to the list of available atomic targets. In such a case, the system will automatically try to apply the changes to the new targets to get back to the Applied state.

  • PHASE_UNSPECIFIED: UNSPECIFIED phase.
  • PENDING: PENDING phase is set when source resource is currently being applied on at least one atomic target.
  • APPLIED: APPLIED phase is set when source resource is successfully applied or skipped due to an override on all atomic targets.
  • ERROR: ERROR phase is set when source resource has failed to apply on at-least one atomic target (not considering overrides).
  • DELETING: DELETING phase is set when source resource is being deleted (only applicable on some source resource types).

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

const (

	// VmwareTanzuManageV1alpha1CommonBatchPhasePHASEUNSPECIFIED captures enum value "PHASE_UNSPECIFIED".
	VmwareTanzuManageV1alpha1CommonBatchPhasePHASEUNSPECIFIED VmwareTanzuManageV1alpha1CommonBatchPhase = "PHASE_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1CommonBatchPhasePENDING captures enum value "PENDING".
	VmwareTanzuManageV1alpha1CommonBatchPhasePENDING VmwareTanzuManageV1alpha1CommonBatchPhase = "PENDING"

	// VmwareTanzuManageV1alpha1CommonBatchPhaseAPPLIED captures enum value "APPLIED".
	VmwareTanzuManageV1alpha1CommonBatchPhaseAPPLIED VmwareTanzuManageV1alpha1CommonBatchPhase = "APPLIED"

	// VmwareTanzuManageV1alpha1CommonBatchPhaseERROR captures enum value "ERROR".
	VmwareTanzuManageV1alpha1CommonBatchPhaseERROR VmwareTanzuManageV1alpha1CommonBatchPhase = "ERROR"

	// VmwareTanzuManageV1alpha1CommonBatchPhaseDELETING captures enum value "DELETING".
	VmwareTanzuManageV1alpha1CommonBatchPhaseDELETING VmwareTanzuManageV1alpha1CommonBatchPhase = "DELETING"
)

func (VmwareTanzuManageV1alpha1CommonBatchPhase) Pointer

Pointer returns a pointer to a freshly-allocated VmwareTanzuManageV1alpha1CommonBatchPhase.

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