Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetWorkloadInstancesDefault
- type GetWorkloadInstancesInternalServerError
- type GetWorkloadInstancesOK
- type GetWorkloadInstancesParams
- func NewGetWorkloadInstancesParams() *GetWorkloadInstancesParams
- func NewGetWorkloadInstancesParamsWithContext(ctx context.Context) *GetWorkloadInstancesParams
- func NewGetWorkloadInstancesParamsWithHTTPClient(client *http.Client) *GetWorkloadInstancesParams
- func NewGetWorkloadInstancesParamsWithTimeout(timeout time.Duration) *GetWorkloadInstancesParams
- func (o *GetWorkloadInstancesParams) SetContext(ctx context.Context)
- func (o *GetWorkloadInstancesParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkloadInstancesParams) SetPageRequestAfter(pageRequestAfter *string)
- func (o *GetWorkloadInstancesParams) SetPageRequestFilter(pageRequestFilter *string)
- func (o *GetWorkloadInstancesParams) SetPageRequestFirst(pageRequestFirst *string)
- func (o *GetWorkloadInstancesParams) SetPageRequestSortBy(pageRequestSortBy *string)
- func (o *GetWorkloadInstancesParams) SetStackID(stackID string)
- func (o *GetWorkloadInstancesParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkloadInstancesParams) SetWorkloadID(workloadID string)
- func (o *GetWorkloadInstancesParams) WithContext(ctx context.Context) *GetWorkloadInstancesParams
- func (o *GetWorkloadInstancesParams) WithHTTPClient(client *http.Client) *GetWorkloadInstancesParams
- func (o *GetWorkloadInstancesParams) WithPageRequestAfter(pageRequestAfter *string) *GetWorkloadInstancesParams
- func (o *GetWorkloadInstancesParams) WithPageRequestFilter(pageRequestFilter *string) *GetWorkloadInstancesParams
- func (o *GetWorkloadInstancesParams) WithPageRequestFirst(pageRequestFirst *string) *GetWorkloadInstancesParams
- func (o *GetWorkloadInstancesParams) WithPageRequestSortBy(pageRequestSortBy *string) *GetWorkloadInstancesParams
- func (o *GetWorkloadInstancesParams) WithStackID(stackID string) *GetWorkloadInstancesParams
- func (o *GetWorkloadInstancesParams) WithTimeout(timeout time.Duration) *GetWorkloadInstancesParams
- func (o *GetWorkloadInstancesParams) WithWorkloadID(workloadID string) *GetWorkloadInstancesParams
- func (o *GetWorkloadInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkloadInstancesReader
- type GetWorkloadInstancesUnauthorized
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 instances API
func (*Client) GetWorkloadInstances ¶
func (a *Client) GetWorkloadInstances(params *GetWorkloadInstancesParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkloadInstancesOK, error)
GetWorkloadInstances retrieves a workload s instances
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetWorkloadInstances(params *GetWorkloadInstancesParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkloadInstancesOK, 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 instances API client.
type GetWorkloadInstancesDefault ¶
type GetWorkloadInstancesDefault struct { Payload *workload_models.StackpathapiStatus // contains filtered or unexported fields }
GetWorkloadInstancesDefault handles this case with default header values.
Default error structure.
func NewGetWorkloadInstancesDefault ¶
func NewGetWorkloadInstancesDefault(code int) *GetWorkloadInstancesDefault
NewGetWorkloadInstancesDefault creates a GetWorkloadInstancesDefault with default headers values
func (*GetWorkloadInstancesDefault) Code ¶
func (o *GetWorkloadInstancesDefault) Code() int
Code gets the status code for the get workload instances default response
func (*GetWorkloadInstancesDefault) Error ¶
func (o *GetWorkloadInstancesDefault) Error() string
func (*GetWorkloadInstancesDefault) GetPayload ¶
func (o *GetWorkloadInstancesDefault) GetPayload() *workload_models.StackpathapiStatus
type GetWorkloadInstancesInternalServerError ¶
type GetWorkloadInstancesInternalServerError struct {
Payload *workload_models.StackpathapiStatus
}
GetWorkloadInstancesInternalServerError handles this case with default header values.
Internal server error.
func NewGetWorkloadInstancesInternalServerError ¶
func NewGetWorkloadInstancesInternalServerError() *GetWorkloadInstancesInternalServerError
NewGetWorkloadInstancesInternalServerError creates a GetWorkloadInstancesInternalServerError with default headers values
func (*GetWorkloadInstancesInternalServerError) Error ¶
func (o *GetWorkloadInstancesInternalServerError) Error() string
func (*GetWorkloadInstancesInternalServerError) GetPayload ¶
func (o *GetWorkloadInstancesInternalServerError) GetPayload() *workload_models.StackpathapiStatus
type GetWorkloadInstancesOK ¶
type GetWorkloadInstancesOK struct {
Payload *workload_models.V1GetWorkloadInstancesResponse
}
GetWorkloadInstancesOK handles this case with default header values.
GetWorkloadInstancesOK get workload instances o k
func NewGetWorkloadInstancesOK ¶
func NewGetWorkloadInstancesOK() *GetWorkloadInstancesOK
NewGetWorkloadInstancesOK creates a GetWorkloadInstancesOK with default headers values
func (*GetWorkloadInstancesOK) Error ¶
func (o *GetWorkloadInstancesOK) Error() string
func (*GetWorkloadInstancesOK) GetPayload ¶
func (o *GetWorkloadInstancesOK) GetPayload() *workload_models.V1GetWorkloadInstancesResponse
type GetWorkloadInstancesParams ¶
type GetWorkloadInstancesParams struct { /*PageRequestAfter The cursor value after which data will be returned. */ PageRequestAfter *string /*PageRequestFilter SQL-style constraint filters. */ PageRequestFilter *string /*PageRequestFirst The number of items desired. */ PageRequestFirst *string /*PageRequestSortBy Sort the response by the given field. */ PageRequestSortBy *string /*StackID The ID of the stack containing the workload whose instances to retrieve */ StackID string /*WorkloadID The ID the workload whose instances to retrieve */ WorkloadID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWorkloadInstancesParams contains all the parameters to send to the API endpoint for the get workload instances operation typically these are written to a http.Request
func NewGetWorkloadInstancesParams ¶
func NewGetWorkloadInstancesParams() *GetWorkloadInstancesParams
NewGetWorkloadInstancesParams creates a new GetWorkloadInstancesParams object with the default values initialized.
func NewGetWorkloadInstancesParamsWithContext ¶
func NewGetWorkloadInstancesParamsWithContext(ctx context.Context) *GetWorkloadInstancesParams
NewGetWorkloadInstancesParamsWithContext creates a new GetWorkloadInstancesParams object with the default values initialized, and the ability to set a context for a request
func NewGetWorkloadInstancesParamsWithHTTPClient ¶
func NewGetWorkloadInstancesParamsWithHTTPClient(client *http.Client) *GetWorkloadInstancesParams
NewGetWorkloadInstancesParamsWithHTTPClient creates a new GetWorkloadInstancesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetWorkloadInstancesParamsWithTimeout ¶
func NewGetWorkloadInstancesParamsWithTimeout(timeout time.Duration) *GetWorkloadInstancesParams
NewGetWorkloadInstancesParamsWithTimeout creates a new GetWorkloadInstancesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetWorkloadInstancesParams) SetContext ¶
func (o *GetWorkloadInstancesParams) SetContext(ctx context.Context)
SetContext adds the context to the get workload instances params
func (*GetWorkloadInstancesParams) SetHTTPClient ¶
func (o *GetWorkloadInstancesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get workload instances params
func (*GetWorkloadInstancesParams) SetPageRequestAfter ¶
func (o *GetWorkloadInstancesParams) SetPageRequestAfter(pageRequestAfter *string)
SetPageRequestAfter adds the pageRequestAfter to the get workload instances params
func (*GetWorkloadInstancesParams) SetPageRequestFilter ¶
func (o *GetWorkloadInstancesParams) SetPageRequestFilter(pageRequestFilter *string)
SetPageRequestFilter adds the pageRequestFilter to the get workload instances params
func (*GetWorkloadInstancesParams) SetPageRequestFirst ¶
func (o *GetWorkloadInstancesParams) SetPageRequestFirst(pageRequestFirst *string)
SetPageRequestFirst adds the pageRequestFirst to the get workload instances params
func (*GetWorkloadInstancesParams) SetPageRequestSortBy ¶
func (o *GetWorkloadInstancesParams) SetPageRequestSortBy(pageRequestSortBy *string)
SetPageRequestSortBy adds the pageRequestSortBy to the get workload instances params
func (*GetWorkloadInstancesParams) SetStackID ¶
func (o *GetWorkloadInstancesParams) SetStackID(stackID string)
SetStackID adds the stackId to the get workload instances params
func (*GetWorkloadInstancesParams) SetTimeout ¶
func (o *GetWorkloadInstancesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get workload instances params
func (*GetWorkloadInstancesParams) SetWorkloadID ¶
func (o *GetWorkloadInstancesParams) SetWorkloadID(workloadID string)
SetWorkloadID adds the workloadId to the get workload instances params
func (*GetWorkloadInstancesParams) WithContext ¶
func (o *GetWorkloadInstancesParams) WithContext(ctx context.Context) *GetWorkloadInstancesParams
WithContext adds the context to the get workload instances params
func (*GetWorkloadInstancesParams) WithHTTPClient ¶
func (o *GetWorkloadInstancesParams) WithHTTPClient(client *http.Client) *GetWorkloadInstancesParams
WithHTTPClient adds the HTTPClient to the get workload instances params
func (*GetWorkloadInstancesParams) WithPageRequestAfter ¶
func (o *GetWorkloadInstancesParams) WithPageRequestAfter(pageRequestAfter *string) *GetWorkloadInstancesParams
WithPageRequestAfter adds the pageRequestAfter to the get workload instances params
func (*GetWorkloadInstancesParams) WithPageRequestFilter ¶
func (o *GetWorkloadInstancesParams) WithPageRequestFilter(pageRequestFilter *string) *GetWorkloadInstancesParams
WithPageRequestFilter adds the pageRequestFilter to the get workload instances params
func (*GetWorkloadInstancesParams) WithPageRequestFirst ¶
func (o *GetWorkloadInstancesParams) WithPageRequestFirst(pageRequestFirst *string) *GetWorkloadInstancesParams
WithPageRequestFirst adds the pageRequestFirst to the get workload instances params
func (*GetWorkloadInstancesParams) WithPageRequestSortBy ¶
func (o *GetWorkloadInstancesParams) WithPageRequestSortBy(pageRequestSortBy *string) *GetWorkloadInstancesParams
WithPageRequestSortBy adds the pageRequestSortBy to the get workload instances params
func (*GetWorkloadInstancesParams) WithStackID ¶
func (o *GetWorkloadInstancesParams) WithStackID(stackID string) *GetWorkloadInstancesParams
WithStackID adds the stackID to the get workload instances params
func (*GetWorkloadInstancesParams) WithTimeout ¶
func (o *GetWorkloadInstancesParams) WithTimeout(timeout time.Duration) *GetWorkloadInstancesParams
WithTimeout adds the timeout to the get workload instances params
func (*GetWorkloadInstancesParams) WithWorkloadID ¶
func (o *GetWorkloadInstancesParams) WithWorkloadID(workloadID string) *GetWorkloadInstancesParams
WithWorkloadID adds the workloadID to the get workload instances params
func (*GetWorkloadInstancesParams) WriteToRequest ¶
func (o *GetWorkloadInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWorkloadInstancesReader ¶
type GetWorkloadInstancesReader struct {
// contains filtered or unexported fields
}
GetWorkloadInstancesReader is a Reader for the GetWorkloadInstances structure.
func (*GetWorkloadInstancesReader) ReadResponse ¶
func (o *GetWorkloadInstancesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWorkloadInstancesUnauthorized ¶
type GetWorkloadInstancesUnauthorized struct {
}GetWorkloadInstancesUnauthorized handles this case with default header values.
Returned when an unauthorized request is attempted.
func NewGetWorkloadInstancesUnauthorized ¶
func NewGetWorkloadInstancesUnauthorized() *GetWorkloadInstancesUnauthorized
NewGetWorkloadInstancesUnauthorized creates a GetWorkloadInstancesUnauthorized with default headers values
func (*GetWorkloadInstancesUnauthorized) Error ¶
func (o *GetWorkloadInstancesUnauthorized) Error() string
func (*GetWorkloadInstancesUnauthorized) GetPayload ¶
func (o *GetWorkloadInstancesUnauthorized) GetPayload() *workload_models.StackpathapiStatus