Documentation ¶
Index ¶
- type VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTag
- type VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTagRules
- type VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CommonRecipe
- type VmwareTanzuManageV1alpha1CommonPolicySpecImageV1Custom
- type VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CustomRules
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 ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTag) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTag) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTag) UnmarshalBinary(b []byte) error
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 ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTagRules) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTagRules) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecImageV1AllowedNameTagRules) UnmarshalBinary(b []byte) error
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 ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CommonRecipe) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CommonRecipe) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CommonRecipe) UnmarshalBinary(b []byte) error
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 ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecImageV1Custom) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VmwareTanzuManageV1alpha1CommonPolicySpecImageV1Custom) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecImageV1Custom) UnmarshalBinary(b []byte) error
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 ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CustomRules) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CustomRules) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1CommonPolicySpecImageV1CustomRules) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation