Class AppArmorProfile

    • Constructor Detail

      • AppArmorProfile

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

        public AppArmorProfile​(String localhostProfile,
                               String type)
    • Method Detail

      • getLocalhostProfile

        public String getLocalhostProfile()
        localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is "Localhost".
      • setLocalhostProfile

        public void setLocalhostProfile​(String localhostProfile)
        localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is "Localhost".
      • getType

        public String getType()
        type indicates which kind of AppArmor profile will be applied. Valid options are:

        Localhost - a profile pre-loaded on the node.

        RuntimeDefault - the container runtime's default profile.

        Unconfined - no AppArmor enforcement.

      • setType

        public void setType​(String type)
        type indicates which kind of AppArmor profile will be applied. Valid options are:

        Localhost - a profile pre-loaded on the node.

        RuntimeDefault - the container runtime's default profile.

        Unconfined - no AppArmor enforcement.

      • getAdditionalProperties

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

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

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