Skip to content

Commit 91dc6b3

Browse files
committed
🚧 Work in progress: Factor out binding-request-parsing.
1 parent 2c95f0d commit 91dc6b3

File tree

1 file changed

+23
-0
lines changed
  • src/autoscaler/api/broker/binding_request_parser

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
package bindingrequestparser
2+
3+
import (
4+
"code.cloudfoundry.org/app-autoscaler/src/autoscaler/models"
5+
"code.cloudfoundry.org/brokerapi/v13/domain"
6+
)
7+
8+
9+
type BindRequestParser = interface {
10+
Parse(details domain.BindDetails) (models.AppScalingConfig, error)
11+
}
12+
13+
14+
type bindRequestParser struct {
15+
16+
}
17+
18+
var _ BindRequestParser = &bindRequestParser{}
19+
20+
21+
func (brp *bindRequestParser) Parse(details domain.BindDetails) (models.AppScalingConfig, error) {
22+
return models.AppScalingConfig{}, models.ErrUnimplemented
23+
}

0 commit comments

Comments
 (0)