/** * Calls {@link Tiller#close() close()} on the {@link Tiller} * instance {@linkplain #ReleaseManager(Tiller) supplied at * construction time}. * * @exception IOException if an error occurs */ @Override public void close() throws IOException { this.getTiller().close(); }
/** * Calls {@link Tiller#close() close()} on the {@link Tiller} * instance {@linkplain #ReleaseManager(Tiller) supplied at * construction time}. * * @exception IOException if an error occurs */ @Override public void close() throws IOException { this.getTiller().close(); }
/** * Returns the history of a given Helm release. * * <p>This method never returns {@code null}.</p> * * <p>Overrides of this method must not return {@code null}.</p> * * @param request the {@link GetHistoryRequest} * describing the release; must not be {@code null} * * @return a {@link Future} containing a {@link * GetHistoryResponse} that has the information requested; * never {@code null} * * @exception NullPointerException if {@code request} is {@code * null} */ public Future<GetHistoryResponse> getHistory(final GetHistoryRequest request) throws IOException { Objects.requireNonNull(request); validate(request); final ReleaseServiceFutureStub stub = this.getTiller().getReleaseServiceFutureStub(); assert stub != null; return stub.getHistory(request); }
/** * Uninstalls (deletes) a previously installed release. * * <p>This method never returns {@code null}.</p> * * <p>Overrides of this method must not return {@code null}.</p> * * @param request the {@link UninstallReleaseRequest} describing the * release; must not be {@code null} * * @return a {@link Future} containing a {@link * UninstallReleaseResponse} that has the information requested; * never {@code null} * * @exception NullPointerException if {@code request} is {@code * null} */ public Future<UninstallReleaseResponse> uninstall(final UninstallReleaseRequest request) throws IOException { Objects.requireNonNull(request); validate(request); final ReleaseServiceFutureStub stub = this.getTiller().getReleaseServiceFutureStub(); assert stub != null; return stub.uninstallRelease(request); }
/** * Returns the status of a given Helm release. * * <p>This method never returns {@code null}.</p> * * <p>Overrides of this method must not return {@code null}.</p> * * @param request the {@link GetReleaseStatusRequest} describing the * release; must not be {@code null} * * @return a {@link Future} containing a {@link * GetReleaseStatusResponse} that has the information requested; * never {@code null} * * @exception NullPointerException if {@code request} is {@code * null} */ public Future<GetReleaseStatusResponse> getStatus(final GetReleaseStatusRequest request) throws IOException { Objects.requireNonNull(request); validate(request); final ReleaseServiceFutureStub stub = this.getTiller().getReleaseServiceFutureStub(); assert stub != null; return stub.getReleaseStatus(request); }
/** * Returns the status of a given Helm release. * * <p>This method never returns {@code null}.</p> * * <p>Overrides of this method must not return {@code null}.</p> * * @param request the {@link GetReleaseStatusRequest} describing the * release; must not be {@code null} * * @return a {@link Future} containing a {@link * GetReleaseStatusResponse} that has the information requested; * never {@code null} * * @exception NullPointerException if {@code request} is {@code * null} */ public Future<GetReleaseStatusResponse> getStatus(final GetReleaseStatusRequest request) throws IOException { Objects.requireNonNull(request); validate(request); final ReleaseServiceFutureStub stub = this.getTiller().getReleaseServiceFutureStub(); assert stub != null; return stub.getReleaseStatus(request); }
/** * Returns information about tests run on a given Helm release. * * <p>This method never returns {@code null}.</p> * * <p>Overrides of this method must not return {@code null}.</p> * * @param request the {@link TestReleaseRequest} describing the * release to be tested; must not be {@code null} * * @return an {@link Iterator} of {@link TestReleaseResponse} * objects comprising the information requested; never {@code null} * * @exception NullPointerException if {@code request} is {@code * null} */ public Iterator<TestReleaseResponse> test(final TestReleaseRequest request) { Objects.requireNonNull(request); validate(request); final ReleaseServiceBlockingStub stub = this.getTiller().getReleaseServiceBlockingStub(); assert stub != null; return stub.runReleaseTest(request); }
/** * Rolls back a previously installed release. * * <p>This method never returns {@code null}.</p> * * <p>Overrides of this method must not return {@code null}.</p> * * @param request the {@link RollbackReleaseRequest} describing the * release; must not be {@code null} * * @return a {@link Future} containing a {@link * RollbackReleaseResponse} that has the information requested; * never {@code null} * * @exception NullPointerException if {@code request} is {@code * null} */ public Future<RollbackReleaseResponse> rollback(final RollbackReleaseRequest request) throws IOException { Objects.requireNonNull(request); validate(request); final ReleaseServiceFutureStub stub = this.getTiller().getReleaseServiceFutureStub(); assert stub != null; return stub.rollbackRelease(request); }
/** * Uninstalls (deletes) a previously installed release. * * <p>This method never returns {@code null}.</p> * * <p>Overrides of this method must not return {@code null}.</p> * * @param request the {@link UninstallReleaseRequest} describing the * release; must not be {@code null} * * @return a {@link Future} containing a {@link * UninstallReleaseResponse} that has the information requested; * never {@code null} * * @exception NullPointerException if {@code request} is {@code * null} */ public Future<UninstallReleaseResponse> uninstall(final UninstallReleaseRequest request) throws IOException { Objects.requireNonNull(request); validate(request); final ReleaseServiceFutureStub stub = this.getTiller().getReleaseServiceFutureStub(); assert stub != null; return stub.uninstallRelease(request); }
/** * Returns the content that made up a given Helm release. * * <p>This method never returns {@code null}.</p> * * <p>Overrides of this method must not return {@code null}.</p> * * @param request the {@link GetReleaseContentRequest} describing * the release; must not be {@code null} * * @return a {@link Future} containing a {@link * GetReleaseContentResponse} that has the information requested; * never {@code null} * * @exception NullPointerException if {@code request} is {@code * null} */ public Future<GetReleaseContentResponse> getContent(final GetReleaseContentRequest request) throws IOException { Objects.requireNonNull(request); validate(request); final ReleaseServiceFutureStub stub = this.getTiller().getReleaseServiceFutureStub(); assert stub != null; return stub.getReleaseContent(request); }
/** * Returns the history of a given Helm release. * * <p>This method never returns {@code null}.</p> * * <p>Overrides of this method must not return {@code null}.</p> * * @param request the {@link GetHistoryRequest} * describing the release; must not be {@code null} * * @return a {@link Future} containing a {@link * GetHistoryResponse} that has the information requested; * never {@code null} * * @exception NullPointerException if {@code request} is {@code * null} */ public Future<GetHistoryResponse> getHistory(final GetHistoryRequest request) throws IOException { Objects.requireNonNull(request); validate(request); final ReleaseServiceFutureStub stub = this.getTiller().getReleaseServiceFutureStub(); assert stub != null; return stub.getHistory(request); }
/** * Returns the content that made up a given Helm release. * * <p>This method never returns {@code null}.</p> * * <p>Overrides of this method must not return {@code null}.</p> * * @param request the {@link GetReleaseContentRequest} describing * the release; must not be {@code null} * * @return a {@link Future} containing a {@link * GetReleaseContentResponse} that has the information requested; * never {@code null} * * @exception NullPointerException if {@code request} is {@code * null} */ public Future<GetReleaseContentResponse> getContent(final GetReleaseContentRequest request) throws IOException { Objects.requireNonNull(request); validate(request); final ReleaseServiceFutureStub stub = this.getTiller().getReleaseServiceFutureStub(); assert stub != null; return stub.getReleaseContent(request); }
/** * Returns information about tests run on a given Helm release. * * <p>This method never returns {@code null}.</p> * * <p>Overrides of this method must not return {@code null}.</p> * * @param request the {@link TestReleaseRequest} describing the * release to be tested; must not be {@code null} * * @return an {@link Iterator} of {@link TestReleaseResponse} * objects comprising the information requested; never {@code null} * * @exception NullPointerException if {@code request} is {@code * null} */ public Iterator<TestReleaseResponse> test(final TestReleaseRequest request) { Objects.requireNonNull(request); validate(request); final ReleaseServiceBlockingStub stub = this.getTiller().getReleaseServiceBlockingStub(); assert stub != null; return stub.runReleaseTest(request); }
/** * Returns information about Helm releases. * * <p>This method never returns {@code null}.</p> * * <p>Overrides of this method must not return {@code null}.</p> * * @param request the {@link ListReleasesRequest} describing the * releases to be returned; must not be {@code null} * * @return an {@link Iterator} of {@link ListReleasesResponse} * objects comprising the information requested; never {@code null} * * @exception NullPointerException if {@code request} is {@code * null} * * @exception PatternSyntaxException if the {@link * ListReleasesRequestOrBuilder#getFilter()} return value is * non-{@code null}, non-{@linkplain String#isEmpty() empty} but not * a {@linkplain Pattern#compile(String) valid regular expression} */ public Iterator<ListReleasesResponse> list(final ListReleasesRequest request) { Objects.requireNonNull(request); validate(request); final ReleaseServiceBlockingStub stub = this.getTiller().getReleaseServiceBlockingStub(); assert stub != null; return stub.listReleases(request); }
/** * Rolls back a previously installed release. * * <p>This method never returns {@code null}.</p> * * <p>Overrides of this method must not return {@code null}.</p> * * @param request the {@link RollbackReleaseRequest} describing the * release; must not be {@code null} * * @return a {@link Future} containing a {@link * RollbackReleaseResponse} that has the information requested; * never {@code null} * * @exception NullPointerException if {@code request} is {@code * null} */ public Future<RollbackReleaseResponse> rollback(final RollbackReleaseRequest request) throws IOException { Objects.requireNonNull(request); validate(request); final ReleaseServiceFutureStub stub = this.getTiller().getReleaseServiceFutureStub(); assert stub != null; return stub.rollbackRelease(request); }
/** * Returns information about Helm releases. * * <p>This method never returns {@code null}.</p> * * <p>Overrides of this method must not return {@code null}.</p> * * @param request the {@link ListReleasesRequest} describing the * releases to be returned; must not be {@code null} * * @return an {@link Iterator} of {@link ListReleasesResponse} * objects comprising the information requested; never {@code null} * * @exception NullPointerException if {@code request} is {@code * null} * * @exception PatternSyntaxException if the {@link * ListReleasesRequestOrBuilder#getFilter()} return value is * non-{@code null}, non-{@linkplain String#isEmpty() empty} but not * a {@linkplain Pattern#compile(String) valid regular expression} */ public Iterator<ListReleasesResponse> list(final ListReleasesRequest request) { Objects.requireNonNull(request); validate(request); final ReleaseServiceBlockingStub stub = this.getTiller().getReleaseServiceBlockingStub(); assert stub != null; return stub.listReleases(request); }
final ReleaseServiceFutureStub stub = this.getTiller().getReleaseServiceFutureStub(); assert stub != null; return stub.updateRelease(requestBuilder.build());
final ReleaseServiceFutureStub stub = this.getTiller().getReleaseServiceFutureStub(); assert stub != null; return stub.updateRelease(requestBuilder.build());
final io.fabric8.kubernetes.client.Config configuration = this.getTiller().getConfiguration(); if (configuration == null) { requestBuilder.setNamespace("default"); final ReleaseServiceFutureStub stub = this.getTiller().getReleaseServiceFutureStub(); assert stub != null; return stub.installRelease(requestBuilder.build());
final io.fabric8.kubernetes.client.Config configuration = this.getTiller().getConfiguration(); if (configuration == null) { requestBuilder.setNamespace("default"); final ReleaseServiceFutureStub stub = this.getTiller().getReleaseServiceFutureStub(); assert stub != null; return stub.installRelease(requestBuilder.build());