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 ¶
func (m *K8sIoApimachineryPkgApisMetaV1LabelSelectorRequirement) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*K8sIoApimachineryPkgApisMetaV1LabelSelectorRequirement) UnmarshalBinary ¶
func (m *K8sIoApimachineryPkgApisMetaV1LabelSelectorRequirement) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuCoreV1alpha1ObjectType ¶
type VmwareTanzuCoreV1alpha1ObjectType struct { // Kind of the type. Kind string `json:"kind,omitempty"` // Package of the type. Package string `json:"package,omitempty"` // Version of the type. Version string `json:"version,omitempty"` }
VmwareTanzuCoreV1alpha1ObjectType Holds general type metadatas.
swagger:model vmware.tanzu.core.v1alpha1.object.Type
func (*VmwareTanzuCoreV1alpha1ObjectType) MarshalBinary ¶
func (m *VmwareTanzuCoreV1alpha1ObjectType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuCoreV1alpha1ObjectType) UnmarshalBinary ¶
func (m *VmwareTanzuCoreV1alpha1ObjectType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuManageV1alpha1CommonPolicyLabelSelector ¶
type VmwareTanzuManageV1alpha1CommonPolicyLabelSelector 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"` }
VmwareTanzuManageV1alpha1CommonPolicyLabelSelector Label Selector.
swagger:model vmware.tanzu.manage.v1alpha1.common.policy.LabelSelector
func (*VmwareTanzuManageV1alpha1CommonPolicyLabelSelector) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicyLabelSelector) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1CommonPolicyLabelSelector) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicyLabelSelector) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuManageV1alpha1CommonPolicySpec ¶
type VmwareTanzuManageV1alpha1CommonPolicySpec struct { // Inputs needed for the selected policy recipe. // To find the required inputs, check the input schema of the selected policy recipe. Input interface{} `json:"input,omitempty"` // Label based Namespace Selector for the policy. NamespaceSelector *VmwareTanzuManageV1alpha1CommonPolicyLabelSelector `json:"namespaceSelector,omitempty"` // Name of the policy recipe (helper) used for creating a policy. // Use PolicyRecipe API to find the list of available recipe in each type. Recipe string `json:"recipe,omitempty"` // The version of the recipe used for the policy. // The latest version will be selected by default (if left empty). // Use PolicyRecipeVersion API to find the list of versions in each recipe. RecipeVersion string `json:"recipeVersion,omitempty"` // Generated yaml based policy resources (read-only). // These will only be seen when viewing effective policies on a cluster or namespace. Resources []string `json:"resources"` // Type of the policy object. // Use PolicyTypes API to find the list of available policy types. Type string `json:"type,omitempty"` }
VmwareTanzuManageV1alpha1CommonPolicySpec The policy spec.
swagger:model vmware.tanzu.manage.v1alpha1.common.policy.Spec
func (*VmwareTanzuManageV1alpha1CommonPolicySpec) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1CommonPolicySpec) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.