Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateImage(params *CreateImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateImageOK, error)
- func (a *Client) DeleteImage(params *DeleteImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteImageNoContent, error)
- func (a *Client) DeleteImagesForFamily(params *DeleteImagesForFamilyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteImagesForFamilyNoContent, error)
- func (a *Client) GetImage(params *GetImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetImageOK, error)
- func (a *Client) GetImages(params *GetImagesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetImagesOK, error)
- func (a *Client) GetImagesForFamily(params *GetImagesForFamilyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetImagesForFamilyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateImage(params *UpdateImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateImageOK, error)
- func (a *Client) UpdateImageDeprecation(params *UpdateImageDeprecationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateImageDeprecationOK, error)
- type ClientOption
- type ClientService
- type CreateImageDefault
- func (o *CreateImageDefault) Code() int
- func (o *CreateImageDefault) Error() string
- func (o *CreateImageDefault) GetPayload() *workload_models.StackpathapiStatus
- func (o *CreateImageDefault) IsClientError() bool
- func (o *CreateImageDefault) IsCode(code int) bool
- func (o *CreateImageDefault) IsRedirect() bool
- func (o *CreateImageDefault) IsServerError() bool
- func (o *CreateImageDefault) IsSuccess() bool
- func (o *CreateImageDefault) String() string
- type CreateImageInternalServerError
- func (o *CreateImageInternalServerError) Code() int
- func (o *CreateImageInternalServerError) Error() string
- func (o *CreateImageInternalServerError) GetPayload() *workload_models.StackpathapiStatus
- func (o *CreateImageInternalServerError) IsClientError() bool
- func (o *CreateImageInternalServerError) IsCode(code int) bool
- func (o *CreateImageInternalServerError) IsRedirect() bool
- func (o *CreateImageInternalServerError) IsServerError() bool
- func (o *CreateImageInternalServerError) IsSuccess() bool
- func (o *CreateImageInternalServerError) String() string
- type CreateImageOK
- func (o *CreateImageOK) Code() int
- func (o *CreateImageOK) Error() string
- func (o *CreateImageOK) GetPayload() *workload_models.V1CreateImageResponse
- func (o *CreateImageOK) IsClientError() bool
- func (o *CreateImageOK) IsCode(code int) bool
- func (o *CreateImageOK) IsRedirect() bool
- func (o *CreateImageOK) IsServerError() bool
- func (o *CreateImageOK) IsSuccess() bool
- func (o *CreateImageOK) String() string
- type CreateImageParams
- func (o *CreateImageParams) SetBody(body *workload_models.V1CreateImageRequest)
- func (o *CreateImageParams) SetContext(ctx context.Context)
- func (o *CreateImageParams) SetDefaults()
- func (o *CreateImageParams) SetHTTPClient(client *http.Client)
- func (o *CreateImageParams) SetImageFamily(imageFamily string)
- func (o *CreateImageParams) SetImageStackID(imageStackID string)
- func (o *CreateImageParams) SetImageTag(imageTag string)
- func (o *CreateImageParams) SetTimeout(timeout time.Duration)
- func (o *CreateImageParams) WithBody(body *workload_models.V1CreateImageRequest) *CreateImageParams
- func (o *CreateImageParams) WithContext(ctx context.Context) *CreateImageParams
- func (o *CreateImageParams) WithDefaults() *CreateImageParams
- func (o *CreateImageParams) WithHTTPClient(client *http.Client) *CreateImageParams
- func (o *CreateImageParams) WithImageFamily(imageFamily string) *CreateImageParams
- func (o *CreateImageParams) WithImageStackID(imageStackID string) *CreateImageParams
- func (o *CreateImageParams) WithImageTag(imageTag string) *CreateImageParams
- func (o *CreateImageParams) WithTimeout(timeout time.Duration) *CreateImageParams
- func (o *CreateImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateImageReader
- type CreateImageUnauthorized
- func (o *CreateImageUnauthorized) Code() int
- func (o *CreateImageUnauthorized) Error() string
- func (o *CreateImageUnauthorized) GetPayload() *workload_models.StackpathapiStatus
- func (o *CreateImageUnauthorized) IsClientError() bool
- func (o *CreateImageUnauthorized) IsCode(code int) bool
- func (o *CreateImageUnauthorized) IsRedirect() bool
- func (o *CreateImageUnauthorized) IsServerError() bool
- func (o *CreateImageUnauthorized) IsSuccess() bool
- func (o *CreateImageUnauthorized) String() string
- type DeleteImageDefault
- func (o *DeleteImageDefault) Code() int
- func (o *DeleteImageDefault) Error() string
- func (o *DeleteImageDefault) GetPayload() *workload_models.StackpathapiStatus
- func (o *DeleteImageDefault) IsClientError() bool
- func (o *DeleteImageDefault) IsCode(code int) bool
- func (o *DeleteImageDefault) IsRedirect() bool
- func (o *DeleteImageDefault) IsServerError() bool
- func (o *DeleteImageDefault) IsSuccess() bool
- func (o *DeleteImageDefault) String() string
- type DeleteImageInternalServerError
- func (o *DeleteImageInternalServerError) Code() int
- func (o *DeleteImageInternalServerError) Error() string
- func (o *DeleteImageInternalServerError) GetPayload() *workload_models.StackpathapiStatus
- func (o *DeleteImageInternalServerError) IsClientError() bool
- func (o *DeleteImageInternalServerError) IsCode(code int) bool
- func (o *DeleteImageInternalServerError) IsRedirect() bool
- func (o *DeleteImageInternalServerError) IsServerError() bool
- func (o *DeleteImageInternalServerError) IsSuccess() bool
- func (o *DeleteImageInternalServerError) String() string
- type DeleteImageNoContent
- func (o *DeleteImageNoContent) Code() int
- func (o *DeleteImageNoContent) Error() string
- func (o *DeleteImageNoContent) IsClientError() bool
- func (o *DeleteImageNoContent) IsCode(code int) bool
- func (o *DeleteImageNoContent) IsRedirect() bool
- func (o *DeleteImageNoContent) IsServerError() bool
- func (o *DeleteImageNoContent) IsSuccess() bool
- func (o *DeleteImageNoContent) String() string
- type DeleteImageParams
- func (o *DeleteImageParams) SetContext(ctx context.Context)
- func (o *DeleteImageParams) SetDefaults()
- func (o *DeleteImageParams) SetHTTPClient(client *http.Client)
- func (o *DeleteImageParams) SetImageFamily(imageFamily string)
- func (o *DeleteImageParams) SetImageTag(imageTag string)
- func (o *DeleteImageParams) SetStackID(stackID string)
- func (o *DeleteImageParams) SetTimeout(timeout time.Duration)
- func (o *DeleteImageParams) WithContext(ctx context.Context) *DeleteImageParams
- func (o *DeleteImageParams) WithDefaults() *DeleteImageParams
- func (o *DeleteImageParams) WithHTTPClient(client *http.Client) *DeleteImageParams
- func (o *DeleteImageParams) WithImageFamily(imageFamily string) *DeleteImageParams
- func (o *DeleteImageParams) WithImageTag(imageTag string) *DeleteImageParams
- func (o *DeleteImageParams) WithStackID(stackID string) *DeleteImageParams
- func (o *DeleteImageParams) WithTimeout(timeout time.Duration) *DeleteImageParams
- func (o *DeleteImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteImageReader
- type DeleteImageUnauthorized
- func (o *DeleteImageUnauthorized) Code() int
- func (o *DeleteImageUnauthorized) Error() string
- func (o *DeleteImageUnauthorized) GetPayload() *workload_models.StackpathapiStatus
- func (o *DeleteImageUnauthorized) IsClientError() bool
- func (o *DeleteImageUnauthorized) IsCode(code int) bool
- func (o *DeleteImageUnauthorized) IsRedirect() bool
- func (o *DeleteImageUnauthorized) IsServerError() bool
- func (o *DeleteImageUnauthorized) IsSuccess() bool
- func (o *DeleteImageUnauthorized) String() string
- type DeleteImagesForFamilyDefault
- func (o *DeleteImagesForFamilyDefault) Code() int
- func (o *DeleteImagesForFamilyDefault) Error() string
- func (o *DeleteImagesForFamilyDefault) GetPayload() *workload_models.StackpathapiStatus
- func (o *DeleteImagesForFamilyDefault) IsClientError() bool
- func (o *DeleteImagesForFamilyDefault) IsCode(code int) bool
- func (o *DeleteImagesForFamilyDefault) IsRedirect() bool
- func (o *DeleteImagesForFamilyDefault) IsServerError() bool
- func (o *DeleteImagesForFamilyDefault) IsSuccess() bool
- func (o *DeleteImagesForFamilyDefault) String() string
- type DeleteImagesForFamilyInternalServerError
- func (o *DeleteImagesForFamilyInternalServerError) Code() int
- func (o *DeleteImagesForFamilyInternalServerError) Error() string
- func (o *DeleteImagesForFamilyInternalServerError) GetPayload() *workload_models.StackpathapiStatus
- func (o *DeleteImagesForFamilyInternalServerError) IsClientError() bool
- func (o *DeleteImagesForFamilyInternalServerError) IsCode(code int) bool
- func (o *DeleteImagesForFamilyInternalServerError) IsRedirect() bool
- func (o *DeleteImagesForFamilyInternalServerError) IsServerError() bool
- func (o *DeleteImagesForFamilyInternalServerError) IsSuccess() bool
- func (o *DeleteImagesForFamilyInternalServerError) String() string
- type DeleteImagesForFamilyNoContent
- func (o *DeleteImagesForFamilyNoContent) Code() int
- func (o *DeleteImagesForFamilyNoContent) Error() string
- func (o *DeleteImagesForFamilyNoContent) IsClientError() bool
- func (o *DeleteImagesForFamilyNoContent) IsCode(code int) bool
- func (o *DeleteImagesForFamilyNoContent) IsRedirect() bool
- func (o *DeleteImagesForFamilyNoContent) IsServerError() bool
- func (o *DeleteImagesForFamilyNoContent) IsSuccess() bool
- func (o *DeleteImagesForFamilyNoContent) String() string
- type DeleteImagesForFamilyParams
- func NewDeleteImagesForFamilyParams() *DeleteImagesForFamilyParams
- func NewDeleteImagesForFamilyParamsWithContext(ctx context.Context) *DeleteImagesForFamilyParams
- func NewDeleteImagesForFamilyParamsWithHTTPClient(client *http.Client) *DeleteImagesForFamilyParams
- func NewDeleteImagesForFamilyParamsWithTimeout(timeout time.Duration) *DeleteImagesForFamilyParams
- func (o *DeleteImagesForFamilyParams) SetContext(ctx context.Context)
- func (o *DeleteImagesForFamilyParams) SetDefaults()
- func (o *DeleteImagesForFamilyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteImagesForFamilyParams) SetImageFamily(imageFamily string)
- func (o *DeleteImagesForFamilyParams) SetStackID(stackID string)
- func (o *DeleteImagesForFamilyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteImagesForFamilyParams) WithContext(ctx context.Context) *DeleteImagesForFamilyParams
- func (o *DeleteImagesForFamilyParams) WithDefaults() *DeleteImagesForFamilyParams
- func (o *DeleteImagesForFamilyParams) WithHTTPClient(client *http.Client) *DeleteImagesForFamilyParams
- func (o *DeleteImagesForFamilyParams) WithImageFamily(imageFamily string) *DeleteImagesForFamilyParams
- func (o *DeleteImagesForFamilyParams) WithStackID(stackID string) *DeleteImagesForFamilyParams
- func (o *DeleteImagesForFamilyParams) WithTimeout(timeout time.Duration) *DeleteImagesForFamilyParams
- func (o *DeleteImagesForFamilyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteImagesForFamilyReader
- type DeleteImagesForFamilyUnauthorized
- func (o *DeleteImagesForFamilyUnauthorized) Code() int
- func (o *DeleteImagesForFamilyUnauthorized) Error() string
- func (o *DeleteImagesForFamilyUnauthorized) GetPayload() *workload_models.StackpathapiStatus
- func (o *DeleteImagesForFamilyUnauthorized) IsClientError() bool
- func (o *DeleteImagesForFamilyUnauthorized) IsCode(code int) bool
- func (o *DeleteImagesForFamilyUnauthorized) IsRedirect() bool
- func (o *DeleteImagesForFamilyUnauthorized) IsServerError() bool
- func (o *DeleteImagesForFamilyUnauthorized) IsSuccess() bool
- func (o *DeleteImagesForFamilyUnauthorized) String() string
- type GetImageDefault
- func (o *GetImageDefault) Code() int
- func (o *GetImageDefault) Error() string
- func (o *GetImageDefault) GetPayload() *workload_models.StackpathapiStatus
- func (o *GetImageDefault) IsClientError() bool
- func (o *GetImageDefault) IsCode(code int) bool
- func (o *GetImageDefault) IsRedirect() bool
- func (o *GetImageDefault) IsServerError() bool
- func (o *GetImageDefault) IsSuccess() bool
- func (o *GetImageDefault) String() string
- type GetImageInternalServerError
- func (o *GetImageInternalServerError) Code() int
- func (o *GetImageInternalServerError) Error() string
- func (o *GetImageInternalServerError) GetPayload() *workload_models.StackpathapiStatus
- func (o *GetImageInternalServerError) IsClientError() bool
- func (o *GetImageInternalServerError) IsCode(code int) bool
- func (o *GetImageInternalServerError) IsRedirect() bool
- func (o *GetImageInternalServerError) IsServerError() bool
- func (o *GetImageInternalServerError) IsSuccess() bool
- func (o *GetImageInternalServerError) String() string
- type GetImageOK
- func (o *GetImageOK) Code() int
- func (o *GetImageOK) Error() string
- func (o *GetImageOK) GetPayload() *workload_models.V1GetImageResponse
- func (o *GetImageOK) IsClientError() bool
- func (o *GetImageOK) IsCode(code int) bool
- func (o *GetImageOK) IsRedirect() bool
- func (o *GetImageOK) IsServerError() bool
- func (o *GetImageOK) IsSuccess() bool
- func (o *GetImageOK) String() string
- type GetImageParams
- func (o *GetImageParams) SetContext(ctx context.Context)
- func (o *GetImageParams) SetDefaults()
- func (o *GetImageParams) SetHTTPClient(client *http.Client)
- func (o *GetImageParams) SetImageFamily(imageFamily string)
- func (o *GetImageParams) SetImageTag(imageTag string)
- func (o *GetImageParams) SetStackID(stackID string)
- func (o *GetImageParams) SetTimeout(timeout time.Duration)
- func (o *GetImageParams) WithContext(ctx context.Context) *GetImageParams
- func (o *GetImageParams) WithDefaults() *GetImageParams
- func (o *GetImageParams) WithHTTPClient(client *http.Client) *GetImageParams
- func (o *GetImageParams) WithImageFamily(imageFamily string) *GetImageParams
- func (o *GetImageParams) WithImageTag(imageTag string) *GetImageParams
- func (o *GetImageParams) WithStackID(stackID string) *GetImageParams
- func (o *GetImageParams) WithTimeout(timeout time.Duration) *GetImageParams
- func (o *GetImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetImageReader
- type GetImageUnauthorized
- func (o *GetImageUnauthorized) Code() int
- func (o *GetImageUnauthorized) Error() string
- func (o *GetImageUnauthorized) GetPayload() *workload_models.StackpathapiStatus
- func (o *GetImageUnauthorized) IsClientError() bool
- func (o *GetImageUnauthorized) IsCode(code int) bool
- func (o *GetImageUnauthorized) IsRedirect() bool
- func (o *GetImageUnauthorized) IsServerError() bool
- func (o *GetImageUnauthorized) IsSuccess() bool
- func (o *GetImageUnauthorized) String() string
- type GetImagesDefault
- func (o *GetImagesDefault) Code() int
- func (o *GetImagesDefault) Error() string
- func (o *GetImagesDefault) GetPayload() *workload_models.StackpathapiStatus
- func (o *GetImagesDefault) IsClientError() bool
- func (o *GetImagesDefault) IsCode(code int) bool
- func (o *GetImagesDefault) IsRedirect() bool
- func (o *GetImagesDefault) IsServerError() bool
- func (o *GetImagesDefault) IsSuccess() bool
- func (o *GetImagesDefault) String() string
- type GetImagesForFamilyDefault
- func (o *GetImagesForFamilyDefault) Code() int
- func (o *GetImagesForFamilyDefault) Error() string
- func (o *GetImagesForFamilyDefault) GetPayload() *workload_models.StackpathapiStatus
- func (o *GetImagesForFamilyDefault) IsClientError() bool
- func (o *GetImagesForFamilyDefault) IsCode(code int) bool
- func (o *GetImagesForFamilyDefault) IsRedirect() bool
- func (o *GetImagesForFamilyDefault) IsServerError() bool
- func (o *GetImagesForFamilyDefault) IsSuccess() bool
- func (o *GetImagesForFamilyDefault) String() string
- type GetImagesForFamilyInternalServerError
- func (o *GetImagesForFamilyInternalServerError) Code() int
- func (o *GetImagesForFamilyInternalServerError) Error() string
- func (o *GetImagesForFamilyInternalServerError) GetPayload() *workload_models.StackpathapiStatus
- func (o *GetImagesForFamilyInternalServerError) IsClientError() bool
- func (o *GetImagesForFamilyInternalServerError) IsCode(code int) bool
- func (o *GetImagesForFamilyInternalServerError) IsRedirect() bool
- func (o *GetImagesForFamilyInternalServerError) IsServerError() bool
- func (o *GetImagesForFamilyInternalServerError) IsSuccess() bool
- func (o *GetImagesForFamilyInternalServerError) String() string
- type GetImagesForFamilyOK
- func (o *GetImagesForFamilyOK) Code() int
- func (o *GetImagesForFamilyOK) Error() string
- func (o *GetImagesForFamilyOK) GetPayload() *workload_models.V1GetImagesForFamilyResponse
- func (o *GetImagesForFamilyOK) IsClientError() bool
- func (o *GetImagesForFamilyOK) IsCode(code int) bool
- func (o *GetImagesForFamilyOK) IsRedirect() bool
- func (o *GetImagesForFamilyOK) IsServerError() bool
- func (o *GetImagesForFamilyOK) IsSuccess() bool
- func (o *GetImagesForFamilyOK) String() string
- type GetImagesForFamilyParams
- func NewGetImagesForFamilyParams() *GetImagesForFamilyParams
- func NewGetImagesForFamilyParamsWithContext(ctx context.Context) *GetImagesForFamilyParams
- func NewGetImagesForFamilyParamsWithHTTPClient(client *http.Client) *GetImagesForFamilyParams
- func NewGetImagesForFamilyParamsWithTimeout(timeout time.Duration) *GetImagesForFamilyParams
- func (o *GetImagesForFamilyParams) SetContext(ctx context.Context)
- func (o *GetImagesForFamilyParams) SetDefaults()
- func (o *GetImagesForFamilyParams) SetDeprecated(deprecated *bool)
- func (o *GetImagesForFamilyParams) SetHTTPClient(client *http.Client)
- func (o *GetImagesForFamilyParams) SetImageFamily(imageFamily string)
- func (o *GetImagesForFamilyParams) SetPageRequestAfter(pageRequestAfter *string)
- func (o *GetImagesForFamilyParams) SetPageRequestFilter(pageRequestFilter *string)
- func (o *GetImagesForFamilyParams) SetPageRequestFirst(pageRequestFirst *string)
- func (o *GetImagesForFamilyParams) SetPageRequestSortBy(pageRequestSortBy *string)
- func (o *GetImagesForFamilyParams) SetStackID(stackID string)
- func (o *GetImagesForFamilyParams) SetTimeout(timeout time.Duration)
- func (o *GetImagesForFamilyParams) WithContext(ctx context.Context) *GetImagesForFamilyParams
- func (o *GetImagesForFamilyParams) WithDefaults() *GetImagesForFamilyParams
- func (o *GetImagesForFamilyParams) WithDeprecated(deprecated *bool) *GetImagesForFamilyParams
- func (o *GetImagesForFamilyParams) WithHTTPClient(client *http.Client) *GetImagesForFamilyParams
- func (o *GetImagesForFamilyParams) WithImageFamily(imageFamily string) *GetImagesForFamilyParams
- func (o *GetImagesForFamilyParams) WithPageRequestAfter(pageRequestAfter *string) *GetImagesForFamilyParams
- func (o *GetImagesForFamilyParams) WithPageRequestFilter(pageRequestFilter *string) *GetImagesForFamilyParams
- func (o *GetImagesForFamilyParams) WithPageRequestFirst(pageRequestFirst *string) *GetImagesForFamilyParams
- func (o *GetImagesForFamilyParams) WithPageRequestSortBy(pageRequestSortBy *string) *GetImagesForFamilyParams
- func (o *GetImagesForFamilyParams) WithStackID(stackID string) *GetImagesForFamilyParams
- func (o *GetImagesForFamilyParams) WithTimeout(timeout time.Duration) *GetImagesForFamilyParams
- func (o *GetImagesForFamilyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetImagesForFamilyReader
- type GetImagesForFamilyUnauthorized
- func (o *GetImagesForFamilyUnauthorized) Code() int
- func (o *GetImagesForFamilyUnauthorized) Error() string
- func (o *GetImagesForFamilyUnauthorized) GetPayload() *workload_models.StackpathapiStatus
- func (o *GetImagesForFamilyUnauthorized) IsClientError() bool
- func (o *GetImagesForFamilyUnauthorized) IsCode(code int) bool
- func (o *GetImagesForFamilyUnauthorized) IsRedirect() bool
- func (o *GetImagesForFamilyUnauthorized) IsServerError() bool
- func (o *GetImagesForFamilyUnauthorized) IsSuccess() bool
- func (o *GetImagesForFamilyUnauthorized) String() string
- type GetImagesInternalServerError
- func (o *GetImagesInternalServerError) Code() int
- func (o *GetImagesInternalServerError) Error() string
- func (o *GetImagesInternalServerError) GetPayload() *workload_models.StackpathapiStatus
- func (o *GetImagesInternalServerError) IsClientError() bool
- func (o *GetImagesInternalServerError) IsCode(code int) bool
- func (o *GetImagesInternalServerError) IsRedirect() bool
- func (o *GetImagesInternalServerError) IsServerError() bool
- func (o *GetImagesInternalServerError) IsSuccess() bool
- func (o *GetImagesInternalServerError) String() string
- type GetImagesOK
- func (o *GetImagesOK) Code() int
- func (o *GetImagesOK) Error() string
- func (o *GetImagesOK) GetPayload() *workload_models.V1GetImagesResponse
- func (o *GetImagesOK) IsClientError() bool
- func (o *GetImagesOK) IsCode(code int) bool
- func (o *GetImagesOK) IsRedirect() bool
- func (o *GetImagesOK) IsServerError() bool
- func (o *GetImagesOK) IsSuccess() bool
- func (o *GetImagesOK) String() string
- type GetImagesParams
- func (o *GetImagesParams) SetContext(ctx context.Context)
- func (o *GetImagesParams) SetDefaults()
- func (o *GetImagesParams) SetDeprecated(deprecated *bool)
- func (o *GetImagesParams) SetHTTPClient(client *http.Client)
- func (o *GetImagesParams) SetPageRequestAfter(pageRequestAfter *string)
- func (o *GetImagesParams) SetPageRequestFilter(pageRequestFilter *string)
- func (o *GetImagesParams) SetPageRequestFirst(pageRequestFirst *string)
- func (o *GetImagesParams) SetPageRequestSortBy(pageRequestSortBy *string)
- func (o *GetImagesParams) SetStackID(stackID string)
- func (o *GetImagesParams) SetTimeout(timeout time.Duration)
- func (o *GetImagesParams) WithContext(ctx context.Context) *GetImagesParams
- func (o *GetImagesParams) WithDefaults() *GetImagesParams
- func (o *GetImagesParams) WithDeprecated(deprecated *bool) *GetImagesParams
- func (o *GetImagesParams) WithHTTPClient(client *http.Client) *GetImagesParams
- func (o *GetImagesParams) WithPageRequestAfter(pageRequestAfter *string) *GetImagesParams
- func (o *GetImagesParams) WithPageRequestFilter(pageRequestFilter *string) *GetImagesParams
- func (o *GetImagesParams) WithPageRequestFirst(pageRequestFirst *string) *GetImagesParams
- func (o *GetImagesParams) WithPageRequestSortBy(pageRequestSortBy *string) *GetImagesParams
- func (o *GetImagesParams) WithStackID(stackID string) *GetImagesParams
- func (o *GetImagesParams) WithTimeout(timeout time.Duration) *GetImagesParams
- func (o *GetImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetImagesReader
- type GetImagesUnauthorized
- func (o *GetImagesUnauthorized) Code() int
- func (o *GetImagesUnauthorized) Error() string
- func (o *GetImagesUnauthorized) GetPayload() *workload_models.StackpathapiStatus
- func (o *GetImagesUnauthorized) IsClientError() bool
- func (o *GetImagesUnauthorized) IsCode(code int) bool
- func (o *GetImagesUnauthorized) IsRedirect() bool
- func (o *GetImagesUnauthorized) IsServerError() bool
- func (o *GetImagesUnauthorized) IsSuccess() bool
- func (o *GetImagesUnauthorized) String() string
- type UpdateImageDefault
- func (o *UpdateImageDefault) Code() int
- func (o *UpdateImageDefault) Error() string
- func (o *UpdateImageDefault) GetPayload() *workload_models.StackpathapiStatus
- func (o *UpdateImageDefault) IsClientError() bool
- func (o *UpdateImageDefault) IsCode(code int) bool
- func (o *UpdateImageDefault) IsRedirect() bool
- func (o *UpdateImageDefault) IsServerError() bool
- func (o *UpdateImageDefault) IsSuccess() bool
- func (o *UpdateImageDefault) String() string
- type UpdateImageDeprecationDefault
- func (o *UpdateImageDeprecationDefault) Code() int
- func (o *UpdateImageDeprecationDefault) Error() string
- func (o *UpdateImageDeprecationDefault) GetPayload() *workload_models.StackpathapiStatus
- func (o *UpdateImageDeprecationDefault) IsClientError() bool
- func (o *UpdateImageDeprecationDefault) IsCode(code int) bool
- func (o *UpdateImageDeprecationDefault) IsRedirect() bool
- func (o *UpdateImageDeprecationDefault) IsServerError() bool
- func (o *UpdateImageDeprecationDefault) IsSuccess() bool
- func (o *UpdateImageDeprecationDefault) String() string
- type UpdateImageDeprecationInternalServerError
- func (o *UpdateImageDeprecationInternalServerError) Code() int
- func (o *UpdateImageDeprecationInternalServerError) Error() string
- func (o *UpdateImageDeprecationInternalServerError) GetPayload() *workload_models.StackpathapiStatus
- func (o *UpdateImageDeprecationInternalServerError) IsClientError() bool
- func (o *UpdateImageDeprecationInternalServerError) IsCode(code int) bool
- func (o *UpdateImageDeprecationInternalServerError) IsRedirect() bool
- func (o *UpdateImageDeprecationInternalServerError) IsServerError() bool
- func (o *UpdateImageDeprecationInternalServerError) IsSuccess() bool
- func (o *UpdateImageDeprecationInternalServerError) String() string
- type UpdateImageDeprecationOK
- func (o *UpdateImageDeprecationOK) Code() int
- func (o *UpdateImageDeprecationOK) Error() string
- func (o *UpdateImageDeprecationOK) GetPayload() *workload_models.V1UpdateImageDeprecationResponse
- func (o *UpdateImageDeprecationOK) IsClientError() bool
- func (o *UpdateImageDeprecationOK) IsCode(code int) bool
- func (o *UpdateImageDeprecationOK) IsRedirect() bool
- func (o *UpdateImageDeprecationOK) IsServerError() bool
- func (o *UpdateImageDeprecationOK) IsSuccess() bool
- func (o *UpdateImageDeprecationOK) String() string
- type UpdateImageDeprecationParams
- func NewUpdateImageDeprecationParams() *UpdateImageDeprecationParams
- func NewUpdateImageDeprecationParamsWithContext(ctx context.Context) *UpdateImageDeprecationParams
- func NewUpdateImageDeprecationParamsWithHTTPClient(client *http.Client) *UpdateImageDeprecationParams
- func NewUpdateImageDeprecationParamsWithTimeout(timeout time.Duration) *UpdateImageDeprecationParams
- func (o *UpdateImageDeprecationParams) SetBody(body *workload_models.V1ImageDeprecation)
- func (o *UpdateImageDeprecationParams) SetContext(ctx context.Context)
- func (o *UpdateImageDeprecationParams) SetDefaults()
- func (o *UpdateImageDeprecationParams) SetHTTPClient(client *http.Client)
- func (o *UpdateImageDeprecationParams) SetImageFamily(imageFamily string)
- func (o *UpdateImageDeprecationParams) SetImageTag(imageTag string)
- func (o *UpdateImageDeprecationParams) SetStackID(stackID string)
- func (o *UpdateImageDeprecationParams) SetTimeout(timeout time.Duration)
- func (o *UpdateImageDeprecationParams) WithBody(body *workload_models.V1ImageDeprecation) *UpdateImageDeprecationParams
- func (o *UpdateImageDeprecationParams) WithContext(ctx context.Context) *UpdateImageDeprecationParams
- func (o *UpdateImageDeprecationParams) WithDefaults() *UpdateImageDeprecationParams
- func (o *UpdateImageDeprecationParams) WithHTTPClient(client *http.Client) *UpdateImageDeprecationParams
- func (o *UpdateImageDeprecationParams) WithImageFamily(imageFamily string) *UpdateImageDeprecationParams
- func (o *UpdateImageDeprecationParams) WithImageTag(imageTag string) *UpdateImageDeprecationParams
- func (o *UpdateImageDeprecationParams) WithStackID(stackID string) *UpdateImageDeprecationParams
- func (o *UpdateImageDeprecationParams) WithTimeout(timeout time.Duration) *UpdateImageDeprecationParams
- func (o *UpdateImageDeprecationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateImageDeprecationReader
- type UpdateImageDeprecationUnauthorized
- func (o *UpdateImageDeprecationUnauthorized) Code() int
- func (o *UpdateImageDeprecationUnauthorized) Error() string
- func (o *UpdateImageDeprecationUnauthorized) GetPayload() *workload_models.StackpathapiStatus
- func (o *UpdateImageDeprecationUnauthorized) IsClientError() bool
- func (o *UpdateImageDeprecationUnauthorized) IsCode(code int) bool
- func (o *UpdateImageDeprecationUnauthorized) IsRedirect() bool
- func (o *UpdateImageDeprecationUnauthorized) IsServerError() bool
- func (o *UpdateImageDeprecationUnauthorized) IsSuccess() bool
- func (o *UpdateImageDeprecationUnauthorized) String() string
- type UpdateImageInternalServerError
- func (o *UpdateImageInternalServerError) Code() int
- func (o *UpdateImageInternalServerError) Error() string
- func (o *UpdateImageInternalServerError) GetPayload() *workload_models.StackpathapiStatus
- func (o *UpdateImageInternalServerError) IsClientError() bool
- func (o *UpdateImageInternalServerError) IsCode(code int) bool
- func (o *UpdateImageInternalServerError) IsRedirect() bool
- func (o *UpdateImageInternalServerError) IsServerError() bool
- func (o *UpdateImageInternalServerError) IsSuccess() bool
- func (o *UpdateImageInternalServerError) String() string
- type UpdateImageOK
- func (o *UpdateImageOK) Code() int
- func (o *UpdateImageOK) Error() string
- func (o *UpdateImageOK) GetPayload() *workload_models.V1UpdateImageResponse
- func (o *UpdateImageOK) IsClientError() bool
- func (o *UpdateImageOK) IsCode(code int) bool
- func (o *UpdateImageOK) IsRedirect() bool
- func (o *UpdateImageOK) IsServerError() bool
- func (o *UpdateImageOK) IsSuccess() bool
- func (o *UpdateImageOK) String() string
- type UpdateImageParams
- func (o *UpdateImageParams) SetBody(body *workload_models.V1UpdateImageRequest)
- func (o *UpdateImageParams) SetContext(ctx context.Context)
- func (o *UpdateImageParams) SetDefaults()
- func (o *UpdateImageParams) SetHTTPClient(client *http.Client)
- func (o *UpdateImageParams) SetImageFamily(imageFamily string)
- func (o *UpdateImageParams) SetImageStackID(imageStackID string)
- func (o *UpdateImageParams) SetImageTag(imageTag string)
- func (o *UpdateImageParams) SetTimeout(timeout time.Duration)
- func (o *UpdateImageParams) WithBody(body *workload_models.V1UpdateImageRequest) *UpdateImageParams
- func (o *UpdateImageParams) WithContext(ctx context.Context) *UpdateImageParams
- func (o *UpdateImageParams) WithDefaults() *UpdateImageParams
- func (o *UpdateImageParams) WithHTTPClient(client *http.Client) *UpdateImageParams
- func (o *UpdateImageParams) WithImageFamily(imageFamily string) *UpdateImageParams
- func (o *UpdateImageParams) WithImageStackID(imageStackID string) *UpdateImageParams
- func (o *UpdateImageParams) WithImageTag(imageTag string) *UpdateImageParams
- func (o *UpdateImageParams) WithTimeout(timeout time.Duration) *UpdateImageParams
- func (o *UpdateImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateImageReader
- type UpdateImageUnauthorized
- func (o *UpdateImageUnauthorized) Code() int
- func (o *UpdateImageUnauthorized) Error() string
- func (o *UpdateImageUnauthorized) GetPayload() *workload_models.StackpathapiStatus
- func (o *UpdateImageUnauthorized) IsClientError() bool
- func (o *UpdateImageUnauthorized) IsCode(code int) bool
- func (o *UpdateImageUnauthorized) IsRedirect() bool
- func (o *UpdateImageUnauthorized) IsServerError() bool
- func (o *UpdateImageUnauthorized) IsSuccess() bool
- func (o *UpdateImageUnauthorized) String() string
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 image API
func (*Client) CreateImage ¶
func (a *Client) CreateImage(params *CreateImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateImageOK, error)
CreateImage creates a new 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 all images for a family
This will not error if there was nothing to delete
func (*Client) GetImage ¶
func (a *Client) GetImage(params *GetImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetImageOK, error)
GetImage retrieves an individual image
Tag can be 'default' to get the default image
func (*Client) GetImages ¶
func (a *Client) GetImages(params *GetImagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetImagesOK, error)
GetImages retrieves a stack s 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 retrieves all images for the given family
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 currently. The metadata, if set, will replace 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 for an image
This will replace existing deprecation settings, which means it can undeprecate.
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 image 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 (o *CreateImageDefault) GetPayload() *workload_models.StackpathapiStatus
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 ¶
func (o *CreateImageInternalServerError) Code() int
Code gets the status code for the create image internal server error response
func (*CreateImageInternalServerError) Error ¶
func (o *CreateImageInternalServerError) Error() string
func (*CreateImageInternalServerError) GetPayload ¶
func (o *CreateImageInternalServerError) GetPayload() *workload_models.StackpathapiStatus
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 ¶
func (o *CreateImageInternalServerError) String() 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 (o *CreateImageOK) GetPayload() *workload_models.V1CreateImageResponse
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. An image's family */ ImageFamily string /* ImageStackID. The ID of the stack that an image belongs to */ ImageStackID string /* ImageTag. The image's tag */ ImageTag 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 ¶
func (o *CreateImageParams) SetBody(body *workload_models.V1CreateImageRequest)
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) SetImageStackID ¶
func (o *CreateImageParams) SetImageStackID(imageStackID string)
SetImageStackID adds the imageStackId 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) SetTimeout ¶
func (o *CreateImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create image params
func (*CreateImageParams) WithBody ¶
func (o *CreateImageParams) WithBody(body *workload_models.V1CreateImageRequest) *CreateImageParams
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) WithImageStackID ¶
func (o *CreateImageParams) WithImageStackID(imageStackID string) *CreateImageParams
WithImageStackID adds the imageStackID 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) 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 {
}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 (o *CreateImageUnauthorized) GetPayload() *workload_models.StackpathapiStatus
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 (o *DeleteImageDefault) GetPayload() *workload_models.StackpathapiStatus
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 ¶
func (o *DeleteImageInternalServerError) Code() int
Code gets the status code for the delete image internal server error response
func (*DeleteImageInternalServerError) Error ¶
func (o *DeleteImageInternalServerError) Error() string
func (*DeleteImageInternalServerError) GetPayload ¶
func (o *DeleteImageInternalServerError) GetPayload() *workload_models.StackpathapiStatus
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 ¶
func (o *DeleteImageInternalServerError) String() 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. The family of the image to delete */ ImageFamily string /* ImageTag. The specific tag of image to delete */ ImageTag string /* StackID. The ID or slug of the stack containing the image to delete */ 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 {
}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 (o *DeleteImageUnauthorized) GetPayload() *workload_models.StackpathapiStatus
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 ¶
func (o *DeleteImagesForFamilyDefault) Code() int
Code gets the status code for the delete images for family default response
func (*DeleteImagesForFamilyDefault) Error ¶
func (o *DeleteImagesForFamilyDefault) Error() string
func (*DeleteImagesForFamilyDefault) GetPayload ¶
func (o *DeleteImagesForFamilyDefault) GetPayload() *workload_models.StackpathapiStatus
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 ¶
func (o *DeleteImagesForFamilyDefault) String() 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 ¶
func (o *DeleteImagesForFamilyInternalServerError) Code() int
Code gets the status code for the delete images for family internal server error response
func (*DeleteImagesForFamilyInternalServerError) Error ¶
func (o *DeleteImagesForFamilyInternalServerError) Error() string
func (*DeleteImagesForFamilyInternalServerError) GetPayload ¶
func (o *DeleteImagesForFamilyInternalServerError) GetPayload() *workload_models.StackpathapiStatus
func (*DeleteImagesForFamilyInternalServerError) IsClientError ¶
func (o *DeleteImagesForFamilyInternalServerError) IsClientError() bool
IsClientError returns true when this delete images for family internal server error response has a 4xx status code
func (*DeleteImagesForFamilyInternalServerError) IsCode ¶
func (o *DeleteImagesForFamilyInternalServerError) IsCode(code int) bool
IsCode returns true when this delete images for family internal server error response a status code equal to that given
func (*DeleteImagesForFamilyInternalServerError) IsRedirect ¶
func (o *DeleteImagesForFamilyInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete images for family internal server error response has a 3xx status code
func (*DeleteImagesForFamilyInternalServerError) IsServerError ¶
func (o *DeleteImagesForFamilyInternalServerError) IsServerError() bool
IsServerError returns true when this delete images for family internal server error response has a 5xx status code
func (*DeleteImagesForFamilyInternalServerError) IsSuccess ¶
func (o *DeleteImagesForFamilyInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete images for family internal server error response has a 2xx status code
func (*DeleteImagesForFamilyInternalServerError) String ¶
func (o *DeleteImagesForFamilyInternalServerError) String() 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 ¶
func (o *DeleteImagesForFamilyNoContent) Code() int
Code gets the status code for the delete images for family no content response
func (*DeleteImagesForFamilyNoContent) Error ¶
func (o *DeleteImagesForFamilyNoContent) Error() string
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 ¶
func (o *DeleteImagesForFamilyNoContent) String() string
type DeleteImagesForFamilyParams ¶
type DeleteImagesForFamilyParams struct { /* ImageFamily. The family of the images to delete */ ImageFamily string /* StackID. The ID or slug of the stack containing the images to delete */ 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 ¶
func (o *DeleteImagesForFamilyParams) WithContext(ctx context.Context) *DeleteImagesForFamilyParams
WithContext adds the context to the delete images for family params
func (*DeleteImagesForFamilyParams) WithDefaults ¶
func (o *DeleteImagesForFamilyParams) WithDefaults() *DeleteImagesForFamilyParams
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 ¶
func (o *DeleteImagesForFamilyParams) WithHTTPClient(client *http.Client) *DeleteImagesForFamilyParams
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 ¶
func (o *DeleteImagesForFamilyParams) WithStackID(stackID string) *DeleteImagesForFamilyParams
WithStackID adds the stackID to the delete images for family params
func (*DeleteImagesForFamilyParams) WithTimeout ¶
func (o *DeleteImagesForFamilyParams) WithTimeout(timeout time.Duration) *DeleteImagesForFamilyParams
WithTimeout adds the timeout to the delete images for family params
func (*DeleteImagesForFamilyParams) WriteToRequest ¶
func (o *DeleteImagesForFamilyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *DeleteImagesForFamilyUnauthorized) Code() int
Code gets the status code for the delete images for family unauthorized response
func (*DeleteImagesForFamilyUnauthorized) Error ¶
func (o *DeleteImagesForFamilyUnauthorized) Error() string
func (*DeleteImagesForFamilyUnauthorized) GetPayload ¶
func (o *DeleteImagesForFamilyUnauthorized) GetPayload() *workload_models.StackpathapiStatus
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 ¶
func (o *DeleteImagesForFamilyUnauthorized) String() 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 (o *GetImageDefault) GetPayload() *workload_models.StackpathapiStatus
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 (o *GetImageInternalServerError) Error() string
func (*GetImageInternalServerError) GetPayload ¶
func (o *GetImageInternalServerError) GetPayload() *workload_models.StackpathapiStatus
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 (o *GetImageOK) GetPayload() *workload_models.V1GetImageResponse
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. The family of the image to retrieve */ ImageFamily string /* ImageTag. The specific tag of image to retrieve This must be present, but can be 'default' to get the default image for the family. */ ImageTag string /* StackID. The ID or slug of the stack containing the image to retrieve */ 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 {
}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 (o *GetImageUnauthorized) GetPayload() *workload_models.StackpathapiStatus
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 (o *GetImagesDefault) GetPayload() *workload_models.StackpathapiStatus
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 (o *GetImagesForFamilyDefault) GetPayload() *workload_models.StackpathapiStatus
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 ¶
func (o *GetImagesForFamilyInternalServerError) Code() int
Code gets the status code for the get images for family internal server error response
func (*GetImagesForFamilyInternalServerError) Error ¶
func (o *GetImagesForFamilyInternalServerError) Error() string
func (*GetImagesForFamilyInternalServerError) GetPayload ¶
func (o *GetImagesForFamilyInternalServerError) GetPayload() *workload_models.StackpathapiStatus
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 ¶
func (o *GetImagesForFamilyInternalServerError) IsCode(code int) bool
IsCode returns true when this get images for family internal server error response a status code equal to that given
func (*GetImagesForFamilyInternalServerError) IsRedirect ¶
func (o *GetImagesForFamilyInternalServerError) IsRedirect() bool
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 ¶
func (o *GetImagesForFamilyInternalServerError) IsSuccess() bool
IsSuccess returns true when this get images for family internal server error response has a 2xx status code
func (*GetImagesForFamilyInternalServerError) String ¶
func (o *GetImagesForFamilyInternalServerError) String() 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 (o *GetImagesForFamilyOK) GetPayload() *workload_models.V1GetImagesForFamilyResponse
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. The family for the images to retrieve */ 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. The ID or slug of the stack to retrieve images from */ 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 ¶
func (o *GetImagesForFamilyParams) WithContext(ctx context.Context) *GetImagesForFamilyParams
WithContext adds the context to the get images for family params
func (*GetImagesForFamilyParams) WithDefaults ¶
func (o *GetImagesForFamilyParams) WithDefaults() *GetImagesForFamilyParams
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 ¶
func (o *GetImagesForFamilyParams) WithTimeout(timeout time.Duration) *GetImagesForFamilyParams
WithTimeout adds the timeout to the get images for family params
func (*GetImagesForFamilyParams) WriteToRequest ¶
func (o *GetImagesForFamilyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *GetImagesForFamilyUnauthorized) Code() int
Code gets the status code for the get images for family unauthorized response
func (*GetImagesForFamilyUnauthorized) Error ¶
func (o *GetImagesForFamilyUnauthorized) Error() string
func (*GetImagesForFamilyUnauthorized) GetPayload ¶
func (o *GetImagesForFamilyUnauthorized) GetPayload() *workload_models.StackpathapiStatus
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 ¶
func (o *GetImagesForFamilyUnauthorized) String() 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 ¶
func (o *GetImagesInternalServerError) Code() int
Code gets the status code for the get images internal server error response
func (*GetImagesInternalServerError) Error ¶
func (o *GetImagesInternalServerError) Error() string
func (*GetImagesInternalServerError) GetPayload ¶
func (o *GetImagesInternalServerError) GetPayload() *workload_models.StackpathapiStatus
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 ¶
func (o *GetImagesInternalServerError) String() 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 (o *GetImagesOK) GetPayload() *workload_models.V1GetImagesResponse
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. The ID or slug of the stack to retrieve images for */ 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 {
}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 (o *GetImagesUnauthorized) GetPayload() *workload_models.StackpathapiStatus
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 (o *UpdateImageDefault) GetPayload() *workload_models.StackpathapiStatus
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 ¶
func (o *UpdateImageDeprecationDefault) Code() int
Code gets the status code for the update image deprecation default response
func (*UpdateImageDeprecationDefault) Error ¶
func (o *UpdateImageDeprecationDefault) Error() string
func (*UpdateImageDeprecationDefault) GetPayload ¶
func (o *UpdateImageDeprecationDefault) GetPayload() *workload_models.StackpathapiStatus
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 ¶
func (o *UpdateImageDeprecationDefault) String() 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 ¶
func (o *UpdateImageDeprecationInternalServerError) Code() int
Code gets the status code for the update image deprecation internal server error response
func (*UpdateImageDeprecationInternalServerError) Error ¶
func (o *UpdateImageDeprecationInternalServerError) Error() string
func (*UpdateImageDeprecationInternalServerError) GetPayload ¶
func (o *UpdateImageDeprecationInternalServerError) GetPayload() *workload_models.StackpathapiStatus
func (*UpdateImageDeprecationInternalServerError) IsClientError ¶
func (o *UpdateImageDeprecationInternalServerError) IsClientError() bool
IsClientError returns true when this update image deprecation internal server error response has a 4xx status code
func (*UpdateImageDeprecationInternalServerError) IsCode ¶
func (o *UpdateImageDeprecationInternalServerError) IsCode(code int) bool
IsCode returns true when this update image deprecation internal server error response a status code equal to that given
func (*UpdateImageDeprecationInternalServerError) IsRedirect ¶
func (o *UpdateImageDeprecationInternalServerError) IsRedirect() bool
IsRedirect returns true when this update image deprecation internal server error response has a 3xx status code
func (*UpdateImageDeprecationInternalServerError) IsServerError ¶
func (o *UpdateImageDeprecationInternalServerError) IsServerError() bool
IsServerError returns true when this update image deprecation internal server error response has a 5xx status code
func (*UpdateImageDeprecationInternalServerError) IsSuccess ¶
func (o *UpdateImageDeprecationInternalServerError) IsSuccess() bool
IsSuccess returns true when this update image deprecation internal server error response has a 2xx status code
func (*UpdateImageDeprecationInternalServerError) String ¶
func (o *UpdateImageDeprecationInternalServerError) String() 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 (o *UpdateImageDeprecationOK) GetPayload() *workload_models.V1UpdateImageDeprecationResponse
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. The family of the image to update deprecation for */ ImageFamily string /* ImageTag. The specific tag of image to update deprecation for */ ImageTag string /* StackID. The ID or slug of the stack containing the image to update deprecation for */ 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 ¶
func (o *UpdateImageDeprecationParams) SetBody(body *workload_models.V1ImageDeprecation)
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 ¶
func (o *UpdateImageDeprecationParams) WithBody(body *workload_models.V1ImageDeprecation) *UpdateImageDeprecationParams
WithBody adds the body to the update image deprecation params
func (*UpdateImageDeprecationParams) WithContext ¶
func (o *UpdateImageDeprecationParams) WithContext(ctx context.Context) *UpdateImageDeprecationParams
WithContext adds the context to the update image deprecation params
func (*UpdateImageDeprecationParams) WithDefaults ¶
func (o *UpdateImageDeprecationParams) WithDefaults() *UpdateImageDeprecationParams
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 ¶
func (o *UpdateImageDeprecationParams) WithHTTPClient(client *http.Client) *UpdateImageDeprecationParams
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 ¶
func (o *UpdateImageDeprecationParams) WithImageTag(imageTag string) *UpdateImageDeprecationParams
WithImageTag adds the imageTag to the update image deprecation params
func (*UpdateImageDeprecationParams) WithStackID ¶
func (o *UpdateImageDeprecationParams) WithStackID(stackID string) *UpdateImageDeprecationParams
WithStackID adds the stackID to the update image deprecation params
func (*UpdateImageDeprecationParams) WithTimeout ¶
func (o *UpdateImageDeprecationParams) WithTimeout(timeout time.Duration) *UpdateImageDeprecationParams
WithTimeout adds the timeout to the update image deprecation params
func (*UpdateImageDeprecationParams) WriteToRequest ¶
func (o *UpdateImageDeprecationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *UpdateImageDeprecationUnauthorized) Code() int
Code gets the status code for the update image deprecation unauthorized response
func (*UpdateImageDeprecationUnauthorized) Error ¶
func (o *UpdateImageDeprecationUnauthorized) Error() string
func (*UpdateImageDeprecationUnauthorized) GetPayload ¶
func (o *UpdateImageDeprecationUnauthorized) GetPayload() *workload_models.StackpathapiStatus
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 ¶
func (o *UpdateImageDeprecationUnauthorized) IsCode(code int) bool
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 ¶
func (o *UpdateImageDeprecationUnauthorized) IsSuccess() bool
IsSuccess returns true when this update image deprecation unauthorized response has a 2xx status code
func (*UpdateImageDeprecationUnauthorized) String ¶
func (o *UpdateImageDeprecationUnauthorized) String() 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 ¶
func (o *UpdateImageInternalServerError) Code() int
Code gets the status code for the update image internal server error response
func (*UpdateImageInternalServerError) Error ¶
func (o *UpdateImageInternalServerError) Error() string
func (*UpdateImageInternalServerError) GetPayload ¶
func (o *UpdateImageInternalServerError) GetPayload() *workload_models.StackpathapiStatus
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 ¶
func (o *UpdateImageInternalServerError) String() 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 (o *UpdateImageOK) GetPayload() *workload_models.V1UpdateImageResponse
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 /* ImageStackID. The ID of the stack that an image belongs to */ ImageStackID string /* ImageTag. The image's tag */ ImageTag 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 ¶
func (o *UpdateImageParams) SetBody(body *workload_models.V1UpdateImageRequest)
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) SetImageStackID ¶
func (o *UpdateImageParams) SetImageStackID(imageStackID string)
SetImageStackID adds the imageStackId 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) SetTimeout ¶
func (o *UpdateImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update image params
func (*UpdateImageParams) WithBody ¶
func (o *UpdateImageParams) WithBody(body *workload_models.V1UpdateImageRequest) *UpdateImageParams
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) WithImageStackID ¶
func (o *UpdateImageParams) WithImageStackID(imageStackID string) *UpdateImageParams
WithImageStackID adds the imageStackID 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) 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 {
}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 (o *UpdateImageUnauthorized) GetPayload() *workload_models.StackpathapiStatus
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
Source Files ¶
- create_image_parameters.go
- create_image_responses.go
- delete_image_parameters.go
- delete_image_responses.go
- delete_images_for_family_parameters.go
- delete_images_for_family_responses.go
- get_image_parameters.go
- get_image_responses.go
- get_images_for_family_parameters.go
- get_images_for_family_responses.go
- get_images_parameters.go
- get_images_responses.go
- image_client.go
- update_image_deprecation_parameters.go
- update_image_deprecation_responses.go
- update_image_parameters.go
- update_image_responses.go