{"modulePath":"github.com/flyteorg/flyte/flyteplugins","version":"v1.16.8","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package arraystatus\n\n## Types\n\n```go\ntype ArrayCachedStatus struct {\n\tCachedJobs *bitarray.BitSet `json:\"cachedJobs\"`\n\tNumCached  uint             `json:\"numCached\"`\n}\n```\nThis is a status object that is returned after we make Catalog calls to see if subtasks are Cached\n\n```go\ntype ArrayStatus struct {\n\t// Summary of the array job. It's a map of phases and how many jobs are in that phase.\n\tSummary ArraySummary `json:\"summary\"`\n\n\t// Status of every job in the array.\n\tDetailed bitarray.CompactArray `json:\"details\"`\n}\n```\n\n```go\nfunc (a ArrayStatus) HashCode() (uint64, error)\n```\nHashCode computes a hash of the phase indices stored in the Detailed array to uniquely represent a collection of subtask phases.\n\n```go\ntype ArraySummary map[core.Phase]int64\n```\n\n```go\nfunc (in ArraySummary) Dec(phase core.Phase)\n```\n\n```go\nfunc (in ArraySummary) Inc(phase core.Phase)\n```\n\n```go\nfunc (in ArraySummary) IncByCount(phase core.Phase, count int64)\n```\n\n```go\nfunc (in ArraySummary) MergeFrom(other ArraySummary) (updated bool)\n```\n\n```go\ntype JobID = string\n```\n\n","path":"github.com/flyteorg/flyte/flyteplugins/go/tasks/plugins/array/arraystatus","name":"arraystatus","synopsis":"","isRedistributable":true}
