Documentation ¶
Index ¶
- type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjects
- type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParameters
- type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParametersDisallowedSubjects
- type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCCommonRecipe
- type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPS
- type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPSParameters
- type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabels
- type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParameters
- type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParametersLabels
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjects ¶
type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjects struct { // Audit (dry-run). // Creates this policy for dry-run. Violations will be logged but not denied. Defaults to false (deny). Audit bool `json:"audit,omitempty"` // Parameters. Parameters *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParameters `json:"parameters,omitempty"` // TargetKubernetesResources is a list of kubernetes api resources on which the policy will be enforced, identified using apiGroups and kinds. You can use 'kubectl api-resources' to view the list of available api resources on your cluster. // Required: true // Min Items: 1 TargetKubernetesResources []*policyrecipecustomcommonmodel.VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TargetKubernetesResources `json:"targetKubernetesResources"` }
VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjects tmc-block-rolebinding-subjects recipe schema.
The input schema for tmc-block-rolebinding-subjects recipe.
swagger:model VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjects
func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjects) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjects) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjects) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjects) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParameters ¶
type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParameters struct { // Disallowed Subjects // Min Items: 1 DisallowedSubjects []*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParametersDisallowedSubjects `json:"disallowedSubjects"` }
VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParameters Parameters.
swagger:model VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParameters
func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParameters) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParameters) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParameters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParametersDisallowedSubjects ¶
type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParametersDisallowedSubjects struct { // The kind of subject to disallow, can be User/Group/ServiceAccount // Pattern: User|Group|ServiceAccount Kind string `json:"kind,omitempty"` // The name of the subject to disallow Name string `json:"name,omitempty"` }
VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParametersDisallowedSubjects Disallowed Subjects.
swagger:model VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParametersDisallowedSubjects
func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParametersDisallowedSubjects) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParametersDisallowedSubjects) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParametersDisallowedSubjects) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParametersDisallowedSubjects) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCCommonRecipe ¶
type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCCommonRecipe struct { // Audit (dry-run). // Creates this policy for dry-run. Violations will be logged but not denied. Defaults to false (deny). Audit bool `json:"audit,omitempty"` // TargetKubernetesResources is a list of kubernetes api resources on which the policy will be enforced, identified using apiGroups and kinds. You can use 'kubectl api-resources' to view the list of available api resources on your cluster. // Required: true // Min Items: 1 TargetKubernetesResources []*policyrecipecustomcommonmodel.VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TargetKubernetesResources `json:"targetKubernetesResources"` }
VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCCommonRecipe is model for tmc-block-nodeport-service, tmc-block-resources and tmc-https-ingress recipe types.
The input schema for tmc-block-nodeport-service, tmc-block-resources and tmc-https-ingress recipes.
swagger:model VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCCommonRecipe
func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCCommonRecipe) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCCommonRecipe) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCCommonRecipe) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCCommonRecipe) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPS ¶
type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPS struct { // Audit (dry-run). // Creates this policy for dry-run. Violations will be logged but not denied. Defaults to false (deny). Audit bool `json:"audit,omitempty"` // Parameters. Parameters *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPSParameters `json:"parameters,omitempty"` // TargetKubernetesResources is a list of kubernetes api resources on which the policy will be enforced, identified using apiGroups and kinds. You can use 'kubectl api-resources' to view the list of available api resources on your cluster. // Required: true // Min Items: 1 TargetKubernetesResources []*policyrecipecustomcommonmodel.VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TargetKubernetesResources `json:"targetKubernetesResources"` }
VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPS tmc-external-ips recipe schema.
The input schema for tmc-external-ips recipe.
swagger:model VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPS
func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPS) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPS) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPS) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPS) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPSParameters ¶
type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPSParameters struct { // Allowed IPs. AllowedIPs []string `json:"allowedIPs"` }
VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPSParameters Parameters.
swagger:model VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPSParameters
func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPSParameters) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPSParameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPSParameters) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPSParameters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabels ¶
type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabels struct { // Audit (dry-run). // Creates this policy for dry-run. Violations will be logged but not denied. Defaults to false (deny). Audit bool `json:"audit,omitempty"` // Parameters. Parameters *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParameters `json:"parameters,omitempty"` // TargetKubernetesResources is a list of kubernetes api resources on which the policy will be enforced, identified using apiGroups and kinds. You can use 'kubectl api-resources' to view the list of available api resources on your cluster. // Required: true // Min Items: 1 TargetKubernetesResources []*policyrecipecustomcommonmodel.VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TargetKubernetesResources `json:"targetKubernetesResources"` }
VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabels tmc-require-labels recipe schema.
The input schema for tmc-require-labels recipe.
swagger:model VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabels
func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabels) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabels) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabels) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabels) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParameters ¶
type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParameters struct { // Labels. // Min Items: 1 Labels []*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParametersLabels `json:"labels"` }
VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParameters Parameters.
swagger:model VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParameters
func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParameters) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParameters) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParameters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParametersLabels ¶
type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParametersLabels struct { // The label key to enforce. Key string `json:"key,omitempty"` // Optional label value to enforce (if left empty, only key will be enforced). Value string `json:"value,omitempty"` }
VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParametersLabels Labels.
swagger:model VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParametersLabels
func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParametersLabels) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParametersLabels) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParametersLabels) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParametersLabels) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.