MCPcopy Index your code
hub / github.com/cloudfoundry/cli / IsAt

Method IsAt

api/cloudcontroller/ccv3/job.go:60–62  ·  view source on GitHub ↗

IsAt returns true when the job has reached the desired state.

(state constant.JobState)

Source from the content-addressed store, hash-verified

58
59// IsAt returns true when the job has reached the desired state.
60func (job Job) IsAt(state constant.JobState) bool {
61 return job.State == state
62}
63
64type jobWarning struct {
65 Detail string `json:"detail"`

Callers 2

PollJobForStateMethod · 0.80
job_test.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected