/** * Creates a new {@link Tiller} that will use information from the * supplied {@link LocalPortForward} to establish a communications * channel with the Tiller server. * * @param portForward the {@link LocalPortForward} to use; must not * be {@code null} * * @exception NullPointerException if {@code portForward} is {@code * null} */ public Tiller(final LocalPortForward portForward) { super(); Objects.requireNonNull(portForward); this.config = null; this.portForward = null; // yes, null this.channel = this.buildChannel(portForward); }
/** * Creates a new {@link Tiller} that will use information from the * supplied {@link LocalPortForward} to establish a communications * channel with the Tiller server. * * @param portForward the {@link LocalPortForward} to use; must not * be {@code null} * * @exception NullPointerException if {@code portForward} is {@code * null} */ public Tiller(final LocalPortForward portForward) { super(); Objects.requireNonNull(portForward); this.config = null; this.portForward = null; // yes, null this.channel = this.buildChannel(portForward); }
throw new TillerException("Could not forward port to a Ready Tiller pod's port " + tillerPort + " in namespace " + namespaceHousingTiller + " with labels " + tillerLabels); this.channel = this.buildChannel(this.portForward);
throw new TillerException("Could not forward port to a Ready Tiller pod's port " + tillerPort + " in namespace " + namespaceHousingTiller + " with labels " + tillerLabels); this.channel = this.buildChannel(this.portForward);