*** PRIVATE *** module
| 228 | // module |
| 229 | |
| 230 | type module struct { |
| 231 | ModuleReadBucket |
| 232 | |
| 233 | ctx context.Context |
| 234 | getBucket func() (storage.ReadBucket, error) |
| 235 | bucketID string |
| 236 | description string |
| 237 | moduleFullName bufparse.FullName |
| 238 | commitID uuid.UUID |
| 239 | isTarget bool |
| 240 | isLocal bool |
| 241 | getV1BufYAMLObjectData func() (ObjectData, error) |
| 242 | getV1BufLockObjectData func() (ObjectData, error) |
| 243 | getDepModuleKeysB5 func() ([]ModuleKey, error) |
| 244 | |
| 245 | moduleSet ModuleSet |
| 246 | |
| 247 | digestTypeToGetDigest map[DigestType]func() (Digest, error) |
| 248 | getModuleDeps func() ([]ModuleDep, error) |
| 249 | } |
| 250 | |
| 251 | // must set ModuleReadBucket after constructor via setModuleReadBucket |
| 252 | func newModule( |
nothing calls this directly
no outgoing calls
no test coverage detected