@@ -265,14 +265,6 @@ public Integer getImages() {
265265 return images ;
266266 }
267267
268- public String getID () {
269- return id ;
270- }
271-
272- public Boolean getIPv4Forwarding () {
273- return ipv4Forwarding ;
274- }
275-
276268 public String getIndexServerAddress () {
277269 return indexServerAddress ;
278270 }
@@ -313,14 +305,6 @@ public String getName() {
313305 return name ;
314306 }
315307
316- public Integer getNCPU () {
317- return ncpu ;
318- }
319-
320- public Integer getNFd () {
321- return nfd ;
322- }
323-
324308 public Integer getNGoroutines () {
325309 return nGoroutines ;
326310 }
@@ -420,20 +404,15 @@ public Boolean getMemoryLimit() {
420404 }
421405
422406 @ CheckForNull
423- public Integer getNcpu () {
407+ public Integer getNCPU () {
424408 return ncpu ;
425409 }
426410
427411 @ CheckForNull
428- public Integer getNfd () {
412+ public Integer getNFd () {
429413 return nfd ;
430414 }
431415
432- @ CheckForNull
433- public Integer getnGoroutines () {
434- return nGoroutines ;
435- }
436-
437416 @ CheckForNull
438417 public String getNoProxy () {
439418 return noProxy ;
@@ -586,19 +565,66 @@ public static final class RegistryConfig {
586565 @ JsonProperty ("InsecureRegistryCIDRs" )
587566 private List <String > insecureRegistryCIDRs ;
588567
568+ /**
569+ * //FIXME unknown field
570+ */
571+ @ JsonProperty ("Mirrors" )
572+ private Object mirrors ;
573+
574+ /**
575+ * @see #indexConfigs
576+ */
577+ @ CheckForNull
589578 public Map <String , IndexConfig > getIndexConfigs () {
590579 return indexConfigs ;
591580 }
592581
582+ /**
583+ * @see #indexConfigs
584+ */
585+ public RegistryConfig withIndexConfigs (Map <String , IndexConfig > indexConfigs ) {
586+ this .indexConfigs = indexConfigs ;
587+ return this ;
588+ }
589+
590+ /**
591+ * @see #insecureRegistryCIDRs
592+ */
593+ @ CheckForNull
593594 public List <String > getInsecureRegistryCIDRs () {
594595 return insecureRegistryCIDRs ;
595596 }
596597
598+ /**
599+ * @see #insecureRegistryCIDRs
600+ */
601+ public RegistryConfig withInsecureRegistryCIDRs (List <String > insecureRegistryCIDRs ) {
602+ this .insecureRegistryCIDRs = insecureRegistryCIDRs ;
603+ return this ;
604+ }
605+
606+ /**
607+ * @see #mirrors
608+ */
609+ @ CheckForNull
610+ public Object getMirrors () {
611+ return mirrors ;
612+ }
613+
614+ /**
615+ * @see #mirrors
616+ */
617+ public RegistryConfig withMirrors (Object mirrors ) {
618+ this .mirrors = mirrors ;
619+ return this ;
620+ }
621+
597622 @ Override
598623 public String toString () {
599624 return new ToStringBuilder (this )
600625 .append ("indexConfigs" , indexConfigs )
601626 .append ("insecureRegistryCIDRs" , insecureRegistryCIDRs )
627+ .append ("mirrors" , mirrors )
602628 .toString ();
603629 }
604630
@@ -613,6 +639,7 @@ public boolean equals(Object o) {
613639 return new EqualsBuilder ()
614640 .append (indexConfigs , that .indexConfigs )
615641 .append (insecureRegistryCIDRs , that .insecureRegistryCIDRs )
642+ .append (mirrors , that .mirrors )
616643 .isEquals ();
617644 }
618645
@@ -621,6 +648,7 @@ public int hashCode() {
621648 return new HashCodeBuilder (17 , 37 )
622649 .append (indexConfigs )
623650 .append (insecureRegistryCIDRs )
651+ .append (mirrors )
624652 .toHashCode ();
625653 }
626654
@@ -641,26 +669,70 @@ public static final class IndexConfig {
641669 @ JsonProperty ("Secure" )
642670 private Boolean secure ;
643671
672+ /**
673+ * @see #mirrors
674+ */
644675 @ CheckForNull
645676 public String getMirrors () {
646677 return mirrors ;
647678 }
648679
680+ /**
681+ * @see #mirrors
682+ */
683+ public IndexConfig withMirrors (String mirrors ) {
684+ this .mirrors = mirrors ;
685+ return this ;
686+ }
687+
688+ /**
689+ * @see #name
690+ */
649691 @ CheckForNull
650692 public String getName () {
651693 return name ;
652694 }
653695
696+ /**
697+ * @see #name
698+ */
699+ public IndexConfig withName (String name ) {
700+ this .name = name ;
701+ return this ;
702+ }
703+
704+ /**
705+ * @see #official
706+ */
654707 @ CheckForNull
655708 public Boolean getOfficial () {
656709 return official ;
657710 }
658711
712+ /**
713+ * @see #official
714+ */
715+ public IndexConfig withOfficial (Boolean official ) {
716+ this .official = official ;
717+ return this ;
718+ }
719+
720+ /**
721+ * @see #secure
722+ */
659723 @ CheckForNull
660724 public Boolean getSecure () {
661725 return secure ;
662726 }
663727
728+ /**
729+ * @see #secure
730+ */
731+ public IndexConfig withSecure (Boolean secure ) {
732+ this .secure = secure ;
733+ return this ;
734+ }
735+
664736 @ Override
665737 public String toString () {
666738 return new ToStringBuilder (this )
0 commit comments