Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetBuildStatusInternalServerError
- func (o *GetBuildStatusInternalServerError) Code() int
- func (o *GetBuildStatusInternalServerError) Error() string
- func (o *GetBuildStatusInternalServerError) IsClientError() bool
- func (o *GetBuildStatusInternalServerError) IsCode(code int) bool
- func (o *GetBuildStatusInternalServerError) IsRedirect() bool
- func (o *GetBuildStatusInternalServerError) IsServerError() bool
- func (o *GetBuildStatusInternalServerError) IsSuccess() bool
- func (o *GetBuildStatusInternalServerError) String() string
- type GetBuildStatusOK
- func (o *GetBuildStatusOK) Code() int
- func (o *GetBuildStatusOK) Error() string
- func (o *GetBuildStatusOK) IsClientError() bool
- func (o *GetBuildStatusOK) IsCode(code int) bool
- func (o *GetBuildStatusOK) IsRedirect() bool
- func (o *GetBuildStatusOK) IsServerError() bool
- func (o *GetBuildStatusOK) IsSuccess() bool
- func (o *GetBuildStatusOK) String() string
- type GetBuildStatusParams
- func NewGetBuildStatusParams() *GetBuildStatusParams
- func NewGetBuildStatusParamsWithContext(ctx context.Context) *GetBuildStatusParams
- func NewGetBuildStatusParamsWithHTTPClient(client *http.Client) *GetBuildStatusParams
- func NewGetBuildStatusParamsWithTimeout(timeout time.Duration) *GetBuildStatusParams
- func (o *GetBuildStatusParams) SetAppName(appName string)
- func (o *GetBuildStatusParams) SetContext(ctx context.Context)
- func (o *GetBuildStatusParams) SetDefaults()
- func (o *GetBuildStatusParams) SetEnvName(envName string)
- func (o *GetBuildStatusParams) SetHTTPClient(client *http.Client)
- func (o *GetBuildStatusParams) SetPipeline(pipeline *string)
- func (o *GetBuildStatusParams) SetTimeout(timeout time.Duration)
- func (o *GetBuildStatusParams) WithAppName(appName string) *GetBuildStatusParams
- func (o *GetBuildStatusParams) WithContext(ctx context.Context) *GetBuildStatusParams
- func (o *GetBuildStatusParams) WithDefaults() *GetBuildStatusParams
- func (o *GetBuildStatusParams) WithEnvName(envName string) *GetBuildStatusParams
- func (o *GetBuildStatusParams) WithHTTPClient(client *http.Client) *GetBuildStatusParams
- func (o *GetBuildStatusParams) WithPipeline(pipeline *string) *GetBuildStatusParams
- func (o *GetBuildStatusParams) WithTimeout(timeout time.Duration) *GetBuildStatusParams
- func (o *GetBuildStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBuildStatusReader
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 buildstatus API
func (*Client) GetBuildStatus ¶
func (a *Client) GetBuildStatus(params *GetBuildStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBuildStatusOK, error)
GetBuildStatus shows the application build status
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetBuildStatus(params *GetBuildStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBuildStatusOK, 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 buildstatus API client.
type GetBuildStatusInternalServerError ¶
type GetBuildStatusInternalServerError struct { }
GetBuildStatusInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetBuildStatusInternalServerError ¶
func NewGetBuildStatusInternalServerError() *GetBuildStatusInternalServerError
NewGetBuildStatusInternalServerError creates a GetBuildStatusInternalServerError with default headers values
func (*GetBuildStatusInternalServerError) Code ¶
func (o *GetBuildStatusInternalServerError) Code() int
Code gets the status code for the get build status internal server error response
func (*GetBuildStatusInternalServerError) Error ¶
func (o *GetBuildStatusInternalServerError) Error() string
func (*GetBuildStatusInternalServerError) IsClientError ¶
func (o *GetBuildStatusInternalServerError) IsClientError() bool
IsClientError returns true when this get build status internal server error response has a 4xx status code
func (*GetBuildStatusInternalServerError) IsCode ¶
func (o *GetBuildStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this get build status internal server error response a status code equal to that given
func (*GetBuildStatusInternalServerError) IsRedirect ¶
func (o *GetBuildStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this get build status internal server error response has a 3xx status code
func (*GetBuildStatusInternalServerError) IsServerError ¶
func (o *GetBuildStatusInternalServerError) IsServerError() bool
IsServerError returns true when this get build status internal server error response has a 5xx status code
func (*GetBuildStatusInternalServerError) IsSuccess ¶
func (o *GetBuildStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this get build status internal server error response has a 2xx status code
func (*GetBuildStatusInternalServerError) String ¶
func (o *GetBuildStatusInternalServerError) String() string
type GetBuildStatusOK ¶
type GetBuildStatusOK struct { }
GetBuildStatusOK describes a response with status code 200, with default header values.
Successful operation
func NewGetBuildStatusOK ¶
func NewGetBuildStatusOK() *GetBuildStatusOK
NewGetBuildStatusOK creates a GetBuildStatusOK with default headers values
func (*GetBuildStatusOK) Code ¶
func (o *GetBuildStatusOK) Code() int
Code gets the status code for the get build status o k response
func (*GetBuildStatusOK) Error ¶
func (o *GetBuildStatusOK) Error() string
func (*GetBuildStatusOK) IsClientError ¶
func (o *GetBuildStatusOK) IsClientError() bool
IsClientError returns true when this get build status o k response has a 4xx status code
func (*GetBuildStatusOK) IsCode ¶
func (o *GetBuildStatusOK) IsCode(code int) bool
IsCode returns true when this get build status o k response a status code equal to that given
func (*GetBuildStatusOK) IsRedirect ¶
func (o *GetBuildStatusOK) IsRedirect() bool
IsRedirect returns true when this get build status o k response has a 3xx status code
func (*GetBuildStatusOK) IsServerError ¶
func (o *GetBuildStatusOK) IsServerError() bool
IsServerError returns true when this get build status o k response has a 5xx status code
func (*GetBuildStatusOK) IsSuccess ¶
func (o *GetBuildStatusOK) IsSuccess() bool
IsSuccess returns true when this get build status o k response has a 2xx status code
func (*GetBuildStatusOK) String ¶
func (o *GetBuildStatusOK) String() string
type GetBuildStatusParams ¶
type GetBuildStatusParams struct { /* AppName. name of Radix application */ AppName string /* EnvName. name of the environment */ EnvName string /* Pipeline. Type of pipeline job to get status for. Default: "build-deploy" */ Pipeline *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBuildStatusParams contains all the parameters to send to the API endpoint
for the get build status operation. Typically these are written to a http.Request.
func NewGetBuildStatusParams ¶
func NewGetBuildStatusParams() *GetBuildStatusParams
NewGetBuildStatusParams creates a new GetBuildStatusParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetBuildStatusParamsWithContext ¶
func NewGetBuildStatusParamsWithContext(ctx context.Context) *GetBuildStatusParams
NewGetBuildStatusParamsWithContext creates a new GetBuildStatusParams object with the ability to set a context for a request.
func NewGetBuildStatusParamsWithHTTPClient ¶
func NewGetBuildStatusParamsWithHTTPClient(client *http.Client) *GetBuildStatusParams
NewGetBuildStatusParamsWithHTTPClient creates a new GetBuildStatusParams object with the ability to set a custom HTTPClient for a request.
func NewGetBuildStatusParamsWithTimeout ¶
func NewGetBuildStatusParamsWithTimeout(timeout time.Duration) *GetBuildStatusParams
NewGetBuildStatusParamsWithTimeout creates a new GetBuildStatusParams object with the ability to set a timeout on a request.
func (*GetBuildStatusParams) SetAppName ¶
func (o *GetBuildStatusParams) SetAppName(appName string)
SetAppName adds the appName to the get build status params
func (*GetBuildStatusParams) SetContext ¶
func (o *GetBuildStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the get build status params
func (*GetBuildStatusParams) SetDefaults ¶
func (o *GetBuildStatusParams) SetDefaults()
SetDefaults hydrates default values in the get build status params (not the query body).
All values with no default are reset to their zero value.
func (*GetBuildStatusParams) SetEnvName ¶
func (o *GetBuildStatusParams) SetEnvName(envName string)
SetEnvName adds the envName to the get build status params
func (*GetBuildStatusParams) SetHTTPClient ¶
func (o *GetBuildStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get build status params
func (*GetBuildStatusParams) SetPipeline ¶
func (o *GetBuildStatusParams) SetPipeline(pipeline *string)
SetPipeline adds the pipeline to the get build status params
func (*GetBuildStatusParams) SetTimeout ¶
func (o *GetBuildStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get build status params
func (*GetBuildStatusParams) WithAppName ¶
func (o *GetBuildStatusParams) WithAppName(appName string) *GetBuildStatusParams
WithAppName adds the appName to the get build status params
func (*GetBuildStatusParams) WithContext ¶
func (o *GetBuildStatusParams) WithContext(ctx context.Context) *GetBuildStatusParams
WithContext adds the context to the get build status params
func (*GetBuildStatusParams) WithDefaults ¶
func (o *GetBuildStatusParams) WithDefaults() *GetBuildStatusParams
WithDefaults hydrates default values in the get build status params (not the query body).
All values with no default are reset to their zero value.
func (*GetBuildStatusParams) WithEnvName ¶
func (o *GetBuildStatusParams) WithEnvName(envName string) *GetBuildStatusParams
WithEnvName adds the envName to the get build status params
func (*GetBuildStatusParams) WithHTTPClient ¶
func (o *GetBuildStatusParams) WithHTTPClient(client *http.Client) *GetBuildStatusParams
WithHTTPClient adds the HTTPClient to the get build status params
func (*GetBuildStatusParams) WithPipeline ¶
func (o *GetBuildStatusParams) WithPipeline(pipeline *string) *GetBuildStatusParams
WithPipeline adds the pipeline to the get build status params
func (*GetBuildStatusParams) WithTimeout ¶
func (o *GetBuildStatusParams) WithTimeout(timeout time.Duration) *GetBuildStatusParams
WithTimeout adds the timeout to the get build status params
func (*GetBuildStatusParams) WriteToRequest ¶
func (o *GetBuildStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBuildStatusReader ¶
type GetBuildStatusReader struct {
// contains filtered or unexported fields
}
GetBuildStatusReader is a Reader for the GetBuildStatus structure.
func (*GetBuildStatusReader) ReadResponse ¶
func (o *GetBuildStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.