Class ReferenceGrantSpec

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<ReferenceGrantSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ReferenceGrantSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ReferenceGrantSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ReferenceGrantSpec identifies a cross namespace relationship that is trusted for Gateway API.
    See Also:
    Serialized Form
    • Method Detail

      • getFrom

        public List<ReferenceGrantFrom> getFrom()
        From describes the trusted namespaces and kinds that can reference the resources described in "To". Each entry in this list MUST be considered to be an additional place that references can be valid from, or to put this another way, entries MUST be combined using OR.


        Support: Core

      • setFrom

        public void setFrom​(List<ReferenceGrantFrom> from)
        From describes the trusted namespaces and kinds that can reference the resources described in "To". Each entry in this list MUST be considered to be an additional place that references can be valid from, or to put this another way, entries MUST be combined using OR.


        Support: Core

      • getTo

        public List<ReferenceGrantTo> getTo()
        To describes the resources that may be referenced by the resources described in "From". Each entry in this list MUST be considered to be an additional place that references can be valid to, or to put this another way, entries MUST be combined using OR.


        Support: Core

      • setTo

        public void setTo​(List<ReferenceGrantTo> to)
        To describes the resources that may be referenced by the resources described in "From". Each entry in this list MUST be considered to be an additional place that references can be valid to, or to put this another way, entries MUST be combined using OR.


        Support: Core

      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)