MutableTaskFields returns the canonical mutable task field names.
()
| 63 | |
| 64 | // MutableTaskFields returns the canonical mutable task field names. |
| 65 | func MutableTaskFields() []string { |
| 66 | return []string{ |
| 67 | TaskFieldTitle, |
| 68 | TaskFieldDescription, |
| 69 | TaskFieldPriority, |
| 70 | TaskFieldMaxAttempts, |
| 71 | TaskFieldAutoEnqueueOnReady, |
| 72 | TaskFieldApprovalPolicy, |
| 73 | TaskFieldMetadata, |
| 74 | TaskFieldNetworkChannel, |
| 75 | TaskFieldOwner, |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | // IsImmutableTaskField reports whether the supplied field name is immutable after task creation. |
| 80 | func IsImmutableTaskField(field string) bool { |
no outgoing calls