stacks

package
v2.31.2 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeMultipartFormData

func WithContentTypeMultipartFormData(r *runtime.ClientOperation)

WithContentTypeMultipartFormData sets the Content-Type header to "multipart/form-data".

Types

type Client

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

Client for stacks API

func (*Client) EdgeStackWebhookInvoke

func (a *Client) EdgeStackWebhookInvoke(params *EdgeStackWebhookInvokeParams, opts ...ClientOption) (*EdgeStackWebhookInvokeOK, error)

EdgeStackWebhookInvoke webhooks for triggering edge stack updates from git

**Access policy**: public

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) StackAssociate

func (a *Client) StackAssociate(params *StackAssociateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackAssociateOK, error)

StackAssociate associates an orphaned stack to a new environment endpoint

**Access policy**: administrator

func (*Client) StackCreateDockerStandaloneFile

func (a *Client) StackCreateDockerStandaloneFile(params *StackCreateDockerStandaloneFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackCreateDockerStandaloneFileOK, error)
StackCreateDockerStandaloneFile deploys a new compose stack from a file

Deploy a new stack into a Docker environment specified via the environment identifier.

**Access policy**: authenticated

func (*Client) StackCreateDockerStandaloneRepository

func (a *Client) StackCreateDockerStandaloneRepository(params *StackCreateDockerStandaloneRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackCreateDockerStandaloneRepositoryOK, error)
StackCreateDockerStandaloneRepository deploys a new compose stack from repository

Deploy a new stack into a Docker environment specified via the environment identifier.

**Access policy**: authenticated

func (*Client) StackCreateDockerStandaloneString

func (a *Client) StackCreateDockerStandaloneString(params *StackCreateDockerStandaloneStringParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackCreateDockerStandaloneStringOK, error)
StackCreateDockerStandaloneString deploys a new compose stack from a text

Deploy a new stack into a Docker environment specified via the environment identifier.

**Access policy**: authenticated

func (*Client) StackCreateDockerSwarmFile

func (a *Client) StackCreateDockerSwarmFile(params *StackCreateDockerSwarmFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackCreateDockerSwarmFileOK, error)
StackCreateDockerSwarmFile deploys a new swarm stack from a file

Deploy a new stack into a Docker environment specified via the environment identifier.

**Access policy**: authenticated

func (*Client) StackCreateDockerSwarmRepository

func (a *Client) StackCreateDockerSwarmRepository(params *StackCreateDockerSwarmRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackCreateDockerSwarmRepositoryOK, error)
StackCreateDockerSwarmRepository deploys a new swarm stack from a git repository

Deploy a new stack into a Docker environment specified via the environment identifier.

**Access policy**: authenticated

func (*Client) StackCreateDockerSwarmString

func (a *Client) StackCreateDockerSwarmString(params *StackCreateDockerSwarmStringParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackCreateDockerSwarmStringOK, error)
StackCreateDockerSwarmString deploys a new swarm stack from a text

Deploy a new stack into a Docker environment specified via the environment identifier.

**Access policy**: authenticated

func (*Client) StackCreateKubernetesFile

func (a *Client) StackCreateKubernetesFile(params *StackCreateKubernetesFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackCreateKubernetesFileOK, error)
StackCreateKubernetesFile deploys a new kubernetes stack from a file

Deploy a new stack into a Docker environment specified via the environment identifier.

**Access policy**: authenticated

func (*Client) StackCreateKubernetesGit

func (a *Client) StackCreateKubernetesGit(params *StackCreateKubernetesGitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackCreateKubernetesGitOK, error)
StackCreateKubernetesGit deploys a new kubernetes stack from a git repository

Deploy a new stack into a Docker environment specified via the environment identifier.

**Access policy**: authenticated

func (*Client) StackCreateKubernetesURL

func (a *Client) StackCreateKubernetesURL(params *StackCreateKubernetesURLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackCreateKubernetesURLOK, error)
StackCreateKubernetesURL deploys a new kubernetes stack from a url

Deploy a new stack into a Docker environment specified via the environment identifier.

**Access policy**: authenticated

func (*Client) StackDelete

func (a *Client) StackDelete(params *StackDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackDeleteNoContent, error)
StackDelete removes a stack

Remove a stack.

**Access policy**: restricted

func (*Client) StackDeleteKubernetesByName

StackDeleteKubernetesByName removes kubernetes stacks by name

Remove a stack.

**Access policy**: restricted

func (*Client) StackFileInspect

func (a *Client) StackFileInspect(params *StackFileInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackFileInspectOK, error)
StackFileInspect retrieves the content of the stack file for the specified stack

Get Stack file content.

**Access policy**: restricted

func (*Client) StackGitRedeploy

func (a *Client) StackGitRedeploy(params *StackGitRedeployParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackGitRedeployOK, error)
StackGitRedeploy redeploys a stack

Pull and redeploy a stack via Git

**Access policy**: authenticated

func (*Client) StackImagesStatus

func (a *Client) StackImagesStatus(params *StackImagesStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackImagesStatusOK, error)

StackImagesStatus fetches image status for stack

**Access policy**:

func (*Client) StackInspect

func (a *Client) StackInspect(params *StackInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackInspectOK, error)
StackInspect inspects a stack

Retrieve details about a stack.

**Access policy**: restricted

func (*Client) StackList

func (a *Client) StackList(params *StackListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackListOK, *StackListNoContent, error)
StackList lists stacks

List all stacks based on the current user authorizations.

Will return all stacks if using an administrator account otherwise it will only return the list of stacks the user have access to. Limited stacks will not be returned by this endpoint. **Access policy**: authenticated

func (*Client) StackMigrate

func (a *Client) StackMigrate(params *StackMigrateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackMigrateOK, error)
StackMigrate migrates a stack to another environment endpoint

Migrate a stack from an environment(endpoint) to another environment(endpoint). It will re-create the stack inside the target environment(endpoint) before removing the original stack.

**Access policy**: authenticated

func (*Client) StackStart

func (a *Client) StackStart(params *StackStartParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackStartOK, error)
StackStart starts a stopped stack

Starts a stopped Stack.

**Access policy**: authenticated

func (*Client) StackStop

func (a *Client) StackStop(params *StackStopParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackStopOK, error)
StackStop stops a stopped stack

Stops a stopped Stack.

**Access policy**: authenticated

func (*Client) StackUpdate

func (a *Client) StackUpdate(params *StackUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackUpdateOK, error)
StackUpdate updates a stack

Update a stack, only for file based stacks.

**Access policy**: authenticated

func (*Client) StackUpdateGit

func (a *Client) StackUpdateGit(params *StackUpdateGitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackUpdateGitOK, error)
StackUpdateGit updates a stack s git configs

Update the Git settings in a stack, e.g., RepositoryReferenceName and AutoUpdate

**Access policy**: authenticated

func (*Client) StacksWebhookInvoke

func (a *Client) StacksWebhookInvoke(params *StacksWebhookInvokeParams, opts ...ClientOption) (*StacksWebhookInvokeOK, error)

StacksWebhookInvoke webhooks for triggering stack updates from git

**Access policy**: public

type ClientOption

type ClientOption func(*runtime.ClientOperation)

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

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	EdgeStackWebhookInvoke(params *EdgeStackWebhookInvokeParams, opts ...ClientOption) (*EdgeStackWebhookInvokeOK, error)

	StackAssociate(params *StackAssociateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackAssociateOK, error)

	StackCreateDockerStandaloneFile(params *StackCreateDockerStandaloneFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackCreateDockerStandaloneFileOK, error)

	StackCreateDockerStandaloneRepository(params *StackCreateDockerStandaloneRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackCreateDockerStandaloneRepositoryOK, error)

	StackCreateDockerStandaloneString(params *StackCreateDockerStandaloneStringParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackCreateDockerStandaloneStringOK, error)

	StackCreateDockerSwarmFile(params *StackCreateDockerSwarmFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackCreateDockerSwarmFileOK, error)

	StackCreateDockerSwarmRepository(params *StackCreateDockerSwarmRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackCreateDockerSwarmRepositoryOK, error)

	StackCreateDockerSwarmString(params *StackCreateDockerSwarmStringParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackCreateDockerSwarmStringOK, error)

	StackCreateKubernetesFile(params *StackCreateKubernetesFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackCreateKubernetesFileOK, error)

	StackCreateKubernetesGit(params *StackCreateKubernetesGitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackCreateKubernetesGitOK, error)

	StackCreateKubernetesURL(params *StackCreateKubernetesURLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackCreateKubernetesURLOK, error)

	StackDelete(params *StackDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackDeleteNoContent, error)

	StackDeleteKubernetesByName(params *StackDeleteKubernetesByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackDeleteKubernetesByNameNoContent, error)

	StackFileInspect(params *StackFileInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackFileInspectOK, error)

	StackGitRedeploy(params *StackGitRedeployParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackGitRedeployOK, error)

	StackInspect(params *StackInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackInspectOK, error)

	StackList(params *StackListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackListOK, *StackListNoContent, error)

	StackMigrate(params *StackMigrateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackMigrateOK, error)

	StackStart(params *StackStartParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackStartOK, error)

	StackStop(params *StackStopParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackStopOK, error)

	StackUpdate(params *StackUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackUpdateOK, error)

	StackUpdateGit(params *StackUpdateGitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackUpdateGitOK, error)

	StacksWebhookInvoke(params *StacksWebhookInvokeParams, opts ...ClientOption) (*StacksWebhookInvokeOK, error)

	StackImagesStatus(params *StackImagesStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackImagesStatusOK, 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 stacks API client.

func NewClientWithBasicAuth

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

New creates a new stacks API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new stacks API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type EdgeStackWebhookInvokeBadRequest

type EdgeStackWebhookInvokeBadRequest struct {
}

EdgeStackWebhookInvokeBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewEdgeStackWebhookInvokeBadRequest

func NewEdgeStackWebhookInvokeBadRequest() *EdgeStackWebhookInvokeBadRequest

NewEdgeStackWebhookInvokeBadRequest creates a EdgeStackWebhookInvokeBadRequest with default headers values

func (*EdgeStackWebhookInvokeBadRequest) Code

Code gets the status code for the edge stack webhook invoke bad request response

func (*EdgeStackWebhookInvokeBadRequest) Error

func (*EdgeStackWebhookInvokeBadRequest) IsClientError

func (o *EdgeStackWebhookInvokeBadRequest) IsClientError() bool

IsClientError returns true when this edge stack webhook invoke bad request response has a 4xx status code

func (*EdgeStackWebhookInvokeBadRequest) IsCode

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

IsCode returns true when this edge stack webhook invoke bad request response a status code equal to that given

func (*EdgeStackWebhookInvokeBadRequest) IsRedirect

func (o *EdgeStackWebhookInvokeBadRequest) IsRedirect() bool

IsRedirect returns true when this edge stack webhook invoke bad request response has a 3xx status code

func (*EdgeStackWebhookInvokeBadRequest) IsServerError

func (o *EdgeStackWebhookInvokeBadRequest) IsServerError() bool

IsServerError returns true when this edge stack webhook invoke bad request response has a 5xx status code

func (*EdgeStackWebhookInvokeBadRequest) IsSuccess

func (o *EdgeStackWebhookInvokeBadRequest) IsSuccess() bool

IsSuccess returns true when this edge stack webhook invoke bad request response has a 2xx status code

func (*EdgeStackWebhookInvokeBadRequest) String

type EdgeStackWebhookInvokeConflict

type EdgeStackWebhookInvokeConflict struct {
}

EdgeStackWebhookInvokeConflict describes a response with status code 409, with default header values.

Conflict

func NewEdgeStackWebhookInvokeConflict

func NewEdgeStackWebhookInvokeConflict() *EdgeStackWebhookInvokeConflict

NewEdgeStackWebhookInvokeConflict creates a EdgeStackWebhookInvokeConflict with default headers values

func (*EdgeStackWebhookInvokeConflict) Code

Code gets the status code for the edge stack webhook invoke conflict response

func (*EdgeStackWebhookInvokeConflict) Error

func (*EdgeStackWebhookInvokeConflict) IsClientError

func (o *EdgeStackWebhookInvokeConflict) IsClientError() bool

IsClientError returns true when this edge stack webhook invoke conflict response has a 4xx status code

func (*EdgeStackWebhookInvokeConflict) IsCode

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

IsCode returns true when this edge stack webhook invoke conflict response a status code equal to that given

func (*EdgeStackWebhookInvokeConflict) IsRedirect

func (o *EdgeStackWebhookInvokeConflict) IsRedirect() bool

IsRedirect returns true when this edge stack webhook invoke conflict response has a 3xx status code

func (*EdgeStackWebhookInvokeConflict) IsServerError

func (o *EdgeStackWebhookInvokeConflict) IsServerError() bool

IsServerError returns true when this edge stack webhook invoke conflict response has a 5xx status code

func (*EdgeStackWebhookInvokeConflict) IsSuccess

func (o *EdgeStackWebhookInvokeConflict) IsSuccess() bool

IsSuccess returns true when this edge stack webhook invoke conflict response has a 2xx status code

func (*EdgeStackWebhookInvokeConflict) String

type EdgeStackWebhookInvokeInternalServerError

type EdgeStackWebhookInvokeInternalServerError struct {
}

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

Server error

func NewEdgeStackWebhookInvokeInternalServerError

func NewEdgeStackWebhookInvokeInternalServerError() *EdgeStackWebhookInvokeInternalServerError

NewEdgeStackWebhookInvokeInternalServerError creates a EdgeStackWebhookInvokeInternalServerError with default headers values

func (*EdgeStackWebhookInvokeInternalServerError) Code

Code gets the status code for the edge stack webhook invoke internal server error response

func (*EdgeStackWebhookInvokeInternalServerError) Error

func (*EdgeStackWebhookInvokeInternalServerError) IsClientError

IsClientError returns true when this edge stack webhook invoke internal server error response has a 4xx status code

func (*EdgeStackWebhookInvokeInternalServerError) IsCode

IsCode returns true when this edge stack webhook invoke internal server error response a status code equal to that given

func (*EdgeStackWebhookInvokeInternalServerError) IsRedirect

IsRedirect returns true when this edge stack webhook invoke internal server error response has a 3xx status code

func (*EdgeStackWebhookInvokeInternalServerError) IsServerError

IsServerError returns true when this edge stack webhook invoke internal server error response has a 5xx status code

func (*EdgeStackWebhookInvokeInternalServerError) IsSuccess

IsSuccess returns true when this edge stack webhook invoke internal server error response has a 2xx status code

func (*EdgeStackWebhookInvokeInternalServerError) String

type EdgeStackWebhookInvokeOK

type EdgeStackWebhookInvokeOK struct {
}

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

Success

func NewEdgeStackWebhookInvokeOK

func NewEdgeStackWebhookInvokeOK() *EdgeStackWebhookInvokeOK

NewEdgeStackWebhookInvokeOK creates a EdgeStackWebhookInvokeOK with default headers values

func (*EdgeStackWebhookInvokeOK) Code

func (o *EdgeStackWebhookInvokeOK) Code() int

Code gets the status code for the edge stack webhook invoke o k response

func (*EdgeStackWebhookInvokeOK) Error

func (o *EdgeStackWebhookInvokeOK) Error() string

func (*EdgeStackWebhookInvokeOK) IsClientError

func (o *EdgeStackWebhookInvokeOK) IsClientError() bool

IsClientError returns true when this edge stack webhook invoke o k response has a 4xx status code

func (*EdgeStackWebhookInvokeOK) IsCode

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

IsCode returns true when this edge stack webhook invoke o k response a status code equal to that given

func (*EdgeStackWebhookInvokeOK) IsRedirect

func (o *EdgeStackWebhookInvokeOK) IsRedirect() bool

IsRedirect returns true when this edge stack webhook invoke o k response has a 3xx status code

func (*EdgeStackWebhookInvokeOK) IsServerError

func (o *EdgeStackWebhookInvokeOK) IsServerError() bool

IsServerError returns true when this edge stack webhook invoke o k response has a 5xx status code

func (*EdgeStackWebhookInvokeOK) IsSuccess

func (o *EdgeStackWebhookInvokeOK) IsSuccess() bool

IsSuccess returns true when this edge stack webhook invoke o k response has a 2xx status code

func (*EdgeStackWebhookInvokeOK) String

func (o *EdgeStackWebhookInvokeOK) String() string

type EdgeStackWebhookInvokeParams

type EdgeStackWebhookInvokeParams struct {

	/* WebhookID.

	   Stack identifier
	*/
	WebhookID string

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

EdgeStackWebhookInvokeParams contains all the parameters to send to the API endpoint

for the edge stack webhook invoke operation.

Typically these are written to a http.Request.

func NewEdgeStackWebhookInvokeParams

func NewEdgeStackWebhookInvokeParams() *EdgeStackWebhookInvokeParams

NewEdgeStackWebhookInvokeParams creates a new EdgeStackWebhookInvokeParams 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 NewEdgeStackWebhookInvokeParamsWithContext

func NewEdgeStackWebhookInvokeParamsWithContext(ctx context.Context) *EdgeStackWebhookInvokeParams

NewEdgeStackWebhookInvokeParamsWithContext creates a new EdgeStackWebhookInvokeParams object with the ability to set a context for a request.

func NewEdgeStackWebhookInvokeParamsWithHTTPClient

func NewEdgeStackWebhookInvokeParamsWithHTTPClient(client *http.Client) *EdgeStackWebhookInvokeParams

NewEdgeStackWebhookInvokeParamsWithHTTPClient creates a new EdgeStackWebhookInvokeParams object with the ability to set a custom HTTPClient for a request.

func NewEdgeStackWebhookInvokeParamsWithTimeout

func NewEdgeStackWebhookInvokeParamsWithTimeout(timeout time.Duration) *EdgeStackWebhookInvokeParams

NewEdgeStackWebhookInvokeParamsWithTimeout creates a new EdgeStackWebhookInvokeParams object with the ability to set a timeout on a request.

func (*EdgeStackWebhookInvokeParams) SetContext

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

SetContext adds the context to the edge stack webhook invoke params

func (*EdgeStackWebhookInvokeParams) SetDefaults

func (o *EdgeStackWebhookInvokeParams) SetDefaults()

SetDefaults hydrates default values in the edge stack webhook invoke params (not the query body).

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

func (*EdgeStackWebhookInvokeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the edge stack webhook invoke params

func (*EdgeStackWebhookInvokeParams) SetTimeout

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

SetTimeout adds the timeout to the edge stack webhook invoke params

func (*EdgeStackWebhookInvokeParams) SetWebhookID

func (o *EdgeStackWebhookInvokeParams) SetWebhookID(webhookID string)

SetWebhookID adds the webhookId to the edge stack webhook invoke params

func (*EdgeStackWebhookInvokeParams) WithContext

WithContext adds the context to the edge stack webhook invoke params

func (*EdgeStackWebhookInvokeParams) WithDefaults

WithDefaults hydrates default values in the edge stack webhook invoke params (not the query body).

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

func (*EdgeStackWebhookInvokeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the edge stack webhook invoke params

func (*EdgeStackWebhookInvokeParams) WithTimeout

WithTimeout adds the timeout to the edge stack webhook invoke params

func (*EdgeStackWebhookInvokeParams) WithWebhookID

WithWebhookID adds the webhookID to the edge stack webhook invoke params

func (*EdgeStackWebhookInvokeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EdgeStackWebhookInvokeReader

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

EdgeStackWebhookInvokeReader is a Reader for the EdgeStackWebhookInvoke structure.

func (*EdgeStackWebhookInvokeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackAssociateBadRequest

type StackAssociateBadRequest struct {
}

StackAssociateBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackAssociateBadRequest

func NewStackAssociateBadRequest() *StackAssociateBadRequest

NewStackAssociateBadRequest creates a StackAssociateBadRequest with default headers values

func (*StackAssociateBadRequest) Code

func (o *StackAssociateBadRequest) Code() int

Code gets the status code for the stack associate bad request response

func (*StackAssociateBadRequest) Error

func (o *StackAssociateBadRequest) Error() string

func (*StackAssociateBadRequest) IsClientError

func (o *StackAssociateBadRequest) IsClientError() bool

IsClientError returns true when this stack associate bad request response has a 4xx status code

func (*StackAssociateBadRequest) IsCode

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

IsCode returns true when this stack associate bad request response a status code equal to that given

func (*StackAssociateBadRequest) IsRedirect

func (o *StackAssociateBadRequest) IsRedirect() bool

IsRedirect returns true when this stack associate bad request response has a 3xx status code

func (*StackAssociateBadRequest) IsServerError

func (o *StackAssociateBadRequest) IsServerError() bool

IsServerError returns true when this stack associate bad request response has a 5xx status code

func (*StackAssociateBadRequest) IsSuccess

func (o *StackAssociateBadRequest) IsSuccess() bool

IsSuccess returns true when this stack associate bad request response has a 2xx status code

func (*StackAssociateBadRequest) String

func (o *StackAssociateBadRequest) String() string

type StackAssociateForbidden

type StackAssociateForbidden struct {
}

StackAssociateForbidden describes a response with status code 403, with default header values.

Permission denied

func NewStackAssociateForbidden

func NewStackAssociateForbidden() *StackAssociateForbidden

NewStackAssociateForbidden creates a StackAssociateForbidden with default headers values

func (*StackAssociateForbidden) Code

func (o *StackAssociateForbidden) Code() int

Code gets the status code for the stack associate forbidden response

func (*StackAssociateForbidden) Error

func (o *StackAssociateForbidden) Error() string

func (*StackAssociateForbidden) IsClientError

func (o *StackAssociateForbidden) IsClientError() bool

IsClientError returns true when this stack associate forbidden response has a 4xx status code

func (*StackAssociateForbidden) IsCode

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

IsCode returns true when this stack associate forbidden response a status code equal to that given

func (*StackAssociateForbidden) IsRedirect

func (o *StackAssociateForbidden) IsRedirect() bool

IsRedirect returns true when this stack associate forbidden response has a 3xx status code

func (*StackAssociateForbidden) IsServerError

func (o *StackAssociateForbidden) IsServerError() bool

IsServerError returns true when this stack associate forbidden response has a 5xx status code

func (*StackAssociateForbidden) IsSuccess

func (o *StackAssociateForbidden) IsSuccess() bool

IsSuccess returns true when this stack associate forbidden response has a 2xx status code

func (*StackAssociateForbidden) String

func (o *StackAssociateForbidden) String() string

type StackAssociateInternalServerError

type StackAssociateInternalServerError struct {
}

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

Server error

func NewStackAssociateInternalServerError

func NewStackAssociateInternalServerError() *StackAssociateInternalServerError

NewStackAssociateInternalServerError creates a StackAssociateInternalServerError with default headers values

func (*StackAssociateInternalServerError) Code

Code gets the status code for the stack associate internal server error response

func (*StackAssociateInternalServerError) Error

func (*StackAssociateInternalServerError) IsClientError

func (o *StackAssociateInternalServerError) IsClientError() bool

IsClientError returns true when this stack associate internal server error response has a 4xx status code

func (*StackAssociateInternalServerError) IsCode

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

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

func (*StackAssociateInternalServerError) IsRedirect

func (o *StackAssociateInternalServerError) IsRedirect() bool

IsRedirect returns true when this stack associate internal server error response has a 3xx status code

func (*StackAssociateInternalServerError) IsServerError

func (o *StackAssociateInternalServerError) IsServerError() bool

IsServerError returns true when this stack associate internal server error response has a 5xx status code

func (*StackAssociateInternalServerError) IsSuccess

func (o *StackAssociateInternalServerError) IsSuccess() bool

IsSuccess returns true when this stack associate internal server error response has a 2xx status code

func (*StackAssociateInternalServerError) String

type StackAssociateNotFound

type StackAssociateNotFound struct {
}

StackAssociateNotFound describes a response with status code 404, with default header values.

Stack not found

func NewStackAssociateNotFound

func NewStackAssociateNotFound() *StackAssociateNotFound

NewStackAssociateNotFound creates a StackAssociateNotFound with default headers values

func (*StackAssociateNotFound) Code

func (o *StackAssociateNotFound) Code() int

Code gets the status code for the stack associate not found response

func (*StackAssociateNotFound) Error

func (o *StackAssociateNotFound) Error() string

func (*StackAssociateNotFound) IsClientError

func (o *StackAssociateNotFound) IsClientError() bool

IsClientError returns true when this stack associate not found response has a 4xx status code

func (*StackAssociateNotFound) IsCode

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

IsCode returns true when this stack associate not found response a status code equal to that given

func (*StackAssociateNotFound) IsRedirect

func (o *StackAssociateNotFound) IsRedirect() bool

IsRedirect returns true when this stack associate not found response has a 3xx status code

func (*StackAssociateNotFound) IsServerError

func (o *StackAssociateNotFound) IsServerError() bool

IsServerError returns true when this stack associate not found response has a 5xx status code

func (*StackAssociateNotFound) IsSuccess

func (o *StackAssociateNotFound) IsSuccess() bool

IsSuccess returns true when this stack associate not found response has a 2xx status code

func (*StackAssociateNotFound) String

func (o *StackAssociateNotFound) String() string

type StackAssociateOK

type StackAssociateOK struct {
	Payload *models.PortainereeStack
}

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

Success

func NewStackAssociateOK

func NewStackAssociateOK() *StackAssociateOK

NewStackAssociateOK creates a StackAssociateOK with default headers values

func (*StackAssociateOK) Code

func (o *StackAssociateOK) Code() int

Code gets the status code for the stack associate o k response

func (*StackAssociateOK) Error

func (o *StackAssociateOK) Error() string

func (*StackAssociateOK) GetPayload

func (o *StackAssociateOK) GetPayload() *models.PortainereeStack

func (*StackAssociateOK) IsClientError

func (o *StackAssociateOK) IsClientError() bool

IsClientError returns true when this stack associate o k response has a 4xx status code

func (*StackAssociateOK) IsCode

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

IsCode returns true when this stack associate o k response a status code equal to that given

func (*StackAssociateOK) IsRedirect

func (o *StackAssociateOK) IsRedirect() bool

IsRedirect returns true when this stack associate o k response has a 3xx status code

func (*StackAssociateOK) IsServerError

func (o *StackAssociateOK) IsServerError() bool

IsServerError returns true when this stack associate o k response has a 5xx status code

func (*StackAssociateOK) IsSuccess

func (o *StackAssociateOK) IsSuccess() bool

IsSuccess returns true when this stack associate o k response has a 2xx status code

func (*StackAssociateOK) String

func (o *StackAssociateOK) String() string

type StackAssociateParams

type StackAssociateParams struct {

	/* EndpointID.

	   Environment identifier
	*/
	EndpointID int64

	/* ID.

	   Stack identifier
	*/
	ID int64

	/* OrphanedRunning.

	   Indicates whether the stack is orphaned
	*/
	OrphanedRunning bool

	/* SwarmID.

	   Swarm identifier
	*/
	SwarmID int64

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

StackAssociateParams contains all the parameters to send to the API endpoint

for the stack associate operation.

Typically these are written to a http.Request.

func NewStackAssociateParams

func NewStackAssociateParams() *StackAssociateParams

NewStackAssociateParams creates a new StackAssociateParams 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 NewStackAssociateParamsWithContext

func NewStackAssociateParamsWithContext(ctx context.Context) *StackAssociateParams

NewStackAssociateParamsWithContext creates a new StackAssociateParams object with the ability to set a context for a request.

func NewStackAssociateParamsWithHTTPClient

func NewStackAssociateParamsWithHTTPClient(client *http.Client) *StackAssociateParams

NewStackAssociateParamsWithHTTPClient creates a new StackAssociateParams object with the ability to set a custom HTTPClient for a request.

func NewStackAssociateParamsWithTimeout

func NewStackAssociateParamsWithTimeout(timeout time.Duration) *StackAssociateParams

NewStackAssociateParamsWithTimeout creates a new StackAssociateParams object with the ability to set a timeout on a request.

func (*StackAssociateParams) SetContext

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

SetContext adds the context to the stack associate params

func (*StackAssociateParams) SetDefaults

func (o *StackAssociateParams) SetDefaults()

SetDefaults hydrates default values in the stack associate params (not the query body).

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

func (*StackAssociateParams) SetEndpointID

func (o *StackAssociateParams) SetEndpointID(endpointID int64)

SetEndpointID adds the endpointId to the stack associate params

func (*StackAssociateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack associate params

func (*StackAssociateParams) SetID

func (o *StackAssociateParams) SetID(id int64)

SetID adds the id to the stack associate params

func (*StackAssociateParams) SetOrphanedRunning

func (o *StackAssociateParams) SetOrphanedRunning(orphanedRunning bool)

SetOrphanedRunning adds the orphanedRunning to the stack associate params

func (*StackAssociateParams) SetSwarmID

func (o *StackAssociateParams) SetSwarmID(swarmID int64)

SetSwarmID adds the swarmId to the stack associate params

func (*StackAssociateParams) SetTimeout

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

SetTimeout adds the timeout to the stack associate params

func (*StackAssociateParams) WithContext

WithContext adds the context to the stack associate params

func (*StackAssociateParams) WithDefaults

func (o *StackAssociateParams) WithDefaults() *StackAssociateParams

WithDefaults hydrates default values in the stack associate params (not the query body).

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

func (*StackAssociateParams) WithEndpointID

func (o *StackAssociateParams) WithEndpointID(endpointID int64) *StackAssociateParams

WithEndpointID adds the endpointID to the stack associate params

func (*StackAssociateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stack associate params

func (*StackAssociateParams) WithID

WithID adds the id to the stack associate params

func (*StackAssociateParams) WithOrphanedRunning

func (o *StackAssociateParams) WithOrphanedRunning(orphanedRunning bool) *StackAssociateParams

WithOrphanedRunning adds the orphanedRunning to the stack associate params

func (*StackAssociateParams) WithSwarmID

func (o *StackAssociateParams) WithSwarmID(swarmID int64) *StackAssociateParams

WithSwarmID adds the swarmID to the stack associate params

func (*StackAssociateParams) WithTimeout

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

WithTimeout adds the timeout to the stack associate params

func (*StackAssociateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StackAssociateReader

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

StackAssociateReader is a Reader for the StackAssociate structure.

func (*StackAssociateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackCreateDockerStandaloneFileBadRequest

type StackCreateDockerStandaloneFileBadRequest struct {
}

StackCreateDockerStandaloneFileBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackCreateDockerStandaloneFileBadRequest

func NewStackCreateDockerStandaloneFileBadRequest() *StackCreateDockerStandaloneFileBadRequest

NewStackCreateDockerStandaloneFileBadRequest creates a StackCreateDockerStandaloneFileBadRequest with default headers values

func (*StackCreateDockerStandaloneFileBadRequest) Code

Code gets the status code for the stack create docker standalone file bad request response

func (*StackCreateDockerStandaloneFileBadRequest) Error

func (*StackCreateDockerStandaloneFileBadRequest) IsClientError

IsClientError returns true when this stack create docker standalone file bad request response has a 4xx status code

func (*StackCreateDockerStandaloneFileBadRequest) IsCode

IsCode returns true when this stack create docker standalone file bad request response a status code equal to that given

func (*StackCreateDockerStandaloneFileBadRequest) IsRedirect

IsRedirect returns true when this stack create docker standalone file bad request response has a 3xx status code

func (*StackCreateDockerStandaloneFileBadRequest) IsServerError

IsServerError returns true when this stack create docker standalone file bad request response has a 5xx status code

func (*StackCreateDockerStandaloneFileBadRequest) IsSuccess

IsSuccess returns true when this stack create docker standalone file bad request response has a 2xx status code

func (*StackCreateDockerStandaloneFileBadRequest) String

type StackCreateDockerStandaloneFileInternalServerError

type StackCreateDockerStandaloneFileInternalServerError struct {
}

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

Server error

func NewStackCreateDockerStandaloneFileInternalServerError

func NewStackCreateDockerStandaloneFileInternalServerError() *StackCreateDockerStandaloneFileInternalServerError

NewStackCreateDockerStandaloneFileInternalServerError creates a StackCreateDockerStandaloneFileInternalServerError with default headers values

func (*StackCreateDockerStandaloneFileInternalServerError) Code

Code gets the status code for the stack create docker standalone file internal server error response

func (*StackCreateDockerStandaloneFileInternalServerError) Error

func (*StackCreateDockerStandaloneFileInternalServerError) IsClientError

IsClientError returns true when this stack create docker standalone file internal server error response has a 4xx status code

func (*StackCreateDockerStandaloneFileInternalServerError) IsCode

IsCode returns true when this stack create docker standalone file internal server error response a status code equal to that given

func (*StackCreateDockerStandaloneFileInternalServerError) IsRedirect

IsRedirect returns true when this stack create docker standalone file internal server error response has a 3xx status code

func (*StackCreateDockerStandaloneFileInternalServerError) IsServerError

IsServerError returns true when this stack create docker standalone file internal server error response has a 5xx status code

func (*StackCreateDockerStandaloneFileInternalServerError) IsSuccess

IsSuccess returns true when this stack create docker standalone file internal server error response has a 2xx status code

func (*StackCreateDockerStandaloneFileInternalServerError) String

type StackCreateDockerStandaloneFileOK

type StackCreateDockerStandaloneFileOK struct {
	Payload *models.PortainereeStack
}

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

OK

func NewStackCreateDockerStandaloneFileOK

func NewStackCreateDockerStandaloneFileOK() *StackCreateDockerStandaloneFileOK

NewStackCreateDockerStandaloneFileOK creates a StackCreateDockerStandaloneFileOK with default headers values

func (*StackCreateDockerStandaloneFileOK) Code

Code gets the status code for the stack create docker standalone file o k response

func (*StackCreateDockerStandaloneFileOK) Error

func (*StackCreateDockerStandaloneFileOK) GetPayload

func (*StackCreateDockerStandaloneFileOK) IsClientError

func (o *StackCreateDockerStandaloneFileOK) IsClientError() bool

IsClientError returns true when this stack create docker standalone file o k response has a 4xx status code

func (*StackCreateDockerStandaloneFileOK) IsCode

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

IsCode returns true when this stack create docker standalone file o k response a status code equal to that given

func (*StackCreateDockerStandaloneFileOK) IsRedirect

func (o *StackCreateDockerStandaloneFileOK) IsRedirect() bool

IsRedirect returns true when this stack create docker standalone file o k response has a 3xx status code

func (*StackCreateDockerStandaloneFileOK) IsServerError

func (o *StackCreateDockerStandaloneFileOK) IsServerError() bool

IsServerError returns true when this stack create docker standalone file o k response has a 5xx status code

func (*StackCreateDockerStandaloneFileOK) IsSuccess

func (o *StackCreateDockerStandaloneFileOK) IsSuccess() bool

IsSuccess returns true when this stack create docker standalone file o k response has a 2xx status code

func (*StackCreateDockerStandaloneFileOK) String

type StackCreateDockerStandaloneFileParams

type StackCreateDockerStandaloneFileParams struct {

	/* Env.

	   Environment variables passed during deployment, represented as a JSON array [{'name': 'name', 'value': 'value'}].
	*/
	Env *string

	/* Name.

	   Name of the stack
	*/
	Name string

	/* EndpointID.

	   Identifier of the environment that will be used to deploy the stack
	*/
	EndpointID int64

	/* File.

	   Stack file
	*/
	File runtime.NamedReadCloser

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

StackCreateDockerStandaloneFileParams contains all the parameters to send to the API endpoint

for the stack create docker standalone file operation.

Typically these are written to a http.Request.

func NewStackCreateDockerStandaloneFileParams

func NewStackCreateDockerStandaloneFileParams() *StackCreateDockerStandaloneFileParams

NewStackCreateDockerStandaloneFileParams creates a new StackCreateDockerStandaloneFileParams 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 NewStackCreateDockerStandaloneFileParamsWithContext

func NewStackCreateDockerStandaloneFileParamsWithContext(ctx context.Context) *StackCreateDockerStandaloneFileParams

NewStackCreateDockerStandaloneFileParamsWithContext creates a new StackCreateDockerStandaloneFileParams object with the ability to set a context for a request.

func NewStackCreateDockerStandaloneFileParamsWithHTTPClient

func NewStackCreateDockerStandaloneFileParamsWithHTTPClient(client *http.Client) *StackCreateDockerStandaloneFileParams

NewStackCreateDockerStandaloneFileParamsWithHTTPClient creates a new StackCreateDockerStandaloneFileParams object with the ability to set a custom HTTPClient for a request.

func NewStackCreateDockerStandaloneFileParamsWithTimeout

func NewStackCreateDockerStandaloneFileParamsWithTimeout(timeout time.Duration) *StackCreateDockerStandaloneFileParams

NewStackCreateDockerStandaloneFileParamsWithTimeout creates a new StackCreateDockerStandaloneFileParams object with the ability to set a timeout on a request.

func (*StackCreateDockerStandaloneFileParams) SetContext

SetContext adds the context to the stack create docker standalone file params

func (*StackCreateDockerStandaloneFileParams) SetDefaults

func (o *StackCreateDockerStandaloneFileParams) SetDefaults()

SetDefaults hydrates default values in the stack create docker standalone file params (not the query body).

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

func (*StackCreateDockerStandaloneFileParams) SetEndpointID

func (o *StackCreateDockerStandaloneFileParams) SetEndpointID(endpointID int64)

SetEndpointID adds the endpointId to the stack create docker standalone file params

func (*StackCreateDockerStandaloneFileParams) SetEnv

SetEnv adds the env to the stack create docker standalone file params

func (*StackCreateDockerStandaloneFileParams) SetFile

SetFile adds the file to the stack create docker standalone file params

func (*StackCreateDockerStandaloneFileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack create docker standalone file params

func (*StackCreateDockerStandaloneFileParams) SetName

SetName adds the name to the stack create docker standalone file params

func (*StackCreateDockerStandaloneFileParams) SetTimeout

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

SetTimeout adds the timeout to the stack create docker standalone file params

func (*StackCreateDockerStandaloneFileParams) WithContext

WithContext adds the context to the stack create docker standalone file params

func (*StackCreateDockerStandaloneFileParams) WithDefaults

WithDefaults hydrates default values in the stack create docker standalone file params (not the query body).

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

func (*StackCreateDockerStandaloneFileParams) WithEndpointID

WithEndpointID adds the endpointID to the stack create docker standalone file params

func (*StackCreateDockerStandaloneFileParams) WithEnv

WithEnv adds the env to the stack create docker standalone file params

func (*StackCreateDockerStandaloneFileParams) WithFile

WithFile adds the file to the stack create docker standalone file params

func (*StackCreateDockerStandaloneFileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the stack create docker standalone file params

func (*StackCreateDockerStandaloneFileParams) WithName

WithName adds the name to the stack create docker standalone file params

func (*StackCreateDockerStandaloneFileParams) WithTimeout

WithTimeout adds the timeout to the stack create docker standalone file params

func (*StackCreateDockerStandaloneFileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StackCreateDockerStandaloneFileReader

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

StackCreateDockerStandaloneFileReader is a Reader for the StackCreateDockerStandaloneFile structure.

func (*StackCreateDockerStandaloneFileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackCreateDockerStandaloneRepositoryBadRequest

type StackCreateDockerStandaloneRepositoryBadRequest struct {
}

StackCreateDockerStandaloneRepositoryBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackCreateDockerStandaloneRepositoryBadRequest

func NewStackCreateDockerStandaloneRepositoryBadRequest() *StackCreateDockerStandaloneRepositoryBadRequest

NewStackCreateDockerStandaloneRepositoryBadRequest creates a StackCreateDockerStandaloneRepositoryBadRequest with default headers values

func (*StackCreateDockerStandaloneRepositoryBadRequest) Code

Code gets the status code for the stack create docker standalone repository bad request response

func (*StackCreateDockerStandaloneRepositoryBadRequest) Error

func (*StackCreateDockerStandaloneRepositoryBadRequest) IsClientError

IsClientError returns true when this stack create docker standalone repository bad request response has a 4xx status code

func (*StackCreateDockerStandaloneRepositoryBadRequest) IsCode

IsCode returns true when this stack create docker standalone repository bad request response a status code equal to that given

func (*StackCreateDockerStandaloneRepositoryBadRequest) IsRedirect

IsRedirect returns true when this stack create docker standalone repository bad request response has a 3xx status code

func (*StackCreateDockerStandaloneRepositoryBadRequest) IsServerError

IsServerError returns true when this stack create docker standalone repository bad request response has a 5xx status code

func (*StackCreateDockerStandaloneRepositoryBadRequest) IsSuccess

IsSuccess returns true when this stack create docker standalone repository bad request response has a 2xx status code

func (*StackCreateDockerStandaloneRepositoryBadRequest) String

type StackCreateDockerStandaloneRepositoryInternalServerError

type StackCreateDockerStandaloneRepositoryInternalServerError struct {
}

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

Server error

func NewStackCreateDockerStandaloneRepositoryInternalServerError

func NewStackCreateDockerStandaloneRepositoryInternalServerError() *StackCreateDockerStandaloneRepositoryInternalServerError

NewStackCreateDockerStandaloneRepositoryInternalServerError creates a StackCreateDockerStandaloneRepositoryInternalServerError with default headers values

func (*StackCreateDockerStandaloneRepositoryInternalServerError) Code

Code gets the status code for the stack create docker standalone repository internal server error response

func (*StackCreateDockerStandaloneRepositoryInternalServerError) Error

func (*StackCreateDockerStandaloneRepositoryInternalServerError) IsClientError

IsClientError returns true when this stack create docker standalone repository internal server error response has a 4xx status code

func (*StackCreateDockerStandaloneRepositoryInternalServerError) IsCode

IsCode returns true when this stack create docker standalone repository internal server error response a status code equal to that given

func (*StackCreateDockerStandaloneRepositoryInternalServerError) IsRedirect

IsRedirect returns true when this stack create docker standalone repository internal server error response has a 3xx status code

func (*StackCreateDockerStandaloneRepositoryInternalServerError) IsServerError

IsServerError returns true when this stack create docker standalone repository internal server error response has a 5xx status code

func (*StackCreateDockerStandaloneRepositoryInternalServerError) IsSuccess

IsSuccess returns true when this stack create docker standalone repository internal server error response has a 2xx status code

func (*StackCreateDockerStandaloneRepositoryInternalServerError) String

type StackCreateDockerStandaloneRepositoryOK

type StackCreateDockerStandaloneRepositoryOK struct {
	Payload *models.PortainereeStack
}

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

OK

func NewStackCreateDockerStandaloneRepositoryOK

func NewStackCreateDockerStandaloneRepositoryOK() *StackCreateDockerStandaloneRepositoryOK

NewStackCreateDockerStandaloneRepositoryOK creates a StackCreateDockerStandaloneRepositoryOK with default headers values

func (*StackCreateDockerStandaloneRepositoryOK) Code

Code gets the status code for the stack create docker standalone repository o k response

func (*StackCreateDockerStandaloneRepositoryOK) Error

func (*StackCreateDockerStandaloneRepositoryOK) GetPayload

func (*StackCreateDockerStandaloneRepositoryOK) IsClientError

func (o *StackCreateDockerStandaloneRepositoryOK) IsClientError() bool

IsClientError returns true when this stack create docker standalone repository o k response has a 4xx status code

func (*StackCreateDockerStandaloneRepositoryOK) IsCode

IsCode returns true when this stack create docker standalone repository o k response a status code equal to that given

func (*StackCreateDockerStandaloneRepositoryOK) IsRedirect

IsRedirect returns true when this stack create docker standalone repository o k response has a 3xx status code

func (*StackCreateDockerStandaloneRepositoryOK) IsServerError

func (o *StackCreateDockerStandaloneRepositoryOK) IsServerError() bool

IsServerError returns true when this stack create docker standalone repository o k response has a 5xx status code

func (*StackCreateDockerStandaloneRepositoryOK) IsSuccess

IsSuccess returns true when this stack create docker standalone repository o k response has a 2xx status code

func (*StackCreateDockerStandaloneRepositoryOK) String

type StackCreateDockerStandaloneRepositoryParams

type StackCreateDockerStandaloneRepositoryParams struct {

	/* Body.

	   stack config
	*/
	Body *models.StacksComposeStackFromGitRepositoryPayload

	/* EndpointID.

	   Identifier of the environment that will be used to deploy the stack
	*/
	EndpointID int64

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

StackCreateDockerStandaloneRepositoryParams contains all the parameters to send to the API endpoint

for the stack create docker standalone repository operation.

Typically these are written to a http.Request.

func NewStackCreateDockerStandaloneRepositoryParams

func NewStackCreateDockerStandaloneRepositoryParams() *StackCreateDockerStandaloneRepositoryParams

NewStackCreateDockerStandaloneRepositoryParams creates a new StackCreateDockerStandaloneRepositoryParams 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 NewStackCreateDockerStandaloneRepositoryParamsWithContext

func NewStackCreateDockerStandaloneRepositoryParamsWithContext(ctx context.Context) *StackCreateDockerStandaloneRepositoryParams

NewStackCreateDockerStandaloneRepositoryParamsWithContext creates a new StackCreateDockerStandaloneRepositoryParams object with the ability to set a context for a request.

func NewStackCreateDockerStandaloneRepositoryParamsWithHTTPClient

func NewStackCreateDockerStandaloneRepositoryParamsWithHTTPClient(client *http.Client) *StackCreateDockerStandaloneRepositoryParams

NewStackCreateDockerStandaloneRepositoryParamsWithHTTPClient creates a new StackCreateDockerStandaloneRepositoryParams object with the ability to set a custom HTTPClient for a request.

func NewStackCreateDockerStandaloneRepositoryParamsWithTimeout

func NewStackCreateDockerStandaloneRepositoryParamsWithTimeout(timeout time.Duration) *StackCreateDockerStandaloneRepositoryParams

NewStackCreateDockerStandaloneRepositoryParamsWithTimeout creates a new StackCreateDockerStandaloneRepositoryParams object with the ability to set a timeout on a request.

func (*StackCreateDockerStandaloneRepositoryParams) SetBody

SetBody adds the body to the stack create docker standalone repository params

func (*StackCreateDockerStandaloneRepositoryParams) SetContext

SetContext adds the context to the stack create docker standalone repository params

func (*StackCreateDockerStandaloneRepositoryParams) SetDefaults

SetDefaults hydrates default values in the stack create docker standalone repository params (not the query body).

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

func (*StackCreateDockerStandaloneRepositoryParams) SetEndpointID

func (o *StackCreateDockerStandaloneRepositoryParams) SetEndpointID(endpointID int64)

SetEndpointID adds the endpointId to the stack create docker standalone repository params

func (*StackCreateDockerStandaloneRepositoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack create docker standalone repository params

func (*StackCreateDockerStandaloneRepositoryParams) SetTimeout

SetTimeout adds the timeout to the stack create docker standalone repository params

func (*StackCreateDockerStandaloneRepositoryParams) WithBody

WithBody adds the body to the stack create docker standalone repository params

func (*StackCreateDockerStandaloneRepositoryParams) WithContext

WithContext adds the context to the stack create docker standalone repository params

func (*StackCreateDockerStandaloneRepositoryParams) WithDefaults

WithDefaults hydrates default values in the stack create docker standalone repository params (not the query body).

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

func (*StackCreateDockerStandaloneRepositoryParams) WithEndpointID

WithEndpointID adds the endpointID to the stack create docker standalone repository params

func (*StackCreateDockerStandaloneRepositoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the stack create docker standalone repository params

func (*StackCreateDockerStandaloneRepositoryParams) WithTimeout

WithTimeout adds the timeout to the stack create docker standalone repository params

func (*StackCreateDockerStandaloneRepositoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StackCreateDockerStandaloneRepositoryReader

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

StackCreateDockerStandaloneRepositoryReader is a Reader for the StackCreateDockerStandaloneRepository structure.

func (*StackCreateDockerStandaloneRepositoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackCreateDockerStandaloneStringBadRequest

type StackCreateDockerStandaloneStringBadRequest struct {
}

StackCreateDockerStandaloneStringBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackCreateDockerStandaloneStringBadRequest

func NewStackCreateDockerStandaloneStringBadRequest() *StackCreateDockerStandaloneStringBadRequest

NewStackCreateDockerStandaloneStringBadRequest creates a StackCreateDockerStandaloneStringBadRequest with default headers values

func (*StackCreateDockerStandaloneStringBadRequest) Code

Code gets the status code for the stack create docker standalone string bad request response

func (*StackCreateDockerStandaloneStringBadRequest) Error

func (*StackCreateDockerStandaloneStringBadRequest) IsClientError

IsClientError returns true when this stack create docker standalone string bad request response has a 4xx status code

func (*StackCreateDockerStandaloneStringBadRequest) IsCode

IsCode returns true when this stack create docker standalone string bad request response a status code equal to that given

func (*StackCreateDockerStandaloneStringBadRequest) IsRedirect

IsRedirect returns true when this stack create docker standalone string bad request response has a 3xx status code

func (*StackCreateDockerStandaloneStringBadRequest) IsServerError

IsServerError returns true when this stack create docker standalone string bad request response has a 5xx status code

func (*StackCreateDockerStandaloneStringBadRequest) IsSuccess

IsSuccess returns true when this stack create docker standalone string bad request response has a 2xx status code

func (*StackCreateDockerStandaloneStringBadRequest) String

type StackCreateDockerStandaloneStringInternalServerError

type StackCreateDockerStandaloneStringInternalServerError struct {
}

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

Server error

func NewStackCreateDockerStandaloneStringInternalServerError

func NewStackCreateDockerStandaloneStringInternalServerError() *StackCreateDockerStandaloneStringInternalServerError

NewStackCreateDockerStandaloneStringInternalServerError creates a StackCreateDockerStandaloneStringInternalServerError with default headers values

func (*StackCreateDockerStandaloneStringInternalServerError) Code

Code gets the status code for the stack create docker standalone string internal server error response

func (*StackCreateDockerStandaloneStringInternalServerError) Error

func (*StackCreateDockerStandaloneStringInternalServerError) IsClientError

IsClientError returns true when this stack create docker standalone string internal server error response has a 4xx status code

func (*StackCreateDockerStandaloneStringInternalServerError) IsCode

IsCode returns true when this stack create docker standalone string internal server error response a status code equal to that given

func (*StackCreateDockerStandaloneStringInternalServerError) IsRedirect

IsRedirect returns true when this stack create docker standalone string internal server error response has a 3xx status code

func (*StackCreateDockerStandaloneStringInternalServerError) IsServerError

IsServerError returns true when this stack create docker standalone string internal server error response has a 5xx status code

func (*StackCreateDockerStandaloneStringInternalServerError) IsSuccess

IsSuccess returns true when this stack create docker standalone string internal server error response has a 2xx status code

func (*StackCreateDockerStandaloneStringInternalServerError) String

type StackCreateDockerStandaloneStringOK

type StackCreateDockerStandaloneStringOK struct {
	Payload *models.PortainereeStack
}

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

OK

func NewStackCreateDockerStandaloneStringOK

func NewStackCreateDockerStandaloneStringOK() *StackCreateDockerStandaloneStringOK

NewStackCreateDockerStandaloneStringOK creates a StackCreateDockerStandaloneStringOK with default headers values

func (*StackCreateDockerStandaloneStringOK) Code

Code gets the status code for the stack create docker standalone string o k response

func (*StackCreateDockerStandaloneStringOK) Error

func (*StackCreateDockerStandaloneStringOK) GetPayload

func (*StackCreateDockerStandaloneStringOK) IsClientError

func (o *StackCreateDockerStandaloneStringOK) IsClientError() bool

IsClientError returns true when this stack create docker standalone string o k response has a 4xx status code

func (*StackCreateDockerStandaloneStringOK) IsCode

IsCode returns true when this stack create docker standalone string o k response a status code equal to that given

func (*StackCreateDockerStandaloneStringOK) IsRedirect

func (o *StackCreateDockerStandaloneStringOK) IsRedirect() bool

IsRedirect returns true when this stack create docker standalone string o k response has a 3xx status code

func (*StackCreateDockerStandaloneStringOK) IsServerError

func (o *StackCreateDockerStandaloneStringOK) IsServerError() bool

IsServerError returns true when this stack create docker standalone string o k response has a 5xx status code

func (*StackCreateDockerStandaloneStringOK) IsSuccess

IsSuccess returns true when this stack create docker standalone string o k response has a 2xx status code

func (*StackCreateDockerStandaloneStringOK) String

type StackCreateDockerStandaloneStringParams

type StackCreateDockerStandaloneStringParams struct {

	/* Body.

	   stack config
	*/
	Body *models.StacksComposeStackFromFileContentPayload

	/* EndpointID.

	   Identifier of the environment that will be used to deploy the stack
	*/
	EndpointID int64

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

StackCreateDockerStandaloneStringParams contains all the parameters to send to the API endpoint

for the stack create docker standalone string operation.

Typically these are written to a http.Request.

func NewStackCreateDockerStandaloneStringParams

func NewStackCreateDockerStandaloneStringParams() *StackCreateDockerStandaloneStringParams

NewStackCreateDockerStandaloneStringParams creates a new StackCreateDockerStandaloneStringParams 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 NewStackCreateDockerStandaloneStringParamsWithContext

func NewStackCreateDockerStandaloneStringParamsWithContext(ctx context.Context) *StackCreateDockerStandaloneStringParams

NewStackCreateDockerStandaloneStringParamsWithContext creates a new StackCreateDockerStandaloneStringParams object with the ability to set a context for a request.

func NewStackCreateDockerStandaloneStringParamsWithHTTPClient

func NewStackCreateDockerStandaloneStringParamsWithHTTPClient(client *http.Client) *StackCreateDockerStandaloneStringParams

NewStackCreateDockerStandaloneStringParamsWithHTTPClient creates a new StackCreateDockerStandaloneStringParams object with the ability to set a custom HTTPClient for a request.

func NewStackCreateDockerStandaloneStringParamsWithTimeout

func NewStackCreateDockerStandaloneStringParamsWithTimeout(timeout time.Duration) *StackCreateDockerStandaloneStringParams

NewStackCreateDockerStandaloneStringParamsWithTimeout creates a new StackCreateDockerStandaloneStringParams object with the ability to set a timeout on a request.

func (*StackCreateDockerStandaloneStringParams) SetBody

SetBody adds the body to the stack create docker standalone string params

func (*StackCreateDockerStandaloneStringParams) SetContext

SetContext adds the context to the stack create docker standalone string params

func (*StackCreateDockerStandaloneStringParams) SetDefaults

func (o *StackCreateDockerStandaloneStringParams) SetDefaults()

SetDefaults hydrates default values in the stack create docker standalone string params (not the query body).

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

func (*StackCreateDockerStandaloneStringParams) SetEndpointID

func (o *StackCreateDockerStandaloneStringParams) SetEndpointID(endpointID int64)

SetEndpointID adds the endpointId to the stack create docker standalone string params

func (*StackCreateDockerStandaloneStringParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack create docker standalone string params

func (*StackCreateDockerStandaloneStringParams) SetTimeout

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

SetTimeout adds the timeout to the stack create docker standalone string params

func (*StackCreateDockerStandaloneStringParams) WithBody

WithBody adds the body to the stack create docker standalone string params

func (*StackCreateDockerStandaloneStringParams) WithContext

WithContext adds the context to the stack create docker standalone string params

func (*StackCreateDockerStandaloneStringParams) WithDefaults

WithDefaults hydrates default values in the stack create docker standalone string params (not the query body).

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

func (*StackCreateDockerStandaloneStringParams) WithEndpointID

WithEndpointID adds the endpointID to the stack create docker standalone string params

func (*StackCreateDockerStandaloneStringParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the stack create docker standalone string params

func (*StackCreateDockerStandaloneStringParams) WithTimeout

WithTimeout adds the timeout to the stack create docker standalone string params

func (*StackCreateDockerStandaloneStringParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StackCreateDockerStandaloneStringReader

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

StackCreateDockerStandaloneStringReader is a Reader for the StackCreateDockerStandaloneString structure.

func (*StackCreateDockerStandaloneStringReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackCreateDockerSwarmFileBadRequest

type StackCreateDockerSwarmFileBadRequest struct {
}

StackCreateDockerSwarmFileBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackCreateDockerSwarmFileBadRequest

func NewStackCreateDockerSwarmFileBadRequest() *StackCreateDockerSwarmFileBadRequest

NewStackCreateDockerSwarmFileBadRequest creates a StackCreateDockerSwarmFileBadRequest with default headers values

func (*StackCreateDockerSwarmFileBadRequest) Code

Code gets the status code for the stack create docker swarm file bad request response

func (*StackCreateDockerSwarmFileBadRequest) Error

func (*StackCreateDockerSwarmFileBadRequest) IsClientError

func (o *StackCreateDockerSwarmFileBadRequest) IsClientError() bool

IsClientError returns true when this stack create docker swarm file bad request response has a 4xx status code

func (*StackCreateDockerSwarmFileBadRequest) IsCode

IsCode returns true when this stack create docker swarm file bad request response a status code equal to that given

func (*StackCreateDockerSwarmFileBadRequest) IsRedirect

IsRedirect returns true when this stack create docker swarm file bad request response has a 3xx status code

func (*StackCreateDockerSwarmFileBadRequest) IsServerError

func (o *StackCreateDockerSwarmFileBadRequest) IsServerError() bool

IsServerError returns true when this stack create docker swarm file bad request response has a 5xx status code

func (*StackCreateDockerSwarmFileBadRequest) IsSuccess

IsSuccess returns true when this stack create docker swarm file bad request response has a 2xx status code

func (*StackCreateDockerSwarmFileBadRequest) String

type StackCreateDockerSwarmFileConflict

type StackCreateDockerSwarmFileConflict struct {
}

StackCreateDockerSwarmFileConflict describes a response with status code 409, with default header values.

Stack name or webhook id is not unique

func NewStackCreateDockerSwarmFileConflict

func NewStackCreateDockerSwarmFileConflict() *StackCreateDockerSwarmFileConflict

NewStackCreateDockerSwarmFileConflict creates a StackCreateDockerSwarmFileConflict with default headers values

func (*StackCreateDockerSwarmFileConflict) Code

Code gets the status code for the stack create docker swarm file conflict response

func (*StackCreateDockerSwarmFileConflict) Error

func (*StackCreateDockerSwarmFileConflict) IsClientError

func (o *StackCreateDockerSwarmFileConflict) IsClientError() bool

IsClientError returns true when this stack create docker swarm file conflict response has a 4xx status code

func (*StackCreateDockerSwarmFileConflict) IsCode

IsCode returns true when this stack create docker swarm file conflict response a status code equal to that given

func (*StackCreateDockerSwarmFileConflict) IsRedirect

func (o *StackCreateDockerSwarmFileConflict) IsRedirect() bool

IsRedirect returns true when this stack create docker swarm file conflict response has a 3xx status code

func (*StackCreateDockerSwarmFileConflict) IsServerError

func (o *StackCreateDockerSwarmFileConflict) IsServerError() bool

IsServerError returns true when this stack create docker swarm file conflict response has a 5xx status code

func (*StackCreateDockerSwarmFileConflict) IsSuccess

IsSuccess returns true when this stack create docker swarm file conflict response has a 2xx status code

func (*StackCreateDockerSwarmFileConflict) String

type StackCreateDockerSwarmFileInternalServerError

type StackCreateDockerSwarmFileInternalServerError struct {
}

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

Server error

func NewStackCreateDockerSwarmFileInternalServerError

func NewStackCreateDockerSwarmFileInternalServerError() *StackCreateDockerSwarmFileInternalServerError

NewStackCreateDockerSwarmFileInternalServerError creates a StackCreateDockerSwarmFileInternalServerError with default headers values

func (*StackCreateDockerSwarmFileInternalServerError) Code

Code gets the status code for the stack create docker swarm file internal server error response

func (*StackCreateDockerSwarmFileInternalServerError) Error

func (*StackCreateDockerSwarmFileInternalServerError) IsClientError

IsClientError returns true when this stack create docker swarm file internal server error response has a 4xx status code

func (*StackCreateDockerSwarmFileInternalServerError) IsCode

IsCode returns true when this stack create docker swarm file internal server error response a status code equal to that given

func (*StackCreateDockerSwarmFileInternalServerError) IsRedirect

IsRedirect returns true when this stack create docker swarm file internal server error response has a 3xx status code

func (*StackCreateDockerSwarmFileInternalServerError) IsServerError

IsServerError returns true when this stack create docker swarm file internal server error response has a 5xx status code

func (*StackCreateDockerSwarmFileInternalServerError) IsSuccess

IsSuccess returns true when this stack create docker swarm file internal server error response has a 2xx status code

func (*StackCreateDockerSwarmFileInternalServerError) String

type StackCreateDockerSwarmFileOK

type StackCreateDockerSwarmFileOK struct {
	Payload *models.PortainereeStack
}

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

OK

func NewStackCreateDockerSwarmFileOK

func NewStackCreateDockerSwarmFileOK() *StackCreateDockerSwarmFileOK

NewStackCreateDockerSwarmFileOK creates a StackCreateDockerSwarmFileOK with default headers values

func (*StackCreateDockerSwarmFileOK) Code

Code gets the status code for the stack create docker swarm file o k response

func (*StackCreateDockerSwarmFileOK) Error

func (*StackCreateDockerSwarmFileOK) GetPayload

func (*StackCreateDockerSwarmFileOK) IsClientError

func (o *StackCreateDockerSwarmFileOK) IsClientError() bool

IsClientError returns true when this stack create docker swarm file o k response has a 4xx status code

func (*StackCreateDockerSwarmFileOK) IsCode

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

IsCode returns true when this stack create docker swarm file o k response a status code equal to that given

func (*StackCreateDockerSwarmFileOK) IsRedirect

func (o *StackCreateDockerSwarmFileOK) IsRedirect() bool

IsRedirect returns true when this stack create docker swarm file o k response has a 3xx status code

func (*StackCreateDockerSwarmFileOK) IsServerError

func (o *StackCreateDockerSwarmFileOK) IsServerError() bool

IsServerError returns true when this stack create docker swarm file o k response has a 5xx status code

func (*StackCreateDockerSwarmFileOK) IsSuccess

func (o *StackCreateDockerSwarmFileOK) IsSuccess() bool

IsSuccess returns true when this stack create docker swarm file o k response has a 2xx status code

func (*StackCreateDockerSwarmFileOK) String

type StackCreateDockerSwarmFileParams

type StackCreateDockerSwarmFileParams struct {

	/* Env.

	   Environment variables passed during deployment, represented as a JSON array [{'name': 'name', 'value': 'value'}]. Optional
	*/
	Env *string

	/* Name.

	   Name of the stack
	*/
	Name *string

	/* SwarmID.

	   Swarm cluster identifier.
	*/
	SwarmID *string

	/* EndpointID.

	   Identifier of the environment that will be used to deploy the stack
	*/
	EndpointID int64

	/* File.

	   Stack file
	*/
	File runtime.NamedReadCloser

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

StackCreateDockerSwarmFileParams contains all the parameters to send to the API endpoint

for the stack create docker swarm file operation.

Typically these are written to a http.Request.

func NewStackCreateDockerSwarmFileParams

func NewStackCreateDockerSwarmFileParams() *StackCreateDockerSwarmFileParams

NewStackCreateDockerSwarmFileParams creates a new StackCreateDockerSwarmFileParams 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 NewStackCreateDockerSwarmFileParamsWithContext

func NewStackCreateDockerSwarmFileParamsWithContext(ctx context.Context) *StackCreateDockerSwarmFileParams

NewStackCreateDockerSwarmFileParamsWithContext creates a new StackCreateDockerSwarmFileParams object with the ability to set a context for a request.

func NewStackCreateDockerSwarmFileParamsWithHTTPClient

func NewStackCreateDockerSwarmFileParamsWithHTTPClient(client *http.Client) *StackCreateDockerSwarmFileParams

NewStackCreateDockerSwarmFileParamsWithHTTPClient creates a new StackCreateDockerSwarmFileParams object with the ability to set a custom HTTPClient for a request.

func NewStackCreateDockerSwarmFileParamsWithTimeout

func NewStackCreateDockerSwarmFileParamsWithTimeout(timeout time.Duration) *StackCreateDockerSwarmFileParams

NewStackCreateDockerSwarmFileParamsWithTimeout creates a new StackCreateDockerSwarmFileParams object with the ability to set a timeout on a request.

func (*StackCreateDockerSwarmFileParams) SetContext

SetContext adds the context to the stack create docker swarm file params

func (*StackCreateDockerSwarmFileParams) SetDefaults

func (o *StackCreateDockerSwarmFileParams) SetDefaults()

SetDefaults hydrates default values in the stack create docker swarm file params (not the query body).

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

func (*StackCreateDockerSwarmFileParams) SetEndpointID

func (o *StackCreateDockerSwarmFileParams) SetEndpointID(endpointID int64)

SetEndpointID adds the endpointId to the stack create docker swarm file params

func (*StackCreateDockerSwarmFileParams) SetEnv

func (o *StackCreateDockerSwarmFileParams) SetEnv(env *string)

SetEnv adds the env to the stack create docker swarm file params

func (*StackCreateDockerSwarmFileParams) SetFile

SetFile adds the file to the stack create docker swarm file params

func (*StackCreateDockerSwarmFileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack create docker swarm file params

func (*StackCreateDockerSwarmFileParams) SetName

func (o *StackCreateDockerSwarmFileParams) SetName(name *string)

SetName adds the name to the stack create docker swarm file params

func (*StackCreateDockerSwarmFileParams) SetSwarmID

func (o *StackCreateDockerSwarmFileParams) SetSwarmID(swarmID *string)

SetSwarmID adds the swarmId to the stack create docker swarm file params

func (*StackCreateDockerSwarmFileParams) SetTimeout

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

SetTimeout adds the timeout to the stack create docker swarm file params

func (*StackCreateDockerSwarmFileParams) WithContext

WithContext adds the context to the stack create docker swarm file params

func (*StackCreateDockerSwarmFileParams) WithDefaults

WithDefaults hydrates default values in the stack create docker swarm file params (not the query body).

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

func (*StackCreateDockerSwarmFileParams) WithEndpointID

WithEndpointID adds the endpointID to the stack create docker swarm file params

func (*StackCreateDockerSwarmFileParams) WithEnv

WithEnv adds the env to the stack create docker swarm file params

func (*StackCreateDockerSwarmFileParams) WithFile

WithFile adds the file to the stack create docker swarm file params

func (*StackCreateDockerSwarmFileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the stack create docker swarm file params

func (*StackCreateDockerSwarmFileParams) WithName

WithName adds the name to the stack create docker swarm file params

func (*StackCreateDockerSwarmFileParams) WithSwarmID

WithSwarmID adds the swarmID to the stack create docker swarm file params

func (*StackCreateDockerSwarmFileParams) WithTimeout

WithTimeout adds the timeout to the stack create docker swarm file params

func (*StackCreateDockerSwarmFileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StackCreateDockerSwarmFileReader

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

StackCreateDockerSwarmFileReader is a Reader for the StackCreateDockerSwarmFile structure.

func (*StackCreateDockerSwarmFileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackCreateDockerSwarmRepositoryBadRequest

type StackCreateDockerSwarmRepositoryBadRequest struct {
}

StackCreateDockerSwarmRepositoryBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackCreateDockerSwarmRepositoryBadRequest

func NewStackCreateDockerSwarmRepositoryBadRequest() *StackCreateDockerSwarmRepositoryBadRequest

NewStackCreateDockerSwarmRepositoryBadRequest creates a StackCreateDockerSwarmRepositoryBadRequest with default headers values

func (*StackCreateDockerSwarmRepositoryBadRequest) Code

Code gets the status code for the stack create docker swarm repository bad request response

func (*StackCreateDockerSwarmRepositoryBadRequest) Error

func (*StackCreateDockerSwarmRepositoryBadRequest) IsClientError

IsClientError returns true when this stack create docker swarm repository bad request response has a 4xx status code

func (*StackCreateDockerSwarmRepositoryBadRequest) IsCode

IsCode returns true when this stack create docker swarm repository bad request response a status code equal to that given

func (*StackCreateDockerSwarmRepositoryBadRequest) IsRedirect

IsRedirect returns true when this stack create docker swarm repository bad request response has a 3xx status code

func (*StackCreateDockerSwarmRepositoryBadRequest) IsServerError

IsServerError returns true when this stack create docker swarm repository bad request response has a 5xx status code

func (*StackCreateDockerSwarmRepositoryBadRequest) IsSuccess

IsSuccess returns true when this stack create docker swarm repository bad request response has a 2xx status code

func (*StackCreateDockerSwarmRepositoryBadRequest) String

type StackCreateDockerSwarmRepositoryConflict

type StackCreateDockerSwarmRepositoryConflict struct {
}

StackCreateDockerSwarmRepositoryConflict describes a response with status code 409, with default header values.

Stack name or webhook id is not unique

func NewStackCreateDockerSwarmRepositoryConflict

func NewStackCreateDockerSwarmRepositoryConflict() *StackCreateDockerSwarmRepositoryConflict

NewStackCreateDockerSwarmRepositoryConflict creates a StackCreateDockerSwarmRepositoryConflict with default headers values

func (*StackCreateDockerSwarmRepositoryConflict) Code

Code gets the status code for the stack create docker swarm repository conflict response

func (*StackCreateDockerSwarmRepositoryConflict) Error

func (*StackCreateDockerSwarmRepositoryConflict) IsClientError

IsClientError returns true when this stack create docker swarm repository conflict response has a 4xx status code

func (*StackCreateDockerSwarmRepositoryConflict) IsCode

IsCode returns true when this stack create docker swarm repository conflict response a status code equal to that given

func (*StackCreateDockerSwarmRepositoryConflict) IsRedirect

IsRedirect returns true when this stack create docker swarm repository conflict response has a 3xx status code

func (*StackCreateDockerSwarmRepositoryConflict) IsServerError

IsServerError returns true when this stack create docker swarm repository conflict response has a 5xx status code

func (*StackCreateDockerSwarmRepositoryConflict) IsSuccess

IsSuccess returns true when this stack create docker swarm repository conflict response has a 2xx status code

func (*StackCreateDockerSwarmRepositoryConflict) String

type StackCreateDockerSwarmRepositoryInternalServerError

type StackCreateDockerSwarmRepositoryInternalServerError struct {
}

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

Server error

func NewStackCreateDockerSwarmRepositoryInternalServerError

func NewStackCreateDockerSwarmRepositoryInternalServerError() *StackCreateDockerSwarmRepositoryInternalServerError

NewStackCreateDockerSwarmRepositoryInternalServerError creates a StackCreateDockerSwarmRepositoryInternalServerError with default headers values

func (*StackCreateDockerSwarmRepositoryInternalServerError) Code

Code gets the status code for the stack create docker swarm repository internal server error response

func (*StackCreateDockerSwarmRepositoryInternalServerError) Error

func (*StackCreateDockerSwarmRepositoryInternalServerError) IsClientError

IsClientError returns true when this stack create docker swarm repository internal server error response has a 4xx status code

func (*StackCreateDockerSwarmRepositoryInternalServerError) IsCode

IsCode returns true when this stack create docker swarm repository internal server error response a status code equal to that given

func (*StackCreateDockerSwarmRepositoryInternalServerError) IsRedirect

IsRedirect returns true when this stack create docker swarm repository internal server error response has a 3xx status code

func (*StackCreateDockerSwarmRepositoryInternalServerError) IsServerError

IsServerError returns true when this stack create docker swarm repository internal server error response has a 5xx status code

func (*StackCreateDockerSwarmRepositoryInternalServerError) IsSuccess

IsSuccess returns true when this stack create docker swarm repository internal server error response has a 2xx status code

func (*StackCreateDockerSwarmRepositoryInternalServerError) String

type StackCreateDockerSwarmRepositoryOK

type StackCreateDockerSwarmRepositoryOK struct {
	Payload *models.PortainereeStack
}

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

OK

func NewStackCreateDockerSwarmRepositoryOK

func NewStackCreateDockerSwarmRepositoryOK() *StackCreateDockerSwarmRepositoryOK

NewStackCreateDockerSwarmRepositoryOK creates a StackCreateDockerSwarmRepositoryOK with default headers values

func (*StackCreateDockerSwarmRepositoryOK) Code

Code gets the status code for the stack create docker swarm repository o k response

func (*StackCreateDockerSwarmRepositoryOK) Error

func (*StackCreateDockerSwarmRepositoryOK) GetPayload

func (*StackCreateDockerSwarmRepositoryOK) IsClientError

func (o *StackCreateDockerSwarmRepositoryOK) IsClientError() bool

IsClientError returns true when this stack create docker swarm repository o k response has a 4xx status code

func (*StackCreateDockerSwarmRepositoryOK) IsCode

IsCode returns true when this stack create docker swarm repository o k response a status code equal to that given

func (*StackCreateDockerSwarmRepositoryOK) IsRedirect

func (o *StackCreateDockerSwarmRepositoryOK) IsRedirect() bool

IsRedirect returns true when this stack create docker swarm repository o k response has a 3xx status code

func (*StackCreateDockerSwarmRepositoryOK) IsServerError

func (o *StackCreateDockerSwarmRepositoryOK) IsServerError() bool

IsServerError returns true when this stack create docker swarm repository o k response has a 5xx status code

func (*StackCreateDockerSwarmRepositoryOK) IsSuccess

IsSuccess returns true when this stack create docker swarm repository o k response has a 2xx status code

func (*StackCreateDockerSwarmRepositoryOK) String

type StackCreateDockerSwarmRepositoryParams

type StackCreateDockerSwarmRepositoryParams struct {

	/* Body.

	   stack config
	*/
	Body *models.StacksSwarmStackFromGitRepositoryPayload

	/* EndpointID.

	   Identifier of the environment that will be used to deploy the stack
	*/
	EndpointID int64

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

StackCreateDockerSwarmRepositoryParams contains all the parameters to send to the API endpoint

for the stack create docker swarm repository operation.

Typically these are written to a http.Request.

func NewStackCreateDockerSwarmRepositoryParams

func NewStackCreateDockerSwarmRepositoryParams() *StackCreateDockerSwarmRepositoryParams

NewStackCreateDockerSwarmRepositoryParams creates a new StackCreateDockerSwarmRepositoryParams 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 NewStackCreateDockerSwarmRepositoryParamsWithContext

func NewStackCreateDockerSwarmRepositoryParamsWithContext(ctx context.Context) *StackCreateDockerSwarmRepositoryParams

NewStackCreateDockerSwarmRepositoryParamsWithContext creates a new StackCreateDockerSwarmRepositoryParams object with the ability to set a context for a request.

func NewStackCreateDockerSwarmRepositoryParamsWithHTTPClient

func NewStackCreateDockerSwarmRepositoryParamsWithHTTPClient(client *http.Client) *StackCreateDockerSwarmRepositoryParams

NewStackCreateDockerSwarmRepositoryParamsWithHTTPClient creates a new StackCreateDockerSwarmRepositoryParams object with the ability to set a custom HTTPClient for a request.

func NewStackCreateDockerSwarmRepositoryParamsWithTimeout

func NewStackCreateDockerSwarmRepositoryParamsWithTimeout(timeout time.Duration) *StackCreateDockerSwarmRepositoryParams

NewStackCreateDockerSwarmRepositoryParamsWithTimeout creates a new StackCreateDockerSwarmRepositoryParams object with the ability to set a timeout on a request.

func (*StackCreateDockerSwarmRepositoryParams) SetBody

SetBody adds the body to the stack create docker swarm repository params

func (*StackCreateDockerSwarmRepositoryParams) SetContext

SetContext adds the context to the stack create docker swarm repository params

func (*StackCreateDockerSwarmRepositoryParams) SetDefaults

func (o *StackCreateDockerSwarmRepositoryParams) SetDefaults()

SetDefaults hydrates default values in the stack create docker swarm repository params (not the query body).

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

func (*StackCreateDockerSwarmRepositoryParams) SetEndpointID

func (o *StackCreateDockerSwarmRepositoryParams) SetEndpointID(endpointID int64)

SetEndpointID adds the endpointId to the stack create docker swarm repository params

func (*StackCreateDockerSwarmRepositoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack create docker swarm repository params

func (*StackCreateDockerSwarmRepositoryParams) SetTimeout

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

SetTimeout adds the timeout to the stack create docker swarm repository params

func (*StackCreateDockerSwarmRepositoryParams) WithBody

WithBody adds the body to the stack create docker swarm repository params

func (*StackCreateDockerSwarmRepositoryParams) WithContext

WithContext adds the context to the stack create docker swarm repository params

func (*StackCreateDockerSwarmRepositoryParams) WithDefaults

WithDefaults hydrates default values in the stack create docker swarm repository params (not the query body).

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

func (*StackCreateDockerSwarmRepositoryParams) WithEndpointID

WithEndpointID adds the endpointID to the stack create docker swarm repository params

func (*StackCreateDockerSwarmRepositoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the stack create docker swarm repository params

func (*StackCreateDockerSwarmRepositoryParams) WithTimeout

WithTimeout adds the timeout to the stack create docker swarm repository params

func (*StackCreateDockerSwarmRepositoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StackCreateDockerSwarmRepositoryReader

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

StackCreateDockerSwarmRepositoryReader is a Reader for the StackCreateDockerSwarmRepository structure.

func (*StackCreateDockerSwarmRepositoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackCreateDockerSwarmStringBadRequest

type StackCreateDockerSwarmStringBadRequest struct {
}

StackCreateDockerSwarmStringBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackCreateDockerSwarmStringBadRequest

func NewStackCreateDockerSwarmStringBadRequest() *StackCreateDockerSwarmStringBadRequest

NewStackCreateDockerSwarmStringBadRequest creates a StackCreateDockerSwarmStringBadRequest with default headers values

func (*StackCreateDockerSwarmStringBadRequest) Code

Code gets the status code for the stack create docker swarm string bad request response

func (*StackCreateDockerSwarmStringBadRequest) Error

func (*StackCreateDockerSwarmStringBadRequest) IsClientError

func (o *StackCreateDockerSwarmStringBadRequest) IsClientError() bool

IsClientError returns true when this stack create docker swarm string bad request response has a 4xx status code

func (*StackCreateDockerSwarmStringBadRequest) IsCode

IsCode returns true when this stack create docker swarm string bad request response a status code equal to that given

func (*StackCreateDockerSwarmStringBadRequest) IsRedirect

IsRedirect returns true when this stack create docker swarm string bad request response has a 3xx status code

func (*StackCreateDockerSwarmStringBadRequest) IsServerError

func (o *StackCreateDockerSwarmStringBadRequest) IsServerError() bool

IsServerError returns true when this stack create docker swarm string bad request response has a 5xx status code

func (*StackCreateDockerSwarmStringBadRequest) IsSuccess

IsSuccess returns true when this stack create docker swarm string bad request response has a 2xx status code

func (*StackCreateDockerSwarmStringBadRequest) String

type StackCreateDockerSwarmStringConflict

type StackCreateDockerSwarmStringConflict struct {
}

StackCreateDockerSwarmStringConflict describes a response with status code 409, with default header values.

Stack name or webhook id is not unique

func NewStackCreateDockerSwarmStringConflict

func NewStackCreateDockerSwarmStringConflict() *StackCreateDockerSwarmStringConflict

NewStackCreateDockerSwarmStringConflict creates a StackCreateDockerSwarmStringConflict with default headers values

func (*StackCreateDockerSwarmStringConflict) Code

Code gets the status code for the stack create docker swarm string conflict response

func (*StackCreateDockerSwarmStringConflict) Error

func (*StackCreateDockerSwarmStringConflict) IsClientError

func (o *StackCreateDockerSwarmStringConflict) IsClientError() bool

IsClientError returns true when this stack create docker swarm string conflict response has a 4xx status code

func (*StackCreateDockerSwarmStringConflict) IsCode

IsCode returns true when this stack create docker swarm string conflict response a status code equal to that given

func (*StackCreateDockerSwarmStringConflict) IsRedirect

IsRedirect returns true when this stack create docker swarm string conflict response has a 3xx status code

func (*StackCreateDockerSwarmStringConflict) IsServerError

func (o *StackCreateDockerSwarmStringConflict) IsServerError() bool

IsServerError returns true when this stack create docker swarm string conflict response has a 5xx status code

func (*StackCreateDockerSwarmStringConflict) IsSuccess

IsSuccess returns true when this stack create docker swarm string conflict response has a 2xx status code

func (*StackCreateDockerSwarmStringConflict) String

type StackCreateDockerSwarmStringInternalServerError

type StackCreateDockerSwarmStringInternalServerError struct {
}

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

Server error

func NewStackCreateDockerSwarmStringInternalServerError

func NewStackCreateDockerSwarmStringInternalServerError() *StackCreateDockerSwarmStringInternalServerError

NewStackCreateDockerSwarmStringInternalServerError creates a StackCreateDockerSwarmStringInternalServerError with default headers values

func (*StackCreateDockerSwarmStringInternalServerError) Code

Code gets the status code for the stack create docker swarm string internal server error response

func (*StackCreateDockerSwarmStringInternalServerError) Error

func (*StackCreateDockerSwarmStringInternalServerError) IsClientError

IsClientError returns true when this stack create docker swarm string internal server error response has a 4xx status code

func (*StackCreateDockerSwarmStringInternalServerError) IsCode

IsCode returns true when this stack create docker swarm string internal server error response a status code equal to that given

func (*StackCreateDockerSwarmStringInternalServerError) IsRedirect

IsRedirect returns true when this stack create docker swarm string internal server error response has a 3xx status code

func (*StackCreateDockerSwarmStringInternalServerError) IsServerError

IsServerError returns true when this stack create docker swarm string internal server error response has a 5xx status code

func (*StackCreateDockerSwarmStringInternalServerError) IsSuccess

IsSuccess returns true when this stack create docker swarm string internal server error response has a 2xx status code

func (*StackCreateDockerSwarmStringInternalServerError) String

type StackCreateDockerSwarmStringOK

type StackCreateDockerSwarmStringOK struct {
	Payload *models.PortainereeStack
}

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

OK

func NewStackCreateDockerSwarmStringOK

func NewStackCreateDockerSwarmStringOK() *StackCreateDockerSwarmStringOK

NewStackCreateDockerSwarmStringOK creates a StackCreateDockerSwarmStringOK with default headers values

func (*StackCreateDockerSwarmStringOK) Code

Code gets the status code for the stack create docker swarm string o k response

func (*StackCreateDockerSwarmStringOK) Error

func (*StackCreateDockerSwarmStringOK) GetPayload

func (*StackCreateDockerSwarmStringOK) IsClientError

func (o *StackCreateDockerSwarmStringOK) IsClientError() bool

IsClientError returns true when this stack create docker swarm string o k response has a 4xx status code

func (*StackCreateDockerSwarmStringOK) IsCode

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

IsCode returns true when this stack create docker swarm string o k response a status code equal to that given

func (*StackCreateDockerSwarmStringOK) IsRedirect

func (o *StackCreateDockerSwarmStringOK) IsRedirect() bool

IsRedirect returns true when this stack create docker swarm string o k response has a 3xx status code

func (*StackCreateDockerSwarmStringOK) IsServerError

func (o *StackCreateDockerSwarmStringOK) IsServerError() bool

IsServerError returns true when this stack create docker swarm string o k response has a 5xx status code

func (*StackCreateDockerSwarmStringOK) IsSuccess

func (o *StackCreateDockerSwarmStringOK) IsSuccess() bool

IsSuccess returns true when this stack create docker swarm string o k response has a 2xx status code

func (*StackCreateDockerSwarmStringOK) String

type StackCreateDockerSwarmStringParams

type StackCreateDockerSwarmStringParams struct {

	/* Body.

	   stack config
	*/
	Body *models.StacksSwarmStackFromFileContentPayload

	/* EndpointID.

	   Identifier of the environment that will be used to deploy the stack
	*/
	EndpointID int64

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

StackCreateDockerSwarmStringParams contains all the parameters to send to the API endpoint

for the stack create docker swarm string operation.

Typically these are written to a http.Request.

func NewStackCreateDockerSwarmStringParams

func NewStackCreateDockerSwarmStringParams() *StackCreateDockerSwarmStringParams

NewStackCreateDockerSwarmStringParams creates a new StackCreateDockerSwarmStringParams 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 NewStackCreateDockerSwarmStringParamsWithContext

func NewStackCreateDockerSwarmStringParamsWithContext(ctx context.Context) *StackCreateDockerSwarmStringParams

NewStackCreateDockerSwarmStringParamsWithContext creates a new StackCreateDockerSwarmStringParams object with the ability to set a context for a request.

func NewStackCreateDockerSwarmStringParamsWithHTTPClient

func NewStackCreateDockerSwarmStringParamsWithHTTPClient(client *http.Client) *StackCreateDockerSwarmStringParams

NewStackCreateDockerSwarmStringParamsWithHTTPClient creates a new StackCreateDockerSwarmStringParams object with the ability to set a custom HTTPClient for a request.

func NewStackCreateDockerSwarmStringParamsWithTimeout

func NewStackCreateDockerSwarmStringParamsWithTimeout(timeout time.Duration) *StackCreateDockerSwarmStringParams

NewStackCreateDockerSwarmStringParamsWithTimeout creates a new StackCreateDockerSwarmStringParams object with the ability to set a timeout on a request.

func (*StackCreateDockerSwarmStringParams) SetBody

SetBody adds the body to the stack create docker swarm string params

func (*StackCreateDockerSwarmStringParams) SetContext

SetContext adds the context to the stack create docker swarm string params

func (*StackCreateDockerSwarmStringParams) SetDefaults

func (o *StackCreateDockerSwarmStringParams) SetDefaults()

SetDefaults hydrates default values in the stack create docker swarm string params (not the query body).

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

func (*StackCreateDockerSwarmStringParams) SetEndpointID

func (o *StackCreateDockerSwarmStringParams) SetEndpointID(endpointID int64)

SetEndpointID adds the endpointId to the stack create docker swarm string params

func (*StackCreateDockerSwarmStringParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack create docker swarm string params

func (*StackCreateDockerSwarmStringParams) SetTimeout

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

SetTimeout adds the timeout to the stack create docker swarm string params

func (*StackCreateDockerSwarmStringParams) WithBody

WithBody adds the body to the stack create docker swarm string params

func (*StackCreateDockerSwarmStringParams) WithContext

WithContext adds the context to the stack create docker swarm string params

func (*StackCreateDockerSwarmStringParams) WithDefaults

WithDefaults hydrates default values in the stack create docker swarm string params (not the query body).

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

func (*StackCreateDockerSwarmStringParams) WithEndpointID

WithEndpointID adds the endpointID to the stack create docker swarm string params

func (*StackCreateDockerSwarmStringParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the stack create docker swarm string params

func (*StackCreateDockerSwarmStringParams) WithTimeout

WithTimeout adds the timeout to the stack create docker swarm string params

func (*StackCreateDockerSwarmStringParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StackCreateDockerSwarmStringReader

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

StackCreateDockerSwarmStringReader is a Reader for the StackCreateDockerSwarmString structure.

func (*StackCreateDockerSwarmStringReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackCreateKubernetesFileBadRequest

type StackCreateKubernetesFileBadRequest struct {
}

StackCreateKubernetesFileBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackCreateKubernetesFileBadRequest

func NewStackCreateKubernetesFileBadRequest() *StackCreateKubernetesFileBadRequest

NewStackCreateKubernetesFileBadRequest creates a StackCreateKubernetesFileBadRequest with default headers values

func (*StackCreateKubernetesFileBadRequest) Code

Code gets the status code for the stack create kubernetes file bad request response

func (*StackCreateKubernetesFileBadRequest) Error

func (*StackCreateKubernetesFileBadRequest) IsClientError

func (o *StackCreateKubernetesFileBadRequest) IsClientError() bool

IsClientError returns true when this stack create kubernetes file bad request response has a 4xx status code

func (*StackCreateKubernetesFileBadRequest) IsCode

IsCode returns true when this stack create kubernetes file bad request response a status code equal to that given

func (*StackCreateKubernetesFileBadRequest) IsRedirect

func (o *StackCreateKubernetesFileBadRequest) IsRedirect() bool

IsRedirect returns true when this stack create kubernetes file bad request response has a 3xx status code

func (*StackCreateKubernetesFileBadRequest) IsServerError

func (o *StackCreateKubernetesFileBadRequest) IsServerError() bool

IsServerError returns true when this stack create kubernetes file bad request response has a 5xx status code

func (*StackCreateKubernetesFileBadRequest) IsSuccess

IsSuccess returns true when this stack create kubernetes file bad request response has a 2xx status code

func (*StackCreateKubernetesFileBadRequest) String

type StackCreateKubernetesFileInternalServerError

type StackCreateKubernetesFileInternalServerError struct {
}

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

Server error

func NewStackCreateKubernetesFileInternalServerError

func NewStackCreateKubernetesFileInternalServerError() *StackCreateKubernetesFileInternalServerError

NewStackCreateKubernetesFileInternalServerError creates a StackCreateKubernetesFileInternalServerError with default headers values

func (*StackCreateKubernetesFileInternalServerError) Code

Code gets the status code for the stack create kubernetes file internal server error response

func (*StackCreateKubernetesFileInternalServerError) Error

func (*StackCreateKubernetesFileInternalServerError) IsClientError

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

func (*StackCreateKubernetesFileInternalServerError) IsCode

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

func (*StackCreateKubernetesFileInternalServerError) IsRedirect

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

func (*StackCreateKubernetesFileInternalServerError) IsServerError

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

func (*StackCreateKubernetesFileInternalServerError) IsSuccess

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

func (*StackCreateKubernetesFileInternalServerError) String

type StackCreateKubernetesFileOK

type StackCreateKubernetesFileOK struct {
	Payload *models.PortainereeStack
}

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

OK

func NewStackCreateKubernetesFileOK

func NewStackCreateKubernetesFileOK() *StackCreateKubernetesFileOK

NewStackCreateKubernetesFileOK creates a StackCreateKubernetesFileOK with default headers values

func (*StackCreateKubernetesFileOK) Code

func (o *StackCreateKubernetesFileOK) Code() int

Code gets the status code for the stack create kubernetes file o k response

func (*StackCreateKubernetesFileOK) Error

func (*StackCreateKubernetesFileOK) GetPayload

func (*StackCreateKubernetesFileOK) IsClientError

func (o *StackCreateKubernetesFileOK) IsClientError() bool

IsClientError returns true when this stack create kubernetes file o k response has a 4xx status code

func (*StackCreateKubernetesFileOK) IsCode

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

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

func (*StackCreateKubernetesFileOK) IsRedirect

func (o *StackCreateKubernetesFileOK) IsRedirect() bool

IsRedirect returns true when this stack create kubernetes file o k response has a 3xx status code

func (*StackCreateKubernetesFileOK) IsServerError

func (o *StackCreateKubernetesFileOK) IsServerError() bool

IsServerError returns true when this stack create kubernetes file o k response has a 5xx status code

func (*StackCreateKubernetesFileOK) IsSuccess

func (o *StackCreateKubernetesFileOK) IsSuccess() bool

IsSuccess returns true when this stack create kubernetes file o k response has a 2xx status code

func (*StackCreateKubernetesFileOK) String

func (o *StackCreateKubernetesFileOK) String() string

type StackCreateKubernetesFileParams

type StackCreateKubernetesFileParams struct {

	/* Body.

	   stack config
	*/
	Body *models.StacksKubernetesStringDeploymentPayload

	/* EndpointID.

	   Identifier of the environment that will be used to deploy the stack
	*/
	EndpointID int64

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

StackCreateKubernetesFileParams contains all the parameters to send to the API endpoint

for the stack create kubernetes file operation.

Typically these are written to a http.Request.

func NewStackCreateKubernetesFileParams

func NewStackCreateKubernetesFileParams() *StackCreateKubernetesFileParams

NewStackCreateKubernetesFileParams creates a new StackCreateKubernetesFileParams 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 NewStackCreateKubernetesFileParamsWithContext

func NewStackCreateKubernetesFileParamsWithContext(ctx context.Context) *StackCreateKubernetesFileParams

NewStackCreateKubernetesFileParamsWithContext creates a new StackCreateKubernetesFileParams object with the ability to set a context for a request.

func NewStackCreateKubernetesFileParamsWithHTTPClient

func NewStackCreateKubernetesFileParamsWithHTTPClient(client *http.Client) *StackCreateKubernetesFileParams

NewStackCreateKubernetesFileParamsWithHTTPClient creates a new StackCreateKubernetesFileParams object with the ability to set a custom HTTPClient for a request.

func NewStackCreateKubernetesFileParamsWithTimeout

func NewStackCreateKubernetesFileParamsWithTimeout(timeout time.Duration) *StackCreateKubernetesFileParams

NewStackCreateKubernetesFileParamsWithTimeout creates a new StackCreateKubernetesFileParams object with the ability to set a timeout on a request.

func (*StackCreateKubernetesFileParams) SetBody

SetBody adds the body to the stack create kubernetes file params

func (*StackCreateKubernetesFileParams) SetContext

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

SetContext adds the context to the stack create kubernetes file params

func (*StackCreateKubernetesFileParams) SetDefaults

func (o *StackCreateKubernetesFileParams) SetDefaults()

SetDefaults hydrates default values in the stack create kubernetes file params (not the query body).

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

func (*StackCreateKubernetesFileParams) SetEndpointID

func (o *StackCreateKubernetesFileParams) SetEndpointID(endpointID int64)

SetEndpointID adds the endpointId to the stack create kubernetes file params

func (*StackCreateKubernetesFileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack create kubernetes file params

func (*StackCreateKubernetesFileParams) SetTimeout

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

SetTimeout adds the timeout to the stack create kubernetes file params

func (*StackCreateKubernetesFileParams) WithBody

WithBody adds the body to the stack create kubernetes file params

func (*StackCreateKubernetesFileParams) WithContext

WithContext adds the context to the stack create kubernetes file params

func (*StackCreateKubernetesFileParams) WithDefaults

WithDefaults hydrates default values in the stack create kubernetes file params (not the query body).

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

func (*StackCreateKubernetesFileParams) WithEndpointID

WithEndpointID adds the endpointID to the stack create kubernetes file params

func (*StackCreateKubernetesFileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the stack create kubernetes file params

func (*StackCreateKubernetesFileParams) WithTimeout

WithTimeout adds the timeout to the stack create kubernetes file params

func (*StackCreateKubernetesFileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StackCreateKubernetesFileReader

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

StackCreateKubernetesFileReader is a Reader for the StackCreateKubernetesFile structure.

func (*StackCreateKubernetesFileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackCreateKubernetesGitBadRequest

type StackCreateKubernetesGitBadRequest struct {
}

StackCreateKubernetesGitBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackCreateKubernetesGitBadRequest

func NewStackCreateKubernetesGitBadRequest() *StackCreateKubernetesGitBadRequest

NewStackCreateKubernetesGitBadRequest creates a StackCreateKubernetesGitBadRequest with default headers values

func (*StackCreateKubernetesGitBadRequest) Code

Code gets the status code for the stack create kubernetes git bad request response

func (*StackCreateKubernetesGitBadRequest) Error

func (*StackCreateKubernetesGitBadRequest) IsClientError

func (o *StackCreateKubernetesGitBadRequest) IsClientError() bool

IsClientError returns true when this stack create kubernetes git bad request response has a 4xx status code

func (*StackCreateKubernetesGitBadRequest) IsCode

IsCode returns true when this stack create kubernetes git bad request response a status code equal to that given

func (*StackCreateKubernetesGitBadRequest) IsRedirect

func (o *StackCreateKubernetesGitBadRequest) IsRedirect() bool

IsRedirect returns true when this stack create kubernetes git bad request response has a 3xx status code

func (*StackCreateKubernetesGitBadRequest) IsServerError

func (o *StackCreateKubernetesGitBadRequest) IsServerError() bool

IsServerError returns true when this stack create kubernetes git bad request response has a 5xx status code

func (*StackCreateKubernetesGitBadRequest) IsSuccess

IsSuccess returns true when this stack create kubernetes git bad request response has a 2xx status code

func (*StackCreateKubernetesGitBadRequest) String

type StackCreateKubernetesGitConflict

type StackCreateKubernetesGitConflict struct {
}

StackCreateKubernetesGitConflict describes a response with status code 409, with default header values.

Webhook ID already exists

func NewStackCreateKubernetesGitConflict

func NewStackCreateKubernetesGitConflict() *StackCreateKubernetesGitConflict

NewStackCreateKubernetesGitConflict creates a StackCreateKubernetesGitConflict with default headers values

func (*StackCreateKubernetesGitConflict) Code

Code gets the status code for the stack create kubernetes git conflict response

func (*StackCreateKubernetesGitConflict) Error

func (*StackCreateKubernetesGitConflict) IsClientError

func (o *StackCreateKubernetesGitConflict) IsClientError() bool

IsClientError returns true when this stack create kubernetes git conflict response has a 4xx status code

func (*StackCreateKubernetesGitConflict) IsCode

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

IsCode returns true when this stack create kubernetes git conflict response a status code equal to that given

func (*StackCreateKubernetesGitConflict) IsRedirect

func (o *StackCreateKubernetesGitConflict) IsRedirect() bool

IsRedirect returns true when this stack create kubernetes git conflict response has a 3xx status code

func (*StackCreateKubernetesGitConflict) IsServerError

func (o *StackCreateKubernetesGitConflict) IsServerError() bool

IsServerError returns true when this stack create kubernetes git conflict response has a 5xx status code

func (*StackCreateKubernetesGitConflict) IsSuccess

func (o *StackCreateKubernetesGitConflict) IsSuccess() bool

IsSuccess returns true when this stack create kubernetes git conflict response has a 2xx status code

func (*StackCreateKubernetesGitConflict) String

type StackCreateKubernetesGitInternalServerError

type StackCreateKubernetesGitInternalServerError struct {
}

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

Server error

func NewStackCreateKubernetesGitInternalServerError

func NewStackCreateKubernetesGitInternalServerError() *StackCreateKubernetesGitInternalServerError

NewStackCreateKubernetesGitInternalServerError creates a StackCreateKubernetesGitInternalServerError with default headers values

func (*StackCreateKubernetesGitInternalServerError) Code

Code gets the status code for the stack create kubernetes git internal server error response

func (*StackCreateKubernetesGitInternalServerError) Error

func (*StackCreateKubernetesGitInternalServerError) IsClientError

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

func (*StackCreateKubernetesGitInternalServerError) IsCode

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

func (*StackCreateKubernetesGitInternalServerError) IsRedirect

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

func (*StackCreateKubernetesGitInternalServerError) IsServerError

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

func (*StackCreateKubernetesGitInternalServerError) IsSuccess

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

func (*StackCreateKubernetesGitInternalServerError) String

type StackCreateKubernetesGitOK

type StackCreateKubernetesGitOK struct {
	Payload *models.PortainereeStack
}

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

OK

func NewStackCreateKubernetesGitOK

func NewStackCreateKubernetesGitOK() *StackCreateKubernetesGitOK

NewStackCreateKubernetesGitOK creates a StackCreateKubernetesGitOK with default headers values

func (*StackCreateKubernetesGitOK) Code

func (o *StackCreateKubernetesGitOK) Code() int

Code gets the status code for the stack create kubernetes git o k response

func (*StackCreateKubernetesGitOK) Error

func (*StackCreateKubernetesGitOK) GetPayload

func (*StackCreateKubernetesGitOK) IsClientError

func (o *StackCreateKubernetesGitOK) IsClientError() bool

IsClientError returns true when this stack create kubernetes git o k response has a 4xx status code

func (*StackCreateKubernetesGitOK) IsCode

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

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

func (*StackCreateKubernetesGitOK) IsRedirect

func (o *StackCreateKubernetesGitOK) IsRedirect() bool

IsRedirect returns true when this stack create kubernetes git o k response has a 3xx status code

func (*StackCreateKubernetesGitOK) IsServerError

func (o *StackCreateKubernetesGitOK) IsServerError() bool

IsServerError returns true when this stack create kubernetes git o k response has a 5xx status code

func (*StackCreateKubernetesGitOK) IsSuccess

func (o *StackCreateKubernetesGitOK) IsSuccess() bool

IsSuccess returns true when this stack create kubernetes git o k response has a 2xx status code

func (*StackCreateKubernetesGitOK) String

func (o *StackCreateKubernetesGitOK) String() string

type StackCreateKubernetesGitParams

type StackCreateKubernetesGitParams struct {

	/* Body.

	   stack config
	*/
	Body *models.StacksKubernetesGitDeploymentPayload

	/* EndpointID.

	   Identifier of the environment that will be used to deploy the stack
	*/
	EndpointID int64

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

StackCreateKubernetesGitParams contains all the parameters to send to the API endpoint

for the stack create kubernetes git operation.

Typically these are written to a http.Request.

func NewStackCreateKubernetesGitParams

func NewStackCreateKubernetesGitParams() *StackCreateKubernetesGitParams

NewStackCreateKubernetesGitParams creates a new StackCreateKubernetesGitParams 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 NewStackCreateKubernetesGitParamsWithContext

func NewStackCreateKubernetesGitParamsWithContext(ctx context.Context) *StackCreateKubernetesGitParams

NewStackCreateKubernetesGitParamsWithContext creates a new StackCreateKubernetesGitParams object with the ability to set a context for a request.

func NewStackCreateKubernetesGitParamsWithHTTPClient

func NewStackCreateKubernetesGitParamsWithHTTPClient(client *http.Client) *StackCreateKubernetesGitParams

NewStackCreateKubernetesGitParamsWithHTTPClient creates a new StackCreateKubernetesGitParams object with the ability to set a custom HTTPClient for a request.

func NewStackCreateKubernetesGitParamsWithTimeout

func NewStackCreateKubernetesGitParamsWithTimeout(timeout time.Duration) *StackCreateKubernetesGitParams

NewStackCreateKubernetesGitParamsWithTimeout creates a new StackCreateKubernetesGitParams object with the ability to set a timeout on a request.

func (*StackCreateKubernetesGitParams) SetBody

SetBody adds the body to the stack create kubernetes git params

func (*StackCreateKubernetesGitParams) SetContext

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

SetContext adds the context to the stack create kubernetes git params

func (*StackCreateKubernetesGitParams) SetDefaults

func (o *StackCreateKubernetesGitParams) SetDefaults()

SetDefaults hydrates default values in the stack create kubernetes git params (not the query body).

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

func (*StackCreateKubernetesGitParams) SetEndpointID

func (o *StackCreateKubernetesGitParams) SetEndpointID(endpointID int64)

SetEndpointID adds the endpointId to the stack create kubernetes git params

func (*StackCreateKubernetesGitParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack create kubernetes git params

func (*StackCreateKubernetesGitParams) SetTimeout

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

SetTimeout adds the timeout to the stack create kubernetes git params

func (*StackCreateKubernetesGitParams) WithBody

WithBody adds the body to the stack create kubernetes git params

func (*StackCreateKubernetesGitParams) WithContext

WithContext adds the context to the stack create kubernetes git params

func (*StackCreateKubernetesGitParams) WithDefaults

WithDefaults hydrates default values in the stack create kubernetes git params (not the query body).

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

func (*StackCreateKubernetesGitParams) WithEndpointID

WithEndpointID adds the endpointID to the stack create kubernetes git params

func (*StackCreateKubernetesGitParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the stack create kubernetes git params

func (*StackCreateKubernetesGitParams) WithTimeout

WithTimeout adds the timeout to the stack create kubernetes git params

func (*StackCreateKubernetesGitParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StackCreateKubernetesGitReader

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

StackCreateKubernetesGitReader is a Reader for the StackCreateKubernetesGit structure.

func (*StackCreateKubernetesGitReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackCreateKubernetesURLBadRequest

type StackCreateKubernetesURLBadRequest struct {
}

StackCreateKubernetesURLBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackCreateKubernetesURLBadRequest

func NewStackCreateKubernetesURLBadRequest() *StackCreateKubernetesURLBadRequest

NewStackCreateKubernetesURLBadRequest creates a StackCreateKubernetesURLBadRequest with default headers values

func (*StackCreateKubernetesURLBadRequest) Code

Code gets the status code for the stack create kubernetes Url bad request response

func (*StackCreateKubernetesURLBadRequest) Error

func (*StackCreateKubernetesURLBadRequest) IsClientError

func (o *StackCreateKubernetesURLBadRequest) IsClientError() bool

IsClientError returns true when this stack create kubernetes Url bad request response has a 4xx status code

func (*StackCreateKubernetesURLBadRequest) IsCode

IsCode returns true when this stack create kubernetes Url bad request response a status code equal to that given

func (*StackCreateKubernetesURLBadRequest) IsRedirect

func (o *StackCreateKubernetesURLBadRequest) IsRedirect() bool

IsRedirect returns true when this stack create kubernetes Url bad request response has a 3xx status code

func (*StackCreateKubernetesURLBadRequest) IsServerError

func (o *StackCreateKubernetesURLBadRequest) IsServerError() bool

IsServerError returns true when this stack create kubernetes Url bad request response has a 5xx status code

func (*StackCreateKubernetesURLBadRequest) IsSuccess

IsSuccess returns true when this stack create kubernetes Url bad request response has a 2xx status code

func (*StackCreateKubernetesURLBadRequest) String

type StackCreateKubernetesURLInternalServerError

type StackCreateKubernetesURLInternalServerError struct {
}

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

Server error

func NewStackCreateKubernetesURLInternalServerError

func NewStackCreateKubernetesURLInternalServerError() *StackCreateKubernetesURLInternalServerError

NewStackCreateKubernetesURLInternalServerError creates a StackCreateKubernetesURLInternalServerError with default headers values

func (*StackCreateKubernetesURLInternalServerError) Code

Code gets the status code for the stack create kubernetes Url internal server error response

func (*StackCreateKubernetesURLInternalServerError) Error

func (*StackCreateKubernetesURLInternalServerError) IsClientError

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

func (*StackCreateKubernetesURLInternalServerError) IsCode

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

func (*StackCreateKubernetesURLInternalServerError) IsRedirect

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

func (*StackCreateKubernetesURLInternalServerError) IsServerError

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

func (*StackCreateKubernetesURLInternalServerError) IsSuccess

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

func (*StackCreateKubernetesURLInternalServerError) String

type StackCreateKubernetesURLOK

type StackCreateKubernetesURLOK struct {
	Payload *models.PortainereeStack
}

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

OK

func NewStackCreateKubernetesURLOK

func NewStackCreateKubernetesURLOK() *StackCreateKubernetesURLOK

NewStackCreateKubernetesURLOK creates a StackCreateKubernetesURLOK with default headers values

func (*StackCreateKubernetesURLOK) Code

func (o *StackCreateKubernetesURLOK) Code() int

Code gets the status code for the stack create kubernetes Url o k response

func (*StackCreateKubernetesURLOK) Error

func (*StackCreateKubernetesURLOK) GetPayload

func (*StackCreateKubernetesURLOK) IsClientError

func (o *StackCreateKubernetesURLOK) IsClientError() bool

IsClientError returns true when this stack create kubernetes Url o k response has a 4xx status code

func (*StackCreateKubernetesURLOK) IsCode

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

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

func (*StackCreateKubernetesURLOK) IsRedirect

func (o *StackCreateKubernetesURLOK) IsRedirect() bool

IsRedirect returns true when this stack create kubernetes Url o k response has a 3xx status code

func (*StackCreateKubernetesURLOK) IsServerError

func (o *StackCreateKubernetesURLOK) IsServerError() bool

IsServerError returns true when this stack create kubernetes Url o k response has a 5xx status code

func (*StackCreateKubernetesURLOK) IsSuccess

func (o *StackCreateKubernetesURLOK) IsSuccess() bool

IsSuccess returns true when this stack create kubernetes Url o k response has a 2xx status code

func (*StackCreateKubernetesURLOK) String

func (o *StackCreateKubernetesURLOK) String() string

type StackCreateKubernetesURLParams

type StackCreateKubernetesURLParams struct {

	/* Body.

	   stack config
	*/
	Body *models.StacksKubernetesManifestURLDeploymentPayload

	/* EndpointID.

	   Identifier of the environment that will be used to deploy the stack
	*/
	EndpointID int64

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

StackCreateKubernetesURLParams contains all the parameters to send to the API endpoint

for the stack create kubernetes Url operation.

Typically these are written to a http.Request.

func NewStackCreateKubernetesURLParams

func NewStackCreateKubernetesURLParams() *StackCreateKubernetesURLParams

NewStackCreateKubernetesURLParams creates a new StackCreateKubernetesURLParams 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 NewStackCreateKubernetesURLParamsWithContext

func NewStackCreateKubernetesURLParamsWithContext(ctx context.Context) *StackCreateKubernetesURLParams

NewStackCreateKubernetesURLParamsWithContext creates a new StackCreateKubernetesURLParams object with the ability to set a context for a request.

func NewStackCreateKubernetesURLParamsWithHTTPClient

func NewStackCreateKubernetesURLParamsWithHTTPClient(client *http.Client) *StackCreateKubernetesURLParams

NewStackCreateKubernetesURLParamsWithHTTPClient creates a new StackCreateKubernetesURLParams object with the ability to set a custom HTTPClient for a request.

func NewStackCreateKubernetesURLParamsWithTimeout

func NewStackCreateKubernetesURLParamsWithTimeout(timeout time.Duration) *StackCreateKubernetesURLParams

NewStackCreateKubernetesURLParamsWithTimeout creates a new StackCreateKubernetesURLParams object with the ability to set a timeout on a request.

func (*StackCreateKubernetesURLParams) SetBody

SetBody adds the body to the stack create kubernetes Url params

func (*StackCreateKubernetesURLParams) SetContext

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

SetContext adds the context to the stack create kubernetes Url params

func (*StackCreateKubernetesURLParams) SetDefaults

func (o *StackCreateKubernetesURLParams) SetDefaults()

SetDefaults hydrates default values in the stack create kubernetes Url params (not the query body).

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

func (*StackCreateKubernetesURLParams) SetEndpointID

func (o *StackCreateKubernetesURLParams) SetEndpointID(endpointID int64)

SetEndpointID adds the endpointId to the stack create kubernetes Url params

func (*StackCreateKubernetesURLParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack create kubernetes Url params

func (*StackCreateKubernetesURLParams) SetTimeout

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

SetTimeout adds the timeout to the stack create kubernetes Url params

func (*StackCreateKubernetesURLParams) WithBody

WithBody adds the body to the stack create kubernetes Url params

func (*StackCreateKubernetesURLParams) WithContext

WithContext adds the context to the stack create kubernetes Url params

func (*StackCreateKubernetesURLParams) WithDefaults

WithDefaults hydrates default values in the stack create kubernetes Url params (not the query body).

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

func (*StackCreateKubernetesURLParams) WithEndpointID

WithEndpointID adds the endpointID to the stack create kubernetes Url params

func (*StackCreateKubernetesURLParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the stack create kubernetes Url params

func (*StackCreateKubernetesURLParams) WithTimeout

WithTimeout adds the timeout to the stack create kubernetes Url params

func (*StackCreateKubernetesURLParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StackCreateKubernetesURLReader

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

StackCreateKubernetesURLReader is a Reader for the StackCreateKubernetesURL structure.

func (*StackCreateKubernetesURLReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackDeleteBadRequest

type StackDeleteBadRequest struct {
}

StackDeleteBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackDeleteBadRequest

func NewStackDeleteBadRequest() *StackDeleteBadRequest

NewStackDeleteBadRequest creates a StackDeleteBadRequest with default headers values

func (*StackDeleteBadRequest) Code

func (o *StackDeleteBadRequest) Code() int

Code gets the status code for the stack delete bad request response

func (*StackDeleteBadRequest) Error

func (o *StackDeleteBadRequest) Error() string

func (*StackDeleteBadRequest) IsClientError

func (o *StackDeleteBadRequest) IsClientError() bool

IsClientError returns true when this stack delete bad request response has a 4xx status code

func (*StackDeleteBadRequest) IsCode

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

IsCode returns true when this stack delete bad request response a status code equal to that given

func (*StackDeleteBadRequest) IsRedirect

func (o *StackDeleteBadRequest) IsRedirect() bool

IsRedirect returns true when this stack delete bad request response has a 3xx status code

func (*StackDeleteBadRequest) IsServerError

func (o *StackDeleteBadRequest) IsServerError() bool

IsServerError returns true when this stack delete bad request response has a 5xx status code

func (*StackDeleteBadRequest) IsSuccess

func (o *StackDeleteBadRequest) IsSuccess() bool

IsSuccess returns true when this stack delete bad request response has a 2xx status code

func (*StackDeleteBadRequest) String

func (o *StackDeleteBadRequest) String() string

type StackDeleteForbidden

type StackDeleteForbidden struct {
}

StackDeleteForbidden describes a response with status code 403, with default header values.

Permission denied

func NewStackDeleteForbidden

func NewStackDeleteForbidden() *StackDeleteForbidden

NewStackDeleteForbidden creates a StackDeleteForbidden with default headers values

func (*StackDeleteForbidden) Code

func (o *StackDeleteForbidden) Code() int

Code gets the status code for the stack delete forbidden response

func (*StackDeleteForbidden) Error

func (o *StackDeleteForbidden) Error() string

func (*StackDeleteForbidden) IsClientError

func (o *StackDeleteForbidden) IsClientError() bool

IsClientError returns true when this stack delete forbidden response has a 4xx status code

func (*StackDeleteForbidden) IsCode

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

IsCode returns true when this stack delete forbidden response a status code equal to that given

func (*StackDeleteForbidden) IsRedirect

func (o *StackDeleteForbidden) IsRedirect() bool

IsRedirect returns true when this stack delete forbidden response has a 3xx status code

func (*StackDeleteForbidden) IsServerError

func (o *StackDeleteForbidden) IsServerError() bool

IsServerError returns true when this stack delete forbidden response has a 5xx status code

func (*StackDeleteForbidden) IsSuccess

func (o *StackDeleteForbidden) IsSuccess() bool

IsSuccess returns true when this stack delete forbidden response has a 2xx status code

func (*StackDeleteForbidden) String

func (o *StackDeleteForbidden) String() string

type StackDeleteInternalServerError

type StackDeleteInternalServerError struct {
}

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

Server error

func NewStackDeleteInternalServerError

func NewStackDeleteInternalServerError() *StackDeleteInternalServerError

NewStackDeleteInternalServerError creates a StackDeleteInternalServerError with default headers values

func (*StackDeleteInternalServerError) Code

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

func (*StackDeleteInternalServerError) Error

func (*StackDeleteInternalServerError) IsClientError

func (o *StackDeleteInternalServerError) IsClientError() bool

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

func (*StackDeleteInternalServerError) IsCode

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

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

func (*StackDeleteInternalServerError) IsRedirect

func (o *StackDeleteInternalServerError) IsRedirect() bool

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

func (*StackDeleteInternalServerError) IsServerError

func (o *StackDeleteInternalServerError) IsServerError() bool

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

func (*StackDeleteInternalServerError) IsSuccess

func (o *StackDeleteInternalServerError) IsSuccess() bool

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

func (*StackDeleteInternalServerError) String

type StackDeleteKubernetesByNameBadRequest

type StackDeleteKubernetesByNameBadRequest struct {
}

StackDeleteKubernetesByNameBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackDeleteKubernetesByNameBadRequest

func NewStackDeleteKubernetesByNameBadRequest() *StackDeleteKubernetesByNameBadRequest

NewStackDeleteKubernetesByNameBadRequest creates a StackDeleteKubernetesByNameBadRequest with default headers values

func (*StackDeleteKubernetesByNameBadRequest) Code

Code gets the status code for the stack delete kubernetes by name bad request response

func (*StackDeleteKubernetesByNameBadRequest) Error

func (*StackDeleteKubernetesByNameBadRequest) IsClientError

func (o *StackDeleteKubernetesByNameBadRequest) IsClientError() bool

IsClientError returns true when this stack delete kubernetes by name bad request response has a 4xx status code

func (*StackDeleteKubernetesByNameBadRequest) IsCode

IsCode returns true when this stack delete kubernetes by name bad request response a status code equal to that given

func (*StackDeleteKubernetesByNameBadRequest) IsRedirect

IsRedirect returns true when this stack delete kubernetes by name bad request response has a 3xx status code

func (*StackDeleteKubernetesByNameBadRequest) IsServerError

func (o *StackDeleteKubernetesByNameBadRequest) IsServerError() bool

IsServerError returns true when this stack delete kubernetes by name bad request response has a 5xx status code

func (*StackDeleteKubernetesByNameBadRequest) IsSuccess

IsSuccess returns true when this stack delete kubernetes by name bad request response has a 2xx status code

func (*StackDeleteKubernetesByNameBadRequest) String

type StackDeleteKubernetesByNameForbidden

type StackDeleteKubernetesByNameForbidden struct {
}

StackDeleteKubernetesByNameForbidden describes a response with status code 403, with default header values.

Permission denied

func NewStackDeleteKubernetesByNameForbidden

func NewStackDeleteKubernetesByNameForbidden() *StackDeleteKubernetesByNameForbidden

NewStackDeleteKubernetesByNameForbidden creates a StackDeleteKubernetesByNameForbidden with default headers values

func (*StackDeleteKubernetesByNameForbidden) Code

Code gets the status code for the stack delete kubernetes by name forbidden response

func (*StackDeleteKubernetesByNameForbidden) Error

func (*StackDeleteKubernetesByNameForbidden) IsClientError

func (o *StackDeleteKubernetesByNameForbidden) IsClientError() bool

IsClientError returns true when this stack delete kubernetes by name forbidden response has a 4xx status code

func (*StackDeleteKubernetesByNameForbidden) IsCode

IsCode returns true when this stack delete kubernetes by name forbidden response a status code equal to that given

func (*StackDeleteKubernetesByNameForbidden) IsRedirect

IsRedirect returns true when this stack delete kubernetes by name forbidden response has a 3xx status code

func (*StackDeleteKubernetesByNameForbidden) IsServerError

func (o *StackDeleteKubernetesByNameForbidden) IsServerError() bool

IsServerError returns true when this stack delete kubernetes by name forbidden response has a 5xx status code

func (*StackDeleteKubernetesByNameForbidden) IsSuccess

IsSuccess returns true when this stack delete kubernetes by name forbidden response has a 2xx status code

func (*StackDeleteKubernetesByNameForbidden) String

type StackDeleteKubernetesByNameInternalServerError

type StackDeleteKubernetesByNameInternalServerError struct {
}

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

Server error

func NewStackDeleteKubernetesByNameInternalServerError

func NewStackDeleteKubernetesByNameInternalServerError() *StackDeleteKubernetesByNameInternalServerError

NewStackDeleteKubernetesByNameInternalServerError creates a StackDeleteKubernetesByNameInternalServerError with default headers values

func (*StackDeleteKubernetesByNameInternalServerError) Code

Code gets the status code for the stack delete kubernetes by name internal server error response

func (*StackDeleteKubernetesByNameInternalServerError) Error

func (*StackDeleteKubernetesByNameInternalServerError) IsClientError

IsClientError returns true when this stack delete kubernetes by name internal server error response has a 4xx status code

func (*StackDeleteKubernetesByNameInternalServerError) IsCode

IsCode returns true when this stack delete kubernetes by name internal server error response a status code equal to that given

func (*StackDeleteKubernetesByNameInternalServerError) IsRedirect

IsRedirect returns true when this stack delete kubernetes by name internal server error response has a 3xx status code

func (*StackDeleteKubernetesByNameInternalServerError) IsServerError

IsServerError returns true when this stack delete kubernetes by name internal server error response has a 5xx status code

func (*StackDeleteKubernetesByNameInternalServerError) IsSuccess

IsSuccess returns true when this stack delete kubernetes by name internal server error response has a 2xx status code

func (*StackDeleteKubernetesByNameInternalServerError) String

type StackDeleteKubernetesByNameNoContent

type StackDeleteKubernetesByNameNoContent struct {
}

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

Success

func NewStackDeleteKubernetesByNameNoContent

func NewStackDeleteKubernetesByNameNoContent() *StackDeleteKubernetesByNameNoContent

NewStackDeleteKubernetesByNameNoContent creates a StackDeleteKubernetesByNameNoContent with default headers values

func (*StackDeleteKubernetesByNameNoContent) Code

Code gets the status code for the stack delete kubernetes by name no content response

func (*StackDeleteKubernetesByNameNoContent) Error

func (*StackDeleteKubernetesByNameNoContent) IsClientError

func (o *StackDeleteKubernetesByNameNoContent) IsClientError() bool

IsClientError returns true when this stack delete kubernetes by name no content response has a 4xx status code

func (*StackDeleteKubernetesByNameNoContent) IsCode

IsCode returns true when this stack delete kubernetes by name no content response a status code equal to that given

func (*StackDeleteKubernetesByNameNoContent) IsRedirect

IsRedirect returns true when this stack delete kubernetes by name no content response has a 3xx status code

func (*StackDeleteKubernetesByNameNoContent) IsServerError

func (o *StackDeleteKubernetesByNameNoContent) IsServerError() bool

IsServerError returns true when this stack delete kubernetes by name no content response has a 5xx status code

func (*StackDeleteKubernetesByNameNoContent) IsSuccess

IsSuccess returns true when this stack delete kubernetes by name no content response has a 2xx status code

func (*StackDeleteKubernetesByNameNoContent) String

type StackDeleteKubernetesByNameNotFound

type StackDeleteKubernetesByNameNotFound struct {
}

StackDeleteKubernetesByNameNotFound describes a response with status code 404, with default header values.

Not found

func NewStackDeleteKubernetesByNameNotFound

func NewStackDeleteKubernetesByNameNotFound() *StackDeleteKubernetesByNameNotFound

NewStackDeleteKubernetesByNameNotFound creates a StackDeleteKubernetesByNameNotFound with default headers values

func (*StackDeleteKubernetesByNameNotFound) Code

Code gets the status code for the stack delete kubernetes by name not found response

func (*StackDeleteKubernetesByNameNotFound) Error

func (*StackDeleteKubernetesByNameNotFound) IsClientError

func (o *StackDeleteKubernetesByNameNotFound) IsClientError() bool

IsClientError returns true when this stack delete kubernetes by name not found response has a 4xx status code

func (*StackDeleteKubernetesByNameNotFound) IsCode

IsCode returns true when this stack delete kubernetes by name not found response a status code equal to that given

func (*StackDeleteKubernetesByNameNotFound) IsRedirect

func (o *StackDeleteKubernetesByNameNotFound) IsRedirect() bool

IsRedirect returns true when this stack delete kubernetes by name not found response has a 3xx status code

func (*StackDeleteKubernetesByNameNotFound) IsServerError

func (o *StackDeleteKubernetesByNameNotFound) IsServerError() bool

IsServerError returns true when this stack delete kubernetes by name not found response has a 5xx status code

func (*StackDeleteKubernetesByNameNotFound) IsSuccess

IsSuccess returns true when this stack delete kubernetes by name not found response has a 2xx status code

func (*StackDeleteKubernetesByNameNotFound) String

type StackDeleteKubernetesByNameParams

type StackDeleteKubernetesByNameParams struct {

	/* EndpointID.

	   Environment identifier
	*/
	EndpointID int64

	/* External.

	   Set to true to delete an external stack. Only external Swarm stacks are supported
	*/
	External *bool

	/* Name.

	   Stack name
	*/
	Name string

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

StackDeleteKubernetesByNameParams contains all the parameters to send to the API endpoint

for the stack delete kubernetes by name operation.

Typically these are written to a http.Request.

func NewStackDeleteKubernetesByNameParams

func NewStackDeleteKubernetesByNameParams() *StackDeleteKubernetesByNameParams

NewStackDeleteKubernetesByNameParams creates a new StackDeleteKubernetesByNameParams 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 NewStackDeleteKubernetesByNameParamsWithContext

func NewStackDeleteKubernetesByNameParamsWithContext(ctx context.Context) *StackDeleteKubernetesByNameParams

NewStackDeleteKubernetesByNameParamsWithContext creates a new StackDeleteKubernetesByNameParams object with the ability to set a context for a request.

func NewStackDeleteKubernetesByNameParamsWithHTTPClient

func NewStackDeleteKubernetesByNameParamsWithHTTPClient(client *http.Client) *StackDeleteKubernetesByNameParams

NewStackDeleteKubernetesByNameParamsWithHTTPClient creates a new StackDeleteKubernetesByNameParams object with the ability to set a custom HTTPClient for a request.

func NewStackDeleteKubernetesByNameParamsWithTimeout

func NewStackDeleteKubernetesByNameParamsWithTimeout(timeout time.Duration) *StackDeleteKubernetesByNameParams

NewStackDeleteKubernetesByNameParamsWithTimeout creates a new StackDeleteKubernetesByNameParams object with the ability to set a timeout on a request.

func (*StackDeleteKubernetesByNameParams) SetContext

SetContext adds the context to the stack delete kubernetes by name params

func (*StackDeleteKubernetesByNameParams) SetDefaults

func (o *StackDeleteKubernetesByNameParams) SetDefaults()

SetDefaults hydrates default values in the stack delete kubernetes by name params (not the query body).

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

func (*StackDeleteKubernetesByNameParams) SetEndpointID

func (o *StackDeleteKubernetesByNameParams) SetEndpointID(endpointID int64)

SetEndpointID adds the endpointId to the stack delete kubernetes by name params

func (*StackDeleteKubernetesByNameParams) SetExternal

func (o *StackDeleteKubernetesByNameParams) SetExternal(external *bool)

SetExternal adds the external to the stack delete kubernetes by name params

func (*StackDeleteKubernetesByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack delete kubernetes by name params

func (*StackDeleteKubernetesByNameParams) SetName

func (o *StackDeleteKubernetesByNameParams) SetName(name string)

SetName adds the name to the stack delete kubernetes by name params

func (*StackDeleteKubernetesByNameParams) SetTimeout

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

SetTimeout adds the timeout to the stack delete kubernetes by name params

func (*StackDeleteKubernetesByNameParams) WithContext

WithContext adds the context to the stack delete kubernetes by name params

func (*StackDeleteKubernetesByNameParams) WithDefaults

WithDefaults hydrates default values in the stack delete kubernetes by name params (not the query body).

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

func (*StackDeleteKubernetesByNameParams) WithEndpointID

WithEndpointID adds the endpointID to the stack delete kubernetes by name params

func (*StackDeleteKubernetesByNameParams) WithExternal

WithExternal adds the external to the stack delete kubernetes by name params

func (*StackDeleteKubernetesByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the stack delete kubernetes by name params

func (*StackDeleteKubernetesByNameParams) WithName

WithName adds the name to the stack delete kubernetes by name params

func (*StackDeleteKubernetesByNameParams) WithTimeout

WithTimeout adds the timeout to the stack delete kubernetes by name params

func (*StackDeleteKubernetesByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StackDeleteKubernetesByNameReader

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

StackDeleteKubernetesByNameReader is a Reader for the StackDeleteKubernetesByName structure.

func (*StackDeleteKubernetesByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackDeleteNoContent

type StackDeleteNoContent struct {
}

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

Success

func NewStackDeleteNoContent

func NewStackDeleteNoContent() *StackDeleteNoContent

NewStackDeleteNoContent creates a StackDeleteNoContent with default headers values

func (*StackDeleteNoContent) Code

func (o *StackDeleteNoContent) Code() int

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

func (*StackDeleteNoContent) Error

func (o *StackDeleteNoContent) Error() string

func (*StackDeleteNoContent) IsClientError

func (o *StackDeleteNoContent) IsClientError() bool

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

func (*StackDeleteNoContent) IsCode

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

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

func (*StackDeleteNoContent) IsRedirect

func (o *StackDeleteNoContent) IsRedirect() bool

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

func (*StackDeleteNoContent) IsServerError

func (o *StackDeleteNoContent) IsServerError() bool

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

func (*StackDeleteNoContent) IsSuccess

func (o *StackDeleteNoContent) IsSuccess() bool

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

func (*StackDeleteNoContent) String

func (o *StackDeleteNoContent) String() string

type StackDeleteNotFound

type StackDeleteNotFound struct {
}

StackDeleteNotFound describes a response with status code 404, with default header values.

Not found

func NewStackDeleteNotFound

func NewStackDeleteNotFound() *StackDeleteNotFound

NewStackDeleteNotFound creates a StackDeleteNotFound with default headers values

func (*StackDeleteNotFound) Code

func (o *StackDeleteNotFound) Code() int

Code gets the status code for the stack delete not found response

func (*StackDeleteNotFound) Error

func (o *StackDeleteNotFound) Error() string

func (*StackDeleteNotFound) IsClientError

func (o *StackDeleteNotFound) IsClientError() bool

IsClientError returns true when this stack delete not found response has a 4xx status code

func (*StackDeleteNotFound) IsCode

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

IsCode returns true when this stack delete not found response a status code equal to that given

func (*StackDeleteNotFound) IsRedirect

func (o *StackDeleteNotFound) IsRedirect() bool

IsRedirect returns true when this stack delete not found response has a 3xx status code

func (*StackDeleteNotFound) IsServerError

func (o *StackDeleteNotFound) IsServerError() bool

IsServerError returns true when this stack delete not found response has a 5xx status code

func (*StackDeleteNotFound) IsSuccess

func (o *StackDeleteNotFound) IsSuccess() bool

IsSuccess returns true when this stack delete not found response has a 2xx status code

func (*StackDeleteNotFound) String

func (o *StackDeleteNotFound) String() string

type StackDeleteParams

type StackDeleteParams struct {

	/* EndpointID.

	   Environment identifier
	*/
	EndpointID int64

	/* External.

	   Set to true to delete an external stack. Only external Swarm stacks are supported
	*/
	External *bool

	/* ID.

	   Stack identifier
	*/
	ID int64

	/* RemoveVolumes.

	   Set to true to delete named volumes declared in the stack file and anonymous volumes attached to containers. Only affects Docker Standalone stacks.
	*/
	RemoveVolumes *bool

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

StackDeleteParams contains all the parameters to send to the API endpoint

for the stack delete operation.

Typically these are written to a http.Request.

func NewStackDeleteParams

func NewStackDeleteParams() *StackDeleteParams

NewStackDeleteParams creates a new StackDeleteParams 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 NewStackDeleteParamsWithContext

func NewStackDeleteParamsWithContext(ctx context.Context) *StackDeleteParams

NewStackDeleteParamsWithContext creates a new StackDeleteParams object with the ability to set a context for a request.

func NewStackDeleteParamsWithHTTPClient

func NewStackDeleteParamsWithHTTPClient(client *http.Client) *StackDeleteParams

NewStackDeleteParamsWithHTTPClient creates a new StackDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewStackDeleteParamsWithTimeout

func NewStackDeleteParamsWithTimeout(timeout time.Duration) *StackDeleteParams

NewStackDeleteParamsWithTimeout creates a new StackDeleteParams object with the ability to set a timeout on a request.

func (*StackDeleteParams) SetContext

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

SetContext adds the context to the stack delete params

func (*StackDeleteParams) SetDefaults

func (o *StackDeleteParams) SetDefaults()

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

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

func (*StackDeleteParams) SetEndpointID

func (o *StackDeleteParams) SetEndpointID(endpointID int64)

SetEndpointID adds the endpointId to the stack delete params

func (*StackDeleteParams) SetExternal

func (o *StackDeleteParams) SetExternal(external *bool)

SetExternal adds the external to the stack delete params

func (*StackDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack delete params

func (*StackDeleteParams) SetID

func (o *StackDeleteParams) SetID(id int64)

SetID adds the id to the stack delete params

func (*StackDeleteParams) SetRemoveVolumes

func (o *StackDeleteParams) SetRemoveVolumes(removeVolumes *bool)

SetRemoveVolumes adds the removeVolumes to the stack delete params

func (*StackDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the stack delete params

func (*StackDeleteParams) WithContext

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

WithContext adds the context to the stack delete params

func (*StackDeleteParams) WithDefaults

func (o *StackDeleteParams) WithDefaults() *StackDeleteParams

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

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

func (*StackDeleteParams) WithEndpointID

func (o *StackDeleteParams) WithEndpointID(endpointID int64) *StackDeleteParams

WithEndpointID adds the endpointID to the stack delete params

func (*StackDeleteParams) WithExternal

func (o *StackDeleteParams) WithExternal(external *bool) *StackDeleteParams

WithExternal adds the external to the stack delete params

func (*StackDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stack delete params

func (*StackDeleteParams) WithID

func (o *StackDeleteParams) WithID(id int64) *StackDeleteParams

WithID adds the id to the stack delete params

func (*StackDeleteParams) WithRemoveVolumes

func (o *StackDeleteParams) WithRemoveVolumes(removeVolumes *bool) *StackDeleteParams

WithRemoveVolumes adds the removeVolumes to the stack delete params

func (*StackDeleteParams) WithTimeout

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

WithTimeout adds the timeout to the stack delete params

func (*StackDeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StackDeleteReader

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

StackDeleteReader is a Reader for the StackDelete structure.

func (*StackDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackFileInspectBadRequest

type StackFileInspectBadRequest struct {
}

StackFileInspectBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackFileInspectBadRequest

func NewStackFileInspectBadRequest() *StackFileInspectBadRequest

NewStackFileInspectBadRequest creates a StackFileInspectBadRequest with default headers values

func (*StackFileInspectBadRequest) Code

func (o *StackFileInspectBadRequest) Code() int

Code gets the status code for the stack file inspect bad request response

func (*StackFileInspectBadRequest) Error

func (*StackFileInspectBadRequest) IsClientError

func (o *StackFileInspectBadRequest) IsClientError() bool

IsClientError returns true when this stack file inspect bad request response has a 4xx status code

func (*StackFileInspectBadRequest) IsCode

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

IsCode returns true when this stack file inspect bad request response a status code equal to that given

func (*StackFileInspectBadRequest) IsRedirect

func (o *StackFileInspectBadRequest) IsRedirect() bool

IsRedirect returns true when this stack file inspect bad request response has a 3xx status code

func (*StackFileInspectBadRequest) IsServerError

func (o *StackFileInspectBadRequest) IsServerError() bool

IsServerError returns true when this stack file inspect bad request response has a 5xx status code

func (*StackFileInspectBadRequest) IsSuccess

func (o *StackFileInspectBadRequest) IsSuccess() bool

IsSuccess returns true when this stack file inspect bad request response has a 2xx status code

func (*StackFileInspectBadRequest) String

func (o *StackFileInspectBadRequest) String() string

type StackFileInspectForbidden

type StackFileInspectForbidden struct {
}

StackFileInspectForbidden describes a response with status code 403, with default header values.

Permission denied

func NewStackFileInspectForbidden

func NewStackFileInspectForbidden() *StackFileInspectForbidden

NewStackFileInspectForbidden creates a StackFileInspectForbidden with default headers values

func (*StackFileInspectForbidden) Code

func (o *StackFileInspectForbidden) Code() int

Code gets the status code for the stack file inspect forbidden response

func (*StackFileInspectForbidden) Error

func (o *StackFileInspectForbidden) Error() string

func (*StackFileInspectForbidden) IsClientError

func (o *StackFileInspectForbidden) IsClientError() bool

IsClientError returns true when this stack file inspect forbidden response has a 4xx status code

func (*StackFileInspectForbidden) IsCode

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

IsCode returns true when this stack file inspect forbidden response a status code equal to that given

func (*StackFileInspectForbidden) IsRedirect

func (o *StackFileInspectForbidden) IsRedirect() bool

IsRedirect returns true when this stack file inspect forbidden response has a 3xx status code

func (*StackFileInspectForbidden) IsServerError

func (o *StackFileInspectForbidden) IsServerError() bool

IsServerError returns true when this stack file inspect forbidden response has a 5xx status code

func (*StackFileInspectForbidden) IsSuccess

func (o *StackFileInspectForbidden) IsSuccess() bool

IsSuccess returns true when this stack file inspect forbidden response has a 2xx status code

func (*StackFileInspectForbidden) String

func (o *StackFileInspectForbidden) String() string

type StackFileInspectInternalServerError

type StackFileInspectInternalServerError struct {
}

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

Server error

func NewStackFileInspectInternalServerError

func NewStackFileInspectInternalServerError() *StackFileInspectInternalServerError

NewStackFileInspectInternalServerError creates a StackFileInspectInternalServerError with default headers values

func (*StackFileInspectInternalServerError) Code

Code gets the status code for the stack file inspect internal server error response

func (*StackFileInspectInternalServerError) Error

func (*StackFileInspectInternalServerError) IsClientError

func (o *StackFileInspectInternalServerError) IsClientError() bool

IsClientError returns true when this stack file inspect internal server error response has a 4xx status code

func (*StackFileInspectInternalServerError) IsCode

IsCode returns true when this stack file inspect internal server error response a status code equal to that given

func (*StackFileInspectInternalServerError) IsRedirect

func (o *StackFileInspectInternalServerError) IsRedirect() bool

IsRedirect returns true when this stack file inspect internal server error response has a 3xx status code

func (*StackFileInspectInternalServerError) IsServerError

func (o *StackFileInspectInternalServerError) IsServerError() bool

IsServerError returns true when this stack file inspect internal server error response has a 5xx status code

func (*StackFileInspectInternalServerError) IsSuccess

IsSuccess returns true when this stack file inspect internal server error response has a 2xx status code

func (*StackFileInspectInternalServerError) String

type StackFileInspectNotFound

type StackFileInspectNotFound struct {
}

StackFileInspectNotFound describes a response with status code 404, with default header values.

Stack not found

func NewStackFileInspectNotFound

func NewStackFileInspectNotFound() *StackFileInspectNotFound

NewStackFileInspectNotFound creates a StackFileInspectNotFound with default headers values

func (*StackFileInspectNotFound) Code

func (o *StackFileInspectNotFound) Code() int

Code gets the status code for the stack file inspect not found response

func (*StackFileInspectNotFound) Error

func (o *StackFileInspectNotFound) Error() string

func (*StackFileInspectNotFound) IsClientError

func (o *StackFileInspectNotFound) IsClientError() bool

IsClientError returns true when this stack file inspect not found response has a 4xx status code

func (*StackFileInspectNotFound) IsCode

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

IsCode returns true when this stack file inspect not found response a status code equal to that given

func (*StackFileInspectNotFound) IsRedirect

func (o *StackFileInspectNotFound) IsRedirect() bool

IsRedirect returns true when this stack file inspect not found response has a 3xx status code

func (*StackFileInspectNotFound) IsServerError

func (o *StackFileInspectNotFound) IsServerError() bool

IsServerError returns true when this stack file inspect not found response has a 5xx status code

func (*StackFileInspectNotFound) IsSuccess

func (o *StackFileInspectNotFound) IsSuccess() bool

IsSuccess returns true when this stack file inspect not found response has a 2xx status code

func (*StackFileInspectNotFound) String

func (o *StackFileInspectNotFound) String() string

type StackFileInspectOK

type StackFileInspectOK struct {
	Payload *models.StacksStackFileResponse
}

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

Success

func NewStackFileInspectOK

func NewStackFileInspectOK() *StackFileInspectOK

NewStackFileInspectOK creates a StackFileInspectOK with default headers values

func (*StackFileInspectOK) Code

func (o *StackFileInspectOK) Code() int

Code gets the status code for the stack file inspect o k response

func (*StackFileInspectOK) Error

func (o *StackFileInspectOK) Error() string

func (*StackFileInspectOK) GetPayload

func (*StackFileInspectOK) IsClientError

func (o *StackFileInspectOK) IsClientError() bool

IsClientError returns true when this stack file inspect o k response has a 4xx status code

func (*StackFileInspectOK) IsCode

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

IsCode returns true when this stack file inspect o k response a status code equal to that given

func (*StackFileInspectOK) IsRedirect

func (o *StackFileInspectOK) IsRedirect() bool

IsRedirect returns true when this stack file inspect o k response has a 3xx status code

func (*StackFileInspectOK) IsServerError

func (o *StackFileInspectOK) IsServerError() bool

IsServerError returns true when this stack file inspect o k response has a 5xx status code

func (*StackFileInspectOK) IsSuccess

func (o *StackFileInspectOK) IsSuccess() bool

IsSuccess returns true when this stack file inspect o k response has a 2xx status code

func (*StackFileInspectOK) String

func (o *StackFileInspectOK) String() string

type StackFileInspectParams

type StackFileInspectParams struct {

	/* CommitHash.

	   Git repository commit hash. If both version and commitHash are provided, the commitHash will be used
	*/
	CommitHash *string

	/* ID.

	   Stack identifier
	*/
	ID int64

	/* Version.

	   Stack file version maintained by Portainer. If both version and commitHash are provided, the commitHash will be used
	*/
	Version *int64

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

StackFileInspectParams contains all the parameters to send to the API endpoint

for the stack file inspect operation.

Typically these are written to a http.Request.

func NewStackFileInspectParams

func NewStackFileInspectParams() *StackFileInspectParams

NewStackFileInspectParams creates a new StackFileInspectParams 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 NewStackFileInspectParamsWithContext

func NewStackFileInspectParamsWithContext(ctx context.Context) *StackFileInspectParams

NewStackFileInspectParamsWithContext creates a new StackFileInspectParams object with the ability to set a context for a request.

func NewStackFileInspectParamsWithHTTPClient

func NewStackFileInspectParamsWithHTTPClient(client *http.Client) *StackFileInspectParams

NewStackFileInspectParamsWithHTTPClient creates a new StackFileInspectParams object with the ability to set a custom HTTPClient for a request.

func NewStackFileInspectParamsWithTimeout

func NewStackFileInspectParamsWithTimeout(timeout time.Duration) *StackFileInspectParams

NewStackFileInspectParamsWithTimeout creates a new StackFileInspectParams object with the ability to set a timeout on a request.

func (*StackFileInspectParams) SetCommitHash

func (o *StackFileInspectParams) SetCommitHash(commitHash *string)

SetCommitHash adds the commitHash to the stack file inspect params

func (*StackFileInspectParams) SetContext

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

SetContext adds the context to the stack file inspect params

func (*StackFileInspectParams) SetDefaults

func (o *StackFileInspectParams) SetDefaults()

SetDefaults hydrates default values in the stack file inspect params (not the query body).

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

func (*StackFileInspectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack file inspect params

func (*StackFileInspectParams) SetID

func (o *StackFileInspectParams) SetID(id int64)

SetID adds the id to the stack file inspect params

func (*StackFileInspectParams) SetTimeout

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

SetTimeout adds the timeout to the stack file inspect params

func (*StackFileInspectParams) SetVersion

func (o *StackFileInspectParams) SetVersion(version *int64)

SetVersion adds the version to the stack file inspect params

func (*StackFileInspectParams) WithCommitHash

func (o *StackFileInspectParams) WithCommitHash(commitHash *string) *StackFileInspectParams

WithCommitHash adds the commitHash to the stack file inspect params

func (*StackFileInspectParams) WithContext

WithContext adds the context to the stack file inspect params

func (*StackFileInspectParams) WithDefaults

WithDefaults hydrates default values in the stack file inspect params (not the query body).

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

func (*StackFileInspectParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stack file inspect params

func (*StackFileInspectParams) WithID

WithID adds the id to the stack file inspect params

func (*StackFileInspectParams) WithTimeout

WithTimeout adds the timeout to the stack file inspect params

func (*StackFileInspectParams) WithVersion

func (o *StackFileInspectParams) WithVersion(version *int64) *StackFileInspectParams

WithVersion adds the version to the stack file inspect params

func (*StackFileInspectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StackFileInspectReader

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

StackFileInspectReader is a Reader for the StackFileInspect structure.

func (*StackFileInspectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackGitRedeployBadRequest

type StackGitRedeployBadRequest struct {
}

StackGitRedeployBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackGitRedeployBadRequest

func NewStackGitRedeployBadRequest() *StackGitRedeployBadRequest

NewStackGitRedeployBadRequest creates a StackGitRedeployBadRequest with default headers values

func (*StackGitRedeployBadRequest) Code

func (o *StackGitRedeployBadRequest) Code() int

Code gets the status code for the stack git redeploy bad request response

func (*StackGitRedeployBadRequest) Error

func (*StackGitRedeployBadRequest) IsClientError

func (o *StackGitRedeployBadRequest) IsClientError() bool

IsClientError returns true when this stack git redeploy bad request response has a 4xx status code

func (*StackGitRedeployBadRequest) IsCode

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

IsCode returns true when this stack git redeploy bad request response a status code equal to that given

func (*StackGitRedeployBadRequest) IsRedirect

func (o *StackGitRedeployBadRequest) IsRedirect() bool

IsRedirect returns true when this stack git redeploy bad request response has a 3xx status code

func (*StackGitRedeployBadRequest) IsServerError

func (o *StackGitRedeployBadRequest) IsServerError() bool

IsServerError returns true when this stack git redeploy bad request response has a 5xx status code

func (*StackGitRedeployBadRequest) IsSuccess

func (o *StackGitRedeployBadRequest) IsSuccess() bool

IsSuccess returns true when this stack git redeploy bad request response has a 2xx status code

func (*StackGitRedeployBadRequest) String

func (o *StackGitRedeployBadRequest) String() string

type StackGitRedeployForbidden

type StackGitRedeployForbidden struct {
}

StackGitRedeployForbidden describes a response with status code 403, with default header values.

Permission denied

func NewStackGitRedeployForbidden

func NewStackGitRedeployForbidden() *StackGitRedeployForbidden

NewStackGitRedeployForbidden creates a StackGitRedeployForbidden with default headers values

func (*StackGitRedeployForbidden) Code

func (o *StackGitRedeployForbidden) Code() int

Code gets the status code for the stack git redeploy forbidden response

func (*StackGitRedeployForbidden) Error

func (o *StackGitRedeployForbidden) Error() string

func (*StackGitRedeployForbidden) IsClientError

func (o *StackGitRedeployForbidden) IsClientError() bool

IsClientError returns true when this stack git redeploy forbidden response has a 4xx status code

func (*StackGitRedeployForbidden) IsCode

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

IsCode returns true when this stack git redeploy forbidden response a status code equal to that given

func (*StackGitRedeployForbidden) IsRedirect

func (o *StackGitRedeployForbidden) IsRedirect() bool

IsRedirect returns true when this stack git redeploy forbidden response has a 3xx status code

func (*StackGitRedeployForbidden) IsServerError

func (o *StackGitRedeployForbidden) IsServerError() bool

IsServerError returns true when this stack git redeploy forbidden response has a 5xx status code

func (*StackGitRedeployForbidden) IsSuccess

func (o *StackGitRedeployForbidden) IsSuccess() bool

IsSuccess returns true when this stack git redeploy forbidden response has a 2xx status code

func (*StackGitRedeployForbidden) String

func (o *StackGitRedeployForbidden) String() string

type StackGitRedeployInternalServerError

type StackGitRedeployInternalServerError struct {
}

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

Server error

func NewStackGitRedeployInternalServerError

func NewStackGitRedeployInternalServerError() *StackGitRedeployInternalServerError

NewStackGitRedeployInternalServerError creates a StackGitRedeployInternalServerError with default headers values

func (*StackGitRedeployInternalServerError) Code

Code gets the status code for the stack git redeploy internal server error response

func (*StackGitRedeployInternalServerError) Error

func (*StackGitRedeployInternalServerError) IsClientError

func (o *StackGitRedeployInternalServerError) IsClientError() bool

IsClientError returns true when this stack git redeploy internal server error response has a 4xx status code

func (*StackGitRedeployInternalServerError) IsCode

IsCode returns true when this stack git redeploy internal server error response a status code equal to that given

func (*StackGitRedeployInternalServerError) IsRedirect

func (o *StackGitRedeployInternalServerError) IsRedirect() bool

IsRedirect returns true when this stack git redeploy internal server error response has a 3xx status code

func (*StackGitRedeployInternalServerError) IsServerError

func (o *StackGitRedeployInternalServerError) IsServerError() bool

IsServerError returns true when this stack git redeploy internal server error response has a 5xx status code

func (*StackGitRedeployInternalServerError) IsSuccess

IsSuccess returns true when this stack git redeploy internal server error response has a 2xx status code

func (*StackGitRedeployInternalServerError) String

type StackGitRedeployNotFound

type StackGitRedeployNotFound struct {
}

StackGitRedeployNotFound describes a response with status code 404, with default header values.

Not found

func NewStackGitRedeployNotFound

func NewStackGitRedeployNotFound() *StackGitRedeployNotFound

NewStackGitRedeployNotFound creates a StackGitRedeployNotFound with default headers values

func (*StackGitRedeployNotFound) Code

func (o *StackGitRedeployNotFound) Code() int

Code gets the status code for the stack git redeploy not found response

func (*StackGitRedeployNotFound) Error

func (o *StackGitRedeployNotFound) Error() string

func (*StackGitRedeployNotFound) IsClientError

func (o *StackGitRedeployNotFound) IsClientError() bool

IsClientError returns true when this stack git redeploy not found response has a 4xx status code

func (*StackGitRedeployNotFound) IsCode

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

IsCode returns true when this stack git redeploy not found response a status code equal to that given

func (*StackGitRedeployNotFound) IsRedirect

func (o *StackGitRedeployNotFound) IsRedirect() bool

IsRedirect returns true when this stack git redeploy not found response has a 3xx status code

func (*StackGitRedeployNotFound) IsServerError

func (o *StackGitRedeployNotFound) IsServerError() bool

IsServerError returns true when this stack git redeploy not found response has a 5xx status code

func (*StackGitRedeployNotFound) IsSuccess

func (o *StackGitRedeployNotFound) IsSuccess() bool

IsSuccess returns true when this stack git redeploy not found response has a 2xx status code

func (*StackGitRedeployNotFound) String

func (o *StackGitRedeployNotFound) String() string

type StackGitRedeployOK

type StackGitRedeployOK struct {
	Payload *models.PortainereeStack
}

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

Success

func NewStackGitRedeployOK

func NewStackGitRedeployOK() *StackGitRedeployOK

NewStackGitRedeployOK creates a StackGitRedeployOK with default headers values

func (*StackGitRedeployOK) Code

func (o *StackGitRedeployOK) Code() int

Code gets the status code for the stack git redeploy o k response

func (*StackGitRedeployOK) Error

func (o *StackGitRedeployOK) Error() string

func (*StackGitRedeployOK) GetPayload

func (o *StackGitRedeployOK) GetPayload() *models.PortainereeStack

func (*StackGitRedeployOK) IsClientError

func (o *StackGitRedeployOK) IsClientError() bool

IsClientError returns true when this stack git redeploy o k response has a 4xx status code

func (*StackGitRedeployOK) IsCode

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

IsCode returns true when this stack git redeploy o k response a status code equal to that given

func (*StackGitRedeployOK) IsRedirect

func (o *StackGitRedeployOK) IsRedirect() bool

IsRedirect returns true when this stack git redeploy o k response has a 3xx status code

func (*StackGitRedeployOK) IsServerError

func (o *StackGitRedeployOK) IsServerError() bool

IsServerError returns true when this stack git redeploy o k response has a 5xx status code

func (*StackGitRedeployOK) IsSuccess

func (o *StackGitRedeployOK) IsSuccess() bool

IsSuccess returns true when this stack git redeploy o k response has a 2xx status code

func (*StackGitRedeployOK) String

func (o *StackGitRedeployOK) String() string

type StackGitRedeployParams

type StackGitRedeployParams struct {

	/* Body.

	   Git configs for pull and redeploy of a stack. **StackName** may only be populated for Kuberenetes stacks, and if specified with a blank string, it will be set to blank
	*/
	Body *models.StacksStackGitRedployPayload

	/* EndpointID.

	   Stacks created before version 1.18.0 might not have an associated environment(endpoint) identifier. Use this optional parameter to set the environment(endpoint) identifier used by the stack.
	*/
	EndpointID *int64

	/* ID.

	   Stack identifier
	*/
	ID int64

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

StackGitRedeployParams contains all the parameters to send to the API endpoint

for the stack git redeploy operation.

Typically these are written to a http.Request.

func NewStackGitRedeployParams

func NewStackGitRedeployParams() *StackGitRedeployParams

NewStackGitRedeployParams creates a new StackGitRedeployParams 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 NewStackGitRedeployParamsWithContext

func NewStackGitRedeployParamsWithContext(ctx context.Context) *StackGitRedeployParams

NewStackGitRedeployParamsWithContext creates a new StackGitRedeployParams object with the ability to set a context for a request.

func NewStackGitRedeployParamsWithHTTPClient

func NewStackGitRedeployParamsWithHTTPClient(client *http.Client) *StackGitRedeployParams

NewStackGitRedeployParamsWithHTTPClient creates a new StackGitRedeployParams object with the ability to set a custom HTTPClient for a request.

func NewStackGitRedeployParamsWithTimeout

func NewStackGitRedeployParamsWithTimeout(timeout time.Duration) *StackGitRedeployParams

NewStackGitRedeployParamsWithTimeout creates a new StackGitRedeployParams object with the ability to set a timeout on a request.

func (*StackGitRedeployParams) SetBody

SetBody adds the body to the stack git redeploy params

func (*StackGitRedeployParams) SetContext

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

SetContext adds the context to the stack git redeploy params

func (*StackGitRedeployParams) SetDefaults

func (o *StackGitRedeployParams) SetDefaults()

SetDefaults hydrates default values in the stack git redeploy params (not the query body).

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

func (*StackGitRedeployParams) SetEndpointID

func (o *StackGitRedeployParams) SetEndpointID(endpointID *int64)

SetEndpointID adds the endpointId to the stack git redeploy params

func (*StackGitRedeployParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack git redeploy params

func (*StackGitRedeployParams) SetID

func (o *StackGitRedeployParams) SetID(id int64)

SetID adds the id to the stack git redeploy params

func (*StackGitRedeployParams) SetTimeout

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

SetTimeout adds the timeout to the stack git redeploy params

func (*StackGitRedeployParams) WithBody

WithBody adds the body to the stack git redeploy params

func (*StackGitRedeployParams) WithContext

WithContext adds the context to the stack git redeploy params

func (*StackGitRedeployParams) WithDefaults

WithDefaults hydrates default values in the stack git redeploy params (not the query body).

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

func (*StackGitRedeployParams) WithEndpointID

func (o *StackGitRedeployParams) WithEndpointID(endpointID *int64) *StackGitRedeployParams

WithEndpointID adds the endpointID to the stack git redeploy params

func (*StackGitRedeployParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stack git redeploy params

func (*StackGitRedeployParams) WithID

WithID adds the id to the stack git redeploy params

func (*StackGitRedeployParams) WithTimeout

WithTimeout adds the timeout to the stack git redeploy params

func (*StackGitRedeployParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StackGitRedeployReader

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

StackGitRedeployReader is a Reader for the StackGitRedeploy structure.

func (*StackGitRedeployReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackImagesStatusBadRequest

type StackImagesStatusBadRequest struct {
}

StackImagesStatusBadRequest describes a response with status code 400, with default header values.

Bad request

func NewStackImagesStatusBadRequest

func NewStackImagesStatusBadRequest() *StackImagesStatusBadRequest

NewStackImagesStatusBadRequest creates a StackImagesStatusBadRequest with default headers values

func (*StackImagesStatusBadRequest) Code

func (o *StackImagesStatusBadRequest) Code() int

Code gets the status code for the stack images status bad request response

func (*StackImagesStatusBadRequest) Error

func (*StackImagesStatusBadRequest) IsClientError

func (o *StackImagesStatusBadRequest) IsClientError() bool

IsClientError returns true when this stack images status bad request response has a 4xx status code

func (*StackImagesStatusBadRequest) IsCode

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

IsCode returns true when this stack images status bad request response a status code equal to that given

func (*StackImagesStatusBadRequest) IsRedirect

func (o *StackImagesStatusBadRequest) IsRedirect() bool

IsRedirect returns true when this stack images status bad request response has a 3xx status code

func (*StackImagesStatusBadRequest) IsServerError

func (o *StackImagesStatusBadRequest) IsServerError() bool

IsServerError returns true when this stack images status bad request response has a 5xx status code

func (*StackImagesStatusBadRequest) IsSuccess

func (o *StackImagesStatusBadRequest) IsSuccess() bool

IsSuccess returns true when this stack images status bad request response has a 2xx status code

func (*StackImagesStatusBadRequest) String

func (o *StackImagesStatusBadRequest) String() string

type StackImagesStatusInternalServerError

type StackImagesStatusInternalServerError struct {
}

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

Internal server error

func NewStackImagesStatusInternalServerError

func NewStackImagesStatusInternalServerError() *StackImagesStatusInternalServerError

NewStackImagesStatusInternalServerError creates a StackImagesStatusInternalServerError with default headers values

func (*StackImagesStatusInternalServerError) Code

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

func (*StackImagesStatusInternalServerError) Error

func (*StackImagesStatusInternalServerError) IsClientError

func (o *StackImagesStatusInternalServerError) IsClientError() bool

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

func (*StackImagesStatusInternalServerError) IsCode

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

func (*StackImagesStatusInternalServerError) IsRedirect

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

func (*StackImagesStatusInternalServerError) IsServerError

func (o *StackImagesStatusInternalServerError) IsServerError() bool

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

func (*StackImagesStatusInternalServerError) IsSuccess

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

func (*StackImagesStatusInternalServerError) String

type StackImagesStatusOK

type StackImagesStatusOK struct {
	Payload *models.ImagesStatusResponse
}

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

Success

func NewStackImagesStatusOK

func NewStackImagesStatusOK() *StackImagesStatusOK

NewStackImagesStatusOK creates a StackImagesStatusOK with default headers values

func (*StackImagesStatusOK) Code

func (o *StackImagesStatusOK) Code() int

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

func (*StackImagesStatusOK) Error

func (o *StackImagesStatusOK) Error() string

func (*StackImagesStatusOK) GetPayload

func (*StackImagesStatusOK) IsClientError

func (o *StackImagesStatusOK) IsClientError() bool

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

func (*StackImagesStatusOK) IsCode

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

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

func (*StackImagesStatusOK) IsRedirect

func (o *StackImagesStatusOK) IsRedirect() bool

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

func (*StackImagesStatusOK) IsServerError

func (o *StackImagesStatusOK) IsServerError() bool

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

func (*StackImagesStatusOK) IsSuccess

func (o *StackImagesStatusOK) IsSuccess() bool

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

func (*StackImagesStatusOK) String

func (o *StackImagesStatusOK) String() string

type StackImagesStatusParams

type StackImagesStatusParams struct {

	/* ID.

	   Stack identifier
	*/
	ID int64

	/* Refresh.

	   Refresh will force a refresh of the image status cache
	*/
	Refresh *bool

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

StackImagesStatusParams contains all the parameters to send to the API endpoint

for the stack images status operation.

Typically these are written to a http.Request.

func NewStackImagesStatusParams

func NewStackImagesStatusParams() *StackImagesStatusParams

NewStackImagesStatusParams creates a new StackImagesStatusParams 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 NewStackImagesStatusParamsWithContext

func NewStackImagesStatusParamsWithContext(ctx context.Context) *StackImagesStatusParams

NewStackImagesStatusParamsWithContext creates a new StackImagesStatusParams object with the ability to set a context for a request.

func NewStackImagesStatusParamsWithHTTPClient

func NewStackImagesStatusParamsWithHTTPClient(client *http.Client) *StackImagesStatusParams

NewStackImagesStatusParamsWithHTTPClient creates a new StackImagesStatusParams object with the ability to set a custom HTTPClient for a request.

func NewStackImagesStatusParamsWithTimeout

func NewStackImagesStatusParamsWithTimeout(timeout time.Duration) *StackImagesStatusParams

NewStackImagesStatusParamsWithTimeout creates a new StackImagesStatusParams object with the ability to set a timeout on a request.

func (*StackImagesStatusParams) SetContext

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

SetContext adds the context to the stack images status params

func (*StackImagesStatusParams) SetDefaults

func (o *StackImagesStatusParams) SetDefaults()

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

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

func (*StackImagesStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack images status params

func (*StackImagesStatusParams) SetID

func (o *StackImagesStatusParams) SetID(id int64)

SetID adds the id to the stack images status params

func (*StackImagesStatusParams) SetRefresh

func (o *StackImagesStatusParams) SetRefresh(refresh *bool)

SetRefresh adds the refresh to the stack images status params

func (*StackImagesStatusParams) SetTimeout

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

SetTimeout adds the timeout to the stack images status params

func (*StackImagesStatusParams) WithContext

WithContext adds the context to the stack images status params

func (*StackImagesStatusParams) WithDefaults

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

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

func (*StackImagesStatusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stack images status params

func (*StackImagesStatusParams) WithID

WithID adds the id to the stack images status params

func (*StackImagesStatusParams) WithRefresh

func (o *StackImagesStatusParams) WithRefresh(refresh *bool) *StackImagesStatusParams

WithRefresh adds the refresh to the stack images status params

func (*StackImagesStatusParams) WithTimeout

WithTimeout adds the timeout to the stack images status params

func (*StackImagesStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StackImagesStatusReader

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

StackImagesStatusReader is a Reader for the StackImagesStatus structure.

func (*StackImagesStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackInspectBadRequest

type StackInspectBadRequest struct {
}

StackInspectBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackInspectBadRequest

func NewStackInspectBadRequest() *StackInspectBadRequest

NewStackInspectBadRequest creates a StackInspectBadRequest with default headers values

func (*StackInspectBadRequest) Code

func (o *StackInspectBadRequest) Code() int

Code gets the status code for the stack inspect bad request response

func (*StackInspectBadRequest) Error

func (o *StackInspectBadRequest) Error() string

func (*StackInspectBadRequest) IsClientError

func (o *StackInspectBadRequest) IsClientError() bool

IsClientError returns true when this stack inspect bad request response has a 4xx status code

func (*StackInspectBadRequest) IsCode

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

IsCode returns true when this stack inspect bad request response a status code equal to that given

func (*StackInspectBadRequest) IsRedirect

func (o *StackInspectBadRequest) IsRedirect() bool

IsRedirect returns true when this stack inspect bad request response has a 3xx status code

func (*StackInspectBadRequest) IsServerError

func (o *StackInspectBadRequest) IsServerError() bool

IsServerError returns true when this stack inspect bad request response has a 5xx status code

func (*StackInspectBadRequest) IsSuccess

func (o *StackInspectBadRequest) IsSuccess() bool

IsSuccess returns true when this stack inspect bad request response has a 2xx status code

func (*StackInspectBadRequest) String

func (o *StackInspectBadRequest) String() string

type StackInspectForbidden

type StackInspectForbidden struct {
}

StackInspectForbidden describes a response with status code 403, with default header values.

Permission denied

func NewStackInspectForbidden

func NewStackInspectForbidden() *StackInspectForbidden

NewStackInspectForbidden creates a StackInspectForbidden with default headers values

func (*StackInspectForbidden) Code

func (o *StackInspectForbidden) Code() int

Code gets the status code for the stack inspect forbidden response

func (*StackInspectForbidden) Error

func (o *StackInspectForbidden) Error() string

func (*StackInspectForbidden) IsClientError

func (o *StackInspectForbidden) IsClientError() bool

IsClientError returns true when this stack inspect forbidden response has a 4xx status code

func (*StackInspectForbidden) IsCode

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

IsCode returns true when this stack inspect forbidden response a status code equal to that given

func (*StackInspectForbidden) IsRedirect

func (o *StackInspectForbidden) IsRedirect() bool

IsRedirect returns true when this stack inspect forbidden response has a 3xx status code

func (*StackInspectForbidden) IsServerError

func (o *StackInspectForbidden) IsServerError() bool

IsServerError returns true when this stack inspect forbidden response has a 5xx status code

func (*StackInspectForbidden) IsSuccess

func (o *StackInspectForbidden) IsSuccess() bool

IsSuccess returns true when this stack inspect forbidden response has a 2xx status code

func (*StackInspectForbidden) String

func (o *StackInspectForbidden) String() string

type StackInspectInternalServerError

type StackInspectInternalServerError struct {
}

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

Server error

func NewStackInspectInternalServerError

func NewStackInspectInternalServerError() *StackInspectInternalServerError

NewStackInspectInternalServerError creates a StackInspectInternalServerError with default headers values

func (*StackInspectInternalServerError) Code

Code gets the status code for the stack inspect internal server error response

func (*StackInspectInternalServerError) Error

func (*StackInspectInternalServerError) IsClientError

func (o *StackInspectInternalServerError) IsClientError() bool

IsClientError returns true when this stack inspect internal server error response has a 4xx status code

func (*StackInspectInternalServerError) IsCode

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

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

func (*StackInspectInternalServerError) IsRedirect

func (o *StackInspectInternalServerError) IsRedirect() bool

IsRedirect returns true when this stack inspect internal server error response has a 3xx status code

func (*StackInspectInternalServerError) IsServerError

func (o *StackInspectInternalServerError) IsServerError() bool

IsServerError returns true when this stack inspect internal server error response has a 5xx status code

func (*StackInspectInternalServerError) IsSuccess

func (o *StackInspectInternalServerError) IsSuccess() bool

IsSuccess returns true when this stack inspect internal server error response has a 2xx status code

func (*StackInspectInternalServerError) String

type StackInspectNotFound

type StackInspectNotFound struct {
}

StackInspectNotFound describes a response with status code 404, with default header values.

Stack not found

func NewStackInspectNotFound

func NewStackInspectNotFound() *StackInspectNotFound

NewStackInspectNotFound creates a StackInspectNotFound with default headers values

func (*StackInspectNotFound) Code

func (o *StackInspectNotFound) Code() int

Code gets the status code for the stack inspect not found response

func (*StackInspectNotFound) Error

func (o *StackInspectNotFound) Error() string

func (*StackInspectNotFound) IsClientError

func (o *StackInspectNotFound) IsClientError() bool

IsClientError returns true when this stack inspect not found response has a 4xx status code

func (*StackInspectNotFound) IsCode

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

IsCode returns true when this stack inspect not found response a status code equal to that given

func (*StackInspectNotFound) IsRedirect

func (o *StackInspectNotFound) IsRedirect() bool

IsRedirect returns true when this stack inspect not found response has a 3xx status code

func (*StackInspectNotFound) IsServerError

func (o *StackInspectNotFound) IsServerError() bool

IsServerError returns true when this stack inspect not found response has a 5xx status code

func (*StackInspectNotFound) IsSuccess

func (o *StackInspectNotFound) IsSuccess() bool

IsSuccess returns true when this stack inspect not found response has a 2xx status code

func (*StackInspectNotFound) String

func (o *StackInspectNotFound) String() string

type StackInspectOK

type StackInspectOK struct {
	Payload *models.PortainereeStack
}

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

Success

func NewStackInspectOK

func NewStackInspectOK() *StackInspectOK

NewStackInspectOK creates a StackInspectOK with default headers values

func (*StackInspectOK) Code

func (o *StackInspectOK) Code() int

Code gets the status code for the stack inspect o k response

func (*StackInspectOK) Error

func (o *StackInspectOK) Error() string

func (*StackInspectOK) GetPayload

func (o *StackInspectOK) GetPayload() *models.PortainereeStack

func (*StackInspectOK) IsClientError

func (o *StackInspectOK) IsClientError() bool

IsClientError returns true when this stack inspect o k response has a 4xx status code

func (*StackInspectOK) IsCode

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

IsCode returns true when this stack inspect o k response a status code equal to that given

func (*StackInspectOK) IsRedirect

func (o *StackInspectOK) IsRedirect() bool

IsRedirect returns true when this stack inspect o k response has a 3xx status code

func (*StackInspectOK) IsServerError

func (o *StackInspectOK) IsServerError() bool

IsServerError returns true when this stack inspect o k response has a 5xx status code

func (*StackInspectOK) IsSuccess

func (o *StackInspectOK) IsSuccess() bool

IsSuccess returns true when this stack inspect o k response has a 2xx status code

func (*StackInspectOK) String

func (o *StackInspectOK) String() string

type StackInspectParams

type StackInspectParams struct {

	/* ID.

	   Stack identifier
	*/
	ID int64

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

StackInspectParams contains all the parameters to send to the API endpoint

for the stack inspect operation.

Typically these are written to a http.Request.

func NewStackInspectParams

func NewStackInspectParams() *StackInspectParams

NewStackInspectParams creates a new StackInspectParams 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 NewStackInspectParamsWithContext

func NewStackInspectParamsWithContext(ctx context.Context) *StackInspectParams

NewStackInspectParamsWithContext creates a new StackInspectParams object with the ability to set a context for a request.

func NewStackInspectParamsWithHTTPClient

func NewStackInspectParamsWithHTTPClient(client *http.Client) *StackInspectParams

NewStackInspectParamsWithHTTPClient creates a new StackInspectParams object with the ability to set a custom HTTPClient for a request.

func NewStackInspectParamsWithTimeout

func NewStackInspectParamsWithTimeout(timeout time.Duration) *StackInspectParams

NewStackInspectParamsWithTimeout creates a new StackInspectParams object with the ability to set a timeout on a request.

func (*StackInspectParams) SetContext

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

SetContext adds the context to the stack inspect params

func (*StackInspectParams) SetDefaults

func (o *StackInspectParams) SetDefaults()

SetDefaults hydrates default values in the stack inspect params (not the query body).

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

func (*StackInspectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack inspect params

func (*StackInspectParams) SetID

func (o *StackInspectParams) SetID(id int64)

SetID adds the id to the stack inspect params

func (*StackInspectParams) SetTimeout

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

SetTimeout adds the timeout to the stack inspect params

func (*StackInspectParams) WithContext

WithContext adds the context to the stack inspect params

func (*StackInspectParams) WithDefaults

func (o *StackInspectParams) WithDefaults() *StackInspectParams

WithDefaults hydrates default values in the stack inspect params (not the query body).

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

func (*StackInspectParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stack inspect params

func (*StackInspectParams) WithID

WithID adds the id to the stack inspect params

func (*StackInspectParams) WithTimeout

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

WithTimeout adds the timeout to the stack inspect params

func (*StackInspectParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StackInspectReader

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

StackInspectReader is a Reader for the StackInspect structure.

func (*StackInspectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackListBadRequest

type StackListBadRequest struct {
}

StackListBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackListBadRequest

func NewStackListBadRequest() *StackListBadRequest

NewStackListBadRequest creates a StackListBadRequest with default headers values

func (*StackListBadRequest) Code

func (o *StackListBadRequest) Code() int

Code gets the status code for the stack list bad request response

func (*StackListBadRequest) Error

func (o *StackListBadRequest) Error() string

func (*StackListBadRequest) IsClientError

func (o *StackListBadRequest) IsClientError() bool

IsClientError returns true when this stack list bad request response has a 4xx status code

func (*StackListBadRequest) IsCode

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

IsCode returns true when this stack list bad request response a status code equal to that given

func (*StackListBadRequest) IsRedirect

func (o *StackListBadRequest) IsRedirect() bool

IsRedirect returns true when this stack list bad request response has a 3xx status code

func (*StackListBadRequest) IsServerError

func (o *StackListBadRequest) IsServerError() bool

IsServerError returns true when this stack list bad request response has a 5xx status code

func (*StackListBadRequest) IsSuccess

func (o *StackListBadRequest) IsSuccess() bool

IsSuccess returns true when this stack list bad request response has a 2xx status code

func (*StackListBadRequest) String

func (o *StackListBadRequest) String() string

type StackListInternalServerError

type StackListInternalServerError struct {
}

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

Server error

func NewStackListInternalServerError

func NewStackListInternalServerError() *StackListInternalServerError

NewStackListInternalServerError creates a StackListInternalServerError with default headers values

func (*StackListInternalServerError) Code

Code gets the status code for the stack list internal server error response

func (*StackListInternalServerError) Error

func (*StackListInternalServerError) IsClientError

func (o *StackListInternalServerError) IsClientError() bool

IsClientError returns true when this stack list internal server error response has a 4xx status code

func (*StackListInternalServerError) IsCode

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

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

func (*StackListInternalServerError) IsRedirect

func (o *StackListInternalServerError) IsRedirect() bool

IsRedirect returns true when this stack list internal server error response has a 3xx status code

func (*StackListInternalServerError) IsServerError

func (o *StackListInternalServerError) IsServerError() bool

IsServerError returns true when this stack list internal server error response has a 5xx status code

func (*StackListInternalServerError) IsSuccess

func (o *StackListInternalServerError) IsSuccess() bool

IsSuccess returns true when this stack list internal server error response has a 2xx status code

func (*StackListInternalServerError) String

type StackListNoContent

type StackListNoContent struct {
}

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

Success

func NewStackListNoContent

func NewStackListNoContent() *StackListNoContent

NewStackListNoContent creates a StackListNoContent with default headers values

func (*StackListNoContent) Code

func (o *StackListNoContent) Code() int

Code gets the status code for the stack list no content response

func (*StackListNoContent) Error

func (o *StackListNoContent) Error() string

func (*StackListNoContent) IsClientError

func (o *StackListNoContent) IsClientError() bool

IsClientError returns true when this stack list no content response has a 4xx status code

func (*StackListNoContent) IsCode

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

IsCode returns true when this stack list no content response a status code equal to that given

func (*StackListNoContent) IsRedirect

func (o *StackListNoContent) IsRedirect() bool

IsRedirect returns true when this stack list no content response has a 3xx status code

func (*StackListNoContent) IsServerError

func (o *StackListNoContent) IsServerError() bool

IsServerError returns true when this stack list no content response has a 5xx status code

func (*StackListNoContent) IsSuccess

func (o *StackListNoContent) IsSuccess() bool

IsSuccess returns true when this stack list no content response has a 2xx status code

func (*StackListNoContent) String

func (o *StackListNoContent) String() string

type StackListOK

type StackListOK struct {
	Payload []*models.PortainereeStack
}

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

Success

func NewStackListOK

func NewStackListOK() *StackListOK

NewStackListOK creates a StackListOK with default headers values

func (*StackListOK) Code

func (o *StackListOK) Code() int

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

func (*StackListOK) Error

func (o *StackListOK) Error() string

func (*StackListOK) GetPayload

func (o *StackListOK) GetPayload() []*models.PortainereeStack

func (*StackListOK) IsClientError

func (o *StackListOK) IsClientError() bool

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

func (*StackListOK) IsCode

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

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

func (*StackListOK) IsRedirect

func (o *StackListOK) IsRedirect() bool

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

func (*StackListOK) IsServerError

func (o *StackListOK) IsServerError() bool

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

func (*StackListOK) IsSuccess

func (o *StackListOK) IsSuccess() bool

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

func (*StackListOK) String

func (o *StackListOK) String() string

type StackListParams

type StackListParams struct {

	/* Filters.

	   Filters to process on the stack list. Encoded as JSON (a map[string]string). For example, {'SwarmID': 'jpofkc0i9uo9wtx1zesuk649w'} will only return stacks that are part of the specified Swarm cluster. Available filters: EndpointID, SwarmID.
	*/
	Filters *string

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

StackListParams contains all the parameters to send to the API endpoint

for the stack list operation.

Typically these are written to a http.Request.

func NewStackListParams

func NewStackListParams() *StackListParams

NewStackListParams creates a new StackListParams 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 NewStackListParamsWithContext

func NewStackListParamsWithContext(ctx context.Context) *StackListParams

NewStackListParamsWithContext creates a new StackListParams object with the ability to set a context for a request.

func NewStackListParamsWithHTTPClient

func NewStackListParamsWithHTTPClient(client *http.Client) *StackListParams

NewStackListParamsWithHTTPClient creates a new StackListParams object with the ability to set a custom HTTPClient for a request.

func NewStackListParamsWithTimeout

func NewStackListParamsWithTimeout(timeout time.Duration) *StackListParams

NewStackListParamsWithTimeout creates a new StackListParams object with the ability to set a timeout on a request.

func (*StackListParams) SetContext

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

SetContext adds the context to the stack list params

func (*StackListParams) SetDefaults

func (o *StackListParams) SetDefaults()

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

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

func (*StackListParams) SetFilters

func (o *StackListParams) SetFilters(filters *string)

SetFilters adds the filters to the stack list params

func (*StackListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack list params

func (*StackListParams) SetTimeout

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

SetTimeout adds the timeout to the stack list params

func (*StackListParams) WithContext

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

WithContext adds the context to the stack list params

func (*StackListParams) WithDefaults

func (o *StackListParams) WithDefaults() *StackListParams

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

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

func (*StackListParams) WithFilters

func (o *StackListParams) WithFilters(filters *string) *StackListParams

WithFilters adds the filters to the stack list params

func (*StackListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stack list params

func (*StackListParams) WithTimeout

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

WithTimeout adds the timeout to the stack list params

func (*StackListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StackListReader

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

StackListReader is a Reader for the StackList structure.

func (*StackListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackMigrateBadRequest

type StackMigrateBadRequest struct {
}

StackMigrateBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackMigrateBadRequest

func NewStackMigrateBadRequest() *StackMigrateBadRequest

NewStackMigrateBadRequest creates a StackMigrateBadRequest with default headers values

func (*StackMigrateBadRequest) Code

func (o *StackMigrateBadRequest) Code() int

Code gets the status code for the stack migrate bad request response

func (*StackMigrateBadRequest) Error

func (o *StackMigrateBadRequest) Error() string

func (*StackMigrateBadRequest) IsClientError

func (o *StackMigrateBadRequest) IsClientError() bool

IsClientError returns true when this stack migrate bad request response has a 4xx status code

func (*StackMigrateBadRequest) IsCode

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

IsCode returns true when this stack migrate bad request response a status code equal to that given

func (*StackMigrateBadRequest) IsRedirect

func (o *StackMigrateBadRequest) IsRedirect() bool

IsRedirect returns true when this stack migrate bad request response has a 3xx status code

func (*StackMigrateBadRequest) IsServerError

func (o *StackMigrateBadRequest) IsServerError() bool

IsServerError returns true when this stack migrate bad request response has a 5xx status code

func (*StackMigrateBadRequest) IsSuccess

func (o *StackMigrateBadRequest) IsSuccess() bool

IsSuccess returns true when this stack migrate bad request response has a 2xx status code

func (*StackMigrateBadRequest) String

func (o *StackMigrateBadRequest) String() string

type StackMigrateConflict

type StackMigrateConflict struct {
}

StackMigrateConflict describes a response with status code 409, with default header values.

A stack with the same name is already running on the target environment(endpoint)

func NewStackMigrateConflict

func NewStackMigrateConflict() *StackMigrateConflict

NewStackMigrateConflict creates a StackMigrateConflict with default headers values

func (*StackMigrateConflict) Code

func (o *StackMigrateConflict) Code() int

Code gets the status code for the stack migrate conflict response

func (*StackMigrateConflict) Error

func (o *StackMigrateConflict) Error() string

func (*StackMigrateConflict) IsClientError

func (o *StackMigrateConflict) IsClientError() bool

IsClientError returns true when this stack migrate conflict response has a 4xx status code

func (*StackMigrateConflict) IsCode

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

IsCode returns true when this stack migrate conflict response a status code equal to that given

func (*StackMigrateConflict) IsRedirect

func (o *StackMigrateConflict) IsRedirect() bool

IsRedirect returns true when this stack migrate conflict response has a 3xx status code

func (*StackMigrateConflict) IsServerError

func (o *StackMigrateConflict) IsServerError() bool

IsServerError returns true when this stack migrate conflict response has a 5xx status code

func (*StackMigrateConflict) IsSuccess

func (o *StackMigrateConflict) IsSuccess() bool

IsSuccess returns true when this stack migrate conflict response has a 2xx status code

func (*StackMigrateConflict) String

func (o *StackMigrateConflict) String() string

type StackMigrateForbidden

type StackMigrateForbidden struct {
}

StackMigrateForbidden describes a response with status code 403, with default header values.

Permission denied

func NewStackMigrateForbidden

func NewStackMigrateForbidden() *StackMigrateForbidden

NewStackMigrateForbidden creates a StackMigrateForbidden with default headers values

func (*StackMigrateForbidden) Code

func (o *StackMigrateForbidden) Code() int

Code gets the status code for the stack migrate forbidden response

func (*StackMigrateForbidden) Error

func (o *StackMigrateForbidden) Error() string

func (*StackMigrateForbidden) IsClientError

func (o *StackMigrateForbidden) IsClientError() bool

IsClientError returns true when this stack migrate forbidden response has a 4xx status code

func (*StackMigrateForbidden) IsCode

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

IsCode returns true when this stack migrate forbidden response a status code equal to that given

func (*StackMigrateForbidden) IsRedirect

func (o *StackMigrateForbidden) IsRedirect() bool

IsRedirect returns true when this stack migrate forbidden response has a 3xx status code

func (*StackMigrateForbidden) IsServerError

func (o *StackMigrateForbidden) IsServerError() bool

IsServerError returns true when this stack migrate forbidden response has a 5xx status code

func (*StackMigrateForbidden) IsSuccess

func (o *StackMigrateForbidden) IsSuccess() bool

IsSuccess returns true when this stack migrate forbidden response has a 2xx status code

func (*StackMigrateForbidden) String

func (o *StackMigrateForbidden) String() string

type StackMigrateInternalServerError

type StackMigrateInternalServerError struct {
}

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

Server error

func NewStackMigrateInternalServerError

func NewStackMigrateInternalServerError() *StackMigrateInternalServerError

NewStackMigrateInternalServerError creates a StackMigrateInternalServerError with default headers values

func (*StackMigrateInternalServerError) Code

Code gets the status code for the stack migrate internal server error response

func (*StackMigrateInternalServerError) Error

func (*StackMigrateInternalServerError) IsClientError

func (o *StackMigrateInternalServerError) IsClientError() bool

IsClientError returns true when this stack migrate internal server error response has a 4xx status code

func (*StackMigrateInternalServerError) IsCode

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

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

func (*StackMigrateInternalServerError) IsRedirect

func (o *StackMigrateInternalServerError) IsRedirect() bool

IsRedirect returns true when this stack migrate internal server error response has a 3xx status code

func (*StackMigrateInternalServerError) IsServerError

func (o *StackMigrateInternalServerError) IsServerError() bool

IsServerError returns true when this stack migrate internal server error response has a 5xx status code

func (*StackMigrateInternalServerError) IsSuccess

func (o *StackMigrateInternalServerError) IsSuccess() bool

IsSuccess returns true when this stack migrate internal server error response has a 2xx status code

func (*StackMigrateInternalServerError) String

type StackMigrateNotFound

type StackMigrateNotFound struct {
}

StackMigrateNotFound describes a response with status code 404, with default header values.

Stack not found

func NewStackMigrateNotFound

func NewStackMigrateNotFound() *StackMigrateNotFound

NewStackMigrateNotFound creates a StackMigrateNotFound with default headers values

func (*StackMigrateNotFound) Code

func (o *StackMigrateNotFound) Code() int

Code gets the status code for the stack migrate not found response

func (*StackMigrateNotFound) Error

func (o *StackMigrateNotFound) Error() string

func (*StackMigrateNotFound) IsClientError

func (o *StackMigrateNotFound) IsClientError() bool

IsClientError returns true when this stack migrate not found response has a 4xx status code

func (*StackMigrateNotFound) IsCode

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

IsCode returns true when this stack migrate not found response a status code equal to that given

func (*StackMigrateNotFound) IsRedirect

func (o *StackMigrateNotFound) IsRedirect() bool

IsRedirect returns true when this stack migrate not found response has a 3xx status code

func (*StackMigrateNotFound) IsServerError

func (o *StackMigrateNotFound) IsServerError() bool

IsServerError returns true when this stack migrate not found response has a 5xx status code

func (*StackMigrateNotFound) IsSuccess

func (o *StackMigrateNotFound) IsSuccess() bool

IsSuccess returns true when this stack migrate not found response has a 2xx status code

func (*StackMigrateNotFound) String

func (o *StackMigrateNotFound) String() string

type StackMigrateOK

type StackMigrateOK struct {
	Payload *models.PortainereeStack
}

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

Success

func NewStackMigrateOK

func NewStackMigrateOK() *StackMigrateOK

NewStackMigrateOK creates a StackMigrateOK with default headers values

func (*StackMigrateOK) Code

func (o *StackMigrateOK) Code() int

Code gets the status code for the stack migrate o k response

func (*StackMigrateOK) Error

func (o *StackMigrateOK) Error() string

func (*StackMigrateOK) GetPayload

func (o *StackMigrateOK) GetPayload() *models.PortainereeStack

func (*StackMigrateOK) IsClientError

func (o *StackMigrateOK) IsClientError() bool

IsClientError returns true when this stack migrate o k response has a 4xx status code

func (*StackMigrateOK) IsCode

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

IsCode returns true when this stack migrate o k response a status code equal to that given

func (*StackMigrateOK) IsRedirect

func (o *StackMigrateOK) IsRedirect() bool

IsRedirect returns true when this stack migrate o k response has a 3xx status code

func (*StackMigrateOK) IsServerError

func (o *StackMigrateOK) IsServerError() bool

IsServerError returns true when this stack migrate o k response has a 5xx status code

func (*StackMigrateOK) IsSuccess

func (o *StackMigrateOK) IsSuccess() bool

IsSuccess returns true when this stack migrate o k response has a 2xx status code

func (*StackMigrateOK) String

func (o *StackMigrateOK) String() string

type StackMigrateParams

type StackMigrateParams struct {

	/* Body.

	   Stack migration details
	*/
	Body *models.StacksStackMigratePayload

	/* EndpointID.

	   Stacks created before version 1.18.0 might not have an associated environment(endpoint) identifier. Use this optional parameter to set the environment(endpoint) identifier used by the stack.
	*/
	EndpointID *int64

	/* ID.

	   Stack identifier
	*/
	ID int64

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

StackMigrateParams contains all the parameters to send to the API endpoint

for the stack migrate operation.

Typically these are written to a http.Request.

func NewStackMigrateParams

func NewStackMigrateParams() *StackMigrateParams

NewStackMigrateParams creates a new StackMigrateParams 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 NewStackMigrateParamsWithContext

func NewStackMigrateParamsWithContext(ctx context.Context) *StackMigrateParams

NewStackMigrateParamsWithContext creates a new StackMigrateParams object with the ability to set a context for a request.

func NewStackMigrateParamsWithHTTPClient

func NewStackMigrateParamsWithHTTPClient(client *http.Client) *StackMigrateParams

NewStackMigrateParamsWithHTTPClient creates a new StackMigrateParams object with the ability to set a custom HTTPClient for a request.

func NewStackMigrateParamsWithTimeout

func NewStackMigrateParamsWithTimeout(timeout time.Duration) *StackMigrateParams

NewStackMigrateParamsWithTimeout creates a new StackMigrateParams object with the ability to set a timeout on a request.

func (*StackMigrateParams) SetBody

SetBody adds the body to the stack migrate params

func (*StackMigrateParams) SetContext

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

SetContext adds the context to the stack migrate params

func (*StackMigrateParams) SetDefaults

func (o *StackMigrateParams) SetDefaults()

SetDefaults hydrates default values in the stack migrate params (not the query body).

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

func (*StackMigrateParams) SetEndpointID

func (o *StackMigrateParams) SetEndpointID(endpointID *int64)

SetEndpointID adds the endpointId to the stack migrate params

func (*StackMigrateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack migrate params

func (*StackMigrateParams) SetID

func (o *StackMigrateParams) SetID(id int64)

SetID adds the id to the stack migrate params

func (*StackMigrateParams) SetTimeout

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

SetTimeout adds the timeout to the stack migrate params

func (*StackMigrateParams) WithBody

WithBody adds the body to the stack migrate params

func (*StackMigrateParams) WithContext

WithContext adds the context to the stack migrate params

func (*StackMigrateParams) WithDefaults

func (o *StackMigrateParams) WithDefaults() *StackMigrateParams

WithDefaults hydrates default values in the stack migrate params (not the query body).

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

func (*StackMigrateParams) WithEndpointID

func (o *StackMigrateParams) WithEndpointID(endpointID *int64) *StackMigrateParams

WithEndpointID adds the endpointID to the stack migrate params

func (*StackMigrateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stack migrate params

func (*StackMigrateParams) WithID

WithID adds the id to the stack migrate params

func (*StackMigrateParams) WithTimeout

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

WithTimeout adds the timeout to the stack migrate params

func (*StackMigrateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StackMigrateReader

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

StackMigrateReader is a Reader for the StackMigrate structure.

func (*StackMigrateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackStartBadRequest

type StackStartBadRequest struct {
}

StackStartBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackStartBadRequest

func NewStackStartBadRequest() *StackStartBadRequest

NewStackStartBadRequest creates a StackStartBadRequest with default headers values

func (*StackStartBadRequest) Code

func (o *StackStartBadRequest) Code() int

Code gets the status code for the stack start bad request response

func (*StackStartBadRequest) Error

func (o *StackStartBadRequest) Error() string

func (*StackStartBadRequest) IsClientError

func (o *StackStartBadRequest) IsClientError() bool

IsClientError returns true when this stack start bad request response has a 4xx status code

func (*StackStartBadRequest) IsCode

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

IsCode returns true when this stack start bad request response a status code equal to that given

func (*StackStartBadRequest) IsRedirect

func (o *StackStartBadRequest) IsRedirect() bool

IsRedirect returns true when this stack start bad request response has a 3xx status code

func (*StackStartBadRequest) IsServerError

func (o *StackStartBadRequest) IsServerError() bool

IsServerError returns true when this stack start bad request response has a 5xx status code

func (*StackStartBadRequest) IsSuccess

func (o *StackStartBadRequest) IsSuccess() bool

IsSuccess returns true when this stack start bad request response has a 2xx status code

func (*StackStartBadRequest) String

func (o *StackStartBadRequest) String() string

type StackStartConflict

type StackStartConflict struct {
}

StackStartConflict describes a response with status code 409, with default header values.

Stack name is not unique

func NewStackStartConflict

func NewStackStartConflict() *StackStartConflict

NewStackStartConflict creates a StackStartConflict with default headers values

func (*StackStartConflict) Code

func (o *StackStartConflict) Code() int

Code gets the status code for the stack start conflict response

func (*StackStartConflict) Error

func (o *StackStartConflict) Error() string

func (*StackStartConflict) IsClientError

func (o *StackStartConflict) IsClientError() bool

IsClientError returns true when this stack start conflict response has a 4xx status code

func (*StackStartConflict) IsCode

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

IsCode returns true when this stack start conflict response a status code equal to that given

func (*StackStartConflict) IsRedirect

func (o *StackStartConflict) IsRedirect() bool

IsRedirect returns true when this stack start conflict response has a 3xx status code

func (*StackStartConflict) IsServerError

func (o *StackStartConflict) IsServerError() bool

IsServerError returns true when this stack start conflict response has a 5xx status code

func (*StackStartConflict) IsSuccess

func (o *StackStartConflict) IsSuccess() bool

IsSuccess returns true when this stack start conflict response has a 2xx status code

func (*StackStartConflict) String

func (o *StackStartConflict) String() string

type StackStartForbidden

type StackStartForbidden struct {
}

StackStartForbidden describes a response with status code 403, with default header values.

Permission denied

func NewStackStartForbidden

func NewStackStartForbidden() *StackStartForbidden

NewStackStartForbidden creates a StackStartForbidden with default headers values

func (*StackStartForbidden) Code

func (o *StackStartForbidden) Code() int

Code gets the status code for the stack start forbidden response

func (*StackStartForbidden) Error

func (o *StackStartForbidden) Error() string

func (*StackStartForbidden) IsClientError

func (o *StackStartForbidden) IsClientError() bool

IsClientError returns true when this stack start forbidden response has a 4xx status code

func (*StackStartForbidden) IsCode

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

IsCode returns true when this stack start forbidden response a status code equal to that given

func (*StackStartForbidden) IsRedirect

func (o *StackStartForbidden) IsRedirect() bool

IsRedirect returns true when this stack start forbidden response has a 3xx status code

func (*StackStartForbidden) IsServerError

func (o *StackStartForbidden) IsServerError() bool

IsServerError returns true when this stack start forbidden response has a 5xx status code

func (*StackStartForbidden) IsSuccess

func (o *StackStartForbidden) IsSuccess() bool

IsSuccess returns true when this stack start forbidden response has a 2xx status code

func (*StackStartForbidden) String

func (o *StackStartForbidden) String() string

type StackStartInternalServerError

type StackStartInternalServerError struct {
}

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

Server error

func NewStackStartInternalServerError

func NewStackStartInternalServerError() *StackStartInternalServerError

NewStackStartInternalServerError creates a StackStartInternalServerError with default headers values

func (*StackStartInternalServerError) Code

Code gets the status code for the stack start internal server error response

func (*StackStartInternalServerError) Error

func (*StackStartInternalServerError) IsClientError

func (o *StackStartInternalServerError) IsClientError() bool

IsClientError returns true when this stack start internal server error response has a 4xx status code

func (*StackStartInternalServerError) IsCode

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

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

func (*StackStartInternalServerError) IsRedirect

func (o *StackStartInternalServerError) IsRedirect() bool

IsRedirect returns true when this stack start internal server error response has a 3xx status code

func (*StackStartInternalServerError) IsServerError

func (o *StackStartInternalServerError) IsServerError() bool

IsServerError returns true when this stack start internal server error response has a 5xx status code

func (*StackStartInternalServerError) IsSuccess

func (o *StackStartInternalServerError) IsSuccess() bool

IsSuccess returns true when this stack start internal server error response has a 2xx status code

func (*StackStartInternalServerError) String

type StackStartNotFound

type StackStartNotFound struct {
}

StackStartNotFound describes a response with status code 404, with default header values.

Not found

func NewStackStartNotFound

func NewStackStartNotFound() *StackStartNotFound

NewStackStartNotFound creates a StackStartNotFound with default headers values

func (*StackStartNotFound) Code

func (o *StackStartNotFound) Code() int

Code gets the status code for the stack start not found response

func (*StackStartNotFound) Error

func (o *StackStartNotFound) Error() string

func (*StackStartNotFound) IsClientError

func (o *StackStartNotFound) IsClientError() bool

IsClientError returns true when this stack start not found response has a 4xx status code

func (*StackStartNotFound) IsCode

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

IsCode returns true when this stack start not found response a status code equal to that given

func (*StackStartNotFound) IsRedirect

func (o *StackStartNotFound) IsRedirect() bool

IsRedirect returns true when this stack start not found response has a 3xx status code

func (*StackStartNotFound) IsServerError

func (o *StackStartNotFound) IsServerError() bool

IsServerError returns true when this stack start not found response has a 5xx status code

func (*StackStartNotFound) IsSuccess

func (o *StackStartNotFound) IsSuccess() bool

IsSuccess returns true when this stack start not found response has a 2xx status code

func (*StackStartNotFound) String

func (o *StackStartNotFound) String() string

type StackStartOK

type StackStartOK struct {
	Payload *models.PortainereeStack
}

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

Success

func NewStackStartOK

func NewStackStartOK() *StackStartOK

NewStackStartOK creates a StackStartOK with default headers values

func (*StackStartOK) Code

func (o *StackStartOK) Code() int

Code gets the status code for the stack start o k response

func (*StackStartOK) Error

func (o *StackStartOK) Error() string

func (*StackStartOK) GetPayload

func (o *StackStartOK) GetPayload() *models.PortainereeStack

func (*StackStartOK) IsClientError

func (o *StackStartOK) IsClientError() bool

IsClientError returns true when this stack start o k response has a 4xx status code

func (*StackStartOK) IsCode

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

IsCode returns true when this stack start o k response a status code equal to that given

func (*StackStartOK) IsRedirect

func (o *StackStartOK) IsRedirect() bool

IsRedirect returns true when this stack start o k response has a 3xx status code

func (*StackStartOK) IsServerError

func (o *StackStartOK) IsServerError() bool

IsServerError returns true when this stack start o k response has a 5xx status code

func (*StackStartOK) IsSuccess

func (o *StackStartOK) IsSuccess() bool

IsSuccess returns true when this stack start o k response has a 2xx status code

func (*StackStartOK) String

func (o *StackStartOK) String() string

type StackStartParams

type StackStartParams struct {

	/* EndpointID.

	   Environment identifier
	*/
	EndpointID int64

	/* ID.

	   Stack identifier
	*/
	ID int64

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

StackStartParams contains all the parameters to send to the API endpoint

for the stack start operation.

Typically these are written to a http.Request.

func NewStackStartParams

func NewStackStartParams() *StackStartParams

NewStackStartParams creates a new StackStartParams 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 NewStackStartParamsWithContext

func NewStackStartParamsWithContext(ctx context.Context) *StackStartParams

NewStackStartParamsWithContext creates a new StackStartParams object with the ability to set a context for a request.

func NewStackStartParamsWithHTTPClient

func NewStackStartParamsWithHTTPClient(client *http.Client) *StackStartParams

NewStackStartParamsWithHTTPClient creates a new StackStartParams object with the ability to set a custom HTTPClient for a request.

func NewStackStartParamsWithTimeout

func NewStackStartParamsWithTimeout(timeout time.Duration) *StackStartParams

NewStackStartParamsWithTimeout creates a new StackStartParams object with the ability to set a timeout on a request.

func (*StackStartParams) SetContext

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

SetContext adds the context to the stack start params

func (*StackStartParams) SetDefaults

func (o *StackStartParams) SetDefaults()

SetDefaults hydrates default values in the stack start params (not the query body).

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

func (*StackStartParams) SetEndpointID

func (o *StackStartParams) SetEndpointID(endpointID int64)

SetEndpointID adds the endpointId to the stack start params

func (*StackStartParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack start params

func (*StackStartParams) SetID

func (o *StackStartParams) SetID(id int64)

SetID adds the id to the stack start params

func (*StackStartParams) SetTimeout

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

SetTimeout adds the timeout to the stack start params

func (*StackStartParams) WithContext

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

WithContext adds the context to the stack start params

func (*StackStartParams) WithDefaults

func (o *StackStartParams) WithDefaults() *StackStartParams

WithDefaults hydrates default values in the stack start params (not the query body).

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

func (*StackStartParams) WithEndpointID

func (o *StackStartParams) WithEndpointID(endpointID int64) *StackStartParams

WithEndpointID adds the endpointID to the stack start params

func (*StackStartParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stack start params

func (*StackStartParams) WithID

func (o *StackStartParams) WithID(id int64) *StackStartParams

WithID adds the id to the stack start params

func (*StackStartParams) WithTimeout

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

WithTimeout adds the timeout to the stack start params

func (*StackStartParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StackStartReader

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

StackStartReader is a Reader for the StackStart structure.

func (*StackStartReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackStopBadRequest

type StackStopBadRequest struct {
}

StackStopBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackStopBadRequest

func NewStackStopBadRequest() *StackStopBadRequest

NewStackStopBadRequest creates a StackStopBadRequest with default headers values

func (*StackStopBadRequest) Code

func (o *StackStopBadRequest) Code() int

Code gets the status code for the stack stop bad request response

func (*StackStopBadRequest) Error

func (o *StackStopBadRequest) Error() string

func (*StackStopBadRequest) IsClientError

func (o *StackStopBadRequest) IsClientError() bool

IsClientError returns true when this stack stop bad request response has a 4xx status code

func (*StackStopBadRequest) IsCode

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

IsCode returns true when this stack stop bad request response a status code equal to that given

func (*StackStopBadRequest) IsRedirect

func (o *StackStopBadRequest) IsRedirect() bool

IsRedirect returns true when this stack stop bad request response has a 3xx status code

func (*StackStopBadRequest) IsServerError

func (o *StackStopBadRequest) IsServerError() bool

IsServerError returns true when this stack stop bad request response has a 5xx status code

func (*StackStopBadRequest) IsSuccess

func (o *StackStopBadRequest) IsSuccess() bool

IsSuccess returns true when this stack stop bad request response has a 2xx status code

func (*StackStopBadRequest) String

func (o *StackStopBadRequest) String() string

type StackStopForbidden

type StackStopForbidden struct {
}

StackStopForbidden describes a response with status code 403, with default header values.

Permission denied

func NewStackStopForbidden

func NewStackStopForbidden() *StackStopForbidden

NewStackStopForbidden creates a StackStopForbidden with default headers values

func (*StackStopForbidden) Code

func (o *StackStopForbidden) Code() int

Code gets the status code for the stack stop forbidden response

func (*StackStopForbidden) Error

func (o *StackStopForbidden) Error() string

func (*StackStopForbidden) IsClientError

func (o *StackStopForbidden) IsClientError() bool

IsClientError returns true when this stack stop forbidden response has a 4xx status code

func (*StackStopForbidden) IsCode

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

IsCode returns true when this stack stop forbidden response a status code equal to that given

func (*StackStopForbidden) IsRedirect

func (o *StackStopForbidden) IsRedirect() bool

IsRedirect returns true when this stack stop forbidden response has a 3xx status code

func (*StackStopForbidden) IsServerError

func (o *StackStopForbidden) IsServerError() bool

IsServerError returns true when this stack stop forbidden response has a 5xx status code

func (*StackStopForbidden) IsSuccess

func (o *StackStopForbidden) IsSuccess() bool

IsSuccess returns true when this stack stop forbidden response has a 2xx status code

func (*StackStopForbidden) String

func (o *StackStopForbidden) String() string

type StackStopInternalServerError

type StackStopInternalServerError struct {
}

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

Server error

func NewStackStopInternalServerError

func NewStackStopInternalServerError() *StackStopInternalServerError

NewStackStopInternalServerError creates a StackStopInternalServerError with default headers values

func (*StackStopInternalServerError) Code

Code gets the status code for the stack stop internal server error response

func (*StackStopInternalServerError) Error

func (*StackStopInternalServerError) IsClientError

func (o *StackStopInternalServerError) IsClientError() bool

IsClientError returns true when this stack stop internal server error response has a 4xx status code

func (*StackStopInternalServerError) IsCode

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

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

func (*StackStopInternalServerError) IsRedirect

func (o *StackStopInternalServerError) IsRedirect() bool

IsRedirect returns true when this stack stop internal server error response has a 3xx status code

func (*StackStopInternalServerError) IsServerError

func (o *StackStopInternalServerError) IsServerError() bool

IsServerError returns true when this stack stop internal server error response has a 5xx status code

func (*StackStopInternalServerError) IsSuccess

func (o *StackStopInternalServerError) IsSuccess() bool

IsSuccess returns true when this stack stop internal server error response has a 2xx status code

func (*StackStopInternalServerError) String

type StackStopNotFound

type StackStopNotFound struct {
}

StackStopNotFound describes a response with status code 404, with default header values.

Not found

func NewStackStopNotFound

func NewStackStopNotFound() *StackStopNotFound

NewStackStopNotFound creates a StackStopNotFound with default headers values

func (*StackStopNotFound) Code

func (o *StackStopNotFound) Code() int

Code gets the status code for the stack stop not found response

func (*StackStopNotFound) Error

func (o *StackStopNotFound) Error() string

func (*StackStopNotFound) IsClientError

func (o *StackStopNotFound) IsClientError() bool

IsClientError returns true when this stack stop not found response has a 4xx status code

func (*StackStopNotFound) IsCode

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

IsCode returns true when this stack stop not found response a status code equal to that given

func (*StackStopNotFound) IsRedirect

func (o *StackStopNotFound) IsRedirect() bool

IsRedirect returns true when this stack stop not found response has a 3xx status code

func (*StackStopNotFound) IsServerError

func (o *StackStopNotFound) IsServerError() bool

IsServerError returns true when this stack stop not found response has a 5xx status code

func (*StackStopNotFound) IsSuccess

func (o *StackStopNotFound) IsSuccess() bool

IsSuccess returns true when this stack stop not found response has a 2xx status code

func (*StackStopNotFound) String

func (o *StackStopNotFound) String() string

type StackStopOK

type StackStopOK struct {
	Payload *models.PortainereeStack
}

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

Success

func NewStackStopOK

func NewStackStopOK() *StackStopOK

NewStackStopOK creates a StackStopOK with default headers values

func (*StackStopOK) Code

func (o *StackStopOK) Code() int

Code gets the status code for the stack stop o k response

func (*StackStopOK) Error

func (o *StackStopOK) Error() string

func (*StackStopOK) GetPayload

func (o *StackStopOK) GetPayload() *models.PortainereeStack

func (*StackStopOK) IsClientError

func (o *StackStopOK) IsClientError() bool

IsClientError returns true when this stack stop o k response has a 4xx status code

func (*StackStopOK) IsCode

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

IsCode returns true when this stack stop o k response a status code equal to that given

func (*StackStopOK) IsRedirect

func (o *StackStopOK) IsRedirect() bool

IsRedirect returns true when this stack stop o k response has a 3xx status code

func (*StackStopOK) IsServerError

func (o *StackStopOK) IsServerError() bool

IsServerError returns true when this stack stop o k response has a 5xx status code

func (*StackStopOK) IsSuccess

func (o *StackStopOK) IsSuccess() bool

IsSuccess returns true when this stack stop o k response has a 2xx status code

func (*StackStopOK) String

func (o *StackStopOK) String() string

type StackStopParams

type StackStopParams struct {

	/* EndpointID.

	   Environment identifier
	*/
	EndpointID int64

	/* ID.

	   Stack identifier
	*/
	ID int64

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

StackStopParams contains all the parameters to send to the API endpoint

for the stack stop operation.

Typically these are written to a http.Request.

func NewStackStopParams

func NewStackStopParams() *StackStopParams

NewStackStopParams creates a new StackStopParams 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 NewStackStopParamsWithContext

func NewStackStopParamsWithContext(ctx context.Context) *StackStopParams

NewStackStopParamsWithContext creates a new StackStopParams object with the ability to set a context for a request.

func NewStackStopParamsWithHTTPClient

func NewStackStopParamsWithHTTPClient(client *http.Client) *StackStopParams

NewStackStopParamsWithHTTPClient creates a new StackStopParams object with the ability to set a custom HTTPClient for a request.

func NewStackStopParamsWithTimeout

func NewStackStopParamsWithTimeout(timeout time.Duration) *StackStopParams

NewStackStopParamsWithTimeout creates a new StackStopParams object with the ability to set a timeout on a request.

func (*StackStopParams) SetContext

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

SetContext adds the context to the stack stop params

func (*StackStopParams) SetDefaults

func (o *StackStopParams) SetDefaults()

SetDefaults hydrates default values in the stack stop params (not the query body).

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

func (*StackStopParams) SetEndpointID

func (o *StackStopParams) SetEndpointID(endpointID int64)

SetEndpointID adds the endpointId to the stack stop params

func (*StackStopParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack stop params

func (*StackStopParams) SetID

func (o *StackStopParams) SetID(id int64)

SetID adds the id to the stack stop params

func (*StackStopParams) SetTimeout

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

SetTimeout adds the timeout to the stack stop params

func (*StackStopParams) WithContext

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

WithContext adds the context to the stack stop params

func (*StackStopParams) WithDefaults

func (o *StackStopParams) WithDefaults() *StackStopParams

WithDefaults hydrates default values in the stack stop params (not the query body).

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

func (*StackStopParams) WithEndpointID

func (o *StackStopParams) WithEndpointID(endpointID int64) *StackStopParams

WithEndpointID adds the endpointID to the stack stop params

func (*StackStopParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stack stop params

func (*StackStopParams) WithID

func (o *StackStopParams) WithID(id int64) *StackStopParams

WithID adds the id to the stack stop params

func (*StackStopParams) WithTimeout

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

WithTimeout adds the timeout to the stack stop params

func (*StackStopParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StackStopReader

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

StackStopReader is a Reader for the StackStop structure.

func (*StackStopReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackUpdateBadRequest

type StackUpdateBadRequest struct {
}

StackUpdateBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackUpdateBadRequest

func NewStackUpdateBadRequest() *StackUpdateBadRequest

NewStackUpdateBadRequest creates a StackUpdateBadRequest with default headers values

func (*StackUpdateBadRequest) Code

func (o *StackUpdateBadRequest) Code() int

Code gets the status code for the stack update bad request response

func (*StackUpdateBadRequest) Error

func (o *StackUpdateBadRequest) Error() string

func (*StackUpdateBadRequest) IsClientError

func (o *StackUpdateBadRequest) IsClientError() bool

IsClientError returns true when this stack update bad request response has a 4xx status code

func (*StackUpdateBadRequest) IsCode

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

IsCode returns true when this stack update bad request response a status code equal to that given

func (*StackUpdateBadRequest) IsRedirect

func (o *StackUpdateBadRequest) IsRedirect() bool

IsRedirect returns true when this stack update bad request response has a 3xx status code

func (*StackUpdateBadRequest) IsServerError

func (o *StackUpdateBadRequest) IsServerError() bool

IsServerError returns true when this stack update bad request response has a 5xx status code

func (*StackUpdateBadRequest) IsSuccess

func (o *StackUpdateBadRequest) IsSuccess() bool

IsSuccess returns true when this stack update bad request response has a 2xx status code

func (*StackUpdateBadRequest) String

func (o *StackUpdateBadRequest) String() string

type StackUpdateForbidden

type StackUpdateForbidden struct {
}

StackUpdateForbidden describes a response with status code 403, with default header values.

Permission denied

func NewStackUpdateForbidden

func NewStackUpdateForbidden() *StackUpdateForbidden

NewStackUpdateForbidden creates a StackUpdateForbidden with default headers values

func (*StackUpdateForbidden) Code

func (o *StackUpdateForbidden) Code() int

Code gets the status code for the stack update forbidden response

func (*StackUpdateForbidden) Error

func (o *StackUpdateForbidden) Error() string

func (*StackUpdateForbidden) IsClientError

func (o *StackUpdateForbidden) IsClientError() bool

IsClientError returns true when this stack update forbidden response has a 4xx status code

func (*StackUpdateForbidden) IsCode

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

IsCode returns true when this stack update forbidden response a status code equal to that given

func (*StackUpdateForbidden) IsRedirect

func (o *StackUpdateForbidden) IsRedirect() bool

IsRedirect returns true when this stack update forbidden response has a 3xx status code

func (*StackUpdateForbidden) IsServerError

func (o *StackUpdateForbidden) IsServerError() bool

IsServerError returns true when this stack update forbidden response has a 5xx status code

func (*StackUpdateForbidden) IsSuccess

func (o *StackUpdateForbidden) IsSuccess() bool

IsSuccess returns true when this stack update forbidden response has a 2xx status code

func (*StackUpdateForbidden) String

func (o *StackUpdateForbidden) String() string

type StackUpdateGitBadRequest

type StackUpdateGitBadRequest struct {
}

StackUpdateGitBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStackUpdateGitBadRequest

func NewStackUpdateGitBadRequest() *StackUpdateGitBadRequest

NewStackUpdateGitBadRequest creates a StackUpdateGitBadRequest with default headers values

func (*StackUpdateGitBadRequest) Code

func (o *StackUpdateGitBadRequest) Code() int

Code gets the status code for the stack update git bad request response

func (*StackUpdateGitBadRequest) Error

func (o *StackUpdateGitBadRequest) Error() string

func (*StackUpdateGitBadRequest) IsClientError

func (o *StackUpdateGitBadRequest) IsClientError() bool

IsClientError returns true when this stack update git bad request response has a 4xx status code

func (*StackUpdateGitBadRequest) IsCode

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

IsCode returns true when this stack update git bad request response a status code equal to that given

func (*StackUpdateGitBadRequest) IsRedirect

func (o *StackUpdateGitBadRequest) IsRedirect() bool

IsRedirect returns true when this stack update git bad request response has a 3xx status code

func (*StackUpdateGitBadRequest) IsServerError

func (o *StackUpdateGitBadRequest) IsServerError() bool

IsServerError returns true when this stack update git bad request response has a 5xx status code

func (*StackUpdateGitBadRequest) IsSuccess

func (o *StackUpdateGitBadRequest) IsSuccess() bool

IsSuccess returns true when this stack update git bad request response has a 2xx status code

func (*StackUpdateGitBadRequest) String

func (o *StackUpdateGitBadRequest) String() string

type StackUpdateGitForbidden

type StackUpdateGitForbidden struct {
}

StackUpdateGitForbidden describes a response with status code 403, with default header values.

Permission denied

func NewStackUpdateGitForbidden

func NewStackUpdateGitForbidden() *StackUpdateGitForbidden

NewStackUpdateGitForbidden creates a StackUpdateGitForbidden with default headers values

func (*StackUpdateGitForbidden) Code

func (o *StackUpdateGitForbidden) Code() int

Code gets the status code for the stack update git forbidden response

func (*StackUpdateGitForbidden) Error

func (o *StackUpdateGitForbidden) Error() string

func (*StackUpdateGitForbidden) IsClientError

func (o *StackUpdateGitForbidden) IsClientError() bool

IsClientError returns true when this stack update git forbidden response has a 4xx status code

func (*StackUpdateGitForbidden) IsCode

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

IsCode returns true when this stack update git forbidden response a status code equal to that given

func (*StackUpdateGitForbidden) IsRedirect

func (o *StackUpdateGitForbidden) IsRedirect() bool

IsRedirect returns true when this stack update git forbidden response has a 3xx status code

func (*StackUpdateGitForbidden) IsServerError

func (o *StackUpdateGitForbidden) IsServerError() bool

IsServerError returns true when this stack update git forbidden response has a 5xx status code

func (*StackUpdateGitForbidden) IsSuccess

func (o *StackUpdateGitForbidden) IsSuccess() bool

IsSuccess returns true when this stack update git forbidden response has a 2xx status code

func (*StackUpdateGitForbidden) String

func (o *StackUpdateGitForbidden) String() string

type StackUpdateGitInternalServerError

type StackUpdateGitInternalServerError struct {
}

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

Server error

func NewStackUpdateGitInternalServerError

func NewStackUpdateGitInternalServerError() *StackUpdateGitInternalServerError

NewStackUpdateGitInternalServerError creates a StackUpdateGitInternalServerError with default headers values

func (*StackUpdateGitInternalServerError) Code

Code gets the status code for the stack update git internal server error response

func (*StackUpdateGitInternalServerError) Error

func (*StackUpdateGitInternalServerError) IsClientError

func (o *StackUpdateGitInternalServerError) IsClientError() bool

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

func (*StackUpdateGitInternalServerError) IsCode

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

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

func (*StackUpdateGitInternalServerError) IsRedirect

func (o *StackUpdateGitInternalServerError) IsRedirect() bool

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

func (*StackUpdateGitInternalServerError) IsServerError

func (o *StackUpdateGitInternalServerError) IsServerError() bool

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

func (*StackUpdateGitInternalServerError) IsSuccess

func (o *StackUpdateGitInternalServerError) IsSuccess() bool

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

func (*StackUpdateGitInternalServerError) String

type StackUpdateGitNotFound

type StackUpdateGitNotFound struct {
}

StackUpdateGitNotFound describes a response with status code 404, with default header values.

Not found

func NewStackUpdateGitNotFound

func NewStackUpdateGitNotFound() *StackUpdateGitNotFound

NewStackUpdateGitNotFound creates a StackUpdateGitNotFound with default headers values

func (*StackUpdateGitNotFound) Code

func (o *StackUpdateGitNotFound) Code() int

Code gets the status code for the stack update git not found response

func (*StackUpdateGitNotFound) Error

func (o *StackUpdateGitNotFound) Error() string

func (*StackUpdateGitNotFound) IsClientError

func (o *StackUpdateGitNotFound) IsClientError() bool

IsClientError returns true when this stack update git not found response has a 4xx status code

func (*StackUpdateGitNotFound) IsCode

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

IsCode returns true when this stack update git not found response a status code equal to that given

func (*StackUpdateGitNotFound) IsRedirect

func (o *StackUpdateGitNotFound) IsRedirect() bool

IsRedirect returns true when this stack update git not found response has a 3xx status code

func (*StackUpdateGitNotFound) IsServerError

func (o *StackUpdateGitNotFound) IsServerError() bool

IsServerError returns true when this stack update git not found response has a 5xx status code

func (*StackUpdateGitNotFound) IsSuccess

func (o *StackUpdateGitNotFound) IsSuccess() bool

IsSuccess returns true when this stack update git not found response has a 2xx status code

func (*StackUpdateGitNotFound) String

func (o *StackUpdateGitNotFound) String() string

type StackUpdateGitOK

type StackUpdateGitOK struct {
	Payload *models.PortainereeStack
}

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

Success

func NewStackUpdateGitOK

func NewStackUpdateGitOK() *StackUpdateGitOK

NewStackUpdateGitOK creates a StackUpdateGitOK with default headers values

func (*StackUpdateGitOK) Code

func (o *StackUpdateGitOK) Code() int

Code gets the status code for the stack update git o k response

func (*StackUpdateGitOK) Error

func (o *StackUpdateGitOK) Error() string

func (*StackUpdateGitOK) GetPayload

func (o *StackUpdateGitOK) GetPayload() *models.PortainereeStack

func (*StackUpdateGitOK) IsClientError

func (o *StackUpdateGitOK) IsClientError() bool

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

func (*StackUpdateGitOK) IsCode

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

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

func (*StackUpdateGitOK) IsRedirect

func (o *StackUpdateGitOK) IsRedirect() bool

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

func (*StackUpdateGitOK) IsServerError

func (o *StackUpdateGitOK) IsServerError() bool

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

func (*StackUpdateGitOK) IsSuccess

func (o *StackUpdateGitOK) IsSuccess() bool

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

func (*StackUpdateGitOK) String

func (o *StackUpdateGitOK) String() string

type StackUpdateGitParams

type StackUpdateGitParams struct {

	/* Body.

	   Git configs for pull and redeploy a stack
	*/
	Body *models.StacksStackGitUpdatePayload

	/* EndpointID.

	   Stacks created before version 1.18.0 might not have an associated environment(endpoint) identifier. Use this optional parameter to set the environment(endpoint) identifier used by the stack.
	*/
	EndpointID *int64

	/* ID.

	   Stack identifier
	*/
	ID int64

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

StackUpdateGitParams contains all the parameters to send to the API endpoint

for the stack update git operation.

Typically these are written to a http.Request.

func NewStackUpdateGitParams

func NewStackUpdateGitParams() *StackUpdateGitParams

NewStackUpdateGitParams creates a new StackUpdateGitParams 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 NewStackUpdateGitParamsWithContext

func NewStackUpdateGitParamsWithContext(ctx context.Context) *StackUpdateGitParams

NewStackUpdateGitParamsWithContext creates a new StackUpdateGitParams object with the ability to set a context for a request.

func NewStackUpdateGitParamsWithHTTPClient

func NewStackUpdateGitParamsWithHTTPClient(client *http.Client) *StackUpdateGitParams

NewStackUpdateGitParamsWithHTTPClient creates a new StackUpdateGitParams object with the ability to set a custom HTTPClient for a request.

func NewStackUpdateGitParamsWithTimeout

func NewStackUpdateGitParamsWithTimeout(timeout time.Duration) *StackUpdateGitParams

NewStackUpdateGitParamsWithTimeout creates a new StackUpdateGitParams object with the ability to set a timeout on a request.

func (*StackUpdateGitParams) SetBody

SetBody adds the body to the stack update git params

func (*StackUpdateGitParams) SetContext

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

SetContext adds the context to the stack update git params

func (*StackUpdateGitParams) SetDefaults

func (o *StackUpdateGitParams) SetDefaults()

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

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

func (*StackUpdateGitParams) SetEndpointID

func (o *StackUpdateGitParams) SetEndpointID(endpointID *int64)

SetEndpointID adds the endpointId to the stack update git params

func (*StackUpdateGitParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack update git params

func (*StackUpdateGitParams) SetID

func (o *StackUpdateGitParams) SetID(id int64)

SetID adds the id to the stack update git params

func (*StackUpdateGitParams) SetTimeout

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

SetTimeout adds the timeout to the stack update git params

func (*StackUpdateGitParams) WithBody

WithBody adds the body to the stack update git params

func (*StackUpdateGitParams) WithContext

WithContext adds the context to the stack update git params

func (*StackUpdateGitParams) WithDefaults

func (o *StackUpdateGitParams) WithDefaults() *StackUpdateGitParams

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

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

func (*StackUpdateGitParams) WithEndpointID

func (o *StackUpdateGitParams) WithEndpointID(endpointID *int64) *StackUpdateGitParams

WithEndpointID adds the endpointID to the stack update git params

func (*StackUpdateGitParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stack update git params

func (*StackUpdateGitParams) WithID

WithID adds the id to the stack update git params

func (*StackUpdateGitParams) WithTimeout

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

WithTimeout adds the timeout to the stack update git params

func (*StackUpdateGitParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StackUpdateGitReader

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

StackUpdateGitReader is a Reader for the StackUpdateGit structure.

func (*StackUpdateGitReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StackUpdateInternalServerError

type StackUpdateInternalServerError struct {
}

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

Server error

func NewStackUpdateInternalServerError

func NewStackUpdateInternalServerError() *StackUpdateInternalServerError

NewStackUpdateInternalServerError creates a StackUpdateInternalServerError with default headers values

func (*StackUpdateInternalServerError) Code

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

func (*StackUpdateInternalServerError) Error

func (*StackUpdateInternalServerError) IsClientError

func (o *StackUpdateInternalServerError) IsClientError() bool

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

func (*StackUpdateInternalServerError) IsCode

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

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

func (*StackUpdateInternalServerError) IsRedirect

func (o *StackUpdateInternalServerError) IsRedirect() bool

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

func (*StackUpdateInternalServerError) IsServerError

func (o *StackUpdateInternalServerError) IsServerError() bool

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

func (*StackUpdateInternalServerError) IsSuccess

func (o *StackUpdateInternalServerError) IsSuccess() bool

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

func (*StackUpdateInternalServerError) String

type StackUpdateNotFound

type StackUpdateNotFound struct {
}

StackUpdateNotFound describes a response with status code 404, with default header values.

Not found

func NewStackUpdateNotFound

func NewStackUpdateNotFound() *StackUpdateNotFound

NewStackUpdateNotFound creates a StackUpdateNotFound with default headers values

func (*StackUpdateNotFound) Code

func (o *StackUpdateNotFound) Code() int

Code gets the status code for the stack update not found response

func (*StackUpdateNotFound) Error

func (o *StackUpdateNotFound) Error() string

func (*StackUpdateNotFound) IsClientError

func (o *StackUpdateNotFound) IsClientError() bool

IsClientError returns true when this stack update not found response has a 4xx status code

func (*StackUpdateNotFound) IsCode

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

IsCode returns true when this stack update not found response a status code equal to that given

func (*StackUpdateNotFound) IsRedirect

func (o *StackUpdateNotFound) IsRedirect() bool

IsRedirect returns true when this stack update not found response has a 3xx status code

func (*StackUpdateNotFound) IsServerError

func (o *StackUpdateNotFound) IsServerError() bool

IsServerError returns true when this stack update not found response has a 5xx status code

func (*StackUpdateNotFound) IsSuccess

func (o *StackUpdateNotFound) IsSuccess() bool

IsSuccess returns true when this stack update not found response has a 2xx status code

func (*StackUpdateNotFound) String

func (o *StackUpdateNotFound) String() string

type StackUpdateOK

type StackUpdateOK struct {
	Payload *models.PortainereeStack
}

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

Success

func NewStackUpdateOK

func NewStackUpdateOK() *StackUpdateOK

NewStackUpdateOK creates a StackUpdateOK with default headers values

func (*StackUpdateOK) Code

func (o *StackUpdateOK) Code() int

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

func (*StackUpdateOK) Error

func (o *StackUpdateOK) Error() string

func (*StackUpdateOK) GetPayload

func (o *StackUpdateOK) GetPayload() *models.PortainereeStack

func (*StackUpdateOK) IsClientError

func (o *StackUpdateOK) IsClientError() bool

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

func (*StackUpdateOK) IsCode

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

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

func (*StackUpdateOK) IsRedirect

func (o *StackUpdateOK) IsRedirect() bool

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

func (*StackUpdateOK) IsServerError

func (o *StackUpdateOK) IsServerError() bool

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

func (*StackUpdateOK) IsSuccess

func (o *StackUpdateOK) IsSuccess() bool

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

func (*StackUpdateOK) String

func (o *StackUpdateOK) String() string

type StackUpdateParams

type StackUpdateParams struct {

	/* Body.

	   Stack details
	*/
	Body *models.StacksUpdateStackPayload

	/* EndpointID.

	   Environment identifier
	*/
	EndpointID int64

	/* ID.

	   Stack identifier
	*/
	ID int64

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

StackUpdateParams contains all the parameters to send to the API endpoint

for the stack update operation.

Typically these are written to a http.Request.

func NewStackUpdateParams

func NewStackUpdateParams() *StackUpdateParams

NewStackUpdateParams creates a new StackUpdateParams 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 NewStackUpdateParamsWithContext

func NewStackUpdateParamsWithContext(ctx context.Context) *StackUpdateParams

NewStackUpdateParamsWithContext creates a new StackUpdateParams object with the ability to set a context for a request.

func NewStackUpdateParamsWithHTTPClient

func NewStackUpdateParamsWithHTTPClient(client *http.Client) *StackUpdateParams

NewStackUpdateParamsWithHTTPClient creates a new StackUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewStackUpdateParamsWithTimeout

func NewStackUpdateParamsWithTimeout(timeout time.Duration) *StackUpdateParams

NewStackUpdateParamsWithTimeout creates a new StackUpdateParams object with the ability to set a timeout on a request.

func (*StackUpdateParams) SetBody

SetBody adds the body to the stack update params

func (*StackUpdateParams) SetContext

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

SetContext adds the context to the stack update params

func (*StackUpdateParams) SetDefaults

func (o *StackUpdateParams) SetDefaults()

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

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

func (*StackUpdateParams) SetEndpointID

func (o *StackUpdateParams) SetEndpointID(endpointID int64)

SetEndpointID adds the endpointId to the stack update params

func (*StackUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stack update params

func (*StackUpdateParams) SetID

func (o *StackUpdateParams) SetID(id int64)

SetID adds the id to the stack update params

func (*StackUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the stack update params

func (*StackUpdateParams) WithBody

WithBody adds the body to the stack update params

func (*StackUpdateParams) WithContext

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

WithContext adds the context to the stack update params

func (*StackUpdateParams) WithDefaults

func (o *StackUpdateParams) WithDefaults() *StackUpdateParams

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

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

func (*StackUpdateParams) WithEndpointID

func (o *StackUpdateParams) WithEndpointID(endpointID int64) *StackUpdateParams

WithEndpointID adds the endpointID to the stack update params

func (*StackUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stack update params

func (*StackUpdateParams) WithID

func (o *StackUpdateParams) WithID(id int64) *StackUpdateParams

WithID adds the id to the stack update params

func (*StackUpdateParams) WithTimeout

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

WithTimeout adds the timeout to the stack update params

func (*StackUpdateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StackUpdateReader

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

StackUpdateReader is a Reader for the StackUpdate structure.

func (*StackUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StacksWebhookInvokeBadRequest

type StacksWebhookInvokeBadRequest struct {
}

StacksWebhookInvokeBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewStacksWebhookInvokeBadRequest

func NewStacksWebhookInvokeBadRequest() *StacksWebhookInvokeBadRequest

NewStacksWebhookInvokeBadRequest creates a StacksWebhookInvokeBadRequest with default headers values

func (*StacksWebhookInvokeBadRequest) Code

Code gets the status code for the stacks webhook invoke bad request response

func (*StacksWebhookInvokeBadRequest) Error

func (*StacksWebhookInvokeBadRequest) IsClientError

func (o *StacksWebhookInvokeBadRequest) IsClientError() bool

IsClientError returns true when this stacks webhook invoke bad request response has a 4xx status code

func (*StacksWebhookInvokeBadRequest) IsCode

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

IsCode returns true when this stacks webhook invoke bad request response a status code equal to that given

func (*StacksWebhookInvokeBadRequest) IsRedirect

func (o *StacksWebhookInvokeBadRequest) IsRedirect() bool

IsRedirect returns true when this stacks webhook invoke bad request response has a 3xx status code

func (*StacksWebhookInvokeBadRequest) IsServerError

func (o *StacksWebhookInvokeBadRequest) IsServerError() bool

IsServerError returns true when this stacks webhook invoke bad request response has a 5xx status code

func (*StacksWebhookInvokeBadRequest) IsSuccess

func (o *StacksWebhookInvokeBadRequest) IsSuccess() bool

IsSuccess returns true when this stacks webhook invoke bad request response has a 2xx status code

func (*StacksWebhookInvokeBadRequest) String

type StacksWebhookInvokeConflict

type StacksWebhookInvokeConflict struct {
}

StacksWebhookInvokeConflict describes a response with status code 409, with default header values.

Autoupdate for the stack isn't available

func NewStacksWebhookInvokeConflict

func NewStacksWebhookInvokeConflict() *StacksWebhookInvokeConflict

NewStacksWebhookInvokeConflict creates a StacksWebhookInvokeConflict with default headers values

func (*StacksWebhookInvokeConflict) Code

func (o *StacksWebhookInvokeConflict) Code() int

Code gets the status code for the stacks webhook invoke conflict response

func (*StacksWebhookInvokeConflict) Error

func (*StacksWebhookInvokeConflict) IsClientError

func (o *StacksWebhookInvokeConflict) IsClientError() bool

IsClientError returns true when this stacks webhook invoke conflict response has a 4xx status code

func (*StacksWebhookInvokeConflict) IsCode

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

IsCode returns true when this stacks webhook invoke conflict response a status code equal to that given

func (*StacksWebhookInvokeConflict) IsRedirect

func (o *StacksWebhookInvokeConflict) IsRedirect() bool

IsRedirect returns true when this stacks webhook invoke conflict response has a 3xx status code

func (*StacksWebhookInvokeConflict) IsServerError

func (o *StacksWebhookInvokeConflict) IsServerError() bool

IsServerError returns true when this stacks webhook invoke conflict response has a 5xx status code

func (*StacksWebhookInvokeConflict) IsSuccess

func (o *StacksWebhookInvokeConflict) IsSuccess() bool

IsSuccess returns true when this stacks webhook invoke conflict response has a 2xx status code

func (*StacksWebhookInvokeConflict) String

func (o *StacksWebhookInvokeConflict) String() string

type StacksWebhookInvokeInternalServerError

type StacksWebhookInvokeInternalServerError struct {
}

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

Server error

func NewStacksWebhookInvokeInternalServerError

func NewStacksWebhookInvokeInternalServerError() *StacksWebhookInvokeInternalServerError

NewStacksWebhookInvokeInternalServerError creates a StacksWebhookInvokeInternalServerError with default headers values

func (*StacksWebhookInvokeInternalServerError) Code

Code gets the status code for the stacks webhook invoke internal server error response

func (*StacksWebhookInvokeInternalServerError) Error

func (*StacksWebhookInvokeInternalServerError) IsClientError

func (o *StacksWebhookInvokeInternalServerError) IsClientError() bool

IsClientError returns true when this stacks webhook invoke internal server error response has a 4xx status code

func (*StacksWebhookInvokeInternalServerError) IsCode

IsCode returns true when this stacks webhook invoke internal server error response a status code equal to that given

func (*StacksWebhookInvokeInternalServerError) IsRedirect

IsRedirect returns true when this stacks webhook invoke internal server error response has a 3xx status code

func (*StacksWebhookInvokeInternalServerError) IsServerError

func (o *StacksWebhookInvokeInternalServerError) IsServerError() bool

IsServerError returns true when this stacks webhook invoke internal server error response has a 5xx status code

func (*StacksWebhookInvokeInternalServerError) IsSuccess

IsSuccess returns true when this stacks webhook invoke internal server error response has a 2xx status code

func (*StacksWebhookInvokeInternalServerError) String

type StacksWebhookInvokeOK

type StacksWebhookInvokeOK struct {
}

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

Success

func NewStacksWebhookInvokeOK

func NewStacksWebhookInvokeOK() *StacksWebhookInvokeOK

NewStacksWebhookInvokeOK creates a StacksWebhookInvokeOK with default headers values

func (*StacksWebhookInvokeOK) Code

func (o *StacksWebhookInvokeOK) Code() int

Code gets the status code for the stacks webhook invoke o k response

func (*StacksWebhookInvokeOK) Error

func (o *StacksWebhookInvokeOK) Error() string

func (*StacksWebhookInvokeOK) IsClientError

func (o *StacksWebhookInvokeOK) IsClientError() bool

IsClientError returns true when this stacks webhook invoke o k response has a 4xx status code

func (*StacksWebhookInvokeOK) IsCode

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

IsCode returns true when this stacks webhook invoke o k response a status code equal to that given

func (*StacksWebhookInvokeOK) IsRedirect

func (o *StacksWebhookInvokeOK) IsRedirect() bool

IsRedirect returns true when this stacks webhook invoke o k response has a 3xx status code

func (*StacksWebhookInvokeOK) IsServerError

func (o *StacksWebhookInvokeOK) IsServerError() bool

IsServerError returns true when this stacks webhook invoke o k response has a 5xx status code

func (*StacksWebhookInvokeOK) IsSuccess

func (o *StacksWebhookInvokeOK) IsSuccess() bool

IsSuccess returns true when this stacks webhook invoke o k response has a 2xx status code

func (*StacksWebhookInvokeOK) String

func (o *StacksWebhookInvokeOK) String() string

type StacksWebhookInvokeParams

type StacksWebhookInvokeParams struct {

	/* WebhookID.

	   Stack identifier
	*/
	WebhookID string

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

StacksWebhookInvokeParams contains all the parameters to send to the API endpoint

for the stacks webhook invoke operation.

Typically these are written to a http.Request.

func NewStacksWebhookInvokeParams

func NewStacksWebhookInvokeParams() *StacksWebhookInvokeParams

NewStacksWebhookInvokeParams creates a new StacksWebhookInvokeParams 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 NewStacksWebhookInvokeParamsWithContext

func NewStacksWebhookInvokeParamsWithContext(ctx context.Context) *StacksWebhookInvokeParams

NewStacksWebhookInvokeParamsWithContext creates a new StacksWebhookInvokeParams object with the ability to set a context for a request.

func NewStacksWebhookInvokeParamsWithHTTPClient

func NewStacksWebhookInvokeParamsWithHTTPClient(client *http.Client) *StacksWebhookInvokeParams

NewStacksWebhookInvokeParamsWithHTTPClient creates a new StacksWebhookInvokeParams object with the ability to set a custom HTTPClient for a request.

func NewStacksWebhookInvokeParamsWithTimeout

func NewStacksWebhookInvokeParamsWithTimeout(timeout time.Duration) *StacksWebhookInvokeParams

NewStacksWebhookInvokeParamsWithTimeout creates a new StacksWebhookInvokeParams object with the ability to set a timeout on a request.

func (*StacksWebhookInvokeParams) SetContext

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

SetContext adds the context to the stacks webhook invoke params

func (*StacksWebhookInvokeParams) SetDefaults

func (o *StacksWebhookInvokeParams) SetDefaults()

SetDefaults hydrates default values in the stacks webhook invoke params (not the query body).

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

func (*StacksWebhookInvokeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stacks webhook invoke params

func (*StacksWebhookInvokeParams) SetTimeout

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

SetTimeout adds the timeout to the stacks webhook invoke params

func (*StacksWebhookInvokeParams) SetWebhookID

func (o *StacksWebhookInvokeParams) SetWebhookID(webhookID string)

SetWebhookID adds the webhookId to the stacks webhook invoke params

func (*StacksWebhookInvokeParams) WithContext

WithContext adds the context to the stacks webhook invoke params

func (*StacksWebhookInvokeParams) WithDefaults

WithDefaults hydrates default values in the stacks webhook invoke params (not the query body).

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

func (*StacksWebhookInvokeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stacks webhook invoke params

func (*StacksWebhookInvokeParams) WithTimeout

WithTimeout adds the timeout to the stacks webhook invoke params

func (*StacksWebhookInvokeParams) WithWebhookID

func (o *StacksWebhookInvokeParams) WithWebhookID(webhookID string) *StacksWebhookInvokeParams

WithWebhookID adds the webhookID to the stacks webhook invoke params

func (*StacksWebhookInvokeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StacksWebhookInvokeReader

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

StacksWebhookInvokeReader is a Reader for the StacksWebhookInvoke structure.

func (*StacksWebhookInvokeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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