policyrecipecustommodel

package
v1.4.6-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VmwareTanzuManageV1alpha1CommonPolicySpecCustom added in v1.4.2

type VmwareTanzuManageV1alpha1CommonPolicySpecCustom 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 map[string]interface{} `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"`
}

VmwareTanzuManageV1alpha1CommonPolicySpecCustom tmc-external-ips recipe schema.

The input schema for tmc-external-ips recipe.

swagger:model VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPS

func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustom) MarshalBinary added in v1.4.2

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustom) UnmarshalBinary added in v1.4.2

UnmarshalBinary interface implementation.

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

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjects) UnmarshalBinary

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

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParameters) UnmarshalBinary

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

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCBlockRoleBindingSubjectsParametersDisallowedSubjects) UnmarshalBinary

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

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCCommonRecipe) UnmarshalBinary

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

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPS) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPSParameters

type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPSParameters struct {

	// Allowed IPs.
	AllowedIPs []string `json:"allowedIPs"`
}

VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPSParameters Parameters.

swagger:model VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPSParameters

func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPSParameters) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCExternalIPSParameters) UnmarshalBinary

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

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabels) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParameters

type VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParameters struct {

	// Labels.
	// Min Items: 1
	Labels []*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParametersLabels `json:"labels"`
}

VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParameters Parameters.

swagger:model VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParameters

func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParameters) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParameters) UnmarshalBinary

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

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1CommonPolicySpecCustomV1TMCRequireLabelsParametersLabels) UnmarshalBinary

UnmarshalBinary interface implementation.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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