go:generate mockery --name=Factory --structname=MockFactory --inpackage --filename=factory_mock.go --with-expecter
| 21 | |
| 22 | //go:generate mockery --name=Factory --structname=MockFactory --inpackage --filename=factory_mock.go --with-expecter |
| 23 | type Factory interface { |
| 24 | Types() []provisioning.ConnectionType |
| 25 | Build(ctx context.Context, r *provisioning.Connection) (Connection, error) |
| 26 | Mutate(ctx context.Context, obj runtime.Object) error |
| 27 | Validate(ctx context.Context, obj runtime.Object) field.ErrorList |
| 28 | } |
| 29 | |
| 30 | type factory struct { |
| 31 | extras map[provisioning.ConnectionType]Extra |
nothing calls this directly
no outgoing calls
no test coverage detected