Class MacvlanConfig

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class MacvlanConfig
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<MacvlanConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    MacvlanConfig consists of arguments specific to the macvlan EgressRouterInterfaceType
    See Also:
    Serialized Form
    • Constructor Detail

      • MacvlanConfig

        public MacvlanConfig()
        No args constructor for use in serialization
      • MacvlanConfig

        public MacvlanConfig​(String master,
                             String mode)
    • Method Detail

      • getMaster

        public String getMaster()
        Name of the master interface. Need not be specified if it can be inferred from the IP address.
      • setMaster

        public void setMaster​(String master)
        Name of the master interface. Need not be specified if it can be inferred from the IP address.
      • getMode

        public String getMode()
        mode depicts the mode that is used for the macvlan interface; one of Bridge|Private|VEPA|Passthru. The default mode is "Bridge".
      • setMode

        public void setMode​(String mode)
        mode depicts the mode that is used for the macvlan interface; one of Bridge|Private|VEPA|Passthru. The default mode is "Bridge".
      • getAdditionalProperties

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

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

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