1
0
Fork 0
woodpecker-pipeline-transform/transform.go

16 lines
341 B
Go
Raw Permalink Normal View History

2022-07-26 23:16:28 +02:00
// Copyright 2022 Lauris BH. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package transform
type Source struct {
Name string
Content []byte
}
type Transformer interface {
Transform([]*Source) ([]*Pipeline, error)
PostProcess([]byte) ([]byte, error)
2022-07-26 23:16:28 +02:00
}