IgnoreOverriddenMetadataLabelScratchBuilder is a wrapper over labels.ScratchBuilder that ignores label additions that would collide with non-empty Overwrite Metadata fields.
| 137 | // IgnoreOverriddenMetadataLabelScratchBuilder is a wrapper over labels.ScratchBuilder |
| 138 | // that ignores label additions that would collide with non-empty Overwrite Metadata fields. |
| 139 | type IgnoreOverriddenMetadataLabelScratchBuilder struct { |
| 140 | *labels.ScratchBuilder |
| 141 | overwrite Metadata |
| 142 | } |
| 143 | |
| 144 | // Add a name/value pair, unless it would collide with the non-empty Overwrite Metadata |
| 145 | // field. Note if you Add the same name twice you will get a duplicate label, which is invalid. |
nothing calls this directly
no outgoing calls
no test coverage detected