Documentation
¶
Index ¶
- type Client
- type ClientService
- type GetBadRequest
- type GetForbidden
- type GetInternalServerError
- type GetNotFound
- type GetOK
- type GetParams
- func (o *GetParams) SetContext(ctx context.Context)
- func (o *GetParams) SetHTTPClient(client *http.Client)
- func (o *GetParams) SetLogRequest(logRequest *buildlogstream_models.LogRequest)
- func (o *GetParams) SetTimeout(timeout time.Duration)
- func (o *GetParams) WithContext(ctx context.Context) *GetParams
- func (o *GetParams) WithHTTPClient(client *http.Client) *GetParams
- func (o *GetParams) WithLogRequest(logRequest *buildlogstream_models.LogRequest) *GetParams
- func (o *GetParams) WithTimeout(timeout time.Duration) *GetParams
- func (o *GetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReader
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 for buildlogstream operations API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { Get(params *GetParams) (*GetOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new buildlogstream operations API client.
type GetBadRequest ¶
type GetBadRequest struct {
Payload *buildlogstream_models.Message
}
GetBadRequest handles this case with default header values.
Bad Request
func NewGetBadRequest ¶
func NewGetBadRequest() *GetBadRequest
NewGetBadRequest creates a GetBadRequest with default headers values
func (*GetBadRequest) Error ¶
func (o *GetBadRequest) Error() string
func (*GetBadRequest) GetPayload ¶
func (o *GetBadRequest) GetPayload() *buildlogstream_models.Message
type GetForbidden ¶
type GetForbidden struct {
Payload *buildlogstream_models.Message
}
GetForbidden handles this case with default header values.
Forbidden
func NewGetForbidden ¶
func NewGetForbidden() *GetForbidden
NewGetForbidden creates a GetForbidden with default headers values
func (*GetForbidden) Error ¶
func (o *GetForbidden) Error() string
func (*GetForbidden) GetPayload ¶
func (o *GetForbidden) GetPayload() *buildlogstream_models.Message
type GetInternalServerError ¶
type GetInternalServerError struct {
Payload *buildlogstream_models.Message
}
GetInternalServerError handles this case with default header values.
Server Error
func NewGetInternalServerError ¶
func NewGetInternalServerError() *GetInternalServerError
NewGetInternalServerError creates a GetInternalServerError with default headers values
func (*GetInternalServerError) Error ¶
func (o *GetInternalServerError) Error() string
func (*GetInternalServerError) GetPayload ¶
func (o *GetInternalServerError) GetPayload() *buildlogstream_models.Message
type GetNotFound ¶
type GetNotFound struct {
Payload *buildlogstream_models.Message
}
GetNotFound handles this case with default header values.
Not Found
func NewGetNotFound ¶
func NewGetNotFound() *GetNotFound
NewGetNotFound creates a GetNotFound with default headers values
func (*GetNotFound) Error ¶
func (o *GetNotFound) Error() string
func (*GetNotFound) GetPayload ¶
func (o *GetNotFound) GetPayload() *buildlogstream_models.Message
type GetOK ¶
type GetOK struct {
Payload *buildlogstream_models.StatusMessageEnvelope
}
GetOK handles this case with default header values.
Open websocket connection to stream build logs
func (*GetOK) GetPayload ¶
func (o *GetOK) GetPayload() *buildlogstream_models.StatusMessageEnvelope
type GetParams ¶
type GetParams struct { /*LogRequest*/ LogRequest *buildlogstream_models.LogRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetParams contains all the parameters to send to the API endpoint for the get operation typically these are written to a http.Request
func NewGetParams ¶
func NewGetParams() *GetParams
NewGetParams creates a new GetParams object with the default values initialized.
func NewGetParamsWithContext ¶
NewGetParamsWithContext creates a new GetParams object with the default values initialized, and the ability to set a context for a request
func NewGetParamsWithHTTPClient ¶
NewGetParamsWithHTTPClient creates a new GetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetParamsWithTimeout ¶
NewGetParamsWithTimeout creates a new GetParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetParams) SetContext ¶
SetContext adds the context to the get params
func (*GetParams) SetHTTPClient ¶
SetHTTPClient adds the HTTPClient to the get params
func (*GetParams) SetLogRequest ¶
func (o *GetParams) SetLogRequest(logRequest *buildlogstream_models.LogRequest)
SetLogRequest adds the logRequest to the get params
func (*GetParams) SetTimeout ¶
SetTimeout adds the timeout to the get params
func (*GetParams) WithContext ¶
WithContext adds the context to the get params
func (*GetParams) WithHTTPClient ¶
WithHTTPClient adds the HTTPClient to the get params
func (*GetParams) WithLogRequest ¶
func (o *GetParams) WithLogRequest(logRequest *buildlogstream_models.LogRequest) *GetParams
WithLogRequest adds the logRequest to the get params
func (*GetParams) WithTimeout ¶
WithTimeout adds the timeout to the get params
func (*GetParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type GetReader ¶
type GetReader struct {
// contains filtered or unexported fields
}
GetReader is a Reader for the Get structure.
func (*GetReader) ReadResponse ¶
func (o *GetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.