buildstatus

package
v1.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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

Code gets the status code for the get build status internal server error response

func (*GetBuildStatusInternalServerError) Error

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL