Documentation ¶
Index ¶
- type Client
- func (s *Client) Accept(ctx context.Context, stage int64, machine string) error
- func (s *Client) After(ctx context.Context, step *core.Step) error
- func (s *Client) AfterAll(ctx context.Context, stage *core.Stage) error
- func (s *Client) Before(ctx context.Context, step *core.Step) error
- func (s *Client) BeforeAll(ctx context.Context, stage *core.Stage) error
- func (s *Client) Details(ctx context.Context, stage int64) (*manager.Context, error)
- func (s *Client) Netrc(ctx context.Context, repo int64) (*core.Netrc, error)
- func (s *Client) Request(ctx context.Context, args *manager.Request) (*core.Stage, error)
- func (s *Client) SetDebug(debug bool)
- func (s *Client) Upload(ctx context.Context, step int64, r io.Reader) error
- func (s *Client) UploadBytes(ctx context.Context, step int64, data []byte) error
- func (s *Client) Watch(ctx context.Context, build int64) (bool, error)
- func (s *Client) Write(ctx context.Context, step int64, line *core.Line) error
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client defines an RPC client.
func NewClient ¶
NewClient returns a new rpc client that is able to interact with a remote build controller using the http transport.
func (*Client) SetDebug ¶
SetDebug enabled debug-level logging within the retryable http.Client. This can be useful if you are debugging network connectivity issues and want to monitor disconnects, reconnects, and retries.
func (*Client) UploadBytes ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is an rpc handler that enables remote interaction between the server and controller using the http transport.
Click to show internal directories.
Click to hide internal directories.