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 NewVmwareTanzuCoreV1alpha1PolicyBindingDeltaOpType ¶
func NewVmwareTanzuCoreV1alpha1PolicyBindingDeltaOpType(value VmwareTanzuCoreV1alpha1PolicyBindingDeltaOpType) *VmwareTanzuCoreV1alpha1PolicyBindingDeltaOpType
func (VmwareTanzuCoreV1alpha1PolicyBindingDeltaOpType) Pointer ¶
func (m VmwareTanzuCoreV1alpha1PolicyBindingDeltaOpType) Pointer() *VmwareTanzuCoreV1alpha1PolicyBindingDeltaOpType
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" // VmwareTanzuCoreV1alpha1PolicySubjectKindSERVICEACCOUNT captures enum value "SERVICEACCOUNT". VmwareTanzuCoreV1alpha1PolicySubjectKindSERVICEACCOUNT VmwareTanzuCoreV1alpha1PolicySubjectKind = "SERVICEACCOUNT" // VmwareTanzuCoreV1alpha1PolicySubjectKindUSER captures enum value "USER". VmwareTanzuCoreV1alpha1PolicySubjectKindUSER VmwareTanzuCoreV1alpha1PolicySubjectKind = "USER" )
func NewVmwareTanzuCoreV1alpha1PolicySubjectKind ¶
func NewVmwareTanzuCoreV1alpha1PolicySubjectKind(value VmwareTanzuCoreV1alpha1PolicySubjectKind) *VmwareTanzuCoreV1alpha1PolicySubjectKind
func (VmwareTanzuCoreV1alpha1PolicySubjectKind) Pointer ¶
func (m VmwareTanzuCoreV1alpha1PolicySubjectKind) Pointer() *VmwareTanzuCoreV1alpha1PolicySubjectKind
Pointer returns a pointer to a freshly-allocated VmwareTanzuCoreV1alpha1PolicySubjectKind.