api.go 296 Bytes
Newer Older
songlinfeng's avatar
songlinfeng committed
1
2
3
4
5
6
7
8
9
10
11
12
/**
# Copyright (c) 2024, HCUOpt CORPORATION.  All rights reserved.
**/

package transform

import "tags.cncf.io/container-device-interface/specs-go"

// Transformer defines the API for applying arbitrary transforms to a spec in-place
type Transformer interface {
	Transform(*specs.Spec) error
}