policyrecipeimagemodel

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 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 VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTag

type VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTag 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"`

	// This specifies a list of rules that defines allowed image patterns.
	// Required: true
	// Min Items: 1
	Rules []*VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTagRules `json:"rules"`
}

VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTag is model for allowed-name-tag recipe version v1

The input schema for image policy allowed-name-tag recipe.

swagger:model VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTag

func (*VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTag) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTag) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTagRules

type VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTagRules struct {

	// Allowed image names, wildcards are supported(for example: fooservice/*). Empty field is equivalent to *.
	ImageName string `json:"imageName,omitempty"`

	// Tag
	Tag *policyrecipeimagecommonmodel.VmwareTanzuManageV1alpha1CommonPolicySpecImageV1RulesTag `json:"tag,omitempty"`
}

VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTagRules Rules.

swagger:model VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTagRules

func (*VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTagRules) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTagRules) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CommonRecipe

type VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CommonRecipe 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"`
}

VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CommonRecipe is model for block-latest-tag and require-digest recipes version v1

The input schema for image policy block-latest-tag and require-digest recipes.

swagger:model VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CommonRecipe

func (*VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CommonRecipe) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CommonRecipe) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1CommonPolicySpecImageV1Custom

type VmwareTanzuManageV1alpha1CommonPolicySpecImageV1Custom 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"`

	// This specifies a list of rules that defines allowed image patterns.
	// Required: true
	// Min Items: 1
	Rules []*VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CustomRules `json:"rules"`
}

VmwareTanzuManageV1alpha1CommonPolicySpecImageV1Custom is model for custom recipe version v1

The input schema for image policy custom recipe.

swagger:model VmwareTanzuManageV1alpha1CommonPolicySpecImageV1Custom

func (*VmwareTanzuManageV1alpha1CommonPolicySpecImageV1Custom) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1CommonPolicySpecImageV1Custom) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CustomRules

type VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CustomRules struct {

	// Allowed image hostnames, wildcards are supported(for example: *.mycompany.com). Empty field is equivalent to *.
	Hostname string `json:"hostname,omitempty"`

	// Allowed image names, wildcards are supported(for example: fooservice/*). Empty field is equivalent to *.
	ImageName string `json:"imageName,omitempty"`

	// Allowed port(if presented) of the image hostname, must associate with valid hostname. Wildcards are supported.
	Port string `json:"port,omitempty"`

	// The flag used to enforce digest to appear in container images.
	RequireDigest *bool `json:"requireDigest,omitempty"`

	// Tag
	Tag *policyrecipeimagecommonmodel.VmwareTanzuManageV1alpha1CommonPolicySpecImageV1RulesTag `json:"tag,omitempty"`
}

VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CustomRules Rules.

swagger:model VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CustomRules

func (*VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CustomRules) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CustomRules) 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