scalesets

package
v0.2.3-alpha1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 scalesets API

func (*Client) DeleteScaleSet

func (a *Client) DeleteScaleSet(params *DeleteScaleSetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

DeleteScaleSet deletes scale set by ID

func (*Client) GetScaleSet

func (a *Client) GetScaleSet(params *GetScaleSetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScaleSetOK, error)

GetScaleSet gets scale set by ID

func (*Client) ListAllScaleSetJobs added in v0.2.2

func (a *Client) ListAllScaleSetJobs(params *ListAllScaleSetJobsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAllScaleSetJobsOK, error)
ListAllScaleSetJobs List jobs handled by all scale sets. Only queued and in progress jobs are

listed unless all is set.

func (*Client) ListScaleSetJobs added in v0.2.2

func (a *Client) ListScaleSetJobs(params *ListScaleSetJobsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListScaleSetJobsOK, error)
ListScaleSetJobs List jobs handled by one scale set. Only queued and in progress jobs are

listed unless all is set.

func (*Client) ListScalesets

func (a *Client) ListScalesets(params *ListScalesetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListScalesetsOK, error)

ListScalesets lists all scalesets

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateScaleSet

func (a *Client) UpdateScaleSet(params *UpdateScaleSetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateScaleSetOK, error)

UpdateScaleSet updates scale set by ID

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	DeleteScaleSet(params *DeleteScaleSetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

	GetScaleSet(params *GetScaleSetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScaleSetOK, error)

	ListAllScaleSetJobs(params *ListAllScaleSetJobsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAllScaleSetJobsOK, error)

	ListScaleSetJobs(params *ListScaleSetJobsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListScaleSetJobsOK, error)

	ListScalesets(params *ListScalesetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListScalesetsOK, error)

	UpdateScaleSet(params *UpdateScaleSetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateScaleSetOK, 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 scalesets API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new scalesets 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 scalesets 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 DeleteScaleSetDefault

type DeleteScaleSetDefault struct {
	Payload apiserver_params.APIErrorResponse
	// contains filtered or unexported fields
}

DeleteScaleSetDefault describes a response with status code -1, with default header values.

APIErrorResponse

func NewDeleteScaleSetDefault

func NewDeleteScaleSetDefault(code int) *DeleteScaleSetDefault

NewDeleteScaleSetDefault creates a DeleteScaleSetDefault with default headers values

func (*DeleteScaleSetDefault) Code

func (o *DeleteScaleSetDefault) Code() int

Code gets the status code for the delete scale set default response

func (*DeleteScaleSetDefault) Error

func (o *DeleteScaleSetDefault) Error() string

func (*DeleteScaleSetDefault) GetPayload

func (*DeleteScaleSetDefault) IsClientError

func (o *DeleteScaleSetDefault) IsClientError() bool

IsClientError returns true when this delete scale set default response has a 4xx status code

func (*DeleteScaleSetDefault) IsCode

func (o *DeleteScaleSetDefault) IsCode(code int) bool

IsCode returns true when this delete scale set default response a status code equal to that given

func (*DeleteScaleSetDefault) IsRedirect

func (o *DeleteScaleSetDefault) IsRedirect() bool

IsRedirect returns true when this delete scale set default response has a 3xx status code

func (*DeleteScaleSetDefault) IsServerError

func (o *DeleteScaleSetDefault) IsServerError() bool

IsServerError returns true when this delete scale set default response has a 5xx status code

func (*DeleteScaleSetDefault) IsSuccess

func (o *DeleteScaleSetDefault) IsSuccess() bool

IsSuccess returns true when this delete scale set default response has a 2xx status code

func (*DeleteScaleSetDefault) String

func (o *DeleteScaleSetDefault) String() string

type DeleteScaleSetParams

type DeleteScaleSetParams struct {

	/* BypassGHErrors.

	   If true GARM removes the scale set even if GitHub fails to delete it, which may leave it orphaned on GitHub.
	*/
	BypassGHErrors *bool

	/* ScalesetID.

	   ID of the scale set to delete.
	*/
	ScalesetID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteScaleSetParams contains all the parameters to send to the API endpoint

for the delete scale set operation.

Typically these are written to a http.Request.

func NewDeleteScaleSetParams

func NewDeleteScaleSetParams() *DeleteScaleSetParams

NewDeleteScaleSetParams creates a new DeleteScaleSetParams 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 NewDeleteScaleSetParamsWithContext

func NewDeleteScaleSetParamsWithContext(ctx context.Context) *DeleteScaleSetParams

NewDeleteScaleSetParamsWithContext creates a new DeleteScaleSetParams object with the ability to set a context for a request.

func NewDeleteScaleSetParamsWithHTTPClient

func NewDeleteScaleSetParamsWithHTTPClient(client *http.Client) *DeleteScaleSetParams

NewDeleteScaleSetParamsWithHTTPClient creates a new DeleteScaleSetParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteScaleSetParamsWithTimeout

func NewDeleteScaleSetParamsWithTimeout(timeout time.Duration) *DeleteScaleSetParams

NewDeleteScaleSetParamsWithTimeout creates a new DeleteScaleSetParams object with the ability to set a timeout on a request.

func (*DeleteScaleSetParams) SetBypassGHErrors added in v0.2.2

func (o *DeleteScaleSetParams) SetBypassGHErrors(bypassGHErrors *bool)

SetBypassGHErrors adds the bypassGHErrors to the delete scale set params

func (*DeleteScaleSetParams) SetContext

func (o *DeleteScaleSetParams) SetContext(ctx context.Context)

SetContext adds the context to the delete scale set params

func (*DeleteScaleSetParams) SetDefaults

func (o *DeleteScaleSetParams) SetDefaults()

SetDefaults hydrates default values in the delete scale set params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteScaleSetParams) SetHTTPClient

func (o *DeleteScaleSetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete scale set params

func (*DeleteScaleSetParams) SetScalesetID

func (o *DeleteScaleSetParams) SetScalesetID(scalesetID string)

SetScalesetID adds the scalesetId to the delete scale set params

func (*DeleteScaleSetParams) SetTimeout

func (o *DeleteScaleSetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete scale set params

func (*DeleteScaleSetParams) WithBypassGHErrors added in v0.2.2

func (o *DeleteScaleSetParams) WithBypassGHErrors(bypassGHErrors *bool) *DeleteScaleSetParams

WithBypassGHErrors adds the bypassGHErrors to the delete scale set params

func (*DeleteScaleSetParams) WithContext

WithContext adds the context to the delete scale set params

func (*DeleteScaleSetParams) WithDefaults

func (o *DeleteScaleSetParams) WithDefaults() *DeleteScaleSetParams

WithDefaults hydrates default values in the delete scale set params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteScaleSetParams) WithHTTPClient

func (o *DeleteScaleSetParams) WithHTTPClient(client *http.Client) *DeleteScaleSetParams

WithHTTPClient adds the HTTPClient to the delete scale set params

func (*DeleteScaleSetParams) WithScalesetID

func (o *DeleteScaleSetParams) WithScalesetID(scalesetID string) *DeleteScaleSetParams

WithScalesetID adds the scalesetID to the delete scale set params

func (*DeleteScaleSetParams) WithTimeout

func (o *DeleteScaleSetParams) WithTimeout(timeout time.Duration) *DeleteScaleSetParams

WithTimeout adds the timeout to the delete scale set params

func (*DeleteScaleSetParams) WriteToRequest

func (o *DeleteScaleSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteScaleSetReader

type DeleteScaleSetReader struct {
	// contains filtered or unexported fields
}

DeleteScaleSetReader is a Reader for the DeleteScaleSet structure.

func (*DeleteScaleSetReader) ReadResponse

func (o *DeleteScaleSetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetScaleSetDefault

type GetScaleSetDefault struct {
	Payload apiserver_params.APIErrorResponse
	// contains filtered or unexported fields
}

GetScaleSetDefault describes a response with status code -1, with default header values.

APIErrorResponse

func NewGetScaleSetDefault

func NewGetScaleSetDefault(code int) *GetScaleSetDefault

NewGetScaleSetDefault creates a GetScaleSetDefault with default headers values

func (*GetScaleSetDefault) Code

func (o *GetScaleSetDefault) Code() int

Code gets the status code for the get scale set default response

func (*GetScaleSetDefault) Error

func (o *GetScaleSetDefault) Error() string

func (*GetScaleSetDefault) GetPayload

func (*GetScaleSetDefault) IsClientError

func (o *GetScaleSetDefault) IsClientError() bool

IsClientError returns true when this get scale set default response has a 4xx status code

func (*GetScaleSetDefault) IsCode

func (o *GetScaleSetDefault) IsCode(code int) bool

IsCode returns true when this get scale set default response a status code equal to that given

func (*GetScaleSetDefault) IsRedirect

func (o *GetScaleSetDefault) IsRedirect() bool

IsRedirect returns true when this get scale set default response has a 3xx status code

func (*GetScaleSetDefault) IsServerError

func (o *GetScaleSetDefault) IsServerError() bool

IsServerError returns true when this get scale set default response has a 5xx status code

func (*GetScaleSetDefault) IsSuccess

func (o *GetScaleSetDefault) IsSuccess() bool

IsSuccess returns true when this get scale set default response has a 2xx status code

func (*GetScaleSetDefault) String

func (o *GetScaleSetDefault) String() string

type GetScaleSetOK

type GetScaleSetOK struct {
	Payload garm_params.ScaleSet
}

GetScaleSetOK describes a response with status code 200, with default header values.

ScaleSet

func NewGetScaleSetOK

func NewGetScaleSetOK() *GetScaleSetOK

NewGetScaleSetOK creates a GetScaleSetOK with default headers values

func (*GetScaleSetOK) Code

func (o *GetScaleSetOK) Code() int

Code gets the status code for the get scale set o k response

func (*GetScaleSetOK) Error

func (o *GetScaleSetOK) Error() string

func (*GetScaleSetOK) GetPayload

func (o *GetScaleSetOK) GetPayload() garm_params.ScaleSet

func (*GetScaleSetOK) IsClientError

func (o *GetScaleSetOK) IsClientError() bool

IsClientError returns true when this get scale set o k response has a 4xx status code

func (*GetScaleSetOK) IsCode

func (o *GetScaleSetOK) IsCode(code int) bool

IsCode returns true when this get scale set o k response a status code equal to that given

func (*GetScaleSetOK) IsRedirect

func (o *GetScaleSetOK) IsRedirect() bool

IsRedirect returns true when this get scale set o k response has a 3xx status code

func (*GetScaleSetOK) IsServerError

func (o *GetScaleSetOK) IsServerError() bool

IsServerError returns true when this get scale set o k response has a 5xx status code

func (*GetScaleSetOK) IsSuccess

func (o *GetScaleSetOK) IsSuccess() bool

IsSuccess returns true when this get scale set o k response has a 2xx status code

func (*GetScaleSetOK) String

func (o *GetScaleSetOK) String() string

type GetScaleSetParams

type GetScaleSetParams struct {

	/* ScalesetID.

	   ID of the scale set to fetch.
	*/
	ScalesetID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetScaleSetParams contains all the parameters to send to the API endpoint

for the get scale set operation.

Typically these are written to a http.Request.

func NewGetScaleSetParams

func NewGetScaleSetParams() *GetScaleSetParams

NewGetScaleSetParams creates a new GetScaleSetParams 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 NewGetScaleSetParamsWithContext

func NewGetScaleSetParamsWithContext(ctx context.Context) *GetScaleSetParams

NewGetScaleSetParamsWithContext creates a new GetScaleSetParams object with the ability to set a context for a request.

func NewGetScaleSetParamsWithHTTPClient

func NewGetScaleSetParamsWithHTTPClient(client *http.Client) *GetScaleSetParams

NewGetScaleSetParamsWithHTTPClient creates a new GetScaleSetParams object with the ability to set a custom HTTPClient for a request.

func NewGetScaleSetParamsWithTimeout

func NewGetScaleSetParamsWithTimeout(timeout time.Duration) *GetScaleSetParams

NewGetScaleSetParamsWithTimeout creates a new GetScaleSetParams object with the ability to set a timeout on a request.

func (*GetScaleSetParams) SetContext

func (o *GetScaleSetParams) SetContext(ctx context.Context)

SetContext adds the context to the get scale set params

func (*GetScaleSetParams) SetDefaults

func (o *GetScaleSetParams) SetDefaults()

SetDefaults hydrates default values in the get scale set params (not the query body).

All values with no default are reset to their zero value.

func (*GetScaleSetParams) SetHTTPClient

func (o *GetScaleSetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get scale set params

func (*GetScaleSetParams) SetScalesetID

func (o *GetScaleSetParams) SetScalesetID(scalesetID string)

SetScalesetID adds the scalesetId to the get scale set params

func (*GetScaleSetParams) SetTimeout

func (o *GetScaleSetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get scale set params

func (*GetScaleSetParams) WithContext

func (o *GetScaleSetParams) WithContext(ctx context.Context) *GetScaleSetParams

WithContext adds the context to the get scale set params

func (*GetScaleSetParams) WithDefaults

func (o *GetScaleSetParams) WithDefaults() *GetScaleSetParams

WithDefaults hydrates default values in the get scale set params (not the query body).

All values with no default are reset to their zero value.

func (*GetScaleSetParams) WithHTTPClient

func (o *GetScaleSetParams) WithHTTPClient(client *http.Client) *GetScaleSetParams

WithHTTPClient adds the HTTPClient to the get scale set params

func (*GetScaleSetParams) WithScalesetID

func (o *GetScaleSetParams) WithScalesetID(scalesetID string) *GetScaleSetParams

WithScalesetID adds the scalesetID to the get scale set params

func (*GetScaleSetParams) WithTimeout

func (o *GetScaleSetParams) WithTimeout(timeout time.Duration) *GetScaleSetParams

WithTimeout adds the timeout to the get scale set params

func (*GetScaleSetParams) WriteToRequest

func (o *GetScaleSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetScaleSetReader

type GetScaleSetReader struct {
	// contains filtered or unexported fields
}

GetScaleSetReader is a Reader for the GetScaleSet structure.

func (*GetScaleSetReader) ReadResponse

func (o *GetScaleSetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListAllScaleSetJobsDefault added in v0.2.2

type ListAllScaleSetJobsDefault struct {
	Payload apiserver_params.APIErrorResponse
	// contains filtered or unexported fields
}

ListAllScaleSetJobsDefault describes a response with status code -1, with default header values.

APIErrorResponse

func NewListAllScaleSetJobsDefault added in v0.2.2

func NewListAllScaleSetJobsDefault(code int) *ListAllScaleSetJobsDefault

NewListAllScaleSetJobsDefault creates a ListAllScaleSetJobsDefault with default headers values

func (*ListAllScaleSetJobsDefault) Code added in v0.2.2

func (o *ListAllScaleSetJobsDefault) Code() int

Code gets the status code for the list all scale set jobs default response

func (*ListAllScaleSetJobsDefault) Error added in v0.2.2

func (*ListAllScaleSetJobsDefault) GetPayload added in v0.2.2

func (*ListAllScaleSetJobsDefault) IsClientError added in v0.2.2

func (o *ListAllScaleSetJobsDefault) IsClientError() bool

IsClientError returns true when this list all scale set jobs default response has a 4xx status code

func (*ListAllScaleSetJobsDefault) IsCode added in v0.2.2

func (o *ListAllScaleSetJobsDefault) IsCode(code int) bool

IsCode returns true when this list all scale set jobs default response a status code equal to that given

func (*ListAllScaleSetJobsDefault) IsRedirect added in v0.2.2

func (o *ListAllScaleSetJobsDefault) IsRedirect() bool

IsRedirect returns true when this list all scale set jobs default response has a 3xx status code

func (*ListAllScaleSetJobsDefault) IsServerError added in v0.2.2

func (o *ListAllScaleSetJobsDefault) IsServerError() bool

IsServerError returns true when this list all scale set jobs default response has a 5xx status code

func (*ListAllScaleSetJobsDefault) IsSuccess added in v0.2.2

func (o *ListAllScaleSetJobsDefault) IsSuccess() bool

IsSuccess returns true when this list all scale set jobs default response has a 2xx status code

func (*ListAllScaleSetJobsDefault) String added in v0.2.2

func (o *ListAllScaleSetJobsDefault) String() string

type ListAllScaleSetJobsOK added in v0.2.2

type ListAllScaleSetJobsOK struct {
	Payload garm_params.ScaleSetJobsPaginatedResponse
}

ListAllScaleSetJobsOK describes a response with status code 200, with default header values.

ScaleSetJobsPaginatedResponse

func NewListAllScaleSetJobsOK added in v0.2.2

func NewListAllScaleSetJobsOK() *ListAllScaleSetJobsOK

NewListAllScaleSetJobsOK creates a ListAllScaleSetJobsOK with default headers values

func (*ListAllScaleSetJobsOK) Code added in v0.2.2

func (o *ListAllScaleSetJobsOK) Code() int

Code gets the status code for the list all scale set jobs o k response

func (*ListAllScaleSetJobsOK) Error added in v0.2.2

func (o *ListAllScaleSetJobsOK) Error() string

func (*ListAllScaleSetJobsOK) GetPayload added in v0.2.2

func (*ListAllScaleSetJobsOK) IsClientError added in v0.2.2

func (o *ListAllScaleSetJobsOK) IsClientError() bool

IsClientError returns true when this list all scale set jobs o k response has a 4xx status code

func (*ListAllScaleSetJobsOK) IsCode added in v0.2.2

func (o *ListAllScaleSetJobsOK) IsCode(code int) bool

IsCode returns true when this list all scale set jobs o k response a status code equal to that given

func (*ListAllScaleSetJobsOK) IsRedirect added in v0.2.2

func (o *ListAllScaleSetJobsOK) IsRedirect() bool

IsRedirect returns true when this list all scale set jobs o k response has a 3xx status code

func (*ListAllScaleSetJobsOK) IsServerError added in v0.2.2

func (o *ListAllScaleSetJobsOK) IsServerError() bool

IsServerError returns true when this list all scale set jobs o k response has a 5xx status code

func (*ListAllScaleSetJobsOK) IsSuccess added in v0.2.2

func (o *ListAllScaleSetJobsOK) IsSuccess() bool

IsSuccess returns true when this list all scale set jobs o k response has a 2xx status code

func (*ListAllScaleSetJobsOK) String added in v0.2.2

func (o *ListAllScaleSetJobsOK) String() string

type ListAllScaleSetJobsParams added in v0.2.2

type ListAllScaleSetJobsParams struct {

	/* All.

	   Also list completed jobs.
	*/
	All *bool

	/* Page.

	   The page at which to list.
	*/
	Page *int64

	/* PageSize.

	   Number of items per page.
	*/
	PageSize *int64

	/* Since.

	   Only list jobs recorded at or after this timestamp.

	   Format: date-time
	*/
	Since *strfmt.DateTime

	/* Until.

	   Only list jobs recorded at or before this timestamp.

	   Format: date-time
	*/
	Until *strfmt.DateTime

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListAllScaleSetJobsParams contains all the parameters to send to the API endpoint

for the list all scale set jobs operation.

Typically these are written to a http.Request.

func NewListAllScaleSetJobsParams added in v0.2.2

func NewListAllScaleSetJobsParams() *ListAllScaleSetJobsParams

NewListAllScaleSetJobsParams creates a new ListAllScaleSetJobsParams 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 NewListAllScaleSetJobsParamsWithContext added in v0.2.2

func NewListAllScaleSetJobsParamsWithContext(ctx context.Context) *ListAllScaleSetJobsParams

NewListAllScaleSetJobsParamsWithContext creates a new ListAllScaleSetJobsParams object with the ability to set a context for a request.

func NewListAllScaleSetJobsParamsWithHTTPClient added in v0.2.2

func NewListAllScaleSetJobsParamsWithHTTPClient(client *http.Client) *ListAllScaleSetJobsParams

NewListAllScaleSetJobsParamsWithHTTPClient creates a new ListAllScaleSetJobsParams object with the ability to set a custom HTTPClient for a request.

func NewListAllScaleSetJobsParamsWithTimeout added in v0.2.2

func NewListAllScaleSetJobsParamsWithTimeout(timeout time.Duration) *ListAllScaleSetJobsParams

NewListAllScaleSetJobsParamsWithTimeout creates a new ListAllScaleSetJobsParams object with the ability to set a timeout on a request.

func (*ListAllScaleSetJobsParams) SetAll added in v0.2.2

func (o *ListAllScaleSetJobsParams) SetAll(all *bool)

SetAll adds the all to the list all scale set jobs params

func (*ListAllScaleSetJobsParams) SetContext added in v0.2.2

func (o *ListAllScaleSetJobsParams) SetContext(ctx context.Context)

SetContext adds the context to the list all scale set jobs params

func (*ListAllScaleSetJobsParams) SetDefaults added in v0.2.2

func (o *ListAllScaleSetJobsParams) SetDefaults()

SetDefaults hydrates default values in the list all scale set jobs params (not the query body).

All values with no default are reset to their zero value.

func (*ListAllScaleSetJobsParams) SetHTTPClient added in v0.2.2

func (o *ListAllScaleSetJobsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list all scale set jobs params

func (*ListAllScaleSetJobsParams) SetPage added in v0.2.2

func (o *ListAllScaleSetJobsParams) SetPage(page *int64)

SetPage adds the page to the list all scale set jobs params

func (*ListAllScaleSetJobsParams) SetPageSize added in v0.2.2

func (o *ListAllScaleSetJobsParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the list all scale set jobs params

func (*ListAllScaleSetJobsParams) SetSince added in v0.2.2

func (o *ListAllScaleSetJobsParams) SetSince(since *strfmt.DateTime)

SetSince adds the since to the list all scale set jobs params

func (*ListAllScaleSetJobsParams) SetTimeout added in v0.2.2

func (o *ListAllScaleSetJobsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list all scale set jobs params

func (*ListAllScaleSetJobsParams) SetUntil added in v0.2.2

func (o *ListAllScaleSetJobsParams) SetUntil(until *strfmt.DateTime)

SetUntil adds the until to the list all scale set jobs params

func (*ListAllScaleSetJobsParams) WithAll added in v0.2.2

WithAll adds the all to the list all scale set jobs params

func (*ListAllScaleSetJobsParams) WithContext added in v0.2.2

WithContext adds the context to the list all scale set jobs params

func (*ListAllScaleSetJobsParams) WithDefaults added in v0.2.2

WithDefaults hydrates default values in the list all scale set jobs params (not the query body).

All values with no default are reset to their zero value.

func (*ListAllScaleSetJobsParams) WithHTTPClient added in v0.2.2

func (o *ListAllScaleSetJobsParams) WithHTTPClient(client *http.Client) *ListAllScaleSetJobsParams

WithHTTPClient adds the HTTPClient to the list all scale set jobs params

func (*ListAllScaleSetJobsParams) WithPage added in v0.2.2

WithPage adds the page to the list all scale set jobs params

func (*ListAllScaleSetJobsParams) WithPageSize added in v0.2.2

func (o *ListAllScaleSetJobsParams) WithPageSize(pageSize *int64) *ListAllScaleSetJobsParams

WithPageSize adds the pageSize to the list all scale set jobs params

func (*ListAllScaleSetJobsParams) WithSince added in v0.2.2

WithSince adds the since to the list all scale set jobs params

func (*ListAllScaleSetJobsParams) WithTimeout added in v0.2.2

WithTimeout adds the timeout to the list all scale set jobs params

func (*ListAllScaleSetJobsParams) WithUntil added in v0.2.2

WithUntil adds the until to the list all scale set jobs params

func (*ListAllScaleSetJobsParams) WriteToRequest added in v0.2.2

WriteToRequest writes these params to a swagger request

type ListAllScaleSetJobsReader added in v0.2.2

type ListAllScaleSetJobsReader struct {
	// contains filtered or unexported fields
}

ListAllScaleSetJobsReader is a Reader for the ListAllScaleSetJobs structure.

func (*ListAllScaleSetJobsReader) ReadResponse added in v0.2.2

func (o *ListAllScaleSetJobsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListScaleSetJobsDefault added in v0.2.2

type ListScaleSetJobsDefault struct {
	Payload apiserver_params.APIErrorResponse
	// contains filtered or unexported fields
}

ListScaleSetJobsDefault describes a response with status code -1, with default header values.

APIErrorResponse

func NewListScaleSetJobsDefault added in v0.2.2

func NewListScaleSetJobsDefault(code int) *ListScaleSetJobsDefault

NewListScaleSetJobsDefault creates a ListScaleSetJobsDefault with default headers values

func (*ListScaleSetJobsDefault) Code added in v0.2.2

func (o *ListScaleSetJobsDefault) Code() int

Code gets the status code for the list scale set jobs default response

func (*ListScaleSetJobsDefault) Error added in v0.2.2

func (o *ListScaleSetJobsDefault) Error() string

func (*ListScaleSetJobsDefault) GetPayload added in v0.2.2

func (*ListScaleSetJobsDefault) IsClientError added in v0.2.2

func (o *ListScaleSetJobsDefault) IsClientError() bool

IsClientError returns true when this list scale set jobs default response has a 4xx status code

func (*ListScaleSetJobsDefault) IsCode added in v0.2.2

func (o *ListScaleSetJobsDefault) IsCode(code int) bool

IsCode returns true when this list scale set jobs default response a status code equal to that given

func (*ListScaleSetJobsDefault) IsRedirect added in v0.2.2

func (o *ListScaleSetJobsDefault) IsRedirect() bool

IsRedirect returns true when this list scale set jobs default response has a 3xx status code

func (*ListScaleSetJobsDefault) IsServerError added in v0.2.2

func (o *ListScaleSetJobsDefault) IsServerError() bool

IsServerError returns true when this list scale set jobs default response has a 5xx status code

func (*ListScaleSetJobsDefault) IsSuccess added in v0.2.2

func (o *ListScaleSetJobsDefault) IsSuccess() bool

IsSuccess returns true when this list scale set jobs default response has a 2xx status code

func (*ListScaleSetJobsDefault) String added in v0.2.2

func (o *ListScaleSetJobsDefault) String() string

type ListScaleSetJobsOK added in v0.2.2

type ListScaleSetJobsOK struct {
	Payload garm_params.ScaleSetJobsPaginatedResponse
}

ListScaleSetJobsOK describes a response with status code 200, with default header values.

ScaleSetJobsPaginatedResponse

func NewListScaleSetJobsOK added in v0.2.2

func NewListScaleSetJobsOK() *ListScaleSetJobsOK

NewListScaleSetJobsOK creates a ListScaleSetJobsOK with default headers values

func (*ListScaleSetJobsOK) Code added in v0.2.2

func (o *ListScaleSetJobsOK) Code() int

Code gets the status code for the list scale set jobs o k response

func (*ListScaleSetJobsOK) Error added in v0.2.2

func (o *ListScaleSetJobsOK) Error() string

func (*ListScaleSetJobsOK) GetPayload added in v0.2.2

func (*ListScaleSetJobsOK) IsClientError added in v0.2.2

func (o *ListScaleSetJobsOK) IsClientError() bool

IsClientError returns true when this list scale set jobs o k response has a 4xx status code

func (*ListScaleSetJobsOK) IsCode added in v0.2.2

func (o *ListScaleSetJobsOK) IsCode(code int) bool

IsCode returns true when this list scale set jobs o k response a status code equal to that given

func (*ListScaleSetJobsOK) IsRedirect added in v0.2.2

func (o *ListScaleSetJobsOK) IsRedirect() bool

IsRedirect returns true when this list scale set jobs o k response has a 3xx status code

func (*ListScaleSetJobsOK) IsServerError added in v0.2.2

func (o *ListScaleSetJobsOK) IsServerError() bool

IsServerError returns true when this list scale set jobs o k response has a 5xx status code

func (*ListScaleSetJobsOK) IsSuccess added in v0.2.2

func (o *ListScaleSetJobsOK) IsSuccess() bool

IsSuccess returns true when this list scale set jobs o k response has a 2xx status code

func (*ListScaleSetJobsOK) String added in v0.2.2

func (o *ListScaleSetJobsOK) String() string

type ListScaleSetJobsParams added in v0.2.2

type ListScaleSetJobsParams struct {

	/* All.

	   Also list completed jobs.
	*/
	All *bool

	/* Page.

	   The page at which to list.
	*/
	Page *int64

	/* PageSize.

	   Number of items per page.
	*/
	PageSize *int64

	/* ScalesetID.

	   ID of the scale set whose jobs to fetch.
	*/
	ScalesetID string

	/* Since.

	   Only list jobs recorded at or after this timestamp.

	   Format: date-time
	*/
	Since *strfmt.DateTime

	/* Until.

	   Only list jobs recorded at or before this timestamp.

	   Format: date-time
	*/
	Until *strfmt.DateTime

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListScaleSetJobsParams contains all the parameters to send to the API endpoint

for the list scale set jobs operation.

Typically these are written to a http.Request.

func NewListScaleSetJobsParams added in v0.2.2

func NewListScaleSetJobsParams() *ListScaleSetJobsParams

NewListScaleSetJobsParams creates a new ListScaleSetJobsParams 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 NewListScaleSetJobsParamsWithContext added in v0.2.2

func NewListScaleSetJobsParamsWithContext(ctx context.Context) *ListScaleSetJobsParams

NewListScaleSetJobsParamsWithContext creates a new ListScaleSetJobsParams object with the ability to set a context for a request.

func NewListScaleSetJobsParamsWithHTTPClient added in v0.2.2

func NewListScaleSetJobsParamsWithHTTPClient(client *http.Client) *ListScaleSetJobsParams

NewListScaleSetJobsParamsWithHTTPClient creates a new ListScaleSetJobsParams object with the ability to set a custom HTTPClient for a request.

func NewListScaleSetJobsParamsWithTimeout added in v0.2.2

func NewListScaleSetJobsParamsWithTimeout(timeout time.Duration) *ListScaleSetJobsParams

NewListScaleSetJobsParamsWithTimeout creates a new ListScaleSetJobsParams object with the ability to set a timeout on a request.

func (*ListScaleSetJobsParams) SetAll added in v0.2.2

func (o *ListScaleSetJobsParams) SetAll(all *bool)

SetAll adds the all to the list scale set jobs params

func (*ListScaleSetJobsParams) SetContext added in v0.2.2

func (o *ListScaleSetJobsParams) SetContext(ctx context.Context)

SetContext adds the context to the list scale set jobs params

func (*ListScaleSetJobsParams) SetDefaults added in v0.2.2

func (o *ListScaleSetJobsParams) SetDefaults()

SetDefaults hydrates default values in the list scale set jobs params (not the query body).

All values with no default are reset to their zero value.

func (*ListScaleSetJobsParams) SetHTTPClient added in v0.2.2

func (o *ListScaleSetJobsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list scale set jobs params

func (*ListScaleSetJobsParams) SetPage added in v0.2.2

func (o *ListScaleSetJobsParams) SetPage(page *int64)

SetPage adds the page to the list scale set jobs params

func (*ListScaleSetJobsParams) SetPageSize added in v0.2.2

func (o *ListScaleSetJobsParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the list scale set jobs params

func (*ListScaleSetJobsParams) SetScalesetID added in v0.2.2

func (o *ListScaleSetJobsParams) SetScalesetID(scalesetID string)

SetScalesetID adds the scalesetId to the list scale set jobs params

func (*ListScaleSetJobsParams) SetSince added in v0.2.2

func (o *ListScaleSetJobsParams) SetSince(since *strfmt.DateTime)

SetSince adds the since to the list scale set jobs params

func (*ListScaleSetJobsParams) SetTimeout added in v0.2.2

func (o *ListScaleSetJobsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list scale set jobs params

func (*ListScaleSetJobsParams) SetUntil added in v0.2.2

func (o *ListScaleSetJobsParams) SetUntil(until *strfmt.DateTime)

SetUntil adds the until to the list scale set jobs params

func (*ListScaleSetJobsParams) WithAll added in v0.2.2

WithAll adds the all to the list scale set jobs params

func (*ListScaleSetJobsParams) WithContext added in v0.2.2

WithContext adds the context to the list scale set jobs params

func (*ListScaleSetJobsParams) WithDefaults added in v0.2.2

WithDefaults hydrates default values in the list scale set jobs params (not the query body).

All values with no default are reset to their zero value.

func (*ListScaleSetJobsParams) WithHTTPClient added in v0.2.2

func (o *ListScaleSetJobsParams) WithHTTPClient(client *http.Client) *ListScaleSetJobsParams

WithHTTPClient adds the HTTPClient to the list scale set jobs params

func (*ListScaleSetJobsParams) WithPage added in v0.2.2

WithPage adds the page to the list scale set jobs params

func (*ListScaleSetJobsParams) WithPageSize added in v0.2.2

func (o *ListScaleSetJobsParams) WithPageSize(pageSize *int64) *ListScaleSetJobsParams

WithPageSize adds the pageSize to the list scale set jobs params

func (*ListScaleSetJobsParams) WithScalesetID added in v0.2.2

func (o *ListScaleSetJobsParams) WithScalesetID(scalesetID string) *ListScaleSetJobsParams

WithScalesetID adds the scalesetID to the list scale set jobs params

func (*ListScaleSetJobsParams) WithSince added in v0.2.2

WithSince adds the since to the list scale set jobs params

func (*ListScaleSetJobsParams) WithTimeout added in v0.2.2

WithTimeout adds the timeout to the list scale set jobs params

func (*ListScaleSetJobsParams) WithUntil added in v0.2.2

WithUntil adds the until to the list scale set jobs params

func (*ListScaleSetJobsParams) WriteToRequest added in v0.2.2

WriteToRequest writes these params to a swagger request

type ListScaleSetJobsReader added in v0.2.2

type ListScaleSetJobsReader struct {
	// contains filtered or unexported fields
}

ListScaleSetJobsReader is a Reader for the ListScaleSetJobs structure.

func (*ListScaleSetJobsReader) ReadResponse added in v0.2.2

func (o *ListScaleSetJobsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListScalesetsDefault

type ListScalesetsDefault struct {
	Payload apiserver_params.APIErrorResponse
	// contains filtered or unexported fields
}

ListScalesetsDefault describes a response with status code -1, with default header values.

APIErrorResponse

func NewListScalesetsDefault

func NewListScalesetsDefault(code int) *ListScalesetsDefault

NewListScalesetsDefault creates a ListScalesetsDefault with default headers values

func (*ListScalesetsDefault) Code

func (o *ListScalesetsDefault) Code() int

Code gets the status code for the list scalesets default response

func (*ListScalesetsDefault) Error

func (o *ListScalesetsDefault) Error() string

func (*ListScalesetsDefault) GetPayload

func (*ListScalesetsDefault) IsClientError

func (o *ListScalesetsDefault) IsClientError() bool

IsClientError returns true when this list scalesets default response has a 4xx status code

func (*ListScalesetsDefault) IsCode

func (o *ListScalesetsDefault) IsCode(code int) bool

IsCode returns true when this list scalesets default response a status code equal to that given

func (*ListScalesetsDefault) IsRedirect

func (o *ListScalesetsDefault) IsRedirect() bool

IsRedirect returns true when this list scalesets default response has a 3xx status code

func (*ListScalesetsDefault) IsServerError

func (o *ListScalesetsDefault) IsServerError() bool

IsServerError returns true when this list scalesets default response has a 5xx status code

func (*ListScalesetsDefault) IsSuccess

func (o *ListScalesetsDefault) IsSuccess() bool

IsSuccess returns true when this list scalesets default response has a 2xx status code

func (*ListScalesetsDefault) String

func (o *ListScalesetsDefault) String() string

type ListScalesetsOK

type ListScalesetsOK struct {
	Payload garm_params.ScaleSets
}

ListScalesetsOK describes a response with status code 200, with default header values.

ScaleSets

func NewListScalesetsOK

func NewListScalesetsOK() *ListScalesetsOK

NewListScalesetsOK creates a ListScalesetsOK with default headers values

func (*ListScalesetsOK) Code

func (o *ListScalesetsOK) Code() int

Code gets the status code for the list scalesets o k response

func (*ListScalesetsOK) Error

func (o *ListScalesetsOK) Error() string

func (*ListScalesetsOK) GetPayload

func (o *ListScalesetsOK) GetPayload() garm_params.ScaleSets

func (*ListScalesetsOK) IsClientError

func (o *ListScalesetsOK) IsClientError() bool

IsClientError returns true when this list scalesets o k response has a 4xx status code

func (*ListScalesetsOK) IsCode

func (o *ListScalesetsOK) IsCode(code int) bool

IsCode returns true when this list scalesets o k response a status code equal to that given

func (*ListScalesetsOK) IsRedirect

func (o *ListScalesetsOK) IsRedirect() bool

IsRedirect returns true when this list scalesets o k response has a 3xx status code

func (*ListScalesetsOK) IsServerError

func (o *ListScalesetsOK) IsServerError() bool

IsServerError returns true when this list scalesets o k response has a 5xx status code

func (*ListScalesetsOK) IsSuccess

func (o *ListScalesetsOK) IsSuccess() bool

IsSuccess returns true when this list scalesets o k response has a 2xx status code

func (*ListScalesetsOK) String

func (o *ListScalesetsOK) String() string

type ListScalesetsParams

type ListScalesetsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListScalesetsParams contains all the parameters to send to the API endpoint

for the list scalesets operation.

Typically these are written to a http.Request.

func NewListScalesetsParams

func NewListScalesetsParams() *ListScalesetsParams

NewListScalesetsParams creates a new ListScalesetsParams 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 NewListScalesetsParamsWithContext

func NewListScalesetsParamsWithContext(ctx context.Context) *ListScalesetsParams

NewListScalesetsParamsWithContext creates a new ListScalesetsParams object with the ability to set a context for a request.

func NewListScalesetsParamsWithHTTPClient

func NewListScalesetsParamsWithHTTPClient(client *http.Client) *ListScalesetsParams

NewListScalesetsParamsWithHTTPClient creates a new ListScalesetsParams object with the ability to set a custom HTTPClient for a request.

func NewListScalesetsParamsWithTimeout

func NewListScalesetsParamsWithTimeout(timeout time.Duration) *ListScalesetsParams

NewListScalesetsParamsWithTimeout creates a new ListScalesetsParams object with the ability to set a timeout on a request.

func (*ListScalesetsParams) SetContext

func (o *ListScalesetsParams) SetContext(ctx context.Context)

SetContext adds the context to the list scalesets params

func (*ListScalesetsParams) SetDefaults

func (o *ListScalesetsParams) SetDefaults()

SetDefaults hydrates default values in the list scalesets params (not the query body).

All values with no default are reset to their zero value.

func (*ListScalesetsParams) SetHTTPClient

func (o *ListScalesetsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list scalesets params

func (*ListScalesetsParams) SetTimeout

func (o *ListScalesetsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list scalesets params

func (*ListScalesetsParams) WithContext

WithContext adds the context to the list scalesets params

func (*ListScalesetsParams) WithDefaults

func (o *ListScalesetsParams) WithDefaults() *ListScalesetsParams

WithDefaults hydrates default values in the list scalesets params (not the query body).

All values with no default are reset to their zero value.

func (*ListScalesetsParams) WithHTTPClient

func (o *ListScalesetsParams) WithHTTPClient(client *http.Client) *ListScalesetsParams

WithHTTPClient adds the HTTPClient to the list scalesets params

func (*ListScalesetsParams) WithTimeout

func (o *ListScalesetsParams) WithTimeout(timeout time.Duration) *ListScalesetsParams

WithTimeout adds the timeout to the list scalesets params

func (*ListScalesetsParams) WriteToRequest

func (o *ListScalesetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListScalesetsReader

type ListScalesetsReader struct {
	// contains filtered or unexported fields
}

ListScalesetsReader is a Reader for the ListScalesets structure.

func (*ListScalesetsReader) ReadResponse

func (o *ListScalesetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type UpdateScaleSetDefault

type UpdateScaleSetDefault struct {
	Payload apiserver_params.APIErrorResponse
	// contains filtered or unexported fields
}

UpdateScaleSetDefault describes a response with status code -1, with default header values.

APIErrorResponse

func NewUpdateScaleSetDefault

func NewUpdateScaleSetDefault(code int) *UpdateScaleSetDefault

NewUpdateScaleSetDefault creates a UpdateScaleSetDefault with default headers values

func (*UpdateScaleSetDefault) Code

func (o *UpdateScaleSetDefault) Code() int

Code gets the status code for the update scale set default response

func (*UpdateScaleSetDefault) Error

func (o *UpdateScaleSetDefault) Error() string

func (*UpdateScaleSetDefault) GetPayload

func (*UpdateScaleSetDefault) IsClientError

func (o *UpdateScaleSetDefault) IsClientError() bool

IsClientError returns true when this update scale set default response has a 4xx status code

func (*UpdateScaleSetDefault) IsCode

func (o *UpdateScaleSetDefault) IsCode(code int) bool

IsCode returns true when this update scale set default response a status code equal to that given

func (*UpdateScaleSetDefault) IsRedirect

func (o *UpdateScaleSetDefault) IsRedirect() bool

IsRedirect returns true when this update scale set default response has a 3xx status code

func (*UpdateScaleSetDefault) IsServerError

func (o *UpdateScaleSetDefault) IsServerError() bool

IsServerError returns true when this update scale set default response has a 5xx status code

func (*UpdateScaleSetDefault) IsSuccess

func (o *UpdateScaleSetDefault) IsSuccess() bool

IsSuccess returns true when this update scale set default response has a 2xx status code

func (*UpdateScaleSetDefault) String

func (o *UpdateScaleSetDefault) String() string

type UpdateScaleSetOK

type UpdateScaleSetOK struct {
	Payload garm_params.ScaleSet
}

UpdateScaleSetOK describes a response with status code 200, with default header values.

ScaleSet

func NewUpdateScaleSetOK

func NewUpdateScaleSetOK() *UpdateScaleSetOK

NewUpdateScaleSetOK creates a UpdateScaleSetOK with default headers values

func (*UpdateScaleSetOK) Code

func (o *UpdateScaleSetOK) Code() int

Code gets the status code for the update scale set o k response

func (*UpdateScaleSetOK) Error

func (o *UpdateScaleSetOK) Error() string

func (*UpdateScaleSetOK) GetPayload

func (o *UpdateScaleSetOK) GetPayload() garm_params.ScaleSet

func (*UpdateScaleSetOK) IsClientError

func (o *UpdateScaleSetOK) IsClientError() bool

IsClientError returns true when this update scale set o k response has a 4xx status code

func (*UpdateScaleSetOK) IsCode

func (o *UpdateScaleSetOK) IsCode(code int) bool

IsCode returns true when this update scale set o k response a status code equal to that given

func (*UpdateScaleSetOK) IsRedirect

func (o *UpdateScaleSetOK) IsRedirect() bool

IsRedirect returns true when this update scale set o k response has a 3xx status code

func (*UpdateScaleSetOK) IsServerError

func (o *UpdateScaleSetOK) IsServerError() bool

IsServerError returns true when this update scale set o k response has a 5xx status code

func (*UpdateScaleSetOK) IsSuccess

func (o *UpdateScaleSetOK) IsSuccess() bool

IsSuccess returns true when this update scale set o k response has a 2xx status code

func (*UpdateScaleSetOK) String

func (o *UpdateScaleSetOK) String() string

type UpdateScaleSetParams

type UpdateScaleSetParams struct {

	/* Body.

	   Parameters to update the scale set with.
	*/
	Body garm_params.UpdateScaleSetParams

	/* ScalesetID.

	   ID of the scale set to update.
	*/
	ScalesetID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateScaleSetParams contains all the parameters to send to the API endpoint

for the update scale set operation.

Typically these are written to a http.Request.

func NewUpdateScaleSetParams

func NewUpdateScaleSetParams() *UpdateScaleSetParams

NewUpdateScaleSetParams creates a new UpdateScaleSetParams 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 NewUpdateScaleSetParamsWithContext

func NewUpdateScaleSetParamsWithContext(ctx context.Context) *UpdateScaleSetParams

NewUpdateScaleSetParamsWithContext creates a new UpdateScaleSetParams object with the ability to set a context for a request.

func NewUpdateScaleSetParamsWithHTTPClient

func NewUpdateScaleSetParamsWithHTTPClient(client *http.Client) *UpdateScaleSetParams

NewUpdateScaleSetParamsWithHTTPClient creates a new UpdateScaleSetParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateScaleSetParamsWithTimeout

func NewUpdateScaleSetParamsWithTimeout(timeout time.Duration) *UpdateScaleSetParams

NewUpdateScaleSetParamsWithTimeout creates a new UpdateScaleSetParams object with the ability to set a timeout on a request.

func (*UpdateScaleSetParams) SetBody

SetBody adds the body to the update scale set params

func (*UpdateScaleSetParams) SetContext

func (o *UpdateScaleSetParams) SetContext(ctx context.Context)

SetContext adds the context to the update scale set params

func (*UpdateScaleSetParams) SetDefaults

func (o *UpdateScaleSetParams) SetDefaults()

SetDefaults hydrates default values in the update scale set params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateScaleSetParams) SetHTTPClient

func (o *UpdateScaleSetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update scale set params

func (*UpdateScaleSetParams) SetScalesetID

func (o *UpdateScaleSetParams) SetScalesetID(scalesetID string)

SetScalesetID adds the scalesetId to the update scale set params

func (*UpdateScaleSetParams) SetTimeout

func (o *UpdateScaleSetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update scale set params

func (*UpdateScaleSetParams) WithBody

WithBody adds the body to the update scale set params

func (*UpdateScaleSetParams) WithContext

WithContext adds the context to the update scale set params

func (*UpdateScaleSetParams) WithDefaults

func (o *UpdateScaleSetParams) WithDefaults() *UpdateScaleSetParams

WithDefaults hydrates default values in the update scale set params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateScaleSetParams) WithHTTPClient

func (o *UpdateScaleSetParams) WithHTTPClient(client *http.Client) *UpdateScaleSetParams

WithHTTPClient adds the HTTPClient to the update scale set params

func (*UpdateScaleSetParams) WithScalesetID

func (o *UpdateScaleSetParams) WithScalesetID(scalesetID string) *UpdateScaleSetParams

WithScalesetID adds the scalesetID to the update scale set params

func (*UpdateScaleSetParams) WithTimeout

func (o *UpdateScaleSetParams) WithTimeout(timeout time.Duration) *UpdateScaleSetParams

WithTimeout adds the timeout to the update scale set params

func (*UpdateScaleSetParams) WriteToRequest

func (o *UpdateScaleSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateScaleSetReader

type UpdateScaleSetReader struct {
	// contains filtered or unexported fields
}

UpdateScaleSetReader is a Reader for the UpdateScaleSet structure.

func (*UpdateScaleSetReader) ReadResponse

func (o *UpdateScaleSetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, 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