iammodel

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 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 VmwareTanzuCoreV1alpha1PolicyBindingDelta

type VmwareTanzuCoreV1alpha1PolicyBindingDelta struct {

	// Type of operation.
	Op *VmwareTanzuCoreV1alpha1PolicyBindingDeltaOpType `json:"op,omitempty"`

	// Role for binding.
	Role string `json:"role,omitempty"`

	// Subject of rolebinding.
	Subject *VmwareTanzuCoreV1alpha1PolicySubject `json:"subject,omitempty"`
}

VmwareTanzuCoreV1alpha1PolicyBindingDelta Used for modify policy apis.

swagger:model vmware.tanzu.core.v1alpha1.policy.BindingDelta

func (*VmwareTanzuCoreV1alpha1PolicyBindingDelta) MarshalBinary

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

MarshalBinary interface implementation.

func (*VmwareTanzuCoreV1alpha1PolicyBindingDelta) UnmarshalBinary

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

UnmarshalBinary interface implementation.

type VmwareTanzuCoreV1alpha1PolicyBindingDeltaOpType

type VmwareTanzuCoreV1alpha1PolicyBindingDeltaOpType string

VmwareTanzuCoreV1alpha1PolicyBindingDeltaOpType Type of operation associated with the list of rolebindings.

  • OP_TYPE_UNSPECIFIED: Unspecified operation type.
  • ADD: Appending rolebindings to the existing policy.
  • DELETE: Deleting rolebindings from the existing policy.

swagger:model vmware.tanzu.core.v1alpha1.policy.BindingDelta.OpType

const (

	// VmwareTanzuCoreV1alpha1PolicyBindingDeltaOpTypeOPTYPEUNSPECIFIED captures enum value "OP_TYPE_UNSPECIFIED".
	VmwareTanzuCoreV1alpha1PolicyBindingDeltaOpTypeOPTYPEUNSPECIFIED VmwareTanzuCoreV1alpha1PolicyBindingDeltaOpType = "OP_TYPE_UNSPECIFIED"

	// VmwareTanzuCoreV1alpha1PolicyBindingDeltaOpTypeADD captures enum value "ADD".
	VmwareTanzuCoreV1alpha1PolicyBindingDeltaOpTypeADD VmwareTanzuCoreV1alpha1PolicyBindingDeltaOpType = "ADD"

	// VmwareTanzuCoreV1alpha1PolicyBindingDeltaOpTypeDELETE captures enum value "DELETE".
	VmwareTanzuCoreV1alpha1PolicyBindingDeltaOpTypeDELETE VmwareTanzuCoreV1alpha1PolicyBindingDeltaOpType = "DELETE"
)

func (VmwareTanzuCoreV1alpha1PolicyBindingDeltaOpType) Pointer

Pointer returns a pointer to a freshly-allocated VmwareTanzuCoreV1alpha1PolicyBindingDeltaOpType.

type VmwareTanzuCoreV1alpha1PolicyIAMPolicy

type VmwareTanzuCoreV1alpha1PolicyIAMPolicy struct {

	// Metadata for this policy.
	Meta *objectmetamodel.VmwareTanzuCoreV1alpha1ObjectMeta `json:"meta,omitempty"`

	// List of role bindings associated with the policy.
	RoleBindings []*VmwareTanzuCoreV1alpha1PolicyRoleBinding `json:"roleBindings"`
}

VmwareTanzuCoreV1alpha1PolicyIAMPolicy Representation of an iam policy.

swagger:model vmware.tanzu.core.v1alpha1.policy.IAMPolicy

func (*VmwareTanzuCoreV1alpha1PolicyIAMPolicy) MarshalBinary

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

MarshalBinary interface implementation.

func (*VmwareTanzuCoreV1alpha1PolicyIAMPolicy) UnmarshalBinary

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

UnmarshalBinary interface implementation.

type VmwareTanzuCoreV1alpha1PolicyRoleBinding

type VmwareTanzuCoreV1alpha1PolicyRoleBinding struct {

	// Role for this rolebinding -max length for role is 126.
	Role string `json:"role,omitempty"`

	// Subject of rolebinding.
	Subjects []*VmwareTanzuCoreV1alpha1PolicySubject `json:"subjects"`
}

VmwareTanzuCoreV1alpha1PolicyRoleBinding Representation of an iam role-binding in resource manager.

swagger:model vmware.tanzu.core.v1alpha1.policy.RoleBinding

func (*VmwareTanzuCoreV1alpha1PolicyRoleBinding) MarshalBinary

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

MarshalBinary interface implementation.

func (*VmwareTanzuCoreV1alpha1PolicyRoleBinding) UnmarshalBinary

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

UnmarshalBinary interface implementation.

type VmwareTanzuCoreV1alpha1PolicySubject

type VmwareTanzuCoreV1alpha1PolicySubject struct {

	// Subject type.
	Kind *VmwareTanzuCoreV1alpha1PolicySubjectKind `json:"kind,omitempty"`

	// Subject name - allow max characters for email - 320.
	Name string `json:"name,omitempty"`
}

VmwareTanzuCoreV1alpha1PolicySubject Representation of a subject in resource manager.

swagger:model vmware.tanzu.core.v1alpha1.policy.Subject

func (*VmwareTanzuCoreV1alpha1PolicySubject) MarshalBinary

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

MarshalBinary interface implementation.

func (*VmwareTanzuCoreV1alpha1PolicySubject) UnmarshalBinary

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

UnmarshalBinary interface implementation.

type VmwareTanzuCoreV1alpha1PolicySubjectKind

type VmwareTanzuCoreV1alpha1PolicySubjectKind string

VmwareTanzuCoreV1alpha1PolicySubjectKind Kind of subject.

  • KIND_UNSPECIFIED: Subject is a undefined.
  • GROUP: Subject is a group.
  • SERVICEACCOUNT: Subject is a service.
  • USER: Subject is a user.

swagger:model vmware.tanzu.core.v1alpha1.policy.Subject.Kind

const (

	// VmwareTanzuCoreV1alpha1PolicySubjectKindKINDUNSPECIFIED captures enum value "KIND_UNSPECIFIED".
	VmwareTanzuCoreV1alpha1PolicySubjectKindKINDUNSPECIFIED VmwareTanzuCoreV1alpha1PolicySubjectKind = "KIND_UNSPECIFIED"

	// VmwareTanzuCoreV1alpha1PolicySubjectKindGROUP captures enum value "GROUP".
	VmwareTanzuCoreV1alpha1PolicySubjectKindGROUP VmwareTanzuCoreV1alpha1PolicySubjectKind = "GROUP"

	// VmwareTanzuCoreV1alpha1PolicySubjectKindK8SSERVICEACCOUNT captures enum value "K8S_SERVICEACCOUNT".
	VmwareTanzuCoreV1alpha1PolicySubjectKindK8SSERVICEACCOUNT VmwareTanzuCoreV1alpha1PolicySubjectKind = "K8S_SERVICEACCOUNT"

	// VmwareTanzuCoreV1alpha1PolicySubjectKindSERVICEACCOUNT captures enum value "SERVICEACCOUNT".
	VmwareTanzuCoreV1alpha1PolicySubjectKindSERVICEACCOUNT VmwareTanzuCoreV1alpha1PolicySubjectKind = "SERVICEACCOUNT"

	// VmwareTanzuCoreV1alpha1PolicySubjectKindUSER captures enum value "USER".
	VmwareTanzuCoreV1alpha1PolicySubjectKindUSER VmwareTanzuCoreV1alpha1PolicySubjectKind = "USER"
)

func (VmwareTanzuCoreV1alpha1PolicySubjectKind) Pointer

Pointer returns a pointer to a freshly-allocated VmwareTanzuCoreV1alpha1PolicySubjectKind.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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