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

Method IsComplete

api/cloudcontroller/ccv3/job.go:55–57  ·  view source on GitHub ↗

IsComplete returns true when the job has completed successfully.

()

Source from the content-addressed store, hash-verified

53
54// IsComplete returns true when the job has completed successfully.
55func (job Job) IsComplete() bool {
56 return job.State == constant.JobComplete
57}
58
59// IsAt returns true when the job has reached the desired state.
60func (job Job) IsAt(state constant.JobState) bool {

Callers 3

PollJobForStateMethod · 0.80
PollJobToEventStreamMethod · 0.80
job_test.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected