Documentation
¶
Index ¶
- type ApplyRunnergroupBadGateway
- func (o *ApplyRunnergroupBadGateway) Code() int
- func (o *ApplyRunnergroupBadGateway) Error() string
- func (o *ApplyRunnergroupBadGateway) GetPayload() *models.ErrorResponse
- func (o *ApplyRunnergroupBadGateway) IsClientError() bool
- func (o *ApplyRunnergroupBadGateway) IsCode(code int) bool
- func (o *ApplyRunnergroupBadGateway) IsRedirect() bool
- func (o *ApplyRunnergroupBadGateway) IsServerError() bool
- func (o *ApplyRunnergroupBadGateway) IsSuccess() bool
- func (o *ApplyRunnergroupBadGateway) String() string
- type ApplyRunnergroupBadRequest
- func (o *ApplyRunnergroupBadRequest) Code() int
- func (o *ApplyRunnergroupBadRequest) Error() string
- func (o *ApplyRunnergroupBadRequest) GetPayload() *models.ErrorResponse
- func (o *ApplyRunnergroupBadRequest) IsClientError() bool
- func (o *ApplyRunnergroupBadRequest) IsCode(code int) bool
- func (o *ApplyRunnergroupBadRequest) IsRedirect() bool
- func (o *ApplyRunnergroupBadRequest) IsServerError() bool
- func (o *ApplyRunnergroupBadRequest) IsSuccess() bool
- func (o *ApplyRunnergroupBadRequest) String() string
- type ApplyRunnergroupOK
- func (o *ApplyRunnergroupOK) Code() int
- func (o *ApplyRunnergroupOK) Error() string
- func (o *ApplyRunnergroupOK) GetPayload() *models.JobRunnerGroup
- func (o *ApplyRunnergroupOK) IsClientError() bool
- func (o *ApplyRunnergroupOK) IsCode(code int) bool
- func (o *ApplyRunnergroupOK) IsRedirect() bool
- func (o *ApplyRunnergroupOK) IsServerError() bool
- func (o *ApplyRunnergroupOK) IsSuccess() bool
- func (o *ApplyRunnergroupOK) String() string
- type ApplyRunnergroupParams
- func NewApplyRunnergroupParams() *ApplyRunnergroupParams
- func NewApplyRunnergroupParamsWithContext(ctx context.Context) *ApplyRunnergroupParams
- func NewApplyRunnergroupParamsWithHTTPClient(client *http.Client) *ApplyRunnergroupParams
- func NewApplyRunnergroupParamsWithTimeout(timeout time.Duration) *ApplyRunnergroupParams
- func (o *ApplyRunnergroupParams) SetContext(ctx context.Context)
- func (o *ApplyRunnergroupParams) SetData(data *models.JobRunnerGroup)
- func (o *ApplyRunnergroupParams) SetDefaults()
- func (o *ApplyRunnergroupParams) SetHTTPClient(client *http.Client)
- func (o *ApplyRunnergroupParams) SetOrgName(orgName string)
- func (o *ApplyRunnergroupParams) SetRunnergroupName(runnergroupName string)
- func (o *ApplyRunnergroupParams) SetTimeout(timeout time.Duration)
- func (o *ApplyRunnergroupParams) WithContext(ctx context.Context) *ApplyRunnergroupParams
- func (o *ApplyRunnergroupParams) WithData(data *models.JobRunnerGroup) *ApplyRunnergroupParams
- func (o *ApplyRunnergroupParams) WithDefaults() *ApplyRunnergroupParams
- func (o *ApplyRunnergroupParams) WithHTTPClient(client *http.Client) *ApplyRunnergroupParams
- func (o *ApplyRunnergroupParams) WithOrgName(orgName string) *ApplyRunnergroupParams
- func (o *ApplyRunnergroupParams) WithRunnergroupName(runnergroupName string) *ApplyRunnergroupParams
- func (o *ApplyRunnergroupParams) WithTimeout(timeout time.Duration) *ApplyRunnergroupParams
- func (o *ApplyRunnergroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ApplyRunnergroupReader
- type ApplyRunnergroupUnauthorized
- func (o *ApplyRunnergroupUnauthorized) Code() int
- func (o *ApplyRunnergroupUnauthorized) Error() string
- func (o *ApplyRunnergroupUnauthorized) GetPayload() *models.ErrorResponse
- func (o *ApplyRunnergroupUnauthorized) IsClientError() bool
- func (o *ApplyRunnergroupUnauthorized) IsCode(code int) bool
- func (o *ApplyRunnergroupUnauthorized) IsRedirect() bool
- func (o *ApplyRunnergroupUnauthorized) IsServerError() bool
- func (o *ApplyRunnergroupUnauthorized) IsSuccess() bool
- func (o *ApplyRunnergroupUnauthorized) String() string
- type Client
- func (a *Client) ApplyRunnergroup(params *ApplyRunnergroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ApplyRunnergroupOK, error)
- func (a *Client) DeleteRunnergroup(params *DeleteRunnergroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteRunnergroupOK, error)
- func (a *Client) GetRunnergroup(params *GetRunnergroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRunnergroupOK, error)
- func (a *Client) ListRunnergroup(params *ListRunnergroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListRunnergroupOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteRunnergroupBadGateway
- func (o *DeleteRunnergroupBadGateway) Code() int
- func (o *DeleteRunnergroupBadGateway) Error() string
- func (o *DeleteRunnergroupBadGateway) GetPayload() *models.ErrorResponse
- func (o *DeleteRunnergroupBadGateway) IsClientError() bool
- func (o *DeleteRunnergroupBadGateway) IsCode(code int) bool
- func (o *DeleteRunnergroupBadGateway) IsRedirect() bool
- func (o *DeleteRunnergroupBadGateway) IsServerError() bool
- func (o *DeleteRunnergroupBadGateway) IsSuccess() bool
- func (o *DeleteRunnergroupBadGateway) String() string
- type DeleteRunnergroupBadRequest
- func (o *DeleteRunnergroupBadRequest) Code() int
- func (o *DeleteRunnergroupBadRequest) Error() string
- func (o *DeleteRunnergroupBadRequest) GetPayload() *models.ErrorResponse
- func (o *DeleteRunnergroupBadRequest) IsClientError() bool
- func (o *DeleteRunnergroupBadRequest) IsCode(code int) bool
- func (o *DeleteRunnergroupBadRequest) IsRedirect() bool
- func (o *DeleteRunnergroupBadRequest) IsServerError() bool
- func (o *DeleteRunnergroupBadRequest) IsSuccess() bool
- func (o *DeleteRunnergroupBadRequest) String() string
- type DeleteRunnergroupOK
- func (o *DeleteRunnergroupOK) Code() int
- func (o *DeleteRunnergroupOK) Error() string
- func (o *DeleteRunnergroupOK) GetPayload() models.EmptyResponse
- func (o *DeleteRunnergroupOK) IsClientError() bool
- func (o *DeleteRunnergroupOK) IsCode(code int) bool
- func (o *DeleteRunnergroupOK) IsRedirect() bool
- func (o *DeleteRunnergroupOK) IsServerError() bool
- func (o *DeleteRunnergroupOK) IsSuccess() bool
- func (o *DeleteRunnergroupOK) String() string
- type DeleteRunnergroupParams
- func NewDeleteRunnergroupParams() *DeleteRunnergroupParams
- func NewDeleteRunnergroupParamsWithContext(ctx context.Context) *DeleteRunnergroupParams
- func NewDeleteRunnergroupParamsWithHTTPClient(client *http.Client) *DeleteRunnergroupParams
- func NewDeleteRunnergroupParamsWithTimeout(timeout time.Duration) *DeleteRunnergroupParams
- func (o *DeleteRunnergroupParams) SetContext(ctx context.Context)
- func (o *DeleteRunnergroupParams) SetDefaults()
- func (o *DeleteRunnergroupParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRunnergroupParams) SetOrgName(orgName string)
- func (o *DeleteRunnergroupParams) SetRunnergroupName(runnergroupName string)
- func (o *DeleteRunnergroupParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRunnergroupParams) WithContext(ctx context.Context) *DeleteRunnergroupParams
- func (o *DeleteRunnergroupParams) WithDefaults() *DeleteRunnergroupParams
- func (o *DeleteRunnergroupParams) WithHTTPClient(client *http.Client) *DeleteRunnergroupParams
- func (o *DeleteRunnergroupParams) WithOrgName(orgName string) *DeleteRunnergroupParams
- func (o *DeleteRunnergroupParams) WithRunnergroupName(runnergroupName string) *DeleteRunnergroupParams
- func (o *DeleteRunnergroupParams) WithTimeout(timeout time.Duration) *DeleteRunnergroupParams
- func (o *DeleteRunnergroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRunnergroupReader
- type DeleteRunnergroupUnauthorized
- func (o *DeleteRunnergroupUnauthorized) Code() int
- func (o *DeleteRunnergroupUnauthorized) Error() string
- func (o *DeleteRunnergroupUnauthorized) GetPayload() *models.ErrorResponse
- func (o *DeleteRunnergroupUnauthorized) IsClientError() bool
- func (o *DeleteRunnergroupUnauthorized) IsCode(code int) bool
- func (o *DeleteRunnergroupUnauthorized) IsRedirect() bool
- func (o *DeleteRunnergroupUnauthorized) IsServerError() bool
- func (o *DeleteRunnergroupUnauthorized) IsSuccess() bool
- func (o *DeleteRunnergroupUnauthorized) String() string
- type GetRunnergroupBadGateway
- func (o *GetRunnergroupBadGateway) Code() int
- func (o *GetRunnergroupBadGateway) Error() string
- func (o *GetRunnergroupBadGateway) GetPayload() *models.ErrorResponse
- func (o *GetRunnergroupBadGateway) IsClientError() bool
- func (o *GetRunnergroupBadGateway) IsCode(code int) bool
- func (o *GetRunnergroupBadGateway) IsRedirect() bool
- func (o *GetRunnergroupBadGateway) IsServerError() bool
- func (o *GetRunnergroupBadGateway) IsSuccess() bool
- func (o *GetRunnergroupBadGateway) String() string
- type GetRunnergroupBadRequest
- func (o *GetRunnergroupBadRequest) Code() int
- func (o *GetRunnergroupBadRequest) Error() string
- func (o *GetRunnergroupBadRequest) GetPayload() *models.ErrorResponse
- func (o *GetRunnergroupBadRequest) IsClientError() bool
- func (o *GetRunnergroupBadRequest) IsCode(code int) bool
- func (o *GetRunnergroupBadRequest) IsRedirect() bool
- func (o *GetRunnergroupBadRequest) IsServerError() bool
- func (o *GetRunnergroupBadRequest) IsSuccess() bool
- func (o *GetRunnergroupBadRequest) String() string
- type GetRunnergroupOK
- func (o *GetRunnergroupOK) Code() int
- func (o *GetRunnergroupOK) Error() string
- func (o *GetRunnergroupOK) GetPayload() *models.JobRunnerGroup
- func (o *GetRunnergroupOK) IsClientError() bool
- func (o *GetRunnergroupOK) IsCode(code int) bool
- func (o *GetRunnergroupOK) IsRedirect() bool
- func (o *GetRunnergroupOK) IsServerError() bool
- func (o *GetRunnergroupOK) IsSuccess() bool
- func (o *GetRunnergroupOK) String() string
- type GetRunnergroupParams
- func NewGetRunnergroupParams() *GetRunnergroupParams
- func NewGetRunnergroupParamsWithContext(ctx context.Context) *GetRunnergroupParams
- func NewGetRunnergroupParamsWithHTTPClient(client *http.Client) *GetRunnergroupParams
- func NewGetRunnergroupParamsWithTimeout(timeout time.Duration) *GetRunnergroupParams
- func (o *GetRunnergroupParams) SetContext(ctx context.Context)
- func (o *GetRunnergroupParams) SetDefaults()
- func (o *GetRunnergroupParams) SetHTTPClient(client *http.Client)
- func (o *GetRunnergroupParams) SetOrgName(orgName string)
- func (o *GetRunnergroupParams) SetRunnergroupName(runnergroupName string)
- func (o *GetRunnergroupParams) SetTimeout(timeout time.Duration)
- func (o *GetRunnergroupParams) WithContext(ctx context.Context) *GetRunnergroupParams
- func (o *GetRunnergroupParams) WithDefaults() *GetRunnergroupParams
- func (o *GetRunnergroupParams) WithHTTPClient(client *http.Client) *GetRunnergroupParams
- func (o *GetRunnergroupParams) WithOrgName(orgName string) *GetRunnergroupParams
- func (o *GetRunnergroupParams) WithRunnergroupName(runnergroupName string) *GetRunnergroupParams
- func (o *GetRunnergroupParams) WithTimeout(timeout time.Duration) *GetRunnergroupParams
- func (o *GetRunnergroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRunnergroupReader
- type GetRunnergroupUnauthorized
- func (o *GetRunnergroupUnauthorized) Code() int
- func (o *GetRunnergroupUnauthorized) Error() string
- func (o *GetRunnergroupUnauthorized) GetPayload() *models.ErrorResponse
- func (o *GetRunnergroupUnauthorized) IsClientError() bool
- func (o *GetRunnergroupUnauthorized) IsCode(code int) bool
- func (o *GetRunnergroupUnauthorized) IsRedirect() bool
- func (o *GetRunnergroupUnauthorized) IsServerError() bool
- func (o *GetRunnergroupUnauthorized) IsSuccess() bool
- func (o *GetRunnergroupUnauthorized) String() string
- type ListRunnergroupBadGateway
- func (o *ListRunnergroupBadGateway) Code() int
- func (o *ListRunnergroupBadGateway) Error() string
- func (o *ListRunnergroupBadGateway) GetPayload() *models.ErrorResponse
- func (o *ListRunnergroupBadGateway) IsClientError() bool
- func (o *ListRunnergroupBadGateway) IsCode(code int) bool
- func (o *ListRunnergroupBadGateway) IsRedirect() bool
- func (o *ListRunnergroupBadGateway) IsServerError() bool
- func (o *ListRunnergroupBadGateway) IsSuccess() bool
- func (o *ListRunnergroupBadGateway) String() string
- type ListRunnergroupBadRequest
- func (o *ListRunnergroupBadRequest) Code() int
- func (o *ListRunnergroupBadRequest) Error() string
- func (o *ListRunnergroupBadRequest) GetPayload() *models.ErrorResponse
- func (o *ListRunnergroupBadRequest) IsClientError() bool
- func (o *ListRunnergroupBadRequest) IsCode(code int) bool
- func (o *ListRunnergroupBadRequest) IsRedirect() bool
- func (o *ListRunnergroupBadRequest) IsServerError() bool
- func (o *ListRunnergroupBadRequest) IsSuccess() bool
- func (o *ListRunnergroupBadRequest) String() string
- type ListRunnergroupOK
- func (o *ListRunnergroupOK) Code() int
- func (o *ListRunnergroupOK) Error() string
- func (o *ListRunnergroupOK) GetPayload() []*models.JobRunnerGroup
- func (o *ListRunnergroupOK) IsClientError() bool
- func (o *ListRunnergroupOK) IsCode(code int) bool
- func (o *ListRunnergroupOK) IsRedirect() bool
- func (o *ListRunnergroupOK) IsServerError() bool
- func (o *ListRunnergroupOK) IsSuccess() bool
- func (o *ListRunnergroupOK) String() string
- type ListRunnergroupParams
- func NewListRunnergroupParams() *ListRunnergroupParams
- func NewListRunnergroupParamsWithContext(ctx context.Context) *ListRunnergroupParams
- func NewListRunnergroupParamsWithHTTPClient(client *http.Client) *ListRunnergroupParams
- func NewListRunnergroupParamsWithTimeout(timeout time.Duration) *ListRunnergroupParams
- func (o *ListRunnergroupParams) SetContext(ctx context.Context)
- func (o *ListRunnergroupParams) SetDefaults()
- func (o *ListRunnergroupParams) SetHTTPClient(client *http.Client)
- func (o *ListRunnergroupParams) SetOrgName(orgName string)
- func (o *ListRunnergroupParams) SetTimeout(timeout time.Duration)
- func (o *ListRunnergroupParams) WithContext(ctx context.Context) *ListRunnergroupParams
- func (o *ListRunnergroupParams) WithDefaults() *ListRunnergroupParams
- func (o *ListRunnergroupParams) WithHTTPClient(client *http.Client) *ListRunnergroupParams
- func (o *ListRunnergroupParams) WithOrgName(orgName string) *ListRunnergroupParams
- func (o *ListRunnergroupParams) WithTimeout(timeout time.Duration) *ListRunnergroupParams
- func (o *ListRunnergroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRunnergroupReader
- type ListRunnergroupUnauthorized
- func (o *ListRunnergroupUnauthorized) Code() int
- func (o *ListRunnergroupUnauthorized) Error() string
- func (o *ListRunnergroupUnauthorized) GetPayload() *models.ErrorResponse
- func (o *ListRunnergroupUnauthorized) IsClientError() bool
- func (o *ListRunnergroupUnauthorized) IsCode(code int) bool
- func (o *ListRunnergroupUnauthorized) IsRedirect() bool
- func (o *ListRunnergroupUnauthorized) IsServerError() bool
- func (o *ListRunnergroupUnauthorized) IsSuccess() bool
- func (o *ListRunnergroupUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyRunnergroupBadGateway ¶
type ApplyRunnergroupBadGateway struct {
Payload *models.ErrorResponse
}
ApplyRunnergroupBadGateway describes a response with status code 502, with default header values.
Bad Gateway
func NewApplyRunnergroupBadGateway ¶
func NewApplyRunnergroupBadGateway() *ApplyRunnergroupBadGateway
NewApplyRunnergroupBadGateway creates a ApplyRunnergroupBadGateway with default headers values
func (*ApplyRunnergroupBadGateway) Code ¶
func (o *ApplyRunnergroupBadGateway) Code() int
Code gets the status code for the apply runnergroup bad gateway response
func (*ApplyRunnergroupBadGateway) Error ¶
func (o *ApplyRunnergroupBadGateway) Error() string
func (*ApplyRunnergroupBadGateway) GetPayload ¶
func (o *ApplyRunnergroupBadGateway) GetPayload() *models.ErrorResponse
func (*ApplyRunnergroupBadGateway) IsClientError ¶
func (o *ApplyRunnergroupBadGateway) IsClientError() bool
IsClientError returns true when this apply runnergroup bad gateway response has a 4xx status code
func (*ApplyRunnergroupBadGateway) IsCode ¶
func (o *ApplyRunnergroupBadGateway) IsCode(code int) bool
IsCode returns true when this apply runnergroup bad gateway response a status code equal to that given
func (*ApplyRunnergroupBadGateway) IsRedirect ¶
func (o *ApplyRunnergroupBadGateway) IsRedirect() bool
IsRedirect returns true when this apply runnergroup bad gateway response has a 3xx status code
func (*ApplyRunnergroupBadGateway) IsServerError ¶
func (o *ApplyRunnergroupBadGateway) IsServerError() bool
IsServerError returns true when this apply runnergroup bad gateway response has a 5xx status code
func (*ApplyRunnergroupBadGateway) IsSuccess ¶
func (o *ApplyRunnergroupBadGateway) IsSuccess() bool
IsSuccess returns true when this apply runnergroup bad gateway response has a 2xx status code
func (*ApplyRunnergroupBadGateway) String ¶
func (o *ApplyRunnergroupBadGateway) String() string
type ApplyRunnergroupBadRequest ¶
type ApplyRunnergroupBadRequest struct {
Payload *models.ErrorResponse
}
ApplyRunnergroupBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewApplyRunnergroupBadRequest ¶
func NewApplyRunnergroupBadRequest() *ApplyRunnergroupBadRequest
NewApplyRunnergroupBadRequest creates a ApplyRunnergroupBadRequest with default headers values
func (*ApplyRunnergroupBadRequest) Code ¶
func (o *ApplyRunnergroupBadRequest) Code() int
Code gets the status code for the apply runnergroup bad request response
func (*ApplyRunnergroupBadRequest) Error ¶
func (o *ApplyRunnergroupBadRequest) Error() string
func (*ApplyRunnergroupBadRequest) GetPayload ¶
func (o *ApplyRunnergroupBadRequest) GetPayload() *models.ErrorResponse
func (*ApplyRunnergroupBadRequest) IsClientError ¶
func (o *ApplyRunnergroupBadRequest) IsClientError() bool
IsClientError returns true when this apply runnergroup bad request response has a 4xx status code
func (*ApplyRunnergroupBadRequest) IsCode ¶
func (o *ApplyRunnergroupBadRequest) IsCode(code int) bool
IsCode returns true when this apply runnergroup bad request response a status code equal to that given
func (*ApplyRunnergroupBadRequest) IsRedirect ¶
func (o *ApplyRunnergroupBadRequest) IsRedirect() bool
IsRedirect returns true when this apply runnergroup bad request response has a 3xx status code
func (*ApplyRunnergroupBadRequest) IsServerError ¶
func (o *ApplyRunnergroupBadRequest) IsServerError() bool
IsServerError returns true when this apply runnergroup bad request response has a 5xx status code
func (*ApplyRunnergroupBadRequest) IsSuccess ¶
func (o *ApplyRunnergroupBadRequest) IsSuccess() bool
IsSuccess returns true when this apply runnergroup bad request response has a 2xx status code
func (*ApplyRunnergroupBadRequest) String ¶
func (o *ApplyRunnergroupBadRequest) String() string
type ApplyRunnergroupOK ¶
type ApplyRunnergroupOK struct {
Payload *models.JobRunnerGroup
}
ApplyRunnergroupOK describes a response with status code 200, with default header values.
OK
func NewApplyRunnergroupOK ¶
func NewApplyRunnergroupOK() *ApplyRunnergroupOK
NewApplyRunnergroupOK creates a ApplyRunnergroupOK with default headers values
func (*ApplyRunnergroupOK) Code ¶
func (o *ApplyRunnergroupOK) Code() int
Code gets the status code for the apply runnergroup o k response
func (*ApplyRunnergroupOK) Error ¶
func (o *ApplyRunnergroupOK) Error() string
func (*ApplyRunnergroupOK) GetPayload ¶
func (o *ApplyRunnergroupOK) GetPayload() *models.JobRunnerGroup
func (*ApplyRunnergroupOK) IsClientError ¶
func (o *ApplyRunnergroupOK) IsClientError() bool
IsClientError returns true when this apply runnergroup o k response has a 4xx status code
func (*ApplyRunnergroupOK) IsCode ¶
func (o *ApplyRunnergroupOK) IsCode(code int) bool
IsCode returns true when this apply runnergroup o k response a status code equal to that given
func (*ApplyRunnergroupOK) IsRedirect ¶
func (o *ApplyRunnergroupOK) IsRedirect() bool
IsRedirect returns true when this apply runnergroup o k response has a 3xx status code
func (*ApplyRunnergroupOK) IsServerError ¶
func (o *ApplyRunnergroupOK) IsServerError() bool
IsServerError returns true when this apply runnergroup o k response has a 5xx status code
func (*ApplyRunnergroupOK) IsSuccess ¶
func (o *ApplyRunnergroupOK) IsSuccess() bool
IsSuccess returns true when this apply runnergroup o k response has a 2xx status code
func (*ApplyRunnergroupOK) String ¶
func (o *ApplyRunnergroupOK) String() string
type ApplyRunnergroupParams ¶
type ApplyRunnergroupParams struct {
/* Data.
Request to create or update runnergroup
*/
Data *models.JobRunnerGroup
/* OrgName.
Signadot Org Name
*/
OrgName string
/* RunnergroupName.
RunnerGroup Name
*/
RunnergroupName string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ApplyRunnergroupParams contains all the parameters to send to the API endpoint
for the apply runnergroup operation. Typically these are written to a http.Request.
func NewApplyRunnergroupParams ¶
func NewApplyRunnergroupParams() *ApplyRunnergroupParams
NewApplyRunnergroupParams creates a new ApplyRunnergroupParams 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 NewApplyRunnergroupParamsWithContext ¶
func NewApplyRunnergroupParamsWithContext(ctx context.Context) *ApplyRunnergroupParams
NewApplyRunnergroupParamsWithContext creates a new ApplyRunnergroupParams object with the ability to set a context for a request.
func NewApplyRunnergroupParamsWithHTTPClient ¶
func NewApplyRunnergroupParamsWithHTTPClient(client *http.Client) *ApplyRunnergroupParams
NewApplyRunnergroupParamsWithHTTPClient creates a new ApplyRunnergroupParams object with the ability to set a custom HTTPClient for a request.
func NewApplyRunnergroupParamsWithTimeout ¶
func NewApplyRunnergroupParamsWithTimeout(timeout time.Duration) *ApplyRunnergroupParams
NewApplyRunnergroupParamsWithTimeout creates a new ApplyRunnergroupParams object with the ability to set a timeout on a request.
func (*ApplyRunnergroupParams) SetContext ¶
func (o *ApplyRunnergroupParams) SetContext(ctx context.Context)
SetContext adds the context to the apply runnergroup params
func (*ApplyRunnergroupParams) SetData ¶
func (o *ApplyRunnergroupParams) SetData(data *models.JobRunnerGroup)
SetData adds the data to the apply runnergroup params
func (*ApplyRunnergroupParams) SetDefaults ¶
func (o *ApplyRunnergroupParams) SetDefaults()
SetDefaults hydrates default values in the apply runnergroup params (not the query body).
All values with no default are reset to their zero value.
func (*ApplyRunnergroupParams) SetHTTPClient ¶
func (o *ApplyRunnergroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the apply runnergroup params
func (*ApplyRunnergroupParams) SetOrgName ¶
func (o *ApplyRunnergroupParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the apply runnergroup params
func (*ApplyRunnergroupParams) SetRunnergroupName ¶
func (o *ApplyRunnergroupParams) SetRunnergroupName(runnergroupName string)
SetRunnergroupName adds the runnergroupName to the apply runnergroup params
func (*ApplyRunnergroupParams) SetTimeout ¶
func (o *ApplyRunnergroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the apply runnergroup params
func (*ApplyRunnergroupParams) WithContext ¶
func (o *ApplyRunnergroupParams) WithContext(ctx context.Context) *ApplyRunnergroupParams
WithContext adds the context to the apply runnergroup params
func (*ApplyRunnergroupParams) WithData ¶
func (o *ApplyRunnergroupParams) WithData(data *models.JobRunnerGroup) *ApplyRunnergroupParams
WithData adds the data to the apply runnergroup params
func (*ApplyRunnergroupParams) WithDefaults ¶
func (o *ApplyRunnergroupParams) WithDefaults() *ApplyRunnergroupParams
WithDefaults hydrates default values in the apply runnergroup params (not the query body).
All values with no default are reset to their zero value.
func (*ApplyRunnergroupParams) WithHTTPClient ¶
func (o *ApplyRunnergroupParams) WithHTTPClient(client *http.Client) *ApplyRunnergroupParams
WithHTTPClient adds the HTTPClient to the apply runnergroup params
func (*ApplyRunnergroupParams) WithOrgName ¶
func (o *ApplyRunnergroupParams) WithOrgName(orgName string) *ApplyRunnergroupParams
WithOrgName adds the orgName to the apply runnergroup params
func (*ApplyRunnergroupParams) WithRunnergroupName ¶
func (o *ApplyRunnergroupParams) WithRunnergroupName(runnergroupName string) *ApplyRunnergroupParams
WithRunnergroupName adds the runnergroupName to the apply runnergroup params
func (*ApplyRunnergroupParams) WithTimeout ¶
func (o *ApplyRunnergroupParams) WithTimeout(timeout time.Duration) *ApplyRunnergroupParams
WithTimeout adds the timeout to the apply runnergroup params
func (*ApplyRunnergroupParams) WriteToRequest ¶
func (o *ApplyRunnergroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ApplyRunnergroupReader ¶
type ApplyRunnergroupReader struct {
// contains filtered or unexported fields
}
ApplyRunnergroupReader is a Reader for the ApplyRunnergroup structure.
func (*ApplyRunnergroupReader) ReadResponse ¶
func (o *ApplyRunnergroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ApplyRunnergroupUnauthorized ¶
type ApplyRunnergroupUnauthorized struct {
}
ApplyRunnergroupUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewApplyRunnergroupUnauthorized ¶
func NewApplyRunnergroupUnauthorized() *ApplyRunnergroupUnauthorized
NewApplyRunnergroupUnauthorized creates a ApplyRunnergroupUnauthorized with default headers values
func (*ApplyRunnergroupUnauthorized) Code ¶
func (o *ApplyRunnergroupUnauthorized) Code() int
Code gets the status code for the apply runnergroup unauthorized response
func (*ApplyRunnergroupUnauthorized) Error ¶
func (o *ApplyRunnergroupUnauthorized) Error() string
func (*ApplyRunnergroupUnauthorized) GetPayload ¶
func (o *ApplyRunnergroupUnauthorized) GetPayload() *models.ErrorResponse
func (*ApplyRunnergroupUnauthorized) IsClientError ¶
func (o *ApplyRunnergroupUnauthorized) IsClientError() bool
IsClientError returns true when this apply runnergroup unauthorized response has a 4xx status code
func (*ApplyRunnergroupUnauthorized) IsCode ¶
func (o *ApplyRunnergroupUnauthorized) IsCode(code int) bool
IsCode returns true when this apply runnergroup unauthorized response a status code equal to that given
func (*ApplyRunnergroupUnauthorized) IsRedirect ¶
func (o *ApplyRunnergroupUnauthorized) IsRedirect() bool
IsRedirect returns true when this apply runnergroup unauthorized response has a 3xx status code
func (*ApplyRunnergroupUnauthorized) IsServerError ¶
func (o *ApplyRunnergroupUnauthorized) IsServerError() bool
IsServerError returns true when this apply runnergroup unauthorized response has a 5xx status code
func (*ApplyRunnergroupUnauthorized) IsSuccess ¶
func (o *ApplyRunnergroupUnauthorized) IsSuccess() bool
IsSuccess returns true when this apply runnergroup unauthorized response has a 2xx status code
func (*ApplyRunnergroupUnauthorized) String ¶
func (o *ApplyRunnergroupUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for runner groups API
func (*Client) ApplyRunnergroup ¶
func (a *Client) ApplyRunnergroup(params *ApplyRunnergroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ApplyRunnergroupOK, error)
ApplyRunnergroup creates or update a runnergroup
Creates or updates a runnergroup with the provided parameters.
func (*Client) DeleteRunnergroup ¶
func (a *Client) DeleteRunnergroup(params *DeleteRunnergroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRunnergroupOK, error)
DeleteRunnergroup deletes a runnergroup
Delete a given jobrunnergroup.
func (*Client) GetRunnergroup ¶
func (a *Client) GetRunnergroup(params *GetRunnergroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRunnergroupOK, error)
GetRunnergroup gets a runnergroup
Fetch the details about a given jobrunnergroup.
func (*Client) ListRunnergroup ¶
func (a *Client) ListRunnergroup(params *ListRunnergroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRunnergroupOK, error)
ListRunnergroup lists runner groups
List RunnerGroups
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 may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
ApplyRunnergroup(params *ApplyRunnergroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ApplyRunnergroupOK, error)
DeleteRunnergroup(params *DeleteRunnergroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRunnergroupOK, error)
GetRunnergroup(params *GetRunnergroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRunnergroupOK, error)
ListRunnergroup(params *ListRunnergroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRunnergroupOK, 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 runner groups API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new runner groups API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new runner groups API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type DeleteRunnergroupBadGateway ¶
type DeleteRunnergroupBadGateway struct {
Payload *models.ErrorResponse
}
DeleteRunnergroupBadGateway describes a response with status code 502, with default header values.
Bad Gateway
func NewDeleteRunnergroupBadGateway ¶
func NewDeleteRunnergroupBadGateway() *DeleteRunnergroupBadGateway
NewDeleteRunnergroupBadGateway creates a DeleteRunnergroupBadGateway with default headers values
func (*DeleteRunnergroupBadGateway) Code ¶
func (o *DeleteRunnergroupBadGateway) Code() int
Code gets the status code for the delete runnergroup bad gateway response
func (*DeleteRunnergroupBadGateway) Error ¶
func (o *DeleteRunnergroupBadGateway) Error() string
func (*DeleteRunnergroupBadGateway) GetPayload ¶
func (o *DeleteRunnergroupBadGateway) GetPayload() *models.ErrorResponse
func (*DeleteRunnergroupBadGateway) IsClientError ¶
func (o *DeleteRunnergroupBadGateway) IsClientError() bool
IsClientError returns true when this delete runnergroup bad gateway response has a 4xx status code
func (*DeleteRunnergroupBadGateway) IsCode ¶
func (o *DeleteRunnergroupBadGateway) IsCode(code int) bool
IsCode returns true when this delete runnergroup bad gateway response a status code equal to that given
func (*DeleteRunnergroupBadGateway) IsRedirect ¶
func (o *DeleteRunnergroupBadGateway) IsRedirect() bool
IsRedirect returns true when this delete runnergroup bad gateway response has a 3xx status code
func (*DeleteRunnergroupBadGateway) IsServerError ¶
func (o *DeleteRunnergroupBadGateway) IsServerError() bool
IsServerError returns true when this delete runnergroup bad gateway response has a 5xx status code
func (*DeleteRunnergroupBadGateway) IsSuccess ¶
func (o *DeleteRunnergroupBadGateway) IsSuccess() bool
IsSuccess returns true when this delete runnergroup bad gateway response has a 2xx status code
func (*DeleteRunnergroupBadGateway) String ¶
func (o *DeleteRunnergroupBadGateway) String() string
type DeleteRunnergroupBadRequest ¶
type DeleteRunnergroupBadRequest struct {
Payload *models.ErrorResponse
}
DeleteRunnergroupBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteRunnergroupBadRequest ¶
func NewDeleteRunnergroupBadRequest() *DeleteRunnergroupBadRequest
NewDeleteRunnergroupBadRequest creates a DeleteRunnergroupBadRequest with default headers values
func (*DeleteRunnergroupBadRequest) Code ¶
func (o *DeleteRunnergroupBadRequest) Code() int
Code gets the status code for the delete runnergroup bad request response
func (*DeleteRunnergroupBadRequest) Error ¶
func (o *DeleteRunnergroupBadRequest) Error() string
func (*DeleteRunnergroupBadRequest) GetPayload ¶
func (o *DeleteRunnergroupBadRequest) GetPayload() *models.ErrorResponse
func (*DeleteRunnergroupBadRequest) IsClientError ¶
func (o *DeleteRunnergroupBadRequest) IsClientError() bool
IsClientError returns true when this delete runnergroup bad request response has a 4xx status code
func (*DeleteRunnergroupBadRequest) IsCode ¶
func (o *DeleteRunnergroupBadRequest) IsCode(code int) bool
IsCode returns true when this delete runnergroup bad request response a status code equal to that given
func (*DeleteRunnergroupBadRequest) IsRedirect ¶
func (o *DeleteRunnergroupBadRequest) IsRedirect() bool
IsRedirect returns true when this delete runnergroup bad request response has a 3xx status code
func (*DeleteRunnergroupBadRequest) IsServerError ¶
func (o *DeleteRunnergroupBadRequest) IsServerError() bool
IsServerError returns true when this delete runnergroup bad request response has a 5xx status code
func (*DeleteRunnergroupBadRequest) IsSuccess ¶
func (o *DeleteRunnergroupBadRequest) IsSuccess() bool
IsSuccess returns true when this delete runnergroup bad request response has a 2xx status code
func (*DeleteRunnergroupBadRequest) String ¶
func (o *DeleteRunnergroupBadRequest) String() string
type DeleteRunnergroupOK ¶
type DeleteRunnergroupOK struct {
Payload models.EmptyResponse
}
DeleteRunnergroupOK describes a response with status code 200, with default header values.
OK
func NewDeleteRunnergroupOK ¶
func NewDeleteRunnergroupOK() *DeleteRunnergroupOK
NewDeleteRunnergroupOK creates a DeleteRunnergroupOK with default headers values
func (*DeleteRunnergroupOK) Code ¶
func (o *DeleteRunnergroupOK) Code() int
Code gets the status code for the delete runnergroup o k response
func (*DeleteRunnergroupOK) Error ¶
func (o *DeleteRunnergroupOK) Error() string
func (*DeleteRunnergroupOK) GetPayload ¶
func (o *DeleteRunnergroupOK) GetPayload() models.EmptyResponse
func (*DeleteRunnergroupOK) IsClientError ¶
func (o *DeleteRunnergroupOK) IsClientError() bool
IsClientError returns true when this delete runnergroup o k response has a 4xx status code
func (*DeleteRunnergroupOK) IsCode ¶
func (o *DeleteRunnergroupOK) IsCode(code int) bool
IsCode returns true when this delete runnergroup o k response a status code equal to that given
func (*DeleteRunnergroupOK) IsRedirect ¶
func (o *DeleteRunnergroupOK) IsRedirect() bool
IsRedirect returns true when this delete runnergroup o k response has a 3xx status code
func (*DeleteRunnergroupOK) IsServerError ¶
func (o *DeleteRunnergroupOK) IsServerError() bool
IsServerError returns true when this delete runnergroup o k response has a 5xx status code
func (*DeleteRunnergroupOK) IsSuccess ¶
func (o *DeleteRunnergroupOK) IsSuccess() bool
IsSuccess returns true when this delete runnergroup o k response has a 2xx status code
func (*DeleteRunnergroupOK) String ¶
func (o *DeleteRunnergroupOK) String() string
type DeleteRunnergroupParams ¶
type DeleteRunnergroupParams struct {
/* OrgName.
Signadot Org Name
*/
OrgName string
/* RunnergroupName.
RunnerGroup Name
*/
RunnergroupName string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteRunnergroupParams contains all the parameters to send to the API endpoint
for the delete runnergroup operation. Typically these are written to a http.Request.
func NewDeleteRunnergroupParams ¶
func NewDeleteRunnergroupParams() *DeleteRunnergroupParams
NewDeleteRunnergroupParams creates a new DeleteRunnergroupParams 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 NewDeleteRunnergroupParamsWithContext ¶
func NewDeleteRunnergroupParamsWithContext(ctx context.Context) *DeleteRunnergroupParams
NewDeleteRunnergroupParamsWithContext creates a new DeleteRunnergroupParams object with the ability to set a context for a request.
func NewDeleteRunnergroupParamsWithHTTPClient ¶
func NewDeleteRunnergroupParamsWithHTTPClient(client *http.Client) *DeleteRunnergroupParams
NewDeleteRunnergroupParamsWithHTTPClient creates a new DeleteRunnergroupParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteRunnergroupParamsWithTimeout ¶
func NewDeleteRunnergroupParamsWithTimeout(timeout time.Duration) *DeleteRunnergroupParams
NewDeleteRunnergroupParamsWithTimeout creates a new DeleteRunnergroupParams object with the ability to set a timeout on a request.
func (*DeleteRunnergroupParams) SetContext ¶
func (o *DeleteRunnergroupParams) SetContext(ctx context.Context)
SetContext adds the context to the delete runnergroup params
func (*DeleteRunnergroupParams) SetDefaults ¶
func (o *DeleteRunnergroupParams) SetDefaults()
SetDefaults hydrates default values in the delete runnergroup params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRunnergroupParams) SetHTTPClient ¶
func (o *DeleteRunnergroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete runnergroup params
func (*DeleteRunnergroupParams) SetOrgName ¶
func (o *DeleteRunnergroupParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the delete runnergroup params
func (*DeleteRunnergroupParams) SetRunnergroupName ¶
func (o *DeleteRunnergroupParams) SetRunnergroupName(runnergroupName string)
SetRunnergroupName adds the runnergroupName to the delete runnergroup params
func (*DeleteRunnergroupParams) SetTimeout ¶
func (o *DeleteRunnergroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete runnergroup params
func (*DeleteRunnergroupParams) WithContext ¶
func (o *DeleteRunnergroupParams) WithContext(ctx context.Context) *DeleteRunnergroupParams
WithContext adds the context to the delete runnergroup params
func (*DeleteRunnergroupParams) WithDefaults ¶
func (o *DeleteRunnergroupParams) WithDefaults() *DeleteRunnergroupParams
WithDefaults hydrates default values in the delete runnergroup params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRunnergroupParams) WithHTTPClient ¶
func (o *DeleteRunnergroupParams) WithHTTPClient(client *http.Client) *DeleteRunnergroupParams
WithHTTPClient adds the HTTPClient to the delete runnergroup params
func (*DeleteRunnergroupParams) WithOrgName ¶
func (o *DeleteRunnergroupParams) WithOrgName(orgName string) *DeleteRunnergroupParams
WithOrgName adds the orgName to the delete runnergroup params
func (*DeleteRunnergroupParams) WithRunnergroupName ¶
func (o *DeleteRunnergroupParams) WithRunnergroupName(runnergroupName string) *DeleteRunnergroupParams
WithRunnergroupName adds the runnergroupName to the delete runnergroup params
func (*DeleteRunnergroupParams) WithTimeout ¶
func (o *DeleteRunnergroupParams) WithTimeout(timeout time.Duration) *DeleteRunnergroupParams
WithTimeout adds the timeout to the delete runnergroup params
func (*DeleteRunnergroupParams) WriteToRequest ¶
func (o *DeleteRunnergroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRunnergroupReader ¶
type DeleteRunnergroupReader struct {
// contains filtered or unexported fields
}
DeleteRunnergroupReader is a Reader for the DeleteRunnergroup structure.
func (*DeleteRunnergroupReader) ReadResponse ¶
func (o *DeleteRunnergroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DeleteRunnergroupUnauthorized ¶
type DeleteRunnergroupUnauthorized struct {
}
DeleteRunnergroupUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteRunnergroupUnauthorized ¶
func NewDeleteRunnergroupUnauthorized() *DeleteRunnergroupUnauthorized
NewDeleteRunnergroupUnauthorized creates a DeleteRunnergroupUnauthorized with default headers values
func (*DeleteRunnergroupUnauthorized) Code ¶
func (o *DeleteRunnergroupUnauthorized) Code() int
Code gets the status code for the delete runnergroup unauthorized response
func (*DeleteRunnergroupUnauthorized) Error ¶
func (o *DeleteRunnergroupUnauthorized) Error() string
func (*DeleteRunnergroupUnauthorized) GetPayload ¶
func (o *DeleteRunnergroupUnauthorized) GetPayload() *models.ErrorResponse
func (*DeleteRunnergroupUnauthorized) IsClientError ¶
func (o *DeleteRunnergroupUnauthorized) IsClientError() bool
IsClientError returns true when this delete runnergroup unauthorized response has a 4xx status code
func (*DeleteRunnergroupUnauthorized) IsCode ¶
func (o *DeleteRunnergroupUnauthorized) IsCode(code int) bool
IsCode returns true when this delete runnergroup unauthorized response a status code equal to that given
func (*DeleteRunnergroupUnauthorized) IsRedirect ¶
func (o *DeleteRunnergroupUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete runnergroup unauthorized response has a 3xx status code
func (*DeleteRunnergroupUnauthorized) IsServerError ¶
func (o *DeleteRunnergroupUnauthorized) IsServerError() bool
IsServerError returns true when this delete runnergroup unauthorized response has a 5xx status code
func (*DeleteRunnergroupUnauthorized) IsSuccess ¶
func (o *DeleteRunnergroupUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete runnergroup unauthorized response has a 2xx status code
func (*DeleteRunnergroupUnauthorized) String ¶
func (o *DeleteRunnergroupUnauthorized) String() string
type GetRunnergroupBadGateway ¶
type GetRunnergroupBadGateway struct {
Payload *models.ErrorResponse
}
GetRunnergroupBadGateway describes a response with status code 502, with default header values.
Bad Gateway
func NewGetRunnergroupBadGateway ¶
func NewGetRunnergroupBadGateway() *GetRunnergroupBadGateway
NewGetRunnergroupBadGateway creates a GetRunnergroupBadGateway with default headers values
func (*GetRunnergroupBadGateway) Code ¶
func (o *GetRunnergroupBadGateway) Code() int
Code gets the status code for the get runnergroup bad gateway response
func (*GetRunnergroupBadGateway) Error ¶
func (o *GetRunnergroupBadGateway) Error() string
func (*GetRunnergroupBadGateway) GetPayload ¶
func (o *GetRunnergroupBadGateway) GetPayload() *models.ErrorResponse
func (*GetRunnergroupBadGateway) IsClientError ¶
func (o *GetRunnergroupBadGateway) IsClientError() bool
IsClientError returns true when this get runnergroup bad gateway response has a 4xx status code
func (*GetRunnergroupBadGateway) IsCode ¶
func (o *GetRunnergroupBadGateway) IsCode(code int) bool
IsCode returns true when this get runnergroup bad gateway response a status code equal to that given
func (*GetRunnergroupBadGateway) IsRedirect ¶
func (o *GetRunnergroupBadGateway) IsRedirect() bool
IsRedirect returns true when this get runnergroup bad gateway response has a 3xx status code
func (*GetRunnergroupBadGateway) IsServerError ¶
func (o *GetRunnergroupBadGateway) IsServerError() bool
IsServerError returns true when this get runnergroup bad gateway response has a 5xx status code
func (*GetRunnergroupBadGateway) IsSuccess ¶
func (o *GetRunnergroupBadGateway) IsSuccess() bool
IsSuccess returns true when this get runnergroup bad gateway response has a 2xx status code
func (*GetRunnergroupBadGateway) String ¶
func (o *GetRunnergroupBadGateway) String() string
type GetRunnergroupBadRequest ¶
type GetRunnergroupBadRequest struct {
Payload *models.ErrorResponse
}
GetRunnergroupBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetRunnergroupBadRequest ¶
func NewGetRunnergroupBadRequest() *GetRunnergroupBadRequest
NewGetRunnergroupBadRequest creates a GetRunnergroupBadRequest with default headers values
func (*GetRunnergroupBadRequest) Code ¶
func (o *GetRunnergroupBadRequest) Code() int
Code gets the status code for the get runnergroup bad request response
func (*GetRunnergroupBadRequest) Error ¶
func (o *GetRunnergroupBadRequest) Error() string
func (*GetRunnergroupBadRequest) GetPayload ¶
func (o *GetRunnergroupBadRequest) GetPayload() *models.ErrorResponse
func (*GetRunnergroupBadRequest) IsClientError ¶
func (o *GetRunnergroupBadRequest) IsClientError() bool
IsClientError returns true when this get runnergroup bad request response has a 4xx status code
func (*GetRunnergroupBadRequest) IsCode ¶
func (o *GetRunnergroupBadRequest) IsCode(code int) bool
IsCode returns true when this get runnergroup bad request response a status code equal to that given
func (*GetRunnergroupBadRequest) IsRedirect ¶
func (o *GetRunnergroupBadRequest) IsRedirect() bool
IsRedirect returns true when this get runnergroup bad request response has a 3xx status code
func (*GetRunnergroupBadRequest) IsServerError ¶
func (o *GetRunnergroupBadRequest) IsServerError() bool
IsServerError returns true when this get runnergroup bad request response has a 5xx status code
func (*GetRunnergroupBadRequest) IsSuccess ¶
func (o *GetRunnergroupBadRequest) IsSuccess() bool
IsSuccess returns true when this get runnergroup bad request response has a 2xx status code
func (*GetRunnergroupBadRequest) String ¶
func (o *GetRunnergroupBadRequest) String() string
type GetRunnergroupOK ¶
type GetRunnergroupOK struct {
Payload *models.JobRunnerGroup
}
GetRunnergroupOK describes a response with status code 200, with default header values.
OK
func NewGetRunnergroupOK ¶
func NewGetRunnergroupOK() *GetRunnergroupOK
NewGetRunnergroupOK creates a GetRunnergroupOK with default headers values
func (*GetRunnergroupOK) Code ¶
func (o *GetRunnergroupOK) Code() int
Code gets the status code for the get runnergroup o k response
func (*GetRunnergroupOK) Error ¶
func (o *GetRunnergroupOK) Error() string
func (*GetRunnergroupOK) GetPayload ¶
func (o *GetRunnergroupOK) GetPayload() *models.JobRunnerGroup
func (*GetRunnergroupOK) IsClientError ¶
func (o *GetRunnergroupOK) IsClientError() bool
IsClientError returns true when this get runnergroup o k response has a 4xx status code
func (*GetRunnergroupOK) IsCode ¶
func (o *GetRunnergroupOK) IsCode(code int) bool
IsCode returns true when this get runnergroup o k response a status code equal to that given
func (*GetRunnergroupOK) IsRedirect ¶
func (o *GetRunnergroupOK) IsRedirect() bool
IsRedirect returns true when this get runnergroup o k response has a 3xx status code
func (*GetRunnergroupOK) IsServerError ¶
func (o *GetRunnergroupOK) IsServerError() bool
IsServerError returns true when this get runnergroup o k response has a 5xx status code
func (*GetRunnergroupOK) IsSuccess ¶
func (o *GetRunnergroupOK) IsSuccess() bool
IsSuccess returns true when this get runnergroup o k response has a 2xx status code
func (*GetRunnergroupOK) String ¶
func (o *GetRunnergroupOK) String() string
type GetRunnergroupParams ¶
type GetRunnergroupParams struct {
/* OrgName.
Signadot Org Name
*/
OrgName string
/* RunnergroupName.
RunnerGroup Name
*/
RunnergroupName string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetRunnergroupParams contains all the parameters to send to the API endpoint
for the get runnergroup operation. Typically these are written to a http.Request.
func NewGetRunnergroupParams ¶
func NewGetRunnergroupParams() *GetRunnergroupParams
NewGetRunnergroupParams creates a new GetRunnergroupParams 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 NewGetRunnergroupParamsWithContext ¶
func NewGetRunnergroupParamsWithContext(ctx context.Context) *GetRunnergroupParams
NewGetRunnergroupParamsWithContext creates a new GetRunnergroupParams object with the ability to set a context for a request.
func NewGetRunnergroupParamsWithHTTPClient ¶
func NewGetRunnergroupParamsWithHTTPClient(client *http.Client) *GetRunnergroupParams
NewGetRunnergroupParamsWithHTTPClient creates a new GetRunnergroupParams object with the ability to set a custom HTTPClient for a request.
func NewGetRunnergroupParamsWithTimeout ¶
func NewGetRunnergroupParamsWithTimeout(timeout time.Duration) *GetRunnergroupParams
NewGetRunnergroupParamsWithTimeout creates a new GetRunnergroupParams object with the ability to set a timeout on a request.
func (*GetRunnergroupParams) SetContext ¶
func (o *GetRunnergroupParams) SetContext(ctx context.Context)
SetContext adds the context to the get runnergroup params
func (*GetRunnergroupParams) SetDefaults ¶
func (o *GetRunnergroupParams) SetDefaults()
SetDefaults hydrates default values in the get runnergroup params (not the query body).
All values with no default are reset to their zero value.
func (*GetRunnergroupParams) SetHTTPClient ¶
func (o *GetRunnergroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get runnergroup params
func (*GetRunnergroupParams) SetOrgName ¶
func (o *GetRunnergroupParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the get runnergroup params
func (*GetRunnergroupParams) SetRunnergroupName ¶
func (o *GetRunnergroupParams) SetRunnergroupName(runnergroupName string)
SetRunnergroupName adds the runnergroupName to the get runnergroup params
func (*GetRunnergroupParams) SetTimeout ¶
func (o *GetRunnergroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get runnergroup params
func (*GetRunnergroupParams) WithContext ¶
func (o *GetRunnergroupParams) WithContext(ctx context.Context) *GetRunnergroupParams
WithContext adds the context to the get runnergroup params
func (*GetRunnergroupParams) WithDefaults ¶
func (o *GetRunnergroupParams) WithDefaults() *GetRunnergroupParams
WithDefaults hydrates default values in the get runnergroup params (not the query body).
All values with no default are reset to their zero value.
func (*GetRunnergroupParams) WithHTTPClient ¶
func (o *GetRunnergroupParams) WithHTTPClient(client *http.Client) *GetRunnergroupParams
WithHTTPClient adds the HTTPClient to the get runnergroup params
func (*GetRunnergroupParams) WithOrgName ¶
func (o *GetRunnergroupParams) WithOrgName(orgName string) *GetRunnergroupParams
WithOrgName adds the orgName to the get runnergroup params
func (*GetRunnergroupParams) WithRunnergroupName ¶
func (o *GetRunnergroupParams) WithRunnergroupName(runnergroupName string) *GetRunnergroupParams
WithRunnergroupName adds the runnergroupName to the get runnergroup params
func (*GetRunnergroupParams) WithTimeout ¶
func (o *GetRunnergroupParams) WithTimeout(timeout time.Duration) *GetRunnergroupParams
WithTimeout adds the timeout to the get runnergroup params
func (*GetRunnergroupParams) WriteToRequest ¶
func (o *GetRunnergroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRunnergroupReader ¶
type GetRunnergroupReader struct {
// contains filtered or unexported fields
}
GetRunnergroupReader is a Reader for the GetRunnergroup structure.
func (*GetRunnergroupReader) ReadResponse ¶
func (o *GetRunnergroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetRunnergroupUnauthorized ¶
type GetRunnergroupUnauthorized struct {
}
GetRunnergroupUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetRunnergroupUnauthorized ¶
func NewGetRunnergroupUnauthorized() *GetRunnergroupUnauthorized
NewGetRunnergroupUnauthorized creates a GetRunnergroupUnauthorized with default headers values
func (*GetRunnergroupUnauthorized) Code ¶
func (o *GetRunnergroupUnauthorized) Code() int
Code gets the status code for the get runnergroup unauthorized response
func (*GetRunnergroupUnauthorized) Error ¶
func (o *GetRunnergroupUnauthorized) Error() string
func (*GetRunnergroupUnauthorized) GetPayload ¶
func (o *GetRunnergroupUnauthorized) GetPayload() *models.ErrorResponse
func (*GetRunnergroupUnauthorized) IsClientError ¶
func (o *GetRunnergroupUnauthorized) IsClientError() bool
IsClientError returns true when this get runnergroup unauthorized response has a 4xx status code
func (*GetRunnergroupUnauthorized) IsCode ¶
func (o *GetRunnergroupUnauthorized) IsCode(code int) bool
IsCode returns true when this get runnergroup unauthorized response a status code equal to that given
func (*GetRunnergroupUnauthorized) IsRedirect ¶
func (o *GetRunnergroupUnauthorized) IsRedirect() bool
IsRedirect returns true when this get runnergroup unauthorized response has a 3xx status code
func (*GetRunnergroupUnauthorized) IsServerError ¶
func (o *GetRunnergroupUnauthorized) IsServerError() bool
IsServerError returns true when this get runnergroup unauthorized response has a 5xx status code
func (*GetRunnergroupUnauthorized) IsSuccess ¶
func (o *GetRunnergroupUnauthorized) IsSuccess() bool
IsSuccess returns true when this get runnergroup unauthorized response has a 2xx status code
func (*GetRunnergroupUnauthorized) String ¶
func (o *GetRunnergroupUnauthorized) String() string
type ListRunnergroupBadGateway ¶
type ListRunnergroupBadGateway struct {
Payload *models.ErrorResponse
}
ListRunnergroupBadGateway describes a response with status code 502, with default header values.
Bad Gateway
func NewListRunnergroupBadGateway ¶
func NewListRunnergroupBadGateway() *ListRunnergroupBadGateway
NewListRunnergroupBadGateway creates a ListRunnergroupBadGateway with default headers values
func (*ListRunnergroupBadGateway) Code ¶
func (o *ListRunnergroupBadGateway) Code() int
Code gets the status code for the list runnergroup bad gateway response
func (*ListRunnergroupBadGateway) Error ¶
func (o *ListRunnergroupBadGateway) Error() string
func (*ListRunnergroupBadGateway) GetPayload ¶
func (o *ListRunnergroupBadGateway) GetPayload() *models.ErrorResponse
func (*ListRunnergroupBadGateway) IsClientError ¶
func (o *ListRunnergroupBadGateway) IsClientError() bool
IsClientError returns true when this list runnergroup bad gateway response has a 4xx status code
func (*ListRunnergroupBadGateway) IsCode ¶
func (o *ListRunnergroupBadGateway) IsCode(code int) bool
IsCode returns true when this list runnergroup bad gateway response a status code equal to that given
func (*ListRunnergroupBadGateway) IsRedirect ¶
func (o *ListRunnergroupBadGateway) IsRedirect() bool
IsRedirect returns true when this list runnergroup bad gateway response has a 3xx status code
func (*ListRunnergroupBadGateway) IsServerError ¶
func (o *ListRunnergroupBadGateway) IsServerError() bool
IsServerError returns true when this list runnergroup bad gateway response has a 5xx status code
func (*ListRunnergroupBadGateway) IsSuccess ¶
func (o *ListRunnergroupBadGateway) IsSuccess() bool
IsSuccess returns true when this list runnergroup bad gateway response has a 2xx status code
func (*ListRunnergroupBadGateway) String ¶
func (o *ListRunnergroupBadGateway) String() string
type ListRunnergroupBadRequest ¶
type ListRunnergroupBadRequest struct {
Payload *models.ErrorResponse
}
ListRunnergroupBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewListRunnergroupBadRequest ¶
func NewListRunnergroupBadRequest() *ListRunnergroupBadRequest
NewListRunnergroupBadRequest creates a ListRunnergroupBadRequest with default headers values
func (*ListRunnergroupBadRequest) Code ¶
func (o *ListRunnergroupBadRequest) Code() int
Code gets the status code for the list runnergroup bad request response
func (*ListRunnergroupBadRequest) Error ¶
func (o *ListRunnergroupBadRequest) Error() string
func (*ListRunnergroupBadRequest) GetPayload ¶
func (o *ListRunnergroupBadRequest) GetPayload() *models.ErrorResponse
func (*ListRunnergroupBadRequest) IsClientError ¶
func (o *ListRunnergroupBadRequest) IsClientError() bool
IsClientError returns true when this list runnergroup bad request response has a 4xx status code
func (*ListRunnergroupBadRequest) IsCode ¶
func (o *ListRunnergroupBadRequest) IsCode(code int) bool
IsCode returns true when this list runnergroup bad request response a status code equal to that given
func (*ListRunnergroupBadRequest) IsRedirect ¶
func (o *ListRunnergroupBadRequest) IsRedirect() bool
IsRedirect returns true when this list runnergroup bad request response has a 3xx status code
func (*ListRunnergroupBadRequest) IsServerError ¶
func (o *ListRunnergroupBadRequest) IsServerError() bool
IsServerError returns true when this list runnergroup bad request response has a 5xx status code
func (*ListRunnergroupBadRequest) IsSuccess ¶
func (o *ListRunnergroupBadRequest) IsSuccess() bool
IsSuccess returns true when this list runnergroup bad request response has a 2xx status code
func (*ListRunnergroupBadRequest) String ¶
func (o *ListRunnergroupBadRequest) String() string
type ListRunnergroupOK ¶
type ListRunnergroupOK struct {
Payload []*models.JobRunnerGroup
}
ListRunnergroupOK describes a response with status code 200, with default header values.
OK
func NewListRunnergroupOK ¶
func NewListRunnergroupOK() *ListRunnergroupOK
NewListRunnergroupOK creates a ListRunnergroupOK with default headers values
func (*ListRunnergroupOK) Code ¶
func (o *ListRunnergroupOK) Code() int
Code gets the status code for the list runnergroup o k response
func (*ListRunnergroupOK) Error ¶
func (o *ListRunnergroupOK) Error() string
func (*ListRunnergroupOK) GetPayload ¶
func (o *ListRunnergroupOK) GetPayload() []*models.JobRunnerGroup
func (*ListRunnergroupOK) IsClientError ¶
func (o *ListRunnergroupOK) IsClientError() bool
IsClientError returns true when this list runnergroup o k response has a 4xx status code
func (*ListRunnergroupOK) IsCode ¶
func (o *ListRunnergroupOK) IsCode(code int) bool
IsCode returns true when this list runnergroup o k response a status code equal to that given
func (*ListRunnergroupOK) IsRedirect ¶
func (o *ListRunnergroupOK) IsRedirect() bool
IsRedirect returns true when this list runnergroup o k response has a 3xx status code
func (*ListRunnergroupOK) IsServerError ¶
func (o *ListRunnergroupOK) IsServerError() bool
IsServerError returns true when this list runnergroup o k response has a 5xx status code
func (*ListRunnergroupOK) IsSuccess ¶
func (o *ListRunnergroupOK) IsSuccess() bool
IsSuccess returns true when this list runnergroup o k response has a 2xx status code
func (*ListRunnergroupOK) String ¶
func (o *ListRunnergroupOK) String() string
type ListRunnergroupParams ¶
type ListRunnergroupParams struct {
/* OrgName.
Signadot Org Name
*/
OrgName string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListRunnergroupParams contains all the parameters to send to the API endpoint
for the list runnergroup operation. Typically these are written to a http.Request.
func NewListRunnergroupParams ¶
func NewListRunnergroupParams() *ListRunnergroupParams
NewListRunnergroupParams creates a new ListRunnergroupParams 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 NewListRunnergroupParamsWithContext ¶
func NewListRunnergroupParamsWithContext(ctx context.Context) *ListRunnergroupParams
NewListRunnergroupParamsWithContext creates a new ListRunnergroupParams object with the ability to set a context for a request.
func NewListRunnergroupParamsWithHTTPClient ¶
func NewListRunnergroupParamsWithHTTPClient(client *http.Client) *ListRunnergroupParams
NewListRunnergroupParamsWithHTTPClient creates a new ListRunnergroupParams object with the ability to set a custom HTTPClient for a request.
func NewListRunnergroupParamsWithTimeout ¶
func NewListRunnergroupParamsWithTimeout(timeout time.Duration) *ListRunnergroupParams
NewListRunnergroupParamsWithTimeout creates a new ListRunnergroupParams object with the ability to set a timeout on a request.
func (*ListRunnergroupParams) SetContext ¶
func (o *ListRunnergroupParams) SetContext(ctx context.Context)
SetContext adds the context to the list runnergroup params
func (*ListRunnergroupParams) SetDefaults ¶
func (o *ListRunnergroupParams) SetDefaults()
SetDefaults hydrates default values in the list runnergroup params (not the query body).
All values with no default are reset to their zero value.
func (*ListRunnergroupParams) SetHTTPClient ¶
func (o *ListRunnergroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list runnergroup params
func (*ListRunnergroupParams) SetOrgName ¶
func (o *ListRunnergroupParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the list runnergroup params
func (*ListRunnergroupParams) SetTimeout ¶
func (o *ListRunnergroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list runnergroup params
func (*ListRunnergroupParams) WithContext ¶
func (o *ListRunnergroupParams) WithContext(ctx context.Context) *ListRunnergroupParams
WithContext adds the context to the list runnergroup params
func (*ListRunnergroupParams) WithDefaults ¶
func (o *ListRunnergroupParams) WithDefaults() *ListRunnergroupParams
WithDefaults hydrates default values in the list runnergroup params (not the query body).
All values with no default are reset to their zero value.
func (*ListRunnergroupParams) WithHTTPClient ¶
func (o *ListRunnergroupParams) WithHTTPClient(client *http.Client) *ListRunnergroupParams
WithHTTPClient adds the HTTPClient to the list runnergroup params
func (*ListRunnergroupParams) WithOrgName ¶
func (o *ListRunnergroupParams) WithOrgName(orgName string) *ListRunnergroupParams
WithOrgName adds the orgName to the list runnergroup params
func (*ListRunnergroupParams) WithTimeout ¶
func (o *ListRunnergroupParams) WithTimeout(timeout time.Duration) *ListRunnergroupParams
WithTimeout adds the timeout to the list runnergroup params
func (*ListRunnergroupParams) WriteToRequest ¶
func (o *ListRunnergroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRunnergroupReader ¶
type ListRunnergroupReader struct {
// contains filtered or unexported fields
}
ListRunnergroupReader is a Reader for the ListRunnergroup structure.
func (*ListRunnergroupReader) ReadResponse ¶
func (o *ListRunnergroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ListRunnergroupUnauthorized ¶
type ListRunnergroupUnauthorized struct {
}
ListRunnergroupUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListRunnergroupUnauthorized ¶
func NewListRunnergroupUnauthorized() *ListRunnergroupUnauthorized
NewListRunnergroupUnauthorized creates a ListRunnergroupUnauthorized with default headers values
func (*ListRunnergroupUnauthorized) Code ¶
func (o *ListRunnergroupUnauthorized) Code() int
Code gets the status code for the list runnergroup unauthorized response
func (*ListRunnergroupUnauthorized) Error ¶
func (o *ListRunnergroupUnauthorized) Error() string
func (*ListRunnergroupUnauthorized) GetPayload ¶
func (o *ListRunnergroupUnauthorized) GetPayload() *models.ErrorResponse
func (*ListRunnergroupUnauthorized) IsClientError ¶
func (o *ListRunnergroupUnauthorized) IsClientError() bool
IsClientError returns true when this list runnergroup unauthorized response has a 4xx status code
func (*ListRunnergroupUnauthorized) IsCode ¶
func (o *ListRunnergroupUnauthorized) IsCode(code int) bool
IsCode returns true when this list runnergroup unauthorized response a status code equal to that given
func (*ListRunnergroupUnauthorized) IsRedirect ¶
func (o *ListRunnergroupUnauthorized) IsRedirect() bool
IsRedirect returns true when this list runnergroup unauthorized response has a 3xx status code
func (*ListRunnergroupUnauthorized) IsServerError ¶
func (o *ListRunnergroupUnauthorized) IsServerError() bool
IsServerError returns true when this list runnergroup unauthorized response has a 5xx status code
func (*ListRunnergroupUnauthorized) IsSuccess ¶
func (o *ListRunnergroupUnauthorized) IsSuccess() bool
IsSuccess returns true when this list runnergroup unauthorized response has a 2xx status code
func (*ListRunnergroupUnauthorized) String ¶
func (o *ListRunnergroupUnauthorized) String() string