Class SeccompProfile.SeccompProfileBuilder

  • Enclosing class:
    SeccompProfile

    public static class SeccompProfile.SeccompProfileBuilder
    extends java.lang.Object
    • Method Detail

      • localhostProfile

        public SeccompProfile.SeccompProfileBuilder localhostProfile​(java.lang.String localhostProfile)
        localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost".
        Returns:
        this.
      • type

        public SeccompProfile.SeccompProfileBuilder type​(@NonNull
                                                         @NonNull java.lang.String type)
        type indicates which kind of seccomp profile will be applied. Valid options are:


        Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.

        Returns:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object