Class PolicyMatchRemapIdentity
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.PolicyMatchRemapIdentity
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PolicyMatchRemapIdentityBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PolicyMatchRemapIdentity extends Object implements io.fabric8.kubernetes.api.builder.Editable<PolicyMatchRemapIdentityBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PolicyMatchRemapIdentity()No args constructor for use in serializationPolicyMatchRemapIdentity(String prefix, String signedPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyMatchRemapIdentityBuilderedit()Map<String,Object>getAdditionalProperties()StringgetPrefix()prefix is required if matchPolicy is set to "RemapIdentity". prefix is the prefix of the image identity to be matched.StringgetSignedPrefix()signedPrefix is required if matchPolicy is set to "RemapIdentity". signedPrefix is the prefix of the image identity to be matched in the signature.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetPrefix(String prefix)prefix is required if matchPolicy is set to "RemapIdentity". prefix is the prefix of the image identity to be matched.voidsetSignedPrefix(String signedPrefix)signedPrefix is required if matchPolicy is set to "RemapIdentity". signedPrefix is the prefix of the image identity to be matched in the signature.PolicyMatchRemapIdentityBuildertoBuilder()
-
-
-
Method Detail
-
getPrefix
public String getPrefix()
prefix is required if matchPolicy is set to "RemapIdentity". prefix is the prefix of the image identity to be matched. If the image identity matches the specified prefix, that prefix is replaced by the specified "signedPrefix" (otherwise it is used as unchanged and no remapping takes place). This is useful when verifying signatures for a mirror of some other repository namespace that preserves the vendor’s repository structure. The prefix and signedPrefix values can be either host[:port] values (matching exactly the same host[:port], string), repository namespaces, or repositories (i.e. they must not contain tags/digests), and match as prefixes of the fully expanded form. For example, docker.io/library/busybox (not busybox) to specify that single repository, or docker.io/library (not an empty string) to specify the parent namespace of docker.io/library/busybox.
-
setPrefix
public void setPrefix(String prefix)
prefix is required if matchPolicy is set to "RemapIdentity". prefix is the prefix of the image identity to be matched. If the image identity matches the specified prefix, that prefix is replaced by the specified "signedPrefix" (otherwise it is used as unchanged and no remapping takes place). This is useful when verifying signatures for a mirror of some other repository namespace that preserves the vendor’s repository structure. The prefix and signedPrefix values can be either host[:port] values (matching exactly the same host[:port], string), repository namespaces, or repositories (i.e. they must not contain tags/digests), and match as prefixes of the fully expanded form. For example, docker.io/library/busybox (not busybox) to specify that single repository, or docker.io/library (not an empty string) to specify the parent namespace of docker.io/library/busybox.
-
getSignedPrefix
public String getSignedPrefix()
signedPrefix is required if matchPolicy is set to "RemapIdentity". signedPrefix is the prefix of the image identity to be matched in the signature. The format is the same as "prefix". The values can be either host[:port] values (matching exactly the same host[:port], string), repository namespaces, or repositories (i.e. they must not contain tags/digests), and match as prefixes of the fully expanded form. For example, docker.io/library/busybox (not busybox) to specify that single repository, or docker.io/library (not an empty string) to specify the parent namespace of docker.io/library/busybox.
-
setSignedPrefix
public void setSignedPrefix(String signedPrefix)
signedPrefix is required if matchPolicy is set to "RemapIdentity". signedPrefix is the prefix of the image identity to be matched in the signature. The format is the same as "prefix". The values can be either host[:port] values (matching exactly the same host[:port], string), repository namespaces, or repositories (i.e. they must not contain tags/digests), and match as prefixes of the fully expanded form. For example, docker.io/library/busybox (not busybox) to specify that single repository, or docker.io/library (not an empty string) to specify the parent namespace of docker.io/library/busybox.
-
edit
public PolicyMatchRemapIdentityBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PolicyMatchRemapIdentityBuilder>
-
toBuilder
public PolicyMatchRemapIdentityBuilder toBuilder()
-
-