Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeMultipartFormData(r *runtime.ClientOperation)
- type Client
- func (a *Client) EdgeStackWebhookInvoke(params *EdgeStackWebhookInvokeParams, opts ...ClientOption) (*EdgeStackWebhookInvokeOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StackAssociate(params *StackAssociateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StackAssociateOK, error)
- func (a *Client) StackCreateDockerStandaloneFile(params *StackCreateDockerStandaloneFileParams, ...) (*StackCreateDockerStandaloneFileOK, error)
- func (a *Client) StackCreateDockerStandaloneRepository(params *StackCreateDockerStandaloneRepositoryParams, ...) (*StackCreateDockerStandaloneRepositoryOK, error)
- func (a *Client) StackCreateDockerStandaloneString(params *StackCreateDockerStandaloneStringParams, ...) (*StackCreateDockerStandaloneStringOK, error)
- func (a *Client) StackCreateDockerSwarmFile(params *StackCreateDockerSwarmFileParams, ...) (*StackCreateDockerSwarmFileOK, error)
- func (a *Client) StackCreateDockerSwarmRepository(params *StackCreateDockerSwarmRepositoryParams, ...) (*StackCreateDockerSwarmRepositoryOK, error)
- func (a *Client) StackCreateDockerSwarmString(params *StackCreateDockerSwarmStringParams, ...) (*StackCreateDockerSwarmStringOK, error)
- func (a *Client) StackCreateKubernetesFile(params *StackCreateKubernetesFileParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StackCreateKubernetesFileOK, error)
- func (a *Client) StackCreateKubernetesGit(params *StackCreateKubernetesGitParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StackCreateKubernetesGitOK, error)
- func (a *Client) StackCreateKubernetesURL(params *StackCreateKubernetesURLParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StackCreateKubernetesURLOK, error)
- func (a *Client) StackDelete(params *StackDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StackDeleteNoContent, error)
- func (a *Client) StackDeleteKubernetesByName(params *StackDeleteKubernetesByNameParams, ...) (*StackDeleteKubernetesByNameNoContent, error)
- func (a *Client) StackFileInspect(params *StackFileInspectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StackFileInspectOK, error)
- func (a *Client) StackGitRedeploy(params *StackGitRedeployParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StackGitRedeployOK, error)
- func (a *Client) StackImagesStatus(params *StackImagesStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StackImagesStatusOK, error)
- func (a *Client) StackInspect(params *StackInspectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StackInspectOK, error)
- func (a *Client) StackList(params *StackListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StackListOK, *StackListNoContent, error)
- func (a *Client) StackMigrate(params *StackMigrateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StackMigrateOK, error)
- func (a *Client) StackStart(params *StackStartParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StackStartOK, error)
- func (a *Client) StackStop(params *StackStopParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StackStopOK, error)
- func (a *Client) StackUpdate(params *StackUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StackUpdateOK, error)
- func (a *Client) StackUpdateGit(params *StackUpdateGitParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StackUpdateGitOK, error)
- func (a *Client) StacksWebhookInvoke(params *StacksWebhookInvokeParams, opts ...ClientOption) (*StacksWebhookInvokeOK, error)
- type ClientOption
- type ClientService
- type EdgeStackWebhookInvokeBadRequest
- func (o *EdgeStackWebhookInvokeBadRequest) Code() int
- func (o *EdgeStackWebhookInvokeBadRequest) Error() string
- func (o *EdgeStackWebhookInvokeBadRequest) IsClientError() bool
- func (o *EdgeStackWebhookInvokeBadRequest) IsCode(code int) bool
- func (o *EdgeStackWebhookInvokeBadRequest) IsRedirect() bool
- func (o *EdgeStackWebhookInvokeBadRequest) IsServerError() bool
- func (o *EdgeStackWebhookInvokeBadRequest) IsSuccess() bool
- func (o *EdgeStackWebhookInvokeBadRequest) String() string
- type EdgeStackWebhookInvokeConflict
- func (o *EdgeStackWebhookInvokeConflict) Code() int
- func (o *EdgeStackWebhookInvokeConflict) Error() string
- func (o *EdgeStackWebhookInvokeConflict) IsClientError() bool
- func (o *EdgeStackWebhookInvokeConflict) IsCode(code int) bool
- func (o *EdgeStackWebhookInvokeConflict) IsRedirect() bool
- func (o *EdgeStackWebhookInvokeConflict) IsServerError() bool
- func (o *EdgeStackWebhookInvokeConflict) IsSuccess() bool
- func (o *EdgeStackWebhookInvokeConflict) String() string
- type EdgeStackWebhookInvokeInternalServerError
- func (o *EdgeStackWebhookInvokeInternalServerError) Code() int
- func (o *EdgeStackWebhookInvokeInternalServerError) Error() string
- func (o *EdgeStackWebhookInvokeInternalServerError) IsClientError() bool
- func (o *EdgeStackWebhookInvokeInternalServerError) IsCode(code int) bool
- func (o *EdgeStackWebhookInvokeInternalServerError) IsRedirect() bool
- func (o *EdgeStackWebhookInvokeInternalServerError) IsServerError() bool
- func (o *EdgeStackWebhookInvokeInternalServerError) IsSuccess() bool
- func (o *EdgeStackWebhookInvokeInternalServerError) String() string
- type EdgeStackWebhookInvokeOK
- func (o *EdgeStackWebhookInvokeOK) Code() int
- func (o *EdgeStackWebhookInvokeOK) Error() string
- func (o *EdgeStackWebhookInvokeOK) IsClientError() bool
- func (o *EdgeStackWebhookInvokeOK) IsCode(code int) bool
- func (o *EdgeStackWebhookInvokeOK) IsRedirect() bool
- func (o *EdgeStackWebhookInvokeOK) IsServerError() bool
- func (o *EdgeStackWebhookInvokeOK) IsSuccess() bool
- func (o *EdgeStackWebhookInvokeOK) String() string
- type EdgeStackWebhookInvokeParams
- func NewEdgeStackWebhookInvokeParams() *EdgeStackWebhookInvokeParams
- func NewEdgeStackWebhookInvokeParamsWithContext(ctx context.Context) *EdgeStackWebhookInvokeParams
- func NewEdgeStackWebhookInvokeParamsWithHTTPClient(client *http.Client) *EdgeStackWebhookInvokeParams
- func NewEdgeStackWebhookInvokeParamsWithTimeout(timeout time.Duration) *EdgeStackWebhookInvokeParams
- func (o *EdgeStackWebhookInvokeParams) SetContext(ctx context.Context)
- func (o *EdgeStackWebhookInvokeParams) SetDefaults()
- func (o *EdgeStackWebhookInvokeParams) SetHTTPClient(client *http.Client)
- func (o *EdgeStackWebhookInvokeParams) SetTimeout(timeout time.Duration)
- func (o *EdgeStackWebhookInvokeParams) SetWebhookID(webhookID string)
- func (o *EdgeStackWebhookInvokeParams) WithContext(ctx context.Context) *EdgeStackWebhookInvokeParams
- func (o *EdgeStackWebhookInvokeParams) WithDefaults() *EdgeStackWebhookInvokeParams
- func (o *EdgeStackWebhookInvokeParams) WithHTTPClient(client *http.Client) *EdgeStackWebhookInvokeParams
- func (o *EdgeStackWebhookInvokeParams) WithTimeout(timeout time.Duration) *EdgeStackWebhookInvokeParams
- func (o *EdgeStackWebhookInvokeParams) WithWebhookID(webhookID string) *EdgeStackWebhookInvokeParams
- func (o *EdgeStackWebhookInvokeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EdgeStackWebhookInvokeReader
- type StackAssociateBadRequest
- func (o *StackAssociateBadRequest) Code() int
- func (o *StackAssociateBadRequest) Error() string
- func (o *StackAssociateBadRequest) IsClientError() bool
- func (o *StackAssociateBadRequest) IsCode(code int) bool
- func (o *StackAssociateBadRequest) IsRedirect() bool
- func (o *StackAssociateBadRequest) IsServerError() bool
- func (o *StackAssociateBadRequest) IsSuccess() bool
- func (o *StackAssociateBadRequest) String() string
- type StackAssociateForbidden
- func (o *StackAssociateForbidden) Code() int
- func (o *StackAssociateForbidden) Error() string
- func (o *StackAssociateForbidden) IsClientError() bool
- func (o *StackAssociateForbidden) IsCode(code int) bool
- func (o *StackAssociateForbidden) IsRedirect() bool
- func (o *StackAssociateForbidden) IsServerError() bool
- func (o *StackAssociateForbidden) IsSuccess() bool
- func (o *StackAssociateForbidden) String() string
- type StackAssociateInternalServerError
- func (o *StackAssociateInternalServerError) Code() int
- func (o *StackAssociateInternalServerError) Error() string
- func (o *StackAssociateInternalServerError) IsClientError() bool
- func (o *StackAssociateInternalServerError) IsCode(code int) bool
- func (o *StackAssociateInternalServerError) IsRedirect() bool
- func (o *StackAssociateInternalServerError) IsServerError() bool
- func (o *StackAssociateInternalServerError) IsSuccess() bool
- func (o *StackAssociateInternalServerError) String() string
- type StackAssociateNotFound
- func (o *StackAssociateNotFound) Code() int
- func (o *StackAssociateNotFound) Error() string
- func (o *StackAssociateNotFound) IsClientError() bool
- func (o *StackAssociateNotFound) IsCode(code int) bool
- func (o *StackAssociateNotFound) IsRedirect() bool
- func (o *StackAssociateNotFound) IsServerError() bool
- func (o *StackAssociateNotFound) IsSuccess() bool
- func (o *StackAssociateNotFound) String() string
- type StackAssociateOK
- func (o *StackAssociateOK) Code() int
- func (o *StackAssociateOK) Error() string
- func (o *StackAssociateOK) GetPayload() *models.PortainereeStack
- func (o *StackAssociateOK) IsClientError() bool
- func (o *StackAssociateOK) IsCode(code int) bool
- func (o *StackAssociateOK) IsRedirect() bool
- func (o *StackAssociateOK) IsServerError() bool
- func (o *StackAssociateOK) IsSuccess() bool
- func (o *StackAssociateOK) String() string
- type StackAssociateParams
- func NewStackAssociateParams() *StackAssociateParams
- func NewStackAssociateParamsWithContext(ctx context.Context) *StackAssociateParams
- func NewStackAssociateParamsWithHTTPClient(client *http.Client) *StackAssociateParams
- func NewStackAssociateParamsWithTimeout(timeout time.Duration) *StackAssociateParams
- func (o *StackAssociateParams) SetContext(ctx context.Context)
- func (o *StackAssociateParams) SetDefaults()
- func (o *StackAssociateParams) SetEndpointID(endpointID int64)
- func (o *StackAssociateParams) SetHTTPClient(client *http.Client)
- func (o *StackAssociateParams) SetID(id int64)
- func (o *StackAssociateParams) SetOrphanedRunning(orphanedRunning bool)
- func (o *StackAssociateParams) SetSwarmID(swarmID int64)
- func (o *StackAssociateParams) SetTimeout(timeout time.Duration)
- func (o *StackAssociateParams) WithContext(ctx context.Context) *StackAssociateParams
- func (o *StackAssociateParams) WithDefaults() *StackAssociateParams
- func (o *StackAssociateParams) WithEndpointID(endpointID int64) *StackAssociateParams
- func (o *StackAssociateParams) WithHTTPClient(client *http.Client) *StackAssociateParams
- func (o *StackAssociateParams) WithID(id int64) *StackAssociateParams
- func (o *StackAssociateParams) WithOrphanedRunning(orphanedRunning bool) *StackAssociateParams
- func (o *StackAssociateParams) WithSwarmID(swarmID int64) *StackAssociateParams
- func (o *StackAssociateParams) WithTimeout(timeout time.Duration) *StackAssociateParams
- func (o *StackAssociateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackAssociateReader
- type StackCreateDockerStandaloneFileBadRequest
- func (o *StackCreateDockerStandaloneFileBadRequest) Code() int
- func (o *StackCreateDockerStandaloneFileBadRequest) Error() string
- func (o *StackCreateDockerStandaloneFileBadRequest) IsClientError() bool
- func (o *StackCreateDockerStandaloneFileBadRequest) IsCode(code int) bool
- func (o *StackCreateDockerStandaloneFileBadRequest) IsRedirect() bool
- func (o *StackCreateDockerStandaloneFileBadRequest) IsServerError() bool
- func (o *StackCreateDockerStandaloneFileBadRequest) IsSuccess() bool
- func (o *StackCreateDockerStandaloneFileBadRequest) String() string
- type StackCreateDockerStandaloneFileInternalServerError
- func (o *StackCreateDockerStandaloneFileInternalServerError) Code() int
- func (o *StackCreateDockerStandaloneFileInternalServerError) Error() string
- func (o *StackCreateDockerStandaloneFileInternalServerError) IsClientError() bool
- func (o *StackCreateDockerStandaloneFileInternalServerError) IsCode(code int) bool
- func (o *StackCreateDockerStandaloneFileInternalServerError) IsRedirect() bool
- func (o *StackCreateDockerStandaloneFileInternalServerError) IsServerError() bool
- func (o *StackCreateDockerStandaloneFileInternalServerError) IsSuccess() bool
- func (o *StackCreateDockerStandaloneFileInternalServerError) String() string
- type StackCreateDockerStandaloneFileOK
- func (o *StackCreateDockerStandaloneFileOK) Code() int
- func (o *StackCreateDockerStandaloneFileOK) Error() string
- func (o *StackCreateDockerStandaloneFileOK) GetPayload() *models.PortainereeStack
- func (o *StackCreateDockerStandaloneFileOK) IsClientError() bool
- func (o *StackCreateDockerStandaloneFileOK) IsCode(code int) bool
- func (o *StackCreateDockerStandaloneFileOK) IsRedirect() bool
- func (o *StackCreateDockerStandaloneFileOK) IsServerError() bool
- func (o *StackCreateDockerStandaloneFileOK) IsSuccess() bool
- func (o *StackCreateDockerStandaloneFileOK) String() string
- type StackCreateDockerStandaloneFileParams
- func NewStackCreateDockerStandaloneFileParams() *StackCreateDockerStandaloneFileParams
- func NewStackCreateDockerStandaloneFileParamsWithContext(ctx context.Context) *StackCreateDockerStandaloneFileParams
- func NewStackCreateDockerStandaloneFileParamsWithHTTPClient(client *http.Client) *StackCreateDockerStandaloneFileParams
- func NewStackCreateDockerStandaloneFileParamsWithTimeout(timeout time.Duration) *StackCreateDockerStandaloneFileParams
- func (o *StackCreateDockerStandaloneFileParams) SetContext(ctx context.Context)
- func (o *StackCreateDockerStandaloneFileParams) SetDefaults()
- func (o *StackCreateDockerStandaloneFileParams) SetEndpointID(endpointID int64)
- func (o *StackCreateDockerStandaloneFileParams) SetEnv(env *string)
- func (o *StackCreateDockerStandaloneFileParams) SetFile(file runtime.NamedReadCloser)
- func (o *StackCreateDockerStandaloneFileParams) SetHTTPClient(client *http.Client)
- func (o *StackCreateDockerStandaloneFileParams) SetName(name string)
- func (o *StackCreateDockerStandaloneFileParams) SetTimeout(timeout time.Duration)
- func (o *StackCreateDockerStandaloneFileParams) WithContext(ctx context.Context) *StackCreateDockerStandaloneFileParams
- func (o *StackCreateDockerStandaloneFileParams) WithDefaults() *StackCreateDockerStandaloneFileParams
- func (o *StackCreateDockerStandaloneFileParams) WithEndpointID(endpointID int64) *StackCreateDockerStandaloneFileParams
- func (o *StackCreateDockerStandaloneFileParams) WithEnv(env *string) *StackCreateDockerStandaloneFileParams
- func (o *StackCreateDockerStandaloneFileParams) WithFile(file runtime.NamedReadCloser) *StackCreateDockerStandaloneFileParams
- func (o *StackCreateDockerStandaloneFileParams) WithHTTPClient(client *http.Client) *StackCreateDockerStandaloneFileParams
- func (o *StackCreateDockerStandaloneFileParams) WithName(name string) *StackCreateDockerStandaloneFileParams
- func (o *StackCreateDockerStandaloneFileParams) WithTimeout(timeout time.Duration) *StackCreateDockerStandaloneFileParams
- func (o *StackCreateDockerStandaloneFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackCreateDockerStandaloneFileReader
- type StackCreateDockerStandaloneRepositoryBadRequest
- func (o *StackCreateDockerStandaloneRepositoryBadRequest) Code() int
- func (o *StackCreateDockerStandaloneRepositoryBadRequest) Error() string
- func (o *StackCreateDockerStandaloneRepositoryBadRequest) IsClientError() bool
- func (o *StackCreateDockerStandaloneRepositoryBadRequest) IsCode(code int) bool
- func (o *StackCreateDockerStandaloneRepositoryBadRequest) IsRedirect() bool
- func (o *StackCreateDockerStandaloneRepositoryBadRequest) IsServerError() bool
- func (o *StackCreateDockerStandaloneRepositoryBadRequest) IsSuccess() bool
- func (o *StackCreateDockerStandaloneRepositoryBadRequest) String() string
- type StackCreateDockerStandaloneRepositoryInternalServerError
- func (o *StackCreateDockerStandaloneRepositoryInternalServerError) Code() int
- func (o *StackCreateDockerStandaloneRepositoryInternalServerError) Error() string
- func (o *StackCreateDockerStandaloneRepositoryInternalServerError) IsClientError() bool
- func (o *StackCreateDockerStandaloneRepositoryInternalServerError) IsCode(code int) bool
- func (o *StackCreateDockerStandaloneRepositoryInternalServerError) IsRedirect() bool
- func (o *StackCreateDockerStandaloneRepositoryInternalServerError) IsServerError() bool
- func (o *StackCreateDockerStandaloneRepositoryInternalServerError) IsSuccess() bool
- func (o *StackCreateDockerStandaloneRepositoryInternalServerError) String() string
- type StackCreateDockerStandaloneRepositoryOK
- func (o *StackCreateDockerStandaloneRepositoryOK) Code() int
- func (o *StackCreateDockerStandaloneRepositoryOK) Error() string
- func (o *StackCreateDockerStandaloneRepositoryOK) GetPayload() *models.PortainereeStack
- func (o *StackCreateDockerStandaloneRepositoryOK) IsClientError() bool
- func (o *StackCreateDockerStandaloneRepositoryOK) IsCode(code int) bool
- func (o *StackCreateDockerStandaloneRepositoryOK) IsRedirect() bool
- func (o *StackCreateDockerStandaloneRepositoryOK) IsServerError() bool
- func (o *StackCreateDockerStandaloneRepositoryOK) IsSuccess() bool
- func (o *StackCreateDockerStandaloneRepositoryOK) String() string
- type StackCreateDockerStandaloneRepositoryParams
- func NewStackCreateDockerStandaloneRepositoryParams() *StackCreateDockerStandaloneRepositoryParams
- func NewStackCreateDockerStandaloneRepositoryParamsWithContext(ctx context.Context) *StackCreateDockerStandaloneRepositoryParams
- func NewStackCreateDockerStandaloneRepositoryParamsWithHTTPClient(client *http.Client) *StackCreateDockerStandaloneRepositoryParams
- func NewStackCreateDockerStandaloneRepositoryParamsWithTimeout(timeout time.Duration) *StackCreateDockerStandaloneRepositoryParams
- func (o *StackCreateDockerStandaloneRepositoryParams) SetBody(body *models.StacksComposeStackFromGitRepositoryPayload)
- func (o *StackCreateDockerStandaloneRepositoryParams) SetContext(ctx context.Context)
- func (o *StackCreateDockerStandaloneRepositoryParams) SetDefaults()
- func (o *StackCreateDockerStandaloneRepositoryParams) SetEndpointID(endpointID int64)
- func (o *StackCreateDockerStandaloneRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *StackCreateDockerStandaloneRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *StackCreateDockerStandaloneRepositoryParams) WithBody(body *models.StacksComposeStackFromGitRepositoryPayload) *StackCreateDockerStandaloneRepositoryParams
- func (o *StackCreateDockerStandaloneRepositoryParams) WithContext(ctx context.Context) *StackCreateDockerStandaloneRepositoryParams
- func (o *StackCreateDockerStandaloneRepositoryParams) WithDefaults() *StackCreateDockerStandaloneRepositoryParams
- func (o *StackCreateDockerStandaloneRepositoryParams) WithEndpointID(endpointID int64) *StackCreateDockerStandaloneRepositoryParams
- func (o *StackCreateDockerStandaloneRepositoryParams) WithHTTPClient(client *http.Client) *StackCreateDockerStandaloneRepositoryParams
- func (o *StackCreateDockerStandaloneRepositoryParams) WithTimeout(timeout time.Duration) *StackCreateDockerStandaloneRepositoryParams
- func (o *StackCreateDockerStandaloneRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackCreateDockerStandaloneRepositoryReader
- type StackCreateDockerStandaloneStringBadRequest
- func (o *StackCreateDockerStandaloneStringBadRequest) Code() int
- func (o *StackCreateDockerStandaloneStringBadRequest) Error() string
- func (o *StackCreateDockerStandaloneStringBadRequest) IsClientError() bool
- func (o *StackCreateDockerStandaloneStringBadRequest) IsCode(code int) bool
- func (o *StackCreateDockerStandaloneStringBadRequest) IsRedirect() bool
- func (o *StackCreateDockerStandaloneStringBadRequest) IsServerError() bool
- func (o *StackCreateDockerStandaloneStringBadRequest) IsSuccess() bool
- func (o *StackCreateDockerStandaloneStringBadRequest) String() string
- type StackCreateDockerStandaloneStringInternalServerError
- func (o *StackCreateDockerStandaloneStringInternalServerError) Code() int
- func (o *StackCreateDockerStandaloneStringInternalServerError) Error() string
- func (o *StackCreateDockerStandaloneStringInternalServerError) IsClientError() bool
- func (o *StackCreateDockerStandaloneStringInternalServerError) IsCode(code int) bool
- func (o *StackCreateDockerStandaloneStringInternalServerError) IsRedirect() bool
- func (o *StackCreateDockerStandaloneStringInternalServerError) IsServerError() bool
- func (o *StackCreateDockerStandaloneStringInternalServerError) IsSuccess() bool
- func (o *StackCreateDockerStandaloneStringInternalServerError) String() string
- type StackCreateDockerStandaloneStringOK
- func (o *StackCreateDockerStandaloneStringOK) Code() int
- func (o *StackCreateDockerStandaloneStringOK) Error() string
- func (o *StackCreateDockerStandaloneStringOK) GetPayload() *models.PortainereeStack
- func (o *StackCreateDockerStandaloneStringOK) IsClientError() bool
- func (o *StackCreateDockerStandaloneStringOK) IsCode(code int) bool
- func (o *StackCreateDockerStandaloneStringOK) IsRedirect() bool
- func (o *StackCreateDockerStandaloneStringOK) IsServerError() bool
- func (o *StackCreateDockerStandaloneStringOK) IsSuccess() bool
- func (o *StackCreateDockerStandaloneStringOK) String() string
- type StackCreateDockerStandaloneStringParams
- func NewStackCreateDockerStandaloneStringParams() *StackCreateDockerStandaloneStringParams
- func NewStackCreateDockerStandaloneStringParamsWithContext(ctx context.Context) *StackCreateDockerStandaloneStringParams
- func NewStackCreateDockerStandaloneStringParamsWithHTTPClient(client *http.Client) *StackCreateDockerStandaloneStringParams
- func NewStackCreateDockerStandaloneStringParamsWithTimeout(timeout time.Duration) *StackCreateDockerStandaloneStringParams
- func (o *StackCreateDockerStandaloneStringParams) SetBody(body *models.StacksComposeStackFromFileContentPayload)
- func (o *StackCreateDockerStandaloneStringParams) SetContext(ctx context.Context)
- func (o *StackCreateDockerStandaloneStringParams) SetDefaults()
- func (o *StackCreateDockerStandaloneStringParams) SetEndpointID(endpointID int64)
- func (o *StackCreateDockerStandaloneStringParams) SetHTTPClient(client *http.Client)
- func (o *StackCreateDockerStandaloneStringParams) SetTimeout(timeout time.Duration)
- func (o *StackCreateDockerStandaloneStringParams) WithBody(body *models.StacksComposeStackFromFileContentPayload) *StackCreateDockerStandaloneStringParams
- func (o *StackCreateDockerStandaloneStringParams) WithContext(ctx context.Context) *StackCreateDockerStandaloneStringParams
- func (o *StackCreateDockerStandaloneStringParams) WithDefaults() *StackCreateDockerStandaloneStringParams
- func (o *StackCreateDockerStandaloneStringParams) WithEndpointID(endpointID int64) *StackCreateDockerStandaloneStringParams
- func (o *StackCreateDockerStandaloneStringParams) WithHTTPClient(client *http.Client) *StackCreateDockerStandaloneStringParams
- func (o *StackCreateDockerStandaloneStringParams) WithTimeout(timeout time.Duration) *StackCreateDockerStandaloneStringParams
- func (o *StackCreateDockerStandaloneStringParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackCreateDockerStandaloneStringReader
- type StackCreateDockerSwarmFileBadRequest
- func (o *StackCreateDockerSwarmFileBadRequest) Code() int
- func (o *StackCreateDockerSwarmFileBadRequest) Error() string
- func (o *StackCreateDockerSwarmFileBadRequest) IsClientError() bool
- func (o *StackCreateDockerSwarmFileBadRequest) IsCode(code int) bool
- func (o *StackCreateDockerSwarmFileBadRequest) IsRedirect() bool
- func (o *StackCreateDockerSwarmFileBadRequest) IsServerError() bool
- func (o *StackCreateDockerSwarmFileBadRequest) IsSuccess() bool
- func (o *StackCreateDockerSwarmFileBadRequest) String() string
- type StackCreateDockerSwarmFileConflict
- func (o *StackCreateDockerSwarmFileConflict) Code() int
- func (o *StackCreateDockerSwarmFileConflict) Error() string
- func (o *StackCreateDockerSwarmFileConflict) IsClientError() bool
- func (o *StackCreateDockerSwarmFileConflict) IsCode(code int) bool
- func (o *StackCreateDockerSwarmFileConflict) IsRedirect() bool
- func (o *StackCreateDockerSwarmFileConflict) IsServerError() bool
- func (o *StackCreateDockerSwarmFileConflict) IsSuccess() bool
- func (o *StackCreateDockerSwarmFileConflict) String() string
- type StackCreateDockerSwarmFileInternalServerError
- func (o *StackCreateDockerSwarmFileInternalServerError) Code() int
- func (o *StackCreateDockerSwarmFileInternalServerError) Error() string
- func (o *StackCreateDockerSwarmFileInternalServerError) IsClientError() bool
- func (o *StackCreateDockerSwarmFileInternalServerError) IsCode(code int) bool
- func (o *StackCreateDockerSwarmFileInternalServerError) IsRedirect() bool
- func (o *StackCreateDockerSwarmFileInternalServerError) IsServerError() bool
- func (o *StackCreateDockerSwarmFileInternalServerError) IsSuccess() bool
- func (o *StackCreateDockerSwarmFileInternalServerError) String() string
- type StackCreateDockerSwarmFileOK
- func (o *StackCreateDockerSwarmFileOK) Code() int
- func (o *StackCreateDockerSwarmFileOK) Error() string
- func (o *StackCreateDockerSwarmFileOK) GetPayload() *models.PortainereeStack
- func (o *StackCreateDockerSwarmFileOK) IsClientError() bool
- func (o *StackCreateDockerSwarmFileOK) IsCode(code int) bool
- func (o *StackCreateDockerSwarmFileOK) IsRedirect() bool
- func (o *StackCreateDockerSwarmFileOK) IsServerError() bool
- func (o *StackCreateDockerSwarmFileOK) IsSuccess() bool
- func (o *StackCreateDockerSwarmFileOK) String() string
- type StackCreateDockerSwarmFileParams
- func NewStackCreateDockerSwarmFileParams() *StackCreateDockerSwarmFileParams
- func NewStackCreateDockerSwarmFileParamsWithContext(ctx context.Context) *StackCreateDockerSwarmFileParams
- func NewStackCreateDockerSwarmFileParamsWithHTTPClient(client *http.Client) *StackCreateDockerSwarmFileParams
- func NewStackCreateDockerSwarmFileParamsWithTimeout(timeout time.Duration) *StackCreateDockerSwarmFileParams
- func (o *StackCreateDockerSwarmFileParams) SetContext(ctx context.Context)
- func (o *StackCreateDockerSwarmFileParams) SetDefaults()
- func (o *StackCreateDockerSwarmFileParams) SetEndpointID(endpointID int64)
- func (o *StackCreateDockerSwarmFileParams) SetEnv(env *string)
- func (o *StackCreateDockerSwarmFileParams) SetFile(file runtime.NamedReadCloser)
- func (o *StackCreateDockerSwarmFileParams) SetHTTPClient(client *http.Client)
- func (o *StackCreateDockerSwarmFileParams) SetName(name *string)
- func (o *StackCreateDockerSwarmFileParams) SetSwarmID(swarmID *string)
- func (o *StackCreateDockerSwarmFileParams) SetTimeout(timeout time.Duration)
- func (o *StackCreateDockerSwarmFileParams) WithContext(ctx context.Context) *StackCreateDockerSwarmFileParams
- func (o *StackCreateDockerSwarmFileParams) WithDefaults() *StackCreateDockerSwarmFileParams
- func (o *StackCreateDockerSwarmFileParams) WithEndpointID(endpointID int64) *StackCreateDockerSwarmFileParams
- func (o *StackCreateDockerSwarmFileParams) WithEnv(env *string) *StackCreateDockerSwarmFileParams
- func (o *StackCreateDockerSwarmFileParams) WithFile(file runtime.NamedReadCloser) *StackCreateDockerSwarmFileParams
- func (o *StackCreateDockerSwarmFileParams) WithHTTPClient(client *http.Client) *StackCreateDockerSwarmFileParams
- func (o *StackCreateDockerSwarmFileParams) WithName(name *string) *StackCreateDockerSwarmFileParams
- func (o *StackCreateDockerSwarmFileParams) WithSwarmID(swarmID *string) *StackCreateDockerSwarmFileParams
- func (o *StackCreateDockerSwarmFileParams) WithTimeout(timeout time.Duration) *StackCreateDockerSwarmFileParams
- func (o *StackCreateDockerSwarmFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackCreateDockerSwarmFileReader
- type StackCreateDockerSwarmRepositoryBadRequest
- func (o *StackCreateDockerSwarmRepositoryBadRequest) Code() int
- func (o *StackCreateDockerSwarmRepositoryBadRequest) Error() string
- func (o *StackCreateDockerSwarmRepositoryBadRequest) IsClientError() bool
- func (o *StackCreateDockerSwarmRepositoryBadRequest) IsCode(code int) bool
- func (o *StackCreateDockerSwarmRepositoryBadRequest) IsRedirect() bool
- func (o *StackCreateDockerSwarmRepositoryBadRequest) IsServerError() bool
- func (o *StackCreateDockerSwarmRepositoryBadRequest) IsSuccess() bool
- func (o *StackCreateDockerSwarmRepositoryBadRequest) String() string
- type StackCreateDockerSwarmRepositoryConflict
- func (o *StackCreateDockerSwarmRepositoryConflict) Code() int
- func (o *StackCreateDockerSwarmRepositoryConflict) Error() string
- func (o *StackCreateDockerSwarmRepositoryConflict) IsClientError() bool
- func (o *StackCreateDockerSwarmRepositoryConflict) IsCode(code int) bool
- func (o *StackCreateDockerSwarmRepositoryConflict) IsRedirect() bool
- func (o *StackCreateDockerSwarmRepositoryConflict) IsServerError() bool
- func (o *StackCreateDockerSwarmRepositoryConflict) IsSuccess() bool
- func (o *StackCreateDockerSwarmRepositoryConflict) String() string
- type StackCreateDockerSwarmRepositoryInternalServerError
- func (o *StackCreateDockerSwarmRepositoryInternalServerError) Code() int
- func (o *StackCreateDockerSwarmRepositoryInternalServerError) Error() string
- func (o *StackCreateDockerSwarmRepositoryInternalServerError) IsClientError() bool
- func (o *StackCreateDockerSwarmRepositoryInternalServerError) IsCode(code int) bool
- func (o *StackCreateDockerSwarmRepositoryInternalServerError) IsRedirect() bool
- func (o *StackCreateDockerSwarmRepositoryInternalServerError) IsServerError() bool
- func (o *StackCreateDockerSwarmRepositoryInternalServerError) IsSuccess() bool
- func (o *StackCreateDockerSwarmRepositoryInternalServerError) String() string
- type StackCreateDockerSwarmRepositoryOK
- func (o *StackCreateDockerSwarmRepositoryOK) Code() int
- func (o *StackCreateDockerSwarmRepositoryOK) Error() string
- func (o *StackCreateDockerSwarmRepositoryOK) GetPayload() *models.PortainereeStack
- func (o *StackCreateDockerSwarmRepositoryOK) IsClientError() bool
- func (o *StackCreateDockerSwarmRepositoryOK) IsCode(code int) bool
- func (o *StackCreateDockerSwarmRepositoryOK) IsRedirect() bool
- func (o *StackCreateDockerSwarmRepositoryOK) IsServerError() bool
- func (o *StackCreateDockerSwarmRepositoryOK) IsSuccess() bool
- func (o *StackCreateDockerSwarmRepositoryOK) String() string
- type StackCreateDockerSwarmRepositoryParams
- func NewStackCreateDockerSwarmRepositoryParams() *StackCreateDockerSwarmRepositoryParams
- func NewStackCreateDockerSwarmRepositoryParamsWithContext(ctx context.Context) *StackCreateDockerSwarmRepositoryParams
- func NewStackCreateDockerSwarmRepositoryParamsWithHTTPClient(client *http.Client) *StackCreateDockerSwarmRepositoryParams
- func NewStackCreateDockerSwarmRepositoryParamsWithTimeout(timeout time.Duration) *StackCreateDockerSwarmRepositoryParams
- func (o *StackCreateDockerSwarmRepositoryParams) SetBody(body *models.StacksSwarmStackFromGitRepositoryPayload)
- func (o *StackCreateDockerSwarmRepositoryParams) SetContext(ctx context.Context)
- func (o *StackCreateDockerSwarmRepositoryParams) SetDefaults()
- func (o *StackCreateDockerSwarmRepositoryParams) SetEndpointID(endpointID int64)
- func (o *StackCreateDockerSwarmRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *StackCreateDockerSwarmRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *StackCreateDockerSwarmRepositoryParams) WithBody(body *models.StacksSwarmStackFromGitRepositoryPayload) *StackCreateDockerSwarmRepositoryParams
- func (o *StackCreateDockerSwarmRepositoryParams) WithContext(ctx context.Context) *StackCreateDockerSwarmRepositoryParams
- func (o *StackCreateDockerSwarmRepositoryParams) WithDefaults() *StackCreateDockerSwarmRepositoryParams
- func (o *StackCreateDockerSwarmRepositoryParams) WithEndpointID(endpointID int64) *StackCreateDockerSwarmRepositoryParams
- func (o *StackCreateDockerSwarmRepositoryParams) WithHTTPClient(client *http.Client) *StackCreateDockerSwarmRepositoryParams
- func (o *StackCreateDockerSwarmRepositoryParams) WithTimeout(timeout time.Duration) *StackCreateDockerSwarmRepositoryParams
- func (o *StackCreateDockerSwarmRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackCreateDockerSwarmRepositoryReader
- type StackCreateDockerSwarmStringBadRequest
- func (o *StackCreateDockerSwarmStringBadRequest) Code() int
- func (o *StackCreateDockerSwarmStringBadRequest) Error() string
- func (o *StackCreateDockerSwarmStringBadRequest) IsClientError() bool
- func (o *StackCreateDockerSwarmStringBadRequest) IsCode(code int) bool
- func (o *StackCreateDockerSwarmStringBadRequest) IsRedirect() bool
- func (o *StackCreateDockerSwarmStringBadRequest) IsServerError() bool
- func (o *StackCreateDockerSwarmStringBadRequest) IsSuccess() bool
- func (o *StackCreateDockerSwarmStringBadRequest) String() string
- type StackCreateDockerSwarmStringConflict
- func (o *StackCreateDockerSwarmStringConflict) Code() int
- func (o *StackCreateDockerSwarmStringConflict) Error() string
- func (o *StackCreateDockerSwarmStringConflict) IsClientError() bool
- func (o *StackCreateDockerSwarmStringConflict) IsCode(code int) bool
- func (o *StackCreateDockerSwarmStringConflict) IsRedirect() bool
- func (o *StackCreateDockerSwarmStringConflict) IsServerError() bool
- func (o *StackCreateDockerSwarmStringConflict) IsSuccess() bool
- func (o *StackCreateDockerSwarmStringConflict) String() string
- type StackCreateDockerSwarmStringInternalServerError
- func (o *StackCreateDockerSwarmStringInternalServerError) Code() int
- func (o *StackCreateDockerSwarmStringInternalServerError) Error() string
- func (o *StackCreateDockerSwarmStringInternalServerError) IsClientError() bool
- func (o *StackCreateDockerSwarmStringInternalServerError) IsCode(code int) bool
- func (o *StackCreateDockerSwarmStringInternalServerError) IsRedirect() bool
- func (o *StackCreateDockerSwarmStringInternalServerError) IsServerError() bool
- func (o *StackCreateDockerSwarmStringInternalServerError) IsSuccess() bool
- func (o *StackCreateDockerSwarmStringInternalServerError) String() string
- type StackCreateDockerSwarmStringOK
- func (o *StackCreateDockerSwarmStringOK) Code() int
- func (o *StackCreateDockerSwarmStringOK) Error() string
- func (o *StackCreateDockerSwarmStringOK) GetPayload() *models.PortainereeStack
- func (o *StackCreateDockerSwarmStringOK) IsClientError() bool
- func (o *StackCreateDockerSwarmStringOK) IsCode(code int) bool
- func (o *StackCreateDockerSwarmStringOK) IsRedirect() bool
- func (o *StackCreateDockerSwarmStringOK) IsServerError() bool
- func (o *StackCreateDockerSwarmStringOK) IsSuccess() bool
- func (o *StackCreateDockerSwarmStringOK) String() string
- type StackCreateDockerSwarmStringParams
- func NewStackCreateDockerSwarmStringParams() *StackCreateDockerSwarmStringParams
- func NewStackCreateDockerSwarmStringParamsWithContext(ctx context.Context) *StackCreateDockerSwarmStringParams
- func NewStackCreateDockerSwarmStringParamsWithHTTPClient(client *http.Client) *StackCreateDockerSwarmStringParams
- func NewStackCreateDockerSwarmStringParamsWithTimeout(timeout time.Duration) *StackCreateDockerSwarmStringParams
- func (o *StackCreateDockerSwarmStringParams) SetBody(body *models.StacksSwarmStackFromFileContentPayload)
- func (o *StackCreateDockerSwarmStringParams) SetContext(ctx context.Context)
- func (o *StackCreateDockerSwarmStringParams) SetDefaults()
- func (o *StackCreateDockerSwarmStringParams) SetEndpointID(endpointID int64)
- func (o *StackCreateDockerSwarmStringParams) SetHTTPClient(client *http.Client)
- func (o *StackCreateDockerSwarmStringParams) SetTimeout(timeout time.Duration)
- func (o *StackCreateDockerSwarmStringParams) WithBody(body *models.StacksSwarmStackFromFileContentPayload) *StackCreateDockerSwarmStringParams
- func (o *StackCreateDockerSwarmStringParams) WithContext(ctx context.Context) *StackCreateDockerSwarmStringParams
- func (o *StackCreateDockerSwarmStringParams) WithDefaults() *StackCreateDockerSwarmStringParams
- func (o *StackCreateDockerSwarmStringParams) WithEndpointID(endpointID int64) *StackCreateDockerSwarmStringParams
- func (o *StackCreateDockerSwarmStringParams) WithHTTPClient(client *http.Client) *StackCreateDockerSwarmStringParams
- func (o *StackCreateDockerSwarmStringParams) WithTimeout(timeout time.Duration) *StackCreateDockerSwarmStringParams
- func (o *StackCreateDockerSwarmStringParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackCreateDockerSwarmStringReader
- type StackCreateKubernetesFileBadRequest
- func (o *StackCreateKubernetesFileBadRequest) Code() int
- func (o *StackCreateKubernetesFileBadRequest) Error() string
- func (o *StackCreateKubernetesFileBadRequest) IsClientError() bool
- func (o *StackCreateKubernetesFileBadRequest) IsCode(code int) bool
- func (o *StackCreateKubernetesFileBadRequest) IsRedirect() bool
- func (o *StackCreateKubernetesFileBadRequest) IsServerError() bool
- func (o *StackCreateKubernetesFileBadRequest) IsSuccess() bool
- func (o *StackCreateKubernetesFileBadRequest) String() string
- type StackCreateKubernetesFileInternalServerError
- func (o *StackCreateKubernetesFileInternalServerError) Code() int
- func (o *StackCreateKubernetesFileInternalServerError) Error() string
- func (o *StackCreateKubernetesFileInternalServerError) IsClientError() bool
- func (o *StackCreateKubernetesFileInternalServerError) IsCode(code int) bool
- func (o *StackCreateKubernetesFileInternalServerError) IsRedirect() bool
- func (o *StackCreateKubernetesFileInternalServerError) IsServerError() bool
- func (o *StackCreateKubernetesFileInternalServerError) IsSuccess() bool
- func (o *StackCreateKubernetesFileInternalServerError) String() string
- type StackCreateKubernetesFileOK
- func (o *StackCreateKubernetesFileOK) Code() int
- func (o *StackCreateKubernetesFileOK) Error() string
- func (o *StackCreateKubernetesFileOK) GetPayload() *models.PortainereeStack
- func (o *StackCreateKubernetesFileOK) IsClientError() bool
- func (o *StackCreateKubernetesFileOK) IsCode(code int) bool
- func (o *StackCreateKubernetesFileOK) IsRedirect() bool
- func (o *StackCreateKubernetesFileOK) IsServerError() bool
- func (o *StackCreateKubernetesFileOK) IsSuccess() bool
- func (o *StackCreateKubernetesFileOK) String() string
- type StackCreateKubernetesFileParams
- func NewStackCreateKubernetesFileParams() *StackCreateKubernetesFileParams
- func NewStackCreateKubernetesFileParamsWithContext(ctx context.Context) *StackCreateKubernetesFileParams
- func NewStackCreateKubernetesFileParamsWithHTTPClient(client *http.Client) *StackCreateKubernetesFileParams
- func NewStackCreateKubernetesFileParamsWithTimeout(timeout time.Duration) *StackCreateKubernetesFileParams
- func (o *StackCreateKubernetesFileParams) SetBody(body *models.StacksKubernetesStringDeploymentPayload)
- func (o *StackCreateKubernetesFileParams) SetContext(ctx context.Context)
- func (o *StackCreateKubernetesFileParams) SetDefaults()
- func (o *StackCreateKubernetesFileParams) SetEndpointID(endpointID int64)
- func (o *StackCreateKubernetesFileParams) SetHTTPClient(client *http.Client)
- func (o *StackCreateKubernetesFileParams) SetTimeout(timeout time.Duration)
- func (o *StackCreateKubernetesFileParams) WithBody(body *models.StacksKubernetesStringDeploymentPayload) *StackCreateKubernetesFileParams
- func (o *StackCreateKubernetesFileParams) WithContext(ctx context.Context) *StackCreateKubernetesFileParams
- func (o *StackCreateKubernetesFileParams) WithDefaults() *StackCreateKubernetesFileParams
- func (o *StackCreateKubernetesFileParams) WithEndpointID(endpointID int64) *StackCreateKubernetesFileParams
- func (o *StackCreateKubernetesFileParams) WithHTTPClient(client *http.Client) *StackCreateKubernetesFileParams
- func (o *StackCreateKubernetesFileParams) WithTimeout(timeout time.Duration) *StackCreateKubernetesFileParams
- func (o *StackCreateKubernetesFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackCreateKubernetesFileReader
- type StackCreateKubernetesGitBadRequest
- func (o *StackCreateKubernetesGitBadRequest) Code() int
- func (o *StackCreateKubernetesGitBadRequest) Error() string
- func (o *StackCreateKubernetesGitBadRequest) IsClientError() bool
- func (o *StackCreateKubernetesGitBadRequest) IsCode(code int) bool
- func (o *StackCreateKubernetesGitBadRequest) IsRedirect() bool
- func (o *StackCreateKubernetesGitBadRequest) IsServerError() bool
- func (o *StackCreateKubernetesGitBadRequest) IsSuccess() bool
- func (o *StackCreateKubernetesGitBadRequest) String() string
- type StackCreateKubernetesGitConflict
- func (o *StackCreateKubernetesGitConflict) Code() int
- func (o *StackCreateKubernetesGitConflict) Error() string
- func (o *StackCreateKubernetesGitConflict) IsClientError() bool
- func (o *StackCreateKubernetesGitConflict) IsCode(code int) bool
- func (o *StackCreateKubernetesGitConflict) IsRedirect() bool
- func (o *StackCreateKubernetesGitConflict) IsServerError() bool
- func (o *StackCreateKubernetesGitConflict) IsSuccess() bool
- func (o *StackCreateKubernetesGitConflict) String() string
- type StackCreateKubernetesGitInternalServerError
- func (o *StackCreateKubernetesGitInternalServerError) Code() int
- func (o *StackCreateKubernetesGitInternalServerError) Error() string
- func (o *StackCreateKubernetesGitInternalServerError) IsClientError() bool
- func (o *StackCreateKubernetesGitInternalServerError) IsCode(code int) bool
- func (o *StackCreateKubernetesGitInternalServerError) IsRedirect() bool
- func (o *StackCreateKubernetesGitInternalServerError) IsServerError() bool
- func (o *StackCreateKubernetesGitInternalServerError) IsSuccess() bool
- func (o *StackCreateKubernetesGitInternalServerError) String() string
- type StackCreateKubernetesGitOK
- func (o *StackCreateKubernetesGitOK) Code() int
- func (o *StackCreateKubernetesGitOK) Error() string
- func (o *StackCreateKubernetesGitOK) GetPayload() *models.PortainereeStack
- func (o *StackCreateKubernetesGitOK) IsClientError() bool
- func (o *StackCreateKubernetesGitOK) IsCode(code int) bool
- func (o *StackCreateKubernetesGitOK) IsRedirect() bool
- func (o *StackCreateKubernetesGitOK) IsServerError() bool
- func (o *StackCreateKubernetesGitOK) IsSuccess() bool
- func (o *StackCreateKubernetesGitOK) String() string
- type StackCreateKubernetesGitParams
- func NewStackCreateKubernetesGitParams() *StackCreateKubernetesGitParams
- func NewStackCreateKubernetesGitParamsWithContext(ctx context.Context) *StackCreateKubernetesGitParams
- func NewStackCreateKubernetesGitParamsWithHTTPClient(client *http.Client) *StackCreateKubernetesGitParams
- func NewStackCreateKubernetesGitParamsWithTimeout(timeout time.Duration) *StackCreateKubernetesGitParams
- func (o *StackCreateKubernetesGitParams) SetBody(body *models.StacksKubernetesGitDeploymentPayload)
- func (o *StackCreateKubernetesGitParams) SetContext(ctx context.Context)
- func (o *StackCreateKubernetesGitParams) SetDefaults()
- func (o *StackCreateKubernetesGitParams) SetEndpointID(endpointID int64)
- func (o *StackCreateKubernetesGitParams) SetHTTPClient(client *http.Client)
- func (o *StackCreateKubernetesGitParams) SetTimeout(timeout time.Duration)
- func (o *StackCreateKubernetesGitParams) WithBody(body *models.StacksKubernetesGitDeploymentPayload) *StackCreateKubernetesGitParams
- func (o *StackCreateKubernetesGitParams) WithContext(ctx context.Context) *StackCreateKubernetesGitParams
- func (o *StackCreateKubernetesGitParams) WithDefaults() *StackCreateKubernetesGitParams
- func (o *StackCreateKubernetesGitParams) WithEndpointID(endpointID int64) *StackCreateKubernetesGitParams
- func (o *StackCreateKubernetesGitParams) WithHTTPClient(client *http.Client) *StackCreateKubernetesGitParams
- func (o *StackCreateKubernetesGitParams) WithTimeout(timeout time.Duration) *StackCreateKubernetesGitParams
- func (o *StackCreateKubernetesGitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackCreateKubernetesGitReader
- type StackCreateKubernetesURLBadRequest
- func (o *StackCreateKubernetesURLBadRequest) Code() int
- func (o *StackCreateKubernetesURLBadRequest) Error() string
- func (o *StackCreateKubernetesURLBadRequest) IsClientError() bool
- func (o *StackCreateKubernetesURLBadRequest) IsCode(code int) bool
- func (o *StackCreateKubernetesURLBadRequest) IsRedirect() bool
- func (o *StackCreateKubernetesURLBadRequest) IsServerError() bool
- func (o *StackCreateKubernetesURLBadRequest) IsSuccess() bool
- func (o *StackCreateKubernetesURLBadRequest) String() string
- type StackCreateKubernetesURLInternalServerError
- func (o *StackCreateKubernetesURLInternalServerError) Code() int
- func (o *StackCreateKubernetesURLInternalServerError) Error() string
- func (o *StackCreateKubernetesURLInternalServerError) IsClientError() bool
- func (o *StackCreateKubernetesURLInternalServerError) IsCode(code int) bool
- func (o *StackCreateKubernetesURLInternalServerError) IsRedirect() bool
- func (o *StackCreateKubernetesURLInternalServerError) IsServerError() bool
- func (o *StackCreateKubernetesURLInternalServerError) IsSuccess() bool
- func (o *StackCreateKubernetesURLInternalServerError) String() string
- type StackCreateKubernetesURLOK
- func (o *StackCreateKubernetesURLOK) Code() int
- func (o *StackCreateKubernetesURLOK) Error() string
- func (o *StackCreateKubernetesURLOK) GetPayload() *models.PortainereeStack
- func (o *StackCreateKubernetesURLOK) IsClientError() bool
- func (o *StackCreateKubernetesURLOK) IsCode(code int) bool
- func (o *StackCreateKubernetesURLOK) IsRedirect() bool
- func (o *StackCreateKubernetesURLOK) IsServerError() bool
- func (o *StackCreateKubernetesURLOK) IsSuccess() bool
- func (o *StackCreateKubernetesURLOK) String() string
- type StackCreateKubernetesURLParams
- func NewStackCreateKubernetesURLParams() *StackCreateKubernetesURLParams
- func NewStackCreateKubernetesURLParamsWithContext(ctx context.Context) *StackCreateKubernetesURLParams
- func NewStackCreateKubernetesURLParamsWithHTTPClient(client *http.Client) *StackCreateKubernetesURLParams
- func NewStackCreateKubernetesURLParamsWithTimeout(timeout time.Duration) *StackCreateKubernetesURLParams
- func (o *StackCreateKubernetesURLParams) SetBody(body *models.StacksKubernetesManifestURLDeploymentPayload)
- func (o *StackCreateKubernetesURLParams) SetContext(ctx context.Context)
- func (o *StackCreateKubernetesURLParams) SetDefaults()
- func (o *StackCreateKubernetesURLParams) SetEndpointID(endpointID int64)
- func (o *StackCreateKubernetesURLParams) SetHTTPClient(client *http.Client)
- func (o *StackCreateKubernetesURLParams) SetTimeout(timeout time.Duration)
- func (o *StackCreateKubernetesURLParams) WithBody(body *models.StacksKubernetesManifestURLDeploymentPayload) *StackCreateKubernetesURLParams
- func (o *StackCreateKubernetesURLParams) WithContext(ctx context.Context) *StackCreateKubernetesURLParams
- func (o *StackCreateKubernetesURLParams) WithDefaults() *StackCreateKubernetesURLParams
- func (o *StackCreateKubernetesURLParams) WithEndpointID(endpointID int64) *StackCreateKubernetesURLParams
- func (o *StackCreateKubernetesURLParams) WithHTTPClient(client *http.Client) *StackCreateKubernetesURLParams
- func (o *StackCreateKubernetesURLParams) WithTimeout(timeout time.Duration) *StackCreateKubernetesURLParams
- func (o *StackCreateKubernetesURLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackCreateKubernetesURLReader
- type StackDeleteBadRequest
- func (o *StackDeleteBadRequest) Code() int
- func (o *StackDeleteBadRequest) Error() string
- func (o *StackDeleteBadRequest) IsClientError() bool
- func (o *StackDeleteBadRequest) IsCode(code int) bool
- func (o *StackDeleteBadRequest) IsRedirect() bool
- func (o *StackDeleteBadRequest) IsServerError() bool
- func (o *StackDeleteBadRequest) IsSuccess() bool
- func (o *StackDeleteBadRequest) String() string
- type StackDeleteForbidden
- func (o *StackDeleteForbidden) Code() int
- func (o *StackDeleteForbidden) Error() string
- func (o *StackDeleteForbidden) IsClientError() bool
- func (o *StackDeleteForbidden) IsCode(code int) bool
- func (o *StackDeleteForbidden) IsRedirect() bool
- func (o *StackDeleteForbidden) IsServerError() bool
- func (o *StackDeleteForbidden) IsSuccess() bool
- func (o *StackDeleteForbidden) String() string
- type StackDeleteInternalServerError
- func (o *StackDeleteInternalServerError) Code() int
- func (o *StackDeleteInternalServerError) Error() string
- func (o *StackDeleteInternalServerError) IsClientError() bool
- func (o *StackDeleteInternalServerError) IsCode(code int) bool
- func (o *StackDeleteInternalServerError) IsRedirect() bool
- func (o *StackDeleteInternalServerError) IsServerError() bool
- func (o *StackDeleteInternalServerError) IsSuccess() bool
- func (o *StackDeleteInternalServerError) String() string
- type StackDeleteKubernetesByNameBadRequest
- func (o *StackDeleteKubernetesByNameBadRequest) Code() int
- func (o *StackDeleteKubernetesByNameBadRequest) Error() string
- func (o *StackDeleteKubernetesByNameBadRequest) IsClientError() bool
- func (o *StackDeleteKubernetesByNameBadRequest) IsCode(code int) bool
- func (o *StackDeleteKubernetesByNameBadRequest) IsRedirect() bool
- func (o *StackDeleteKubernetesByNameBadRequest) IsServerError() bool
- func (o *StackDeleteKubernetesByNameBadRequest) IsSuccess() bool
- func (o *StackDeleteKubernetesByNameBadRequest) String() string
- type StackDeleteKubernetesByNameForbidden
- func (o *StackDeleteKubernetesByNameForbidden) Code() int
- func (o *StackDeleteKubernetesByNameForbidden) Error() string
- func (o *StackDeleteKubernetesByNameForbidden) IsClientError() bool
- func (o *StackDeleteKubernetesByNameForbidden) IsCode(code int) bool
- func (o *StackDeleteKubernetesByNameForbidden) IsRedirect() bool
- func (o *StackDeleteKubernetesByNameForbidden) IsServerError() bool
- func (o *StackDeleteKubernetesByNameForbidden) IsSuccess() bool
- func (o *StackDeleteKubernetesByNameForbidden) String() string
- type StackDeleteKubernetesByNameInternalServerError
- func (o *StackDeleteKubernetesByNameInternalServerError) Code() int
- func (o *StackDeleteKubernetesByNameInternalServerError) Error() string
- func (o *StackDeleteKubernetesByNameInternalServerError) IsClientError() bool
- func (o *StackDeleteKubernetesByNameInternalServerError) IsCode(code int) bool
- func (o *StackDeleteKubernetesByNameInternalServerError) IsRedirect() bool
- func (o *StackDeleteKubernetesByNameInternalServerError) IsServerError() bool
- func (o *StackDeleteKubernetesByNameInternalServerError) IsSuccess() bool
- func (o *StackDeleteKubernetesByNameInternalServerError) String() string
- type StackDeleteKubernetesByNameNoContent
- func (o *StackDeleteKubernetesByNameNoContent) Code() int
- func (o *StackDeleteKubernetesByNameNoContent) Error() string
- func (o *StackDeleteKubernetesByNameNoContent) IsClientError() bool
- func (o *StackDeleteKubernetesByNameNoContent) IsCode(code int) bool
- func (o *StackDeleteKubernetesByNameNoContent) IsRedirect() bool
- func (o *StackDeleteKubernetesByNameNoContent) IsServerError() bool
- func (o *StackDeleteKubernetesByNameNoContent) IsSuccess() bool
- func (o *StackDeleteKubernetesByNameNoContent) String() string
- type StackDeleteKubernetesByNameNotFound
- func (o *StackDeleteKubernetesByNameNotFound) Code() int
- func (o *StackDeleteKubernetesByNameNotFound) Error() string
- func (o *StackDeleteKubernetesByNameNotFound) IsClientError() bool
- func (o *StackDeleteKubernetesByNameNotFound) IsCode(code int) bool
- func (o *StackDeleteKubernetesByNameNotFound) IsRedirect() bool
- func (o *StackDeleteKubernetesByNameNotFound) IsServerError() bool
- func (o *StackDeleteKubernetesByNameNotFound) IsSuccess() bool
- func (o *StackDeleteKubernetesByNameNotFound) String() string
- type StackDeleteKubernetesByNameParams
- func NewStackDeleteKubernetesByNameParams() *StackDeleteKubernetesByNameParams
- func NewStackDeleteKubernetesByNameParamsWithContext(ctx context.Context) *StackDeleteKubernetesByNameParams
- func NewStackDeleteKubernetesByNameParamsWithHTTPClient(client *http.Client) *StackDeleteKubernetesByNameParams
- func NewStackDeleteKubernetesByNameParamsWithTimeout(timeout time.Duration) *StackDeleteKubernetesByNameParams
- func (o *StackDeleteKubernetesByNameParams) SetContext(ctx context.Context)
- func (o *StackDeleteKubernetesByNameParams) SetDefaults()
- func (o *StackDeleteKubernetesByNameParams) SetEndpointID(endpointID int64)
- func (o *StackDeleteKubernetesByNameParams) SetExternal(external *bool)
- func (o *StackDeleteKubernetesByNameParams) SetHTTPClient(client *http.Client)
- func (o *StackDeleteKubernetesByNameParams) SetName(name string)
- func (o *StackDeleteKubernetesByNameParams) SetTimeout(timeout time.Duration)
- func (o *StackDeleteKubernetesByNameParams) WithContext(ctx context.Context) *StackDeleteKubernetesByNameParams
- func (o *StackDeleteKubernetesByNameParams) WithDefaults() *StackDeleteKubernetesByNameParams
- func (o *StackDeleteKubernetesByNameParams) WithEndpointID(endpointID int64) *StackDeleteKubernetesByNameParams
- func (o *StackDeleteKubernetesByNameParams) WithExternal(external *bool) *StackDeleteKubernetesByNameParams
- func (o *StackDeleteKubernetesByNameParams) WithHTTPClient(client *http.Client) *StackDeleteKubernetesByNameParams
- func (o *StackDeleteKubernetesByNameParams) WithName(name string) *StackDeleteKubernetesByNameParams
- func (o *StackDeleteKubernetesByNameParams) WithTimeout(timeout time.Duration) *StackDeleteKubernetesByNameParams
- func (o *StackDeleteKubernetesByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackDeleteKubernetesByNameReader
- type StackDeleteNoContent
- func (o *StackDeleteNoContent) Code() int
- func (o *StackDeleteNoContent) Error() string
- func (o *StackDeleteNoContent) IsClientError() bool
- func (o *StackDeleteNoContent) IsCode(code int) bool
- func (o *StackDeleteNoContent) IsRedirect() bool
- func (o *StackDeleteNoContent) IsServerError() bool
- func (o *StackDeleteNoContent) IsSuccess() bool
- func (o *StackDeleteNoContent) String() string
- type StackDeleteNotFound
- func (o *StackDeleteNotFound) Code() int
- func (o *StackDeleteNotFound) Error() string
- func (o *StackDeleteNotFound) IsClientError() bool
- func (o *StackDeleteNotFound) IsCode(code int) bool
- func (o *StackDeleteNotFound) IsRedirect() bool
- func (o *StackDeleteNotFound) IsServerError() bool
- func (o *StackDeleteNotFound) IsSuccess() bool
- func (o *StackDeleteNotFound) String() string
- type StackDeleteParams
- func (o *StackDeleteParams) SetContext(ctx context.Context)
- func (o *StackDeleteParams) SetDefaults()
- func (o *StackDeleteParams) SetEndpointID(endpointID int64)
- func (o *StackDeleteParams) SetExternal(external *bool)
- func (o *StackDeleteParams) SetHTTPClient(client *http.Client)
- func (o *StackDeleteParams) SetID(id int64)
- func (o *StackDeleteParams) SetRemoveVolumes(removeVolumes *bool)
- func (o *StackDeleteParams) SetTimeout(timeout time.Duration)
- func (o *StackDeleteParams) WithContext(ctx context.Context) *StackDeleteParams
- func (o *StackDeleteParams) WithDefaults() *StackDeleteParams
- func (o *StackDeleteParams) WithEndpointID(endpointID int64) *StackDeleteParams
- func (o *StackDeleteParams) WithExternal(external *bool) *StackDeleteParams
- func (o *StackDeleteParams) WithHTTPClient(client *http.Client) *StackDeleteParams
- func (o *StackDeleteParams) WithID(id int64) *StackDeleteParams
- func (o *StackDeleteParams) WithRemoveVolumes(removeVolumes *bool) *StackDeleteParams
- func (o *StackDeleteParams) WithTimeout(timeout time.Duration) *StackDeleteParams
- func (o *StackDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackDeleteReader
- type StackFileInspectBadRequest
- func (o *StackFileInspectBadRequest) Code() int
- func (o *StackFileInspectBadRequest) Error() string
- func (o *StackFileInspectBadRequest) IsClientError() bool
- func (o *StackFileInspectBadRequest) IsCode(code int) bool
- func (o *StackFileInspectBadRequest) IsRedirect() bool
- func (o *StackFileInspectBadRequest) IsServerError() bool
- func (o *StackFileInspectBadRequest) IsSuccess() bool
- func (o *StackFileInspectBadRequest) String() string
- type StackFileInspectForbidden
- func (o *StackFileInspectForbidden) Code() int
- func (o *StackFileInspectForbidden) Error() string
- func (o *StackFileInspectForbidden) IsClientError() bool
- func (o *StackFileInspectForbidden) IsCode(code int) bool
- func (o *StackFileInspectForbidden) IsRedirect() bool
- func (o *StackFileInspectForbidden) IsServerError() bool
- func (o *StackFileInspectForbidden) IsSuccess() bool
- func (o *StackFileInspectForbidden) String() string
- type StackFileInspectInternalServerError
- func (o *StackFileInspectInternalServerError) Code() int
- func (o *StackFileInspectInternalServerError) Error() string
- func (o *StackFileInspectInternalServerError) IsClientError() bool
- func (o *StackFileInspectInternalServerError) IsCode(code int) bool
- func (o *StackFileInspectInternalServerError) IsRedirect() bool
- func (o *StackFileInspectInternalServerError) IsServerError() bool
- func (o *StackFileInspectInternalServerError) IsSuccess() bool
- func (o *StackFileInspectInternalServerError) String() string
- type StackFileInspectNotFound
- func (o *StackFileInspectNotFound) Code() int
- func (o *StackFileInspectNotFound) Error() string
- func (o *StackFileInspectNotFound) IsClientError() bool
- func (o *StackFileInspectNotFound) IsCode(code int) bool
- func (o *StackFileInspectNotFound) IsRedirect() bool
- func (o *StackFileInspectNotFound) IsServerError() bool
- func (o *StackFileInspectNotFound) IsSuccess() bool
- func (o *StackFileInspectNotFound) String() string
- type StackFileInspectOK
- func (o *StackFileInspectOK) Code() int
- func (o *StackFileInspectOK) Error() string
- func (o *StackFileInspectOK) GetPayload() *models.StacksStackFileResponse
- func (o *StackFileInspectOK) IsClientError() bool
- func (o *StackFileInspectOK) IsCode(code int) bool
- func (o *StackFileInspectOK) IsRedirect() bool
- func (o *StackFileInspectOK) IsServerError() bool
- func (o *StackFileInspectOK) IsSuccess() bool
- func (o *StackFileInspectOK) String() string
- type StackFileInspectParams
- func NewStackFileInspectParams() *StackFileInspectParams
- func NewStackFileInspectParamsWithContext(ctx context.Context) *StackFileInspectParams
- func NewStackFileInspectParamsWithHTTPClient(client *http.Client) *StackFileInspectParams
- func NewStackFileInspectParamsWithTimeout(timeout time.Duration) *StackFileInspectParams
- func (o *StackFileInspectParams) SetCommitHash(commitHash *string)
- func (o *StackFileInspectParams) SetContext(ctx context.Context)
- func (o *StackFileInspectParams) SetDefaults()
- func (o *StackFileInspectParams) SetHTTPClient(client *http.Client)
- func (o *StackFileInspectParams) SetID(id int64)
- func (o *StackFileInspectParams) SetTimeout(timeout time.Duration)
- func (o *StackFileInspectParams) SetVersion(version *int64)
- func (o *StackFileInspectParams) WithCommitHash(commitHash *string) *StackFileInspectParams
- func (o *StackFileInspectParams) WithContext(ctx context.Context) *StackFileInspectParams
- func (o *StackFileInspectParams) WithDefaults() *StackFileInspectParams
- func (o *StackFileInspectParams) WithHTTPClient(client *http.Client) *StackFileInspectParams
- func (o *StackFileInspectParams) WithID(id int64) *StackFileInspectParams
- func (o *StackFileInspectParams) WithTimeout(timeout time.Duration) *StackFileInspectParams
- func (o *StackFileInspectParams) WithVersion(version *int64) *StackFileInspectParams
- func (o *StackFileInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackFileInspectReader
- type StackGitRedeployBadRequest
- func (o *StackGitRedeployBadRequest) Code() int
- func (o *StackGitRedeployBadRequest) Error() string
- func (o *StackGitRedeployBadRequest) IsClientError() bool
- func (o *StackGitRedeployBadRequest) IsCode(code int) bool
- func (o *StackGitRedeployBadRequest) IsRedirect() bool
- func (o *StackGitRedeployBadRequest) IsServerError() bool
- func (o *StackGitRedeployBadRequest) IsSuccess() bool
- func (o *StackGitRedeployBadRequest) String() string
- type StackGitRedeployForbidden
- func (o *StackGitRedeployForbidden) Code() int
- func (o *StackGitRedeployForbidden) Error() string
- func (o *StackGitRedeployForbidden) IsClientError() bool
- func (o *StackGitRedeployForbidden) IsCode(code int) bool
- func (o *StackGitRedeployForbidden) IsRedirect() bool
- func (o *StackGitRedeployForbidden) IsServerError() bool
- func (o *StackGitRedeployForbidden) IsSuccess() bool
- func (o *StackGitRedeployForbidden) String() string
- type StackGitRedeployInternalServerError
- func (o *StackGitRedeployInternalServerError) Code() int
- func (o *StackGitRedeployInternalServerError) Error() string
- func (o *StackGitRedeployInternalServerError) IsClientError() bool
- func (o *StackGitRedeployInternalServerError) IsCode(code int) bool
- func (o *StackGitRedeployInternalServerError) IsRedirect() bool
- func (o *StackGitRedeployInternalServerError) IsServerError() bool
- func (o *StackGitRedeployInternalServerError) IsSuccess() bool
- func (o *StackGitRedeployInternalServerError) String() string
- type StackGitRedeployNotFound
- func (o *StackGitRedeployNotFound) Code() int
- func (o *StackGitRedeployNotFound) Error() string
- func (o *StackGitRedeployNotFound) IsClientError() bool
- func (o *StackGitRedeployNotFound) IsCode(code int) bool
- func (o *StackGitRedeployNotFound) IsRedirect() bool
- func (o *StackGitRedeployNotFound) IsServerError() bool
- func (o *StackGitRedeployNotFound) IsSuccess() bool
- func (o *StackGitRedeployNotFound) String() string
- type StackGitRedeployOK
- func (o *StackGitRedeployOK) Code() int
- func (o *StackGitRedeployOK) Error() string
- func (o *StackGitRedeployOK) GetPayload() *models.PortainereeStack
- func (o *StackGitRedeployOK) IsClientError() bool
- func (o *StackGitRedeployOK) IsCode(code int) bool
- func (o *StackGitRedeployOK) IsRedirect() bool
- func (o *StackGitRedeployOK) IsServerError() bool
- func (o *StackGitRedeployOK) IsSuccess() bool
- func (o *StackGitRedeployOK) String() string
- type StackGitRedeployParams
- func NewStackGitRedeployParams() *StackGitRedeployParams
- func NewStackGitRedeployParamsWithContext(ctx context.Context) *StackGitRedeployParams
- func NewStackGitRedeployParamsWithHTTPClient(client *http.Client) *StackGitRedeployParams
- func NewStackGitRedeployParamsWithTimeout(timeout time.Duration) *StackGitRedeployParams
- func (o *StackGitRedeployParams) SetBody(body *models.StacksStackGitRedployPayload)
- func (o *StackGitRedeployParams) SetContext(ctx context.Context)
- func (o *StackGitRedeployParams) SetDefaults()
- func (o *StackGitRedeployParams) SetEndpointID(endpointID *int64)
- func (o *StackGitRedeployParams) SetHTTPClient(client *http.Client)
- func (o *StackGitRedeployParams) SetID(id int64)
- func (o *StackGitRedeployParams) SetTimeout(timeout time.Duration)
- func (o *StackGitRedeployParams) WithBody(body *models.StacksStackGitRedployPayload) *StackGitRedeployParams
- func (o *StackGitRedeployParams) WithContext(ctx context.Context) *StackGitRedeployParams
- func (o *StackGitRedeployParams) WithDefaults() *StackGitRedeployParams
- func (o *StackGitRedeployParams) WithEndpointID(endpointID *int64) *StackGitRedeployParams
- func (o *StackGitRedeployParams) WithHTTPClient(client *http.Client) *StackGitRedeployParams
- func (o *StackGitRedeployParams) WithID(id int64) *StackGitRedeployParams
- func (o *StackGitRedeployParams) WithTimeout(timeout time.Duration) *StackGitRedeployParams
- func (o *StackGitRedeployParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackGitRedeployReader
- type StackImagesStatusBadRequest
- func (o *StackImagesStatusBadRequest) Code() int
- func (o *StackImagesStatusBadRequest) Error() string
- func (o *StackImagesStatusBadRequest) IsClientError() bool
- func (o *StackImagesStatusBadRequest) IsCode(code int) bool
- func (o *StackImagesStatusBadRequest) IsRedirect() bool
- func (o *StackImagesStatusBadRequest) IsServerError() bool
- func (o *StackImagesStatusBadRequest) IsSuccess() bool
- func (o *StackImagesStatusBadRequest) String() string
- type StackImagesStatusInternalServerError
- func (o *StackImagesStatusInternalServerError) Code() int
- func (o *StackImagesStatusInternalServerError) Error() string
- func (o *StackImagesStatusInternalServerError) IsClientError() bool
- func (o *StackImagesStatusInternalServerError) IsCode(code int) bool
- func (o *StackImagesStatusInternalServerError) IsRedirect() bool
- func (o *StackImagesStatusInternalServerError) IsServerError() bool
- func (o *StackImagesStatusInternalServerError) IsSuccess() bool
- func (o *StackImagesStatusInternalServerError) String() string
- type StackImagesStatusOK
- func (o *StackImagesStatusOK) Code() int
- func (o *StackImagesStatusOK) Error() string
- func (o *StackImagesStatusOK) GetPayload() *models.ImagesStatusResponse
- func (o *StackImagesStatusOK) IsClientError() bool
- func (o *StackImagesStatusOK) IsCode(code int) bool
- func (o *StackImagesStatusOK) IsRedirect() bool
- func (o *StackImagesStatusOK) IsServerError() bool
- func (o *StackImagesStatusOK) IsSuccess() bool
- func (o *StackImagesStatusOK) String() string
- type StackImagesStatusParams
- func NewStackImagesStatusParams() *StackImagesStatusParams
- func NewStackImagesStatusParamsWithContext(ctx context.Context) *StackImagesStatusParams
- func NewStackImagesStatusParamsWithHTTPClient(client *http.Client) *StackImagesStatusParams
- func NewStackImagesStatusParamsWithTimeout(timeout time.Duration) *StackImagesStatusParams
- func (o *StackImagesStatusParams) SetContext(ctx context.Context)
- func (o *StackImagesStatusParams) SetDefaults()
- func (o *StackImagesStatusParams) SetHTTPClient(client *http.Client)
- func (o *StackImagesStatusParams) SetID(id int64)
- func (o *StackImagesStatusParams) SetRefresh(refresh *bool)
- func (o *StackImagesStatusParams) SetTimeout(timeout time.Duration)
- func (o *StackImagesStatusParams) WithContext(ctx context.Context) *StackImagesStatusParams
- func (o *StackImagesStatusParams) WithDefaults() *StackImagesStatusParams
- func (o *StackImagesStatusParams) WithHTTPClient(client *http.Client) *StackImagesStatusParams
- func (o *StackImagesStatusParams) WithID(id int64) *StackImagesStatusParams
- func (o *StackImagesStatusParams) WithRefresh(refresh *bool) *StackImagesStatusParams
- func (o *StackImagesStatusParams) WithTimeout(timeout time.Duration) *StackImagesStatusParams
- func (o *StackImagesStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackImagesStatusReader
- type StackInspectBadRequest
- func (o *StackInspectBadRequest) Code() int
- func (o *StackInspectBadRequest) Error() string
- func (o *StackInspectBadRequest) IsClientError() bool
- func (o *StackInspectBadRequest) IsCode(code int) bool
- func (o *StackInspectBadRequest) IsRedirect() bool
- func (o *StackInspectBadRequest) IsServerError() bool
- func (o *StackInspectBadRequest) IsSuccess() bool
- func (o *StackInspectBadRequest) String() string
- type StackInspectForbidden
- func (o *StackInspectForbidden) Code() int
- func (o *StackInspectForbidden) Error() string
- func (o *StackInspectForbidden) IsClientError() bool
- func (o *StackInspectForbidden) IsCode(code int) bool
- func (o *StackInspectForbidden) IsRedirect() bool
- func (o *StackInspectForbidden) IsServerError() bool
- func (o *StackInspectForbidden) IsSuccess() bool
- func (o *StackInspectForbidden) String() string
- type StackInspectInternalServerError
- func (o *StackInspectInternalServerError) Code() int
- func (o *StackInspectInternalServerError) Error() string
- func (o *StackInspectInternalServerError) IsClientError() bool
- func (o *StackInspectInternalServerError) IsCode(code int) bool
- func (o *StackInspectInternalServerError) IsRedirect() bool
- func (o *StackInspectInternalServerError) IsServerError() bool
- func (o *StackInspectInternalServerError) IsSuccess() bool
- func (o *StackInspectInternalServerError) String() string
- type StackInspectNotFound
- func (o *StackInspectNotFound) Code() int
- func (o *StackInspectNotFound) Error() string
- func (o *StackInspectNotFound) IsClientError() bool
- func (o *StackInspectNotFound) IsCode(code int) bool
- func (o *StackInspectNotFound) IsRedirect() bool
- func (o *StackInspectNotFound) IsServerError() bool
- func (o *StackInspectNotFound) IsSuccess() bool
- func (o *StackInspectNotFound) String() string
- type StackInspectOK
- func (o *StackInspectOK) Code() int
- func (o *StackInspectOK) Error() string
- func (o *StackInspectOK) GetPayload() *models.PortainereeStack
- func (o *StackInspectOK) IsClientError() bool
- func (o *StackInspectOK) IsCode(code int) bool
- func (o *StackInspectOK) IsRedirect() bool
- func (o *StackInspectOK) IsServerError() bool
- func (o *StackInspectOK) IsSuccess() bool
- func (o *StackInspectOK) String() string
- type StackInspectParams
- func (o *StackInspectParams) SetContext(ctx context.Context)
- func (o *StackInspectParams) SetDefaults()
- func (o *StackInspectParams) SetHTTPClient(client *http.Client)
- func (o *StackInspectParams) SetID(id int64)
- func (o *StackInspectParams) SetTimeout(timeout time.Duration)
- func (o *StackInspectParams) WithContext(ctx context.Context) *StackInspectParams
- func (o *StackInspectParams) WithDefaults() *StackInspectParams
- func (o *StackInspectParams) WithHTTPClient(client *http.Client) *StackInspectParams
- func (o *StackInspectParams) WithID(id int64) *StackInspectParams
- func (o *StackInspectParams) WithTimeout(timeout time.Duration) *StackInspectParams
- func (o *StackInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackInspectReader
- type StackListBadRequest
- func (o *StackListBadRequest) Code() int
- func (o *StackListBadRequest) Error() string
- func (o *StackListBadRequest) IsClientError() bool
- func (o *StackListBadRequest) IsCode(code int) bool
- func (o *StackListBadRequest) IsRedirect() bool
- func (o *StackListBadRequest) IsServerError() bool
- func (o *StackListBadRequest) IsSuccess() bool
- func (o *StackListBadRequest) String() string
- type StackListInternalServerError
- func (o *StackListInternalServerError) Code() int
- func (o *StackListInternalServerError) Error() string
- func (o *StackListInternalServerError) IsClientError() bool
- func (o *StackListInternalServerError) IsCode(code int) bool
- func (o *StackListInternalServerError) IsRedirect() bool
- func (o *StackListInternalServerError) IsServerError() bool
- func (o *StackListInternalServerError) IsSuccess() bool
- func (o *StackListInternalServerError) String() string
- type StackListNoContent
- func (o *StackListNoContent) Code() int
- func (o *StackListNoContent) Error() string
- func (o *StackListNoContent) IsClientError() bool
- func (o *StackListNoContent) IsCode(code int) bool
- func (o *StackListNoContent) IsRedirect() bool
- func (o *StackListNoContent) IsServerError() bool
- func (o *StackListNoContent) IsSuccess() bool
- func (o *StackListNoContent) String() string
- type StackListOK
- func (o *StackListOK) Code() int
- func (o *StackListOK) Error() string
- func (o *StackListOK) GetPayload() []*models.PortainereeStack
- func (o *StackListOK) IsClientError() bool
- func (o *StackListOK) IsCode(code int) bool
- func (o *StackListOK) IsRedirect() bool
- func (o *StackListOK) IsServerError() bool
- func (o *StackListOK) IsSuccess() bool
- func (o *StackListOK) String() string
- type StackListParams
- func (o *StackListParams) SetContext(ctx context.Context)
- func (o *StackListParams) SetDefaults()
- func (o *StackListParams) SetFilters(filters *string)
- func (o *StackListParams) SetHTTPClient(client *http.Client)
- func (o *StackListParams) SetTimeout(timeout time.Duration)
- func (o *StackListParams) WithContext(ctx context.Context) *StackListParams
- func (o *StackListParams) WithDefaults() *StackListParams
- func (o *StackListParams) WithFilters(filters *string) *StackListParams
- func (o *StackListParams) WithHTTPClient(client *http.Client) *StackListParams
- func (o *StackListParams) WithTimeout(timeout time.Duration) *StackListParams
- func (o *StackListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackListReader
- type StackMigrateBadRequest
- func (o *StackMigrateBadRequest) Code() int
- func (o *StackMigrateBadRequest) Error() string
- func (o *StackMigrateBadRequest) IsClientError() bool
- func (o *StackMigrateBadRequest) IsCode(code int) bool
- func (o *StackMigrateBadRequest) IsRedirect() bool
- func (o *StackMigrateBadRequest) IsServerError() bool
- func (o *StackMigrateBadRequest) IsSuccess() bool
- func (o *StackMigrateBadRequest) String() string
- type StackMigrateConflict
- func (o *StackMigrateConflict) Code() int
- func (o *StackMigrateConflict) Error() string
- func (o *StackMigrateConflict) IsClientError() bool
- func (o *StackMigrateConflict) IsCode(code int) bool
- func (o *StackMigrateConflict) IsRedirect() bool
- func (o *StackMigrateConflict) IsServerError() bool
- func (o *StackMigrateConflict) IsSuccess() bool
- func (o *StackMigrateConflict) String() string
- type StackMigrateForbidden
- func (o *StackMigrateForbidden) Code() int
- func (o *StackMigrateForbidden) Error() string
- func (o *StackMigrateForbidden) IsClientError() bool
- func (o *StackMigrateForbidden) IsCode(code int) bool
- func (o *StackMigrateForbidden) IsRedirect() bool
- func (o *StackMigrateForbidden) IsServerError() bool
- func (o *StackMigrateForbidden) IsSuccess() bool
- func (o *StackMigrateForbidden) String() string
- type StackMigrateInternalServerError
- func (o *StackMigrateInternalServerError) Code() int
- func (o *StackMigrateInternalServerError) Error() string
- func (o *StackMigrateInternalServerError) IsClientError() bool
- func (o *StackMigrateInternalServerError) IsCode(code int) bool
- func (o *StackMigrateInternalServerError) IsRedirect() bool
- func (o *StackMigrateInternalServerError) IsServerError() bool
- func (o *StackMigrateInternalServerError) IsSuccess() bool
- func (o *StackMigrateInternalServerError) String() string
- type StackMigrateNotFound
- func (o *StackMigrateNotFound) Code() int
- func (o *StackMigrateNotFound) Error() string
- func (o *StackMigrateNotFound) IsClientError() bool
- func (o *StackMigrateNotFound) IsCode(code int) bool
- func (o *StackMigrateNotFound) IsRedirect() bool
- func (o *StackMigrateNotFound) IsServerError() bool
- func (o *StackMigrateNotFound) IsSuccess() bool
- func (o *StackMigrateNotFound) String() string
- type StackMigrateOK
- func (o *StackMigrateOK) Code() int
- func (o *StackMigrateOK) Error() string
- func (o *StackMigrateOK) GetPayload() *models.PortainereeStack
- func (o *StackMigrateOK) IsClientError() bool
- func (o *StackMigrateOK) IsCode(code int) bool
- func (o *StackMigrateOK) IsRedirect() bool
- func (o *StackMigrateOK) IsServerError() bool
- func (o *StackMigrateOK) IsSuccess() bool
- func (o *StackMigrateOK) String() string
- type StackMigrateParams
- func (o *StackMigrateParams) SetBody(body *models.StacksStackMigratePayload)
- func (o *StackMigrateParams) SetContext(ctx context.Context)
- func (o *StackMigrateParams) SetDefaults()
- func (o *StackMigrateParams) SetEndpointID(endpointID *int64)
- func (o *StackMigrateParams) SetHTTPClient(client *http.Client)
- func (o *StackMigrateParams) SetID(id int64)
- func (o *StackMigrateParams) SetTimeout(timeout time.Duration)
- func (o *StackMigrateParams) WithBody(body *models.StacksStackMigratePayload) *StackMigrateParams
- func (o *StackMigrateParams) WithContext(ctx context.Context) *StackMigrateParams
- func (o *StackMigrateParams) WithDefaults() *StackMigrateParams
- func (o *StackMigrateParams) WithEndpointID(endpointID *int64) *StackMigrateParams
- func (o *StackMigrateParams) WithHTTPClient(client *http.Client) *StackMigrateParams
- func (o *StackMigrateParams) WithID(id int64) *StackMigrateParams
- func (o *StackMigrateParams) WithTimeout(timeout time.Duration) *StackMigrateParams
- func (o *StackMigrateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackMigrateReader
- type StackStartBadRequest
- func (o *StackStartBadRequest) Code() int
- func (o *StackStartBadRequest) Error() string
- func (o *StackStartBadRequest) IsClientError() bool
- func (o *StackStartBadRequest) IsCode(code int) bool
- func (o *StackStartBadRequest) IsRedirect() bool
- func (o *StackStartBadRequest) IsServerError() bool
- func (o *StackStartBadRequest) IsSuccess() bool
- func (o *StackStartBadRequest) String() string
- type StackStartConflict
- func (o *StackStartConflict) Code() int
- func (o *StackStartConflict) Error() string
- func (o *StackStartConflict) IsClientError() bool
- func (o *StackStartConflict) IsCode(code int) bool
- func (o *StackStartConflict) IsRedirect() bool
- func (o *StackStartConflict) IsServerError() bool
- func (o *StackStartConflict) IsSuccess() bool
- func (o *StackStartConflict) String() string
- type StackStartForbidden
- func (o *StackStartForbidden) Code() int
- func (o *StackStartForbidden) Error() string
- func (o *StackStartForbidden) IsClientError() bool
- func (o *StackStartForbidden) IsCode(code int) bool
- func (o *StackStartForbidden) IsRedirect() bool
- func (o *StackStartForbidden) IsServerError() bool
- func (o *StackStartForbidden) IsSuccess() bool
- func (o *StackStartForbidden) String() string
- type StackStartInternalServerError
- func (o *StackStartInternalServerError) Code() int
- func (o *StackStartInternalServerError) Error() string
- func (o *StackStartInternalServerError) IsClientError() bool
- func (o *StackStartInternalServerError) IsCode(code int) bool
- func (o *StackStartInternalServerError) IsRedirect() bool
- func (o *StackStartInternalServerError) IsServerError() bool
- func (o *StackStartInternalServerError) IsSuccess() bool
- func (o *StackStartInternalServerError) String() string
- type StackStartNotFound
- func (o *StackStartNotFound) Code() int
- func (o *StackStartNotFound) Error() string
- func (o *StackStartNotFound) IsClientError() bool
- func (o *StackStartNotFound) IsCode(code int) bool
- func (o *StackStartNotFound) IsRedirect() bool
- func (o *StackStartNotFound) IsServerError() bool
- func (o *StackStartNotFound) IsSuccess() bool
- func (o *StackStartNotFound) String() string
- type StackStartOK
- func (o *StackStartOK) Code() int
- func (o *StackStartOK) Error() string
- func (o *StackStartOK) GetPayload() *models.PortainereeStack
- func (o *StackStartOK) IsClientError() bool
- func (o *StackStartOK) IsCode(code int) bool
- func (o *StackStartOK) IsRedirect() bool
- func (o *StackStartOK) IsServerError() bool
- func (o *StackStartOK) IsSuccess() bool
- func (o *StackStartOK) String() string
- type StackStartParams
- func (o *StackStartParams) SetContext(ctx context.Context)
- func (o *StackStartParams) SetDefaults()
- func (o *StackStartParams) SetEndpointID(endpointID int64)
- func (o *StackStartParams) SetHTTPClient(client *http.Client)
- func (o *StackStartParams) SetID(id int64)
- func (o *StackStartParams) SetTimeout(timeout time.Duration)
- func (o *StackStartParams) WithContext(ctx context.Context) *StackStartParams
- func (o *StackStartParams) WithDefaults() *StackStartParams
- func (o *StackStartParams) WithEndpointID(endpointID int64) *StackStartParams
- func (o *StackStartParams) WithHTTPClient(client *http.Client) *StackStartParams
- func (o *StackStartParams) WithID(id int64) *StackStartParams
- func (o *StackStartParams) WithTimeout(timeout time.Duration) *StackStartParams
- func (o *StackStartParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackStartReader
- type StackStopBadRequest
- func (o *StackStopBadRequest) Code() int
- func (o *StackStopBadRequest) Error() string
- func (o *StackStopBadRequest) IsClientError() bool
- func (o *StackStopBadRequest) IsCode(code int) bool
- func (o *StackStopBadRequest) IsRedirect() bool
- func (o *StackStopBadRequest) IsServerError() bool
- func (o *StackStopBadRequest) IsSuccess() bool
- func (o *StackStopBadRequest) String() string
- type StackStopForbidden
- func (o *StackStopForbidden) Code() int
- func (o *StackStopForbidden) Error() string
- func (o *StackStopForbidden) IsClientError() bool
- func (o *StackStopForbidden) IsCode(code int) bool
- func (o *StackStopForbidden) IsRedirect() bool
- func (o *StackStopForbidden) IsServerError() bool
- func (o *StackStopForbidden) IsSuccess() bool
- func (o *StackStopForbidden) String() string
- type StackStopInternalServerError
- func (o *StackStopInternalServerError) Code() int
- func (o *StackStopInternalServerError) Error() string
- func (o *StackStopInternalServerError) IsClientError() bool
- func (o *StackStopInternalServerError) IsCode(code int) bool
- func (o *StackStopInternalServerError) IsRedirect() bool
- func (o *StackStopInternalServerError) IsServerError() bool
- func (o *StackStopInternalServerError) IsSuccess() bool
- func (o *StackStopInternalServerError) String() string
- type StackStopNotFound
- func (o *StackStopNotFound) Code() int
- func (o *StackStopNotFound) Error() string
- func (o *StackStopNotFound) IsClientError() bool
- func (o *StackStopNotFound) IsCode(code int) bool
- func (o *StackStopNotFound) IsRedirect() bool
- func (o *StackStopNotFound) IsServerError() bool
- func (o *StackStopNotFound) IsSuccess() bool
- func (o *StackStopNotFound) String() string
- type StackStopOK
- func (o *StackStopOK) Code() int
- func (o *StackStopOK) Error() string
- func (o *StackStopOK) GetPayload() *models.PortainereeStack
- func (o *StackStopOK) IsClientError() bool
- func (o *StackStopOK) IsCode(code int) bool
- func (o *StackStopOK) IsRedirect() bool
- func (o *StackStopOK) IsServerError() bool
- func (o *StackStopOK) IsSuccess() bool
- func (o *StackStopOK) String() string
- type StackStopParams
- func (o *StackStopParams) SetContext(ctx context.Context)
- func (o *StackStopParams) SetDefaults()
- func (o *StackStopParams) SetEndpointID(endpointID int64)
- func (o *StackStopParams) SetHTTPClient(client *http.Client)
- func (o *StackStopParams) SetID(id int64)
- func (o *StackStopParams) SetTimeout(timeout time.Duration)
- func (o *StackStopParams) WithContext(ctx context.Context) *StackStopParams
- func (o *StackStopParams) WithDefaults() *StackStopParams
- func (o *StackStopParams) WithEndpointID(endpointID int64) *StackStopParams
- func (o *StackStopParams) WithHTTPClient(client *http.Client) *StackStopParams
- func (o *StackStopParams) WithID(id int64) *StackStopParams
- func (o *StackStopParams) WithTimeout(timeout time.Duration) *StackStopParams
- func (o *StackStopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackStopReader
- type StackUpdateBadRequest
- func (o *StackUpdateBadRequest) Code() int
- func (o *StackUpdateBadRequest) Error() string
- func (o *StackUpdateBadRequest) IsClientError() bool
- func (o *StackUpdateBadRequest) IsCode(code int) bool
- func (o *StackUpdateBadRequest) IsRedirect() bool
- func (o *StackUpdateBadRequest) IsServerError() bool
- func (o *StackUpdateBadRequest) IsSuccess() bool
- func (o *StackUpdateBadRequest) String() string
- type StackUpdateForbidden
- func (o *StackUpdateForbidden) Code() int
- func (o *StackUpdateForbidden) Error() string
- func (o *StackUpdateForbidden) IsClientError() bool
- func (o *StackUpdateForbidden) IsCode(code int) bool
- func (o *StackUpdateForbidden) IsRedirect() bool
- func (o *StackUpdateForbidden) IsServerError() bool
- func (o *StackUpdateForbidden) IsSuccess() bool
- func (o *StackUpdateForbidden) String() string
- type StackUpdateGitBadRequest
- func (o *StackUpdateGitBadRequest) Code() int
- func (o *StackUpdateGitBadRequest) Error() string
- func (o *StackUpdateGitBadRequest) IsClientError() bool
- func (o *StackUpdateGitBadRequest) IsCode(code int) bool
- func (o *StackUpdateGitBadRequest) IsRedirect() bool
- func (o *StackUpdateGitBadRequest) IsServerError() bool
- func (o *StackUpdateGitBadRequest) IsSuccess() bool
- func (o *StackUpdateGitBadRequest) String() string
- type StackUpdateGitForbidden
- func (o *StackUpdateGitForbidden) Code() int
- func (o *StackUpdateGitForbidden) Error() string
- func (o *StackUpdateGitForbidden) IsClientError() bool
- func (o *StackUpdateGitForbidden) IsCode(code int) bool
- func (o *StackUpdateGitForbidden) IsRedirect() bool
- func (o *StackUpdateGitForbidden) IsServerError() bool
- func (o *StackUpdateGitForbidden) IsSuccess() bool
- func (o *StackUpdateGitForbidden) String() string
- type StackUpdateGitInternalServerError
- func (o *StackUpdateGitInternalServerError) Code() int
- func (o *StackUpdateGitInternalServerError) Error() string
- func (o *StackUpdateGitInternalServerError) IsClientError() bool
- func (o *StackUpdateGitInternalServerError) IsCode(code int) bool
- func (o *StackUpdateGitInternalServerError) IsRedirect() bool
- func (o *StackUpdateGitInternalServerError) IsServerError() bool
- func (o *StackUpdateGitInternalServerError) IsSuccess() bool
- func (o *StackUpdateGitInternalServerError) String() string
- type StackUpdateGitNotFound
- func (o *StackUpdateGitNotFound) Code() int
- func (o *StackUpdateGitNotFound) Error() string
- func (o *StackUpdateGitNotFound) IsClientError() bool
- func (o *StackUpdateGitNotFound) IsCode(code int) bool
- func (o *StackUpdateGitNotFound) IsRedirect() bool
- func (o *StackUpdateGitNotFound) IsServerError() bool
- func (o *StackUpdateGitNotFound) IsSuccess() bool
- func (o *StackUpdateGitNotFound) String() string
- type StackUpdateGitOK
- func (o *StackUpdateGitOK) Code() int
- func (o *StackUpdateGitOK) Error() string
- func (o *StackUpdateGitOK) GetPayload() *models.PortainereeStack
- func (o *StackUpdateGitOK) IsClientError() bool
- func (o *StackUpdateGitOK) IsCode(code int) bool
- func (o *StackUpdateGitOK) IsRedirect() bool
- func (o *StackUpdateGitOK) IsServerError() bool
- func (o *StackUpdateGitOK) IsSuccess() bool
- func (o *StackUpdateGitOK) String() string
- type StackUpdateGitParams
- func NewStackUpdateGitParams() *StackUpdateGitParams
- func NewStackUpdateGitParamsWithContext(ctx context.Context) *StackUpdateGitParams
- func NewStackUpdateGitParamsWithHTTPClient(client *http.Client) *StackUpdateGitParams
- func NewStackUpdateGitParamsWithTimeout(timeout time.Duration) *StackUpdateGitParams
- func (o *StackUpdateGitParams) SetBody(body *models.StacksStackGitUpdatePayload)
- func (o *StackUpdateGitParams) SetContext(ctx context.Context)
- func (o *StackUpdateGitParams) SetDefaults()
- func (o *StackUpdateGitParams) SetEndpointID(endpointID *int64)
- func (o *StackUpdateGitParams) SetHTTPClient(client *http.Client)
- func (o *StackUpdateGitParams) SetID(id int64)
- func (o *StackUpdateGitParams) SetTimeout(timeout time.Duration)
- func (o *StackUpdateGitParams) WithBody(body *models.StacksStackGitUpdatePayload) *StackUpdateGitParams
- func (o *StackUpdateGitParams) WithContext(ctx context.Context) *StackUpdateGitParams
- func (o *StackUpdateGitParams) WithDefaults() *StackUpdateGitParams
- func (o *StackUpdateGitParams) WithEndpointID(endpointID *int64) *StackUpdateGitParams
- func (o *StackUpdateGitParams) WithHTTPClient(client *http.Client) *StackUpdateGitParams
- func (o *StackUpdateGitParams) WithID(id int64) *StackUpdateGitParams
- func (o *StackUpdateGitParams) WithTimeout(timeout time.Duration) *StackUpdateGitParams
- func (o *StackUpdateGitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackUpdateGitReader
- type StackUpdateInternalServerError
- func (o *StackUpdateInternalServerError) Code() int
- func (o *StackUpdateInternalServerError) Error() string
- func (o *StackUpdateInternalServerError) IsClientError() bool
- func (o *StackUpdateInternalServerError) IsCode(code int) bool
- func (o *StackUpdateInternalServerError) IsRedirect() bool
- func (o *StackUpdateInternalServerError) IsServerError() bool
- func (o *StackUpdateInternalServerError) IsSuccess() bool
- func (o *StackUpdateInternalServerError) String() string
- type StackUpdateNotFound
- func (o *StackUpdateNotFound) Code() int
- func (o *StackUpdateNotFound) Error() string
- func (o *StackUpdateNotFound) IsClientError() bool
- func (o *StackUpdateNotFound) IsCode(code int) bool
- func (o *StackUpdateNotFound) IsRedirect() bool
- func (o *StackUpdateNotFound) IsServerError() bool
- func (o *StackUpdateNotFound) IsSuccess() bool
- func (o *StackUpdateNotFound) String() string
- type StackUpdateOK
- func (o *StackUpdateOK) Code() int
- func (o *StackUpdateOK) Error() string
- func (o *StackUpdateOK) GetPayload() *models.PortainereeStack
- func (o *StackUpdateOK) IsClientError() bool
- func (o *StackUpdateOK) IsCode(code int) bool
- func (o *StackUpdateOK) IsRedirect() bool
- func (o *StackUpdateOK) IsServerError() bool
- func (o *StackUpdateOK) IsSuccess() bool
- func (o *StackUpdateOK) String() string
- type StackUpdateParams
- func (o *StackUpdateParams) SetBody(body *models.StacksUpdateStackPayload)
- func (o *StackUpdateParams) SetContext(ctx context.Context)
- func (o *StackUpdateParams) SetDefaults()
- func (o *StackUpdateParams) SetEndpointID(endpointID int64)
- func (o *StackUpdateParams) SetHTTPClient(client *http.Client)
- func (o *StackUpdateParams) SetID(id int64)
- func (o *StackUpdateParams) SetTimeout(timeout time.Duration)
- func (o *StackUpdateParams) WithBody(body *models.StacksUpdateStackPayload) *StackUpdateParams
- func (o *StackUpdateParams) WithContext(ctx context.Context) *StackUpdateParams
- func (o *StackUpdateParams) WithDefaults() *StackUpdateParams
- func (o *StackUpdateParams) WithEndpointID(endpointID int64) *StackUpdateParams
- func (o *StackUpdateParams) WithHTTPClient(client *http.Client) *StackUpdateParams
- func (o *StackUpdateParams) WithID(id int64) *StackUpdateParams
- func (o *StackUpdateParams) WithTimeout(timeout time.Duration) *StackUpdateParams
- func (o *StackUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StackUpdateReader
- type StacksWebhookInvokeBadRequest
- func (o *StacksWebhookInvokeBadRequest) Code() int
- func (o *StacksWebhookInvokeBadRequest) Error() string
- func (o *StacksWebhookInvokeBadRequest) IsClientError() bool
- func (o *StacksWebhookInvokeBadRequest) IsCode(code int) bool
- func (o *StacksWebhookInvokeBadRequest) IsRedirect() bool
- func (o *StacksWebhookInvokeBadRequest) IsServerError() bool
- func (o *StacksWebhookInvokeBadRequest) IsSuccess() bool
- func (o *StacksWebhookInvokeBadRequest) String() string
- type StacksWebhookInvokeConflict
- func (o *StacksWebhookInvokeConflict) Code() int
- func (o *StacksWebhookInvokeConflict) Error() string
- func (o *StacksWebhookInvokeConflict) IsClientError() bool
- func (o *StacksWebhookInvokeConflict) IsCode(code int) bool
- func (o *StacksWebhookInvokeConflict) IsRedirect() bool
- func (o *StacksWebhookInvokeConflict) IsServerError() bool
- func (o *StacksWebhookInvokeConflict) IsSuccess() bool
- func (o *StacksWebhookInvokeConflict) String() string
- type StacksWebhookInvokeInternalServerError
- func (o *StacksWebhookInvokeInternalServerError) Code() int
- func (o *StacksWebhookInvokeInternalServerError) Error() string
- func (o *StacksWebhookInvokeInternalServerError) IsClientError() bool
- func (o *StacksWebhookInvokeInternalServerError) IsCode(code int) bool
- func (o *StacksWebhookInvokeInternalServerError) IsRedirect() bool
- func (o *StacksWebhookInvokeInternalServerError) IsServerError() bool
- func (o *StacksWebhookInvokeInternalServerError) IsSuccess() bool
- func (o *StacksWebhookInvokeInternalServerError) String() string
- type StacksWebhookInvokeOK
- func (o *StacksWebhookInvokeOK) Code() int
- func (o *StacksWebhookInvokeOK) Error() string
- func (o *StacksWebhookInvokeOK) IsClientError() bool
- func (o *StacksWebhookInvokeOK) IsCode(code int) bool
- func (o *StacksWebhookInvokeOK) IsRedirect() bool
- func (o *StacksWebhookInvokeOK) IsServerError() bool
- func (o *StacksWebhookInvokeOK) IsSuccess() bool
- func (o *StacksWebhookInvokeOK) String() string
- type StacksWebhookInvokeParams
- func NewStacksWebhookInvokeParams() *StacksWebhookInvokeParams
- func NewStacksWebhookInvokeParamsWithContext(ctx context.Context) *StacksWebhookInvokeParams
- func NewStacksWebhookInvokeParamsWithHTTPClient(client *http.Client) *StacksWebhookInvokeParams
- func NewStacksWebhookInvokeParamsWithTimeout(timeout time.Duration) *StacksWebhookInvokeParams
- func (o *StacksWebhookInvokeParams) SetContext(ctx context.Context)
- func (o *StacksWebhookInvokeParams) SetDefaults()
- func (o *StacksWebhookInvokeParams) SetHTTPClient(client *http.Client)
- func (o *StacksWebhookInvokeParams) SetTimeout(timeout time.Duration)
- func (o *StacksWebhookInvokeParams) SetWebhookID(webhookID string)
- func (o *StacksWebhookInvokeParams) WithContext(ctx context.Context) *StacksWebhookInvokeParams
- func (o *StacksWebhookInvokeParams) WithDefaults() *StacksWebhookInvokeParams
- func (o *StacksWebhookInvokeParams) WithHTTPClient(client *http.Client) *StacksWebhookInvokeParams
- func (o *StacksWebhookInvokeParams) WithTimeout(timeout time.Duration) *StacksWebhookInvokeParams
- func (o *StacksWebhookInvokeParams) WithWebhookID(webhookID string) *StacksWebhookInvokeParams
- func (o *StacksWebhookInvokeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StacksWebhookInvokeReader
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 ¶
func (a *Client) StackDeleteKubernetesByName(params *StackDeleteKubernetesByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StackDeleteKubernetesByNameNoContent, error)
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 ¶
func (o *EdgeStackWebhookInvokeBadRequest) Code() int
Code gets the status code for the edge stack webhook invoke bad request response
func (*EdgeStackWebhookInvokeBadRequest) Error ¶
func (o *EdgeStackWebhookInvokeBadRequest) Error() string
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 ¶
func (o *EdgeStackWebhookInvokeBadRequest) String() 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 ¶
func (o *EdgeStackWebhookInvokeConflict) Code() int
Code gets the status code for the edge stack webhook invoke conflict response
func (*EdgeStackWebhookInvokeConflict) Error ¶
func (o *EdgeStackWebhookInvokeConflict) Error() string
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 ¶
func (o *EdgeStackWebhookInvokeConflict) String() 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 ¶
func (o *EdgeStackWebhookInvokeInternalServerError) Code() int
Code gets the status code for the edge stack webhook invoke internal server error response
func (*EdgeStackWebhookInvokeInternalServerError) Error ¶
func (o *EdgeStackWebhookInvokeInternalServerError) Error() string
func (*EdgeStackWebhookInvokeInternalServerError) IsClientError ¶
func (o *EdgeStackWebhookInvokeInternalServerError) IsClientError() bool
IsClientError returns true when this edge stack webhook invoke internal server error response has a 4xx status code
func (*EdgeStackWebhookInvokeInternalServerError) IsCode ¶
func (o *EdgeStackWebhookInvokeInternalServerError) IsCode(code int) bool
IsCode returns true when this edge stack webhook invoke internal server error response a status code equal to that given
func (*EdgeStackWebhookInvokeInternalServerError) IsRedirect ¶
func (o *EdgeStackWebhookInvokeInternalServerError) IsRedirect() bool
IsRedirect returns true when this edge stack webhook invoke internal server error response has a 3xx status code
func (*EdgeStackWebhookInvokeInternalServerError) IsServerError ¶
func (o *EdgeStackWebhookInvokeInternalServerError) IsServerError() bool
IsServerError returns true when this edge stack webhook invoke internal server error response has a 5xx status code
func (*EdgeStackWebhookInvokeInternalServerError) IsSuccess ¶
func (o *EdgeStackWebhookInvokeInternalServerError) IsSuccess() bool
IsSuccess returns true when this edge stack webhook invoke internal server error response has a 2xx status code
func (*EdgeStackWebhookInvokeInternalServerError) String ¶
func (o *EdgeStackWebhookInvokeInternalServerError) String() 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 ¶
func (o *EdgeStackWebhookInvokeParams) WithContext(ctx context.Context) *EdgeStackWebhookInvokeParams
WithContext adds the context to the edge stack webhook invoke params
func (*EdgeStackWebhookInvokeParams) WithDefaults ¶
func (o *EdgeStackWebhookInvokeParams) WithDefaults() *EdgeStackWebhookInvokeParams
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 ¶
func (o *EdgeStackWebhookInvokeParams) WithHTTPClient(client *http.Client) *EdgeStackWebhookInvokeParams
WithHTTPClient adds the HTTPClient to the edge stack webhook invoke params
func (*EdgeStackWebhookInvokeParams) WithTimeout ¶
func (o *EdgeStackWebhookInvokeParams) WithTimeout(timeout time.Duration) *EdgeStackWebhookInvokeParams
WithTimeout adds the timeout to the edge stack webhook invoke params
func (*EdgeStackWebhookInvokeParams) WithWebhookID ¶
func (o *EdgeStackWebhookInvokeParams) WithWebhookID(webhookID string) *EdgeStackWebhookInvokeParams
WithWebhookID adds the webhookID to the edge stack webhook invoke params
func (*EdgeStackWebhookInvokeParams) WriteToRequest ¶
func (o *EdgeStackWebhookInvokeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *StackAssociateInternalServerError) Code() int
Code gets the status code for the stack associate internal server error response
func (*StackAssociateInternalServerError) Error ¶
func (o *StackAssociateInternalServerError) Error() string
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 ¶
func (o *StackAssociateInternalServerError) String() 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 ¶
func (o *StackAssociateParams) WithContext(ctx context.Context) *StackAssociateParams
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 ¶
func (o *StackAssociateParams) WithID(id int64) *StackAssociateParams
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 ¶
func (o *StackCreateDockerStandaloneFileBadRequest) Code() int
Code gets the status code for the stack create docker standalone file bad request response
func (*StackCreateDockerStandaloneFileBadRequest) Error ¶
func (o *StackCreateDockerStandaloneFileBadRequest) Error() string
func (*StackCreateDockerStandaloneFileBadRequest) IsClientError ¶
func (o *StackCreateDockerStandaloneFileBadRequest) IsClientError() bool
IsClientError returns true when this stack create docker standalone file bad request response has a 4xx status code
func (*StackCreateDockerStandaloneFileBadRequest) IsCode ¶
func (o *StackCreateDockerStandaloneFileBadRequest) IsCode(code int) bool
IsCode returns true when this stack create docker standalone file bad request response a status code equal to that given
func (*StackCreateDockerStandaloneFileBadRequest) IsRedirect ¶
func (o *StackCreateDockerStandaloneFileBadRequest) IsRedirect() bool
IsRedirect returns true when this stack create docker standalone file bad request response has a 3xx status code
func (*StackCreateDockerStandaloneFileBadRequest) IsServerError ¶
func (o *StackCreateDockerStandaloneFileBadRequest) IsServerError() bool
IsServerError returns true when this stack create docker standalone file bad request response has a 5xx status code
func (*StackCreateDockerStandaloneFileBadRequest) IsSuccess ¶
func (o *StackCreateDockerStandaloneFileBadRequest) IsSuccess() bool
IsSuccess returns true when this stack create docker standalone file bad request response has a 2xx status code
func (*StackCreateDockerStandaloneFileBadRequest) String ¶
func (o *StackCreateDockerStandaloneFileBadRequest) String() 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 ¶
func (o *StackCreateDockerStandaloneFileInternalServerError) Code() int
Code gets the status code for the stack create docker standalone file internal server error response
func (*StackCreateDockerStandaloneFileInternalServerError) Error ¶
func (o *StackCreateDockerStandaloneFileInternalServerError) Error() string
func (*StackCreateDockerStandaloneFileInternalServerError) IsClientError ¶
func (o *StackCreateDockerStandaloneFileInternalServerError) IsClientError() bool
IsClientError returns true when this stack create docker standalone file internal server error response has a 4xx status code
func (*StackCreateDockerStandaloneFileInternalServerError) IsCode ¶
func (o *StackCreateDockerStandaloneFileInternalServerError) IsCode(code int) bool
IsCode returns true when this stack create docker standalone file internal server error response a status code equal to that given
func (*StackCreateDockerStandaloneFileInternalServerError) IsRedirect ¶
func (o *StackCreateDockerStandaloneFileInternalServerError) IsRedirect() bool
IsRedirect returns true when this stack create docker standalone file internal server error response has a 3xx status code
func (*StackCreateDockerStandaloneFileInternalServerError) IsServerError ¶
func (o *StackCreateDockerStandaloneFileInternalServerError) IsServerError() bool
IsServerError returns true when this stack create docker standalone file internal server error response has a 5xx status code
func (*StackCreateDockerStandaloneFileInternalServerError) IsSuccess ¶
func (o *StackCreateDockerStandaloneFileInternalServerError) IsSuccess() bool
IsSuccess returns true when this stack create docker standalone file internal server error response has a 2xx status code
func (*StackCreateDockerStandaloneFileInternalServerError) String ¶
func (o *StackCreateDockerStandaloneFileInternalServerError) String() 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 ¶
func (o *StackCreateDockerStandaloneFileOK) Code() int
Code gets the status code for the stack create docker standalone file o k response
func (*StackCreateDockerStandaloneFileOK) Error ¶
func (o *StackCreateDockerStandaloneFileOK) Error() string
func (*StackCreateDockerStandaloneFileOK) GetPayload ¶
func (o *StackCreateDockerStandaloneFileOK) GetPayload() *models.PortainereeStack
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 ¶
func (o *StackCreateDockerStandaloneFileOK) String() 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 ¶
func (o *StackCreateDockerStandaloneFileParams) SetContext(ctx context.Context)
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 ¶
func (o *StackCreateDockerStandaloneFileParams) SetEnv(env *string)
SetEnv adds the env to the stack create docker standalone file params
func (*StackCreateDockerStandaloneFileParams) SetFile ¶
func (o *StackCreateDockerStandaloneFileParams) SetFile(file runtime.NamedReadCloser)
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 ¶
func (o *StackCreateDockerStandaloneFileParams) SetName(name string)
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 ¶
func (o *StackCreateDockerStandaloneFileParams) WithContext(ctx context.Context) *StackCreateDockerStandaloneFileParams
WithContext adds the context to the stack create docker standalone file params
func (*StackCreateDockerStandaloneFileParams) WithDefaults ¶
func (o *StackCreateDockerStandaloneFileParams) WithDefaults() *StackCreateDockerStandaloneFileParams
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 ¶
func (o *StackCreateDockerStandaloneFileParams) WithEndpointID(endpointID int64) *StackCreateDockerStandaloneFileParams
WithEndpointID adds the endpointID to the stack create docker standalone file params
func (*StackCreateDockerStandaloneFileParams) WithEnv ¶
func (o *StackCreateDockerStandaloneFileParams) WithEnv(env *string) *StackCreateDockerStandaloneFileParams
WithEnv adds the env to the stack create docker standalone file params
func (*StackCreateDockerStandaloneFileParams) WithFile ¶
func (o *StackCreateDockerStandaloneFileParams) WithFile(file runtime.NamedReadCloser) *StackCreateDockerStandaloneFileParams
WithFile adds the file to the stack create docker standalone file params
func (*StackCreateDockerStandaloneFileParams) WithHTTPClient ¶
func (o *StackCreateDockerStandaloneFileParams) WithHTTPClient(client *http.Client) *StackCreateDockerStandaloneFileParams
WithHTTPClient adds the HTTPClient to the stack create docker standalone file params
func (*StackCreateDockerStandaloneFileParams) WithName ¶
func (o *StackCreateDockerStandaloneFileParams) WithName(name string) *StackCreateDockerStandaloneFileParams
WithName adds the name to the stack create docker standalone file params
func (*StackCreateDockerStandaloneFileParams) WithTimeout ¶
func (o *StackCreateDockerStandaloneFileParams) WithTimeout(timeout time.Duration) *StackCreateDockerStandaloneFileParams
WithTimeout adds the timeout to the stack create docker standalone file params
func (*StackCreateDockerStandaloneFileParams) WriteToRequest ¶
func (o *StackCreateDockerStandaloneFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *StackCreateDockerStandaloneRepositoryBadRequest) Code() int
Code gets the status code for the stack create docker standalone repository bad request response
func (*StackCreateDockerStandaloneRepositoryBadRequest) Error ¶
func (o *StackCreateDockerStandaloneRepositoryBadRequest) Error() string
func (*StackCreateDockerStandaloneRepositoryBadRequest) IsClientError ¶
func (o *StackCreateDockerStandaloneRepositoryBadRequest) IsClientError() bool
IsClientError returns true when this stack create docker standalone repository bad request response has a 4xx status code
func (*StackCreateDockerStandaloneRepositoryBadRequest) IsCode ¶
func (o *StackCreateDockerStandaloneRepositoryBadRequest) IsCode(code int) bool
IsCode returns true when this stack create docker standalone repository bad request response a status code equal to that given
func (*StackCreateDockerStandaloneRepositoryBadRequest) IsRedirect ¶
func (o *StackCreateDockerStandaloneRepositoryBadRequest) IsRedirect() bool
IsRedirect returns true when this stack create docker standalone repository bad request response has a 3xx status code
func (*StackCreateDockerStandaloneRepositoryBadRequest) IsServerError ¶
func (o *StackCreateDockerStandaloneRepositoryBadRequest) IsServerError() bool
IsServerError returns true when this stack create docker standalone repository bad request response has a 5xx status code
func (*StackCreateDockerStandaloneRepositoryBadRequest) IsSuccess ¶
func (o *StackCreateDockerStandaloneRepositoryBadRequest) IsSuccess() bool
IsSuccess returns true when this stack create docker standalone repository bad request response has a 2xx status code
func (*StackCreateDockerStandaloneRepositoryBadRequest) String ¶
func (o *StackCreateDockerStandaloneRepositoryBadRequest) String() 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 ¶
func (o *StackCreateDockerStandaloneRepositoryInternalServerError) Code() int
Code gets the status code for the stack create docker standalone repository internal server error response
func (*StackCreateDockerStandaloneRepositoryInternalServerError) Error ¶
func (o *StackCreateDockerStandaloneRepositoryInternalServerError) Error() string
func (*StackCreateDockerStandaloneRepositoryInternalServerError) IsClientError ¶
func (o *StackCreateDockerStandaloneRepositoryInternalServerError) IsClientError() bool
IsClientError returns true when this stack create docker standalone repository internal server error response has a 4xx status code
func (*StackCreateDockerStandaloneRepositoryInternalServerError) IsCode ¶
func (o *StackCreateDockerStandaloneRepositoryInternalServerError) IsCode(code int) bool
IsCode returns true when this stack create docker standalone repository internal server error response a status code equal to that given
func (*StackCreateDockerStandaloneRepositoryInternalServerError) IsRedirect ¶
func (o *StackCreateDockerStandaloneRepositoryInternalServerError) IsRedirect() bool
IsRedirect returns true when this stack create docker standalone repository internal server error response has a 3xx status code
func (*StackCreateDockerStandaloneRepositoryInternalServerError) IsServerError ¶
func (o *StackCreateDockerStandaloneRepositoryInternalServerError) IsServerError() bool
IsServerError returns true when this stack create docker standalone repository internal server error response has a 5xx status code
func (*StackCreateDockerStandaloneRepositoryInternalServerError) IsSuccess ¶
func (o *StackCreateDockerStandaloneRepositoryInternalServerError) IsSuccess() bool
IsSuccess returns true when this stack create docker standalone repository internal server error response has a 2xx status code
func (*StackCreateDockerStandaloneRepositoryInternalServerError) String ¶
func (o *StackCreateDockerStandaloneRepositoryInternalServerError) String() 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 ¶
func (o *StackCreateDockerStandaloneRepositoryOK) Code() int
Code gets the status code for the stack create docker standalone repository o k response
func (*StackCreateDockerStandaloneRepositoryOK) Error ¶
func (o *StackCreateDockerStandaloneRepositoryOK) Error() string
func (*StackCreateDockerStandaloneRepositoryOK) GetPayload ¶
func (o *StackCreateDockerStandaloneRepositoryOK) GetPayload() *models.PortainereeStack
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 ¶
func (o *StackCreateDockerStandaloneRepositoryOK) IsCode(code int) bool
IsCode returns true when this stack create docker standalone repository o k response a status code equal to that given
func (*StackCreateDockerStandaloneRepositoryOK) IsRedirect ¶
func (o *StackCreateDockerStandaloneRepositoryOK) IsRedirect() bool
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 ¶
func (o *StackCreateDockerStandaloneRepositoryOK) IsSuccess() bool
IsSuccess returns true when this stack create docker standalone repository o k response has a 2xx status code
func (*StackCreateDockerStandaloneRepositoryOK) String ¶
func (o *StackCreateDockerStandaloneRepositoryOK) String() 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 ¶
func (o *StackCreateDockerStandaloneRepositoryParams) SetBody(body *models.StacksComposeStackFromGitRepositoryPayload)
SetBody adds the body to the stack create docker standalone repository params
func (*StackCreateDockerStandaloneRepositoryParams) SetContext ¶
func (o *StackCreateDockerStandaloneRepositoryParams) SetContext(ctx context.Context)
SetContext adds the context to the stack create docker standalone repository params
func (*StackCreateDockerStandaloneRepositoryParams) SetDefaults ¶
func (o *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 ¶
func (o *StackCreateDockerStandaloneRepositoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stack create docker standalone repository params
func (*StackCreateDockerStandaloneRepositoryParams) WithBody ¶
func (o *StackCreateDockerStandaloneRepositoryParams) WithBody(body *models.StacksComposeStackFromGitRepositoryPayload) *StackCreateDockerStandaloneRepositoryParams
WithBody adds the body to the stack create docker standalone repository params
func (*StackCreateDockerStandaloneRepositoryParams) WithContext ¶
func (o *StackCreateDockerStandaloneRepositoryParams) WithContext(ctx context.Context) *StackCreateDockerStandaloneRepositoryParams
WithContext adds the context to the stack create docker standalone repository params
func (*StackCreateDockerStandaloneRepositoryParams) WithDefaults ¶
func (o *StackCreateDockerStandaloneRepositoryParams) WithDefaults() *StackCreateDockerStandaloneRepositoryParams
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 ¶
func (o *StackCreateDockerStandaloneRepositoryParams) WithEndpointID(endpointID int64) *StackCreateDockerStandaloneRepositoryParams
WithEndpointID adds the endpointID to the stack create docker standalone repository params
func (*StackCreateDockerStandaloneRepositoryParams) WithHTTPClient ¶
func (o *StackCreateDockerStandaloneRepositoryParams) WithHTTPClient(client *http.Client) *StackCreateDockerStandaloneRepositoryParams
WithHTTPClient adds the HTTPClient to the stack create docker standalone repository params
func (*StackCreateDockerStandaloneRepositoryParams) WithTimeout ¶
func (o *StackCreateDockerStandaloneRepositoryParams) WithTimeout(timeout time.Duration) *StackCreateDockerStandaloneRepositoryParams
WithTimeout adds the timeout to the stack create docker standalone repository params
func (*StackCreateDockerStandaloneRepositoryParams) WriteToRequest ¶
func (o *StackCreateDockerStandaloneRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *StackCreateDockerStandaloneStringBadRequest) Code() int
Code gets the status code for the stack create docker standalone string bad request response
func (*StackCreateDockerStandaloneStringBadRequest) Error ¶
func (o *StackCreateDockerStandaloneStringBadRequest) Error() string
func (*StackCreateDockerStandaloneStringBadRequest) IsClientError ¶
func (o *StackCreateDockerStandaloneStringBadRequest) IsClientError() bool
IsClientError returns true when this stack create docker standalone string bad request response has a 4xx status code
func (*StackCreateDockerStandaloneStringBadRequest) IsCode ¶
func (o *StackCreateDockerStandaloneStringBadRequest) IsCode(code int) bool
IsCode returns true when this stack create docker standalone string bad request response a status code equal to that given
func (*StackCreateDockerStandaloneStringBadRequest) IsRedirect ¶
func (o *StackCreateDockerStandaloneStringBadRequest) IsRedirect() bool
IsRedirect returns true when this stack create docker standalone string bad request response has a 3xx status code
func (*StackCreateDockerStandaloneStringBadRequest) IsServerError ¶
func (o *StackCreateDockerStandaloneStringBadRequest) IsServerError() bool
IsServerError returns true when this stack create docker standalone string bad request response has a 5xx status code
func (*StackCreateDockerStandaloneStringBadRequest) IsSuccess ¶
func (o *StackCreateDockerStandaloneStringBadRequest) IsSuccess() bool
IsSuccess returns true when this stack create docker standalone string bad request response has a 2xx status code
func (*StackCreateDockerStandaloneStringBadRequest) String ¶
func (o *StackCreateDockerStandaloneStringBadRequest) String() 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 ¶
func (o *StackCreateDockerStandaloneStringInternalServerError) Code() int
Code gets the status code for the stack create docker standalone string internal server error response
func (*StackCreateDockerStandaloneStringInternalServerError) Error ¶
func (o *StackCreateDockerStandaloneStringInternalServerError) Error() string
func (*StackCreateDockerStandaloneStringInternalServerError) IsClientError ¶
func (o *StackCreateDockerStandaloneStringInternalServerError) IsClientError() bool
IsClientError returns true when this stack create docker standalone string internal server error response has a 4xx status code
func (*StackCreateDockerStandaloneStringInternalServerError) IsCode ¶
func (o *StackCreateDockerStandaloneStringInternalServerError) IsCode(code int) bool
IsCode returns true when this stack create docker standalone string internal server error response a status code equal to that given
func (*StackCreateDockerStandaloneStringInternalServerError) IsRedirect ¶
func (o *StackCreateDockerStandaloneStringInternalServerError) IsRedirect() bool
IsRedirect returns true when this stack create docker standalone string internal server error response has a 3xx status code
func (*StackCreateDockerStandaloneStringInternalServerError) IsServerError ¶
func (o *StackCreateDockerStandaloneStringInternalServerError) IsServerError() bool
IsServerError returns true when this stack create docker standalone string internal server error response has a 5xx status code
func (*StackCreateDockerStandaloneStringInternalServerError) IsSuccess ¶
func (o *StackCreateDockerStandaloneStringInternalServerError) IsSuccess() bool
IsSuccess returns true when this stack create docker standalone string internal server error response has a 2xx status code
func (*StackCreateDockerStandaloneStringInternalServerError) String ¶
func (o *StackCreateDockerStandaloneStringInternalServerError) String() 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 ¶
func (o *StackCreateDockerStandaloneStringOK) Code() int
Code gets the status code for the stack create docker standalone string o k response
func (*StackCreateDockerStandaloneStringOK) Error ¶
func (o *StackCreateDockerStandaloneStringOK) Error() string
func (*StackCreateDockerStandaloneStringOK) GetPayload ¶
func (o *StackCreateDockerStandaloneStringOK) GetPayload() *models.PortainereeStack
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 ¶
func (o *StackCreateDockerStandaloneStringOK) IsCode(code int) bool
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 ¶
func (o *StackCreateDockerStandaloneStringOK) IsSuccess() bool
IsSuccess returns true when this stack create docker standalone string o k response has a 2xx status code
func (*StackCreateDockerStandaloneStringOK) String ¶
func (o *StackCreateDockerStandaloneStringOK) String() 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 ¶
func (o *StackCreateDockerStandaloneStringParams) SetBody(body *models.StacksComposeStackFromFileContentPayload)
SetBody adds the body to the stack create docker standalone string params
func (*StackCreateDockerStandaloneStringParams) SetContext ¶
func (o *StackCreateDockerStandaloneStringParams) SetContext(ctx context.Context)
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 ¶
func (o *StackCreateDockerStandaloneStringParams) WithBody(body *models.StacksComposeStackFromFileContentPayload) *StackCreateDockerStandaloneStringParams
WithBody adds the body to the stack create docker standalone string params
func (*StackCreateDockerStandaloneStringParams) WithContext ¶
func (o *StackCreateDockerStandaloneStringParams) WithContext(ctx context.Context) *StackCreateDockerStandaloneStringParams
WithContext adds the context to the stack create docker standalone string params
func (*StackCreateDockerStandaloneStringParams) WithDefaults ¶
func (o *StackCreateDockerStandaloneStringParams) WithDefaults() *StackCreateDockerStandaloneStringParams
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 ¶
func (o *StackCreateDockerStandaloneStringParams) WithEndpointID(endpointID int64) *StackCreateDockerStandaloneStringParams
WithEndpointID adds the endpointID to the stack create docker standalone string params
func (*StackCreateDockerStandaloneStringParams) WithHTTPClient ¶
func (o *StackCreateDockerStandaloneStringParams) WithHTTPClient(client *http.Client) *StackCreateDockerStandaloneStringParams
WithHTTPClient adds the HTTPClient to the stack create docker standalone string params
func (*StackCreateDockerStandaloneStringParams) WithTimeout ¶
func (o *StackCreateDockerStandaloneStringParams) WithTimeout(timeout time.Duration) *StackCreateDockerStandaloneStringParams
WithTimeout adds the timeout to the stack create docker standalone string params
func (*StackCreateDockerStandaloneStringParams) WriteToRequest ¶
func (o *StackCreateDockerStandaloneStringParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *StackCreateDockerSwarmFileBadRequest) Code() int
Code gets the status code for the stack create docker swarm file bad request response
func (*StackCreateDockerSwarmFileBadRequest) Error ¶
func (o *StackCreateDockerSwarmFileBadRequest) Error() string
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 ¶
func (o *StackCreateDockerSwarmFileBadRequest) IsCode(code int) bool
IsCode returns true when this stack create docker swarm file bad request response a status code equal to that given
func (*StackCreateDockerSwarmFileBadRequest) IsRedirect ¶
func (o *StackCreateDockerSwarmFileBadRequest) IsRedirect() bool
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 ¶
func (o *StackCreateDockerSwarmFileBadRequest) IsSuccess() bool
IsSuccess returns true when this stack create docker swarm file bad request response has a 2xx status code
func (*StackCreateDockerSwarmFileBadRequest) String ¶
func (o *StackCreateDockerSwarmFileBadRequest) String() 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 ¶
func (o *StackCreateDockerSwarmFileConflict) Code() int
Code gets the status code for the stack create docker swarm file conflict response
func (*StackCreateDockerSwarmFileConflict) Error ¶
func (o *StackCreateDockerSwarmFileConflict) Error() string
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 ¶
func (o *StackCreateDockerSwarmFileConflict) IsCode(code int) bool
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 ¶
func (o *StackCreateDockerSwarmFileConflict) IsSuccess() bool
IsSuccess returns true when this stack create docker swarm file conflict response has a 2xx status code
func (*StackCreateDockerSwarmFileConflict) String ¶
func (o *StackCreateDockerSwarmFileConflict) String() 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 ¶
func (o *StackCreateDockerSwarmFileInternalServerError) Code() int
Code gets the status code for the stack create docker swarm file internal server error response
func (*StackCreateDockerSwarmFileInternalServerError) Error ¶
func (o *StackCreateDockerSwarmFileInternalServerError) Error() string
func (*StackCreateDockerSwarmFileInternalServerError) IsClientError ¶
func (o *StackCreateDockerSwarmFileInternalServerError) IsClientError() bool
IsClientError returns true when this stack create docker swarm file internal server error response has a 4xx status code
func (*StackCreateDockerSwarmFileInternalServerError) IsCode ¶
func (o *StackCreateDockerSwarmFileInternalServerError) IsCode(code int) bool
IsCode returns true when this stack create docker swarm file internal server error response a status code equal to that given
func (*StackCreateDockerSwarmFileInternalServerError) IsRedirect ¶
func (o *StackCreateDockerSwarmFileInternalServerError) IsRedirect() bool
IsRedirect returns true when this stack create docker swarm file internal server error response has a 3xx status code
func (*StackCreateDockerSwarmFileInternalServerError) IsServerError ¶
func (o *StackCreateDockerSwarmFileInternalServerError) IsServerError() bool
IsServerError returns true when this stack create docker swarm file internal server error response has a 5xx status code
func (*StackCreateDockerSwarmFileInternalServerError) IsSuccess ¶
func (o *StackCreateDockerSwarmFileInternalServerError) IsSuccess() bool
IsSuccess returns true when this stack create docker swarm file internal server error response has a 2xx status code
func (*StackCreateDockerSwarmFileInternalServerError) String ¶
func (o *StackCreateDockerSwarmFileInternalServerError) String() 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 ¶
func (o *StackCreateDockerSwarmFileOK) Code() int
Code gets the status code for the stack create docker swarm file o k response
func (*StackCreateDockerSwarmFileOK) Error ¶
func (o *StackCreateDockerSwarmFileOK) Error() string
func (*StackCreateDockerSwarmFileOK) GetPayload ¶
func (o *StackCreateDockerSwarmFileOK) GetPayload() *models.PortainereeStack
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 ¶
func (o *StackCreateDockerSwarmFileOK) String() 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 ¶
func (o *StackCreateDockerSwarmFileParams) SetContext(ctx context.Context)
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 ¶
func (o *StackCreateDockerSwarmFileParams) SetFile(file runtime.NamedReadCloser)
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 ¶
func (o *StackCreateDockerSwarmFileParams) WithContext(ctx context.Context) *StackCreateDockerSwarmFileParams
WithContext adds the context to the stack create docker swarm file params
func (*StackCreateDockerSwarmFileParams) WithDefaults ¶
func (o *StackCreateDockerSwarmFileParams) WithDefaults() *StackCreateDockerSwarmFileParams
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 ¶
func (o *StackCreateDockerSwarmFileParams) WithEndpointID(endpointID int64) *StackCreateDockerSwarmFileParams
WithEndpointID adds the endpointID to the stack create docker swarm file params
func (*StackCreateDockerSwarmFileParams) WithEnv ¶
func (o *StackCreateDockerSwarmFileParams) WithEnv(env *string) *StackCreateDockerSwarmFileParams
WithEnv adds the env to the stack create docker swarm file params
func (*StackCreateDockerSwarmFileParams) WithFile ¶
func (o *StackCreateDockerSwarmFileParams) WithFile(file runtime.NamedReadCloser) *StackCreateDockerSwarmFileParams
WithFile adds the file to the stack create docker swarm file params
func (*StackCreateDockerSwarmFileParams) WithHTTPClient ¶
func (o *StackCreateDockerSwarmFileParams) WithHTTPClient(client *http.Client) *StackCreateDockerSwarmFileParams
WithHTTPClient adds the HTTPClient to the stack create docker swarm file params
func (*StackCreateDockerSwarmFileParams) WithName ¶
func (o *StackCreateDockerSwarmFileParams) WithName(name *string) *StackCreateDockerSwarmFileParams
WithName adds the name to the stack create docker swarm file params
func (*StackCreateDockerSwarmFileParams) WithSwarmID ¶
func (o *StackCreateDockerSwarmFileParams) WithSwarmID(swarmID *string) *StackCreateDockerSwarmFileParams
WithSwarmID adds the swarmID to the stack create docker swarm file params
func (*StackCreateDockerSwarmFileParams) WithTimeout ¶
func (o *StackCreateDockerSwarmFileParams) WithTimeout(timeout time.Duration) *StackCreateDockerSwarmFileParams
WithTimeout adds the timeout to the stack create docker swarm file params
func (*StackCreateDockerSwarmFileParams) WriteToRequest ¶
func (o *StackCreateDockerSwarmFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *StackCreateDockerSwarmRepositoryBadRequest) Code() int
Code gets the status code for the stack create docker swarm repository bad request response
func (*StackCreateDockerSwarmRepositoryBadRequest) Error ¶
func (o *StackCreateDockerSwarmRepositoryBadRequest) Error() string
func (*StackCreateDockerSwarmRepositoryBadRequest) IsClientError ¶
func (o *StackCreateDockerSwarmRepositoryBadRequest) IsClientError() bool
IsClientError returns true when this stack create docker swarm repository bad request response has a 4xx status code
func (*StackCreateDockerSwarmRepositoryBadRequest) IsCode ¶
func (o *StackCreateDockerSwarmRepositoryBadRequest) IsCode(code int) bool
IsCode returns true when this stack create docker swarm repository bad request response a status code equal to that given
func (*StackCreateDockerSwarmRepositoryBadRequest) IsRedirect ¶
func (o *StackCreateDockerSwarmRepositoryBadRequest) IsRedirect() bool
IsRedirect returns true when this stack create docker swarm repository bad request response has a 3xx status code
func (*StackCreateDockerSwarmRepositoryBadRequest) IsServerError ¶
func (o *StackCreateDockerSwarmRepositoryBadRequest) IsServerError() bool
IsServerError returns true when this stack create docker swarm repository bad request response has a 5xx status code
func (*StackCreateDockerSwarmRepositoryBadRequest) IsSuccess ¶
func (o *StackCreateDockerSwarmRepositoryBadRequest) IsSuccess() bool
IsSuccess returns true when this stack create docker swarm repository bad request response has a 2xx status code
func (*StackCreateDockerSwarmRepositoryBadRequest) String ¶
func (o *StackCreateDockerSwarmRepositoryBadRequest) String() 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 ¶
func (o *StackCreateDockerSwarmRepositoryConflict) Code() int
Code gets the status code for the stack create docker swarm repository conflict response
func (*StackCreateDockerSwarmRepositoryConflict) Error ¶
func (o *StackCreateDockerSwarmRepositoryConflict) Error() string
func (*StackCreateDockerSwarmRepositoryConflict) IsClientError ¶
func (o *StackCreateDockerSwarmRepositoryConflict) IsClientError() bool
IsClientError returns true when this stack create docker swarm repository conflict response has a 4xx status code
func (*StackCreateDockerSwarmRepositoryConflict) IsCode ¶
func (o *StackCreateDockerSwarmRepositoryConflict) IsCode(code int) bool
IsCode returns true when this stack create docker swarm repository conflict response a status code equal to that given
func (*StackCreateDockerSwarmRepositoryConflict) IsRedirect ¶
func (o *StackCreateDockerSwarmRepositoryConflict) IsRedirect() bool
IsRedirect returns true when this stack create docker swarm repository conflict response has a 3xx status code
func (*StackCreateDockerSwarmRepositoryConflict) IsServerError ¶
func (o *StackCreateDockerSwarmRepositoryConflict) IsServerError() bool
IsServerError returns true when this stack create docker swarm repository conflict response has a 5xx status code
func (*StackCreateDockerSwarmRepositoryConflict) IsSuccess ¶
func (o *StackCreateDockerSwarmRepositoryConflict) IsSuccess() bool
IsSuccess returns true when this stack create docker swarm repository conflict response has a 2xx status code
func (*StackCreateDockerSwarmRepositoryConflict) String ¶
func (o *StackCreateDockerSwarmRepositoryConflict) String() 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 ¶
func (o *StackCreateDockerSwarmRepositoryInternalServerError) Code() int
Code gets the status code for the stack create docker swarm repository internal server error response
func (*StackCreateDockerSwarmRepositoryInternalServerError) Error ¶
func (o *StackCreateDockerSwarmRepositoryInternalServerError) Error() string
func (*StackCreateDockerSwarmRepositoryInternalServerError) IsClientError ¶
func (o *StackCreateDockerSwarmRepositoryInternalServerError) IsClientError() bool
IsClientError returns true when this stack create docker swarm repository internal server error response has a 4xx status code
func (*StackCreateDockerSwarmRepositoryInternalServerError) IsCode ¶
func (o *StackCreateDockerSwarmRepositoryInternalServerError) IsCode(code int) bool
IsCode returns true when this stack create docker swarm repository internal server error response a status code equal to that given
func (*StackCreateDockerSwarmRepositoryInternalServerError) IsRedirect ¶
func (o *StackCreateDockerSwarmRepositoryInternalServerError) IsRedirect() bool
IsRedirect returns true when this stack create docker swarm repository internal server error response has a 3xx status code
func (*StackCreateDockerSwarmRepositoryInternalServerError) IsServerError ¶
func (o *StackCreateDockerSwarmRepositoryInternalServerError) IsServerError() bool
IsServerError returns true when this stack create docker swarm repository internal server error response has a 5xx status code
func (*StackCreateDockerSwarmRepositoryInternalServerError) IsSuccess ¶
func (o *StackCreateDockerSwarmRepositoryInternalServerError) IsSuccess() bool
IsSuccess returns true when this stack create docker swarm repository internal server error response has a 2xx status code
func (*StackCreateDockerSwarmRepositoryInternalServerError) String ¶
func (o *StackCreateDockerSwarmRepositoryInternalServerError) String() 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 ¶
func (o *StackCreateDockerSwarmRepositoryOK) Code() int
Code gets the status code for the stack create docker swarm repository o k response
func (*StackCreateDockerSwarmRepositoryOK) Error ¶
func (o *StackCreateDockerSwarmRepositoryOK) Error() string
func (*StackCreateDockerSwarmRepositoryOK) GetPayload ¶
func (o *StackCreateDockerSwarmRepositoryOK) GetPayload() *models.PortainereeStack
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 ¶
func (o *StackCreateDockerSwarmRepositoryOK) IsCode(code int) bool
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 ¶
func (o *StackCreateDockerSwarmRepositoryOK) IsSuccess() bool
IsSuccess returns true when this stack create docker swarm repository o k response has a 2xx status code
func (*StackCreateDockerSwarmRepositoryOK) String ¶
func (o *StackCreateDockerSwarmRepositoryOK) String() 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 ¶
func (o *StackCreateDockerSwarmRepositoryParams) SetBody(body *models.StacksSwarmStackFromGitRepositoryPayload)
SetBody adds the body to the stack create docker swarm repository params
func (*StackCreateDockerSwarmRepositoryParams) SetContext ¶
func (o *StackCreateDockerSwarmRepositoryParams) SetContext(ctx context.Context)
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 ¶
func (o *StackCreateDockerSwarmRepositoryParams) WithBody(body *models.StacksSwarmStackFromGitRepositoryPayload) *StackCreateDockerSwarmRepositoryParams
WithBody adds the body to the stack create docker swarm repository params
func (*StackCreateDockerSwarmRepositoryParams) WithContext ¶
func (o *StackCreateDockerSwarmRepositoryParams) WithContext(ctx context.Context) *StackCreateDockerSwarmRepositoryParams
WithContext adds the context to the stack create docker swarm repository params
func (*StackCreateDockerSwarmRepositoryParams) WithDefaults ¶
func (o *StackCreateDockerSwarmRepositoryParams) WithDefaults() *StackCreateDockerSwarmRepositoryParams
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 ¶
func (o *StackCreateDockerSwarmRepositoryParams) WithEndpointID(endpointID int64) *StackCreateDockerSwarmRepositoryParams
WithEndpointID adds the endpointID to the stack create docker swarm repository params
func (*StackCreateDockerSwarmRepositoryParams) WithHTTPClient ¶
func (o *StackCreateDockerSwarmRepositoryParams) WithHTTPClient(client *http.Client) *StackCreateDockerSwarmRepositoryParams
WithHTTPClient adds the HTTPClient to the stack create docker swarm repository params
func (*StackCreateDockerSwarmRepositoryParams) WithTimeout ¶
func (o *StackCreateDockerSwarmRepositoryParams) WithTimeout(timeout time.Duration) *StackCreateDockerSwarmRepositoryParams
WithTimeout adds the timeout to the stack create docker swarm repository params
func (*StackCreateDockerSwarmRepositoryParams) WriteToRequest ¶
func (o *StackCreateDockerSwarmRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *StackCreateDockerSwarmStringBadRequest) Code() int
Code gets the status code for the stack create docker swarm string bad request response
func (*StackCreateDockerSwarmStringBadRequest) Error ¶
func (o *StackCreateDockerSwarmStringBadRequest) Error() string
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 ¶
func (o *StackCreateDockerSwarmStringBadRequest) IsCode(code int) bool
IsCode returns true when this stack create docker swarm string bad request response a status code equal to that given
func (*StackCreateDockerSwarmStringBadRequest) IsRedirect ¶
func (o *StackCreateDockerSwarmStringBadRequest) IsRedirect() bool
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 ¶
func (o *StackCreateDockerSwarmStringBadRequest) IsSuccess() bool
IsSuccess returns true when this stack create docker swarm string bad request response has a 2xx status code
func (*StackCreateDockerSwarmStringBadRequest) String ¶
func (o *StackCreateDockerSwarmStringBadRequest) String() 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 ¶
func (o *StackCreateDockerSwarmStringConflict) Code() int
Code gets the status code for the stack create docker swarm string conflict response
func (*StackCreateDockerSwarmStringConflict) Error ¶
func (o *StackCreateDockerSwarmStringConflict) Error() string
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 ¶
func (o *StackCreateDockerSwarmStringConflict) IsCode(code int) bool
IsCode returns true when this stack create docker swarm string conflict response a status code equal to that given
func (*StackCreateDockerSwarmStringConflict) IsRedirect ¶
func (o *StackCreateDockerSwarmStringConflict) IsRedirect() bool
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 ¶
func (o *StackCreateDockerSwarmStringConflict) IsSuccess() bool
IsSuccess returns true when this stack create docker swarm string conflict response has a 2xx status code
func (*StackCreateDockerSwarmStringConflict) String ¶
func (o *StackCreateDockerSwarmStringConflict) String() 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 ¶
func (o *StackCreateDockerSwarmStringInternalServerError) Code() int
Code gets the status code for the stack create docker swarm string internal server error response
func (*StackCreateDockerSwarmStringInternalServerError) Error ¶
func (o *StackCreateDockerSwarmStringInternalServerError) Error() string
func (*StackCreateDockerSwarmStringInternalServerError) IsClientError ¶
func (o *StackCreateDockerSwarmStringInternalServerError) IsClientError() bool
IsClientError returns true when this stack create docker swarm string internal server error response has a 4xx status code
func (*StackCreateDockerSwarmStringInternalServerError) IsCode ¶
func (o *StackCreateDockerSwarmStringInternalServerError) IsCode(code int) bool
IsCode returns true when this stack create docker swarm string internal server error response a status code equal to that given
func (*StackCreateDockerSwarmStringInternalServerError) IsRedirect ¶
func (o *StackCreateDockerSwarmStringInternalServerError) IsRedirect() bool
IsRedirect returns true when this stack create docker swarm string internal server error response has a 3xx status code
func (*StackCreateDockerSwarmStringInternalServerError) IsServerError ¶
func (o *StackCreateDockerSwarmStringInternalServerError) IsServerError() bool
IsServerError returns true when this stack create docker swarm string internal server error response has a 5xx status code
func (*StackCreateDockerSwarmStringInternalServerError) IsSuccess ¶
func (o *StackCreateDockerSwarmStringInternalServerError) IsSuccess() bool
IsSuccess returns true when this stack create docker swarm string internal server error response has a 2xx status code
func (*StackCreateDockerSwarmStringInternalServerError) String ¶
func (o *StackCreateDockerSwarmStringInternalServerError) String() 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 ¶
func (o *StackCreateDockerSwarmStringOK) Code() int
Code gets the status code for the stack create docker swarm string o k response
func (*StackCreateDockerSwarmStringOK) Error ¶
func (o *StackCreateDockerSwarmStringOK) Error() string
func (*StackCreateDockerSwarmStringOK) GetPayload ¶
func (o *StackCreateDockerSwarmStringOK) GetPayload() *models.PortainereeStack
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 ¶
func (o *StackCreateDockerSwarmStringOK) String() 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 ¶
func (o *StackCreateDockerSwarmStringParams) SetBody(body *models.StacksSwarmStackFromFileContentPayload)
SetBody adds the body to the stack create docker swarm string params
func (*StackCreateDockerSwarmStringParams) SetContext ¶
func (o *StackCreateDockerSwarmStringParams) SetContext(ctx context.Context)
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 ¶
func (o *StackCreateDockerSwarmStringParams) WithBody(body *models.StacksSwarmStackFromFileContentPayload) *StackCreateDockerSwarmStringParams
WithBody adds the body to the stack create docker swarm string params
func (*StackCreateDockerSwarmStringParams) WithContext ¶
func (o *StackCreateDockerSwarmStringParams) WithContext(ctx context.Context) *StackCreateDockerSwarmStringParams
WithContext adds the context to the stack create docker swarm string params
func (*StackCreateDockerSwarmStringParams) WithDefaults ¶
func (o *StackCreateDockerSwarmStringParams) WithDefaults() *StackCreateDockerSwarmStringParams
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 ¶
func (o *StackCreateDockerSwarmStringParams) WithEndpointID(endpointID int64) *StackCreateDockerSwarmStringParams
WithEndpointID adds the endpointID to the stack create docker swarm string params
func (*StackCreateDockerSwarmStringParams) WithHTTPClient ¶
func (o *StackCreateDockerSwarmStringParams) WithHTTPClient(client *http.Client) *StackCreateDockerSwarmStringParams
WithHTTPClient adds the HTTPClient to the stack create docker swarm string params
func (*StackCreateDockerSwarmStringParams) WithTimeout ¶
func (o *StackCreateDockerSwarmStringParams) WithTimeout(timeout time.Duration) *StackCreateDockerSwarmStringParams
WithTimeout adds the timeout to the stack create docker swarm string params
func (*StackCreateDockerSwarmStringParams) WriteToRequest ¶
func (o *StackCreateDockerSwarmStringParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *StackCreateKubernetesFileBadRequest) Code() int
Code gets the status code for the stack create kubernetes file bad request response
func (*StackCreateKubernetesFileBadRequest) Error ¶
func (o *StackCreateKubernetesFileBadRequest) Error() string
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 ¶
func (o *StackCreateKubernetesFileBadRequest) IsCode(code int) bool
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 ¶
func (o *StackCreateKubernetesFileBadRequest) IsSuccess() bool
IsSuccess returns true when this stack create kubernetes file bad request response has a 2xx status code
func (*StackCreateKubernetesFileBadRequest) String ¶
func (o *StackCreateKubernetesFileBadRequest) String() 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 ¶
func (o *StackCreateKubernetesFileInternalServerError) Code() int
Code gets the status code for the stack create kubernetes file internal server error response
func (*StackCreateKubernetesFileInternalServerError) Error ¶
func (o *StackCreateKubernetesFileInternalServerError) Error() string
func (*StackCreateKubernetesFileInternalServerError) IsClientError ¶
func (o *StackCreateKubernetesFileInternalServerError) IsClientError() bool
IsClientError returns true when this stack create kubernetes file internal server error response has a 4xx status code
func (*StackCreateKubernetesFileInternalServerError) IsCode ¶
func (o *StackCreateKubernetesFileInternalServerError) IsCode(code int) bool
IsCode returns true when this stack create kubernetes file internal server error response a status code equal to that given
func (*StackCreateKubernetesFileInternalServerError) IsRedirect ¶
func (o *StackCreateKubernetesFileInternalServerError) IsRedirect() bool
IsRedirect returns true when this stack create kubernetes file internal server error response has a 3xx status code
func (*StackCreateKubernetesFileInternalServerError) IsServerError ¶
func (o *StackCreateKubernetesFileInternalServerError) IsServerError() bool
IsServerError returns true when this stack create kubernetes file internal server error response has a 5xx status code
func (*StackCreateKubernetesFileInternalServerError) IsSuccess ¶
func (o *StackCreateKubernetesFileInternalServerError) IsSuccess() bool
IsSuccess returns true when this stack create kubernetes file internal server error response has a 2xx status code
func (*StackCreateKubernetesFileInternalServerError) String ¶
func (o *StackCreateKubernetesFileInternalServerError) String() 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 (o *StackCreateKubernetesFileOK) Error() string
func (*StackCreateKubernetesFileOK) GetPayload ¶
func (o *StackCreateKubernetesFileOK) GetPayload() *models.PortainereeStack
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 ¶
func (o *StackCreateKubernetesFileParams) SetBody(body *models.StacksKubernetesStringDeploymentPayload)
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 ¶
func (o *StackCreateKubernetesFileParams) WithBody(body *models.StacksKubernetesStringDeploymentPayload) *StackCreateKubernetesFileParams
WithBody adds the body to the stack create kubernetes file params
func (*StackCreateKubernetesFileParams) WithContext ¶
func (o *StackCreateKubernetesFileParams) WithContext(ctx context.Context) *StackCreateKubernetesFileParams
WithContext adds the context to the stack create kubernetes file params
func (*StackCreateKubernetesFileParams) WithDefaults ¶
func (o *StackCreateKubernetesFileParams) WithDefaults() *StackCreateKubernetesFileParams
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 ¶
func (o *StackCreateKubernetesFileParams) WithEndpointID(endpointID int64) *StackCreateKubernetesFileParams
WithEndpointID adds the endpointID to the stack create kubernetes file params
func (*StackCreateKubernetesFileParams) WithHTTPClient ¶
func (o *StackCreateKubernetesFileParams) WithHTTPClient(client *http.Client) *StackCreateKubernetesFileParams
WithHTTPClient adds the HTTPClient to the stack create kubernetes file params
func (*StackCreateKubernetesFileParams) WithTimeout ¶
func (o *StackCreateKubernetesFileParams) WithTimeout(timeout time.Duration) *StackCreateKubernetesFileParams
WithTimeout adds the timeout to the stack create kubernetes file params
func (*StackCreateKubernetesFileParams) WriteToRequest ¶
func (o *StackCreateKubernetesFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *StackCreateKubernetesGitBadRequest) Code() int
Code gets the status code for the stack create kubernetes git bad request response
func (*StackCreateKubernetesGitBadRequest) Error ¶
func (o *StackCreateKubernetesGitBadRequest) Error() string
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 ¶
func (o *StackCreateKubernetesGitBadRequest) IsCode(code int) bool
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 ¶
func (o *StackCreateKubernetesGitBadRequest) IsSuccess() bool
IsSuccess returns true when this stack create kubernetes git bad request response has a 2xx status code
func (*StackCreateKubernetesGitBadRequest) String ¶
func (o *StackCreateKubernetesGitBadRequest) String() 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 ¶
func (o *StackCreateKubernetesGitConflict) Code() int
Code gets the status code for the stack create kubernetes git conflict response
func (*StackCreateKubernetesGitConflict) Error ¶
func (o *StackCreateKubernetesGitConflict) Error() string
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 ¶
func (o *StackCreateKubernetesGitConflict) String() 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 ¶
func (o *StackCreateKubernetesGitInternalServerError) Code() int
Code gets the status code for the stack create kubernetes git internal server error response
func (*StackCreateKubernetesGitInternalServerError) Error ¶
func (o *StackCreateKubernetesGitInternalServerError) Error() string
func (*StackCreateKubernetesGitInternalServerError) IsClientError ¶
func (o *StackCreateKubernetesGitInternalServerError) IsClientError() bool
IsClientError returns true when this stack create kubernetes git internal server error response has a 4xx status code
func (*StackCreateKubernetesGitInternalServerError) IsCode ¶
func (o *StackCreateKubernetesGitInternalServerError) IsCode(code int) bool
IsCode returns true when this stack create kubernetes git internal server error response a status code equal to that given
func (*StackCreateKubernetesGitInternalServerError) IsRedirect ¶
func (o *StackCreateKubernetesGitInternalServerError) IsRedirect() bool
IsRedirect returns true when this stack create kubernetes git internal server error response has a 3xx status code
func (*StackCreateKubernetesGitInternalServerError) IsServerError ¶
func (o *StackCreateKubernetesGitInternalServerError) IsServerError() bool
IsServerError returns true when this stack create kubernetes git internal server error response has a 5xx status code
func (*StackCreateKubernetesGitInternalServerError) IsSuccess ¶
func (o *StackCreateKubernetesGitInternalServerError) IsSuccess() bool
IsSuccess returns true when this stack create kubernetes git internal server error response has a 2xx status code
func (*StackCreateKubernetesGitInternalServerError) String ¶
func (o *StackCreateKubernetesGitInternalServerError) String() 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 (o *StackCreateKubernetesGitOK) Error() string
func (*StackCreateKubernetesGitOK) GetPayload ¶
func (o *StackCreateKubernetesGitOK) GetPayload() *models.PortainereeStack
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 ¶
func (o *StackCreateKubernetesGitParams) SetBody(body *models.StacksKubernetesGitDeploymentPayload)
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 ¶
func (o *StackCreateKubernetesGitParams) WithBody(body *models.StacksKubernetesGitDeploymentPayload) *StackCreateKubernetesGitParams
WithBody adds the body to the stack create kubernetes git params
func (*StackCreateKubernetesGitParams) WithContext ¶
func (o *StackCreateKubernetesGitParams) WithContext(ctx context.Context) *StackCreateKubernetesGitParams
WithContext adds the context to the stack create kubernetes git params
func (*StackCreateKubernetesGitParams) WithDefaults ¶
func (o *StackCreateKubernetesGitParams) WithDefaults() *StackCreateKubernetesGitParams
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 ¶
func (o *StackCreateKubernetesGitParams) WithEndpointID(endpointID int64) *StackCreateKubernetesGitParams
WithEndpointID adds the endpointID to the stack create kubernetes git params
func (*StackCreateKubernetesGitParams) WithHTTPClient ¶
func (o *StackCreateKubernetesGitParams) WithHTTPClient(client *http.Client) *StackCreateKubernetesGitParams
WithHTTPClient adds the HTTPClient to the stack create kubernetes git params
func (*StackCreateKubernetesGitParams) WithTimeout ¶
func (o *StackCreateKubernetesGitParams) WithTimeout(timeout time.Duration) *StackCreateKubernetesGitParams
WithTimeout adds the timeout to the stack create kubernetes git params
func (*StackCreateKubernetesGitParams) WriteToRequest ¶
func (o *StackCreateKubernetesGitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *StackCreateKubernetesURLBadRequest) Code() int
Code gets the status code for the stack create kubernetes Url bad request response
func (*StackCreateKubernetesURLBadRequest) Error ¶
func (o *StackCreateKubernetesURLBadRequest) Error() string
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 ¶
func (o *StackCreateKubernetesURLBadRequest) IsCode(code int) bool
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 ¶
func (o *StackCreateKubernetesURLBadRequest) IsSuccess() bool
IsSuccess returns true when this stack create kubernetes Url bad request response has a 2xx status code
func (*StackCreateKubernetesURLBadRequest) String ¶
func (o *StackCreateKubernetesURLBadRequest) String() 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 ¶
func (o *StackCreateKubernetesURLInternalServerError) Code() int
Code gets the status code for the stack create kubernetes Url internal server error response
func (*StackCreateKubernetesURLInternalServerError) Error ¶
func (o *StackCreateKubernetesURLInternalServerError) Error() string
func (*StackCreateKubernetesURLInternalServerError) IsClientError ¶
func (o *StackCreateKubernetesURLInternalServerError) IsClientError() bool
IsClientError returns true when this stack create kubernetes Url internal server error response has a 4xx status code
func (*StackCreateKubernetesURLInternalServerError) IsCode ¶
func (o *StackCreateKubernetesURLInternalServerError) IsCode(code int) bool
IsCode returns true when this stack create kubernetes Url internal server error response a status code equal to that given
func (*StackCreateKubernetesURLInternalServerError) IsRedirect ¶
func (o *StackCreateKubernetesURLInternalServerError) IsRedirect() bool
IsRedirect returns true when this stack create kubernetes Url internal server error response has a 3xx status code
func (*StackCreateKubernetesURLInternalServerError) IsServerError ¶
func (o *StackCreateKubernetesURLInternalServerError) IsServerError() bool
IsServerError returns true when this stack create kubernetes Url internal server error response has a 5xx status code
func (*StackCreateKubernetesURLInternalServerError) IsSuccess ¶
func (o *StackCreateKubernetesURLInternalServerError) IsSuccess() bool
IsSuccess returns true when this stack create kubernetes Url internal server error response has a 2xx status code
func (*StackCreateKubernetesURLInternalServerError) String ¶
func (o *StackCreateKubernetesURLInternalServerError) String() 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 (o *StackCreateKubernetesURLOK) Error() string
func (*StackCreateKubernetesURLOK) GetPayload ¶
func (o *StackCreateKubernetesURLOK) GetPayload() *models.PortainereeStack
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 ¶
func (o *StackCreateKubernetesURLParams) SetBody(body *models.StacksKubernetesManifestURLDeploymentPayload)
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 ¶
func (o *StackCreateKubernetesURLParams) WithBody(body *models.StacksKubernetesManifestURLDeploymentPayload) *StackCreateKubernetesURLParams
WithBody adds the body to the stack create kubernetes Url params
func (*StackCreateKubernetesURLParams) WithContext ¶
func (o *StackCreateKubernetesURLParams) WithContext(ctx context.Context) *StackCreateKubernetesURLParams
WithContext adds the context to the stack create kubernetes Url params
func (*StackCreateKubernetesURLParams) WithDefaults ¶
func (o *StackCreateKubernetesURLParams) WithDefaults() *StackCreateKubernetesURLParams
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 ¶
func (o *StackCreateKubernetesURLParams) WithEndpointID(endpointID int64) *StackCreateKubernetesURLParams
WithEndpointID adds the endpointID to the stack create kubernetes Url params
func (*StackCreateKubernetesURLParams) WithHTTPClient ¶
func (o *StackCreateKubernetesURLParams) WithHTTPClient(client *http.Client) *StackCreateKubernetesURLParams
WithHTTPClient adds the HTTPClient to the stack create kubernetes Url params
func (*StackCreateKubernetesURLParams) WithTimeout ¶
func (o *StackCreateKubernetesURLParams) WithTimeout(timeout time.Duration) *StackCreateKubernetesURLParams
WithTimeout adds the timeout to the stack create kubernetes Url params
func (*StackCreateKubernetesURLParams) WriteToRequest ¶
func (o *StackCreateKubernetesURLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *StackDeleteInternalServerError) Code() int
Code gets the status code for the stack delete internal server error response
func (*StackDeleteInternalServerError) Error ¶
func (o *StackDeleteInternalServerError) Error() string
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 ¶
func (o *StackDeleteInternalServerError) String() 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 ¶
func (o *StackDeleteKubernetesByNameBadRequest) Code() int
Code gets the status code for the stack delete kubernetes by name bad request response
func (*StackDeleteKubernetesByNameBadRequest) Error ¶
func (o *StackDeleteKubernetesByNameBadRequest) Error() string
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 ¶
func (o *StackDeleteKubernetesByNameBadRequest) IsCode(code int) bool
IsCode returns true when this stack delete kubernetes by name bad request response a status code equal to that given
func (*StackDeleteKubernetesByNameBadRequest) IsRedirect ¶
func (o *StackDeleteKubernetesByNameBadRequest) IsRedirect() bool
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 ¶
func (o *StackDeleteKubernetesByNameBadRequest) IsSuccess() bool
IsSuccess returns true when this stack delete kubernetes by name bad request response has a 2xx status code
func (*StackDeleteKubernetesByNameBadRequest) String ¶
func (o *StackDeleteKubernetesByNameBadRequest) String() 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 ¶
func (o *StackDeleteKubernetesByNameForbidden) Code() int
Code gets the status code for the stack delete kubernetes by name forbidden response
func (*StackDeleteKubernetesByNameForbidden) Error ¶
func (o *StackDeleteKubernetesByNameForbidden) Error() string
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 ¶
func (o *StackDeleteKubernetesByNameForbidden) IsCode(code int) bool
IsCode returns true when this stack delete kubernetes by name forbidden response a status code equal to that given
func (*StackDeleteKubernetesByNameForbidden) IsRedirect ¶
func (o *StackDeleteKubernetesByNameForbidden) IsRedirect() bool
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 ¶
func (o *StackDeleteKubernetesByNameForbidden) IsSuccess() bool
IsSuccess returns true when this stack delete kubernetes by name forbidden response has a 2xx status code
func (*StackDeleteKubernetesByNameForbidden) String ¶
func (o *StackDeleteKubernetesByNameForbidden) String() 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 ¶
func (o *StackDeleteKubernetesByNameInternalServerError) Code() int
Code gets the status code for the stack delete kubernetes by name internal server error response
func (*StackDeleteKubernetesByNameInternalServerError) Error ¶
func (o *StackDeleteKubernetesByNameInternalServerError) Error() string
func (*StackDeleteKubernetesByNameInternalServerError) IsClientError ¶
func (o *StackDeleteKubernetesByNameInternalServerError) IsClientError() bool
IsClientError returns true when this stack delete kubernetes by name internal server error response has a 4xx status code
func (*StackDeleteKubernetesByNameInternalServerError) IsCode ¶
func (o *StackDeleteKubernetesByNameInternalServerError) IsCode(code int) bool
IsCode returns true when this stack delete kubernetes by name internal server error response a status code equal to that given
func (*StackDeleteKubernetesByNameInternalServerError) IsRedirect ¶
func (o *StackDeleteKubernetesByNameInternalServerError) IsRedirect() bool
IsRedirect returns true when this stack delete kubernetes by name internal server error response has a 3xx status code
func (*StackDeleteKubernetesByNameInternalServerError) IsServerError ¶
func (o *StackDeleteKubernetesByNameInternalServerError) IsServerError() bool
IsServerError returns true when this stack delete kubernetes by name internal server error response has a 5xx status code
func (*StackDeleteKubernetesByNameInternalServerError) IsSuccess ¶
func (o *StackDeleteKubernetesByNameInternalServerError) IsSuccess() bool
IsSuccess returns true when this stack delete kubernetes by name internal server error response has a 2xx status code
func (*StackDeleteKubernetesByNameInternalServerError) String ¶
func (o *StackDeleteKubernetesByNameInternalServerError) String() 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 ¶
func (o *StackDeleteKubernetesByNameNoContent) Code() int
Code gets the status code for the stack delete kubernetes by name no content response
func (*StackDeleteKubernetesByNameNoContent) Error ¶
func (o *StackDeleteKubernetesByNameNoContent) Error() string
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 ¶
func (o *StackDeleteKubernetesByNameNoContent) IsCode(code int) bool
IsCode returns true when this stack delete kubernetes by name no content response a status code equal to that given
func (*StackDeleteKubernetesByNameNoContent) IsRedirect ¶
func (o *StackDeleteKubernetesByNameNoContent) IsRedirect() bool
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 ¶
func (o *StackDeleteKubernetesByNameNoContent) IsSuccess() bool
IsSuccess returns true when this stack delete kubernetes by name no content response has a 2xx status code
func (*StackDeleteKubernetesByNameNoContent) String ¶
func (o *StackDeleteKubernetesByNameNoContent) String() 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 ¶
func (o *StackDeleteKubernetesByNameNotFound) Code() int
Code gets the status code for the stack delete kubernetes by name not found response
func (*StackDeleteKubernetesByNameNotFound) Error ¶
func (o *StackDeleteKubernetesByNameNotFound) Error() string
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 ¶
func (o *StackDeleteKubernetesByNameNotFound) IsCode(code int) bool
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 ¶
func (o *StackDeleteKubernetesByNameNotFound) IsSuccess() bool
IsSuccess returns true when this stack delete kubernetes by name not found response has a 2xx status code
func (*StackDeleteKubernetesByNameNotFound) String ¶
func (o *StackDeleteKubernetesByNameNotFound) String() 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 ¶
func (o *StackDeleteKubernetesByNameParams) SetContext(ctx context.Context)
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 ¶
func (o *StackDeleteKubernetesByNameParams) WithContext(ctx context.Context) *StackDeleteKubernetesByNameParams
WithContext adds the context to the stack delete kubernetes by name params
func (*StackDeleteKubernetesByNameParams) WithDefaults ¶
func (o *StackDeleteKubernetesByNameParams) WithDefaults() *StackDeleteKubernetesByNameParams
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 ¶
func (o *StackDeleteKubernetesByNameParams) WithEndpointID(endpointID int64) *StackDeleteKubernetesByNameParams
WithEndpointID adds the endpointID to the stack delete kubernetes by name params
func (*StackDeleteKubernetesByNameParams) WithExternal ¶
func (o *StackDeleteKubernetesByNameParams) WithExternal(external *bool) *StackDeleteKubernetesByNameParams
WithExternal adds the external to the stack delete kubernetes by name params
func (*StackDeleteKubernetesByNameParams) WithHTTPClient ¶
func (o *StackDeleteKubernetesByNameParams) WithHTTPClient(client *http.Client) *StackDeleteKubernetesByNameParams
WithHTTPClient adds the HTTPClient to the stack delete kubernetes by name params
func (*StackDeleteKubernetesByNameParams) WithName ¶
func (o *StackDeleteKubernetesByNameParams) WithName(name string) *StackDeleteKubernetesByNameParams
WithName adds the name to the stack delete kubernetes by name params
func (*StackDeleteKubernetesByNameParams) WithTimeout ¶
func (o *StackDeleteKubernetesByNameParams) WithTimeout(timeout time.Duration) *StackDeleteKubernetesByNameParams
WithTimeout adds the timeout to the stack delete kubernetes by name params
func (*StackDeleteKubernetesByNameParams) WriteToRequest ¶
func (o *StackDeleteKubernetesByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *StackFileInspectBadRequest) Error() string
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 ¶
func (o *StackFileInspectInternalServerError) Code() int
Code gets the status code for the stack file inspect internal server error response
func (*StackFileInspectInternalServerError) Error ¶
func (o *StackFileInspectInternalServerError) Error() string
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 ¶
func (o *StackFileInspectInternalServerError) IsCode(code int) bool
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 ¶
func (o *StackFileInspectInternalServerError) IsSuccess() bool
IsSuccess returns true when this stack file inspect internal server error response has a 2xx status code
func (*StackFileInspectInternalServerError) String ¶
func (o *StackFileInspectInternalServerError) String() 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 (o *StackFileInspectOK) GetPayload() *models.StacksStackFileResponse
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 ¶
func (o *StackFileInspectParams) WithContext(ctx context.Context) *StackFileInspectParams
WithContext adds the context to the stack file inspect params
func (*StackFileInspectParams) WithDefaults ¶
func (o *StackFileInspectParams) WithDefaults() *StackFileInspectParams
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 ¶
func (o *StackFileInspectParams) WithID(id int64) *StackFileInspectParams
WithID adds the id to the stack file inspect params
func (*StackFileInspectParams) WithTimeout ¶
func (o *StackFileInspectParams) WithTimeout(timeout time.Duration) *StackFileInspectParams
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 ¶
func (o *StackFileInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *StackGitRedeployBadRequest) Error() string
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 ¶
func (o *StackGitRedeployInternalServerError) Code() int
Code gets the status code for the stack git redeploy internal server error response
func (*StackGitRedeployInternalServerError) Error ¶
func (o *StackGitRedeployInternalServerError) Error() string
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 ¶
func (o *StackGitRedeployInternalServerError) IsCode(code int) bool
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 ¶
func (o *StackGitRedeployInternalServerError) IsSuccess() bool
IsSuccess returns true when this stack git redeploy internal server error response has a 2xx status code
func (*StackGitRedeployInternalServerError) String ¶
func (o *StackGitRedeployInternalServerError) String() 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 ¶
func (o *StackGitRedeployParams) SetBody(body *models.StacksStackGitRedployPayload)
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 ¶
func (o *StackGitRedeployParams) WithBody(body *models.StacksStackGitRedployPayload) *StackGitRedeployParams
WithBody adds the body to the stack git redeploy params
func (*StackGitRedeployParams) WithContext ¶
func (o *StackGitRedeployParams) WithContext(ctx context.Context) *StackGitRedeployParams
WithContext adds the context to the stack git redeploy params
func (*StackGitRedeployParams) WithDefaults ¶
func (o *StackGitRedeployParams) WithDefaults() *StackGitRedeployParams
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 ¶
func (o *StackGitRedeployParams) WithID(id int64) *StackGitRedeployParams
WithID adds the id to the stack git redeploy params
func (*StackGitRedeployParams) WithTimeout ¶
func (o *StackGitRedeployParams) WithTimeout(timeout time.Duration) *StackGitRedeployParams
WithTimeout adds the timeout to the stack git redeploy params
func (*StackGitRedeployParams) WriteToRequest ¶
func (o *StackGitRedeployParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *StackImagesStatusBadRequest) Error() string
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 ¶
func (o *StackImagesStatusInternalServerError) Code() int
Code gets the status code for the stack images status internal server error response
func (*StackImagesStatusInternalServerError) Error ¶
func (o *StackImagesStatusInternalServerError) Error() string
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 ¶
func (o *StackImagesStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this stack images status internal server error response a status code equal to that given
func (*StackImagesStatusInternalServerError) IsRedirect ¶
func (o *StackImagesStatusInternalServerError) IsRedirect() bool
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 ¶
func (o *StackImagesStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this stack images status internal server error response has a 2xx status code
func (*StackImagesStatusInternalServerError) String ¶
func (o *StackImagesStatusInternalServerError) String() 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 (o *StackImagesStatusOK) GetPayload() *models.ImagesStatusResponse
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 ¶
func (o *StackImagesStatusParams) WithContext(ctx context.Context) *StackImagesStatusParams
WithContext adds the context to the stack images status params
func (*StackImagesStatusParams) WithDefaults ¶
func (o *StackImagesStatusParams) WithDefaults() *StackImagesStatusParams
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 ¶
func (o *StackImagesStatusParams) WithID(id int64) *StackImagesStatusParams
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 ¶
func (o *StackImagesStatusParams) WithTimeout(timeout time.Duration) *StackImagesStatusParams
WithTimeout adds the timeout to the stack images status params
func (*StackImagesStatusParams) WriteToRequest ¶
func (o *StackImagesStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *StackInspectInternalServerError) Code() int
Code gets the status code for the stack inspect internal server error response
func (*StackInspectInternalServerError) Error ¶
func (o *StackInspectInternalServerError) Error() string
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 ¶
func (o *StackInspectInternalServerError) String() 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 ¶
func (o *StackInspectParams) WithContext(ctx context.Context) *StackInspectParams
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 ¶
func (o *StackInspectParams) WithID(id int64) *StackInspectParams
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 ¶
func (o *StackListInternalServerError) Code() int
Code gets the status code for the stack list internal server error response
func (*StackListInternalServerError) Error ¶
func (o *StackListInternalServerError) Error() string
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 ¶
func (o *StackListInternalServerError) String() 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 ¶
func (o *StackMigrateInternalServerError) Code() int
Code gets the status code for the stack migrate internal server error response
func (*StackMigrateInternalServerError) Error ¶
func (o *StackMigrateInternalServerError) Error() string
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 ¶
func (o *StackMigrateInternalServerError) String() 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 ¶
func (o *StackMigrateParams) SetBody(body *models.StacksStackMigratePayload)
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 ¶
func (o *StackMigrateParams) WithBody(body *models.StacksStackMigratePayload) *StackMigrateParams
WithBody adds the body to the stack migrate params
func (*StackMigrateParams) WithContext ¶
func (o *StackMigrateParams) WithContext(ctx context.Context) *StackMigrateParams
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 ¶
func (o *StackMigrateParams) WithID(id int64) *StackMigrateParams
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 ¶
func (o *StackStartInternalServerError) Code() int
Code gets the status code for the stack start internal server error response
func (*StackStartInternalServerError) Error ¶
func (o *StackStartInternalServerError) Error() string
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 ¶
func (o *StackStartInternalServerError) String() 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 ¶
func (o *StackStopInternalServerError) Code() int
Code gets the status code for the stack stop internal server error response
func (*StackStopInternalServerError) Error ¶
func (o *StackStopInternalServerError) Error() string
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 ¶
func (o *StackStopInternalServerError) String() 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 ¶
func (o *StackUpdateGitInternalServerError) Code() int
Code gets the status code for the stack update git internal server error response
func (*StackUpdateGitInternalServerError) Error ¶
func (o *StackUpdateGitInternalServerError) Error() string
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 ¶
func (o *StackUpdateGitInternalServerError) String() 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 ¶
func (o *StackUpdateGitParams) SetBody(body *models.StacksStackGitUpdatePayload)
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 ¶
func (o *StackUpdateGitParams) WithBody(body *models.StacksStackGitUpdatePayload) *StackUpdateGitParams
WithBody adds the body to the stack update git params
func (*StackUpdateGitParams) WithContext ¶
func (o *StackUpdateGitParams) WithContext(ctx context.Context) *StackUpdateGitParams
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 ¶
func (o *StackUpdateGitParams) WithID(id int64) *StackUpdateGitParams
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 ¶
func (o *StackUpdateInternalServerError) Code() int
Code gets the status code for the stack update internal server error response
func (*StackUpdateInternalServerError) Error ¶
func (o *StackUpdateInternalServerError) Error() string
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 ¶
func (o *StackUpdateInternalServerError) String() 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 ¶
func (o *StackUpdateParams) SetBody(body *models.StacksUpdateStackPayload)
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 ¶
func (o *StackUpdateParams) WithBody(body *models.StacksUpdateStackPayload) *StackUpdateParams
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 ¶
func (o *StacksWebhookInvokeBadRequest) Code() int
Code gets the status code for the stacks webhook invoke bad request response
func (*StacksWebhookInvokeBadRequest) Error ¶
func (o *StacksWebhookInvokeBadRequest) Error() string
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 ¶
func (o *StacksWebhookInvokeBadRequest) String() 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 (o *StacksWebhookInvokeConflict) Error() string
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 ¶
func (o *StacksWebhookInvokeInternalServerError) Code() int
Code gets the status code for the stacks webhook invoke internal server error response
func (*StacksWebhookInvokeInternalServerError) Error ¶
func (o *StacksWebhookInvokeInternalServerError) Error() string
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 ¶
func (o *StacksWebhookInvokeInternalServerError) IsCode(code int) bool
IsCode returns true when this stacks webhook invoke internal server error response a status code equal to that given
func (*StacksWebhookInvokeInternalServerError) IsRedirect ¶
func (o *StacksWebhookInvokeInternalServerError) IsRedirect() bool
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 ¶
func (o *StacksWebhookInvokeInternalServerError) IsSuccess() bool
IsSuccess returns true when this stacks webhook invoke internal server error response has a 2xx status code
func (*StacksWebhookInvokeInternalServerError) String ¶
func (o *StacksWebhookInvokeInternalServerError) String() 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 ¶
func (o *StacksWebhookInvokeParams) WithContext(ctx context.Context) *StacksWebhookInvokeParams
WithContext adds the context to the stacks webhook invoke params
func (*StacksWebhookInvokeParams) WithDefaults ¶
func (o *StacksWebhookInvokeParams) WithDefaults() *StacksWebhookInvokeParams
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 ¶
func (o *StacksWebhookInvokeParams) WithTimeout(timeout time.Duration) *StacksWebhookInvokeParams
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 ¶
func (o *StacksWebhookInvokeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
¶
- edge_stack_webhook_invoke_parameters.go
- edge_stack_webhook_invoke_responses.go
- stack_associate_parameters.go
- stack_associate_responses.go
- stack_create_docker_standalone_file_parameters.go
- stack_create_docker_standalone_file_responses.go
- stack_create_docker_standalone_repository_parameters.go
- stack_create_docker_standalone_repository_responses.go
- stack_create_docker_standalone_string_parameters.go
- stack_create_docker_standalone_string_responses.go
- stack_create_docker_swarm_file_parameters.go
- stack_create_docker_swarm_file_responses.go
- stack_create_docker_swarm_repository_parameters.go
- stack_create_docker_swarm_repository_responses.go
- stack_create_docker_swarm_string_parameters.go
- stack_create_docker_swarm_string_responses.go
- stack_create_kubernetes_file_parameters.go
- stack_create_kubernetes_file_responses.go
- stack_create_kubernetes_git_parameters.go
- stack_create_kubernetes_git_responses.go
- stack_create_kubernetes_url_parameters.go
- stack_create_kubernetes_url_responses.go
- stack_delete_kubernetes_by_name_parameters.go
- stack_delete_kubernetes_by_name_responses.go
- stack_delete_parameters.go
- stack_delete_responses.go
- stack_file_inspect_parameters.go
- stack_file_inspect_responses.go
- stack_git_redeploy_parameters.go
- stack_git_redeploy_responses.go
- stack_images_status_parameters.go
- stack_images_status_responses.go
- stack_inspect_parameters.go
- stack_inspect_responses.go
- stack_list_parameters.go
- stack_list_responses.go
- stack_migrate_parameters.go
- stack_migrate_responses.go
- stack_start_parameters.go
- stack_start_responses.go
- stack_stop_parameters.go
- stack_stop_responses.go
- stack_update_git_parameters.go
- stack_update_git_responses.go
- stack_update_parameters.go
- stack_update_responses.go
- stacks_client.go
- stacks_webhook_invoke_parameters.go
- stacks_webhook_invoke_responses.go