2022-02-10 22:06:57 +00:00
|
|
|
//go:build !solution
|
2020-04-05 13:24:48 +00:00
|
|
|
|
2020-03-29 16:03:07 +00:00
|
|
|
package api
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
2020-04-04 16:19:01 +00:00
|
|
|
"go.uber.org/zap"
|
|
|
|
|
2020-03-29 16:03:07 +00:00
|
|
|
"gitlab.com/slon/shad-go/distbuild/pkg/build"
|
|
|
|
)
|
|
|
|
|
2020-04-04 21:13:45 +00:00
|
|
|
type BuildClient struct {
|
2020-04-04 16:19:01 +00:00
|
|
|
}
|
|
|
|
|
2020-04-04 21:13:45 +00:00
|
|
|
func NewBuildClient(l *zap.Logger, endpoint string) *BuildClient {
|
2020-04-05 13:24:48 +00:00
|
|
|
panic("implement me")
|
2020-03-29 16:03:07 +00:00
|
|
|
}
|
|
|
|
|
2020-04-04 21:13:45 +00:00
|
|
|
func (c *BuildClient) StartBuild(ctx context.Context, request *BuildRequest) (*BuildStarted, StatusReader, error) {
|
2020-04-05 13:24:48 +00:00
|
|
|
panic("implement me")
|
2020-03-29 16:03:07 +00:00
|
|
|
}
|
|
|
|
|
2020-04-04 21:13:45 +00:00
|
|
|
func (c *BuildClient) SignalBuild(ctx context.Context, buildID build.ID, signal *SignalRequest) (*SignalResponse, error) {
|
2020-04-05 13:24:48 +00:00
|
|
|
panic("implement me")
|
2020-03-29 16:03:07 +00:00
|
|
|
}
|