virtual_machine_images

package
v2.0.1-0...-670b387 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for virtual machine images API

func (*Client) CreateImage

func (a *Client) CreateImage(params *CreateImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateImageOK, error)

CreateImage creates an image

func (*Client) DeleteImage

func (a *Client) DeleteImage(params *DeleteImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteImageNoContent, error)

DeleteImage deletes an image

func (*Client) DeleteImagesForFamily

func (a *Client) DeleteImagesForFamily(params *DeleteImagesForFamilyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteImagesForFamilyNoContent, error)

DeleteImagesForFamily deletes a family s images

func (*Client) GetImage

func (a *Client) GetImage(params *GetImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetImageOK, error)

GetImage gets an image

func (*Client) GetImages

func (a *Client) GetImages(params *GetImagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetImagesOK, error)

GetImages gets all images

Only non-deprecated images are returned by default

func (*Client) GetImagesForFamily

func (a *Client) GetImagesForFamily(params *GetImagesForFamilyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetImagesForFamilyOK, error)

GetImagesForFamily gets a family s images

Only non-deprecated images are returned by default. This will not error but instead return an empty list if the family is not found.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateImage

func (a *Client) UpdateImage(params *UpdateImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateImageOK, error)

UpdateImage updates an image

Only metadata and description can be updated. The metadata, if set, replaces the entire existing metadata set. The tag cannot be "default".

func (*Client) UpdateImageDeprecation

func (a *Client) UpdateImageDeprecation(params *UpdateImageDeprecationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateImageDeprecationOK, error)

UpdateImageDeprecation updates deprecation settings

This replaces an image's deprecation settings, so it can also undeprecate an image.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateImage(params *CreateImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateImageOK, error)

	DeleteImage(params *DeleteImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteImageNoContent, error)

	DeleteImagesForFamily(params *DeleteImagesForFamilyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteImagesForFamilyNoContent, error)

	GetImage(params *GetImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetImageOK, error)

	GetImages(params *GetImagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetImagesOK, error)

	GetImagesForFamily(params *GetImagesForFamilyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetImagesForFamilyOK, error)

	UpdateImage(params *UpdateImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateImageOK, error)

	UpdateImageDeprecation(params *UpdateImageDeprecationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateImageDeprecationOK, 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 virtual machine images API client.

type CreateImageDefault

type CreateImageDefault struct {
	Payload *workload_models.StackpathapiStatus
	// contains filtered or unexported fields
}

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

Default error structure.

func NewCreateImageDefault

func NewCreateImageDefault(code int) *CreateImageDefault

NewCreateImageDefault creates a CreateImageDefault with default headers values

func (*CreateImageDefault) Code

func (o *CreateImageDefault) Code() int

Code gets the status code for the create image default response

func (*CreateImageDefault) Error

func (o *CreateImageDefault) Error() string

func (*CreateImageDefault) GetPayload

func (*CreateImageDefault) IsClientError

func (o *CreateImageDefault) IsClientError() bool

IsClientError returns true when this create image default response has a 4xx status code

func (*CreateImageDefault) IsCode

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

IsCode returns true when this create image default response a status code equal to that given

func (*CreateImageDefault) IsRedirect

func (o *CreateImageDefault) IsRedirect() bool

IsRedirect returns true when this create image default response has a 3xx status code

func (*CreateImageDefault) IsServerError

func (o *CreateImageDefault) IsServerError() bool

IsServerError returns true when this create image default response has a 5xx status code

func (*CreateImageDefault) IsSuccess

func (o *CreateImageDefault) IsSuccess() bool

IsSuccess returns true when this create image default response has a 2xx status code

func (*CreateImageDefault) String

func (o *CreateImageDefault) String() string

type CreateImageInternalServerError

type CreateImageInternalServerError struct {
	Payload *workload_models.StackpathapiStatus
}

CreateImageInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewCreateImageInternalServerError

func NewCreateImageInternalServerError() *CreateImageInternalServerError

NewCreateImageInternalServerError creates a CreateImageInternalServerError with default headers values

func (*CreateImageInternalServerError) Code

Code gets the status code for the create image internal server error response

func (*CreateImageInternalServerError) Error

func (*CreateImageInternalServerError) GetPayload

func (*CreateImageInternalServerError) IsClientError

func (o *CreateImageInternalServerError) IsClientError() bool

IsClientError returns true when this create image internal server error response has a 4xx status code

func (*CreateImageInternalServerError) IsCode

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

IsCode returns true when this create image internal server error response a status code equal to that given

func (*CreateImageInternalServerError) IsRedirect

func (o *CreateImageInternalServerError) IsRedirect() bool

IsRedirect returns true when this create image internal server error response has a 3xx status code

func (*CreateImageInternalServerError) IsServerError

func (o *CreateImageInternalServerError) IsServerError() bool

IsServerError returns true when this create image internal server error response has a 5xx status code

func (*CreateImageInternalServerError) IsSuccess

func (o *CreateImageInternalServerError) IsSuccess() bool

IsSuccess returns true when this create image internal server error response has a 2xx status code

func (*CreateImageInternalServerError) String

type CreateImageOK

type CreateImageOK struct {
	Payload *workload_models.V1CreateImageResponse
}

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

CreateImageOK create image o k

func NewCreateImageOK

func NewCreateImageOK() *CreateImageOK

NewCreateImageOK creates a CreateImageOK with default headers values

func (*CreateImageOK) Code

func (o *CreateImageOK) Code() int

Code gets the status code for the create image o k response

func (*CreateImageOK) Error

func (o *CreateImageOK) Error() string

func (*CreateImageOK) GetPayload

func (*CreateImageOK) IsClientError

func (o *CreateImageOK) IsClientError() bool

IsClientError returns true when this create image o k response has a 4xx status code

func (*CreateImageOK) IsCode

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

IsCode returns true when this create image o k response a status code equal to that given

func (*CreateImageOK) IsRedirect

func (o *CreateImageOK) IsRedirect() bool

IsRedirect returns true when this create image o k response has a 3xx status code

func (*CreateImageOK) IsServerError

func (o *CreateImageOK) IsServerError() bool

IsServerError returns true when this create image o k response has a 5xx status code

func (*CreateImageOK) IsSuccess

func (o *CreateImageOK) IsSuccess() bool

IsSuccess returns true when this create image o k response has a 2xx status code

func (*CreateImageOK) String

func (o *CreateImageOK) String() string

type CreateImageParams

type CreateImageParams struct {

	// Body.
	Body *workload_models.V1CreateImageRequest

	/* ImageFamily.

	   The image's family
	*/
	ImageFamily string

	/* ImageTag.

	   The image's tag
	*/
	ImageTag string

	/* StackID.

	   A stack ID or slug
	*/
	StackID string

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

CreateImageParams contains all the parameters to send to the API endpoint

for the create image operation.

Typically these are written to a http.Request.

func NewCreateImageParams

func NewCreateImageParams() *CreateImageParams

NewCreateImageParams creates a new CreateImageParams 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 NewCreateImageParamsWithContext

func NewCreateImageParamsWithContext(ctx context.Context) *CreateImageParams

NewCreateImageParamsWithContext creates a new CreateImageParams object with the ability to set a context for a request.

func NewCreateImageParamsWithHTTPClient

func NewCreateImageParamsWithHTTPClient(client *http.Client) *CreateImageParams

NewCreateImageParamsWithHTTPClient creates a new CreateImageParams object with the ability to set a custom HTTPClient for a request.

func NewCreateImageParamsWithTimeout

func NewCreateImageParamsWithTimeout(timeout time.Duration) *CreateImageParams

NewCreateImageParamsWithTimeout creates a new CreateImageParams object with the ability to set a timeout on a request.

func (*CreateImageParams) SetBody

SetBody adds the body to the create image params

func (*CreateImageParams) SetContext

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

SetContext adds the context to the create image params

func (*CreateImageParams) SetDefaults

func (o *CreateImageParams) SetDefaults()

SetDefaults hydrates default values in the create image params (not the query body).

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

func (*CreateImageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create image params

func (*CreateImageParams) SetImageFamily

func (o *CreateImageParams) SetImageFamily(imageFamily string)

SetImageFamily adds the imageFamily to the create image params

func (*CreateImageParams) SetImageTag

func (o *CreateImageParams) SetImageTag(imageTag string)

SetImageTag adds the imageTag to the create image params

func (*CreateImageParams) SetStackID

func (o *CreateImageParams) SetStackID(stackID string)

SetStackID adds the stackId to the create image params

func (*CreateImageParams) SetTimeout

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

SetTimeout adds the timeout to the create image params

func (*CreateImageParams) WithBody

WithBody adds the body to the create image params

func (*CreateImageParams) WithContext

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

WithContext adds the context to the create image params

func (*CreateImageParams) WithDefaults

func (o *CreateImageParams) WithDefaults() *CreateImageParams

WithDefaults hydrates default values in the create image params (not the query body).

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

func (*CreateImageParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create image params

func (*CreateImageParams) WithImageFamily

func (o *CreateImageParams) WithImageFamily(imageFamily string) *CreateImageParams

WithImageFamily adds the imageFamily to the create image params

func (*CreateImageParams) WithImageTag

func (o *CreateImageParams) WithImageTag(imageTag string) *CreateImageParams

WithImageTag adds the imageTag to the create image params

func (*CreateImageParams) WithStackID

func (o *CreateImageParams) WithStackID(stackID string) *CreateImageParams

WithStackID adds the stackID to the create image params

func (*CreateImageParams) WithTimeout

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

WithTimeout adds the timeout to the create image params

func (*CreateImageParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateImageReader

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

CreateImageReader is a Reader for the CreateImage structure.

func (*CreateImageReader) ReadResponse

func (o *CreateImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateImageUnauthorized

type CreateImageUnauthorized struct {
	Payload *workload_models.StackpathapiStatus
}

CreateImageUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewCreateImageUnauthorized

func NewCreateImageUnauthorized() *CreateImageUnauthorized

NewCreateImageUnauthorized creates a CreateImageUnauthorized with default headers values

func (*CreateImageUnauthorized) Code

func (o *CreateImageUnauthorized) Code() int

Code gets the status code for the create image unauthorized response

func (*CreateImageUnauthorized) Error

func (o *CreateImageUnauthorized) Error() string

func (*CreateImageUnauthorized) GetPayload

func (*CreateImageUnauthorized) IsClientError

func (o *CreateImageUnauthorized) IsClientError() bool

IsClientError returns true when this create image unauthorized response has a 4xx status code

func (*CreateImageUnauthorized) IsCode

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

IsCode returns true when this create image unauthorized response a status code equal to that given

func (*CreateImageUnauthorized) IsRedirect

func (o *CreateImageUnauthorized) IsRedirect() bool

IsRedirect returns true when this create image unauthorized response has a 3xx status code

func (*CreateImageUnauthorized) IsServerError

func (o *CreateImageUnauthorized) IsServerError() bool

IsServerError returns true when this create image unauthorized response has a 5xx status code

func (*CreateImageUnauthorized) IsSuccess

func (o *CreateImageUnauthorized) IsSuccess() bool

IsSuccess returns true when this create image unauthorized response has a 2xx status code

func (*CreateImageUnauthorized) String

func (o *CreateImageUnauthorized) String() string

type DeleteImageDefault

type DeleteImageDefault struct {
	Payload *workload_models.StackpathapiStatus
	// contains filtered or unexported fields
}

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

Default error structure.

func NewDeleteImageDefault

func NewDeleteImageDefault(code int) *DeleteImageDefault

NewDeleteImageDefault creates a DeleteImageDefault with default headers values

func (*DeleteImageDefault) Code

func (o *DeleteImageDefault) Code() int

Code gets the status code for the delete image default response

func (*DeleteImageDefault) Error

func (o *DeleteImageDefault) Error() string

func (*DeleteImageDefault) GetPayload

func (*DeleteImageDefault) IsClientError

func (o *DeleteImageDefault) IsClientError() bool

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

func (*DeleteImageDefault) IsCode

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

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

func (*DeleteImageDefault) IsRedirect

func (o *DeleteImageDefault) IsRedirect() bool

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

func (*DeleteImageDefault) IsServerError

func (o *DeleteImageDefault) IsServerError() bool

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

func (*DeleteImageDefault) IsSuccess

func (o *DeleteImageDefault) IsSuccess() bool

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

func (*DeleteImageDefault) String

func (o *DeleteImageDefault) String() string

type DeleteImageInternalServerError

type DeleteImageInternalServerError struct {
	Payload *workload_models.StackpathapiStatus
}

DeleteImageInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewDeleteImageInternalServerError

func NewDeleteImageInternalServerError() *DeleteImageInternalServerError

NewDeleteImageInternalServerError creates a DeleteImageInternalServerError with default headers values

func (*DeleteImageInternalServerError) Code

Code gets the status code for the delete image internal server error response

func (*DeleteImageInternalServerError) Error

func (*DeleteImageInternalServerError) GetPayload

func (*DeleteImageInternalServerError) IsClientError

func (o *DeleteImageInternalServerError) IsClientError() bool

IsClientError returns true when this delete image internal server error response has a 4xx status code

func (*DeleteImageInternalServerError) IsCode

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

IsCode returns true when this delete image internal server error response a status code equal to that given

func (*DeleteImageInternalServerError) IsRedirect

func (o *DeleteImageInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete image internal server error response has a 3xx status code

func (*DeleteImageInternalServerError) IsServerError

func (o *DeleteImageInternalServerError) IsServerError() bool

IsServerError returns true when this delete image internal server error response has a 5xx status code

func (*DeleteImageInternalServerError) IsSuccess

func (o *DeleteImageInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete image internal server error response has a 2xx status code

func (*DeleteImageInternalServerError) String

type DeleteImageNoContent

type DeleteImageNoContent struct {
}

DeleteImageNoContent describes a response with status code 204, with default header values.

No content

func NewDeleteImageNoContent

func NewDeleteImageNoContent() *DeleteImageNoContent

NewDeleteImageNoContent creates a DeleteImageNoContent with default headers values

func (*DeleteImageNoContent) Code

func (o *DeleteImageNoContent) Code() int

Code gets the status code for the delete image no content response

func (*DeleteImageNoContent) Error

func (o *DeleteImageNoContent) Error() string

func (*DeleteImageNoContent) IsClientError

func (o *DeleteImageNoContent) IsClientError() bool

IsClientError returns true when this delete image no content response has a 4xx status code

func (*DeleteImageNoContent) IsCode

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

IsCode returns true when this delete image no content response a status code equal to that given

func (*DeleteImageNoContent) IsRedirect

func (o *DeleteImageNoContent) IsRedirect() bool

IsRedirect returns true when this delete image no content response has a 3xx status code

func (*DeleteImageNoContent) IsServerError

func (o *DeleteImageNoContent) IsServerError() bool

IsServerError returns true when this delete image no content response has a 5xx status code

func (*DeleteImageNoContent) IsSuccess

func (o *DeleteImageNoContent) IsSuccess() bool

IsSuccess returns true when this delete image no content response has a 2xx status code

func (*DeleteImageNoContent) String

func (o *DeleteImageNoContent) String() string

type DeleteImageParams

type DeleteImageParams struct {

	/* ImageFamily.

	   An image's family
	*/
	ImageFamily string

	/* ImageTag.

	   An image's tag
	*/
	ImageTag string

	/* StackID.

	   A stack ID or slug
	*/
	StackID string

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

DeleteImageParams contains all the parameters to send to the API endpoint

for the delete image operation.

Typically these are written to a http.Request.

func NewDeleteImageParams

func NewDeleteImageParams() *DeleteImageParams

NewDeleteImageParams creates a new DeleteImageParams 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 NewDeleteImageParamsWithContext

func NewDeleteImageParamsWithContext(ctx context.Context) *DeleteImageParams

NewDeleteImageParamsWithContext creates a new DeleteImageParams object with the ability to set a context for a request.

func NewDeleteImageParamsWithHTTPClient

func NewDeleteImageParamsWithHTTPClient(client *http.Client) *DeleteImageParams

NewDeleteImageParamsWithHTTPClient creates a new DeleteImageParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteImageParamsWithTimeout

func NewDeleteImageParamsWithTimeout(timeout time.Duration) *DeleteImageParams

NewDeleteImageParamsWithTimeout creates a new DeleteImageParams object with the ability to set a timeout on a request.

func (*DeleteImageParams) SetContext

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

SetContext adds the context to the delete image params

func (*DeleteImageParams) SetDefaults

func (o *DeleteImageParams) SetDefaults()

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

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

func (*DeleteImageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete image params

func (*DeleteImageParams) SetImageFamily

func (o *DeleteImageParams) SetImageFamily(imageFamily string)

SetImageFamily adds the imageFamily to the delete image params

func (*DeleteImageParams) SetImageTag

func (o *DeleteImageParams) SetImageTag(imageTag string)

SetImageTag adds the imageTag to the delete image params

func (*DeleteImageParams) SetStackID

func (o *DeleteImageParams) SetStackID(stackID string)

SetStackID adds the stackId to the delete image params

func (*DeleteImageParams) SetTimeout

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

SetTimeout adds the timeout to the delete image params

func (*DeleteImageParams) WithContext

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

WithContext adds the context to the delete image params

func (*DeleteImageParams) WithDefaults

func (o *DeleteImageParams) WithDefaults() *DeleteImageParams

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

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

func (*DeleteImageParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete image params

func (*DeleteImageParams) WithImageFamily

func (o *DeleteImageParams) WithImageFamily(imageFamily string) *DeleteImageParams

WithImageFamily adds the imageFamily to the delete image params

func (*DeleteImageParams) WithImageTag

func (o *DeleteImageParams) WithImageTag(imageTag string) *DeleteImageParams

WithImageTag adds the imageTag to the delete image params

func (*DeleteImageParams) WithStackID

func (o *DeleteImageParams) WithStackID(stackID string) *DeleteImageParams

WithStackID adds the stackID to the delete image params

func (*DeleteImageParams) WithTimeout

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

WithTimeout adds the timeout to the delete image params

func (*DeleteImageParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteImageReader

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

DeleteImageReader is a Reader for the DeleteImage structure.

func (*DeleteImageReader) ReadResponse

func (o *DeleteImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteImageUnauthorized

type DeleteImageUnauthorized struct {
	Payload *workload_models.StackpathapiStatus
}

DeleteImageUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewDeleteImageUnauthorized

func NewDeleteImageUnauthorized() *DeleteImageUnauthorized

NewDeleteImageUnauthorized creates a DeleteImageUnauthorized with default headers values

func (*DeleteImageUnauthorized) Code

func (o *DeleteImageUnauthorized) Code() int

Code gets the status code for the delete image unauthorized response

func (*DeleteImageUnauthorized) Error

func (o *DeleteImageUnauthorized) Error() string

func (*DeleteImageUnauthorized) GetPayload

func (*DeleteImageUnauthorized) IsClientError

func (o *DeleteImageUnauthorized) IsClientError() bool

IsClientError returns true when this delete image unauthorized response has a 4xx status code

func (*DeleteImageUnauthorized) IsCode

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

IsCode returns true when this delete image unauthorized response a status code equal to that given

func (*DeleteImageUnauthorized) IsRedirect

func (o *DeleteImageUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete image unauthorized response has a 3xx status code

func (*DeleteImageUnauthorized) IsServerError

func (o *DeleteImageUnauthorized) IsServerError() bool

IsServerError returns true when this delete image unauthorized response has a 5xx status code

func (*DeleteImageUnauthorized) IsSuccess

func (o *DeleteImageUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete image unauthorized response has a 2xx status code

func (*DeleteImageUnauthorized) String

func (o *DeleteImageUnauthorized) String() string

type DeleteImagesForFamilyDefault

type DeleteImagesForFamilyDefault struct {
	Payload *workload_models.StackpathapiStatus
	// contains filtered or unexported fields
}

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

Default error structure.

func NewDeleteImagesForFamilyDefault

func NewDeleteImagesForFamilyDefault(code int) *DeleteImagesForFamilyDefault

NewDeleteImagesForFamilyDefault creates a DeleteImagesForFamilyDefault with default headers values

func (*DeleteImagesForFamilyDefault) Code

Code gets the status code for the delete images for family default response

func (*DeleteImagesForFamilyDefault) Error

func (*DeleteImagesForFamilyDefault) GetPayload

func (*DeleteImagesForFamilyDefault) IsClientError

func (o *DeleteImagesForFamilyDefault) IsClientError() bool

IsClientError returns true when this delete images for family default response has a 4xx status code

func (*DeleteImagesForFamilyDefault) IsCode

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

IsCode returns true when this delete images for family default response a status code equal to that given

func (*DeleteImagesForFamilyDefault) IsRedirect

func (o *DeleteImagesForFamilyDefault) IsRedirect() bool

IsRedirect returns true when this delete images for family default response has a 3xx status code

func (*DeleteImagesForFamilyDefault) IsServerError

func (o *DeleteImagesForFamilyDefault) IsServerError() bool

IsServerError returns true when this delete images for family default response has a 5xx status code

func (*DeleteImagesForFamilyDefault) IsSuccess

func (o *DeleteImagesForFamilyDefault) IsSuccess() bool

IsSuccess returns true when this delete images for family default response has a 2xx status code

func (*DeleteImagesForFamilyDefault) String

type DeleteImagesForFamilyInternalServerError

type DeleteImagesForFamilyInternalServerError struct {
	Payload *workload_models.StackpathapiStatus
}

DeleteImagesForFamilyInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewDeleteImagesForFamilyInternalServerError

func NewDeleteImagesForFamilyInternalServerError() *DeleteImagesForFamilyInternalServerError

NewDeleteImagesForFamilyInternalServerError creates a DeleteImagesForFamilyInternalServerError with default headers values

func (*DeleteImagesForFamilyInternalServerError) Code

Code gets the status code for the delete images for family internal server error response

func (*DeleteImagesForFamilyInternalServerError) Error

func (*DeleteImagesForFamilyInternalServerError) GetPayload

func (*DeleteImagesForFamilyInternalServerError) IsClientError

IsClientError returns true when this delete images for family internal server error response has a 4xx status code

func (*DeleteImagesForFamilyInternalServerError) IsCode

IsCode returns true when this delete images for family internal server error response a status code equal to that given

func (*DeleteImagesForFamilyInternalServerError) IsRedirect

IsRedirect returns true when this delete images for family internal server error response has a 3xx status code

func (*DeleteImagesForFamilyInternalServerError) IsServerError

IsServerError returns true when this delete images for family internal server error response has a 5xx status code

func (*DeleteImagesForFamilyInternalServerError) IsSuccess

IsSuccess returns true when this delete images for family internal server error response has a 2xx status code

func (*DeleteImagesForFamilyInternalServerError) String

type DeleteImagesForFamilyNoContent

type DeleteImagesForFamilyNoContent struct {
}

DeleteImagesForFamilyNoContent describes a response with status code 204, with default header values.

No content

func NewDeleteImagesForFamilyNoContent

func NewDeleteImagesForFamilyNoContent() *DeleteImagesForFamilyNoContent

NewDeleteImagesForFamilyNoContent creates a DeleteImagesForFamilyNoContent with default headers values

func (*DeleteImagesForFamilyNoContent) Code

Code gets the status code for the delete images for family no content response

func (*DeleteImagesForFamilyNoContent) Error

func (*DeleteImagesForFamilyNoContent) IsClientError

func (o *DeleteImagesForFamilyNoContent) IsClientError() bool

IsClientError returns true when this delete images for family no content response has a 4xx status code

func (*DeleteImagesForFamilyNoContent) IsCode

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

IsCode returns true when this delete images for family no content response a status code equal to that given

func (*DeleteImagesForFamilyNoContent) IsRedirect

func (o *DeleteImagesForFamilyNoContent) IsRedirect() bool

IsRedirect returns true when this delete images for family no content response has a 3xx status code

func (*DeleteImagesForFamilyNoContent) IsServerError

func (o *DeleteImagesForFamilyNoContent) IsServerError() bool

IsServerError returns true when this delete images for family no content response has a 5xx status code

func (*DeleteImagesForFamilyNoContent) IsSuccess

func (o *DeleteImagesForFamilyNoContent) IsSuccess() bool

IsSuccess returns true when this delete images for family no content response has a 2xx status code

func (*DeleteImagesForFamilyNoContent) String

type DeleteImagesForFamilyParams

type DeleteImagesForFamilyParams struct {

	/* ImageFamily.

	   An image family
	*/
	ImageFamily string

	/* StackID.

	   A stack ID or slug
	*/
	StackID string

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

DeleteImagesForFamilyParams contains all the parameters to send to the API endpoint

for the delete images for family operation.

Typically these are written to a http.Request.

func NewDeleteImagesForFamilyParams

func NewDeleteImagesForFamilyParams() *DeleteImagesForFamilyParams

NewDeleteImagesForFamilyParams creates a new DeleteImagesForFamilyParams 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 NewDeleteImagesForFamilyParamsWithContext

func NewDeleteImagesForFamilyParamsWithContext(ctx context.Context) *DeleteImagesForFamilyParams

NewDeleteImagesForFamilyParamsWithContext creates a new DeleteImagesForFamilyParams object with the ability to set a context for a request.

func NewDeleteImagesForFamilyParamsWithHTTPClient

func NewDeleteImagesForFamilyParamsWithHTTPClient(client *http.Client) *DeleteImagesForFamilyParams

NewDeleteImagesForFamilyParamsWithHTTPClient creates a new DeleteImagesForFamilyParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteImagesForFamilyParamsWithTimeout

func NewDeleteImagesForFamilyParamsWithTimeout(timeout time.Duration) *DeleteImagesForFamilyParams

NewDeleteImagesForFamilyParamsWithTimeout creates a new DeleteImagesForFamilyParams object with the ability to set a timeout on a request.

func (*DeleteImagesForFamilyParams) SetContext

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

SetContext adds the context to the delete images for family params

func (*DeleteImagesForFamilyParams) SetDefaults

func (o *DeleteImagesForFamilyParams) SetDefaults()

SetDefaults hydrates default values in the delete images for family params (not the query body).

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

func (*DeleteImagesForFamilyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete images for family params

func (*DeleteImagesForFamilyParams) SetImageFamily

func (o *DeleteImagesForFamilyParams) SetImageFamily(imageFamily string)

SetImageFamily adds the imageFamily to the delete images for family params

func (*DeleteImagesForFamilyParams) SetStackID

func (o *DeleteImagesForFamilyParams) SetStackID(stackID string)

SetStackID adds the stackId to the delete images for family params

func (*DeleteImagesForFamilyParams) SetTimeout

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

SetTimeout adds the timeout to the delete images for family params

func (*DeleteImagesForFamilyParams) WithContext

WithContext adds the context to the delete images for family params

func (*DeleteImagesForFamilyParams) WithDefaults

WithDefaults hydrates default values in the delete images for family params (not the query body).

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

func (*DeleteImagesForFamilyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete images for family params

func (*DeleteImagesForFamilyParams) WithImageFamily

func (o *DeleteImagesForFamilyParams) WithImageFamily(imageFamily string) *DeleteImagesForFamilyParams

WithImageFamily adds the imageFamily to the delete images for family params

func (*DeleteImagesForFamilyParams) WithStackID

WithStackID adds the stackID to the delete images for family params

func (*DeleteImagesForFamilyParams) WithTimeout

WithTimeout adds the timeout to the delete images for family params

func (*DeleteImagesForFamilyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteImagesForFamilyReader

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

DeleteImagesForFamilyReader is a Reader for the DeleteImagesForFamily structure.

func (*DeleteImagesForFamilyReader) ReadResponse

func (o *DeleteImagesForFamilyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteImagesForFamilyUnauthorized

type DeleteImagesForFamilyUnauthorized struct {
	Payload *workload_models.StackpathapiStatus
}

DeleteImagesForFamilyUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewDeleteImagesForFamilyUnauthorized

func NewDeleteImagesForFamilyUnauthorized() *DeleteImagesForFamilyUnauthorized

NewDeleteImagesForFamilyUnauthorized creates a DeleteImagesForFamilyUnauthorized with default headers values

func (*DeleteImagesForFamilyUnauthorized) Code

Code gets the status code for the delete images for family unauthorized response

func (*DeleteImagesForFamilyUnauthorized) Error

func (*DeleteImagesForFamilyUnauthorized) GetPayload

func (*DeleteImagesForFamilyUnauthorized) IsClientError

func (o *DeleteImagesForFamilyUnauthorized) IsClientError() bool

IsClientError returns true when this delete images for family unauthorized response has a 4xx status code

func (*DeleteImagesForFamilyUnauthorized) IsCode

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

IsCode returns true when this delete images for family unauthorized response a status code equal to that given

func (*DeleteImagesForFamilyUnauthorized) IsRedirect

func (o *DeleteImagesForFamilyUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete images for family unauthorized response has a 3xx status code

func (*DeleteImagesForFamilyUnauthorized) IsServerError

func (o *DeleteImagesForFamilyUnauthorized) IsServerError() bool

IsServerError returns true when this delete images for family unauthorized response has a 5xx status code

func (*DeleteImagesForFamilyUnauthorized) IsSuccess

func (o *DeleteImagesForFamilyUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete images for family unauthorized response has a 2xx status code

func (*DeleteImagesForFamilyUnauthorized) String

type GetImageDefault

type GetImageDefault struct {
	Payload *workload_models.StackpathapiStatus
	// contains filtered or unexported fields
}

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

Default error structure.

func NewGetImageDefault

func NewGetImageDefault(code int) *GetImageDefault

NewGetImageDefault creates a GetImageDefault with default headers values

func (*GetImageDefault) Code

func (o *GetImageDefault) Code() int

Code gets the status code for the get image default response

func (*GetImageDefault) Error

func (o *GetImageDefault) Error() string

func (*GetImageDefault) GetPayload

func (*GetImageDefault) IsClientError

func (o *GetImageDefault) IsClientError() bool

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

func (*GetImageDefault) IsCode

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

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

func (*GetImageDefault) IsRedirect

func (o *GetImageDefault) IsRedirect() bool

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

func (*GetImageDefault) IsServerError

func (o *GetImageDefault) IsServerError() bool

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

func (*GetImageDefault) IsSuccess

func (o *GetImageDefault) IsSuccess() bool

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

func (*GetImageDefault) String

func (o *GetImageDefault) String() string

type GetImageInternalServerError

type GetImageInternalServerError struct {
	Payload *workload_models.StackpathapiStatus
}

GetImageInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewGetImageInternalServerError

func NewGetImageInternalServerError() *GetImageInternalServerError

NewGetImageInternalServerError creates a GetImageInternalServerError with default headers values

func (*GetImageInternalServerError) Code

func (o *GetImageInternalServerError) Code() int

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

func (*GetImageInternalServerError) Error

func (*GetImageInternalServerError) GetPayload

func (*GetImageInternalServerError) IsClientError

func (o *GetImageInternalServerError) IsClientError() bool

IsClientError returns true when this get image internal server error response has a 4xx status code

func (*GetImageInternalServerError) IsCode

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

IsCode returns true when this get image internal server error response a status code equal to that given

func (*GetImageInternalServerError) IsRedirect

func (o *GetImageInternalServerError) IsRedirect() bool

IsRedirect returns true when this get image internal server error response has a 3xx status code

func (*GetImageInternalServerError) IsServerError

func (o *GetImageInternalServerError) IsServerError() bool

IsServerError returns true when this get image internal server error response has a 5xx status code

func (*GetImageInternalServerError) IsSuccess

func (o *GetImageInternalServerError) IsSuccess() bool

IsSuccess returns true when this get image internal server error response has a 2xx status code

func (*GetImageInternalServerError) String

func (o *GetImageInternalServerError) String() string

type GetImageOK

type GetImageOK struct {
	Payload *workload_models.V1GetImageResponse
}

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

GetImageOK get image o k

func NewGetImageOK

func NewGetImageOK() *GetImageOK

NewGetImageOK creates a GetImageOK with default headers values

func (*GetImageOK) Code

func (o *GetImageOK) Code() int

Code gets the status code for the get image o k response

func (*GetImageOK) Error

func (o *GetImageOK) Error() string

func (*GetImageOK) GetPayload

func (*GetImageOK) IsClientError

func (o *GetImageOK) IsClientError() bool

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

func (*GetImageOK) IsCode

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

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

func (*GetImageOK) IsRedirect

func (o *GetImageOK) IsRedirect() bool

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

func (*GetImageOK) IsServerError

func (o *GetImageOK) IsServerError() bool

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

func (*GetImageOK) IsSuccess

func (o *GetImageOK) IsSuccess() bool

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

func (*GetImageOK) String

func (o *GetImageOK) String() string

type GetImageParams

type GetImageParams struct {

	/* ImageFamily.

	   An image family
	*/
	ImageFamily string

	/* ImageTag.

	   An image tag

	   Default: "default"
	*/
	ImageTag string

	/* StackID.

	   A stack ID or slug
	*/
	StackID string

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

GetImageParams contains all the parameters to send to the API endpoint

for the get image operation.

Typically these are written to a http.Request.

func NewGetImageParams

func NewGetImageParams() *GetImageParams

NewGetImageParams creates a new GetImageParams 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 NewGetImageParamsWithContext

func NewGetImageParamsWithContext(ctx context.Context) *GetImageParams

NewGetImageParamsWithContext creates a new GetImageParams object with the ability to set a context for a request.

func NewGetImageParamsWithHTTPClient

func NewGetImageParamsWithHTTPClient(client *http.Client) *GetImageParams

NewGetImageParamsWithHTTPClient creates a new GetImageParams object with the ability to set a custom HTTPClient for a request.

func NewGetImageParamsWithTimeout

func NewGetImageParamsWithTimeout(timeout time.Duration) *GetImageParams

NewGetImageParamsWithTimeout creates a new GetImageParams object with the ability to set a timeout on a request.

func (*GetImageParams) SetContext

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

SetContext adds the context to the get image params

func (*GetImageParams) SetDefaults

func (o *GetImageParams) SetDefaults()

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

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

func (*GetImageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get image params

func (*GetImageParams) SetImageFamily

func (o *GetImageParams) SetImageFamily(imageFamily string)

SetImageFamily adds the imageFamily to the get image params

func (*GetImageParams) SetImageTag

func (o *GetImageParams) SetImageTag(imageTag string)

SetImageTag adds the imageTag to the get image params

func (*GetImageParams) SetStackID

func (o *GetImageParams) SetStackID(stackID string)

SetStackID adds the stackId to the get image params

func (*GetImageParams) SetTimeout

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

SetTimeout adds the timeout to the get image params

func (*GetImageParams) WithContext

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

WithContext adds the context to the get image params

func (*GetImageParams) WithDefaults

func (o *GetImageParams) WithDefaults() *GetImageParams

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

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

func (*GetImageParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get image params

func (*GetImageParams) WithImageFamily

func (o *GetImageParams) WithImageFamily(imageFamily string) *GetImageParams

WithImageFamily adds the imageFamily to the get image params

func (*GetImageParams) WithImageTag

func (o *GetImageParams) WithImageTag(imageTag string) *GetImageParams

WithImageTag adds the imageTag to the get image params

func (*GetImageParams) WithStackID

func (o *GetImageParams) WithStackID(stackID string) *GetImageParams

WithStackID adds the stackID to the get image params

func (*GetImageParams) WithTimeout

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

WithTimeout adds the timeout to the get image params

func (*GetImageParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetImageReader

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

GetImageReader is a Reader for the GetImage structure.

func (*GetImageReader) ReadResponse

func (o *GetImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetImageUnauthorized

type GetImageUnauthorized struct {
	Payload *workload_models.StackpathapiStatus
}

GetImageUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewGetImageUnauthorized

func NewGetImageUnauthorized() *GetImageUnauthorized

NewGetImageUnauthorized creates a GetImageUnauthorized with default headers values

func (*GetImageUnauthorized) Code

func (o *GetImageUnauthorized) Code() int

Code gets the status code for the get image unauthorized response

func (*GetImageUnauthorized) Error

func (o *GetImageUnauthorized) Error() string

func (*GetImageUnauthorized) GetPayload

func (*GetImageUnauthorized) IsClientError

func (o *GetImageUnauthorized) IsClientError() bool

IsClientError returns true when this get image unauthorized response has a 4xx status code

func (*GetImageUnauthorized) IsCode

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

IsCode returns true when this get image unauthorized response a status code equal to that given

func (*GetImageUnauthorized) IsRedirect

func (o *GetImageUnauthorized) IsRedirect() bool

IsRedirect returns true when this get image unauthorized response has a 3xx status code

func (*GetImageUnauthorized) IsServerError

func (o *GetImageUnauthorized) IsServerError() bool

IsServerError returns true when this get image unauthorized response has a 5xx status code

func (*GetImageUnauthorized) IsSuccess

func (o *GetImageUnauthorized) IsSuccess() bool

IsSuccess returns true when this get image unauthorized response has a 2xx status code

func (*GetImageUnauthorized) String

func (o *GetImageUnauthorized) String() string

type GetImagesDefault

type GetImagesDefault struct {
	Payload *workload_models.StackpathapiStatus
	// contains filtered or unexported fields
}

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

Default error structure.

func NewGetImagesDefault

func NewGetImagesDefault(code int) *GetImagesDefault

NewGetImagesDefault creates a GetImagesDefault with default headers values

func (*GetImagesDefault) Code

func (o *GetImagesDefault) Code() int

Code gets the status code for the get images default response

func (*GetImagesDefault) Error

func (o *GetImagesDefault) Error() string

func (*GetImagesDefault) GetPayload

func (*GetImagesDefault) IsClientError

func (o *GetImagesDefault) IsClientError() bool

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

func (*GetImagesDefault) IsCode

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

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

func (*GetImagesDefault) IsRedirect

func (o *GetImagesDefault) IsRedirect() bool

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

func (*GetImagesDefault) IsServerError

func (o *GetImagesDefault) IsServerError() bool

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

func (*GetImagesDefault) IsSuccess

func (o *GetImagesDefault) IsSuccess() bool

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

func (*GetImagesDefault) String

func (o *GetImagesDefault) String() string

type GetImagesForFamilyDefault

type GetImagesForFamilyDefault struct {
	Payload *workload_models.StackpathapiStatus
	// contains filtered or unexported fields
}

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

Default error structure.

func NewGetImagesForFamilyDefault

func NewGetImagesForFamilyDefault(code int) *GetImagesForFamilyDefault

NewGetImagesForFamilyDefault creates a GetImagesForFamilyDefault with default headers values

func (*GetImagesForFamilyDefault) Code

func (o *GetImagesForFamilyDefault) Code() int

Code gets the status code for the get images for family default response

func (*GetImagesForFamilyDefault) Error

func (o *GetImagesForFamilyDefault) Error() string

func (*GetImagesForFamilyDefault) GetPayload

func (*GetImagesForFamilyDefault) IsClientError

func (o *GetImagesForFamilyDefault) IsClientError() bool

IsClientError returns true when this get images for family default response has a 4xx status code

func (*GetImagesForFamilyDefault) IsCode

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

IsCode returns true when this get images for family default response a status code equal to that given

func (*GetImagesForFamilyDefault) IsRedirect

func (o *GetImagesForFamilyDefault) IsRedirect() bool

IsRedirect returns true when this get images for family default response has a 3xx status code

func (*GetImagesForFamilyDefault) IsServerError

func (o *GetImagesForFamilyDefault) IsServerError() bool

IsServerError returns true when this get images for family default response has a 5xx status code

func (*GetImagesForFamilyDefault) IsSuccess

func (o *GetImagesForFamilyDefault) IsSuccess() bool

IsSuccess returns true when this get images for family default response has a 2xx status code

func (*GetImagesForFamilyDefault) String

func (o *GetImagesForFamilyDefault) String() string

type GetImagesForFamilyInternalServerError

type GetImagesForFamilyInternalServerError struct {
	Payload *workload_models.StackpathapiStatus
}

GetImagesForFamilyInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewGetImagesForFamilyInternalServerError

func NewGetImagesForFamilyInternalServerError() *GetImagesForFamilyInternalServerError

NewGetImagesForFamilyInternalServerError creates a GetImagesForFamilyInternalServerError with default headers values

func (*GetImagesForFamilyInternalServerError) Code

Code gets the status code for the get images for family internal server error response

func (*GetImagesForFamilyInternalServerError) Error

func (*GetImagesForFamilyInternalServerError) GetPayload

func (*GetImagesForFamilyInternalServerError) IsClientError

func (o *GetImagesForFamilyInternalServerError) IsClientError() bool

IsClientError returns true when this get images for family internal server error response has a 4xx status code

func (*GetImagesForFamilyInternalServerError) IsCode

IsCode returns true when this get images for family internal server error response a status code equal to that given

func (*GetImagesForFamilyInternalServerError) IsRedirect

IsRedirect returns true when this get images for family internal server error response has a 3xx status code

func (*GetImagesForFamilyInternalServerError) IsServerError

func (o *GetImagesForFamilyInternalServerError) IsServerError() bool

IsServerError returns true when this get images for family internal server error response has a 5xx status code

func (*GetImagesForFamilyInternalServerError) IsSuccess

IsSuccess returns true when this get images for family internal server error response has a 2xx status code

func (*GetImagesForFamilyInternalServerError) String

type GetImagesForFamilyOK

type GetImagesForFamilyOK struct {
	Payload *workload_models.V1GetImagesForFamilyResponse
}

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

GetImagesForFamilyOK get images for family o k

func NewGetImagesForFamilyOK

func NewGetImagesForFamilyOK() *GetImagesForFamilyOK

NewGetImagesForFamilyOK creates a GetImagesForFamilyOK with default headers values

func (*GetImagesForFamilyOK) Code

func (o *GetImagesForFamilyOK) Code() int

Code gets the status code for the get images for family o k response

func (*GetImagesForFamilyOK) Error

func (o *GetImagesForFamilyOK) Error() string

func (*GetImagesForFamilyOK) GetPayload

func (*GetImagesForFamilyOK) IsClientError

func (o *GetImagesForFamilyOK) IsClientError() bool

IsClientError returns true when this get images for family o k response has a 4xx status code

func (*GetImagesForFamilyOK) IsCode

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

IsCode returns true when this get images for family o k response a status code equal to that given

func (*GetImagesForFamilyOK) IsRedirect

func (o *GetImagesForFamilyOK) IsRedirect() bool

IsRedirect returns true when this get images for family o k response has a 3xx status code

func (*GetImagesForFamilyOK) IsServerError

func (o *GetImagesForFamilyOK) IsServerError() bool

IsServerError returns true when this get images for family o k response has a 5xx status code

func (*GetImagesForFamilyOK) IsSuccess

func (o *GetImagesForFamilyOK) IsSuccess() bool

IsSuccess returns true when this get images for family o k response has a 2xx status code

func (*GetImagesForFamilyOK) String

func (o *GetImagesForFamilyOK) String() string

type GetImagesForFamilyParams

type GetImagesForFamilyParams struct {

	/* Deprecated.

	   If present and true, include deprecated images in the result.

	   Format: boolean
	*/
	Deprecated *bool

	/* ImageFamily.

	   An image family
	*/
	ImageFamily string

	/* 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.

	   A stack ID or slug
	*/
	StackID string

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

GetImagesForFamilyParams contains all the parameters to send to the API endpoint

for the get images for family operation.

Typically these are written to a http.Request.

func NewGetImagesForFamilyParams

func NewGetImagesForFamilyParams() *GetImagesForFamilyParams

NewGetImagesForFamilyParams creates a new GetImagesForFamilyParams 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 NewGetImagesForFamilyParamsWithContext

func NewGetImagesForFamilyParamsWithContext(ctx context.Context) *GetImagesForFamilyParams

NewGetImagesForFamilyParamsWithContext creates a new GetImagesForFamilyParams object with the ability to set a context for a request.

func NewGetImagesForFamilyParamsWithHTTPClient

func NewGetImagesForFamilyParamsWithHTTPClient(client *http.Client) *GetImagesForFamilyParams

NewGetImagesForFamilyParamsWithHTTPClient creates a new GetImagesForFamilyParams object with the ability to set a custom HTTPClient for a request.

func NewGetImagesForFamilyParamsWithTimeout

func NewGetImagesForFamilyParamsWithTimeout(timeout time.Duration) *GetImagesForFamilyParams

NewGetImagesForFamilyParamsWithTimeout creates a new GetImagesForFamilyParams object with the ability to set a timeout on a request.

func (*GetImagesForFamilyParams) SetContext

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

SetContext adds the context to the get images for family params

func (*GetImagesForFamilyParams) SetDefaults

func (o *GetImagesForFamilyParams) SetDefaults()

SetDefaults hydrates default values in the get images for family params (not the query body).

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

func (*GetImagesForFamilyParams) SetDeprecated

func (o *GetImagesForFamilyParams) SetDeprecated(deprecated *bool)

SetDeprecated adds the deprecated to the get images for family params

func (*GetImagesForFamilyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get images for family params

func (*GetImagesForFamilyParams) SetImageFamily

func (o *GetImagesForFamilyParams) SetImageFamily(imageFamily string)

SetImageFamily adds the imageFamily to the get images for family params

func (*GetImagesForFamilyParams) SetPageRequestAfter

func (o *GetImagesForFamilyParams) SetPageRequestAfter(pageRequestAfter *string)

SetPageRequestAfter adds the pageRequestAfter to the get images for family params

func (*GetImagesForFamilyParams) SetPageRequestFilter

func (o *GetImagesForFamilyParams) SetPageRequestFilter(pageRequestFilter *string)

SetPageRequestFilter adds the pageRequestFilter to the get images for family params

func (*GetImagesForFamilyParams) SetPageRequestFirst

func (o *GetImagesForFamilyParams) SetPageRequestFirst(pageRequestFirst *string)

SetPageRequestFirst adds the pageRequestFirst to the get images for family params

func (*GetImagesForFamilyParams) SetPageRequestSortBy

func (o *GetImagesForFamilyParams) SetPageRequestSortBy(pageRequestSortBy *string)

SetPageRequestSortBy adds the pageRequestSortBy to the get images for family params

func (*GetImagesForFamilyParams) SetStackID

func (o *GetImagesForFamilyParams) SetStackID(stackID string)

SetStackID adds the stackId to the get images for family params

func (*GetImagesForFamilyParams) SetTimeout

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

SetTimeout adds the timeout to the get images for family params

func (*GetImagesForFamilyParams) WithContext

WithContext adds the context to the get images for family params

func (*GetImagesForFamilyParams) WithDefaults

WithDefaults hydrates default values in the get images for family params (not the query body).

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

func (*GetImagesForFamilyParams) WithDeprecated

func (o *GetImagesForFamilyParams) WithDeprecated(deprecated *bool) *GetImagesForFamilyParams

WithDeprecated adds the deprecated to the get images for family params

func (*GetImagesForFamilyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get images for family params

func (*GetImagesForFamilyParams) WithImageFamily

func (o *GetImagesForFamilyParams) WithImageFamily(imageFamily string) *GetImagesForFamilyParams

WithImageFamily adds the imageFamily to the get images for family params

func (*GetImagesForFamilyParams) WithPageRequestAfter

func (o *GetImagesForFamilyParams) WithPageRequestAfter(pageRequestAfter *string) *GetImagesForFamilyParams

WithPageRequestAfter adds the pageRequestAfter to the get images for family params

func (*GetImagesForFamilyParams) WithPageRequestFilter

func (o *GetImagesForFamilyParams) WithPageRequestFilter(pageRequestFilter *string) *GetImagesForFamilyParams

WithPageRequestFilter adds the pageRequestFilter to the get images for family params

func (*GetImagesForFamilyParams) WithPageRequestFirst

func (o *GetImagesForFamilyParams) WithPageRequestFirst(pageRequestFirst *string) *GetImagesForFamilyParams

WithPageRequestFirst adds the pageRequestFirst to the get images for family params

func (*GetImagesForFamilyParams) WithPageRequestSortBy

func (o *GetImagesForFamilyParams) WithPageRequestSortBy(pageRequestSortBy *string) *GetImagesForFamilyParams

WithPageRequestSortBy adds the pageRequestSortBy to the get images for family params

func (*GetImagesForFamilyParams) WithStackID

func (o *GetImagesForFamilyParams) WithStackID(stackID string) *GetImagesForFamilyParams

WithStackID adds the stackID to the get images for family params

func (*GetImagesForFamilyParams) WithTimeout

WithTimeout adds the timeout to the get images for family params

func (*GetImagesForFamilyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetImagesForFamilyReader

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

GetImagesForFamilyReader is a Reader for the GetImagesForFamily structure.

func (*GetImagesForFamilyReader) ReadResponse

func (o *GetImagesForFamilyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetImagesForFamilyUnauthorized

type GetImagesForFamilyUnauthorized struct {
	Payload *workload_models.StackpathapiStatus
}

GetImagesForFamilyUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewGetImagesForFamilyUnauthorized

func NewGetImagesForFamilyUnauthorized() *GetImagesForFamilyUnauthorized

NewGetImagesForFamilyUnauthorized creates a GetImagesForFamilyUnauthorized with default headers values

func (*GetImagesForFamilyUnauthorized) Code

Code gets the status code for the get images for family unauthorized response

func (*GetImagesForFamilyUnauthorized) Error

func (*GetImagesForFamilyUnauthorized) GetPayload

func (*GetImagesForFamilyUnauthorized) IsClientError

func (o *GetImagesForFamilyUnauthorized) IsClientError() bool

IsClientError returns true when this get images for family unauthorized response has a 4xx status code

func (*GetImagesForFamilyUnauthorized) IsCode

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

IsCode returns true when this get images for family unauthorized response a status code equal to that given

func (*GetImagesForFamilyUnauthorized) IsRedirect

func (o *GetImagesForFamilyUnauthorized) IsRedirect() bool

IsRedirect returns true when this get images for family unauthorized response has a 3xx status code

func (*GetImagesForFamilyUnauthorized) IsServerError

func (o *GetImagesForFamilyUnauthorized) IsServerError() bool

IsServerError returns true when this get images for family unauthorized response has a 5xx status code

func (*GetImagesForFamilyUnauthorized) IsSuccess

func (o *GetImagesForFamilyUnauthorized) IsSuccess() bool

IsSuccess returns true when this get images for family unauthorized response has a 2xx status code

func (*GetImagesForFamilyUnauthorized) String

type GetImagesInternalServerError

type GetImagesInternalServerError struct {
	Payload *workload_models.StackpathapiStatus
}

GetImagesInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewGetImagesInternalServerError

func NewGetImagesInternalServerError() *GetImagesInternalServerError

NewGetImagesInternalServerError creates a GetImagesInternalServerError with default headers values

func (*GetImagesInternalServerError) Code

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

func (*GetImagesInternalServerError) Error

func (*GetImagesInternalServerError) GetPayload

func (*GetImagesInternalServerError) IsClientError

func (o *GetImagesInternalServerError) IsClientError() bool

IsClientError returns true when this get images internal server error response has a 4xx status code

func (*GetImagesInternalServerError) IsCode

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

IsCode returns true when this get images internal server error response a status code equal to that given

func (*GetImagesInternalServerError) IsRedirect

func (o *GetImagesInternalServerError) IsRedirect() bool

IsRedirect returns true when this get images internal server error response has a 3xx status code

func (*GetImagesInternalServerError) IsServerError

func (o *GetImagesInternalServerError) IsServerError() bool

IsServerError returns true when this get images internal server error response has a 5xx status code

func (*GetImagesInternalServerError) IsSuccess

func (o *GetImagesInternalServerError) IsSuccess() bool

IsSuccess returns true when this get images internal server error response has a 2xx status code

func (*GetImagesInternalServerError) String

type GetImagesOK

type GetImagesOK struct {
	Payload *workload_models.V1GetImagesResponse
}

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

GetImagesOK get images o k

func NewGetImagesOK

func NewGetImagesOK() *GetImagesOK

NewGetImagesOK creates a GetImagesOK with default headers values

func (*GetImagesOK) Code

func (o *GetImagesOK) Code() int

Code gets the status code for the get images o k response

func (*GetImagesOK) Error

func (o *GetImagesOK) Error() string

func (*GetImagesOK) GetPayload

func (*GetImagesOK) IsClientError

func (o *GetImagesOK) IsClientError() bool

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

func (*GetImagesOK) IsCode

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

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

func (*GetImagesOK) IsRedirect

func (o *GetImagesOK) IsRedirect() bool

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

func (*GetImagesOK) IsServerError

func (o *GetImagesOK) IsServerError() bool

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

func (*GetImagesOK) IsSuccess

func (o *GetImagesOK) IsSuccess() bool

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

func (*GetImagesOK) String

func (o *GetImagesOK) String() string

type GetImagesParams

type GetImagesParams struct {

	/* Deprecated.

	   If present and true, include deprecated images in the result.

	   Format: boolean
	*/
	Deprecated *bool

	/* 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.

	   A stack ID or slug
	*/
	StackID string

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

GetImagesParams contains all the parameters to send to the API endpoint

for the get images operation.

Typically these are written to a http.Request.

func NewGetImagesParams

func NewGetImagesParams() *GetImagesParams

NewGetImagesParams creates a new GetImagesParams 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 NewGetImagesParamsWithContext

func NewGetImagesParamsWithContext(ctx context.Context) *GetImagesParams

NewGetImagesParamsWithContext creates a new GetImagesParams object with the ability to set a context for a request.

func NewGetImagesParamsWithHTTPClient

func NewGetImagesParamsWithHTTPClient(client *http.Client) *GetImagesParams

NewGetImagesParamsWithHTTPClient creates a new GetImagesParams object with the ability to set a custom HTTPClient for a request.

func NewGetImagesParamsWithTimeout

func NewGetImagesParamsWithTimeout(timeout time.Duration) *GetImagesParams

NewGetImagesParamsWithTimeout creates a new GetImagesParams object with the ability to set a timeout on a request.

func (*GetImagesParams) SetContext

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

SetContext adds the context to the get images params

func (*GetImagesParams) SetDefaults

func (o *GetImagesParams) SetDefaults()

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

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

func (*GetImagesParams) SetDeprecated

func (o *GetImagesParams) SetDeprecated(deprecated *bool)

SetDeprecated adds the deprecated to the get images params

func (*GetImagesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get images params

func (*GetImagesParams) SetPageRequestAfter

func (o *GetImagesParams) SetPageRequestAfter(pageRequestAfter *string)

SetPageRequestAfter adds the pageRequestAfter to the get images params

func (*GetImagesParams) SetPageRequestFilter

func (o *GetImagesParams) SetPageRequestFilter(pageRequestFilter *string)

SetPageRequestFilter adds the pageRequestFilter to the get images params

func (*GetImagesParams) SetPageRequestFirst

func (o *GetImagesParams) SetPageRequestFirst(pageRequestFirst *string)

SetPageRequestFirst adds the pageRequestFirst to the get images params

func (*GetImagesParams) SetPageRequestSortBy

func (o *GetImagesParams) SetPageRequestSortBy(pageRequestSortBy *string)

SetPageRequestSortBy adds the pageRequestSortBy to the get images params

func (*GetImagesParams) SetStackID

func (o *GetImagesParams) SetStackID(stackID string)

SetStackID adds the stackId to the get images params

func (*GetImagesParams) SetTimeout

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

SetTimeout adds the timeout to the get images params

func (*GetImagesParams) WithContext

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

WithContext adds the context to the get images params

func (*GetImagesParams) WithDefaults

func (o *GetImagesParams) WithDefaults() *GetImagesParams

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

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

func (*GetImagesParams) WithDeprecated

func (o *GetImagesParams) WithDeprecated(deprecated *bool) *GetImagesParams

WithDeprecated adds the deprecated to the get images params

func (*GetImagesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get images params

func (*GetImagesParams) WithPageRequestAfter

func (o *GetImagesParams) WithPageRequestAfter(pageRequestAfter *string) *GetImagesParams

WithPageRequestAfter adds the pageRequestAfter to the get images params

func (*GetImagesParams) WithPageRequestFilter

func (o *GetImagesParams) WithPageRequestFilter(pageRequestFilter *string) *GetImagesParams

WithPageRequestFilter adds the pageRequestFilter to the get images params

func (*GetImagesParams) WithPageRequestFirst

func (o *GetImagesParams) WithPageRequestFirst(pageRequestFirst *string) *GetImagesParams

WithPageRequestFirst adds the pageRequestFirst to the get images params

func (*GetImagesParams) WithPageRequestSortBy

func (o *GetImagesParams) WithPageRequestSortBy(pageRequestSortBy *string) *GetImagesParams

WithPageRequestSortBy adds the pageRequestSortBy to the get images params

func (*GetImagesParams) WithStackID

func (o *GetImagesParams) WithStackID(stackID string) *GetImagesParams

WithStackID adds the stackID to the get images params

func (*GetImagesParams) WithTimeout

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

WithTimeout adds the timeout to the get images params

func (*GetImagesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetImagesReader

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

GetImagesReader is a Reader for the GetImages structure.

func (*GetImagesReader) ReadResponse

func (o *GetImagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetImagesUnauthorized

type GetImagesUnauthorized struct {
	Payload *workload_models.StackpathapiStatus
}

GetImagesUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewGetImagesUnauthorized

func NewGetImagesUnauthorized() *GetImagesUnauthorized

NewGetImagesUnauthorized creates a GetImagesUnauthorized with default headers values

func (*GetImagesUnauthorized) Code

func (o *GetImagesUnauthorized) Code() int

Code gets the status code for the get images unauthorized response

func (*GetImagesUnauthorized) Error

func (o *GetImagesUnauthorized) Error() string

func (*GetImagesUnauthorized) GetPayload

func (*GetImagesUnauthorized) IsClientError

func (o *GetImagesUnauthorized) IsClientError() bool

IsClientError returns true when this get images unauthorized response has a 4xx status code

func (*GetImagesUnauthorized) IsCode

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

IsCode returns true when this get images unauthorized response a status code equal to that given

func (*GetImagesUnauthorized) IsRedirect

func (o *GetImagesUnauthorized) IsRedirect() bool

IsRedirect returns true when this get images unauthorized response has a 3xx status code

func (*GetImagesUnauthorized) IsServerError

func (o *GetImagesUnauthorized) IsServerError() bool

IsServerError returns true when this get images unauthorized response has a 5xx status code

func (*GetImagesUnauthorized) IsSuccess

func (o *GetImagesUnauthorized) IsSuccess() bool

IsSuccess returns true when this get images unauthorized response has a 2xx status code

func (*GetImagesUnauthorized) String

func (o *GetImagesUnauthorized) String() string

type UpdateImageDefault

type UpdateImageDefault struct {
	Payload *workload_models.StackpathapiStatus
	// contains filtered or unexported fields
}

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

Default error structure.

func NewUpdateImageDefault

func NewUpdateImageDefault(code int) *UpdateImageDefault

NewUpdateImageDefault creates a UpdateImageDefault with default headers values

func (*UpdateImageDefault) Code

func (o *UpdateImageDefault) Code() int

Code gets the status code for the update image default response

func (*UpdateImageDefault) Error

func (o *UpdateImageDefault) Error() string

func (*UpdateImageDefault) GetPayload

func (*UpdateImageDefault) IsClientError

func (o *UpdateImageDefault) IsClientError() bool

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

func (*UpdateImageDefault) IsCode

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

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

func (*UpdateImageDefault) IsRedirect

func (o *UpdateImageDefault) IsRedirect() bool

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

func (*UpdateImageDefault) IsServerError

func (o *UpdateImageDefault) IsServerError() bool

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

func (*UpdateImageDefault) IsSuccess

func (o *UpdateImageDefault) IsSuccess() bool

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

func (*UpdateImageDefault) String

func (o *UpdateImageDefault) String() string

type UpdateImageDeprecationDefault

type UpdateImageDeprecationDefault struct {
	Payload *workload_models.StackpathapiStatus
	// contains filtered or unexported fields
}

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

Default error structure.

func NewUpdateImageDeprecationDefault

func NewUpdateImageDeprecationDefault(code int) *UpdateImageDeprecationDefault

NewUpdateImageDeprecationDefault creates a UpdateImageDeprecationDefault with default headers values

func (*UpdateImageDeprecationDefault) Code

Code gets the status code for the update image deprecation default response

func (*UpdateImageDeprecationDefault) Error

func (*UpdateImageDeprecationDefault) GetPayload

func (*UpdateImageDeprecationDefault) IsClientError

func (o *UpdateImageDeprecationDefault) IsClientError() bool

IsClientError returns true when this update image deprecation default response has a 4xx status code

func (*UpdateImageDeprecationDefault) IsCode

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

IsCode returns true when this update image deprecation default response a status code equal to that given

func (*UpdateImageDeprecationDefault) IsRedirect

func (o *UpdateImageDeprecationDefault) IsRedirect() bool

IsRedirect returns true when this update image deprecation default response has a 3xx status code

func (*UpdateImageDeprecationDefault) IsServerError

func (o *UpdateImageDeprecationDefault) IsServerError() bool

IsServerError returns true when this update image deprecation default response has a 5xx status code

func (*UpdateImageDeprecationDefault) IsSuccess

func (o *UpdateImageDeprecationDefault) IsSuccess() bool

IsSuccess returns true when this update image deprecation default response has a 2xx status code

func (*UpdateImageDeprecationDefault) String

type UpdateImageDeprecationInternalServerError

type UpdateImageDeprecationInternalServerError struct {
	Payload *workload_models.StackpathapiStatus
}

UpdateImageDeprecationInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewUpdateImageDeprecationInternalServerError

func NewUpdateImageDeprecationInternalServerError() *UpdateImageDeprecationInternalServerError

NewUpdateImageDeprecationInternalServerError creates a UpdateImageDeprecationInternalServerError with default headers values

func (*UpdateImageDeprecationInternalServerError) Code

Code gets the status code for the update image deprecation internal server error response

func (*UpdateImageDeprecationInternalServerError) Error

func (*UpdateImageDeprecationInternalServerError) GetPayload

func (*UpdateImageDeprecationInternalServerError) IsClientError

IsClientError returns true when this update image deprecation internal server error response has a 4xx status code

func (*UpdateImageDeprecationInternalServerError) IsCode

IsCode returns true when this update image deprecation internal server error response a status code equal to that given

func (*UpdateImageDeprecationInternalServerError) IsRedirect

IsRedirect returns true when this update image deprecation internal server error response has a 3xx status code

func (*UpdateImageDeprecationInternalServerError) IsServerError

IsServerError returns true when this update image deprecation internal server error response has a 5xx status code

func (*UpdateImageDeprecationInternalServerError) IsSuccess

IsSuccess returns true when this update image deprecation internal server error response has a 2xx status code

func (*UpdateImageDeprecationInternalServerError) String

type UpdateImageDeprecationOK

type UpdateImageDeprecationOK struct {
	Payload *workload_models.V1UpdateImageDeprecationResponse
}

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

UpdateImageDeprecationOK update image deprecation o k

func NewUpdateImageDeprecationOK

func NewUpdateImageDeprecationOK() *UpdateImageDeprecationOK

NewUpdateImageDeprecationOK creates a UpdateImageDeprecationOK with default headers values

func (*UpdateImageDeprecationOK) Code

func (o *UpdateImageDeprecationOK) Code() int

Code gets the status code for the update image deprecation o k response

func (*UpdateImageDeprecationOK) Error

func (o *UpdateImageDeprecationOK) Error() string

func (*UpdateImageDeprecationOK) GetPayload

func (*UpdateImageDeprecationOK) IsClientError

func (o *UpdateImageDeprecationOK) IsClientError() bool

IsClientError returns true when this update image deprecation o k response has a 4xx status code

func (*UpdateImageDeprecationOK) IsCode

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

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

func (*UpdateImageDeprecationOK) IsRedirect

func (o *UpdateImageDeprecationOK) IsRedirect() bool

IsRedirect returns true when this update image deprecation o k response has a 3xx status code

func (*UpdateImageDeprecationOK) IsServerError

func (o *UpdateImageDeprecationOK) IsServerError() bool

IsServerError returns true when this update image deprecation o k response has a 5xx status code

func (*UpdateImageDeprecationOK) IsSuccess

func (o *UpdateImageDeprecationOK) IsSuccess() bool

IsSuccess returns true when this update image deprecation o k response has a 2xx status code

func (*UpdateImageDeprecationOK) String

func (o *UpdateImageDeprecationOK) String() string

type UpdateImageDeprecationParams

type UpdateImageDeprecationParams struct {

	// Body.
	Body *workload_models.V1ImageDeprecation

	/* ImageFamily.

	   An image family
	*/
	ImageFamily string

	/* ImageTag.

	   An image tag
	*/
	ImageTag string

	/* StackID.

	   A stack ID or slug
	*/
	StackID string

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

UpdateImageDeprecationParams contains all the parameters to send to the API endpoint

for the update image deprecation operation.

Typically these are written to a http.Request.

func NewUpdateImageDeprecationParams

func NewUpdateImageDeprecationParams() *UpdateImageDeprecationParams

NewUpdateImageDeprecationParams creates a new UpdateImageDeprecationParams 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 NewUpdateImageDeprecationParamsWithContext

func NewUpdateImageDeprecationParamsWithContext(ctx context.Context) *UpdateImageDeprecationParams

NewUpdateImageDeprecationParamsWithContext creates a new UpdateImageDeprecationParams object with the ability to set a context for a request.

func NewUpdateImageDeprecationParamsWithHTTPClient

func NewUpdateImageDeprecationParamsWithHTTPClient(client *http.Client) *UpdateImageDeprecationParams

NewUpdateImageDeprecationParamsWithHTTPClient creates a new UpdateImageDeprecationParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateImageDeprecationParamsWithTimeout

func NewUpdateImageDeprecationParamsWithTimeout(timeout time.Duration) *UpdateImageDeprecationParams

NewUpdateImageDeprecationParamsWithTimeout creates a new UpdateImageDeprecationParams object with the ability to set a timeout on a request.

func (*UpdateImageDeprecationParams) SetBody

SetBody adds the body to the update image deprecation params

func (*UpdateImageDeprecationParams) SetContext

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

SetContext adds the context to the update image deprecation params

func (*UpdateImageDeprecationParams) SetDefaults

func (o *UpdateImageDeprecationParams) SetDefaults()

SetDefaults hydrates default values in the update image deprecation params (not the query body).

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

func (*UpdateImageDeprecationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update image deprecation params

func (*UpdateImageDeprecationParams) SetImageFamily

func (o *UpdateImageDeprecationParams) SetImageFamily(imageFamily string)

SetImageFamily adds the imageFamily to the update image deprecation params

func (*UpdateImageDeprecationParams) SetImageTag

func (o *UpdateImageDeprecationParams) SetImageTag(imageTag string)

SetImageTag adds the imageTag to the update image deprecation params

func (*UpdateImageDeprecationParams) SetStackID

func (o *UpdateImageDeprecationParams) SetStackID(stackID string)

SetStackID adds the stackId to the update image deprecation params

func (*UpdateImageDeprecationParams) SetTimeout

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

SetTimeout adds the timeout to the update image deprecation params

func (*UpdateImageDeprecationParams) WithBody

WithBody adds the body to the update image deprecation params

func (*UpdateImageDeprecationParams) WithContext

WithContext adds the context to the update image deprecation params

func (*UpdateImageDeprecationParams) WithDefaults

WithDefaults hydrates default values in the update image deprecation params (not the query body).

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

func (*UpdateImageDeprecationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update image deprecation params

func (*UpdateImageDeprecationParams) WithImageFamily

func (o *UpdateImageDeprecationParams) WithImageFamily(imageFamily string) *UpdateImageDeprecationParams

WithImageFamily adds the imageFamily to the update image deprecation params

func (*UpdateImageDeprecationParams) WithImageTag

WithImageTag adds the imageTag to the update image deprecation params

func (*UpdateImageDeprecationParams) WithStackID

WithStackID adds the stackID to the update image deprecation params

func (*UpdateImageDeprecationParams) WithTimeout

WithTimeout adds the timeout to the update image deprecation params

func (*UpdateImageDeprecationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateImageDeprecationReader

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

UpdateImageDeprecationReader is a Reader for the UpdateImageDeprecation structure.

func (*UpdateImageDeprecationReader) ReadResponse

func (o *UpdateImageDeprecationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateImageDeprecationUnauthorized

type UpdateImageDeprecationUnauthorized struct {
	Payload *workload_models.StackpathapiStatus
}

UpdateImageDeprecationUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewUpdateImageDeprecationUnauthorized

func NewUpdateImageDeprecationUnauthorized() *UpdateImageDeprecationUnauthorized

NewUpdateImageDeprecationUnauthorized creates a UpdateImageDeprecationUnauthorized with default headers values

func (*UpdateImageDeprecationUnauthorized) Code

Code gets the status code for the update image deprecation unauthorized response

func (*UpdateImageDeprecationUnauthorized) Error

func (*UpdateImageDeprecationUnauthorized) GetPayload

func (*UpdateImageDeprecationUnauthorized) IsClientError

func (o *UpdateImageDeprecationUnauthorized) IsClientError() bool

IsClientError returns true when this update image deprecation unauthorized response has a 4xx status code

func (*UpdateImageDeprecationUnauthorized) IsCode

IsCode returns true when this update image deprecation unauthorized response a status code equal to that given

func (*UpdateImageDeprecationUnauthorized) IsRedirect

func (o *UpdateImageDeprecationUnauthorized) IsRedirect() bool

IsRedirect returns true when this update image deprecation unauthorized response has a 3xx status code

func (*UpdateImageDeprecationUnauthorized) IsServerError

func (o *UpdateImageDeprecationUnauthorized) IsServerError() bool

IsServerError returns true when this update image deprecation unauthorized response has a 5xx status code

func (*UpdateImageDeprecationUnauthorized) IsSuccess

IsSuccess returns true when this update image deprecation unauthorized response has a 2xx status code

func (*UpdateImageDeprecationUnauthorized) String

type UpdateImageInternalServerError

type UpdateImageInternalServerError struct {
	Payload *workload_models.StackpathapiStatus
}

UpdateImageInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewUpdateImageInternalServerError

func NewUpdateImageInternalServerError() *UpdateImageInternalServerError

NewUpdateImageInternalServerError creates a UpdateImageInternalServerError with default headers values

func (*UpdateImageInternalServerError) Code

Code gets the status code for the update image internal server error response

func (*UpdateImageInternalServerError) Error

func (*UpdateImageInternalServerError) GetPayload

func (*UpdateImageInternalServerError) IsClientError

func (o *UpdateImageInternalServerError) IsClientError() bool

IsClientError returns true when this update image internal server error response has a 4xx status code

func (*UpdateImageInternalServerError) IsCode

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

IsCode returns true when this update image internal server error response a status code equal to that given

func (*UpdateImageInternalServerError) IsRedirect

func (o *UpdateImageInternalServerError) IsRedirect() bool

IsRedirect returns true when this update image internal server error response has a 3xx status code

func (*UpdateImageInternalServerError) IsServerError

func (o *UpdateImageInternalServerError) IsServerError() bool

IsServerError returns true when this update image internal server error response has a 5xx status code

func (*UpdateImageInternalServerError) IsSuccess

func (o *UpdateImageInternalServerError) IsSuccess() bool

IsSuccess returns true when this update image internal server error response has a 2xx status code

func (*UpdateImageInternalServerError) String

type UpdateImageOK

type UpdateImageOK struct {
	Payload *workload_models.V1UpdateImageResponse
}

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

UpdateImageOK update image o k

func NewUpdateImageOK

func NewUpdateImageOK() *UpdateImageOK

NewUpdateImageOK creates a UpdateImageOK with default headers values

func (*UpdateImageOK) Code

func (o *UpdateImageOK) Code() int

Code gets the status code for the update image o k response

func (*UpdateImageOK) Error

func (o *UpdateImageOK) Error() string

func (*UpdateImageOK) GetPayload

func (*UpdateImageOK) IsClientError

func (o *UpdateImageOK) IsClientError() bool

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

func (*UpdateImageOK) IsCode

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

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

func (*UpdateImageOK) IsRedirect

func (o *UpdateImageOK) IsRedirect() bool

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

func (*UpdateImageOK) IsServerError

func (o *UpdateImageOK) IsServerError() bool

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

func (*UpdateImageOK) IsSuccess

func (o *UpdateImageOK) IsSuccess() bool

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

func (*UpdateImageOK) String

func (o *UpdateImageOK) String() string

type UpdateImageParams

type UpdateImageParams struct {

	// Body.
	Body *workload_models.V1UpdateImageRequest

	/* ImageFamily.

	   An image's family!
	*/
	ImageFamily string

	/* ImageTag.

	   An image's tag!
	*/
	ImageTag string

	/* StackID.

	   A stack ID or slug
	*/
	StackID string

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

UpdateImageParams contains all the parameters to send to the API endpoint

for the update image operation.

Typically these are written to a http.Request.

func NewUpdateImageParams

func NewUpdateImageParams() *UpdateImageParams

NewUpdateImageParams creates a new UpdateImageParams 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 NewUpdateImageParamsWithContext

func NewUpdateImageParamsWithContext(ctx context.Context) *UpdateImageParams

NewUpdateImageParamsWithContext creates a new UpdateImageParams object with the ability to set a context for a request.

func NewUpdateImageParamsWithHTTPClient

func NewUpdateImageParamsWithHTTPClient(client *http.Client) *UpdateImageParams

NewUpdateImageParamsWithHTTPClient creates a new UpdateImageParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateImageParamsWithTimeout

func NewUpdateImageParamsWithTimeout(timeout time.Duration) *UpdateImageParams

NewUpdateImageParamsWithTimeout creates a new UpdateImageParams object with the ability to set a timeout on a request.

func (*UpdateImageParams) SetBody

SetBody adds the body to the update image params

func (*UpdateImageParams) SetContext

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

SetContext adds the context to the update image params

func (*UpdateImageParams) SetDefaults

func (o *UpdateImageParams) SetDefaults()

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

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

func (*UpdateImageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update image params

func (*UpdateImageParams) SetImageFamily

func (o *UpdateImageParams) SetImageFamily(imageFamily string)

SetImageFamily adds the imageFamily to the update image params

func (*UpdateImageParams) SetImageTag

func (o *UpdateImageParams) SetImageTag(imageTag string)

SetImageTag adds the imageTag to the update image params

func (*UpdateImageParams) SetStackID

func (o *UpdateImageParams) SetStackID(stackID string)

SetStackID adds the stackId to the update image params

func (*UpdateImageParams) SetTimeout

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

SetTimeout adds the timeout to the update image params

func (*UpdateImageParams) WithBody

WithBody adds the body to the update image params

func (*UpdateImageParams) WithContext

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

WithContext adds the context to the update image params

func (*UpdateImageParams) WithDefaults

func (o *UpdateImageParams) WithDefaults() *UpdateImageParams

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

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

func (*UpdateImageParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update image params

func (*UpdateImageParams) WithImageFamily

func (o *UpdateImageParams) WithImageFamily(imageFamily string) *UpdateImageParams

WithImageFamily adds the imageFamily to the update image params

func (*UpdateImageParams) WithImageTag

func (o *UpdateImageParams) WithImageTag(imageTag string) *UpdateImageParams

WithImageTag adds the imageTag to the update image params

func (*UpdateImageParams) WithStackID

func (o *UpdateImageParams) WithStackID(stackID string) *UpdateImageParams

WithStackID adds the stackID to the update image params

func (*UpdateImageParams) WithTimeout

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

WithTimeout adds the timeout to the update image params

func (*UpdateImageParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateImageReader

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

UpdateImageReader is a Reader for the UpdateImage structure.

func (*UpdateImageReader) ReadResponse

func (o *UpdateImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateImageUnauthorized

type UpdateImageUnauthorized struct {
	Payload *workload_models.StackpathapiStatus
}

UpdateImageUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewUpdateImageUnauthorized

func NewUpdateImageUnauthorized() *UpdateImageUnauthorized

NewUpdateImageUnauthorized creates a UpdateImageUnauthorized with default headers values

func (*UpdateImageUnauthorized) Code

func (o *UpdateImageUnauthorized) Code() int

Code gets the status code for the update image unauthorized response

func (*UpdateImageUnauthorized) Error

func (o *UpdateImageUnauthorized) Error() string

func (*UpdateImageUnauthorized) GetPayload

func (*UpdateImageUnauthorized) IsClientError

func (o *UpdateImageUnauthorized) IsClientError() bool

IsClientError returns true when this update image unauthorized response has a 4xx status code

func (*UpdateImageUnauthorized) IsCode

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

IsCode returns true when this update image unauthorized response a status code equal to that given

func (*UpdateImageUnauthorized) IsRedirect

func (o *UpdateImageUnauthorized) IsRedirect() bool

IsRedirect returns true when this update image unauthorized response has a 3xx status code

func (*UpdateImageUnauthorized) IsServerError

func (o *UpdateImageUnauthorized) IsServerError() bool

IsServerError returns true when this update image unauthorized response has a 5xx status code

func (*UpdateImageUnauthorized) IsSuccess

func (o *UpdateImageUnauthorized) IsSuccess() bool

IsSuccess returns true when this update image unauthorized response has a 2xx status code

func (*UpdateImageUnauthorized) String

func (o *UpdateImageUnauthorized) String() string

Jump to

Keyboard shortcuts

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