Skip to content

Add "connect delete <name>" CLI command#13

Merged
Cody A. Ray (codyaray) merged 1 commit into
masterfrom
connect-delete
May 14, 2018
Merged

Add "connect delete <name>" CLI command#13
Cody A. Ray (codyaray) merged 1 commit into
masterfrom
connect-delete

Conversation

@codyaray
Copy link
Copy Markdown
Contributor

@confluentinc/caas

@codyaray Cody A. Ray (codyaray) requested a review from a team May 14, 2018 21:14
@codyaray Cody A. Ray (codyaray) merged commit 9875ade into master May 14, 2018
@codyaray Cody A. Ray (codyaray) deleted the connect-delete branch May 14, 2018 22:28
Brian Strauch (brianstrauch) pushed a commit that referenced this pull request May 31, 2023
* feat: add gateway api minispec submodule

* feat: add a way to generate sdk from gateway minispec branch

* feat: show how to use and make import available
airlock-confluentinc Bot pushed a commit that referenced this pull request May 29, 2026
…nterval, add Delay

Addresses Channing review #11/#13/#14 on PR #197 (companion generator
PR) by tightening the wait API and the Flink statement reference
adoption.

* pkg/wait: rename Options.Tick / PhaseOptions.Tick to PollInterval to
  match terraform-provider-confluent's StateChangeConf vocabulary. Add
  Delay (initial sleep before the first Fetch) mirroring
  StateChangeConf.Delay — gives the API a moment to materialize the
  resource after a POST, reducing eventually-consistent 404s on the
  first poll. New tests TestPoll_DelayPostponesFirstFetch and
  TestPoll_DelayRespectsCtxCancellation cover the contract.

* Flink statement create (cloud + on-prem): drop the clierrors alias
  on pkg/errors and use direct == compare against wait.ErrFailed /
  wait.ErrTimeout. The wait sentinels are package-level vars returned
  directly from Poll (never wrapped), so == is correct and avoids
  importing stdlib errors alongside the CLI errors package — which
  matches the rest of the codebase's import convention.

* Timeout error now includes the latest observed phase:
  "wait timed out: statement \"x\" is still in phase \"PENDING\""
  rather than the bare "wait timed out". Updated
  create-wait-timeout.golden accordingly.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants