customiamrolemodels

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K8sIoApimachineryPkgApisMetaV1LabelSelector

type K8sIoApimachineryPkgApisMetaV1LabelSelector struct {

	// matchExpressions is a list of label selector requirements. The requirements are ANDed.
	// +optional
	MatchExpressions []*K8sIoApimachineryPkgApisMetaV1LabelSelectorRequirement `json:"matchExpressions"`

	// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
	// map is equivalent to an element of matchExpressions, whose key field is "key", the
	// operator is "In", and the values array contains only "value". The requirements are ANDed.
	// +optional
	MatchLabels map[string]string `json:"matchLabels,omitempty"`
}

K8sIoApimachineryPkgApisMetaV1LabelSelector A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.

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

func (*K8sIoApimachineryPkgApisMetaV1LabelSelector) MarshalBinary

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

MarshalBinary interface implementation.

func (*K8sIoApimachineryPkgApisMetaV1LabelSelector) UnmarshalBinary

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

UnmarshalBinary interface implementation.

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 VmwareTanzuManageV1alpha1IamPermissionResource

type VmwareTanzuManageV1alpha1IamPermissionResource string

VmwareTanzuManageV1alpha1IamPermissionResource Resource Types.

  • RESOURCE_UNSPECIFIED: Unknown.
  • ORGANIZATION: Organization.
  • MANAGEMENT_CLUSTER: Management cluster.
  • PROVISIONER: Provisioner.
  • CLUSTER_GROUP: Cluster group.
  • CLUSTER: Cluster.
  • WORKSPACE: Workspace.
  • NAMESPACE: Namespace.

swagger:model vmware.tanzu.manage.v1alpha1.iam.permission.Resource

const (

	// VmwareTanzuManageV1alpha1IamPermissionResourceRESOURCEUNSPECIFIED captures enum value "RESOURCE_UNSPECIFIED".
	VmwareTanzuManageV1alpha1IamPermissionResourceRESOURCEUNSPECIFIED VmwareTanzuManageV1alpha1IamPermissionResource = "RESOURCE_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1IamPermissionResourceORGANIZATION captures enum value "ORGANIZATION".
	VmwareTanzuManageV1alpha1IamPermissionResourceORGANIZATION VmwareTanzuManageV1alpha1IamPermissionResource = "ORGANIZATION"

	// VmwareTanzuManageV1alpha1IamPermissionResourceMANAGEMENTCLUSTER captures enum value "MANAGEMENT_CLUSTER".
	VmwareTanzuManageV1alpha1IamPermissionResourceMANAGEMENTCLUSTER VmwareTanzuManageV1alpha1IamPermissionResource = "MANAGEMENT_CLUSTER"

	// VmwareTanzuManageV1alpha1IamPermissionResourcePROVISIONER captures enum value "PROVISIONER".
	VmwareTanzuManageV1alpha1IamPermissionResourcePROVISIONER VmwareTanzuManageV1alpha1IamPermissionResource = "PROVISIONER"

	// VmwareTanzuManageV1alpha1IamPermissionResourceCLUSTERGROUP captures enum value "CLUSTER_GROUP".
	VmwareTanzuManageV1alpha1IamPermissionResourceCLUSTERGROUP VmwareTanzuManageV1alpha1IamPermissionResource = "CLUSTER_GROUP"

	// VmwareTanzuManageV1alpha1IamPermissionResourceCLUSTER captures enum value "CLUSTER".
	VmwareTanzuManageV1alpha1IamPermissionResourceCLUSTER VmwareTanzuManageV1alpha1IamPermissionResource = "CLUSTER"

	// VmwareTanzuManageV1alpha1IamPermissionResourceWORKSPACE captures enum value "WORKSPACE".
	VmwareTanzuManageV1alpha1IamPermissionResourceWORKSPACE VmwareTanzuManageV1alpha1IamPermissionResource = "WORKSPACE"

	// VmwareTanzuManageV1alpha1IamPermissionResourceNAMESPACE captures enum value "NAMESPACE".
	VmwareTanzuManageV1alpha1IamPermissionResourceNAMESPACE VmwareTanzuManageV1alpha1IamPermissionResource = "NAMESPACE"
)

type VmwareTanzuManageV1alpha1IamRole

type VmwareTanzuManageV1alpha1IamRole struct {

	// Full name for the role.
	FullName *VmwareTanzuManageV1alpha1IamRoleFullName `json:"fullName,omitempty"`

	// Metadata for the role object.
	Meta *objectmetamodel.VmwareTanzuCoreV1alpha1ObjectMeta `json:"meta,omitempty"`

	// Spec for the role.
	Spec *VmwareTanzuManageV1alpha1IamRoleSpec `json:"spec,omitempty"`

	// Metadata describing the type of the resource.
	Type *objectmetamodel.VmwareTanzuCoreV1alpha1ObjectType `json:"type,omitempty"`
}

VmwareTanzuManageV1alpha1IamRoleRole Manage permissions on resources.

swagger:model vmware.tanzu.manage.v1alpha1.iam.role.Role

func (*VmwareTanzuManageV1alpha1IamRole) MarshalBinary

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

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1IamRole) UnmarshalBinary

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

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1IamRoleAggregationRule

type VmwareTanzuManageV1alpha1IamRoleAggregationRule struct {

	// Label based Cluster Role Selector.
	ClusterRoleSelectors []*K8sIoApimachineryPkgApisMetaV1LabelSelector `json:"clusterRoleSelectors"`
}

VmwareTanzuManageV1alpha1IamRoleAggregationRule AggregationRule for a role.

swagger:model vmware.tanzu.manage.v1alpha1.iam.role.AggregationRule

func (*VmwareTanzuManageV1alpha1IamRoleAggregationRule) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1IamRoleAggregationRule) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1IamRoleData

type VmwareTanzuManageV1alpha1IamRoleData struct {

	// Role to create.
	Role *VmwareTanzuManageV1alpha1IamRole `json:"role,omitempty"`
}

VmwareTanzuManageV1alpha1IamRoleCreateRoleRequest Request to create a Role.

swagger:model vmware.tanzu.manage.v1alpha1.iam.role.CreateRoleRequest

func (*VmwareTanzuManageV1alpha1IamRoleData) MarshalBinary

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

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1IamRoleData) UnmarshalBinary

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

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1IamRoleFullName

type VmwareTanzuManageV1alpha1IamRoleFullName struct {

	// Name of the role.
	Name string `json:"name,omitempty"`

	// Org Id.
	OrgID string `json:"orgId,omitempty"`
}

VmwareTanzuManageV1alpha1IamRoleFullName Full name for role.

swagger:model vmware.tanzu.manage.v1alpha1.iam.role.FullName

func (*VmwareTanzuManageV1alpha1IamRoleFullName) MarshalBinary

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

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1IamRoleFullName) UnmarshalBinary

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

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1IamRoleKubernetesRule

type VmwareTanzuManageV1alpha1IamRoleKubernetesRule struct {

	// API group.
	APIGroups []string `json:"apiGroups"`

	// Non-resource urls for the role.
	NonResourceUrls []string `json:"nonResourceUrls"`

	// ResourceNames to restrict the rule to resources by name
	ResourceNames []string `json:"resourceNames"`

	// Resources - added a validation to input.
	Resources []string `json:"resources"`

	// Verbs.
	Verbs []string `json:"verbs"`
}

VmwareTanzuManageV1alpha1IamRoleKubernetesRule KubernetesRule for a role.

swagger:model vmware.tanzu.manage.v1alpha1.iam.role.KubernetesRule

func (*VmwareTanzuManageV1alpha1IamRoleKubernetesRule) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1IamRoleKubernetesRule) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1IamRoleSpec

type VmwareTanzuManageV1alpha1IamRoleSpec struct {

	// AggregationRule.
	AggregationRule *VmwareTanzuManageV1alpha1IamRoleAggregationRule `json:"aggregationRule,omitempty"`

	// Flag representing whether role is deprecated.
	IsDeprecated bool `json:"isDeprecated"`

	// This flag will help the client identify if this is an inbuilt role.
	IsInbuilt bool `json:"isInbuilt"`

	// Valid resources for this role.
	Resources []*VmwareTanzuManageV1alpha1IamPermissionResource `json:"resources"`

	// KubernetesRule.
	Rules []*VmwareTanzuManageV1alpha1IamRoleKubernetesRule `json:"rules"`

	// Tanzu-specific permissions for the role.
	TanzuPermissions []string `json:"tanzuPermissions"`
}

VmwareTanzuManageV1alpha1IamRoleSpec Spec for role.

swagger:model vmware.tanzu.manage.v1alpha1.iam.role.Spec

func (*VmwareTanzuManageV1alpha1IamRoleSpec) MarshalBinary

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

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1IamRoleSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation.

Jump to

Keyboard shortcuts

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