Documentation ¶
Index ¶
- type AppendBuildToVersionDefault
- func (o *AppendBuildToVersionDefault) Code() int
- func (o *AppendBuildToVersionDefault) Error() string
- func (o *AppendBuildToVersionDefault) GetPayload() *models.GeneralError
- func (o *AppendBuildToVersionDefault) IsClientError() bool
- func (o *AppendBuildToVersionDefault) IsCode(code int) bool
- func (o *AppendBuildToVersionDefault) IsRedirect() bool
- func (o *AppendBuildToVersionDefault) IsServerError() bool
- func (o *AppendBuildToVersionDefault) IsSuccess() bool
- func (o *AppendBuildToVersionDefault) String() string
- type AppendBuildToVersionForbidden
- func (o *AppendBuildToVersionForbidden) Code() int
- func (o *AppendBuildToVersionForbidden) Error() string
- func (o *AppendBuildToVersionForbidden) GetPayload() *models.GeneralError
- func (o *AppendBuildToVersionForbidden) IsClientError() bool
- func (o *AppendBuildToVersionForbidden) IsCode(code int) bool
- func (o *AppendBuildToVersionForbidden) IsRedirect() bool
- func (o *AppendBuildToVersionForbidden) IsServerError() bool
- func (o *AppendBuildToVersionForbidden) IsSuccess() bool
- func (o *AppendBuildToVersionForbidden) String() string
- type AppendBuildToVersionNotFound
- func (o *AppendBuildToVersionNotFound) Code() int
- func (o *AppendBuildToVersionNotFound) Error() string
- func (o *AppendBuildToVersionNotFound) GetPayload() *models.GeneralError
- func (o *AppendBuildToVersionNotFound) IsClientError() bool
- func (o *AppendBuildToVersionNotFound) IsCode(code int) bool
- func (o *AppendBuildToVersionNotFound) IsRedirect() bool
- func (o *AppendBuildToVersionNotFound) IsServerError() bool
- func (o *AppendBuildToVersionNotFound) IsSuccess() bool
- func (o *AppendBuildToVersionNotFound) String() string
- type AppendBuildToVersionOK
- func (o *AppendBuildToVersionOK) Code() int
- func (o *AppendBuildToVersionOK) Error() string
- func (o *AppendBuildToVersionOK) GetPayload() *models.GeneralError
- func (o *AppendBuildToVersionOK) IsClientError() bool
- func (o *AppendBuildToVersionOK) IsCode(code int) bool
- func (o *AppendBuildToVersionOK) IsRedirect() bool
- func (o *AppendBuildToVersionOK) IsServerError() bool
- func (o *AppendBuildToVersionOK) IsSuccess() bool
- func (o *AppendBuildToVersionOK) String() string
- type AppendBuildToVersionParams
- func NewAppendBuildToVersionParams() *AppendBuildToVersionParams
- func NewAppendBuildToVersionParamsWithContext(ctx context.Context) *AppendBuildToVersionParams
- func NewAppendBuildToVersionParamsWithHTTPClient(client *http.Client) *AppendBuildToVersionParams
- func NewAppendBuildToVersionParamsWithTimeout(timeout time.Duration) *AppendBuildToVersionParams
- func (o *AppendBuildToVersionParams) SetBuildID(buildID string)
- func (o *AppendBuildToVersionParams) SetBuildVersion(buildVersion *models.BuildVersionParams)
- func (o *AppendBuildToVersionParams) SetContext(ctx context.Context)
- func (o *AppendBuildToVersionParams) SetDefaults()
- func (o *AppendBuildToVersionParams) SetHTTPClient(client *http.Client)
- func (o *AppendBuildToVersionParams) SetPackID(packID string)
- func (o *AppendBuildToVersionParams) SetTimeout(timeout time.Duration)
- func (o *AppendBuildToVersionParams) WithBuildID(buildID string) *AppendBuildToVersionParams
- func (o *AppendBuildToVersionParams) WithBuildVersion(buildVersion *models.BuildVersionParams) *AppendBuildToVersionParams
- func (o *AppendBuildToVersionParams) WithContext(ctx context.Context) *AppendBuildToVersionParams
- func (o *AppendBuildToVersionParams) WithDefaults() *AppendBuildToVersionParams
- func (o *AppendBuildToVersionParams) WithHTTPClient(client *http.Client) *AppendBuildToVersionParams
- func (o *AppendBuildToVersionParams) WithPackID(packID string) *AppendBuildToVersionParams
- func (o *AppendBuildToVersionParams) WithTimeout(timeout time.Duration) *AppendBuildToVersionParams
- func (o *AppendBuildToVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AppendBuildToVersionPreconditionFailed
- func (o *AppendBuildToVersionPreconditionFailed) Code() int
- func (o *AppendBuildToVersionPreconditionFailed) Error() string
- func (o *AppendBuildToVersionPreconditionFailed) GetPayload() *models.GeneralError
- func (o *AppendBuildToVersionPreconditionFailed) IsClientError() bool
- func (o *AppendBuildToVersionPreconditionFailed) IsCode(code int) bool
- func (o *AppendBuildToVersionPreconditionFailed) IsRedirect() bool
- func (o *AppendBuildToVersionPreconditionFailed) IsServerError() bool
- func (o *AppendBuildToVersionPreconditionFailed) IsSuccess() bool
- func (o *AppendBuildToVersionPreconditionFailed) String() string
- type AppendBuildToVersionReader
- type AppendBuildToVersionUnprocessableEntity
- func (o *AppendBuildToVersionUnprocessableEntity) Code() int
- func (o *AppendBuildToVersionUnprocessableEntity) Error() string
- func (o *AppendBuildToVersionUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *AppendBuildToVersionUnprocessableEntity) IsClientError() bool
- func (o *AppendBuildToVersionUnprocessableEntity) IsCode(code int) bool
- func (o *AppendBuildToVersionUnprocessableEntity) IsRedirect() bool
- func (o *AppendBuildToVersionUnprocessableEntity) IsServerError() bool
- func (o *AppendBuildToVersionUnprocessableEntity) IsSuccess() bool
- func (o *AppendBuildToVersionUnprocessableEntity) String() string
- type AttachPackToTeamDefault
- func (o *AttachPackToTeamDefault) Code() int
- func (o *AttachPackToTeamDefault) Error() string
- func (o *AttachPackToTeamDefault) GetPayload() *models.GeneralError
- func (o *AttachPackToTeamDefault) IsClientError() bool
- func (o *AttachPackToTeamDefault) IsCode(code int) bool
- func (o *AttachPackToTeamDefault) IsRedirect() bool
- func (o *AttachPackToTeamDefault) IsServerError() bool
- func (o *AttachPackToTeamDefault) IsSuccess() bool
- func (o *AttachPackToTeamDefault) String() string
- type AttachPackToTeamForbidden
- func (o *AttachPackToTeamForbidden) Code() int
- func (o *AttachPackToTeamForbidden) Error() string
- func (o *AttachPackToTeamForbidden) GetPayload() *models.GeneralError
- func (o *AttachPackToTeamForbidden) IsClientError() bool
- func (o *AttachPackToTeamForbidden) IsCode(code int) bool
- func (o *AttachPackToTeamForbidden) IsRedirect() bool
- func (o *AttachPackToTeamForbidden) IsServerError() bool
- func (o *AttachPackToTeamForbidden) IsSuccess() bool
- func (o *AttachPackToTeamForbidden) String() string
- type AttachPackToTeamNotFound
- func (o *AttachPackToTeamNotFound) Code() int
- func (o *AttachPackToTeamNotFound) Error() string
- func (o *AttachPackToTeamNotFound) GetPayload() *models.GeneralError
- func (o *AttachPackToTeamNotFound) IsClientError() bool
- func (o *AttachPackToTeamNotFound) IsCode(code int) bool
- func (o *AttachPackToTeamNotFound) IsRedirect() bool
- func (o *AttachPackToTeamNotFound) IsServerError() bool
- func (o *AttachPackToTeamNotFound) IsSuccess() bool
- func (o *AttachPackToTeamNotFound) String() string
- type AttachPackToTeamOK
- func (o *AttachPackToTeamOK) Code() int
- func (o *AttachPackToTeamOK) Error() string
- func (o *AttachPackToTeamOK) GetPayload() *models.GeneralError
- func (o *AttachPackToTeamOK) IsClientError() bool
- func (o *AttachPackToTeamOK) IsCode(code int) bool
- func (o *AttachPackToTeamOK) IsRedirect() bool
- func (o *AttachPackToTeamOK) IsServerError() bool
- func (o *AttachPackToTeamOK) IsSuccess() bool
- func (o *AttachPackToTeamOK) String() string
- type AttachPackToTeamParams
- func NewAttachPackToTeamParams() *AttachPackToTeamParams
- func NewAttachPackToTeamParamsWithContext(ctx context.Context) *AttachPackToTeamParams
- func NewAttachPackToTeamParamsWithHTTPClient(client *http.Client) *AttachPackToTeamParams
- func NewAttachPackToTeamParamsWithTimeout(timeout time.Duration) *AttachPackToTeamParams
- func (o *AttachPackToTeamParams) SetContext(ctx context.Context)
- func (o *AttachPackToTeamParams) SetDefaults()
- func (o *AttachPackToTeamParams) SetHTTPClient(client *http.Client)
- func (o *AttachPackToTeamParams) SetPackID(packID string)
- func (o *AttachPackToTeamParams) SetPackTeam(packTeam *models.PackTeamParams)
- func (o *AttachPackToTeamParams) SetTimeout(timeout time.Duration)
- func (o *AttachPackToTeamParams) WithContext(ctx context.Context) *AttachPackToTeamParams
- func (o *AttachPackToTeamParams) WithDefaults() *AttachPackToTeamParams
- func (o *AttachPackToTeamParams) WithHTTPClient(client *http.Client) *AttachPackToTeamParams
- func (o *AttachPackToTeamParams) WithPackID(packID string) *AttachPackToTeamParams
- func (o *AttachPackToTeamParams) WithPackTeam(packTeam *models.PackTeamParams) *AttachPackToTeamParams
- func (o *AttachPackToTeamParams) WithTimeout(timeout time.Duration) *AttachPackToTeamParams
- func (o *AttachPackToTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AttachPackToTeamPreconditionFailed
- func (o *AttachPackToTeamPreconditionFailed) Code() int
- func (o *AttachPackToTeamPreconditionFailed) Error() string
- func (o *AttachPackToTeamPreconditionFailed) GetPayload() *models.GeneralError
- func (o *AttachPackToTeamPreconditionFailed) IsClientError() bool
- func (o *AttachPackToTeamPreconditionFailed) IsCode(code int) bool
- func (o *AttachPackToTeamPreconditionFailed) IsRedirect() bool
- func (o *AttachPackToTeamPreconditionFailed) IsServerError() bool
- func (o *AttachPackToTeamPreconditionFailed) IsSuccess() bool
- func (o *AttachPackToTeamPreconditionFailed) String() string
- type AttachPackToTeamReader
- type AttachPackToTeamUnprocessableEntity
- func (o *AttachPackToTeamUnprocessableEntity) Code() int
- func (o *AttachPackToTeamUnprocessableEntity) Error() string
- func (o *AttachPackToTeamUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *AttachPackToTeamUnprocessableEntity) IsClientError() bool
- func (o *AttachPackToTeamUnprocessableEntity) IsCode(code int) bool
- func (o *AttachPackToTeamUnprocessableEntity) IsRedirect() bool
- func (o *AttachPackToTeamUnprocessableEntity) IsServerError() bool
- func (o *AttachPackToTeamUnprocessableEntity) IsSuccess() bool
- func (o *AttachPackToTeamUnprocessableEntity) String() string
- type AttachPackToUserDefault
- func (o *AttachPackToUserDefault) Code() int
- func (o *AttachPackToUserDefault) Error() string
- func (o *AttachPackToUserDefault) GetPayload() *models.GeneralError
- func (o *AttachPackToUserDefault) IsClientError() bool
- func (o *AttachPackToUserDefault) IsCode(code int) bool
- func (o *AttachPackToUserDefault) IsRedirect() bool
- func (o *AttachPackToUserDefault) IsServerError() bool
- func (o *AttachPackToUserDefault) IsSuccess() bool
- func (o *AttachPackToUserDefault) String() string
- type AttachPackToUserForbidden
- func (o *AttachPackToUserForbidden) Code() int
- func (o *AttachPackToUserForbidden) Error() string
- func (o *AttachPackToUserForbidden) GetPayload() *models.GeneralError
- func (o *AttachPackToUserForbidden) IsClientError() bool
- func (o *AttachPackToUserForbidden) IsCode(code int) bool
- func (o *AttachPackToUserForbidden) IsRedirect() bool
- func (o *AttachPackToUserForbidden) IsServerError() bool
- func (o *AttachPackToUserForbidden) IsSuccess() bool
- func (o *AttachPackToUserForbidden) String() string
- type AttachPackToUserNotFound
- func (o *AttachPackToUserNotFound) Code() int
- func (o *AttachPackToUserNotFound) Error() string
- func (o *AttachPackToUserNotFound) GetPayload() *models.GeneralError
- func (o *AttachPackToUserNotFound) IsClientError() bool
- func (o *AttachPackToUserNotFound) IsCode(code int) bool
- func (o *AttachPackToUserNotFound) IsRedirect() bool
- func (o *AttachPackToUserNotFound) IsServerError() bool
- func (o *AttachPackToUserNotFound) IsSuccess() bool
- func (o *AttachPackToUserNotFound) String() string
- type AttachPackToUserOK
- func (o *AttachPackToUserOK) Code() int
- func (o *AttachPackToUserOK) Error() string
- func (o *AttachPackToUserOK) GetPayload() *models.GeneralError
- func (o *AttachPackToUserOK) IsClientError() bool
- func (o *AttachPackToUserOK) IsCode(code int) bool
- func (o *AttachPackToUserOK) IsRedirect() bool
- func (o *AttachPackToUserOK) IsServerError() bool
- func (o *AttachPackToUserOK) IsSuccess() bool
- func (o *AttachPackToUserOK) String() string
- type AttachPackToUserParams
- func NewAttachPackToUserParams() *AttachPackToUserParams
- func NewAttachPackToUserParamsWithContext(ctx context.Context) *AttachPackToUserParams
- func NewAttachPackToUserParamsWithHTTPClient(client *http.Client) *AttachPackToUserParams
- func NewAttachPackToUserParamsWithTimeout(timeout time.Duration) *AttachPackToUserParams
- func (o *AttachPackToUserParams) SetContext(ctx context.Context)
- func (o *AttachPackToUserParams) SetDefaults()
- func (o *AttachPackToUserParams) SetHTTPClient(client *http.Client)
- func (o *AttachPackToUserParams) SetPackID(packID string)
- func (o *AttachPackToUserParams) SetPackUser(packUser *models.PackUserParams)
- func (o *AttachPackToUserParams) SetTimeout(timeout time.Duration)
- func (o *AttachPackToUserParams) WithContext(ctx context.Context) *AttachPackToUserParams
- func (o *AttachPackToUserParams) WithDefaults() *AttachPackToUserParams
- func (o *AttachPackToUserParams) WithHTTPClient(client *http.Client) *AttachPackToUserParams
- func (o *AttachPackToUserParams) WithPackID(packID string) *AttachPackToUserParams
- func (o *AttachPackToUserParams) WithPackUser(packUser *models.PackUserParams) *AttachPackToUserParams
- func (o *AttachPackToUserParams) WithTimeout(timeout time.Duration) *AttachPackToUserParams
- func (o *AttachPackToUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AttachPackToUserPreconditionFailed
- func (o *AttachPackToUserPreconditionFailed) Code() int
- func (o *AttachPackToUserPreconditionFailed) Error() string
- func (o *AttachPackToUserPreconditionFailed) GetPayload() *models.GeneralError
- func (o *AttachPackToUserPreconditionFailed) IsClientError() bool
- func (o *AttachPackToUserPreconditionFailed) IsCode(code int) bool
- func (o *AttachPackToUserPreconditionFailed) IsRedirect() bool
- func (o *AttachPackToUserPreconditionFailed) IsServerError() bool
- func (o *AttachPackToUserPreconditionFailed) IsSuccess() bool
- func (o *AttachPackToUserPreconditionFailed) String() string
- type AttachPackToUserReader
- type AttachPackToUserUnprocessableEntity
- func (o *AttachPackToUserUnprocessableEntity) Code() int
- func (o *AttachPackToUserUnprocessableEntity) Error() string
- func (o *AttachPackToUserUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *AttachPackToUserUnprocessableEntity) IsClientError() bool
- func (o *AttachPackToUserUnprocessableEntity) IsCode(code int) bool
- func (o *AttachPackToUserUnprocessableEntity) IsRedirect() bool
- func (o *AttachPackToUserUnprocessableEntity) IsServerError() bool
- func (o *AttachPackToUserUnprocessableEntity) IsSuccess() bool
- func (o *AttachPackToUserUnprocessableEntity) String() string
- type Client
- func (a *Client) AppendBuildToVersion(params *AppendBuildToVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AppendBuildToVersionOK, error)
- func (a *Client) AttachPackToTeam(params *AttachPackToTeamParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AttachPackToTeamOK, error)
- func (a *Client) AttachPackToUser(params *AttachPackToUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AttachPackToUserOK, error)
- func (a *Client) CreateBuild(params *CreateBuildParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateBuildOK, error)
- func (a *Client) CreatePack(params *CreatePackParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreatePackOK, error)
- func (a *Client) DeleteBuild(params *DeleteBuildParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteBuildOK, error)
- func (a *Client) DeleteBuildFromVersion(params *DeleteBuildFromVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteBuildFromVersionOK, error)
- func (a *Client) DeletePack(params *DeletePackParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeletePackOK, error)
- func (a *Client) DeletePackFromTeam(params *DeletePackFromTeamParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeletePackFromTeamOK, error)
- func (a *Client) DeletePackFromUser(params *DeletePackFromUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeletePackFromUserOK, error)
- func (a *Client) ListBuildVersions(params *ListBuildVersionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListBuildVersionsOK, error)
- func (a *Client) ListBuilds(params *ListBuildsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListBuildsOK, error)
- func (a *Client) ListPackTeams(params *ListPackTeamsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListPackTeamsOK, error)
- func (a *Client) ListPackUsers(params *ListPackUsersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListPackUsersOK, error)
- func (a *Client) ListPacks(params *ListPacksParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListPacksOK, error)
- func (a *Client) PermitPackTeam(params *PermitPackTeamParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PermitPackTeamOK, error)
- func (a *Client) PermitPackUser(params *PermitPackUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PermitPackUserOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) ShowBuild(params *ShowBuildParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ShowBuildOK, error)
- func (a *Client) ShowPack(params *ShowPackParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ShowPackOK, error)
- func (a *Client) UpdateBuild(params *UpdateBuildParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateBuildOK, error)
- func (a *Client) UpdatePack(params *UpdatePackParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdatePackOK, error)
- type ClientOption
- type ClientService
- type CreateBuildDefault
- func (o *CreateBuildDefault) Code() int
- func (o *CreateBuildDefault) Error() string
- func (o *CreateBuildDefault) GetPayload() *models.GeneralError
- func (o *CreateBuildDefault) IsClientError() bool
- func (o *CreateBuildDefault) IsCode(code int) bool
- func (o *CreateBuildDefault) IsRedirect() bool
- func (o *CreateBuildDefault) IsServerError() bool
- func (o *CreateBuildDefault) IsSuccess() bool
- func (o *CreateBuildDefault) String() string
- type CreateBuildForbidden
- func (o *CreateBuildForbidden) Code() int
- func (o *CreateBuildForbidden) Error() string
- func (o *CreateBuildForbidden) GetPayload() *models.GeneralError
- func (o *CreateBuildForbidden) IsClientError() bool
- func (o *CreateBuildForbidden) IsCode(code int) bool
- func (o *CreateBuildForbidden) IsRedirect() bool
- func (o *CreateBuildForbidden) IsServerError() bool
- func (o *CreateBuildForbidden) IsSuccess() bool
- func (o *CreateBuildForbidden) String() string
- type CreateBuildNotFound
- func (o *CreateBuildNotFound) Code() int
- func (o *CreateBuildNotFound) Error() string
- func (o *CreateBuildNotFound) GetPayload() *models.GeneralError
- func (o *CreateBuildNotFound) IsClientError() bool
- func (o *CreateBuildNotFound) IsCode(code int) bool
- func (o *CreateBuildNotFound) IsRedirect() bool
- func (o *CreateBuildNotFound) IsServerError() bool
- func (o *CreateBuildNotFound) IsSuccess() bool
- func (o *CreateBuildNotFound) String() string
- type CreateBuildOK
- func (o *CreateBuildOK) Code() int
- func (o *CreateBuildOK) Error() string
- func (o *CreateBuildOK) GetPayload() *models.Build
- func (o *CreateBuildOK) IsClientError() bool
- func (o *CreateBuildOK) IsCode(code int) bool
- func (o *CreateBuildOK) IsRedirect() bool
- func (o *CreateBuildOK) IsServerError() bool
- func (o *CreateBuildOK) IsSuccess() bool
- func (o *CreateBuildOK) String() string
- type CreateBuildParams
- func (o *CreateBuildParams) SetBuild(build *models.Build)
- func (o *CreateBuildParams) SetContext(ctx context.Context)
- func (o *CreateBuildParams) SetDefaults()
- func (o *CreateBuildParams) SetHTTPClient(client *http.Client)
- func (o *CreateBuildParams) SetPackID(packID string)
- func (o *CreateBuildParams) SetTimeout(timeout time.Duration)
- func (o *CreateBuildParams) WithBuild(build *models.Build) *CreateBuildParams
- func (o *CreateBuildParams) WithContext(ctx context.Context) *CreateBuildParams
- func (o *CreateBuildParams) WithDefaults() *CreateBuildParams
- func (o *CreateBuildParams) WithHTTPClient(client *http.Client) *CreateBuildParams
- func (o *CreateBuildParams) WithPackID(packID string) *CreateBuildParams
- func (o *CreateBuildParams) WithTimeout(timeout time.Duration) *CreateBuildParams
- func (o *CreateBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateBuildReader
- type CreateBuildUnprocessableEntity
- func (o *CreateBuildUnprocessableEntity) Code() int
- func (o *CreateBuildUnprocessableEntity) Error() string
- func (o *CreateBuildUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *CreateBuildUnprocessableEntity) IsClientError() bool
- func (o *CreateBuildUnprocessableEntity) IsCode(code int) bool
- func (o *CreateBuildUnprocessableEntity) IsRedirect() bool
- func (o *CreateBuildUnprocessableEntity) IsServerError() bool
- func (o *CreateBuildUnprocessableEntity) IsSuccess() bool
- func (o *CreateBuildUnprocessableEntity) String() string
- type CreatePackDefault
- func (o *CreatePackDefault) Code() int
- func (o *CreatePackDefault) Error() string
- func (o *CreatePackDefault) GetPayload() *models.GeneralError
- func (o *CreatePackDefault) IsClientError() bool
- func (o *CreatePackDefault) IsCode(code int) bool
- func (o *CreatePackDefault) IsRedirect() bool
- func (o *CreatePackDefault) IsServerError() bool
- func (o *CreatePackDefault) IsSuccess() bool
- func (o *CreatePackDefault) String() string
- type CreatePackForbidden
- func (o *CreatePackForbidden) Code() int
- func (o *CreatePackForbidden) Error() string
- func (o *CreatePackForbidden) GetPayload() *models.GeneralError
- func (o *CreatePackForbidden) IsClientError() bool
- func (o *CreatePackForbidden) IsCode(code int) bool
- func (o *CreatePackForbidden) IsRedirect() bool
- func (o *CreatePackForbidden) IsServerError() bool
- func (o *CreatePackForbidden) IsSuccess() bool
- func (o *CreatePackForbidden) String() string
- type CreatePackOK
- func (o *CreatePackOK) Code() int
- func (o *CreatePackOK) Error() string
- func (o *CreatePackOK) GetPayload() *models.Pack
- func (o *CreatePackOK) IsClientError() bool
- func (o *CreatePackOK) IsCode(code int) bool
- func (o *CreatePackOK) IsRedirect() bool
- func (o *CreatePackOK) IsServerError() bool
- func (o *CreatePackOK) IsSuccess() bool
- func (o *CreatePackOK) String() string
- type CreatePackParams
- func (o *CreatePackParams) SetContext(ctx context.Context)
- func (o *CreatePackParams) SetDefaults()
- func (o *CreatePackParams) SetHTTPClient(client *http.Client)
- func (o *CreatePackParams) SetPack(pack *models.Pack)
- func (o *CreatePackParams) SetTimeout(timeout time.Duration)
- func (o *CreatePackParams) WithContext(ctx context.Context) *CreatePackParams
- func (o *CreatePackParams) WithDefaults() *CreatePackParams
- func (o *CreatePackParams) WithHTTPClient(client *http.Client) *CreatePackParams
- func (o *CreatePackParams) WithPack(pack *models.Pack) *CreatePackParams
- func (o *CreatePackParams) WithTimeout(timeout time.Duration) *CreatePackParams
- func (o *CreatePackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePackReader
- type CreatePackUnprocessableEntity
- func (o *CreatePackUnprocessableEntity) Code() int
- func (o *CreatePackUnprocessableEntity) Error() string
- func (o *CreatePackUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *CreatePackUnprocessableEntity) IsClientError() bool
- func (o *CreatePackUnprocessableEntity) IsCode(code int) bool
- func (o *CreatePackUnprocessableEntity) IsRedirect() bool
- func (o *CreatePackUnprocessableEntity) IsServerError() bool
- func (o *CreatePackUnprocessableEntity) IsSuccess() bool
- func (o *CreatePackUnprocessableEntity) String() string
- type DeleteBuildBadRequest
- func (o *DeleteBuildBadRequest) Code() int
- func (o *DeleteBuildBadRequest) Error() string
- func (o *DeleteBuildBadRequest) GetPayload() *models.GeneralError
- func (o *DeleteBuildBadRequest) IsClientError() bool
- func (o *DeleteBuildBadRequest) IsCode(code int) bool
- func (o *DeleteBuildBadRequest) IsRedirect() bool
- func (o *DeleteBuildBadRequest) IsServerError() bool
- func (o *DeleteBuildBadRequest) IsSuccess() bool
- func (o *DeleteBuildBadRequest) String() string
- type DeleteBuildDefault
- func (o *DeleteBuildDefault) Code() int
- func (o *DeleteBuildDefault) Error() string
- func (o *DeleteBuildDefault) GetPayload() *models.GeneralError
- func (o *DeleteBuildDefault) IsClientError() bool
- func (o *DeleteBuildDefault) IsCode(code int) bool
- func (o *DeleteBuildDefault) IsRedirect() bool
- func (o *DeleteBuildDefault) IsServerError() bool
- func (o *DeleteBuildDefault) IsSuccess() bool
- func (o *DeleteBuildDefault) String() string
- type DeleteBuildForbidden
- func (o *DeleteBuildForbidden) Code() int
- func (o *DeleteBuildForbidden) Error() string
- func (o *DeleteBuildForbidden) GetPayload() *models.GeneralError
- func (o *DeleteBuildForbidden) IsClientError() bool
- func (o *DeleteBuildForbidden) IsCode(code int) bool
- func (o *DeleteBuildForbidden) IsRedirect() bool
- func (o *DeleteBuildForbidden) IsServerError() bool
- func (o *DeleteBuildForbidden) IsSuccess() bool
- func (o *DeleteBuildForbidden) String() string
- type DeleteBuildFromVersionBadRequest
- func (o *DeleteBuildFromVersionBadRequest) Code() int
- func (o *DeleteBuildFromVersionBadRequest) Error() string
- func (o *DeleteBuildFromVersionBadRequest) GetPayload() *models.GeneralError
- func (o *DeleteBuildFromVersionBadRequest) IsClientError() bool
- func (o *DeleteBuildFromVersionBadRequest) IsCode(code int) bool
- func (o *DeleteBuildFromVersionBadRequest) IsRedirect() bool
- func (o *DeleteBuildFromVersionBadRequest) IsServerError() bool
- func (o *DeleteBuildFromVersionBadRequest) IsSuccess() bool
- func (o *DeleteBuildFromVersionBadRequest) String() string
- type DeleteBuildFromVersionDefault
- func (o *DeleteBuildFromVersionDefault) Code() int
- func (o *DeleteBuildFromVersionDefault) Error() string
- func (o *DeleteBuildFromVersionDefault) GetPayload() *models.GeneralError
- func (o *DeleteBuildFromVersionDefault) IsClientError() bool
- func (o *DeleteBuildFromVersionDefault) IsCode(code int) bool
- func (o *DeleteBuildFromVersionDefault) IsRedirect() bool
- func (o *DeleteBuildFromVersionDefault) IsServerError() bool
- func (o *DeleteBuildFromVersionDefault) IsSuccess() bool
- func (o *DeleteBuildFromVersionDefault) String() string
- type DeleteBuildFromVersionForbidden
- func (o *DeleteBuildFromVersionForbidden) Code() int
- func (o *DeleteBuildFromVersionForbidden) Error() string
- func (o *DeleteBuildFromVersionForbidden) GetPayload() *models.GeneralError
- func (o *DeleteBuildFromVersionForbidden) IsClientError() bool
- func (o *DeleteBuildFromVersionForbidden) IsCode(code int) bool
- func (o *DeleteBuildFromVersionForbidden) IsRedirect() bool
- func (o *DeleteBuildFromVersionForbidden) IsServerError() bool
- func (o *DeleteBuildFromVersionForbidden) IsSuccess() bool
- func (o *DeleteBuildFromVersionForbidden) String() string
- type DeleteBuildFromVersionNotFound
- func (o *DeleteBuildFromVersionNotFound) Code() int
- func (o *DeleteBuildFromVersionNotFound) Error() string
- func (o *DeleteBuildFromVersionNotFound) GetPayload() *models.GeneralError
- func (o *DeleteBuildFromVersionNotFound) IsClientError() bool
- func (o *DeleteBuildFromVersionNotFound) IsCode(code int) bool
- func (o *DeleteBuildFromVersionNotFound) IsRedirect() bool
- func (o *DeleteBuildFromVersionNotFound) IsServerError() bool
- func (o *DeleteBuildFromVersionNotFound) IsSuccess() bool
- func (o *DeleteBuildFromVersionNotFound) String() string
- type DeleteBuildFromVersionOK
- func (o *DeleteBuildFromVersionOK) Code() int
- func (o *DeleteBuildFromVersionOK) Error() string
- func (o *DeleteBuildFromVersionOK) GetPayload() *models.GeneralError
- func (o *DeleteBuildFromVersionOK) IsClientError() bool
- func (o *DeleteBuildFromVersionOK) IsCode(code int) bool
- func (o *DeleteBuildFromVersionOK) IsRedirect() bool
- func (o *DeleteBuildFromVersionOK) IsServerError() bool
- func (o *DeleteBuildFromVersionOK) IsSuccess() bool
- func (o *DeleteBuildFromVersionOK) String() string
- type DeleteBuildFromVersionParams
- func NewDeleteBuildFromVersionParams() *DeleteBuildFromVersionParams
- func NewDeleteBuildFromVersionParamsWithContext(ctx context.Context) *DeleteBuildFromVersionParams
- func NewDeleteBuildFromVersionParamsWithHTTPClient(client *http.Client) *DeleteBuildFromVersionParams
- func NewDeleteBuildFromVersionParamsWithTimeout(timeout time.Duration) *DeleteBuildFromVersionParams
- func (o *DeleteBuildFromVersionParams) SetBuildID(buildID string)
- func (o *DeleteBuildFromVersionParams) SetBuildVersion(buildVersion *models.BuildVersionParams)
- func (o *DeleteBuildFromVersionParams) SetContext(ctx context.Context)
- func (o *DeleteBuildFromVersionParams) SetDefaults()
- func (o *DeleteBuildFromVersionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteBuildFromVersionParams) SetPackID(packID string)
- func (o *DeleteBuildFromVersionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteBuildFromVersionParams) WithBuildID(buildID string) *DeleteBuildFromVersionParams
- func (o *DeleteBuildFromVersionParams) WithBuildVersion(buildVersion *models.BuildVersionParams) *DeleteBuildFromVersionParams
- func (o *DeleteBuildFromVersionParams) WithContext(ctx context.Context) *DeleteBuildFromVersionParams
- func (o *DeleteBuildFromVersionParams) WithDefaults() *DeleteBuildFromVersionParams
- func (o *DeleteBuildFromVersionParams) WithHTTPClient(client *http.Client) *DeleteBuildFromVersionParams
- func (o *DeleteBuildFromVersionParams) WithPackID(packID string) *DeleteBuildFromVersionParams
- func (o *DeleteBuildFromVersionParams) WithTimeout(timeout time.Duration) *DeleteBuildFromVersionParams
- func (o *DeleteBuildFromVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBuildFromVersionPreconditionFailed
- func (o *DeleteBuildFromVersionPreconditionFailed) Code() int
- func (o *DeleteBuildFromVersionPreconditionFailed) Error() string
- func (o *DeleteBuildFromVersionPreconditionFailed) GetPayload() *models.GeneralError
- func (o *DeleteBuildFromVersionPreconditionFailed) IsClientError() bool
- func (o *DeleteBuildFromVersionPreconditionFailed) IsCode(code int) bool
- func (o *DeleteBuildFromVersionPreconditionFailed) IsRedirect() bool
- func (o *DeleteBuildFromVersionPreconditionFailed) IsServerError() bool
- func (o *DeleteBuildFromVersionPreconditionFailed) IsSuccess() bool
- func (o *DeleteBuildFromVersionPreconditionFailed) String() string
- type DeleteBuildFromVersionReader
- type DeleteBuildNotFound
- func (o *DeleteBuildNotFound) Code() int
- func (o *DeleteBuildNotFound) Error() string
- func (o *DeleteBuildNotFound) GetPayload() *models.GeneralError
- func (o *DeleteBuildNotFound) IsClientError() bool
- func (o *DeleteBuildNotFound) IsCode(code int) bool
- func (o *DeleteBuildNotFound) IsRedirect() bool
- func (o *DeleteBuildNotFound) IsServerError() bool
- func (o *DeleteBuildNotFound) IsSuccess() bool
- func (o *DeleteBuildNotFound) String() string
- type DeleteBuildOK
- func (o *DeleteBuildOK) Code() int
- func (o *DeleteBuildOK) Error() string
- func (o *DeleteBuildOK) GetPayload() *models.GeneralError
- func (o *DeleteBuildOK) IsClientError() bool
- func (o *DeleteBuildOK) IsCode(code int) bool
- func (o *DeleteBuildOK) IsRedirect() bool
- func (o *DeleteBuildOK) IsServerError() bool
- func (o *DeleteBuildOK) IsSuccess() bool
- func (o *DeleteBuildOK) String() string
- type DeleteBuildParams
- func (o *DeleteBuildParams) SetBuildID(buildID string)
- func (o *DeleteBuildParams) SetContext(ctx context.Context)
- func (o *DeleteBuildParams) SetDefaults()
- func (o *DeleteBuildParams) SetHTTPClient(client *http.Client)
- func (o *DeleteBuildParams) SetPackID(packID string)
- func (o *DeleteBuildParams) SetTimeout(timeout time.Duration)
- func (o *DeleteBuildParams) WithBuildID(buildID string) *DeleteBuildParams
- func (o *DeleteBuildParams) WithContext(ctx context.Context) *DeleteBuildParams
- func (o *DeleteBuildParams) WithDefaults() *DeleteBuildParams
- func (o *DeleteBuildParams) WithHTTPClient(client *http.Client) *DeleteBuildParams
- func (o *DeleteBuildParams) WithPackID(packID string) *DeleteBuildParams
- func (o *DeleteBuildParams) WithTimeout(timeout time.Duration) *DeleteBuildParams
- func (o *DeleteBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBuildReader
- type DeletePackBadRequest
- func (o *DeletePackBadRequest) Code() int
- func (o *DeletePackBadRequest) Error() string
- func (o *DeletePackBadRequest) GetPayload() *models.GeneralError
- func (o *DeletePackBadRequest) IsClientError() bool
- func (o *DeletePackBadRequest) IsCode(code int) bool
- func (o *DeletePackBadRequest) IsRedirect() bool
- func (o *DeletePackBadRequest) IsServerError() bool
- func (o *DeletePackBadRequest) IsSuccess() bool
- func (o *DeletePackBadRequest) String() string
- type DeletePackDefault
- func (o *DeletePackDefault) Code() int
- func (o *DeletePackDefault) Error() string
- func (o *DeletePackDefault) GetPayload() *models.GeneralError
- func (o *DeletePackDefault) IsClientError() bool
- func (o *DeletePackDefault) IsCode(code int) bool
- func (o *DeletePackDefault) IsRedirect() bool
- func (o *DeletePackDefault) IsServerError() bool
- func (o *DeletePackDefault) IsSuccess() bool
- func (o *DeletePackDefault) String() string
- type DeletePackForbidden
- func (o *DeletePackForbidden) Code() int
- func (o *DeletePackForbidden) Error() string
- func (o *DeletePackForbidden) GetPayload() *models.GeneralError
- func (o *DeletePackForbidden) IsClientError() bool
- func (o *DeletePackForbidden) IsCode(code int) bool
- func (o *DeletePackForbidden) IsRedirect() bool
- func (o *DeletePackForbidden) IsServerError() bool
- func (o *DeletePackForbidden) IsSuccess() bool
- func (o *DeletePackForbidden) String() string
- type DeletePackFromTeamDefault
- func (o *DeletePackFromTeamDefault) Code() int
- func (o *DeletePackFromTeamDefault) Error() string
- func (o *DeletePackFromTeamDefault) GetPayload() *models.GeneralError
- func (o *DeletePackFromTeamDefault) IsClientError() bool
- func (o *DeletePackFromTeamDefault) IsCode(code int) bool
- func (o *DeletePackFromTeamDefault) IsRedirect() bool
- func (o *DeletePackFromTeamDefault) IsServerError() bool
- func (o *DeletePackFromTeamDefault) IsSuccess() bool
- func (o *DeletePackFromTeamDefault) String() string
- type DeletePackFromTeamForbidden
- func (o *DeletePackFromTeamForbidden) Code() int
- func (o *DeletePackFromTeamForbidden) Error() string
- func (o *DeletePackFromTeamForbidden) GetPayload() *models.GeneralError
- func (o *DeletePackFromTeamForbidden) IsClientError() bool
- func (o *DeletePackFromTeamForbidden) IsCode(code int) bool
- func (o *DeletePackFromTeamForbidden) IsRedirect() bool
- func (o *DeletePackFromTeamForbidden) IsServerError() bool
- func (o *DeletePackFromTeamForbidden) IsSuccess() bool
- func (o *DeletePackFromTeamForbidden) String() string
- type DeletePackFromTeamNotFound
- func (o *DeletePackFromTeamNotFound) Code() int
- func (o *DeletePackFromTeamNotFound) Error() string
- func (o *DeletePackFromTeamNotFound) GetPayload() *models.GeneralError
- func (o *DeletePackFromTeamNotFound) IsClientError() bool
- func (o *DeletePackFromTeamNotFound) IsCode(code int) bool
- func (o *DeletePackFromTeamNotFound) IsRedirect() bool
- func (o *DeletePackFromTeamNotFound) IsServerError() bool
- func (o *DeletePackFromTeamNotFound) IsSuccess() bool
- func (o *DeletePackFromTeamNotFound) String() string
- type DeletePackFromTeamOK
- func (o *DeletePackFromTeamOK) Code() int
- func (o *DeletePackFromTeamOK) Error() string
- func (o *DeletePackFromTeamOK) GetPayload() *models.GeneralError
- func (o *DeletePackFromTeamOK) IsClientError() bool
- func (o *DeletePackFromTeamOK) IsCode(code int) bool
- func (o *DeletePackFromTeamOK) IsRedirect() bool
- func (o *DeletePackFromTeamOK) IsServerError() bool
- func (o *DeletePackFromTeamOK) IsSuccess() bool
- func (o *DeletePackFromTeamOK) String() string
- type DeletePackFromTeamParams
- func NewDeletePackFromTeamParams() *DeletePackFromTeamParams
- func NewDeletePackFromTeamParamsWithContext(ctx context.Context) *DeletePackFromTeamParams
- func NewDeletePackFromTeamParamsWithHTTPClient(client *http.Client) *DeletePackFromTeamParams
- func NewDeletePackFromTeamParamsWithTimeout(timeout time.Duration) *DeletePackFromTeamParams
- func (o *DeletePackFromTeamParams) SetContext(ctx context.Context)
- func (o *DeletePackFromTeamParams) SetDefaults()
- func (o *DeletePackFromTeamParams) SetHTTPClient(client *http.Client)
- func (o *DeletePackFromTeamParams) SetPackID(packID string)
- func (o *DeletePackFromTeamParams) SetPackTeam(packTeam *models.PackTeamParams)
- func (o *DeletePackFromTeamParams) SetTimeout(timeout time.Duration)
- func (o *DeletePackFromTeamParams) WithContext(ctx context.Context) *DeletePackFromTeamParams
- func (o *DeletePackFromTeamParams) WithDefaults() *DeletePackFromTeamParams
- func (o *DeletePackFromTeamParams) WithHTTPClient(client *http.Client) *DeletePackFromTeamParams
- func (o *DeletePackFromTeamParams) WithPackID(packID string) *DeletePackFromTeamParams
- func (o *DeletePackFromTeamParams) WithPackTeam(packTeam *models.PackTeamParams) *DeletePackFromTeamParams
- func (o *DeletePackFromTeamParams) WithTimeout(timeout time.Duration) *DeletePackFromTeamParams
- func (o *DeletePackFromTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePackFromTeamPreconditionFailed
- func (o *DeletePackFromTeamPreconditionFailed) Code() int
- func (o *DeletePackFromTeamPreconditionFailed) Error() string
- func (o *DeletePackFromTeamPreconditionFailed) GetPayload() *models.GeneralError
- func (o *DeletePackFromTeamPreconditionFailed) IsClientError() bool
- func (o *DeletePackFromTeamPreconditionFailed) IsCode(code int) bool
- func (o *DeletePackFromTeamPreconditionFailed) IsRedirect() bool
- func (o *DeletePackFromTeamPreconditionFailed) IsServerError() bool
- func (o *DeletePackFromTeamPreconditionFailed) IsSuccess() bool
- func (o *DeletePackFromTeamPreconditionFailed) String() string
- type DeletePackFromTeamReader
- type DeletePackFromUserDefault
- func (o *DeletePackFromUserDefault) Code() int
- func (o *DeletePackFromUserDefault) Error() string
- func (o *DeletePackFromUserDefault) GetPayload() *models.GeneralError
- func (o *DeletePackFromUserDefault) IsClientError() bool
- func (o *DeletePackFromUserDefault) IsCode(code int) bool
- func (o *DeletePackFromUserDefault) IsRedirect() bool
- func (o *DeletePackFromUserDefault) IsServerError() bool
- func (o *DeletePackFromUserDefault) IsSuccess() bool
- func (o *DeletePackFromUserDefault) String() string
- type DeletePackFromUserForbidden
- func (o *DeletePackFromUserForbidden) Code() int
- func (o *DeletePackFromUserForbidden) Error() string
- func (o *DeletePackFromUserForbidden) GetPayload() *models.GeneralError
- func (o *DeletePackFromUserForbidden) IsClientError() bool
- func (o *DeletePackFromUserForbidden) IsCode(code int) bool
- func (o *DeletePackFromUserForbidden) IsRedirect() bool
- func (o *DeletePackFromUserForbidden) IsServerError() bool
- func (o *DeletePackFromUserForbidden) IsSuccess() bool
- func (o *DeletePackFromUserForbidden) String() string
- type DeletePackFromUserNotFound
- func (o *DeletePackFromUserNotFound) Code() int
- func (o *DeletePackFromUserNotFound) Error() string
- func (o *DeletePackFromUserNotFound) GetPayload() *models.GeneralError
- func (o *DeletePackFromUserNotFound) IsClientError() bool
- func (o *DeletePackFromUserNotFound) IsCode(code int) bool
- func (o *DeletePackFromUserNotFound) IsRedirect() bool
- func (o *DeletePackFromUserNotFound) IsServerError() bool
- func (o *DeletePackFromUserNotFound) IsSuccess() bool
- func (o *DeletePackFromUserNotFound) String() string
- type DeletePackFromUserOK
- func (o *DeletePackFromUserOK) Code() int
- func (o *DeletePackFromUserOK) Error() string
- func (o *DeletePackFromUserOK) GetPayload() *models.GeneralError
- func (o *DeletePackFromUserOK) IsClientError() bool
- func (o *DeletePackFromUserOK) IsCode(code int) bool
- func (o *DeletePackFromUserOK) IsRedirect() bool
- func (o *DeletePackFromUserOK) IsServerError() bool
- func (o *DeletePackFromUserOK) IsSuccess() bool
- func (o *DeletePackFromUserOK) String() string
- type DeletePackFromUserParams
- func NewDeletePackFromUserParams() *DeletePackFromUserParams
- func NewDeletePackFromUserParamsWithContext(ctx context.Context) *DeletePackFromUserParams
- func NewDeletePackFromUserParamsWithHTTPClient(client *http.Client) *DeletePackFromUserParams
- func NewDeletePackFromUserParamsWithTimeout(timeout time.Duration) *DeletePackFromUserParams
- func (o *DeletePackFromUserParams) SetContext(ctx context.Context)
- func (o *DeletePackFromUserParams) SetDefaults()
- func (o *DeletePackFromUserParams) SetHTTPClient(client *http.Client)
- func (o *DeletePackFromUserParams) SetPackID(packID string)
- func (o *DeletePackFromUserParams) SetPackUser(packUser *models.PackUserParams)
- func (o *DeletePackFromUserParams) SetTimeout(timeout time.Duration)
- func (o *DeletePackFromUserParams) WithContext(ctx context.Context) *DeletePackFromUserParams
- func (o *DeletePackFromUserParams) WithDefaults() *DeletePackFromUserParams
- func (o *DeletePackFromUserParams) WithHTTPClient(client *http.Client) *DeletePackFromUserParams
- func (o *DeletePackFromUserParams) WithPackID(packID string) *DeletePackFromUserParams
- func (o *DeletePackFromUserParams) WithPackUser(packUser *models.PackUserParams) *DeletePackFromUserParams
- func (o *DeletePackFromUserParams) WithTimeout(timeout time.Duration) *DeletePackFromUserParams
- func (o *DeletePackFromUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePackFromUserPreconditionFailed
- func (o *DeletePackFromUserPreconditionFailed) Code() int
- func (o *DeletePackFromUserPreconditionFailed) Error() string
- func (o *DeletePackFromUserPreconditionFailed) GetPayload() *models.GeneralError
- func (o *DeletePackFromUserPreconditionFailed) IsClientError() bool
- func (o *DeletePackFromUserPreconditionFailed) IsCode(code int) bool
- func (o *DeletePackFromUserPreconditionFailed) IsRedirect() bool
- func (o *DeletePackFromUserPreconditionFailed) IsServerError() bool
- func (o *DeletePackFromUserPreconditionFailed) IsSuccess() bool
- func (o *DeletePackFromUserPreconditionFailed) String() string
- type DeletePackFromUserReader
- type DeletePackNotFound
- func (o *DeletePackNotFound) Code() int
- func (o *DeletePackNotFound) Error() string
- func (o *DeletePackNotFound) GetPayload() *models.GeneralError
- func (o *DeletePackNotFound) IsClientError() bool
- func (o *DeletePackNotFound) IsCode(code int) bool
- func (o *DeletePackNotFound) IsRedirect() bool
- func (o *DeletePackNotFound) IsServerError() bool
- func (o *DeletePackNotFound) IsSuccess() bool
- func (o *DeletePackNotFound) String() string
- type DeletePackOK
- func (o *DeletePackOK) Code() int
- func (o *DeletePackOK) Error() string
- func (o *DeletePackOK) GetPayload() *models.GeneralError
- func (o *DeletePackOK) IsClientError() bool
- func (o *DeletePackOK) IsCode(code int) bool
- func (o *DeletePackOK) IsRedirect() bool
- func (o *DeletePackOK) IsServerError() bool
- func (o *DeletePackOK) IsSuccess() bool
- func (o *DeletePackOK) String() string
- type DeletePackParams
- func (o *DeletePackParams) SetContext(ctx context.Context)
- func (o *DeletePackParams) SetDefaults()
- func (o *DeletePackParams) SetHTTPClient(client *http.Client)
- func (o *DeletePackParams) SetPackID(packID string)
- func (o *DeletePackParams) SetTimeout(timeout time.Duration)
- func (o *DeletePackParams) WithContext(ctx context.Context) *DeletePackParams
- func (o *DeletePackParams) WithDefaults() *DeletePackParams
- func (o *DeletePackParams) WithHTTPClient(client *http.Client) *DeletePackParams
- func (o *DeletePackParams) WithPackID(packID string) *DeletePackParams
- func (o *DeletePackParams) WithTimeout(timeout time.Duration) *DeletePackParams
- func (o *DeletePackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePackReader
- type ListBuildVersionsDefault
- func (o *ListBuildVersionsDefault) Code() int
- func (o *ListBuildVersionsDefault) Error() string
- func (o *ListBuildVersionsDefault) GetPayload() *models.GeneralError
- func (o *ListBuildVersionsDefault) IsClientError() bool
- func (o *ListBuildVersionsDefault) IsCode(code int) bool
- func (o *ListBuildVersionsDefault) IsRedirect() bool
- func (o *ListBuildVersionsDefault) IsServerError() bool
- func (o *ListBuildVersionsDefault) IsSuccess() bool
- func (o *ListBuildVersionsDefault) String() string
- type ListBuildVersionsForbidden
- func (o *ListBuildVersionsForbidden) Code() int
- func (o *ListBuildVersionsForbidden) Error() string
- func (o *ListBuildVersionsForbidden) GetPayload() *models.GeneralError
- func (o *ListBuildVersionsForbidden) IsClientError() bool
- func (o *ListBuildVersionsForbidden) IsCode(code int) bool
- func (o *ListBuildVersionsForbidden) IsRedirect() bool
- func (o *ListBuildVersionsForbidden) IsServerError() bool
- func (o *ListBuildVersionsForbidden) IsSuccess() bool
- func (o *ListBuildVersionsForbidden) String() string
- type ListBuildVersionsNotFound
- func (o *ListBuildVersionsNotFound) Code() int
- func (o *ListBuildVersionsNotFound) Error() string
- func (o *ListBuildVersionsNotFound) GetPayload() *models.GeneralError
- func (o *ListBuildVersionsNotFound) IsClientError() bool
- func (o *ListBuildVersionsNotFound) IsCode(code int) bool
- func (o *ListBuildVersionsNotFound) IsRedirect() bool
- func (o *ListBuildVersionsNotFound) IsServerError() bool
- func (o *ListBuildVersionsNotFound) IsSuccess() bool
- func (o *ListBuildVersionsNotFound) String() string
- type ListBuildVersionsOK
- func (o *ListBuildVersionsOK) Code() int
- func (o *ListBuildVersionsOK) Error() string
- func (o *ListBuildVersionsOK) GetPayload() *models.BuildVersions
- func (o *ListBuildVersionsOK) IsClientError() bool
- func (o *ListBuildVersionsOK) IsCode(code int) bool
- func (o *ListBuildVersionsOK) IsRedirect() bool
- func (o *ListBuildVersionsOK) IsServerError() bool
- func (o *ListBuildVersionsOK) IsSuccess() bool
- func (o *ListBuildVersionsOK) String() string
- type ListBuildVersionsParams
- func NewListBuildVersionsParams() *ListBuildVersionsParams
- func NewListBuildVersionsParamsWithContext(ctx context.Context) *ListBuildVersionsParams
- func NewListBuildVersionsParamsWithHTTPClient(client *http.Client) *ListBuildVersionsParams
- func NewListBuildVersionsParamsWithTimeout(timeout time.Duration) *ListBuildVersionsParams
- func (o *ListBuildVersionsParams) SetBuildID(buildID string)
- func (o *ListBuildVersionsParams) SetContext(ctx context.Context)
- func (o *ListBuildVersionsParams) SetDefaults()
- func (o *ListBuildVersionsParams) SetHTTPClient(client *http.Client)
- func (o *ListBuildVersionsParams) SetPackID(packID string)
- func (o *ListBuildVersionsParams) SetTimeout(timeout time.Duration)
- func (o *ListBuildVersionsParams) WithBuildID(buildID string) *ListBuildVersionsParams
- func (o *ListBuildVersionsParams) WithContext(ctx context.Context) *ListBuildVersionsParams
- func (o *ListBuildVersionsParams) WithDefaults() *ListBuildVersionsParams
- func (o *ListBuildVersionsParams) WithHTTPClient(client *http.Client) *ListBuildVersionsParams
- func (o *ListBuildVersionsParams) WithPackID(packID string) *ListBuildVersionsParams
- func (o *ListBuildVersionsParams) WithTimeout(timeout time.Duration) *ListBuildVersionsParams
- func (o *ListBuildVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListBuildVersionsReader
- type ListBuildsDefault
- func (o *ListBuildsDefault) Code() int
- func (o *ListBuildsDefault) Error() string
- func (o *ListBuildsDefault) GetPayload() *models.GeneralError
- func (o *ListBuildsDefault) IsClientError() bool
- func (o *ListBuildsDefault) IsCode(code int) bool
- func (o *ListBuildsDefault) IsRedirect() bool
- func (o *ListBuildsDefault) IsServerError() bool
- func (o *ListBuildsDefault) IsSuccess() bool
- func (o *ListBuildsDefault) String() string
- type ListBuildsForbidden
- func (o *ListBuildsForbidden) Code() int
- func (o *ListBuildsForbidden) Error() string
- func (o *ListBuildsForbidden) GetPayload() *models.GeneralError
- func (o *ListBuildsForbidden) IsClientError() bool
- func (o *ListBuildsForbidden) IsCode(code int) bool
- func (o *ListBuildsForbidden) IsRedirect() bool
- func (o *ListBuildsForbidden) IsServerError() bool
- func (o *ListBuildsForbidden) IsSuccess() bool
- func (o *ListBuildsForbidden) String() string
- type ListBuildsNotFound
- func (o *ListBuildsNotFound) Code() int
- func (o *ListBuildsNotFound) Error() string
- func (o *ListBuildsNotFound) GetPayload() *models.GeneralError
- func (o *ListBuildsNotFound) IsClientError() bool
- func (o *ListBuildsNotFound) IsCode(code int) bool
- func (o *ListBuildsNotFound) IsRedirect() bool
- func (o *ListBuildsNotFound) IsServerError() bool
- func (o *ListBuildsNotFound) IsSuccess() bool
- func (o *ListBuildsNotFound) String() string
- type ListBuildsOK
- func (o *ListBuildsOK) Code() int
- func (o *ListBuildsOK) Error() string
- func (o *ListBuildsOK) GetPayload() *models.Builds
- func (o *ListBuildsOK) IsClientError() bool
- func (o *ListBuildsOK) IsCode(code int) bool
- func (o *ListBuildsOK) IsRedirect() bool
- func (o *ListBuildsOK) IsServerError() bool
- func (o *ListBuildsOK) IsSuccess() bool
- func (o *ListBuildsOK) String() string
- type ListBuildsParams
- func (o *ListBuildsParams) SetContext(ctx context.Context)
- func (o *ListBuildsParams) SetDefaults()
- func (o *ListBuildsParams) SetHTTPClient(client *http.Client)
- func (o *ListBuildsParams) SetPackID(packID string)
- func (o *ListBuildsParams) SetTimeout(timeout time.Duration)
- func (o *ListBuildsParams) WithContext(ctx context.Context) *ListBuildsParams
- func (o *ListBuildsParams) WithDefaults() *ListBuildsParams
- func (o *ListBuildsParams) WithHTTPClient(client *http.Client) *ListBuildsParams
- func (o *ListBuildsParams) WithPackID(packID string) *ListBuildsParams
- func (o *ListBuildsParams) WithTimeout(timeout time.Duration) *ListBuildsParams
- func (o *ListBuildsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListBuildsReader
- type ListPackTeamsDefault
- func (o *ListPackTeamsDefault) Code() int
- func (o *ListPackTeamsDefault) Error() string
- func (o *ListPackTeamsDefault) GetPayload() *models.GeneralError
- func (o *ListPackTeamsDefault) IsClientError() bool
- func (o *ListPackTeamsDefault) IsCode(code int) bool
- func (o *ListPackTeamsDefault) IsRedirect() bool
- func (o *ListPackTeamsDefault) IsServerError() bool
- func (o *ListPackTeamsDefault) IsSuccess() bool
- func (o *ListPackTeamsDefault) String() string
- type ListPackTeamsForbidden
- func (o *ListPackTeamsForbidden) Code() int
- func (o *ListPackTeamsForbidden) Error() string
- func (o *ListPackTeamsForbidden) GetPayload() *models.GeneralError
- func (o *ListPackTeamsForbidden) IsClientError() bool
- func (o *ListPackTeamsForbidden) IsCode(code int) bool
- func (o *ListPackTeamsForbidden) IsRedirect() bool
- func (o *ListPackTeamsForbidden) IsServerError() bool
- func (o *ListPackTeamsForbidden) IsSuccess() bool
- func (o *ListPackTeamsForbidden) String() string
- type ListPackTeamsNotFound
- func (o *ListPackTeamsNotFound) Code() int
- func (o *ListPackTeamsNotFound) Error() string
- func (o *ListPackTeamsNotFound) GetPayload() *models.GeneralError
- func (o *ListPackTeamsNotFound) IsClientError() bool
- func (o *ListPackTeamsNotFound) IsCode(code int) bool
- func (o *ListPackTeamsNotFound) IsRedirect() bool
- func (o *ListPackTeamsNotFound) IsServerError() bool
- func (o *ListPackTeamsNotFound) IsSuccess() bool
- func (o *ListPackTeamsNotFound) String() string
- type ListPackTeamsOK
- func (o *ListPackTeamsOK) Code() int
- func (o *ListPackTeamsOK) Error() string
- func (o *ListPackTeamsOK) GetPayload() *models.PackTeams
- func (o *ListPackTeamsOK) IsClientError() bool
- func (o *ListPackTeamsOK) IsCode(code int) bool
- func (o *ListPackTeamsOK) IsRedirect() bool
- func (o *ListPackTeamsOK) IsServerError() bool
- func (o *ListPackTeamsOK) IsSuccess() bool
- func (o *ListPackTeamsOK) String() string
- type ListPackTeamsParams
- func (o *ListPackTeamsParams) SetContext(ctx context.Context)
- func (o *ListPackTeamsParams) SetDefaults()
- func (o *ListPackTeamsParams) SetHTTPClient(client *http.Client)
- func (o *ListPackTeamsParams) SetPackID(packID string)
- func (o *ListPackTeamsParams) SetTimeout(timeout time.Duration)
- func (o *ListPackTeamsParams) WithContext(ctx context.Context) *ListPackTeamsParams
- func (o *ListPackTeamsParams) WithDefaults() *ListPackTeamsParams
- func (o *ListPackTeamsParams) WithHTTPClient(client *http.Client) *ListPackTeamsParams
- func (o *ListPackTeamsParams) WithPackID(packID string) *ListPackTeamsParams
- func (o *ListPackTeamsParams) WithTimeout(timeout time.Duration) *ListPackTeamsParams
- func (o *ListPackTeamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPackTeamsReader
- type ListPackUsersDefault
- func (o *ListPackUsersDefault) Code() int
- func (o *ListPackUsersDefault) Error() string
- func (o *ListPackUsersDefault) GetPayload() *models.GeneralError
- func (o *ListPackUsersDefault) IsClientError() bool
- func (o *ListPackUsersDefault) IsCode(code int) bool
- func (o *ListPackUsersDefault) IsRedirect() bool
- func (o *ListPackUsersDefault) IsServerError() bool
- func (o *ListPackUsersDefault) IsSuccess() bool
- func (o *ListPackUsersDefault) String() string
- type ListPackUsersForbidden
- func (o *ListPackUsersForbidden) Code() int
- func (o *ListPackUsersForbidden) Error() string
- func (o *ListPackUsersForbidden) GetPayload() *models.GeneralError
- func (o *ListPackUsersForbidden) IsClientError() bool
- func (o *ListPackUsersForbidden) IsCode(code int) bool
- func (o *ListPackUsersForbidden) IsRedirect() bool
- func (o *ListPackUsersForbidden) IsServerError() bool
- func (o *ListPackUsersForbidden) IsSuccess() bool
- func (o *ListPackUsersForbidden) String() string
- type ListPackUsersNotFound
- func (o *ListPackUsersNotFound) Code() int
- func (o *ListPackUsersNotFound) Error() string
- func (o *ListPackUsersNotFound) GetPayload() *models.GeneralError
- func (o *ListPackUsersNotFound) IsClientError() bool
- func (o *ListPackUsersNotFound) IsCode(code int) bool
- func (o *ListPackUsersNotFound) IsRedirect() bool
- func (o *ListPackUsersNotFound) IsServerError() bool
- func (o *ListPackUsersNotFound) IsSuccess() bool
- func (o *ListPackUsersNotFound) String() string
- type ListPackUsersOK
- func (o *ListPackUsersOK) Code() int
- func (o *ListPackUsersOK) Error() string
- func (o *ListPackUsersOK) GetPayload() *models.PackUsers
- func (o *ListPackUsersOK) IsClientError() bool
- func (o *ListPackUsersOK) IsCode(code int) bool
- func (o *ListPackUsersOK) IsRedirect() bool
- func (o *ListPackUsersOK) IsServerError() bool
- func (o *ListPackUsersOK) IsSuccess() bool
- func (o *ListPackUsersOK) String() string
- type ListPackUsersParams
- func (o *ListPackUsersParams) SetContext(ctx context.Context)
- func (o *ListPackUsersParams) SetDefaults()
- func (o *ListPackUsersParams) SetHTTPClient(client *http.Client)
- func (o *ListPackUsersParams) SetPackID(packID string)
- func (o *ListPackUsersParams) SetTimeout(timeout time.Duration)
- func (o *ListPackUsersParams) WithContext(ctx context.Context) *ListPackUsersParams
- func (o *ListPackUsersParams) WithDefaults() *ListPackUsersParams
- func (o *ListPackUsersParams) WithHTTPClient(client *http.Client) *ListPackUsersParams
- func (o *ListPackUsersParams) WithPackID(packID string) *ListPackUsersParams
- func (o *ListPackUsersParams) WithTimeout(timeout time.Duration) *ListPackUsersParams
- func (o *ListPackUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPackUsersReader
- type ListPacksDefault
- func (o *ListPacksDefault) Code() int
- func (o *ListPacksDefault) Error() string
- func (o *ListPacksDefault) GetPayload() *models.GeneralError
- func (o *ListPacksDefault) IsClientError() bool
- func (o *ListPacksDefault) IsCode(code int) bool
- func (o *ListPacksDefault) IsRedirect() bool
- func (o *ListPacksDefault) IsServerError() bool
- func (o *ListPacksDefault) IsSuccess() bool
- func (o *ListPacksDefault) String() string
- type ListPacksForbidden
- func (o *ListPacksForbidden) Code() int
- func (o *ListPacksForbidden) Error() string
- func (o *ListPacksForbidden) GetPayload() *models.GeneralError
- func (o *ListPacksForbidden) IsClientError() bool
- func (o *ListPacksForbidden) IsCode(code int) bool
- func (o *ListPacksForbidden) IsRedirect() bool
- func (o *ListPacksForbidden) IsServerError() bool
- func (o *ListPacksForbidden) IsSuccess() bool
- func (o *ListPacksForbidden) String() string
- type ListPacksOK
- func (o *ListPacksOK) Code() int
- func (o *ListPacksOK) Error() string
- func (o *ListPacksOK) GetPayload() *models.Packs
- func (o *ListPacksOK) IsClientError() bool
- func (o *ListPacksOK) IsCode(code int) bool
- func (o *ListPacksOK) IsRedirect() bool
- func (o *ListPacksOK) IsServerError() bool
- func (o *ListPacksOK) IsSuccess() bool
- func (o *ListPacksOK) String() string
- type ListPacksParams
- func (o *ListPacksParams) SetContext(ctx context.Context)
- func (o *ListPacksParams) SetDefaults()
- func (o *ListPacksParams) SetHTTPClient(client *http.Client)
- func (o *ListPacksParams) SetTimeout(timeout time.Duration)
- func (o *ListPacksParams) WithContext(ctx context.Context) *ListPacksParams
- func (o *ListPacksParams) WithDefaults() *ListPacksParams
- func (o *ListPacksParams) WithHTTPClient(client *http.Client) *ListPacksParams
- func (o *ListPacksParams) WithTimeout(timeout time.Duration) *ListPacksParams
- func (o *ListPacksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPacksReader
- type PermitPackTeamDefault
- func (o *PermitPackTeamDefault) Code() int
- func (o *PermitPackTeamDefault) Error() string
- func (o *PermitPackTeamDefault) GetPayload() *models.GeneralError
- func (o *PermitPackTeamDefault) IsClientError() bool
- func (o *PermitPackTeamDefault) IsCode(code int) bool
- func (o *PermitPackTeamDefault) IsRedirect() bool
- func (o *PermitPackTeamDefault) IsServerError() bool
- func (o *PermitPackTeamDefault) IsSuccess() bool
- func (o *PermitPackTeamDefault) String() string
- type PermitPackTeamForbidden
- func (o *PermitPackTeamForbidden) Code() int
- func (o *PermitPackTeamForbidden) Error() string
- func (o *PermitPackTeamForbidden) GetPayload() *models.GeneralError
- func (o *PermitPackTeamForbidden) IsClientError() bool
- func (o *PermitPackTeamForbidden) IsCode(code int) bool
- func (o *PermitPackTeamForbidden) IsRedirect() bool
- func (o *PermitPackTeamForbidden) IsServerError() bool
- func (o *PermitPackTeamForbidden) IsSuccess() bool
- func (o *PermitPackTeamForbidden) String() string
- type PermitPackTeamNotFound
- func (o *PermitPackTeamNotFound) Code() int
- func (o *PermitPackTeamNotFound) Error() string
- func (o *PermitPackTeamNotFound) GetPayload() *models.GeneralError
- func (o *PermitPackTeamNotFound) IsClientError() bool
- func (o *PermitPackTeamNotFound) IsCode(code int) bool
- func (o *PermitPackTeamNotFound) IsRedirect() bool
- func (o *PermitPackTeamNotFound) IsServerError() bool
- func (o *PermitPackTeamNotFound) IsSuccess() bool
- func (o *PermitPackTeamNotFound) String() string
- type PermitPackTeamOK
- func (o *PermitPackTeamOK) Code() int
- func (o *PermitPackTeamOK) Error() string
- func (o *PermitPackTeamOK) GetPayload() *models.GeneralError
- func (o *PermitPackTeamOK) IsClientError() bool
- func (o *PermitPackTeamOK) IsCode(code int) bool
- func (o *PermitPackTeamOK) IsRedirect() bool
- func (o *PermitPackTeamOK) IsServerError() bool
- func (o *PermitPackTeamOK) IsSuccess() bool
- func (o *PermitPackTeamOK) String() string
- type PermitPackTeamParams
- func NewPermitPackTeamParams() *PermitPackTeamParams
- func NewPermitPackTeamParamsWithContext(ctx context.Context) *PermitPackTeamParams
- func NewPermitPackTeamParamsWithHTTPClient(client *http.Client) *PermitPackTeamParams
- func NewPermitPackTeamParamsWithTimeout(timeout time.Duration) *PermitPackTeamParams
- func (o *PermitPackTeamParams) SetContext(ctx context.Context)
- func (o *PermitPackTeamParams) SetDefaults()
- func (o *PermitPackTeamParams) SetHTTPClient(client *http.Client)
- func (o *PermitPackTeamParams) SetPackID(packID string)
- func (o *PermitPackTeamParams) SetPackTeam(packTeam *models.PackTeamParams)
- func (o *PermitPackTeamParams) SetTimeout(timeout time.Duration)
- func (o *PermitPackTeamParams) WithContext(ctx context.Context) *PermitPackTeamParams
- func (o *PermitPackTeamParams) WithDefaults() *PermitPackTeamParams
- func (o *PermitPackTeamParams) WithHTTPClient(client *http.Client) *PermitPackTeamParams
- func (o *PermitPackTeamParams) WithPackID(packID string) *PermitPackTeamParams
- func (o *PermitPackTeamParams) WithPackTeam(packTeam *models.PackTeamParams) *PermitPackTeamParams
- func (o *PermitPackTeamParams) WithTimeout(timeout time.Duration) *PermitPackTeamParams
- func (o *PermitPackTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PermitPackTeamPreconditionFailed
- func (o *PermitPackTeamPreconditionFailed) Code() int
- func (o *PermitPackTeamPreconditionFailed) Error() string
- func (o *PermitPackTeamPreconditionFailed) GetPayload() *models.GeneralError
- func (o *PermitPackTeamPreconditionFailed) IsClientError() bool
- func (o *PermitPackTeamPreconditionFailed) IsCode(code int) bool
- func (o *PermitPackTeamPreconditionFailed) IsRedirect() bool
- func (o *PermitPackTeamPreconditionFailed) IsServerError() bool
- func (o *PermitPackTeamPreconditionFailed) IsSuccess() bool
- func (o *PermitPackTeamPreconditionFailed) String() string
- type PermitPackTeamReader
- type PermitPackTeamUnprocessableEntity
- func (o *PermitPackTeamUnprocessableEntity) Code() int
- func (o *PermitPackTeamUnprocessableEntity) Error() string
- func (o *PermitPackTeamUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *PermitPackTeamUnprocessableEntity) IsClientError() bool
- func (o *PermitPackTeamUnprocessableEntity) IsCode(code int) bool
- func (o *PermitPackTeamUnprocessableEntity) IsRedirect() bool
- func (o *PermitPackTeamUnprocessableEntity) IsServerError() bool
- func (o *PermitPackTeamUnprocessableEntity) IsSuccess() bool
- func (o *PermitPackTeamUnprocessableEntity) String() string
- type PermitPackUserDefault
- func (o *PermitPackUserDefault) Code() int
- func (o *PermitPackUserDefault) Error() string
- func (o *PermitPackUserDefault) GetPayload() *models.GeneralError
- func (o *PermitPackUserDefault) IsClientError() bool
- func (o *PermitPackUserDefault) IsCode(code int) bool
- func (o *PermitPackUserDefault) IsRedirect() bool
- func (o *PermitPackUserDefault) IsServerError() bool
- func (o *PermitPackUserDefault) IsSuccess() bool
- func (o *PermitPackUserDefault) String() string
- type PermitPackUserForbidden
- func (o *PermitPackUserForbidden) Code() int
- func (o *PermitPackUserForbidden) Error() string
- func (o *PermitPackUserForbidden) GetPayload() *models.GeneralError
- func (o *PermitPackUserForbidden) IsClientError() bool
- func (o *PermitPackUserForbidden) IsCode(code int) bool
- func (o *PermitPackUserForbidden) IsRedirect() bool
- func (o *PermitPackUserForbidden) IsServerError() bool
- func (o *PermitPackUserForbidden) IsSuccess() bool
- func (o *PermitPackUserForbidden) String() string
- type PermitPackUserNotFound
- func (o *PermitPackUserNotFound) Code() int
- func (o *PermitPackUserNotFound) Error() string
- func (o *PermitPackUserNotFound) GetPayload() *models.GeneralError
- func (o *PermitPackUserNotFound) IsClientError() bool
- func (o *PermitPackUserNotFound) IsCode(code int) bool
- func (o *PermitPackUserNotFound) IsRedirect() bool
- func (o *PermitPackUserNotFound) IsServerError() bool
- func (o *PermitPackUserNotFound) IsSuccess() bool
- func (o *PermitPackUserNotFound) String() string
- type PermitPackUserOK
- func (o *PermitPackUserOK) Code() int
- func (o *PermitPackUserOK) Error() string
- func (o *PermitPackUserOK) GetPayload() *models.GeneralError
- func (o *PermitPackUserOK) IsClientError() bool
- func (o *PermitPackUserOK) IsCode(code int) bool
- func (o *PermitPackUserOK) IsRedirect() bool
- func (o *PermitPackUserOK) IsServerError() bool
- func (o *PermitPackUserOK) IsSuccess() bool
- func (o *PermitPackUserOK) String() string
- type PermitPackUserParams
- func NewPermitPackUserParams() *PermitPackUserParams
- func NewPermitPackUserParamsWithContext(ctx context.Context) *PermitPackUserParams
- func NewPermitPackUserParamsWithHTTPClient(client *http.Client) *PermitPackUserParams
- func NewPermitPackUserParamsWithTimeout(timeout time.Duration) *PermitPackUserParams
- func (o *PermitPackUserParams) SetContext(ctx context.Context)
- func (o *PermitPackUserParams) SetDefaults()
- func (o *PermitPackUserParams) SetHTTPClient(client *http.Client)
- func (o *PermitPackUserParams) SetPackID(packID string)
- func (o *PermitPackUserParams) SetPackUser(packUser *models.PackUserParams)
- func (o *PermitPackUserParams) SetTimeout(timeout time.Duration)
- func (o *PermitPackUserParams) WithContext(ctx context.Context) *PermitPackUserParams
- func (o *PermitPackUserParams) WithDefaults() *PermitPackUserParams
- func (o *PermitPackUserParams) WithHTTPClient(client *http.Client) *PermitPackUserParams
- func (o *PermitPackUserParams) WithPackID(packID string) *PermitPackUserParams
- func (o *PermitPackUserParams) WithPackUser(packUser *models.PackUserParams) *PermitPackUserParams
- func (o *PermitPackUserParams) WithTimeout(timeout time.Duration) *PermitPackUserParams
- func (o *PermitPackUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PermitPackUserPreconditionFailed
- func (o *PermitPackUserPreconditionFailed) Code() int
- func (o *PermitPackUserPreconditionFailed) Error() string
- func (o *PermitPackUserPreconditionFailed) GetPayload() *models.GeneralError
- func (o *PermitPackUserPreconditionFailed) IsClientError() bool
- func (o *PermitPackUserPreconditionFailed) IsCode(code int) bool
- func (o *PermitPackUserPreconditionFailed) IsRedirect() bool
- func (o *PermitPackUserPreconditionFailed) IsServerError() bool
- func (o *PermitPackUserPreconditionFailed) IsSuccess() bool
- func (o *PermitPackUserPreconditionFailed) String() string
- type PermitPackUserReader
- type PermitPackUserUnprocessableEntity
- func (o *PermitPackUserUnprocessableEntity) Code() int
- func (o *PermitPackUserUnprocessableEntity) Error() string
- func (o *PermitPackUserUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *PermitPackUserUnprocessableEntity) IsClientError() bool
- func (o *PermitPackUserUnprocessableEntity) IsCode(code int) bool
- func (o *PermitPackUserUnprocessableEntity) IsRedirect() bool
- func (o *PermitPackUserUnprocessableEntity) IsServerError() bool
- func (o *PermitPackUserUnprocessableEntity) IsSuccess() bool
- func (o *PermitPackUserUnprocessableEntity) String() string
- type ShowBuildDefault
- func (o *ShowBuildDefault) Code() int
- func (o *ShowBuildDefault) Error() string
- func (o *ShowBuildDefault) GetPayload() *models.GeneralError
- func (o *ShowBuildDefault) IsClientError() bool
- func (o *ShowBuildDefault) IsCode(code int) bool
- func (o *ShowBuildDefault) IsRedirect() bool
- func (o *ShowBuildDefault) IsServerError() bool
- func (o *ShowBuildDefault) IsSuccess() bool
- func (o *ShowBuildDefault) String() string
- type ShowBuildForbidden
- func (o *ShowBuildForbidden) Code() int
- func (o *ShowBuildForbidden) Error() string
- func (o *ShowBuildForbidden) GetPayload() *models.GeneralError
- func (o *ShowBuildForbidden) IsClientError() bool
- func (o *ShowBuildForbidden) IsCode(code int) bool
- func (o *ShowBuildForbidden) IsRedirect() bool
- func (o *ShowBuildForbidden) IsServerError() bool
- func (o *ShowBuildForbidden) IsSuccess() bool
- func (o *ShowBuildForbidden) String() string
- type ShowBuildNotFound
- func (o *ShowBuildNotFound) Code() int
- func (o *ShowBuildNotFound) Error() string
- func (o *ShowBuildNotFound) GetPayload() *models.GeneralError
- func (o *ShowBuildNotFound) IsClientError() bool
- func (o *ShowBuildNotFound) IsCode(code int) bool
- func (o *ShowBuildNotFound) IsRedirect() bool
- func (o *ShowBuildNotFound) IsServerError() bool
- func (o *ShowBuildNotFound) IsSuccess() bool
- func (o *ShowBuildNotFound) String() string
- type ShowBuildOK
- func (o *ShowBuildOK) Code() int
- func (o *ShowBuildOK) Error() string
- func (o *ShowBuildOK) GetPayload() *models.Build
- func (o *ShowBuildOK) IsClientError() bool
- func (o *ShowBuildOK) IsCode(code int) bool
- func (o *ShowBuildOK) IsRedirect() bool
- func (o *ShowBuildOK) IsServerError() bool
- func (o *ShowBuildOK) IsSuccess() bool
- func (o *ShowBuildOK) String() string
- type ShowBuildParams
- func (o *ShowBuildParams) SetBuildID(buildID string)
- func (o *ShowBuildParams) SetContext(ctx context.Context)
- func (o *ShowBuildParams) SetDefaults()
- func (o *ShowBuildParams) SetHTTPClient(client *http.Client)
- func (o *ShowBuildParams) SetPackID(packID string)
- func (o *ShowBuildParams) SetTimeout(timeout time.Duration)
- func (o *ShowBuildParams) WithBuildID(buildID string) *ShowBuildParams
- func (o *ShowBuildParams) WithContext(ctx context.Context) *ShowBuildParams
- func (o *ShowBuildParams) WithDefaults() *ShowBuildParams
- func (o *ShowBuildParams) WithHTTPClient(client *http.Client) *ShowBuildParams
- func (o *ShowBuildParams) WithPackID(packID string) *ShowBuildParams
- func (o *ShowBuildParams) WithTimeout(timeout time.Duration) *ShowBuildParams
- func (o *ShowBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShowBuildReader
- type ShowPackDefault
- func (o *ShowPackDefault) Code() int
- func (o *ShowPackDefault) Error() string
- func (o *ShowPackDefault) GetPayload() *models.GeneralError
- func (o *ShowPackDefault) IsClientError() bool
- func (o *ShowPackDefault) IsCode(code int) bool
- func (o *ShowPackDefault) IsRedirect() bool
- func (o *ShowPackDefault) IsServerError() bool
- func (o *ShowPackDefault) IsSuccess() bool
- func (o *ShowPackDefault) String() string
- type ShowPackForbidden
- func (o *ShowPackForbidden) Code() int
- func (o *ShowPackForbidden) Error() string
- func (o *ShowPackForbidden) GetPayload() *models.GeneralError
- func (o *ShowPackForbidden) IsClientError() bool
- func (o *ShowPackForbidden) IsCode(code int) bool
- func (o *ShowPackForbidden) IsRedirect() bool
- func (o *ShowPackForbidden) IsServerError() bool
- func (o *ShowPackForbidden) IsSuccess() bool
- func (o *ShowPackForbidden) String() string
- type ShowPackNotFound
- func (o *ShowPackNotFound) Code() int
- func (o *ShowPackNotFound) Error() string
- func (o *ShowPackNotFound) GetPayload() *models.GeneralError
- func (o *ShowPackNotFound) IsClientError() bool
- func (o *ShowPackNotFound) IsCode(code int) bool
- func (o *ShowPackNotFound) IsRedirect() bool
- func (o *ShowPackNotFound) IsServerError() bool
- func (o *ShowPackNotFound) IsSuccess() bool
- func (o *ShowPackNotFound) String() string
- type ShowPackOK
- func (o *ShowPackOK) Code() int
- func (o *ShowPackOK) Error() string
- func (o *ShowPackOK) GetPayload() *models.Pack
- func (o *ShowPackOK) IsClientError() bool
- func (o *ShowPackOK) IsCode(code int) bool
- func (o *ShowPackOK) IsRedirect() bool
- func (o *ShowPackOK) IsServerError() bool
- func (o *ShowPackOK) IsSuccess() bool
- func (o *ShowPackOK) String() string
- type ShowPackParams
- func (o *ShowPackParams) SetContext(ctx context.Context)
- func (o *ShowPackParams) SetDefaults()
- func (o *ShowPackParams) SetHTTPClient(client *http.Client)
- func (o *ShowPackParams) SetPackID(packID string)
- func (o *ShowPackParams) SetTimeout(timeout time.Duration)
- func (o *ShowPackParams) WithContext(ctx context.Context) *ShowPackParams
- func (o *ShowPackParams) WithDefaults() *ShowPackParams
- func (o *ShowPackParams) WithHTTPClient(client *http.Client) *ShowPackParams
- func (o *ShowPackParams) WithPackID(packID string) *ShowPackParams
- func (o *ShowPackParams) WithTimeout(timeout time.Duration) *ShowPackParams
- func (o *ShowPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShowPackReader
- type UpdateBuildDefault
- func (o *UpdateBuildDefault) Code() int
- func (o *UpdateBuildDefault) Error() string
- func (o *UpdateBuildDefault) GetPayload() *models.GeneralError
- func (o *UpdateBuildDefault) IsClientError() bool
- func (o *UpdateBuildDefault) IsCode(code int) bool
- func (o *UpdateBuildDefault) IsRedirect() bool
- func (o *UpdateBuildDefault) IsServerError() bool
- func (o *UpdateBuildDefault) IsSuccess() bool
- func (o *UpdateBuildDefault) String() string
- type UpdateBuildForbidden
- func (o *UpdateBuildForbidden) Code() int
- func (o *UpdateBuildForbidden) Error() string
- func (o *UpdateBuildForbidden) GetPayload() *models.GeneralError
- func (o *UpdateBuildForbidden) IsClientError() bool
- func (o *UpdateBuildForbidden) IsCode(code int) bool
- func (o *UpdateBuildForbidden) IsRedirect() bool
- func (o *UpdateBuildForbidden) IsServerError() bool
- func (o *UpdateBuildForbidden) IsSuccess() bool
- func (o *UpdateBuildForbidden) String() string
- type UpdateBuildNotFound
- func (o *UpdateBuildNotFound) Code() int
- func (o *UpdateBuildNotFound) Error() string
- func (o *UpdateBuildNotFound) GetPayload() *models.GeneralError
- func (o *UpdateBuildNotFound) IsClientError() bool
- func (o *UpdateBuildNotFound) IsCode(code int) bool
- func (o *UpdateBuildNotFound) IsRedirect() bool
- func (o *UpdateBuildNotFound) IsServerError() bool
- func (o *UpdateBuildNotFound) IsSuccess() bool
- func (o *UpdateBuildNotFound) String() string
- type UpdateBuildOK
- func (o *UpdateBuildOK) Code() int
- func (o *UpdateBuildOK) Error() string
- func (o *UpdateBuildOK) GetPayload() *models.Build
- func (o *UpdateBuildOK) IsClientError() bool
- func (o *UpdateBuildOK) IsCode(code int) bool
- func (o *UpdateBuildOK) IsRedirect() bool
- func (o *UpdateBuildOK) IsServerError() bool
- func (o *UpdateBuildOK) IsSuccess() bool
- func (o *UpdateBuildOK) String() string
- type UpdateBuildParams
- func (o *UpdateBuildParams) SetBuild(build *models.Build)
- func (o *UpdateBuildParams) SetBuildID(buildID string)
- func (o *UpdateBuildParams) SetContext(ctx context.Context)
- func (o *UpdateBuildParams) SetDefaults()
- func (o *UpdateBuildParams) SetHTTPClient(client *http.Client)
- func (o *UpdateBuildParams) SetPackID(packID string)
- func (o *UpdateBuildParams) SetTimeout(timeout time.Duration)
- func (o *UpdateBuildParams) WithBuild(build *models.Build) *UpdateBuildParams
- func (o *UpdateBuildParams) WithBuildID(buildID string) *UpdateBuildParams
- func (o *UpdateBuildParams) WithContext(ctx context.Context) *UpdateBuildParams
- func (o *UpdateBuildParams) WithDefaults() *UpdateBuildParams
- func (o *UpdateBuildParams) WithHTTPClient(client *http.Client) *UpdateBuildParams
- func (o *UpdateBuildParams) WithPackID(packID string) *UpdateBuildParams
- func (o *UpdateBuildParams) WithTimeout(timeout time.Duration) *UpdateBuildParams
- func (o *UpdateBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateBuildReader
- type UpdateBuildUnprocessableEntity
- func (o *UpdateBuildUnprocessableEntity) Code() int
- func (o *UpdateBuildUnprocessableEntity) Error() string
- func (o *UpdateBuildUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *UpdateBuildUnprocessableEntity) IsClientError() bool
- func (o *UpdateBuildUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateBuildUnprocessableEntity) IsRedirect() bool
- func (o *UpdateBuildUnprocessableEntity) IsServerError() bool
- func (o *UpdateBuildUnprocessableEntity) IsSuccess() bool
- func (o *UpdateBuildUnprocessableEntity) String() string
- type UpdatePackDefault
- func (o *UpdatePackDefault) Code() int
- func (o *UpdatePackDefault) Error() string
- func (o *UpdatePackDefault) GetPayload() *models.GeneralError
- func (o *UpdatePackDefault) IsClientError() bool
- func (o *UpdatePackDefault) IsCode(code int) bool
- func (o *UpdatePackDefault) IsRedirect() bool
- func (o *UpdatePackDefault) IsServerError() bool
- func (o *UpdatePackDefault) IsSuccess() bool
- func (o *UpdatePackDefault) String() string
- type UpdatePackForbidden
- func (o *UpdatePackForbidden) Code() int
- func (o *UpdatePackForbidden) Error() string
- func (o *UpdatePackForbidden) GetPayload() *models.GeneralError
- func (o *UpdatePackForbidden) IsClientError() bool
- func (o *UpdatePackForbidden) IsCode(code int) bool
- func (o *UpdatePackForbidden) IsRedirect() bool
- func (o *UpdatePackForbidden) IsServerError() bool
- func (o *UpdatePackForbidden) IsSuccess() bool
- func (o *UpdatePackForbidden) String() string
- type UpdatePackNotFound
- func (o *UpdatePackNotFound) Code() int
- func (o *UpdatePackNotFound) Error() string
- func (o *UpdatePackNotFound) GetPayload() *models.GeneralError
- func (o *UpdatePackNotFound) IsClientError() bool
- func (o *UpdatePackNotFound) IsCode(code int) bool
- func (o *UpdatePackNotFound) IsRedirect() bool
- func (o *UpdatePackNotFound) IsServerError() bool
- func (o *UpdatePackNotFound) IsSuccess() bool
- func (o *UpdatePackNotFound) String() string
- type UpdatePackOK
- func (o *UpdatePackOK) Code() int
- func (o *UpdatePackOK) Error() string
- func (o *UpdatePackOK) GetPayload() *models.Pack
- func (o *UpdatePackOK) IsClientError() bool
- func (o *UpdatePackOK) IsCode(code int) bool
- func (o *UpdatePackOK) IsRedirect() bool
- func (o *UpdatePackOK) IsServerError() bool
- func (o *UpdatePackOK) IsSuccess() bool
- func (o *UpdatePackOK) String() string
- type UpdatePackParams
- func (o *UpdatePackParams) SetContext(ctx context.Context)
- func (o *UpdatePackParams) SetDefaults()
- func (o *UpdatePackParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePackParams) SetPack(pack *models.Pack)
- func (o *UpdatePackParams) SetPackID(packID string)
- func (o *UpdatePackParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePackParams) WithContext(ctx context.Context) *UpdatePackParams
- func (o *UpdatePackParams) WithDefaults() *UpdatePackParams
- func (o *UpdatePackParams) WithHTTPClient(client *http.Client) *UpdatePackParams
- func (o *UpdatePackParams) WithPack(pack *models.Pack) *UpdatePackParams
- func (o *UpdatePackParams) WithPackID(packID string) *UpdatePackParams
- func (o *UpdatePackParams) WithTimeout(timeout time.Duration) *UpdatePackParams
- func (o *UpdatePackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePackReader
- type UpdatePackUnprocessableEntity
- func (o *UpdatePackUnprocessableEntity) Code() int
- func (o *UpdatePackUnprocessableEntity) Error() string
- func (o *UpdatePackUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *UpdatePackUnprocessableEntity) IsClientError() bool
- func (o *UpdatePackUnprocessableEntity) IsCode(code int) bool
- func (o *UpdatePackUnprocessableEntity) IsRedirect() bool
- func (o *UpdatePackUnprocessableEntity) IsServerError() bool
- func (o *UpdatePackUnprocessableEntity) IsSuccess() bool
- func (o *UpdatePackUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppendBuildToVersionDefault ¶
type AppendBuildToVersionDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
AppendBuildToVersionDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewAppendBuildToVersionDefault ¶
func NewAppendBuildToVersionDefault(code int) *AppendBuildToVersionDefault
NewAppendBuildToVersionDefault creates a AppendBuildToVersionDefault with default headers values
func (*AppendBuildToVersionDefault) Code ¶
func (o *AppendBuildToVersionDefault) Code() int
Code gets the status code for the append build to version default response
func (*AppendBuildToVersionDefault) Error ¶
func (o *AppendBuildToVersionDefault) Error() string
func (*AppendBuildToVersionDefault) GetPayload ¶
func (o *AppendBuildToVersionDefault) GetPayload() *models.GeneralError
func (*AppendBuildToVersionDefault) IsClientError ¶
func (o *AppendBuildToVersionDefault) IsClientError() bool
IsClientError returns true when this append build to version default response has a 4xx status code
func (*AppendBuildToVersionDefault) IsCode ¶
func (o *AppendBuildToVersionDefault) IsCode(code int) bool
IsCode returns true when this append build to version default response a status code equal to that given
func (*AppendBuildToVersionDefault) IsRedirect ¶
func (o *AppendBuildToVersionDefault) IsRedirect() bool
IsRedirect returns true when this append build to version default response has a 3xx status code
func (*AppendBuildToVersionDefault) IsServerError ¶
func (o *AppendBuildToVersionDefault) IsServerError() bool
IsServerError returns true when this append build to version default response has a 5xx status code
func (*AppendBuildToVersionDefault) IsSuccess ¶
func (o *AppendBuildToVersionDefault) IsSuccess() bool
IsSuccess returns true when this append build to version default response has a 2xx status code
func (*AppendBuildToVersionDefault) String ¶
func (o *AppendBuildToVersionDefault) String() string
type AppendBuildToVersionForbidden ¶
type AppendBuildToVersionForbidden struct {
Payload *models.GeneralError
}
AppendBuildToVersionForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewAppendBuildToVersionForbidden ¶
func NewAppendBuildToVersionForbidden() *AppendBuildToVersionForbidden
NewAppendBuildToVersionForbidden creates a AppendBuildToVersionForbidden with default headers values
func (*AppendBuildToVersionForbidden) Code ¶
func (o *AppendBuildToVersionForbidden) Code() int
Code gets the status code for the append build to version forbidden response
func (*AppendBuildToVersionForbidden) Error ¶
func (o *AppendBuildToVersionForbidden) Error() string
func (*AppendBuildToVersionForbidden) GetPayload ¶
func (o *AppendBuildToVersionForbidden) GetPayload() *models.GeneralError
func (*AppendBuildToVersionForbidden) IsClientError ¶
func (o *AppendBuildToVersionForbidden) IsClientError() bool
IsClientError returns true when this append build to version forbidden response has a 4xx status code
func (*AppendBuildToVersionForbidden) IsCode ¶
func (o *AppendBuildToVersionForbidden) IsCode(code int) bool
IsCode returns true when this append build to version forbidden response a status code equal to that given
func (*AppendBuildToVersionForbidden) IsRedirect ¶
func (o *AppendBuildToVersionForbidden) IsRedirect() bool
IsRedirect returns true when this append build to version forbidden response has a 3xx status code
func (*AppendBuildToVersionForbidden) IsServerError ¶
func (o *AppendBuildToVersionForbidden) IsServerError() bool
IsServerError returns true when this append build to version forbidden response has a 5xx status code
func (*AppendBuildToVersionForbidden) IsSuccess ¶
func (o *AppendBuildToVersionForbidden) IsSuccess() bool
IsSuccess returns true when this append build to version forbidden response has a 2xx status code
func (*AppendBuildToVersionForbidden) String ¶
func (o *AppendBuildToVersionForbidden) String() string
type AppendBuildToVersionNotFound ¶
type AppendBuildToVersionNotFound struct {
Payload *models.GeneralError
}
AppendBuildToVersionNotFound describes a response with status code 404, with default header values.
Build or pack not found
func NewAppendBuildToVersionNotFound ¶
func NewAppendBuildToVersionNotFound() *AppendBuildToVersionNotFound
NewAppendBuildToVersionNotFound creates a AppendBuildToVersionNotFound with default headers values
func (*AppendBuildToVersionNotFound) Code ¶
func (o *AppendBuildToVersionNotFound) Code() int
Code gets the status code for the append build to version not found response
func (*AppendBuildToVersionNotFound) Error ¶
func (o *AppendBuildToVersionNotFound) Error() string
func (*AppendBuildToVersionNotFound) GetPayload ¶
func (o *AppendBuildToVersionNotFound) GetPayload() *models.GeneralError
func (*AppendBuildToVersionNotFound) IsClientError ¶
func (o *AppendBuildToVersionNotFound) IsClientError() bool
IsClientError returns true when this append build to version not found response has a 4xx status code
func (*AppendBuildToVersionNotFound) IsCode ¶
func (o *AppendBuildToVersionNotFound) IsCode(code int) bool
IsCode returns true when this append build to version not found response a status code equal to that given
func (*AppendBuildToVersionNotFound) IsRedirect ¶
func (o *AppendBuildToVersionNotFound) IsRedirect() bool
IsRedirect returns true when this append build to version not found response has a 3xx status code
func (*AppendBuildToVersionNotFound) IsServerError ¶
func (o *AppendBuildToVersionNotFound) IsServerError() bool
IsServerError returns true when this append build to version not found response has a 5xx status code
func (*AppendBuildToVersionNotFound) IsSuccess ¶
func (o *AppendBuildToVersionNotFound) IsSuccess() bool
IsSuccess returns true when this append build to version not found response has a 2xx status code
func (*AppendBuildToVersionNotFound) String ¶
func (o *AppendBuildToVersionNotFound) String() string
type AppendBuildToVersionOK ¶
type AppendBuildToVersionOK struct {
Payload *models.GeneralError
}
AppendBuildToVersionOK describes a response with status code 200, with default header values.
Plain success message
func NewAppendBuildToVersionOK ¶
func NewAppendBuildToVersionOK() *AppendBuildToVersionOK
NewAppendBuildToVersionOK creates a AppendBuildToVersionOK with default headers values
func (*AppendBuildToVersionOK) Code ¶
func (o *AppendBuildToVersionOK) Code() int
Code gets the status code for the append build to version o k response
func (*AppendBuildToVersionOK) Error ¶
func (o *AppendBuildToVersionOK) Error() string
func (*AppendBuildToVersionOK) GetPayload ¶
func (o *AppendBuildToVersionOK) GetPayload() *models.GeneralError
func (*AppendBuildToVersionOK) IsClientError ¶
func (o *AppendBuildToVersionOK) IsClientError() bool
IsClientError returns true when this append build to version o k response has a 4xx status code
func (*AppendBuildToVersionOK) IsCode ¶
func (o *AppendBuildToVersionOK) IsCode(code int) bool
IsCode returns true when this append build to version o k response a status code equal to that given
func (*AppendBuildToVersionOK) IsRedirect ¶
func (o *AppendBuildToVersionOK) IsRedirect() bool
IsRedirect returns true when this append build to version o k response has a 3xx status code
func (*AppendBuildToVersionOK) IsServerError ¶
func (o *AppendBuildToVersionOK) IsServerError() bool
IsServerError returns true when this append build to version o k response has a 5xx status code
func (*AppendBuildToVersionOK) IsSuccess ¶
func (o *AppendBuildToVersionOK) IsSuccess() bool
IsSuccess returns true when this append build to version o k response has a 2xx status code
func (*AppendBuildToVersionOK) String ¶
func (o *AppendBuildToVersionOK) String() string
type AppendBuildToVersionParams ¶
type AppendBuildToVersionParams struct { /* BuildID. A build UUID or slug */ BuildID string /* BuildVersion. The version data to append to build */ BuildVersion *models.BuildVersionParams /* PackID. A pack UUID or slug */ PackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AppendBuildToVersionParams contains all the parameters to send to the API endpoint
for the append build to version operation. Typically these are written to a http.Request.
func NewAppendBuildToVersionParams ¶
func NewAppendBuildToVersionParams() *AppendBuildToVersionParams
NewAppendBuildToVersionParams creates a new AppendBuildToVersionParams 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 NewAppendBuildToVersionParamsWithContext ¶
func NewAppendBuildToVersionParamsWithContext(ctx context.Context) *AppendBuildToVersionParams
NewAppendBuildToVersionParamsWithContext creates a new AppendBuildToVersionParams object with the ability to set a context for a request.
func NewAppendBuildToVersionParamsWithHTTPClient ¶
func NewAppendBuildToVersionParamsWithHTTPClient(client *http.Client) *AppendBuildToVersionParams
NewAppendBuildToVersionParamsWithHTTPClient creates a new AppendBuildToVersionParams object with the ability to set a custom HTTPClient for a request.
func NewAppendBuildToVersionParamsWithTimeout ¶
func NewAppendBuildToVersionParamsWithTimeout(timeout time.Duration) *AppendBuildToVersionParams
NewAppendBuildToVersionParamsWithTimeout creates a new AppendBuildToVersionParams object with the ability to set a timeout on a request.
func (*AppendBuildToVersionParams) SetBuildID ¶
func (o *AppendBuildToVersionParams) SetBuildID(buildID string)
SetBuildID adds the buildId to the append build to version params
func (*AppendBuildToVersionParams) SetBuildVersion ¶
func (o *AppendBuildToVersionParams) SetBuildVersion(buildVersion *models.BuildVersionParams)
SetBuildVersion adds the buildVersion to the append build to version params
func (*AppendBuildToVersionParams) SetContext ¶
func (o *AppendBuildToVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the append build to version params
func (*AppendBuildToVersionParams) SetDefaults ¶
func (o *AppendBuildToVersionParams) SetDefaults()
SetDefaults hydrates default values in the append build to version params (not the query body).
All values with no default are reset to their zero value.
func (*AppendBuildToVersionParams) SetHTTPClient ¶
func (o *AppendBuildToVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the append build to version params
func (*AppendBuildToVersionParams) SetPackID ¶
func (o *AppendBuildToVersionParams) SetPackID(packID string)
SetPackID adds the packId to the append build to version params
func (*AppendBuildToVersionParams) SetTimeout ¶
func (o *AppendBuildToVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the append build to version params
func (*AppendBuildToVersionParams) WithBuildID ¶
func (o *AppendBuildToVersionParams) WithBuildID(buildID string) *AppendBuildToVersionParams
WithBuildID adds the buildID to the append build to version params
func (*AppendBuildToVersionParams) WithBuildVersion ¶
func (o *AppendBuildToVersionParams) WithBuildVersion(buildVersion *models.BuildVersionParams) *AppendBuildToVersionParams
WithBuildVersion adds the buildVersion to the append build to version params
func (*AppendBuildToVersionParams) WithContext ¶
func (o *AppendBuildToVersionParams) WithContext(ctx context.Context) *AppendBuildToVersionParams
WithContext adds the context to the append build to version params
func (*AppendBuildToVersionParams) WithDefaults ¶
func (o *AppendBuildToVersionParams) WithDefaults() *AppendBuildToVersionParams
WithDefaults hydrates default values in the append build to version params (not the query body).
All values with no default are reset to their zero value.
func (*AppendBuildToVersionParams) WithHTTPClient ¶
func (o *AppendBuildToVersionParams) WithHTTPClient(client *http.Client) *AppendBuildToVersionParams
WithHTTPClient adds the HTTPClient to the append build to version params
func (*AppendBuildToVersionParams) WithPackID ¶
func (o *AppendBuildToVersionParams) WithPackID(packID string) *AppendBuildToVersionParams
WithPackID adds the packID to the append build to version params
func (*AppendBuildToVersionParams) WithTimeout ¶
func (o *AppendBuildToVersionParams) WithTimeout(timeout time.Duration) *AppendBuildToVersionParams
WithTimeout adds the timeout to the append build to version params
func (*AppendBuildToVersionParams) WriteToRequest ¶
func (o *AppendBuildToVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AppendBuildToVersionPreconditionFailed ¶
type AppendBuildToVersionPreconditionFailed struct {
Payload *models.GeneralError
}
AppendBuildToVersionPreconditionFailed describes a response with status code 412, with default header values.
Version is already assigned
func NewAppendBuildToVersionPreconditionFailed ¶
func NewAppendBuildToVersionPreconditionFailed() *AppendBuildToVersionPreconditionFailed
NewAppendBuildToVersionPreconditionFailed creates a AppendBuildToVersionPreconditionFailed with default headers values
func (*AppendBuildToVersionPreconditionFailed) Code ¶
func (o *AppendBuildToVersionPreconditionFailed) Code() int
Code gets the status code for the append build to version precondition failed response
func (*AppendBuildToVersionPreconditionFailed) Error ¶
func (o *AppendBuildToVersionPreconditionFailed) Error() string
func (*AppendBuildToVersionPreconditionFailed) GetPayload ¶
func (o *AppendBuildToVersionPreconditionFailed) GetPayload() *models.GeneralError
func (*AppendBuildToVersionPreconditionFailed) IsClientError ¶
func (o *AppendBuildToVersionPreconditionFailed) IsClientError() bool
IsClientError returns true when this append build to version precondition failed response has a 4xx status code
func (*AppendBuildToVersionPreconditionFailed) IsCode ¶
func (o *AppendBuildToVersionPreconditionFailed) IsCode(code int) bool
IsCode returns true when this append build to version precondition failed response a status code equal to that given
func (*AppendBuildToVersionPreconditionFailed) IsRedirect ¶
func (o *AppendBuildToVersionPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this append build to version precondition failed response has a 3xx status code
func (*AppendBuildToVersionPreconditionFailed) IsServerError ¶
func (o *AppendBuildToVersionPreconditionFailed) IsServerError() bool
IsServerError returns true when this append build to version precondition failed response has a 5xx status code
func (*AppendBuildToVersionPreconditionFailed) IsSuccess ¶
func (o *AppendBuildToVersionPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this append build to version precondition failed response has a 2xx status code
func (*AppendBuildToVersionPreconditionFailed) String ¶
func (o *AppendBuildToVersionPreconditionFailed) String() string
type AppendBuildToVersionReader ¶
type AppendBuildToVersionReader struct {
// contains filtered or unexported fields
}
AppendBuildToVersionReader is a Reader for the AppendBuildToVersion structure.
func (*AppendBuildToVersionReader) ReadResponse ¶
func (o *AppendBuildToVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AppendBuildToVersionUnprocessableEntity ¶
type AppendBuildToVersionUnprocessableEntity struct {
Payload *models.ValidationError
}
AppendBuildToVersionUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewAppendBuildToVersionUnprocessableEntity ¶
func NewAppendBuildToVersionUnprocessableEntity() *AppendBuildToVersionUnprocessableEntity
NewAppendBuildToVersionUnprocessableEntity creates a AppendBuildToVersionUnprocessableEntity with default headers values
func (*AppendBuildToVersionUnprocessableEntity) Code ¶
func (o *AppendBuildToVersionUnprocessableEntity) Code() int
Code gets the status code for the append build to version unprocessable entity response
func (*AppendBuildToVersionUnprocessableEntity) Error ¶
func (o *AppendBuildToVersionUnprocessableEntity) Error() string
func (*AppendBuildToVersionUnprocessableEntity) GetPayload ¶
func (o *AppendBuildToVersionUnprocessableEntity) GetPayload() *models.ValidationError
func (*AppendBuildToVersionUnprocessableEntity) IsClientError ¶
func (o *AppendBuildToVersionUnprocessableEntity) IsClientError() bool
IsClientError returns true when this append build to version unprocessable entity response has a 4xx status code
func (*AppendBuildToVersionUnprocessableEntity) IsCode ¶
func (o *AppendBuildToVersionUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this append build to version unprocessable entity response a status code equal to that given
func (*AppendBuildToVersionUnprocessableEntity) IsRedirect ¶
func (o *AppendBuildToVersionUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this append build to version unprocessable entity response has a 3xx status code
func (*AppendBuildToVersionUnprocessableEntity) IsServerError ¶
func (o *AppendBuildToVersionUnprocessableEntity) IsServerError() bool
IsServerError returns true when this append build to version unprocessable entity response has a 5xx status code
func (*AppendBuildToVersionUnprocessableEntity) IsSuccess ¶
func (o *AppendBuildToVersionUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this append build to version unprocessable entity response has a 2xx status code
func (*AppendBuildToVersionUnprocessableEntity) String ¶
func (o *AppendBuildToVersionUnprocessableEntity) String() string
type AttachPackToTeamDefault ¶
type AttachPackToTeamDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
AttachPackToTeamDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewAttachPackToTeamDefault ¶
func NewAttachPackToTeamDefault(code int) *AttachPackToTeamDefault
NewAttachPackToTeamDefault creates a AttachPackToTeamDefault with default headers values
func (*AttachPackToTeamDefault) Code ¶
func (o *AttachPackToTeamDefault) Code() int
Code gets the status code for the attach pack to team default response
func (*AttachPackToTeamDefault) Error ¶
func (o *AttachPackToTeamDefault) Error() string
func (*AttachPackToTeamDefault) GetPayload ¶
func (o *AttachPackToTeamDefault) GetPayload() *models.GeneralError
func (*AttachPackToTeamDefault) IsClientError ¶
func (o *AttachPackToTeamDefault) IsClientError() bool
IsClientError returns true when this attach pack to team default response has a 4xx status code
func (*AttachPackToTeamDefault) IsCode ¶
func (o *AttachPackToTeamDefault) IsCode(code int) bool
IsCode returns true when this attach pack to team default response a status code equal to that given
func (*AttachPackToTeamDefault) IsRedirect ¶
func (o *AttachPackToTeamDefault) IsRedirect() bool
IsRedirect returns true when this attach pack to team default response has a 3xx status code
func (*AttachPackToTeamDefault) IsServerError ¶
func (o *AttachPackToTeamDefault) IsServerError() bool
IsServerError returns true when this attach pack to team default response has a 5xx status code
func (*AttachPackToTeamDefault) IsSuccess ¶
func (o *AttachPackToTeamDefault) IsSuccess() bool
IsSuccess returns true when this attach pack to team default response has a 2xx status code
func (*AttachPackToTeamDefault) String ¶
func (o *AttachPackToTeamDefault) String() string
type AttachPackToTeamForbidden ¶
type AttachPackToTeamForbidden struct {
Payload *models.GeneralError
}
AttachPackToTeamForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewAttachPackToTeamForbidden ¶
func NewAttachPackToTeamForbidden() *AttachPackToTeamForbidden
NewAttachPackToTeamForbidden creates a AttachPackToTeamForbidden with default headers values
func (*AttachPackToTeamForbidden) Code ¶
func (o *AttachPackToTeamForbidden) Code() int
Code gets the status code for the attach pack to team forbidden response
func (*AttachPackToTeamForbidden) Error ¶
func (o *AttachPackToTeamForbidden) Error() string
func (*AttachPackToTeamForbidden) GetPayload ¶
func (o *AttachPackToTeamForbidden) GetPayload() *models.GeneralError
func (*AttachPackToTeamForbidden) IsClientError ¶
func (o *AttachPackToTeamForbidden) IsClientError() bool
IsClientError returns true when this attach pack to team forbidden response has a 4xx status code
func (*AttachPackToTeamForbidden) IsCode ¶
func (o *AttachPackToTeamForbidden) IsCode(code int) bool
IsCode returns true when this attach pack to team forbidden response a status code equal to that given
func (*AttachPackToTeamForbidden) IsRedirect ¶
func (o *AttachPackToTeamForbidden) IsRedirect() bool
IsRedirect returns true when this attach pack to team forbidden response has a 3xx status code
func (*AttachPackToTeamForbidden) IsServerError ¶
func (o *AttachPackToTeamForbidden) IsServerError() bool
IsServerError returns true when this attach pack to team forbidden response has a 5xx status code
func (*AttachPackToTeamForbidden) IsSuccess ¶
func (o *AttachPackToTeamForbidden) IsSuccess() bool
IsSuccess returns true when this attach pack to team forbidden response has a 2xx status code
func (*AttachPackToTeamForbidden) String ¶
func (o *AttachPackToTeamForbidden) String() string
type AttachPackToTeamNotFound ¶
type AttachPackToTeamNotFound struct {
Payload *models.GeneralError
}
AttachPackToTeamNotFound describes a response with status code 404, with default header values.
Pack or team not found
func NewAttachPackToTeamNotFound ¶
func NewAttachPackToTeamNotFound() *AttachPackToTeamNotFound
NewAttachPackToTeamNotFound creates a AttachPackToTeamNotFound with default headers values
func (*AttachPackToTeamNotFound) Code ¶
func (o *AttachPackToTeamNotFound) Code() int
Code gets the status code for the attach pack to team not found response
func (*AttachPackToTeamNotFound) Error ¶
func (o *AttachPackToTeamNotFound) Error() string
func (*AttachPackToTeamNotFound) GetPayload ¶
func (o *AttachPackToTeamNotFound) GetPayload() *models.GeneralError
func (*AttachPackToTeamNotFound) IsClientError ¶
func (o *AttachPackToTeamNotFound) IsClientError() bool
IsClientError returns true when this attach pack to team not found response has a 4xx status code
func (*AttachPackToTeamNotFound) IsCode ¶
func (o *AttachPackToTeamNotFound) IsCode(code int) bool
IsCode returns true when this attach pack to team not found response a status code equal to that given
func (*AttachPackToTeamNotFound) IsRedirect ¶
func (o *AttachPackToTeamNotFound) IsRedirect() bool
IsRedirect returns true when this attach pack to team not found response has a 3xx status code
func (*AttachPackToTeamNotFound) IsServerError ¶
func (o *AttachPackToTeamNotFound) IsServerError() bool
IsServerError returns true when this attach pack to team not found response has a 5xx status code
func (*AttachPackToTeamNotFound) IsSuccess ¶
func (o *AttachPackToTeamNotFound) IsSuccess() bool
IsSuccess returns true when this attach pack to team not found response has a 2xx status code
func (*AttachPackToTeamNotFound) String ¶
func (o *AttachPackToTeamNotFound) String() string
type AttachPackToTeamOK ¶
type AttachPackToTeamOK struct {
Payload *models.GeneralError
}
AttachPackToTeamOK describes a response with status code 200, with default header values.
Plain success message
func NewAttachPackToTeamOK ¶
func NewAttachPackToTeamOK() *AttachPackToTeamOK
NewAttachPackToTeamOK creates a AttachPackToTeamOK with default headers values
func (*AttachPackToTeamOK) Code ¶
func (o *AttachPackToTeamOK) Code() int
Code gets the status code for the attach pack to team o k response
func (*AttachPackToTeamOK) Error ¶
func (o *AttachPackToTeamOK) Error() string
func (*AttachPackToTeamOK) GetPayload ¶
func (o *AttachPackToTeamOK) GetPayload() *models.GeneralError
func (*AttachPackToTeamOK) IsClientError ¶
func (o *AttachPackToTeamOK) IsClientError() bool
IsClientError returns true when this attach pack to team o k response has a 4xx status code
func (*AttachPackToTeamOK) IsCode ¶
func (o *AttachPackToTeamOK) IsCode(code int) bool
IsCode returns true when this attach pack to team o k response a status code equal to that given
func (*AttachPackToTeamOK) IsRedirect ¶
func (o *AttachPackToTeamOK) IsRedirect() bool
IsRedirect returns true when this attach pack to team o k response has a 3xx status code
func (*AttachPackToTeamOK) IsServerError ¶
func (o *AttachPackToTeamOK) IsServerError() bool
IsServerError returns true when this attach pack to team o k response has a 5xx status code
func (*AttachPackToTeamOK) IsSuccess ¶
func (o *AttachPackToTeamOK) IsSuccess() bool
IsSuccess returns true when this attach pack to team o k response has a 2xx status code
func (*AttachPackToTeamOK) String ¶
func (o *AttachPackToTeamOK) String() string
type AttachPackToTeamParams ¶
type AttachPackToTeamParams struct { /* PackID. A pack UUID or slug */ PackID string /* PackTeam. The pack team data to attach */ PackTeam *models.PackTeamParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AttachPackToTeamParams contains all the parameters to send to the API endpoint
for the attach pack to team operation. Typically these are written to a http.Request.
func NewAttachPackToTeamParams ¶
func NewAttachPackToTeamParams() *AttachPackToTeamParams
NewAttachPackToTeamParams creates a new AttachPackToTeamParams 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 NewAttachPackToTeamParamsWithContext ¶
func NewAttachPackToTeamParamsWithContext(ctx context.Context) *AttachPackToTeamParams
NewAttachPackToTeamParamsWithContext creates a new AttachPackToTeamParams object with the ability to set a context for a request.
func NewAttachPackToTeamParamsWithHTTPClient ¶
func NewAttachPackToTeamParamsWithHTTPClient(client *http.Client) *AttachPackToTeamParams
NewAttachPackToTeamParamsWithHTTPClient creates a new AttachPackToTeamParams object with the ability to set a custom HTTPClient for a request.
func NewAttachPackToTeamParamsWithTimeout ¶
func NewAttachPackToTeamParamsWithTimeout(timeout time.Duration) *AttachPackToTeamParams
NewAttachPackToTeamParamsWithTimeout creates a new AttachPackToTeamParams object with the ability to set a timeout on a request.
func (*AttachPackToTeamParams) SetContext ¶
func (o *AttachPackToTeamParams) SetContext(ctx context.Context)
SetContext adds the context to the attach pack to team params
func (*AttachPackToTeamParams) SetDefaults ¶
func (o *AttachPackToTeamParams) SetDefaults()
SetDefaults hydrates default values in the attach pack to team params (not the query body).
All values with no default are reset to their zero value.
func (*AttachPackToTeamParams) SetHTTPClient ¶
func (o *AttachPackToTeamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the attach pack to team params
func (*AttachPackToTeamParams) SetPackID ¶
func (o *AttachPackToTeamParams) SetPackID(packID string)
SetPackID adds the packId to the attach pack to team params
func (*AttachPackToTeamParams) SetPackTeam ¶
func (o *AttachPackToTeamParams) SetPackTeam(packTeam *models.PackTeamParams)
SetPackTeam adds the packTeam to the attach pack to team params
func (*AttachPackToTeamParams) SetTimeout ¶
func (o *AttachPackToTeamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the attach pack to team params
func (*AttachPackToTeamParams) WithContext ¶
func (o *AttachPackToTeamParams) WithContext(ctx context.Context) *AttachPackToTeamParams
WithContext adds the context to the attach pack to team params
func (*AttachPackToTeamParams) WithDefaults ¶
func (o *AttachPackToTeamParams) WithDefaults() *AttachPackToTeamParams
WithDefaults hydrates default values in the attach pack to team params (not the query body).
All values with no default are reset to their zero value.
func (*AttachPackToTeamParams) WithHTTPClient ¶
func (o *AttachPackToTeamParams) WithHTTPClient(client *http.Client) *AttachPackToTeamParams
WithHTTPClient adds the HTTPClient to the attach pack to team params
func (*AttachPackToTeamParams) WithPackID ¶
func (o *AttachPackToTeamParams) WithPackID(packID string) *AttachPackToTeamParams
WithPackID adds the packID to the attach pack to team params
func (*AttachPackToTeamParams) WithPackTeam ¶
func (o *AttachPackToTeamParams) WithPackTeam(packTeam *models.PackTeamParams) *AttachPackToTeamParams
WithPackTeam adds the packTeam to the attach pack to team params
func (*AttachPackToTeamParams) WithTimeout ¶
func (o *AttachPackToTeamParams) WithTimeout(timeout time.Duration) *AttachPackToTeamParams
WithTimeout adds the timeout to the attach pack to team params
func (*AttachPackToTeamParams) WriteToRequest ¶
func (o *AttachPackToTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AttachPackToTeamPreconditionFailed ¶
type AttachPackToTeamPreconditionFailed struct {
Payload *models.GeneralError
}
AttachPackToTeamPreconditionFailed describes a response with status code 412, with default header values.
Team is already attached
func NewAttachPackToTeamPreconditionFailed ¶
func NewAttachPackToTeamPreconditionFailed() *AttachPackToTeamPreconditionFailed
NewAttachPackToTeamPreconditionFailed creates a AttachPackToTeamPreconditionFailed with default headers values
func (*AttachPackToTeamPreconditionFailed) Code ¶
func (o *AttachPackToTeamPreconditionFailed) Code() int
Code gets the status code for the attach pack to team precondition failed response
func (*AttachPackToTeamPreconditionFailed) Error ¶
func (o *AttachPackToTeamPreconditionFailed) Error() string
func (*AttachPackToTeamPreconditionFailed) GetPayload ¶
func (o *AttachPackToTeamPreconditionFailed) GetPayload() *models.GeneralError
func (*AttachPackToTeamPreconditionFailed) IsClientError ¶
func (o *AttachPackToTeamPreconditionFailed) IsClientError() bool
IsClientError returns true when this attach pack to team precondition failed response has a 4xx status code
func (*AttachPackToTeamPreconditionFailed) IsCode ¶
func (o *AttachPackToTeamPreconditionFailed) IsCode(code int) bool
IsCode returns true when this attach pack to team precondition failed response a status code equal to that given
func (*AttachPackToTeamPreconditionFailed) IsRedirect ¶
func (o *AttachPackToTeamPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this attach pack to team precondition failed response has a 3xx status code
func (*AttachPackToTeamPreconditionFailed) IsServerError ¶
func (o *AttachPackToTeamPreconditionFailed) IsServerError() bool
IsServerError returns true when this attach pack to team precondition failed response has a 5xx status code
func (*AttachPackToTeamPreconditionFailed) IsSuccess ¶
func (o *AttachPackToTeamPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this attach pack to team precondition failed response has a 2xx status code
func (*AttachPackToTeamPreconditionFailed) String ¶
func (o *AttachPackToTeamPreconditionFailed) String() string
type AttachPackToTeamReader ¶
type AttachPackToTeamReader struct {
// contains filtered or unexported fields
}
AttachPackToTeamReader is a Reader for the AttachPackToTeam structure.
func (*AttachPackToTeamReader) ReadResponse ¶
func (o *AttachPackToTeamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AttachPackToTeamUnprocessableEntity ¶
type AttachPackToTeamUnprocessableEntity struct {
Payload *models.ValidationError
}
AttachPackToTeamUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewAttachPackToTeamUnprocessableEntity ¶
func NewAttachPackToTeamUnprocessableEntity() *AttachPackToTeamUnprocessableEntity
NewAttachPackToTeamUnprocessableEntity creates a AttachPackToTeamUnprocessableEntity with default headers values
func (*AttachPackToTeamUnprocessableEntity) Code ¶
func (o *AttachPackToTeamUnprocessableEntity) Code() int
Code gets the status code for the attach pack to team unprocessable entity response
func (*AttachPackToTeamUnprocessableEntity) Error ¶
func (o *AttachPackToTeamUnprocessableEntity) Error() string
func (*AttachPackToTeamUnprocessableEntity) GetPayload ¶
func (o *AttachPackToTeamUnprocessableEntity) GetPayload() *models.ValidationError
func (*AttachPackToTeamUnprocessableEntity) IsClientError ¶
func (o *AttachPackToTeamUnprocessableEntity) IsClientError() bool
IsClientError returns true when this attach pack to team unprocessable entity response has a 4xx status code
func (*AttachPackToTeamUnprocessableEntity) IsCode ¶
func (o *AttachPackToTeamUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this attach pack to team unprocessable entity response a status code equal to that given
func (*AttachPackToTeamUnprocessableEntity) IsRedirect ¶
func (o *AttachPackToTeamUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this attach pack to team unprocessable entity response has a 3xx status code
func (*AttachPackToTeamUnprocessableEntity) IsServerError ¶
func (o *AttachPackToTeamUnprocessableEntity) IsServerError() bool
IsServerError returns true when this attach pack to team unprocessable entity response has a 5xx status code
func (*AttachPackToTeamUnprocessableEntity) IsSuccess ¶
func (o *AttachPackToTeamUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this attach pack to team unprocessable entity response has a 2xx status code
func (*AttachPackToTeamUnprocessableEntity) String ¶
func (o *AttachPackToTeamUnprocessableEntity) String() string
type AttachPackToUserDefault ¶
type AttachPackToUserDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
AttachPackToUserDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewAttachPackToUserDefault ¶
func NewAttachPackToUserDefault(code int) *AttachPackToUserDefault
NewAttachPackToUserDefault creates a AttachPackToUserDefault with default headers values
func (*AttachPackToUserDefault) Code ¶
func (o *AttachPackToUserDefault) Code() int
Code gets the status code for the attach pack to user default response
func (*AttachPackToUserDefault) Error ¶
func (o *AttachPackToUserDefault) Error() string
func (*AttachPackToUserDefault) GetPayload ¶
func (o *AttachPackToUserDefault) GetPayload() *models.GeneralError
func (*AttachPackToUserDefault) IsClientError ¶
func (o *AttachPackToUserDefault) IsClientError() bool
IsClientError returns true when this attach pack to user default response has a 4xx status code
func (*AttachPackToUserDefault) IsCode ¶
func (o *AttachPackToUserDefault) IsCode(code int) bool
IsCode returns true when this attach pack to user default response a status code equal to that given
func (*AttachPackToUserDefault) IsRedirect ¶
func (o *AttachPackToUserDefault) IsRedirect() bool
IsRedirect returns true when this attach pack to user default response has a 3xx status code
func (*AttachPackToUserDefault) IsServerError ¶
func (o *AttachPackToUserDefault) IsServerError() bool
IsServerError returns true when this attach pack to user default response has a 5xx status code
func (*AttachPackToUserDefault) IsSuccess ¶
func (o *AttachPackToUserDefault) IsSuccess() bool
IsSuccess returns true when this attach pack to user default response has a 2xx status code
func (*AttachPackToUserDefault) String ¶
func (o *AttachPackToUserDefault) String() string
type AttachPackToUserForbidden ¶
type AttachPackToUserForbidden struct {
Payload *models.GeneralError
}
AttachPackToUserForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewAttachPackToUserForbidden ¶
func NewAttachPackToUserForbidden() *AttachPackToUserForbidden
NewAttachPackToUserForbidden creates a AttachPackToUserForbidden with default headers values
func (*AttachPackToUserForbidden) Code ¶
func (o *AttachPackToUserForbidden) Code() int
Code gets the status code for the attach pack to user forbidden response
func (*AttachPackToUserForbidden) Error ¶
func (o *AttachPackToUserForbidden) Error() string
func (*AttachPackToUserForbidden) GetPayload ¶
func (o *AttachPackToUserForbidden) GetPayload() *models.GeneralError
func (*AttachPackToUserForbidden) IsClientError ¶
func (o *AttachPackToUserForbidden) IsClientError() bool
IsClientError returns true when this attach pack to user forbidden response has a 4xx status code
func (*AttachPackToUserForbidden) IsCode ¶
func (o *AttachPackToUserForbidden) IsCode(code int) bool
IsCode returns true when this attach pack to user forbidden response a status code equal to that given
func (*AttachPackToUserForbidden) IsRedirect ¶
func (o *AttachPackToUserForbidden) IsRedirect() bool
IsRedirect returns true when this attach pack to user forbidden response has a 3xx status code
func (*AttachPackToUserForbidden) IsServerError ¶
func (o *AttachPackToUserForbidden) IsServerError() bool
IsServerError returns true when this attach pack to user forbidden response has a 5xx status code
func (*AttachPackToUserForbidden) IsSuccess ¶
func (o *AttachPackToUserForbidden) IsSuccess() bool
IsSuccess returns true when this attach pack to user forbidden response has a 2xx status code
func (*AttachPackToUserForbidden) String ¶
func (o *AttachPackToUserForbidden) String() string
type AttachPackToUserNotFound ¶
type AttachPackToUserNotFound struct {
Payload *models.GeneralError
}
AttachPackToUserNotFound describes a response with status code 404, with default header values.
Pack or user not found
func NewAttachPackToUserNotFound ¶
func NewAttachPackToUserNotFound() *AttachPackToUserNotFound
NewAttachPackToUserNotFound creates a AttachPackToUserNotFound with default headers values
func (*AttachPackToUserNotFound) Code ¶
func (o *AttachPackToUserNotFound) Code() int
Code gets the status code for the attach pack to user not found response
func (*AttachPackToUserNotFound) Error ¶
func (o *AttachPackToUserNotFound) Error() string
func (*AttachPackToUserNotFound) GetPayload ¶
func (o *AttachPackToUserNotFound) GetPayload() *models.GeneralError
func (*AttachPackToUserNotFound) IsClientError ¶
func (o *AttachPackToUserNotFound) IsClientError() bool
IsClientError returns true when this attach pack to user not found response has a 4xx status code
func (*AttachPackToUserNotFound) IsCode ¶
func (o *AttachPackToUserNotFound) IsCode(code int) bool
IsCode returns true when this attach pack to user not found response a status code equal to that given
func (*AttachPackToUserNotFound) IsRedirect ¶
func (o *AttachPackToUserNotFound) IsRedirect() bool
IsRedirect returns true when this attach pack to user not found response has a 3xx status code
func (*AttachPackToUserNotFound) IsServerError ¶
func (o *AttachPackToUserNotFound) IsServerError() bool
IsServerError returns true when this attach pack to user not found response has a 5xx status code
func (*AttachPackToUserNotFound) IsSuccess ¶
func (o *AttachPackToUserNotFound) IsSuccess() bool
IsSuccess returns true when this attach pack to user not found response has a 2xx status code
func (*AttachPackToUserNotFound) String ¶
func (o *AttachPackToUserNotFound) String() string
type AttachPackToUserOK ¶
type AttachPackToUserOK struct {
Payload *models.GeneralError
}
AttachPackToUserOK describes a response with status code 200, with default header values.
Plain success message
func NewAttachPackToUserOK ¶
func NewAttachPackToUserOK() *AttachPackToUserOK
NewAttachPackToUserOK creates a AttachPackToUserOK with default headers values
func (*AttachPackToUserOK) Code ¶
func (o *AttachPackToUserOK) Code() int
Code gets the status code for the attach pack to user o k response
func (*AttachPackToUserOK) Error ¶
func (o *AttachPackToUserOK) Error() string
func (*AttachPackToUserOK) GetPayload ¶
func (o *AttachPackToUserOK) GetPayload() *models.GeneralError
func (*AttachPackToUserOK) IsClientError ¶
func (o *AttachPackToUserOK) IsClientError() bool
IsClientError returns true when this attach pack to user o k response has a 4xx status code
func (*AttachPackToUserOK) IsCode ¶
func (o *AttachPackToUserOK) IsCode(code int) bool
IsCode returns true when this attach pack to user o k response a status code equal to that given
func (*AttachPackToUserOK) IsRedirect ¶
func (o *AttachPackToUserOK) IsRedirect() bool
IsRedirect returns true when this attach pack to user o k response has a 3xx status code
func (*AttachPackToUserOK) IsServerError ¶
func (o *AttachPackToUserOK) IsServerError() bool
IsServerError returns true when this attach pack to user o k response has a 5xx status code
func (*AttachPackToUserOK) IsSuccess ¶
func (o *AttachPackToUserOK) IsSuccess() bool
IsSuccess returns true when this attach pack to user o k response has a 2xx status code
func (*AttachPackToUserOK) String ¶
func (o *AttachPackToUserOK) String() string
type AttachPackToUserParams ¶
type AttachPackToUserParams struct { /* PackID. A pack UUID or slug */ PackID string /* PackUser. The pack user data to attach */ PackUser *models.PackUserParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AttachPackToUserParams contains all the parameters to send to the API endpoint
for the attach pack to user operation. Typically these are written to a http.Request.
func NewAttachPackToUserParams ¶
func NewAttachPackToUserParams() *AttachPackToUserParams
NewAttachPackToUserParams creates a new AttachPackToUserParams 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 NewAttachPackToUserParamsWithContext ¶
func NewAttachPackToUserParamsWithContext(ctx context.Context) *AttachPackToUserParams
NewAttachPackToUserParamsWithContext creates a new AttachPackToUserParams object with the ability to set a context for a request.
func NewAttachPackToUserParamsWithHTTPClient ¶
func NewAttachPackToUserParamsWithHTTPClient(client *http.Client) *AttachPackToUserParams
NewAttachPackToUserParamsWithHTTPClient creates a new AttachPackToUserParams object with the ability to set a custom HTTPClient for a request.
func NewAttachPackToUserParamsWithTimeout ¶
func NewAttachPackToUserParamsWithTimeout(timeout time.Duration) *AttachPackToUserParams
NewAttachPackToUserParamsWithTimeout creates a new AttachPackToUserParams object with the ability to set a timeout on a request.
func (*AttachPackToUserParams) SetContext ¶
func (o *AttachPackToUserParams) SetContext(ctx context.Context)
SetContext adds the context to the attach pack to user params
func (*AttachPackToUserParams) SetDefaults ¶
func (o *AttachPackToUserParams) SetDefaults()
SetDefaults hydrates default values in the attach pack to user params (not the query body).
All values with no default are reset to their zero value.
func (*AttachPackToUserParams) SetHTTPClient ¶
func (o *AttachPackToUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the attach pack to user params
func (*AttachPackToUserParams) SetPackID ¶
func (o *AttachPackToUserParams) SetPackID(packID string)
SetPackID adds the packId to the attach pack to user params
func (*AttachPackToUserParams) SetPackUser ¶
func (o *AttachPackToUserParams) SetPackUser(packUser *models.PackUserParams)
SetPackUser adds the packUser to the attach pack to user params
func (*AttachPackToUserParams) SetTimeout ¶
func (o *AttachPackToUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the attach pack to user params
func (*AttachPackToUserParams) WithContext ¶
func (o *AttachPackToUserParams) WithContext(ctx context.Context) *AttachPackToUserParams
WithContext adds the context to the attach pack to user params
func (*AttachPackToUserParams) WithDefaults ¶
func (o *AttachPackToUserParams) WithDefaults() *AttachPackToUserParams
WithDefaults hydrates default values in the attach pack to user params (not the query body).
All values with no default are reset to their zero value.
func (*AttachPackToUserParams) WithHTTPClient ¶
func (o *AttachPackToUserParams) WithHTTPClient(client *http.Client) *AttachPackToUserParams
WithHTTPClient adds the HTTPClient to the attach pack to user params
func (*AttachPackToUserParams) WithPackID ¶
func (o *AttachPackToUserParams) WithPackID(packID string) *AttachPackToUserParams
WithPackID adds the packID to the attach pack to user params
func (*AttachPackToUserParams) WithPackUser ¶
func (o *AttachPackToUserParams) WithPackUser(packUser *models.PackUserParams) *AttachPackToUserParams
WithPackUser adds the packUser to the attach pack to user params
func (*AttachPackToUserParams) WithTimeout ¶
func (o *AttachPackToUserParams) WithTimeout(timeout time.Duration) *AttachPackToUserParams
WithTimeout adds the timeout to the attach pack to user params
func (*AttachPackToUserParams) WriteToRequest ¶
func (o *AttachPackToUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AttachPackToUserPreconditionFailed ¶
type AttachPackToUserPreconditionFailed struct {
Payload *models.GeneralError
}
AttachPackToUserPreconditionFailed describes a response with status code 412, with default header values.
User is already attached
func NewAttachPackToUserPreconditionFailed ¶
func NewAttachPackToUserPreconditionFailed() *AttachPackToUserPreconditionFailed
NewAttachPackToUserPreconditionFailed creates a AttachPackToUserPreconditionFailed with default headers values
func (*AttachPackToUserPreconditionFailed) Code ¶
func (o *AttachPackToUserPreconditionFailed) Code() int
Code gets the status code for the attach pack to user precondition failed response
func (*AttachPackToUserPreconditionFailed) Error ¶
func (o *AttachPackToUserPreconditionFailed) Error() string
func (*AttachPackToUserPreconditionFailed) GetPayload ¶
func (o *AttachPackToUserPreconditionFailed) GetPayload() *models.GeneralError
func (*AttachPackToUserPreconditionFailed) IsClientError ¶
func (o *AttachPackToUserPreconditionFailed) IsClientError() bool
IsClientError returns true when this attach pack to user precondition failed response has a 4xx status code
func (*AttachPackToUserPreconditionFailed) IsCode ¶
func (o *AttachPackToUserPreconditionFailed) IsCode(code int) bool
IsCode returns true when this attach pack to user precondition failed response a status code equal to that given
func (*AttachPackToUserPreconditionFailed) IsRedirect ¶
func (o *AttachPackToUserPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this attach pack to user precondition failed response has a 3xx status code
func (*AttachPackToUserPreconditionFailed) IsServerError ¶
func (o *AttachPackToUserPreconditionFailed) IsServerError() bool
IsServerError returns true when this attach pack to user precondition failed response has a 5xx status code
func (*AttachPackToUserPreconditionFailed) IsSuccess ¶
func (o *AttachPackToUserPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this attach pack to user precondition failed response has a 2xx status code
func (*AttachPackToUserPreconditionFailed) String ¶
func (o *AttachPackToUserPreconditionFailed) String() string
type AttachPackToUserReader ¶
type AttachPackToUserReader struct {
// contains filtered or unexported fields
}
AttachPackToUserReader is a Reader for the AttachPackToUser structure.
func (*AttachPackToUserReader) ReadResponse ¶
func (o *AttachPackToUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AttachPackToUserUnprocessableEntity ¶
type AttachPackToUserUnprocessableEntity struct {
Payload *models.ValidationError
}
AttachPackToUserUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewAttachPackToUserUnprocessableEntity ¶
func NewAttachPackToUserUnprocessableEntity() *AttachPackToUserUnprocessableEntity
NewAttachPackToUserUnprocessableEntity creates a AttachPackToUserUnprocessableEntity with default headers values
func (*AttachPackToUserUnprocessableEntity) Code ¶
func (o *AttachPackToUserUnprocessableEntity) Code() int
Code gets the status code for the attach pack to user unprocessable entity response
func (*AttachPackToUserUnprocessableEntity) Error ¶
func (o *AttachPackToUserUnprocessableEntity) Error() string
func (*AttachPackToUserUnprocessableEntity) GetPayload ¶
func (o *AttachPackToUserUnprocessableEntity) GetPayload() *models.ValidationError
func (*AttachPackToUserUnprocessableEntity) IsClientError ¶
func (o *AttachPackToUserUnprocessableEntity) IsClientError() bool
IsClientError returns true when this attach pack to user unprocessable entity response has a 4xx status code
func (*AttachPackToUserUnprocessableEntity) IsCode ¶
func (o *AttachPackToUserUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this attach pack to user unprocessable entity response a status code equal to that given
func (*AttachPackToUserUnprocessableEntity) IsRedirect ¶
func (o *AttachPackToUserUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this attach pack to user unprocessable entity response has a 3xx status code
func (*AttachPackToUserUnprocessableEntity) IsServerError ¶
func (o *AttachPackToUserUnprocessableEntity) IsServerError() bool
IsServerError returns true when this attach pack to user unprocessable entity response has a 5xx status code
func (*AttachPackToUserUnprocessableEntity) IsSuccess ¶
func (o *AttachPackToUserUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this attach pack to user unprocessable entity response has a 2xx status code
func (*AttachPackToUserUnprocessableEntity) String ¶
func (o *AttachPackToUserUnprocessableEntity) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for pack API
func (*Client) AppendBuildToVersion ¶
func (a *Client) AppendBuildToVersion(params *AppendBuildToVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AppendBuildToVersionOK, error)
AppendBuildToVersion assigns a version to a build
func (*Client) AttachPackToTeam ¶
func (a *Client) AttachPackToTeam(params *AttachPackToTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachPackToTeamOK, error)
AttachPackToTeam attaches a team to pack
func (*Client) AttachPackToUser ¶
func (a *Client) AttachPackToUser(params *AttachPackToUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachPackToUserOK, error)
AttachPackToUser attaches a user to pack
func (*Client) CreateBuild ¶
func (a *Client) CreateBuild(params *CreateBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBuildOK, error)
CreateBuild creates a new build for a pack
func (*Client) CreatePack ¶
func (a *Client) CreatePack(params *CreatePackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePackOK, error)
CreatePack creates a new pack
func (*Client) DeleteBuild ¶
func (a *Client) DeleteBuild(params *DeleteBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBuildOK, error)
DeleteBuild deletes a specific build for a pack
func (*Client) DeleteBuildFromVersion ¶
func (a *Client) DeleteBuildFromVersion(params *DeleteBuildFromVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBuildFromVersionOK, error)
DeleteBuildFromVersion unlinks a version from a build
func (*Client) DeletePack ¶
func (a *Client) DeletePack(params *DeletePackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePackOK, error)
DeletePack deletes a specific pack
func (*Client) DeletePackFromTeam ¶
func (a *Client) DeletePackFromTeam(params *DeletePackFromTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePackFromTeamOK, error)
DeletePackFromTeam removes a team from pack
func (*Client) DeletePackFromUser ¶
func (a *Client) DeletePackFromUser(params *DeletePackFromUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePackFromUserOK, error)
DeletePackFromUser removes a user from pack
func (*Client) ListBuildVersions ¶
func (a *Client) ListBuildVersions(params *ListBuildVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListBuildVersionsOK, error)
ListBuildVersions fetches all versions assigned to build
func (*Client) ListBuilds ¶
func (a *Client) ListBuilds(params *ListBuildsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListBuildsOK, error)
ListBuilds fetches all available builds for a pack
func (*Client) ListPackTeams ¶
func (a *Client) ListPackTeams(params *ListPackTeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPackTeamsOK, error)
ListPackTeams fetches all teams attached to pack
func (*Client) ListPackUsers ¶
func (a *Client) ListPackUsers(params *ListPackUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPackUsersOK, error)
ListPackUsers fetches all users attached to pack
func (*Client) ListPacks ¶
func (a *Client) ListPacks(params *ListPacksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPacksOK, error)
ListPacks fetches all available packs
func (*Client) PermitPackTeam ¶
func (a *Client) PermitPackTeam(params *PermitPackTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitPackTeamOK, error)
PermitPackTeam updates team perms for pack
func (*Client) PermitPackUser ¶
func (a *Client) PermitPackUser(params *PermitPackUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitPackUserOK, error)
PermitPackUser updates user perms for pack
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) ShowBuild ¶
func (a *Client) ShowBuild(params *ShowBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShowBuildOK, error)
ShowBuild fetches a specific build for a pack
func (*Client) ShowPack ¶
func (a *Client) ShowPack(params *ShowPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShowPackOK, error)
ShowPack fetches a specific pack
func (*Client) UpdateBuild ¶
func (a *Client) UpdateBuild(params *UpdateBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBuildOK, error)
UpdateBuild updates a specific build for a pack
func (*Client) UpdatePack ¶
func (a *Client) UpdatePack(params *UpdatePackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePackOK, error)
UpdatePack updates a specific pack
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AppendBuildToVersion(params *AppendBuildToVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AppendBuildToVersionOK, error) AttachPackToTeam(params *AttachPackToTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachPackToTeamOK, error) AttachPackToUser(params *AttachPackToUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachPackToUserOK, error) CreateBuild(params *CreateBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBuildOK, error) CreatePack(params *CreatePackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePackOK, error) DeleteBuild(params *DeleteBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBuildOK, error) DeleteBuildFromVersion(params *DeleteBuildFromVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBuildFromVersionOK, error) DeletePack(params *DeletePackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePackOK, error) DeletePackFromTeam(params *DeletePackFromTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePackFromTeamOK, error) DeletePackFromUser(params *DeletePackFromUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePackFromUserOK, error) ListBuildVersions(params *ListBuildVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListBuildVersionsOK, error) ListBuilds(params *ListBuildsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListBuildsOK, error) ListPackTeams(params *ListPackTeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPackTeamsOK, error) ListPackUsers(params *ListPackUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPackUsersOK, error) ListPacks(params *ListPacksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPacksOK, error) PermitPackTeam(params *PermitPackTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitPackTeamOK, error) PermitPackUser(params *PermitPackUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitPackUserOK, error) ShowBuild(params *ShowBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShowBuildOK, error) ShowPack(params *ShowPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShowPackOK, error) UpdateBuild(params *UpdateBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBuildOK, error) UpdatePack(params *UpdatePackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePackOK, 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 pack API client.
type CreateBuildDefault ¶
type CreateBuildDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
CreateBuildDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewCreateBuildDefault ¶
func NewCreateBuildDefault(code int) *CreateBuildDefault
NewCreateBuildDefault creates a CreateBuildDefault with default headers values
func (*CreateBuildDefault) Code ¶
func (o *CreateBuildDefault) Code() int
Code gets the status code for the create build default response
func (*CreateBuildDefault) Error ¶
func (o *CreateBuildDefault) Error() string
func (*CreateBuildDefault) GetPayload ¶
func (o *CreateBuildDefault) GetPayload() *models.GeneralError
func (*CreateBuildDefault) IsClientError ¶
func (o *CreateBuildDefault) IsClientError() bool
IsClientError returns true when this create build default response has a 4xx status code
func (*CreateBuildDefault) IsCode ¶
func (o *CreateBuildDefault) IsCode(code int) bool
IsCode returns true when this create build default response a status code equal to that given
func (*CreateBuildDefault) IsRedirect ¶
func (o *CreateBuildDefault) IsRedirect() bool
IsRedirect returns true when this create build default response has a 3xx status code
func (*CreateBuildDefault) IsServerError ¶
func (o *CreateBuildDefault) IsServerError() bool
IsServerError returns true when this create build default response has a 5xx status code
func (*CreateBuildDefault) IsSuccess ¶
func (o *CreateBuildDefault) IsSuccess() bool
IsSuccess returns true when this create build default response has a 2xx status code
func (*CreateBuildDefault) String ¶
func (o *CreateBuildDefault) String() string
type CreateBuildForbidden ¶
type CreateBuildForbidden struct {
Payload *models.GeneralError
}
CreateBuildForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewCreateBuildForbidden ¶
func NewCreateBuildForbidden() *CreateBuildForbidden
NewCreateBuildForbidden creates a CreateBuildForbidden with default headers values
func (*CreateBuildForbidden) Code ¶
func (o *CreateBuildForbidden) Code() int
Code gets the status code for the create build forbidden response
func (*CreateBuildForbidden) Error ¶
func (o *CreateBuildForbidden) Error() string
func (*CreateBuildForbidden) GetPayload ¶
func (o *CreateBuildForbidden) GetPayload() *models.GeneralError
func (*CreateBuildForbidden) IsClientError ¶
func (o *CreateBuildForbidden) IsClientError() bool
IsClientError returns true when this create build forbidden response has a 4xx status code
func (*CreateBuildForbidden) IsCode ¶
func (o *CreateBuildForbidden) IsCode(code int) bool
IsCode returns true when this create build forbidden response a status code equal to that given
func (*CreateBuildForbidden) IsRedirect ¶
func (o *CreateBuildForbidden) IsRedirect() bool
IsRedirect returns true when this create build forbidden response has a 3xx status code
func (*CreateBuildForbidden) IsServerError ¶
func (o *CreateBuildForbidden) IsServerError() bool
IsServerError returns true when this create build forbidden response has a 5xx status code
func (*CreateBuildForbidden) IsSuccess ¶
func (o *CreateBuildForbidden) IsSuccess() bool
IsSuccess returns true when this create build forbidden response has a 2xx status code
func (*CreateBuildForbidden) String ¶
func (o *CreateBuildForbidden) String() string
type CreateBuildNotFound ¶
type CreateBuildNotFound struct {
Payload *models.GeneralError
}
CreateBuildNotFound describes a response with status code 404, with default header values.
Pack not found
func NewCreateBuildNotFound ¶
func NewCreateBuildNotFound() *CreateBuildNotFound
NewCreateBuildNotFound creates a CreateBuildNotFound with default headers values
func (*CreateBuildNotFound) Code ¶
func (o *CreateBuildNotFound) Code() int
Code gets the status code for the create build not found response
func (*CreateBuildNotFound) Error ¶
func (o *CreateBuildNotFound) Error() string
func (*CreateBuildNotFound) GetPayload ¶
func (o *CreateBuildNotFound) GetPayload() *models.GeneralError
func (*CreateBuildNotFound) IsClientError ¶
func (o *CreateBuildNotFound) IsClientError() bool
IsClientError returns true when this create build not found response has a 4xx status code
func (*CreateBuildNotFound) IsCode ¶
func (o *CreateBuildNotFound) IsCode(code int) bool
IsCode returns true when this create build not found response a status code equal to that given
func (*CreateBuildNotFound) IsRedirect ¶
func (o *CreateBuildNotFound) IsRedirect() bool
IsRedirect returns true when this create build not found response has a 3xx status code
func (*CreateBuildNotFound) IsServerError ¶
func (o *CreateBuildNotFound) IsServerError() bool
IsServerError returns true when this create build not found response has a 5xx status code
func (*CreateBuildNotFound) IsSuccess ¶
func (o *CreateBuildNotFound) IsSuccess() bool
IsSuccess returns true when this create build not found response has a 2xx status code
func (*CreateBuildNotFound) String ¶
func (o *CreateBuildNotFound) String() string
type CreateBuildOK ¶
CreateBuildOK describes a response with status code 200, with default header values.
The created build data
func NewCreateBuildOK ¶
func NewCreateBuildOK() *CreateBuildOK
NewCreateBuildOK creates a CreateBuildOK with default headers values
func (*CreateBuildOK) Code ¶
func (o *CreateBuildOK) Code() int
Code gets the status code for the create build o k response
func (*CreateBuildOK) Error ¶
func (o *CreateBuildOK) Error() string
func (*CreateBuildOK) GetPayload ¶
func (o *CreateBuildOK) GetPayload() *models.Build
func (*CreateBuildOK) IsClientError ¶
func (o *CreateBuildOK) IsClientError() bool
IsClientError returns true when this create build o k response has a 4xx status code
func (*CreateBuildOK) IsCode ¶
func (o *CreateBuildOK) IsCode(code int) bool
IsCode returns true when this create build o k response a status code equal to that given
func (*CreateBuildOK) IsRedirect ¶
func (o *CreateBuildOK) IsRedirect() bool
IsRedirect returns true when this create build o k response has a 3xx status code
func (*CreateBuildOK) IsServerError ¶
func (o *CreateBuildOK) IsServerError() bool
IsServerError returns true when this create build o k response has a 5xx status code
func (*CreateBuildOK) IsSuccess ¶
func (o *CreateBuildOK) IsSuccess() bool
IsSuccess returns true when this create build o k response has a 2xx status code
func (*CreateBuildOK) String ¶
func (o *CreateBuildOK) String() string
type CreateBuildParams ¶
type CreateBuildParams struct { /* Build. The build data to create */ Build *models.Build /* PackID. A pack UUID or slug */ PackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateBuildParams contains all the parameters to send to the API endpoint
for the create build operation. Typically these are written to a http.Request.
func NewCreateBuildParams ¶
func NewCreateBuildParams() *CreateBuildParams
NewCreateBuildParams creates a new CreateBuildParams 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 NewCreateBuildParamsWithContext ¶
func NewCreateBuildParamsWithContext(ctx context.Context) *CreateBuildParams
NewCreateBuildParamsWithContext creates a new CreateBuildParams object with the ability to set a context for a request.
func NewCreateBuildParamsWithHTTPClient ¶
func NewCreateBuildParamsWithHTTPClient(client *http.Client) *CreateBuildParams
NewCreateBuildParamsWithHTTPClient creates a new CreateBuildParams object with the ability to set a custom HTTPClient for a request.
func NewCreateBuildParamsWithTimeout ¶
func NewCreateBuildParamsWithTimeout(timeout time.Duration) *CreateBuildParams
NewCreateBuildParamsWithTimeout creates a new CreateBuildParams object with the ability to set a timeout on a request.
func (*CreateBuildParams) SetBuild ¶
func (o *CreateBuildParams) SetBuild(build *models.Build)
SetBuild adds the build to the create build params
func (*CreateBuildParams) SetContext ¶
func (o *CreateBuildParams) SetContext(ctx context.Context)
SetContext adds the context to the create build params
func (*CreateBuildParams) SetDefaults ¶
func (o *CreateBuildParams) SetDefaults()
SetDefaults hydrates default values in the create build params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBuildParams) SetHTTPClient ¶
func (o *CreateBuildParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create build params
func (*CreateBuildParams) SetPackID ¶
func (o *CreateBuildParams) SetPackID(packID string)
SetPackID adds the packId to the create build params
func (*CreateBuildParams) SetTimeout ¶
func (o *CreateBuildParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create build params
func (*CreateBuildParams) WithBuild ¶
func (o *CreateBuildParams) WithBuild(build *models.Build) *CreateBuildParams
WithBuild adds the build to the create build params
func (*CreateBuildParams) WithContext ¶
func (o *CreateBuildParams) WithContext(ctx context.Context) *CreateBuildParams
WithContext adds the context to the create build params
func (*CreateBuildParams) WithDefaults ¶
func (o *CreateBuildParams) WithDefaults() *CreateBuildParams
WithDefaults hydrates default values in the create build params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBuildParams) WithHTTPClient ¶
func (o *CreateBuildParams) WithHTTPClient(client *http.Client) *CreateBuildParams
WithHTTPClient adds the HTTPClient to the create build params
func (*CreateBuildParams) WithPackID ¶
func (o *CreateBuildParams) WithPackID(packID string) *CreateBuildParams
WithPackID adds the packID to the create build params
func (*CreateBuildParams) WithTimeout ¶
func (o *CreateBuildParams) WithTimeout(timeout time.Duration) *CreateBuildParams
WithTimeout adds the timeout to the create build params
func (*CreateBuildParams) WriteToRequest ¶
func (o *CreateBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateBuildReader ¶
type CreateBuildReader struct {
// contains filtered or unexported fields
}
CreateBuildReader is a Reader for the CreateBuild structure.
func (*CreateBuildReader) ReadResponse ¶
func (o *CreateBuildReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateBuildUnprocessableEntity ¶
type CreateBuildUnprocessableEntity struct {
Payload *models.ValidationError
}
CreateBuildUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewCreateBuildUnprocessableEntity ¶
func NewCreateBuildUnprocessableEntity() *CreateBuildUnprocessableEntity
NewCreateBuildUnprocessableEntity creates a CreateBuildUnprocessableEntity with default headers values
func (*CreateBuildUnprocessableEntity) Code ¶
func (o *CreateBuildUnprocessableEntity) Code() int
Code gets the status code for the create build unprocessable entity response
func (*CreateBuildUnprocessableEntity) Error ¶
func (o *CreateBuildUnprocessableEntity) Error() string
func (*CreateBuildUnprocessableEntity) GetPayload ¶
func (o *CreateBuildUnprocessableEntity) GetPayload() *models.ValidationError
func (*CreateBuildUnprocessableEntity) IsClientError ¶
func (o *CreateBuildUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create build unprocessable entity response has a 4xx status code
func (*CreateBuildUnprocessableEntity) IsCode ¶
func (o *CreateBuildUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create build unprocessable entity response a status code equal to that given
func (*CreateBuildUnprocessableEntity) IsRedirect ¶
func (o *CreateBuildUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create build unprocessable entity response has a 3xx status code
func (*CreateBuildUnprocessableEntity) IsServerError ¶
func (o *CreateBuildUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create build unprocessable entity response has a 5xx status code
func (*CreateBuildUnprocessableEntity) IsSuccess ¶
func (o *CreateBuildUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create build unprocessable entity response has a 2xx status code
func (*CreateBuildUnprocessableEntity) String ¶
func (o *CreateBuildUnprocessableEntity) String() string
type CreatePackDefault ¶
type CreatePackDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
CreatePackDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewCreatePackDefault ¶
func NewCreatePackDefault(code int) *CreatePackDefault
NewCreatePackDefault creates a CreatePackDefault with default headers values
func (*CreatePackDefault) Code ¶
func (o *CreatePackDefault) Code() int
Code gets the status code for the create pack default response
func (*CreatePackDefault) Error ¶
func (o *CreatePackDefault) Error() string
func (*CreatePackDefault) GetPayload ¶
func (o *CreatePackDefault) GetPayload() *models.GeneralError
func (*CreatePackDefault) IsClientError ¶
func (o *CreatePackDefault) IsClientError() bool
IsClientError returns true when this create pack default response has a 4xx status code
func (*CreatePackDefault) IsCode ¶
func (o *CreatePackDefault) IsCode(code int) bool
IsCode returns true when this create pack default response a status code equal to that given
func (*CreatePackDefault) IsRedirect ¶
func (o *CreatePackDefault) IsRedirect() bool
IsRedirect returns true when this create pack default response has a 3xx status code
func (*CreatePackDefault) IsServerError ¶
func (o *CreatePackDefault) IsServerError() bool
IsServerError returns true when this create pack default response has a 5xx status code
func (*CreatePackDefault) IsSuccess ¶
func (o *CreatePackDefault) IsSuccess() bool
IsSuccess returns true when this create pack default response has a 2xx status code
func (*CreatePackDefault) String ¶
func (o *CreatePackDefault) String() string
type CreatePackForbidden ¶
type CreatePackForbidden struct {
Payload *models.GeneralError
}
CreatePackForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewCreatePackForbidden ¶
func NewCreatePackForbidden() *CreatePackForbidden
NewCreatePackForbidden creates a CreatePackForbidden with default headers values
func (*CreatePackForbidden) Code ¶
func (o *CreatePackForbidden) Code() int
Code gets the status code for the create pack forbidden response
func (*CreatePackForbidden) Error ¶
func (o *CreatePackForbidden) Error() string
func (*CreatePackForbidden) GetPayload ¶
func (o *CreatePackForbidden) GetPayload() *models.GeneralError
func (*CreatePackForbidden) IsClientError ¶
func (o *CreatePackForbidden) IsClientError() bool
IsClientError returns true when this create pack forbidden response has a 4xx status code
func (*CreatePackForbidden) IsCode ¶
func (o *CreatePackForbidden) IsCode(code int) bool
IsCode returns true when this create pack forbidden response a status code equal to that given
func (*CreatePackForbidden) IsRedirect ¶
func (o *CreatePackForbidden) IsRedirect() bool
IsRedirect returns true when this create pack forbidden response has a 3xx status code
func (*CreatePackForbidden) IsServerError ¶
func (o *CreatePackForbidden) IsServerError() bool
IsServerError returns true when this create pack forbidden response has a 5xx status code
func (*CreatePackForbidden) IsSuccess ¶
func (o *CreatePackForbidden) IsSuccess() bool
IsSuccess returns true when this create pack forbidden response has a 2xx status code
func (*CreatePackForbidden) String ¶
func (o *CreatePackForbidden) String() string
type CreatePackOK ¶
CreatePackOK describes a response with status code 200, with default header values.
The created pack data
func NewCreatePackOK ¶
func NewCreatePackOK() *CreatePackOK
NewCreatePackOK creates a CreatePackOK with default headers values
func (*CreatePackOK) Code ¶
func (o *CreatePackOK) Code() int
Code gets the status code for the create pack o k response
func (*CreatePackOK) Error ¶
func (o *CreatePackOK) Error() string
func (*CreatePackOK) GetPayload ¶
func (o *CreatePackOK) GetPayload() *models.Pack
func (*CreatePackOK) IsClientError ¶
func (o *CreatePackOK) IsClientError() bool
IsClientError returns true when this create pack o k response has a 4xx status code
func (*CreatePackOK) IsCode ¶
func (o *CreatePackOK) IsCode(code int) bool
IsCode returns true when this create pack o k response a status code equal to that given
func (*CreatePackOK) IsRedirect ¶
func (o *CreatePackOK) IsRedirect() bool
IsRedirect returns true when this create pack o k response has a 3xx status code
func (*CreatePackOK) IsServerError ¶
func (o *CreatePackOK) IsServerError() bool
IsServerError returns true when this create pack o k response has a 5xx status code
func (*CreatePackOK) IsSuccess ¶
func (o *CreatePackOK) IsSuccess() bool
IsSuccess returns true when this create pack o k response has a 2xx status code
func (*CreatePackOK) String ¶
func (o *CreatePackOK) String() string
type CreatePackParams ¶
type CreatePackParams struct { /* Pack. The pack data to create */ Pack *models.Pack Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePackParams contains all the parameters to send to the API endpoint
for the create pack operation. Typically these are written to a http.Request.
func NewCreatePackParams ¶
func NewCreatePackParams() *CreatePackParams
NewCreatePackParams creates a new CreatePackParams 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 NewCreatePackParamsWithContext ¶
func NewCreatePackParamsWithContext(ctx context.Context) *CreatePackParams
NewCreatePackParamsWithContext creates a new CreatePackParams object with the ability to set a context for a request.
func NewCreatePackParamsWithHTTPClient ¶
func NewCreatePackParamsWithHTTPClient(client *http.Client) *CreatePackParams
NewCreatePackParamsWithHTTPClient creates a new CreatePackParams object with the ability to set a custom HTTPClient for a request.
func NewCreatePackParamsWithTimeout ¶
func NewCreatePackParamsWithTimeout(timeout time.Duration) *CreatePackParams
NewCreatePackParamsWithTimeout creates a new CreatePackParams object with the ability to set a timeout on a request.
func (*CreatePackParams) SetContext ¶
func (o *CreatePackParams) SetContext(ctx context.Context)
SetContext adds the context to the create pack params
func (*CreatePackParams) SetDefaults ¶
func (o *CreatePackParams) SetDefaults()
SetDefaults hydrates default values in the create pack params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePackParams) SetHTTPClient ¶
func (o *CreatePackParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create pack params
func (*CreatePackParams) SetPack ¶
func (o *CreatePackParams) SetPack(pack *models.Pack)
SetPack adds the pack to the create pack params
func (*CreatePackParams) SetTimeout ¶
func (o *CreatePackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create pack params
func (*CreatePackParams) WithContext ¶
func (o *CreatePackParams) WithContext(ctx context.Context) *CreatePackParams
WithContext adds the context to the create pack params
func (*CreatePackParams) WithDefaults ¶
func (o *CreatePackParams) WithDefaults() *CreatePackParams
WithDefaults hydrates default values in the create pack params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePackParams) WithHTTPClient ¶
func (o *CreatePackParams) WithHTTPClient(client *http.Client) *CreatePackParams
WithHTTPClient adds the HTTPClient to the create pack params
func (*CreatePackParams) WithPack ¶
func (o *CreatePackParams) WithPack(pack *models.Pack) *CreatePackParams
WithPack adds the pack to the create pack params
func (*CreatePackParams) WithTimeout ¶
func (o *CreatePackParams) WithTimeout(timeout time.Duration) *CreatePackParams
WithTimeout adds the timeout to the create pack params
func (*CreatePackParams) WriteToRequest ¶
func (o *CreatePackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePackReader ¶
type CreatePackReader struct {
// contains filtered or unexported fields
}
CreatePackReader is a Reader for the CreatePack structure.
func (*CreatePackReader) ReadResponse ¶
func (o *CreatePackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePackUnprocessableEntity ¶
type CreatePackUnprocessableEntity struct {
Payload *models.ValidationError
}
CreatePackUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewCreatePackUnprocessableEntity ¶
func NewCreatePackUnprocessableEntity() *CreatePackUnprocessableEntity
NewCreatePackUnprocessableEntity creates a CreatePackUnprocessableEntity with default headers values
func (*CreatePackUnprocessableEntity) Code ¶
func (o *CreatePackUnprocessableEntity) Code() int
Code gets the status code for the create pack unprocessable entity response
func (*CreatePackUnprocessableEntity) Error ¶
func (o *CreatePackUnprocessableEntity) Error() string
func (*CreatePackUnprocessableEntity) GetPayload ¶
func (o *CreatePackUnprocessableEntity) GetPayload() *models.ValidationError
func (*CreatePackUnprocessableEntity) IsClientError ¶
func (o *CreatePackUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create pack unprocessable entity response has a 4xx status code
func (*CreatePackUnprocessableEntity) IsCode ¶
func (o *CreatePackUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create pack unprocessable entity response a status code equal to that given
func (*CreatePackUnprocessableEntity) IsRedirect ¶
func (o *CreatePackUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create pack unprocessable entity response has a 3xx status code
func (*CreatePackUnprocessableEntity) IsServerError ¶
func (o *CreatePackUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create pack unprocessable entity response has a 5xx status code
func (*CreatePackUnprocessableEntity) IsSuccess ¶
func (o *CreatePackUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create pack unprocessable entity response has a 2xx status code
func (*CreatePackUnprocessableEntity) String ¶
func (o *CreatePackUnprocessableEntity) String() string
type DeleteBuildBadRequest ¶
type DeleteBuildBadRequest struct {
Payload *models.GeneralError
}
DeleteBuildBadRequest describes a response with status code 400, with default header values.
Failed to delete the build
func NewDeleteBuildBadRequest ¶
func NewDeleteBuildBadRequest() *DeleteBuildBadRequest
NewDeleteBuildBadRequest creates a DeleteBuildBadRequest with default headers values
func (*DeleteBuildBadRequest) Code ¶
func (o *DeleteBuildBadRequest) Code() int
Code gets the status code for the delete build bad request response
func (*DeleteBuildBadRequest) Error ¶
func (o *DeleteBuildBadRequest) Error() string
func (*DeleteBuildBadRequest) GetPayload ¶
func (o *DeleteBuildBadRequest) GetPayload() *models.GeneralError
func (*DeleteBuildBadRequest) IsClientError ¶
func (o *DeleteBuildBadRequest) IsClientError() bool
IsClientError returns true when this delete build bad request response has a 4xx status code
func (*DeleteBuildBadRequest) IsCode ¶
func (o *DeleteBuildBadRequest) IsCode(code int) bool
IsCode returns true when this delete build bad request response a status code equal to that given
func (*DeleteBuildBadRequest) IsRedirect ¶
func (o *DeleteBuildBadRequest) IsRedirect() bool
IsRedirect returns true when this delete build bad request response has a 3xx status code
func (*DeleteBuildBadRequest) IsServerError ¶
func (o *DeleteBuildBadRequest) IsServerError() bool
IsServerError returns true when this delete build bad request response has a 5xx status code
func (*DeleteBuildBadRequest) IsSuccess ¶
func (o *DeleteBuildBadRequest) IsSuccess() bool
IsSuccess returns true when this delete build bad request response has a 2xx status code
func (*DeleteBuildBadRequest) String ¶
func (o *DeleteBuildBadRequest) String() string
type DeleteBuildDefault ¶
type DeleteBuildDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
DeleteBuildDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewDeleteBuildDefault ¶
func NewDeleteBuildDefault(code int) *DeleteBuildDefault
NewDeleteBuildDefault creates a DeleteBuildDefault with default headers values
func (*DeleteBuildDefault) Code ¶
func (o *DeleteBuildDefault) Code() int
Code gets the status code for the delete build default response
func (*DeleteBuildDefault) Error ¶
func (o *DeleteBuildDefault) Error() string
func (*DeleteBuildDefault) GetPayload ¶
func (o *DeleteBuildDefault) GetPayload() *models.GeneralError
func (*DeleteBuildDefault) IsClientError ¶
func (o *DeleteBuildDefault) IsClientError() bool
IsClientError returns true when this delete build default response has a 4xx status code
func (*DeleteBuildDefault) IsCode ¶
func (o *DeleteBuildDefault) IsCode(code int) bool
IsCode returns true when this delete build default response a status code equal to that given
func (*DeleteBuildDefault) IsRedirect ¶
func (o *DeleteBuildDefault) IsRedirect() bool
IsRedirect returns true when this delete build default response has a 3xx status code
func (*DeleteBuildDefault) IsServerError ¶
func (o *DeleteBuildDefault) IsServerError() bool
IsServerError returns true when this delete build default response has a 5xx status code
func (*DeleteBuildDefault) IsSuccess ¶
func (o *DeleteBuildDefault) IsSuccess() bool
IsSuccess returns true when this delete build default response has a 2xx status code
func (*DeleteBuildDefault) String ¶
func (o *DeleteBuildDefault) String() string
type DeleteBuildForbidden ¶
type DeleteBuildForbidden struct {
Payload *models.GeneralError
}
DeleteBuildForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewDeleteBuildForbidden ¶
func NewDeleteBuildForbidden() *DeleteBuildForbidden
NewDeleteBuildForbidden creates a DeleteBuildForbidden with default headers values
func (*DeleteBuildForbidden) Code ¶
func (o *DeleteBuildForbidden) Code() int
Code gets the status code for the delete build forbidden response
func (*DeleteBuildForbidden) Error ¶
func (o *DeleteBuildForbidden) Error() string
func (*DeleteBuildForbidden) GetPayload ¶
func (o *DeleteBuildForbidden) GetPayload() *models.GeneralError
func (*DeleteBuildForbidden) IsClientError ¶
func (o *DeleteBuildForbidden) IsClientError() bool
IsClientError returns true when this delete build forbidden response has a 4xx status code
func (*DeleteBuildForbidden) IsCode ¶
func (o *DeleteBuildForbidden) IsCode(code int) bool
IsCode returns true when this delete build forbidden response a status code equal to that given
func (*DeleteBuildForbidden) IsRedirect ¶
func (o *DeleteBuildForbidden) IsRedirect() bool
IsRedirect returns true when this delete build forbidden response has a 3xx status code
func (*DeleteBuildForbidden) IsServerError ¶
func (o *DeleteBuildForbidden) IsServerError() bool
IsServerError returns true when this delete build forbidden response has a 5xx status code
func (*DeleteBuildForbidden) IsSuccess ¶
func (o *DeleteBuildForbidden) IsSuccess() bool
IsSuccess returns true when this delete build forbidden response has a 2xx status code
func (*DeleteBuildForbidden) String ¶
func (o *DeleteBuildForbidden) String() string
type DeleteBuildFromVersionBadRequest ¶
type DeleteBuildFromVersionBadRequest struct {
Payload *models.GeneralError
}
DeleteBuildFromVersionBadRequest describes a response with status code 400, with default header values.
Failed to unlink build
func NewDeleteBuildFromVersionBadRequest ¶
func NewDeleteBuildFromVersionBadRequest() *DeleteBuildFromVersionBadRequest
NewDeleteBuildFromVersionBadRequest creates a DeleteBuildFromVersionBadRequest with default headers values
func (*DeleteBuildFromVersionBadRequest) Code ¶
func (o *DeleteBuildFromVersionBadRequest) Code() int
Code gets the status code for the delete build from version bad request response
func (*DeleteBuildFromVersionBadRequest) Error ¶
func (o *DeleteBuildFromVersionBadRequest) Error() string
func (*DeleteBuildFromVersionBadRequest) GetPayload ¶
func (o *DeleteBuildFromVersionBadRequest) GetPayload() *models.GeneralError
func (*DeleteBuildFromVersionBadRequest) IsClientError ¶
func (o *DeleteBuildFromVersionBadRequest) IsClientError() bool
IsClientError returns true when this delete build from version bad request response has a 4xx status code
func (*DeleteBuildFromVersionBadRequest) IsCode ¶
func (o *DeleteBuildFromVersionBadRequest) IsCode(code int) bool
IsCode returns true when this delete build from version bad request response a status code equal to that given
func (*DeleteBuildFromVersionBadRequest) IsRedirect ¶
func (o *DeleteBuildFromVersionBadRequest) IsRedirect() bool
IsRedirect returns true when this delete build from version bad request response has a 3xx status code
func (*DeleteBuildFromVersionBadRequest) IsServerError ¶
func (o *DeleteBuildFromVersionBadRequest) IsServerError() bool
IsServerError returns true when this delete build from version bad request response has a 5xx status code
func (*DeleteBuildFromVersionBadRequest) IsSuccess ¶
func (o *DeleteBuildFromVersionBadRequest) IsSuccess() bool
IsSuccess returns true when this delete build from version bad request response has a 2xx status code
func (*DeleteBuildFromVersionBadRequest) String ¶
func (o *DeleteBuildFromVersionBadRequest) String() string
type DeleteBuildFromVersionDefault ¶
type DeleteBuildFromVersionDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
DeleteBuildFromVersionDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewDeleteBuildFromVersionDefault ¶
func NewDeleteBuildFromVersionDefault(code int) *DeleteBuildFromVersionDefault
NewDeleteBuildFromVersionDefault creates a DeleteBuildFromVersionDefault with default headers values
func (*DeleteBuildFromVersionDefault) Code ¶
func (o *DeleteBuildFromVersionDefault) Code() int
Code gets the status code for the delete build from version default response
func (*DeleteBuildFromVersionDefault) Error ¶
func (o *DeleteBuildFromVersionDefault) Error() string
func (*DeleteBuildFromVersionDefault) GetPayload ¶
func (o *DeleteBuildFromVersionDefault) GetPayload() *models.GeneralError
func (*DeleteBuildFromVersionDefault) IsClientError ¶
func (o *DeleteBuildFromVersionDefault) IsClientError() bool
IsClientError returns true when this delete build from version default response has a 4xx status code
func (*DeleteBuildFromVersionDefault) IsCode ¶
func (o *DeleteBuildFromVersionDefault) IsCode(code int) bool
IsCode returns true when this delete build from version default response a status code equal to that given
func (*DeleteBuildFromVersionDefault) IsRedirect ¶
func (o *DeleteBuildFromVersionDefault) IsRedirect() bool
IsRedirect returns true when this delete build from version default response has a 3xx status code
func (*DeleteBuildFromVersionDefault) IsServerError ¶
func (o *DeleteBuildFromVersionDefault) IsServerError() bool
IsServerError returns true when this delete build from version default response has a 5xx status code
func (*DeleteBuildFromVersionDefault) IsSuccess ¶
func (o *DeleteBuildFromVersionDefault) IsSuccess() bool
IsSuccess returns true when this delete build from version default response has a 2xx status code
func (*DeleteBuildFromVersionDefault) String ¶
func (o *DeleteBuildFromVersionDefault) String() string
type DeleteBuildFromVersionForbidden ¶
type DeleteBuildFromVersionForbidden struct {
Payload *models.GeneralError
}
DeleteBuildFromVersionForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewDeleteBuildFromVersionForbidden ¶
func NewDeleteBuildFromVersionForbidden() *DeleteBuildFromVersionForbidden
NewDeleteBuildFromVersionForbidden creates a DeleteBuildFromVersionForbidden with default headers values
func (*DeleteBuildFromVersionForbidden) Code ¶
func (o *DeleteBuildFromVersionForbidden) Code() int
Code gets the status code for the delete build from version forbidden response
func (*DeleteBuildFromVersionForbidden) Error ¶
func (o *DeleteBuildFromVersionForbidden) Error() string
func (*DeleteBuildFromVersionForbidden) GetPayload ¶
func (o *DeleteBuildFromVersionForbidden) GetPayload() *models.GeneralError
func (*DeleteBuildFromVersionForbidden) IsClientError ¶
func (o *DeleteBuildFromVersionForbidden) IsClientError() bool
IsClientError returns true when this delete build from version forbidden response has a 4xx status code
func (*DeleteBuildFromVersionForbidden) IsCode ¶
func (o *DeleteBuildFromVersionForbidden) IsCode(code int) bool
IsCode returns true when this delete build from version forbidden response a status code equal to that given
func (*DeleteBuildFromVersionForbidden) IsRedirect ¶
func (o *DeleteBuildFromVersionForbidden) IsRedirect() bool
IsRedirect returns true when this delete build from version forbidden response has a 3xx status code
func (*DeleteBuildFromVersionForbidden) IsServerError ¶
func (o *DeleteBuildFromVersionForbidden) IsServerError() bool
IsServerError returns true when this delete build from version forbidden response has a 5xx status code
func (*DeleteBuildFromVersionForbidden) IsSuccess ¶
func (o *DeleteBuildFromVersionForbidden) IsSuccess() bool
IsSuccess returns true when this delete build from version forbidden response has a 2xx status code
func (*DeleteBuildFromVersionForbidden) String ¶
func (o *DeleteBuildFromVersionForbidden) String() string
type DeleteBuildFromVersionNotFound ¶
type DeleteBuildFromVersionNotFound struct {
Payload *models.GeneralError
}
DeleteBuildFromVersionNotFound describes a response with status code 404, with default header values.
Build or pack not found
func NewDeleteBuildFromVersionNotFound ¶
func NewDeleteBuildFromVersionNotFound() *DeleteBuildFromVersionNotFound
NewDeleteBuildFromVersionNotFound creates a DeleteBuildFromVersionNotFound with default headers values
func (*DeleteBuildFromVersionNotFound) Code ¶
func (o *DeleteBuildFromVersionNotFound) Code() int
Code gets the status code for the delete build from version not found response
func (*DeleteBuildFromVersionNotFound) Error ¶
func (o *DeleteBuildFromVersionNotFound) Error() string
func (*DeleteBuildFromVersionNotFound) GetPayload ¶
func (o *DeleteBuildFromVersionNotFound) GetPayload() *models.GeneralError
func (*DeleteBuildFromVersionNotFound) IsClientError ¶
func (o *DeleteBuildFromVersionNotFound) IsClientError() bool
IsClientError returns true when this delete build from version not found response has a 4xx status code
func (*DeleteBuildFromVersionNotFound) IsCode ¶
func (o *DeleteBuildFromVersionNotFound) IsCode(code int) bool
IsCode returns true when this delete build from version not found response a status code equal to that given
func (*DeleteBuildFromVersionNotFound) IsRedirect ¶
func (o *DeleteBuildFromVersionNotFound) IsRedirect() bool
IsRedirect returns true when this delete build from version not found response has a 3xx status code
func (*DeleteBuildFromVersionNotFound) IsServerError ¶
func (o *DeleteBuildFromVersionNotFound) IsServerError() bool
IsServerError returns true when this delete build from version not found response has a 5xx status code
func (*DeleteBuildFromVersionNotFound) IsSuccess ¶
func (o *DeleteBuildFromVersionNotFound) IsSuccess() bool
IsSuccess returns true when this delete build from version not found response has a 2xx status code
func (*DeleteBuildFromVersionNotFound) String ¶
func (o *DeleteBuildFromVersionNotFound) String() string
type DeleteBuildFromVersionOK ¶
type DeleteBuildFromVersionOK struct {
Payload *models.GeneralError
}
DeleteBuildFromVersionOK describes a response with status code 200, with default header values.
Plain success message
func NewDeleteBuildFromVersionOK ¶
func NewDeleteBuildFromVersionOK() *DeleteBuildFromVersionOK
NewDeleteBuildFromVersionOK creates a DeleteBuildFromVersionOK with default headers values
func (*DeleteBuildFromVersionOK) Code ¶
func (o *DeleteBuildFromVersionOK) Code() int
Code gets the status code for the delete build from version o k response
func (*DeleteBuildFromVersionOK) Error ¶
func (o *DeleteBuildFromVersionOK) Error() string
func (*DeleteBuildFromVersionOK) GetPayload ¶
func (o *DeleteBuildFromVersionOK) GetPayload() *models.GeneralError
func (*DeleteBuildFromVersionOK) IsClientError ¶
func (o *DeleteBuildFromVersionOK) IsClientError() bool
IsClientError returns true when this delete build from version o k response has a 4xx status code
func (*DeleteBuildFromVersionOK) IsCode ¶
func (o *DeleteBuildFromVersionOK) IsCode(code int) bool
IsCode returns true when this delete build from version o k response a status code equal to that given
func (*DeleteBuildFromVersionOK) IsRedirect ¶
func (o *DeleteBuildFromVersionOK) IsRedirect() bool
IsRedirect returns true when this delete build from version o k response has a 3xx status code
func (*DeleteBuildFromVersionOK) IsServerError ¶
func (o *DeleteBuildFromVersionOK) IsServerError() bool
IsServerError returns true when this delete build from version o k response has a 5xx status code
func (*DeleteBuildFromVersionOK) IsSuccess ¶
func (o *DeleteBuildFromVersionOK) IsSuccess() bool
IsSuccess returns true when this delete build from version o k response has a 2xx status code
func (*DeleteBuildFromVersionOK) String ¶
func (o *DeleteBuildFromVersionOK) String() string
type DeleteBuildFromVersionParams ¶
type DeleteBuildFromVersionParams struct { /* BuildID. A build UUID or slug */ BuildID string /* BuildVersion. The version data to unlink from build */ BuildVersion *models.BuildVersionParams /* PackID. A pack UUID or slug */ PackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteBuildFromVersionParams contains all the parameters to send to the API endpoint
for the delete build from version operation. Typically these are written to a http.Request.
func NewDeleteBuildFromVersionParams ¶
func NewDeleteBuildFromVersionParams() *DeleteBuildFromVersionParams
NewDeleteBuildFromVersionParams creates a new DeleteBuildFromVersionParams 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 NewDeleteBuildFromVersionParamsWithContext ¶
func NewDeleteBuildFromVersionParamsWithContext(ctx context.Context) *DeleteBuildFromVersionParams
NewDeleteBuildFromVersionParamsWithContext creates a new DeleteBuildFromVersionParams object with the ability to set a context for a request.
func NewDeleteBuildFromVersionParamsWithHTTPClient ¶
func NewDeleteBuildFromVersionParamsWithHTTPClient(client *http.Client) *DeleteBuildFromVersionParams
NewDeleteBuildFromVersionParamsWithHTTPClient creates a new DeleteBuildFromVersionParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteBuildFromVersionParamsWithTimeout ¶
func NewDeleteBuildFromVersionParamsWithTimeout(timeout time.Duration) *DeleteBuildFromVersionParams
NewDeleteBuildFromVersionParamsWithTimeout creates a new DeleteBuildFromVersionParams object with the ability to set a timeout on a request.
func (*DeleteBuildFromVersionParams) SetBuildID ¶
func (o *DeleteBuildFromVersionParams) SetBuildID(buildID string)
SetBuildID adds the buildId to the delete build from version params
func (*DeleteBuildFromVersionParams) SetBuildVersion ¶
func (o *DeleteBuildFromVersionParams) SetBuildVersion(buildVersion *models.BuildVersionParams)
SetBuildVersion adds the buildVersion to the delete build from version params
func (*DeleteBuildFromVersionParams) SetContext ¶
func (o *DeleteBuildFromVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete build from version params
func (*DeleteBuildFromVersionParams) SetDefaults ¶
func (o *DeleteBuildFromVersionParams) SetDefaults()
SetDefaults hydrates default values in the delete build from version params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBuildFromVersionParams) SetHTTPClient ¶
func (o *DeleteBuildFromVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete build from version params
func (*DeleteBuildFromVersionParams) SetPackID ¶
func (o *DeleteBuildFromVersionParams) SetPackID(packID string)
SetPackID adds the packId to the delete build from version params
func (*DeleteBuildFromVersionParams) SetTimeout ¶
func (o *DeleteBuildFromVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete build from version params
func (*DeleteBuildFromVersionParams) WithBuildID ¶
func (o *DeleteBuildFromVersionParams) WithBuildID(buildID string) *DeleteBuildFromVersionParams
WithBuildID adds the buildID to the delete build from version params
func (*DeleteBuildFromVersionParams) WithBuildVersion ¶
func (o *DeleteBuildFromVersionParams) WithBuildVersion(buildVersion *models.BuildVersionParams) *DeleteBuildFromVersionParams
WithBuildVersion adds the buildVersion to the delete build from version params
func (*DeleteBuildFromVersionParams) WithContext ¶
func (o *DeleteBuildFromVersionParams) WithContext(ctx context.Context) *DeleteBuildFromVersionParams
WithContext adds the context to the delete build from version params
func (*DeleteBuildFromVersionParams) WithDefaults ¶
func (o *DeleteBuildFromVersionParams) WithDefaults() *DeleteBuildFromVersionParams
WithDefaults hydrates default values in the delete build from version params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBuildFromVersionParams) WithHTTPClient ¶
func (o *DeleteBuildFromVersionParams) WithHTTPClient(client *http.Client) *DeleteBuildFromVersionParams
WithHTTPClient adds the HTTPClient to the delete build from version params
func (*DeleteBuildFromVersionParams) WithPackID ¶
func (o *DeleteBuildFromVersionParams) WithPackID(packID string) *DeleteBuildFromVersionParams
WithPackID adds the packID to the delete build from version params
func (*DeleteBuildFromVersionParams) WithTimeout ¶
func (o *DeleteBuildFromVersionParams) WithTimeout(timeout time.Duration) *DeleteBuildFromVersionParams
WithTimeout adds the timeout to the delete build from version params
func (*DeleteBuildFromVersionParams) WriteToRequest ¶
func (o *DeleteBuildFromVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteBuildFromVersionPreconditionFailed ¶
type DeleteBuildFromVersionPreconditionFailed struct {
Payload *models.GeneralError
}
DeleteBuildFromVersionPreconditionFailed describes a response with status code 412, with default header values.
Version is not assigned
func NewDeleteBuildFromVersionPreconditionFailed ¶
func NewDeleteBuildFromVersionPreconditionFailed() *DeleteBuildFromVersionPreconditionFailed
NewDeleteBuildFromVersionPreconditionFailed creates a DeleteBuildFromVersionPreconditionFailed with default headers values
func (*DeleteBuildFromVersionPreconditionFailed) Code ¶
func (o *DeleteBuildFromVersionPreconditionFailed) Code() int
Code gets the status code for the delete build from version precondition failed response
func (*DeleteBuildFromVersionPreconditionFailed) Error ¶
func (o *DeleteBuildFromVersionPreconditionFailed) Error() string
func (*DeleteBuildFromVersionPreconditionFailed) GetPayload ¶
func (o *DeleteBuildFromVersionPreconditionFailed) GetPayload() *models.GeneralError
func (*DeleteBuildFromVersionPreconditionFailed) IsClientError ¶
func (o *DeleteBuildFromVersionPreconditionFailed) IsClientError() bool
IsClientError returns true when this delete build from version precondition failed response has a 4xx status code
func (*DeleteBuildFromVersionPreconditionFailed) IsCode ¶
func (o *DeleteBuildFromVersionPreconditionFailed) IsCode(code int) bool
IsCode returns true when this delete build from version precondition failed response a status code equal to that given
func (*DeleteBuildFromVersionPreconditionFailed) IsRedirect ¶
func (o *DeleteBuildFromVersionPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this delete build from version precondition failed response has a 3xx status code
func (*DeleteBuildFromVersionPreconditionFailed) IsServerError ¶
func (o *DeleteBuildFromVersionPreconditionFailed) IsServerError() bool
IsServerError returns true when this delete build from version precondition failed response has a 5xx status code
func (*DeleteBuildFromVersionPreconditionFailed) IsSuccess ¶
func (o *DeleteBuildFromVersionPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this delete build from version precondition failed response has a 2xx status code
func (*DeleteBuildFromVersionPreconditionFailed) String ¶
func (o *DeleteBuildFromVersionPreconditionFailed) String() string
type DeleteBuildFromVersionReader ¶
type DeleteBuildFromVersionReader struct {
// contains filtered or unexported fields
}
DeleteBuildFromVersionReader is a Reader for the DeleteBuildFromVersion structure.
func (*DeleteBuildFromVersionReader) ReadResponse ¶
func (o *DeleteBuildFromVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteBuildNotFound ¶
type DeleteBuildNotFound struct {
Payload *models.GeneralError
}
DeleteBuildNotFound describes a response with status code 404, with default header values.
Build or pack not found
func NewDeleteBuildNotFound ¶
func NewDeleteBuildNotFound() *DeleteBuildNotFound
NewDeleteBuildNotFound creates a DeleteBuildNotFound with default headers values
func (*DeleteBuildNotFound) Code ¶
func (o *DeleteBuildNotFound) Code() int
Code gets the status code for the delete build not found response
func (*DeleteBuildNotFound) Error ¶
func (o *DeleteBuildNotFound) Error() string
func (*DeleteBuildNotFound) GetPayload ¶
func (o *DeleteBuildNotFound) GetPayload() *models.GeneralError
func (*DeleteBuildNotFound) IsClientError ¶
func (o *DeleteBuildNotFound) IsClientError() bool
IsClientError returns true when this delete build not found response has a 4xx status code
func (*DeleteBuildNotFound) IsCode ¶
func (o *DeleteBuildNotFound) IsCode(code int) bool
IsCode returns true when this delete build not found response a status code equal to that given
func (*DeleteBuildNotFound) IsRedirect ¶
func (o *DeleteBuildNotFound) IsRedirect() bool
IsRedirect returns true when this delete build not found response has a 3xx status code
func (*DeleteBuildNotFound) IsServerError ¶
func (o *DeleteBuildNotFound) IsServerError() bool
IsServerError returns true when this delete build not found response has a 5xx status code
func (*DeleteBuildNotFound) IsSuccess ¶
func (o *DeleteBuildNotFound) IsSuccess() bool
IsSuccess returns true when this delete build not found response has a 2xx status code
func (*DeleteBuildNotFound) String ¶
func (o *DeleteBuildNotFound) String() string
type DeleteBuildOK ¶
type DeleteBuildOK struct {
Payload *models.GeneralError
}
DeleteBuildOK describes a response with status code 200, with default header values.
Plain success message
func NewDeleteBuildOK ¶
func NewDeleteBuildOK() *DeleteBuildOK
NewDeleteBuildOK creates a DeleteBuildOK with default headers values
func (*DeleteBuildOK) Code ¶
func (o *DeleteBuildOK) Code() int
Code gets the status code for the delete build o k response
func (*DeleteBuildOK) Error ¶
func (o *DeleteBuildOK) Error() string
func (*DeleteBuildOK) GetPayload ¶
func (o *DeleteBuildOK) GetPayload() *models.GeneralError
func (*DeleteBuildOK) IsClientError ¶
func (o *DeleteBuildOK) IsClientError() bool
IsClientError returns true when this delete build o k response has a 4xx status code
func (*DeleteBuildOK) IsCode ¶
func (o *DeleteBuildOK) IsCode(code int) bool
IsCode returns true when this delete build o k response a status code equal to that given
func (*DeleteBuildOK) IsRedirect ¶
func (o *DeleteBuildOK) IsRedirect() bool
IsRedirect returns true when this delete build o k response has a 3xx status code
func (*DeleteBuildOK) IsServerError ¶
func (o *DeleteBuildOK) IsServerError() bool
IsServerError returns true when this delete build o k response has a 5xx status code
func (*DeleteBuildOK) IsSuccess ¶
func (o *DeleteBuildOK) IsSuccess() bool
IsSuccess returns true when this delete build o k response has a 2xx status code
func (*DeleteBuildOK) String ¶
func (o *DeleteBuildOK) String() string
type DeleteBuildParams ¶
type DeleteBuildParams struct { /* BuildID. A build UUID or slug */ BuildID string /* PackID. A pack UUID or slug */ PackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteBuildParams contains all the parameters to send to the API endpoint
for the delete build operation. Typically these are written to a http.Request.
func NewDeleteBuildParams ¶
func NewDeleteBuildParams() *DeleteBuildParams
NewDeleteBuildParams creates a new DeleteBuildParams 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 NewDeleteBuildParamsWithContext ¶
func NewDeleteBuildParamsWithContext(ctx context.Context) *DeleteBuildParams
NewDeleteBuildParamsWithContext creates a new DeleteBuildParams object with the ability to set a context for a request.
func NewDeleteBuildParamsWithHTTPClient ¶
func NewDeleteBuildParamsWithHTTPClient(client *http.Client) *DeleteBuildParams
NewDeleteBuildParamsWithHTTPClient creates a new DeleteBuildParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteBuildParamsWithTimeout ¶
func NewDeleteBuildParamsWithTimeout(timeout time.Duration) *DeleteBuildParams
NewDeleteBuildParamsWithTimeout creates a new DeleteBuildParams object with the ability to set a timeout on a request.
func (*DeleteBuildParams) SetBuildID ¶
func (o *DeleteBuildParams) SetBuildID(buildID string)
SetBuildID adds the buildId to the delete build params
func (*DeleteBuildParams) SetContext ¶
func (o *DeleteBuildParams) SetContext(ctx context.Context)
SetContext adds the context to the delete build params
func (*DeleteBuildParams) SetDefaults ¶
func (o *DeleteBuildParams) SetDefaults()
SetDefaults hydrates default values in the delete build params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBuildParams) SetHTTPClient ¶
func (o *DeleteBuildParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete build params
func (*DeleteBuildParams) SetPackID ¶
func (o *DeleteBuildParams) SetPackID(packID string)
SetPackID adds the packId to the delete build params
func (*DeleteBuildParams) SetTimeout ¶
func (o *DeleteBuildParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete build params
func (*DeleteBuildParams) WithBuildID ¶
func (o *DeleteBuildParams) WithBuildID(buildID string) *DeleteBuildParams
WithBuildID adds the buildID to the delete build params
func (*DeleteBuildParams) WithContext ¶
func (o *DeleteBuildParams) WithContext(ctx context.Context) *DeleteBuildParams
WithContext adds the context to the delete build params
func (*DeleteBuildParams) WithDefaults ¶
func (o *DeleteBuildParams) WithDefaults() *DeleteBuildParams
WithDefaults hydrates default values in the delete build params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBuildParams) WithHTTPClient ¶
func (o *DeleteBuildParams) WithHTTPClient(client *http.Client) *DeleteBuildParams
WithHTTPClient adds the HTTPClient to the delete build params
func (*DeleteBuildParams) WithPackID ¶
func (o *DeleteBuildParams) WithPackID(packID string) *DeleteBuildParams
WithPackID adds the packID to the delete build params
func (*DeleteBuildParams) WithTimeout ¶
func (o *DeleteBuildParams) WithTimeout(timeout time.Duration) *DeleteBuildParams
WithTimeout adds the timeout to the delete build params
func (*DeleteBuildParams) WriteToRequest ¶
func (o *DeleteBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteBuildReader ¶
type DeleteBuildReader struct {
// contains filtered or unexported fields
}
DeleteBuildReader is a Reader for the DeleteBuild structure.
func (*DeleteBuildReader) ReadResponse ¶
func (o *DeleteBuildReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePackBadRequest ¶
type DeletePackBadRequest struct {
Payload *models.GeneralError
}
DeletePackBadRequest describes a response with status code 400, with default header values.
Failed to delete the pack
func NewDeletePackBadRequest ¶
func NewDeletePackBadRequest() *DeletePackBadRequest
NewDeletePackBadRequest creates a DeletePackBadRequest with default headers values
func (*DeletePackBadRequest) Code ¶
func (o *DeletePackBadRequest) Code() int
Code gets the status code for the delete pack bad request response
func (*DeletePackBadRequest) Error ¶
func (o *DeletePackBadRequest) Error() string
func (*DeletePackBadRequest) GetPayload ¶
func (o *DeletePackBadRequest) GetPayload() *models.GeneralError
func (*DeletePackBadRequest) IsClientError ¶
func (o *DeletePackBadRequest) IsClientError() bool
IsClientError returns true when this delete pack bad request response has a 4xx status code
func (*DeletePackBadRequest) IsCode ¶
func (o *DeletePackBadRequest) IsCode(code int) bool
IsCode returns true when this delete pack bad request response a status code equal to that given
func (*DeletePackBadRequest) IsRedirect ¶
func (o *DeletePackBadRequest) IsRedirect() bool
IsRedirect returns true when this delete pack bad request response has a 3xx status code
func (*DeletePackBadRequest) IsServerError ¶
func (o *DeletePackBadRequest) IsServerError() bool
IsServerError returns true when this delete pack bad request response has a 5xx status code
func (*DeletePackBadRequest) IsSuccess ¶
func (o *DeletePackBadRequest) IsSuccess() bool
IsSuccess returns true when this delete pack bad request response has a 2xx status code
func (*DeletePackBadRequest) String ¶
func (o *DeletePackBadRequest) String() string
type DeletePackDefault ¶
type DeletePackDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
DeletePackDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewDeletePackDefault ¶
func NewDeletePackDefault(code int) *DeletePackDefault
NewDeletePackDefault creates a DeletePackDefault with default headers values
func (*DeletePackDefault) Code ¶
func (o *DeletePackDefault) Code() int
Code gets the status code for the delete pack default response
func (*DeletePackDefault) Error ¶
func (o *DeletePackDefault) Error() string
func (*DeletePackDefault) GetPayload ¶
func (o *DeletePackDefault) GetPayload() *models.GeneralError
func (*DeletePackDefault) IsClientError ¶
func (o *DeletePackDefault) IsClientError() bool
IsClientError returns true when this delete pack default response has a 4xx status code
func (*DeletePackDefault) IsCode ¶
func (o *DeletePackDefault) IsCode(code int) bool
IsCode returns true when this delete pack default response a status code equal to that given
func (*DeletePackDefault) IsRedirect ¶
func (o *DeletePackDefault) IsRedirect() bool
IsRedirect returns true when this delete pack default response has a 3xx status code
func (*DeletePackDefault) IsServerError ¶
func (o *DeletePackDefault) IsServerError() bool
IsServerError returns true when this delete pack default response has a 5xx status code
func (*DeletePackDefault) IsSuccess ¶
func (o *DeletePackDefault) IsSuccess() bool
IsSuccess returns true when this delete pack default response has a 2xx status code
func (*DeletePackDefault) String ¶
func (o *DeletePackDefault) String() string
type DeletePackForbidden ¶
type DeletePackForbidden struct {
Payload *models.GeneralError
}
DeletePackForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewDeletePackForbidden ¶
func NewDeletePackForbidden() *DeletePackForbidden
NewDeletePackForbidden creates a DeletePackForbidden with default headers values
func (*DeletePackForbidden) Code ¶
func (o *DeletePackForbidden) Code() int
Code gets the status code for the delete pack forbidden response
func (*DeletePackForbidden) Error ¶
func (o *DeletePackForbidden) Error() string
func (*DeletePackForbidden) GetPayload ¶
func (o *DeletePackForbidden) GetPayload() *models.GeneralError
func (*DeletePackForbidden) IsClientError ¶
func (o *DeletePackForbidden) IsClientError() bool
IsClientError returns true when this delete pack forbidden response has a 4xx status code
func (*DeletePackForbidden) IsCode ¶
func (o *DeletePackForbidden) IsCode(code int) bool
IsCode returns true when this delete pack forbidden response a status code equal to that given
func (*DeletePackForbidden) IsRedirect ¶
func (o *DeletePackForbidden) IsRedirect() bool
IsRedirect returns true when this delete pack forbidden response has a 3xx status code
func (*DeletePackForbidden) IsServerError ¶
func (o *DeletePackForbidden) IsServerError() bool
IsServerError returns true when this delete pack forbidden response has a 5xx status code
func (*DeletePackForbidden) IsSuccess ¶
func (o *DeletePackForbidden) IsSuccess() bool
IsSuccess returns true when this delete pack forbidden response has a 2xx status code
func (*DeletePackForbidden) String ¶
func (o *DeletePackForbidden) String() string
type DeletePackFromTeamDefault ¶
type DeletePackFromTeamDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
DeletePackFromTeamDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewDeletePackFromTeamDefault ¶
func NewDeletePackFromTeamDefault(code int) *DeletePackFromTeamDefault
NewDeletePackFromTeamDefault creates a DeletePackFromTeamDefault with default headers values
func (*DeletePackFromTeamDefault) Code ¶
func (o *DeletePackFromTeamDefault) Code() int
Code gets the status code for the delete pack from team default response
func (*DeletePackFromTeamDefault) Error ¶
func (o *DeletePackFromTeamDefault) Error() string
func (*DeletePackFromTeamDefault) GetPayload ¶
func (o *DeletePackFromTeamDefault) GetPayload() *models.GeneralError
func (*DeletePackFromTeamDefault) IsClientError ¶
func (o *DeletePackFromTeamDefault) IsClientError() bool
IsClientError returns true when this delete pack from team default response has a 4xx status code
func (*DeletePackFromTeamDefault) IsCode ¶
func (o *DeletePackFromTeamDefault) IsCode(code int) bool
IsCode returns true when this delete pack from team default response a status code equal to that given
func (*DeletePackFromTeamDefault) IsRedirect ¶
func (o *DeletePackFromTeamDefault) IsRedirect() bool
IsRedirect returns true when this delete pack from team default response has a 3xx status code
func (*DeletePackFromTeamDefault) IsServerError ¶
func (o *DeletePackFromTeamDefault) IsServerError() bool
IsServerError returns true when this delete pack from team default response has a 5xx status code
func (*DeletePackFromTeamDefault) IsSuccess ¶
func (o *DeletePackFromTeamDefault) IsSuccess() bool
IsSuccess returns true when this delete pack from team default response has a 2xx status code
func (*DeletePackFromTeamDefault) String ¶
func (o *DeletePackFromTeamDefault) String() string
type DeletePackFromTeamForbidden ¶
type DeletePackFromTeamForbidden struct {
Payload *models.GeneralError
}
DeletePackFromTeamForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewDeletePackFromTeamForbidden ¶
func NewDeletePackFromTeamForbidden() *DeletePackFromTeamForbidden
NewDeletePackFromTeamForbidden creates a DeletePackFromTeamForbidden with default headers values
func (*DeletePackFromTeamForbidden) Code ¶
func (o *DeletePackFromTeamForbidden) Code() int
Code gets the status code for the delete pack from team forbidden response
func (*DeletePackFromTeamForbidden) Error ¶
func (o *DeletePackFromTeamForbidden) Error() string
func (*DeletePackFromTeamForbidden) GetPayload ¶
func (o *DeletePackFromTeamForbidden) GetPayload() *models.GeneralError
func (*DeletePackFromTeamForbidden) IsClientError ¶
func (o *DeletePackFromTeamForbidden) IsClientError() bool
IsClientError returns true when this delete pack from team forbidden response has a 4xx status code
func (*DeletePackFromTeamForbidden) IsCode ¶
func (o *DeletePackFromTeamForbidden) IsCode(code int) bool
IsCode returns true when this delete pack from team forbidden response a status code equal to that given
func (*DeletePackFromTeamForbidden) IsRedirect ¶
func (o *DeletePackFromTeamForbidden) IsRedirect() bool
IsRedirect returns true when this delete pack from team forbidden response has a 3xx status code
func (*DeletePackFromTeamForbidden) IsServerError ¶
func (o *DeletePackFromTeamForbidden) IsServerError() bool
IsServerError returns true when this delete pack from team forbidden response has a 5xx status code
func (*DeletePackFromTeamForbidden) IsSuccess ¶
func (o *DeletePackFromTeamForbidden) IsSuccess() bool
IsSuccess returns true when this delete pack from team forbidden response has a 2xx status code
func (*DeletePackFromTeamForbidden) String ¶
func (o *DeletePackFromTeamForbidden) String() string
type DeletePackFromTeamNotFound ¶
type DeletePackFromTeamNotFound struct {
Payload *models.GeneralError
}
DeletePackFromTeamNotFound describes a response with status code 404, with default header values.
Pack or team not found
func NewDeletePackFromTeamNotFound ¶
func NewDeletePackFromTeamNotFound() *DeletePackFromTeamNotFound
NewDeletePackFromTeamNotFound creates a DeletePackFromTeamNotFound with default headers values
func (*DeletePackFromTeamNotFound) Code ¶
func (o *DeletePackFromTeamNotFound) Code() int
Code gets the status code for the delete pack from team not found response
func (*DeletePackFromTeamNotFound) Error ¶
func (o *DeletePackFromTeamNotFound) Error() string
func (*DeletePackFromTeamNotFound) GetPayload ¶
func (o *DeletePackFromTeamNotFound) GetPayload() *models.GeneralError
func (*DeletePackFromTeamNotFound) IsClientError ¶
func (o *DeletePackFromTeamNotFound) IsClientError() bool
IsClientError returns true when this delete pack from team not found response has a 4xx status code
func (*DeletePackFromTeamNotFound) IsCode ¶
func (o *DeletePackFromTeamNotFound) IsCode(code int) bool
IsCode returns true when this delete pack from team not found response a status code equal to that given
func (*DeletePackFromTeamNotFound) IsRedirect ¶
func (o *DeletePackFromTeamNotFound) IsRedirect() bool
IsRedirect returns true when this delete pack from team not found response has a 3xx status code
func (*DeletePackFromTeamNotFound) IsServerError ¶
func (o *DeletePackFromTeamNotFound) IsServerError() bool
IsServerError returns true when this delete pack from team not found response has a 5xx status code
func (*DeletePackFromTeamNotFound) IsSuccess ¶
func (o *DeletePackFromTeamNotFound) IsSuccess() bool
IsSuccess returns true when this delete pack from team not found response has a 2xx status code
func (*DeletePackFromTeamNotFound) String ¶
func (o *DeletePackFromTeamNotFound) String() string
type DeletePackFromTeamOK ¶
type DeletePackFromTeamOK struct {
Payload *models.GeneralError
}
DeletePackFromTeamOK describes a response with status code 200, with default header values.
Plain success message
func NewDeletePackFromTeamOK ¶
func NewDeletePackFromTeamOK() *DeletePackFromTeamOK
NewDeletePackFromTeamOK creates a DeletePackFromTeamOK with default headers values
func (*DeletePackFromTeamOK) Code ¶
func (o *DeletePackFromTeamOK) Code() int
Code gets the status code for the delete pack from team o k response
func (*DeletePackFromTeamOK) Error ¶
func (o *DeletePackFromTeamOK) Error() string
func (*DeletePackFromTeamOK) GetPayload ¶
func (o *DeletePackFromTeamOK) GetPayload() *models.GeneralError
func (*DeletePackFromTeamOK) IsClientError ¶
func (o *DeletePackFromTeamOK) IsClientError() bool
IsClientError returns true when this delete pack from team o k response has a 4xx status code
func (*DeletePackFromTeamOK) IsCode ¶
func (o *DeletePackFromTeamOK) IsCode(code int) bool
IsCode returns true when this delete pack from team o k response a status code equal to that given
func (*DeletePackFromTeamOK) IsRedirect ¶
func (o *DeletePackFromTeamOK) IsRedirect() bool
IsRedirect returns true when this delete pack from team o k response has a 3xx status code
func (*DeletePackFromTeamOK) IsServerError ¶
func (o *DeletePackFromTeamOK) IsServerError() bool
IsServerError returns true when this delete pack from team o k response has a 5xx status code
func (*DeletePackFromTeamOK) IsSuccess ¶
func (o *DeletePackFromTeamOK) IsSuccess() bool
IsSuccess returns true when this delete pack from team o k response has a 2xx status code
func (*DeletePackFromTeamOK) String ¶
func (o *DeletePackFromTeamOK) String() string
type DeletePackFromTeamParams ¶
type DeletePackFromTeamParams struct { /* PackID. A pack UUID or slug */ PackID string /* PackTeam. The pack team data to delete */ PackTeam *models.PackTeamParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePackFromTeamParams contains all the parameters to send to the API endpoint
for the delete pack from team operation. Typically these are written to a http.Request.
func NewDeletePackFromTeamParams ¶
func NewDeletePackFromTeamParams() *DeletePackFromTeamParams
NewDeletePackFromTeamParams creates a new DeletePackFromTeamParams 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 NewDeletePackFromTeamParamsWithContext ¶
func NewDeletePackFromTeamParamsWithContext(ctx context.Context) *DeletePackFromTeamParams
NewDeletePackFromTeamParamsWithContext creates a new DeletePackFromTeamParams object with the ability to set a context for a request.
func NewDeletePackFromTeamParamsWithHTTPClient ¶
func NewDeletePackFromTeamParamsWithHTTPClient(client *http.Client) *DeletePackFromTeamParams
NewDeletePackFromTeamParamsWithHTTPClient creates a new DeletePackFromTeamParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePackFromTeamParamsWithTimeout ¶
func NewDeletePackFromTeamParamsWithTimeout(timeout time.Duration) *DeletePackFromTeamParams
NewDeletePackFromTeamParamsWithTimeout creates a new DeletePackFromTeamParams object with the ability to set a timeout on a request.
func (*DeletePackFromTeamParams) SetContext ¶
func (o *DeletePackFromTeamParams) SetContext(ctx context.Context)
SetContext adds the context to the delete pack from team params
func (*DeletePackFromTeamParams) SetDefaults ¶
func (o *DeletePackFromTeamParams) SetDefaults()
SetDefaults hydrates default values in the delete pack from team params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePackFromTeamParams) SetHTTPClient ¶
func (o *DeletePackFromTeamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete pack from team params
func (*DeletePackFromTeamParams) SetPackID ¶
func (o *DeletePackFromTeamParams) SetPackID(packID string)
SetPackID adds the packId to the delete pack from team params
func (*DeletePackFromTeamParams) SetPackTeam ¶
func (o *DeletePackFromTeamParams) SetPackTeam(packTeam *models.PackTeamParams)
SetPackTeam adds the packTeam to the delete pack from team params
func (*DeletePackFromTeamParams) SetTimeout ¶
func (o *DeletePackFromTeamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete pack from team params
func (*DeletePackFromTeamParams) WithContext ¶
func (o *DeletePackFromTeamParams) WithContext(ctx context.Context) *DeletePackFromTeamParams
WithContext adds the context to the delete pack from team params
func (*DeletePackFromTeamParams) WithDefaults ¶
func (o *DeletePackFromTeamParams) WithDefaults() *DeletePackFromTeamParams
WithDefaults hydrates default values in the delete pack from team params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePackFromTeamParams) WithHTTPClient ¶
func (o *DeletePackFromTeamParams) WithHTTPClient(client *http.Client) *DeletePackFromTeamParams
WithHTTPClient adds the HTTPClient to the delete pack from team params
func (*DeletePackFromTeamParams) WithPackID ¶
func (o *DeletePackFromTeamParams) WithPackID(packID string) *DeletePackFromTeamParams
WithPackID adds the packID to the delete pack from team params
func (*DeletePackFromTeamParams) WithPackTeam ¶
func (o *DeletePackFromTeamParams) WithPackTeam(packTeam *models.PackTeamParams) *DeletePackFromTeamParams
WithPackTeam adds the packTeam to the delete pack from team params
func (*DeletePackFromTeamParams) WithTimeout ¶
func (o *DeletePackFromTeamParams) WithTimeout(timeout time.Duration) *DeletePackFromTeamParams
WithTimeout adds the timeout to the delete pack from team params
func (*DeletePackFromTeamParams) WriteToRequest ¶
func (o *DeletePackFromTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePackFromTeamPreconditionFailed ¶
type DeletePackFromTeamPreconditionFailed struct {
Payload *models.GeneralError
}
DeletePackFromTeamPreconditionFailed describes a response with status code 412, with default header values.
Team is not attached
func NewDeletePackFromTeamPreconditionFailed ¶
func NewDeletePackFromTeamPreconditionFailed() *DeletePackFromTeamPreconditionFailed
NewDeletePackFromTeamPreconditionFailed creates a DeletePackFromTeamPreconditionFailed with default headers values
func (*DeletePackFromTeamPreconditionFailed) Code ¶
func (o *DeletePackFromTeamPreconditionFailed) Code() int
Code gets the status code for the delete pack from team precondition failed response
func (*DeletePackFromTeamPreconditionFailed) Error ¶
func (o *DeletePackFromTeamPreconditionFailed) Error() string
func (*DeletePackFromTeamPreconditionFailed) GetPayload ¶
func (o *DeletePackFromTeamPreconditionFailed) GetPayload() *models.GeneralError
func (*DeletePackFromTeamPreconditionFailed) IsClientError ¶
func (o *DeletePackFromTeamPreconditionFailed) IsClientError() bool
IsClientError returns true when this delete pack from team precondition failed response has a 4xx status code
func (*DeletePackFromTeamPreconditionFailed) IsCode ¶
func (o *DeletePackFromTeamPreconditionFailed) IsCode(code int) bool
IsCode returns true when this delete pack from team precondition failed response a status code equal to that given
func (*DeletePackFromTeamPreconditionFailed) IsRedirect ¶
func (o *DeletePackFromTeamPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this delete pack from team precondition failed response has a 3xx status code
func (*DeletePackFromTeamPreconditionFailed) IsServerError ¶
func (o *DeletePackFromTeamPreconditionFailed) IsServerError() bool
IsServerError returns true when this delete pack from team precondition failed response has a 5xx status code
func (*DeletePackFromTeamPreconditionFailed) IsSuccess ¶
func (o *DeletePackFromTeamPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this delete pack from team precondition failed response has a 2xx status code
func (*DeletePackFromTeamPreconditionFailed) String ¶
func (o *DeletePackFromTeamPreconditionFailed) String() string
type DeletePackFromTeamReader ¶
type DeletePackFromTeamReader struct {
// contains filtered or unexported fields
}
DeletePackFromTeamReader is a Reader for the DeletePackFromTeam structure.
func (*DeletePackFromTeamReader) ReadResponse ¶
func (o *DeletePackFromTeamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePackFromUserDefault ¶
type DeletePackFromUserDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
DeletePackFromUserDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewDeletePackFromUserDefault ¶
func NewDeletePackFromUserDefault(code int) *DeletePackFromUserDefault
NewDeletePackFromUserDefault creates a DeletePackFromUserDefault with default headers values
func (*DeletePackFromUserDefault) Code ¶
func (o *DeletePackFromUserDefault) Code() int
Code gets the status code for the delete pack from user default response
func (*DeletePackFromUserDefault) Error ¶
func (o *DeletePackFromUserDefault) Error() string
func (*DeletePackFromUserDefault) GetPayload ¶
func (o *DeletePackFromUserDefault) GetPayload() *models.GeneralError
func (*DeletePackFromUserDefault) IsClientError ¶
func (o *DeletePackFromUserDefault) IsClientError() bool
IsClientError returns true when this delete pack from user default response has a 4xx status code
func (*DeletePackFromUserDefault) IsCode ¶
func (o *DeletePackFromUserDefault) IsCode(code int) bool
IsCode returns true when this delete pack from user default response a status code equal to that given
func (*DeletePackFromUserDefault) IsRedirect ¶
func (o *DeletePackFromUserDefault) IsRedirect() bool
IsRedirect returns true when this delete pack from user default response has a 3xx status code
func (*DeletePackFromUserDefault) IsServerError ¶
func (o *DeletePackFromUserDefault) IsServerError() bool
IsServerError returns true when this delete pack from user default response has a 5xx status code
func (*DeletePackFromUserDefault) IsSuccess ¶
func (o *DeletePackFromUserDefault) IsSuccess() bool
IsSuccess returns true when this delete pack from user default response has a 2xx status code
func (*DeletePackFromUserDefault) String ¶
func (o *DeletePackFromUserDefault) String() string
type DeletePackFromUserForbidden ¶
type DeletePackFromUserForbidden struct {
Payload *models.GeneralError
}
DeletePackFromUserForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewDeletePackFromUserForbidden ¶
func NewDeletePackFromUserForbidden() *DeletePackFromUserForbidden
NewDeletePackFromUserForbidden creates a DeletePackFromUserForbidden with default headers values
func (*DeletePackFromUserForbidden) Code ¶
func (o *DeletePackFromUserForbidden) Code() int
Code gets the status code for the delete pack from user forbidden response
func (*DeletePackFromUserForbidden) Error ¶
func (o *DeletePackFromUserForbidden) Error() string
func (*DeletePackFromUserForbidden) GetPayload ¶
func (o *DeletePackFromUserForbidden) GetPayload() *models.GeneralError
func (*DeletePackFromUserForbidden) IsClientError ¶
func (o *DeletePackFromUserForbidden) IsClientError() bool
IsClientError returns true when this delete pack from user forbidden response has a 4xx status code
func (*DeletePackFromUserForbidden) IsCode ¶
func (o *DeletePackFromUserForbidden) IsCode(code int) bool
IsCode returns true when this delete pack from user forbidden response a status code equal to that given
func (*DeletePackFromUserForbidden) IsRedirect ¶
func (o *DeletePackFromUserForbidden) IsRedirect() bool
IsRedirect returns true when this delete pack from user forbidden response has a 3xx status code
func (*DeletePackFromUserForbidden) IsServerError ¶
func (o *DeletePackFromUserForbidden) IsServerError() bool
IsServerError returns true when this delete pack from user forbidden response has a 5xx status code
func (*DeletePackFromUserForbidden) IsSuccess ¶
func (o *DeletePackFromUserForbidden) IsSuccess() bool
IsSuccess returns true when this delete pack from user forbidden response has a 2xx status code
func (*DeletePackFromUserForbidden) String ¶
func (o *DeletePackFromUserForbidden) String() string
type DeletePackFromUserNotFound ¶
type DeletePackFromUserNotFound struct {
Payload *models.GeneralError
}
DeletePackFromUserNotFound describes a response with status code 404, with default header values.
Pack or user not found
func NewDeletePackFromUserNotFound ¶
func NewDeletePackFromUserNotFound() *DeletePackFromUserNotFound
NewDeletePackFromUserNotFound creates a DeletePackFromUserNotFound with default headers values
func (*DeletePackFromUserNotFound) Code ¶
func (o *DeletePackFromUserNotFound) Code() int
Code gets the status code for the delete pack from user not found response
func (*DeletePackFromUserNotFound) Error ¶
func (o *DeletePackFromUserNotFound) Error() string
func (*DeletePackFromUserNotFound) GetPayload ¶
func (o *DeletePackFromUserNotFound) GetPayload() *models.GeneralError
func (*DeletePackFromUserNotFound) IsClientError ¶
func (o *DeletePackFromUserNotFound) IsClientError() bool
IsClientError returns true when this delete pack from user not found response has a 4xx status code
func (*DeletePackFromUserNotFound) IsCode ¶
func (o *DeletePackFromUserNotFound) IsCode(code int) bool
IsCode returns true when this delete pack from user not found response a status code equal to that given
func (*DeletePackFromUserNotFound) IsRedirect ¶
func (o *DeletePackFromUserNotFound) IsRedirect() bool
IsRedirect returns true when this delete pack from user not found response has a 3xx status code
func (*DeletePackFromUserNotFound) IsServerError ¶
func (o *DeletePackFromUserNotFound) IsServerError() bool
IsServerError returns true when this delete pack from user not found response has a 5xx status code
func (*DeletePackFromUserNotFound) IsSuccess ¶
func (o *DeletePackFromUserNotFound) IsSuccess() bool
IsSuccess returns true when this delete pack from user not found response has a 2xx status code
func (*DeletePackFromUserNotFound) String ¶
func (o *DeletePackFromUserNotFound) String() string
type DeletePackFromUserOK ¶
type DeletePackFromUserOK struct {
Payload *models.GeneralError
}
DeletePackFromUserOK describes a response with status code 200, with default header values.
Plain success message
func NewDeletePackFromUserOK ¶
func NewDeletePackFromUserOK() *DeletePackFromUserOK
NewDeletePackFromUserOK creates a DeletePackFromUserOK with default headers values
func (*DeletePackFromUserOK) Code ¶
func (o *DeletePackFromUserOK) Code() int
Code gets the status code for the delete pack from user o k response
func (*DeletePackFromUserOK) Error ¶
func (o *DeletePackFromUserOK) Error() string
func (*DeletePackFromUserOK) GetPayload ¶
func (o *DeletePackFromUserOK) GetPayload() *models.GeneralError
func (*DeletePackFromUserOK) IsClientError ¶
func (o *DeletePackFromUserOK) IsClientError() bool
IsClientError returns true when this delete pack from user o k response has a 4xx status code
func (*DeletePackFromUserOK) IsCode ¶
func (o *DeletePackFromUserOK) IsCode(code int) bool
IsCode returns true when this delete pack from user o k response a status code equal to that given
func (*DeletePackFromUserOK) IsRedirect ¶
func (o *DeletePackFromUserOK) IsRedirect() bool
IsRedirect returns true when this delete pack from user o k response has a 3xx status code
func (*DeletePackFromUserOK) IsServerError ¶
func (o *DeletePackFromUserOK) IsServerError() bool
IsServerError returns true when this delete pack from user o k response has a 5xx status code
func (*DeletePackFromUserOK) IsSuccess ¶
func (o *DeletePackFromUserOK) IsSuccess() bool
IsSuccess returns true when this delete pack from user o k response has a 2xx status code
func (*DeletePackFromUserOK) String ¶
func (o *DeletePackFromUserOK) String() string
type DeletePackFromUserParams ¶
type DeletePackFromUserParams struct { /* PackID. A pack UUID or slug */ PackID string /* PackUser. The pack user data to delete */ PackUser *models.PackUserParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePackFromUserParams contains all the parameters to send to the API endpoint
for the delete pack from user operation. Typically these are written to a http.Request.
func NewDeletePackFromUserParams ¶
func NewDeletePackFromUserParams() *DeletePackFromUserParams
NewDeletePackFromUserParams creates a new DeletePackFromUserParams 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 NewDeletePackFromUserParamsWithContext ¶
func NewDeletePackFromUserParamsWithContext(ctx context.Context) *DeletePackFromUserParams
NewDeletePackFromUserParamsWithContext creates a new DeletePackFromUserParams object with the ability to set a context for a request.
func NewDeletePackFromUserParamsWithHTTPClient ¶
func NewDeletePackFromUserParamsWithHTTPClient(client *http.Client) *DeletePackFromUserParams
NewDeletePackFromUserParamsWithHTTPClient creates a new DeletePackFromUserParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePackFromUserParamsWithTimeout ¶
func NewDeletePackFromUserParamsWithTimeout(timeout time.Duration) *DeletePackFromUserParams
NewDeletePackFromUserParamsWithTimeout creates a new DeletePackFromUserParams object with the ability to set a timeout on a request.
func (*DeletePackFromUserParams) SetContext ¶
func (o *DeletePackFromUserParams) SetContext(ctx context.Context)
SetContext adds the context to the delete pack from user params
func (*DeletePackFromUserParams) SetDefaults ¶
func (o *DeletePackFromUserParams) SetDefaults()
SetDefaults hydrates default values in the delete pack from user params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePackFromUserParams) SetHTTPClient ¶
func (o *DeletePackFromUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete pack from user params
func (*DeletePackFromUserParams) SetPackID ¶
func (o *DeletePackFromUserParams) SetPackID(packID string)
SetPackID adds the packId to the delete pack from user params
func (*DeletePackFromUserParams) SetPackUser ¶
func (o *DeletePackFromUserParams) SetPackUser(packUser *models.PackUserParams)
SetPackUser adds the packUser to the delete pack from user params
func (*DeletePackFromUserParams) SetTimeout ¶
func (o *DeletePackFromUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete pack from user params
func (*DeletePackFromUserParams) WithContext ¶
func (o *DeletePackFromUserParams) WithContext(ctx context.Context) *DeletePackFromUserParams
WithContext adds the context to the delete pack from user params
func (*DeletePackFromUserParams) WithDefaults ¶
func (o *DeletePackFromUserParams) WithDefaults() *DeletePackFromUserParams
WithDefaults hydrates default values in the delete pack from user params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePackFromUserParams) WithHTTPClient ¶
func (o *DeletePackFromUserParams) WithHTTPClient(client *http.Client) *DeletePackFromUserParams
WithHTTPClient adds the HTTPClient to the delete pack from user params
func (*DeletePackFromUserParams) WithPackID ¶
func (o *DeletePackFromUserParams) WithPackID(packID string) *DeletePackFromUserParams
WithPackID adds the packID to the delete pack from user params
func (*DeletePackFromUserParams) WithPackUser ¶
func (o *DeletePackFromUserParams) WithPackUser(packUser *models.PackUserParams) *DeletePackFromUserParams
WithPackUser adds the packUser to the delete pack from user params
func (*DeletePackFromUserParams) WithTimeout ¶
func (o *DeletePackFromUserParams) WithTimeout(timeout time.Duration) *DeletePackFromUserParams
WithTimeout adds the timeout to the delete pack from user params
func (*DeletePackFromUserParams) WriteToRequest ¶
func (o *DeletePackFromUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePackFromUserPreconditionFailed ¶
type DeletePackFromUserPreconditionFailed struct {
Payload *models.GeneralError
}
DeletePackFromUserPreconditionFailed describes a response with status code 412, with default header values.
User is not attached
func NewDeletePackFromUserPreconditionFailed ¶
func NewDeletePackFromUserPreconditionFailed() *DeletePackFromUserPreconditionFailed
NewDeletePackFromUserPreconditionFailed creates a DeletePackFromUserPreconditionFailed with default headers values
func (*DeletePackFromUserPreconditionFailed) Code ¶
func (o *DeletePackFromUserPreconditionFailed) Code() int
Code gets the status code for the delete pack from user precondition failed response
func (*DeletePackFromUserPreconditionFailed) Error ¶
func (o *DeletePackFromUserPreconditionFailed) Error() string
func (*DeletePackFromUserPreconditionFailed) GetPayload ¶
func (o *DeletePackFromUserPreconditionFailed) GetPayload() *models.GeneralError
func (*DeletePackFromUserPreconditionFailed) IsClientError ¶
func (o *DeletePackFromUserPreconditionFailed) IsClientError() bool
IsClientError returns true when this delete pack from user precondition failed response has a 4xx status code
func (*DeletePackFromUserPreconditionFailed) IsCode ¶
func (o *DeletePackFromUserPreconditionFailed) IsCode(code int) bool
IsCode returns true when this delete pack from user precondition failed response a status code equal to that given
func (*DeletePackFromUserPreconditionFailed) IsRedirect ¶
func (o *DeletePackFromUserPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this delete pack from user precondition failed response has a 3xx status code
func (*DeletePackFromUserPreconditionFailed) IsServerError ¶
func (o *DeletePackFromUserPreconditionFailed) IsServerError() bool
IsServerError returns true when this delete pack from user precondition failed response has a 5xx status code
func (*DeletePackFromUserPreconditionFailed) IsSuccess ¶
func (o *DeletePackFromUserPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this delete pack from user precondition failed response has a 2xx status code
func (*DeletePackFromUserPreconditionFailed) String ¶
func (o *DeletePackFromUserPreconditionFailed) String() string
type DeletePackFromUserReader ¶
type DeletePackFromUserReader struct {
// contains filtered or unexported fields
}
DeletePackFromUserReader is a Reader for the DeletePackFromUser structure.
func (*DeletePackFromUserReader) ReadResponse ¶
func (o *DeletePackFromUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePackNotFound ¶
type DeletePackNotFound struct {
Payload *models.GeneralError
}
DeletePackNotFound describes a response with status code 404, with default header values.
Pack not found
func NewDeletePackNotFound ¶
func NewDeletePackNotFound() *DeletePackNotFound
NewDeletePackNotFound creates a DeletePackNotFound with default headers values
func (*DeletePackNotFound) Code ¶
func (o *DeletePackNotFound) Code() int
Code gets the status code for the delete pack not found response
func (*DeletePackNotFound) Error ¶
func (o *DeletePackNotFound) Error() string
func (*DeletePackNotFound) GetPayload ¶
func (o *DeletePackNotFound) GetPayload() *models.GeneralError
func (*DeletePackNotFound) IsClientError ¶
func (o *DeletePackNotFound) IsClientError() bool
IsClientError returns true when this delete pack not found response has a 4xx status code
func (*DeletePackNotFound) IsCode ¶
func (o *DeletePackNotFound) IsCode(code int) bool
IsCode returns true when this delete pack not found response a status code equal to that given
func (*DeletePackNotFound) IsRedirect ¶
func (o *DeletePackNotFound) IsRedirect() bool
IsRedirect returns true when this delete pack not found response has a 3xx status code
func (*DeletePackNotFound) IsServerError ¶
func (o *DeletePackNotFound) IsServerError() bool
IsServerError returns true when this delete pack not found response has a 5xx status code
func (*DeletePackNotFound) IsSuccess ¶
func (o *DeletePackNotFound) IsSuccess() bool
IsSuccess returns true when this delete pack not found response has a 2xx status code
func (*DeletePackNotFound) String ¶
func (o *DeletePackNotFound) String() string
type DeletePackOK ¶
type DeletePackOK struct {
Payload *models.GeneralError
}
DeletePackOK describes a response with status code 200, with default header values.
Plain success message
func NewDeletePackOK ¶
func NewDeletePackOK() *DeletePackOK
NewDeletePackOK creates a DeletePackOK with default headers values
func (*DeletePackOK) Code ¶
func (o *DeletePackOK) Code() int
Code gets the status code for the delete pack o k response
func (*DeletePackOK) Error ¶
func (o *DeletePackOK) Error() string
func (*DeletePackOK) GetPayload ¶
func (o *DeletePackOK) GetPayload() *models.GeneralError
func (*DeletePackOK) IsClientError ¶
func (o *DeletePackOK) IsClientError() bool
IsClientError returns true when this delete pack o k response has a 4xx status code
func (*DeletePackOK) IsCode ¶
func (o *DeletePackOK) IsCode(code int) bool
IsCode returns true when this delete pack o k response a status code equal to that given
func (*DeletePackOK) IsRedirect ¶
func (o *DeletePackOK) IsRedirect() bool
IsRedirect returns true when this delete pack o k response has a 3xx status code
func (*DeletePackOK) IsServerError ¶
func (o *DeletePackOK) IsServerError() bool
IsServerError returns true when this delete pack o k response has a 5xx status code
func (*DeletePackOK) IsSuccess ¶
func (o *DeletePackOK) IsSuccess() bool
IsSuccess returns true when this delete pack o k response has a 2xx status code
func (*DeletePackOK) String ¶
func (o *DeletePackOK) String() string
type DeletePackParams ¶
type DeletePackParams struct { /* PackID. A pack UUID or slug */ PackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePackParams contains all the parameters to send to the API endpoint
for the delete pack operation. Typically these are written to a http.Request.
func NewDeletePackParams ¶
func NewDeletePackParams() *DeletePackParams
NewDeletePackParams creates a new DeletePackParams 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 NewDeletePackParamsWithContext ¶
func NewDeletePackParamsWithContext(ctx context.Context) *DeletePackParams
NewDeletePackParamsWithContext creates a new DeletePackParams object with the ability to set a context for a request.
func NewDeletePackParamsWithHTTPClient ¶
func NewDeletePackParamsWithHTTPClient(client *http.Client) *DeletePackParams
NewDeletePackParamsWithHTTPClient creates a new DeletePackParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePackParamsWithTimeout ¶
func NewDeletePackParamsWithTimeout(timeout time.Duration) *DeletePackParams
NewDeletePackParamsWithTimeout creates a new DeletePackParams object with the ability to set a timeout on a request.
func (*DeletePackParams) SetContext ¶
func (o *DeletePackParams) SetContext(ctx context.Context)
SetContext adds the context to the delete pack params
func (*DeletePackParams) SetDefaults ¶
func (o *DeletePackParams) SetDefaults()
SetDefaults hydrates default values in the delete pack params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePackParams) SetHTTPClient ¶
func (o *DeletePackParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete pack params
func (*DeletePackParams) SetPackID ¶
func (o *DeletePackParams) SetPackID(packID string)
SetPackID adds the packId to the delete pack params
func (*DeletePackParams) SetTimeout ¶
func (o *DeletePackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete pack params
func (*DeletePackParams) WithContext ¶
func (o *DeletePackParams) WithContext(ctx context.Context) *DeletePackParams
WithContext adds the context to the delete pack params
func (*DeletePackParams) WithDefaults ¶
func (o *DeletePackParams) WithDefaults() *DeletePackParams
WithDefaults hydrates default values in the delete pack params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePackParams) WithHTTPClient ¶
func (o *DeletePackParams) WithHTTPClient(client *http.Client) *DeletePackParams
WithHTTPClient adds the HTTPClient to the delete pack params
func (*DeletePackParams) WithPackID ¶
func (o *DeletePackParams) WithPackID(packID string) *DeletePackParams
WithPackID adds the packID to the delete pack params
func (*DeletePackParams) WithTimeout ¶
func (o *DeletePackParams) WithTimeout(timeout time.Duration) *DeletePackParams
WithTimeout adds the timeout to the delete pack params
func (*DeletePackParams) WriteToRequest ¶
func (o *DeletePackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePackReader ¶
type DeletePackReader struct {
// contains filtered or unexported fields
}
DeletePackReader is a Reader for the DeletePack structure.
func (*DeletePackReader) ReadResponse ¶
func (o *DeletePackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListBuildVersionsDefault ¶
type ListBuildVersionsDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
ListBuildVersionsDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewListBuildVersionsDefault ¶
func NewListBuildVersionsDefault(code int) *ListBuildVersionsDefault
NewListBuildVersionsDefault creates a ListBuildVersionsDefault with default headers values
func (*ListBuildVersionsDefault) Code ¶
func (o *ListBuildVersionsDefault) Code() int
Code gets the status code for the list build versions default response
func (*ListBuildVersionsDefault) Error ¶
func (o *ListBuildVersionsDefault) Error() string
func (*ListBuildVersionsDefault) GetPayload ¶
func (o *ListBuildVersionsDefault) GetPayload() *models.GeneralError
func (*ListBuildVersionsDefault) IsClientError ¶
func (o *ListBuildVersionsDefault) IsClientError() bool
IsClientError returns true when this list build versions default response has a 4xx status code
func (*ListBuildVersionsDefault) IsCode ¶
func (o *ListBuildVersionsDefault) IsCode(code int) bool
IsCode returns true when this list build versions default response a status code equal to that given
func (*ListBuildVersionsDefault) IsRedirect ¶
func (o *ListBuildVersionsDefault) IsRedirect() bool
IsRedirect returns true when this list build versions default response has a 3xx status code
func (*ListBuildVersionsDefault) IsServerError ¶
func (o *ListBuildVersionsDefault) IsServerError() bool
IsServerError returns true when this list build versions default response has a 5xx status code
func (*ListBuildVersionsDefault) IsSuccess ¶
func (o *ListBuildVersionsDefault) IsSuccess() bool
IsSuccess returns true when this list build versions default response has a 2xx status code
func (*ListBuildVersionsDefault) String ¶
func (o *ListBuildVersionsDefault) String() string
type ListBuildVersionsForbidden ¶
type ListBuildVersionsForbidden struct {
Payload *models.GeneralError
}
ListBuildVersionsForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewListBuildVersionsForbidden ¶
func NewListBuildVersionsForbidden() *ListBuildVersionsForbidden
NewListBuildVersionsForbidden creates a ListBuildVersionsForbidden with default headers values
func (*ListBuildVersionsForbidden) Code ¶
func (o *ListBuildVersionsForbidden) Code() int
Code gets the status code for the list build versions forbidden response
func (*ListBuildVersionsForbidden) Error ¶
func (o *ListBuildVersionsForbidden) Error() string
func (*ListBuildVersionsForbidden) GetPayload ¶
func (o *ListBuildVersionsForbidden) GetPayload() *models.GeneralError
func (*ListBuildVersionsForbidden) IsClientError ¶
func (o *ListBuildVersionsForbidden) IsClientError() bool
IsClientError returns true when this list build versions forbidden response has a 4xx status code
func (*ListBuildVersionsForbidden) IsCode ¶
func (o *ListBuildVersionsForbidden) IsCode(code int) bool
IsCode returns true when this list build versions forbidden response a status code equal to that given
func (*ListBuildVersionsForbidden) IsRedirect ¶
func (o *ListBuildVersionsForbidden) IsRedirect() bool
IsRedirect returns true when this list build versions forbidden response has a 3xx status code
func (*ListBuildVersionsForbidden) IsServerError ¶
func (o *ListBuildVersionsForbidden) IsServerError() bool
IsServerError returns true when this list build versions forbidden response has a 5xx status code
func (*ListBuildVersionsForbidden) IsSuccess ¶
func (o *ListBuildVersionsForbidden) IsSuccess() bool
IsSuccess returns true when this list build versions forbidden response has a 2xx status code
func (*ListBuildVersionsForbidden) String ¶
func (o *ListBuildVersionsForbidden) String() string
type ListBuildVersionsNotFound ¶
type ListBuildVersionsNotFound struct {
Payload *models.GeneralError
}
ListBuildVersionsNotFound describes a response with status code 404, with default header values.
Build or pack not found
func NewListBuildVersionsNotFound ¶
func NewListBuildVersionsNotFound() *ListBuildVersionsNotFound
NewListBuildVersionsNotFound creates a ListBuildVersionsNotFound with default headers values
func (*ListBuildVersionsNotFound) Code ¶
func (o *ListBuildVersionsNotFound) Code() int
Code gets the status code for the list build versions not found response
func (*ListBuildVersionsNotFound) Error ¶
func (o *ListBuildVersionsNotFound) Error() string
func (*ListBuildVersionsNotFound) GetPayload ¶
func (o *ListBuildVersionsNotFound) GetPayload() *models.GeneralError
func (*ListBuildVersionsNotFound) IsClientError ¶
func (o *ListBuildVersionsNotFound) IsClientError() bool
IsClientError returns true when this list build versions not found response has a 4xx status code
func (*ListBuildVersionsNotFound) IsCode ¶
func (o *ListBuildVersionsNotFound) IsCode(code int) bool
IsCode returns true when this list build versions not found response a status code equal to that given
func (*ListBuildVersionsNotFound) IsRedirect ¶
func (o *ListBuildVersionsNotFound) IsRedirect() bool
IsRedirect returns true when this list build versions not found response has a 3xx status code
func (*ListBuildVersionsNotFound) IsServerError ¶
func (o *ListBuildVersionsNotFound) IsServerError() bool
IsServerError returns true when this list build versions not found response has a 5xx status code
func (*ListBuildVersionsNotFound) IsSuccess ¶
func (o *ListBuildVersionsNotFound) IsSuccess() bool
IsSuccess returns true when this list build versions not found response has a 2xx status code
func (*ListBuildVersionsNotFound) String ¶
func (o *ListBuildVersionsNotFound) String() string
type ListBuildVersionsOK ¶
type ListBuildVersionsOK struct {
Payload *models.BuildVersions
}
ListBuildVersionsOK describes a response with status code 200, with default header values.
A collection of build versions
func NewListBuildVersionsOK ¶
func NewListBuildVersionsOK() *ListBuildVersionsOK
NewListBuildVersionsOK creates a ListBuildVersionsOK with default headers values
func (*ListBuildVersionsOK) Code ¶
func (o *ListBuildVersionsOK) Code() int
Code gets the status code for the list build versions o k response
func (*ListBuildVersionsOK) Error ¶
func (o *ListBuildVersionsOK) Error() string
func (*ListBuildVersionsOK) GetPayload ¶
func (o *ListBuildVersionsOK) GetPayload() *models.BuildVersions
func (*ListBuildVersionsOK) IsClientError ¶
func (o *ListBuildVersionsOK) IsClientError() bool
IsClientError returns true when this list build versions o k response has a 4xx status code
func (*ListBuildVersionsOK) IsCode ¶
func (o *ListBuildVersionsOK) IsCode(code int) bool
IsCode returns true when this list build versions o k response a status code equal to that given
func (*ListBuildVersionsOK) IsRedirect ¶
func (o *ListBuildVersionsOK) IsRedirect() bool
IsRedirect returns true when this list build versions o k response has a 3xx status code
func (*ListBuildVersionsOK) IsServerError ¶
func (o *ListBuildVersionsOK) IsServerError() bool
IsServerError returns true when this list build versions o k response has a 5xx status code
func (*ListBuildVersionsOK) IsSuccess ¶
func (o *ListBuildVersionsOK) IsSuccess() bool
IsSuccess returns true when this list build versions o k response has a 2xx status code
func (*ListBuildVersionsOK) String ¶
func (o *ListBuildVersionsOK) String() string
type ListBuildVersionsParams ¶
type ListBuildVersionsParams struct { /* BuildID. A build UUID or slug */ BuildID string /* PackID. A pack UUID or slug */ PackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListBuildVersionsParams contains all the parameters to send to the API endpoint
for the list build versions operation. Typically these are written to a http.Request.
func NewListBuildVersionsParams ¶
func NewListBuildVersionsParams() *ListBuildVersionsParams
NewListBuildVersionsParams creates a new ListBuildVersionsParams 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 NewListBuildVersionsParamsWithContext ¶
func NewListBuildVersionsParamsWithContext(ctx context.Context) *ListBuildVersionsParams
NewListBuildVersionsParamsWithContext creates a new ListBuildVersionsParams object with the ability to set a context for a request.
func NewListBuildVersionsParamsWithHTTPClient ¶
func NewListBuildVersionsParamsWithHTTPClient(client *http.Client) *ListBuildVersionsParams
NewListBuildVersionsParamsWithHTTPClient creates a new ListBuildVersionsParams object with the ability to set a custom HTTPClient for a request.
func NewListBuildVersionsParamsWithTimeout ¶
func NewListBuildVersionsParamsWithTimeout(timeout time.Duration) *ListBuildVersionsParams
NewListBuildVersionsParamsWithTimeout creates a new ListBuildVersionsParams object with the ability to set a timeout on a request.
func (*ListBuildVersionsParams) SetBuildID ¶
func (o *ListBuildVersionsParams) SetBuildID(buildID string)
SetBuildID adds the buildId to the list build versions params
func (*ListBuildVersionsParams) SetContext ¶
func (o *ListBuildVersionsParams) SetContext(ctx context.Context)
SetContext adds the context to the list build versions params
func (*ListBuildVersionsParams) SetDefaults ¶
func (o *ListBuildVersionsParams) SetDefaults()
SetDefaults hydrates default values in the list build versions params (not the query body).
All values with no default are reset to their zero value.
func (*ListBuildVersionsParams) SetHTTPClient ¶
func (o *ListBuildVersionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list build versions params
func (*ListBuildVersionsParams) SetPackID ¶
func (o *ListBuildVersionsParams) SetPackID(packID string)
SetPackID adds the packId to the list build versions params
func (*ListBuildVersionsParams) SetTimeout ¶
func (o *ListBuildVersionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list build versions params
func (*ListBuildVersionsParams) WithBuildID ¶
func (o *ListBuildVersionsParams) WithBuildID(buildID string) *ListBuildVersionsParams
WithBuildID adds the buildID to the list build versions params
func (*ListBuildVersionsParams) WithContext ¶
func (o *ListBuildVersionsParams) WithContext(ctx context.Context) *ListBuildVersionsParams
WithContext adds the context to the list build versions params
func (*ListBuildVersionsParams) WithDefaults ¶
func (o *ListBuildVersionsParams) WithDefaults() *ListBuildVersionsParams
WithDefaults hydrates default values in the list build versions params (not the query body).
All values with no default are reset to their zero value.
func (*ListBuildVersionsParams) WithHTTPClient ¶
func (o *ListBuildVersionsParams) WithHTTPClient(client *http.Client) *ListBuildVersionsParams
WithHTTPClient adds the HTTPClient to the list build versions params
func (*ListBuildVersionsParams) WithPackID ¶
func (o *ListBuildVersionsParams) WithPackID(packID string) *ListBuildVersionsParams
WithPackID adds the packID to the list build versions params
func (*ListBuildVersionsParams) WithTimeout ¶
func (o *ListBuildVersionsParams) WithTimeout(timeout time.Duration) *ListBuildVersionsParams
WithTimeout adds the timeout to the list build versions params
func (*ListBuildVersionsParams) WriteToRequest ¶
func (o *ListBuildVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListBuildVersionsReader ¶
type ListBuildVersionsReader struct {
// contains filtered or unexported fields
}
ListBuildVersionsReader is a Reader for the ListBuildVersions structure.
func (*ListBuildVersionsReader) ReadResponse ¶
func (o *ListBuildVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListBuildsDefault ¶
type ListBuildsDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
ListBuildsDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewListBuildsDefault ¶
func NewListBuildsDefault(code int) *ListBuildsDefault
NewListBuildsDefault creates a ListBuildsDefault with default headers values
func (*ListBuildsDefault) Code ¶
func (o *ListBuildsDefault) Code() int
Code gets the status code for the list builds default response
func (*ListBuildsDefault) Error ¶
func (o *ListBuildsDefault) Error() string
func (*ListBuildsDefault) GetPayload ¶
func (o *ListBuildsDefault) GetPayload() *models.GeneralError
func (*ListBuildsDefault) IsClientError ¶
func (o *ListBuildsDefault) IsClientError() bool
IsClientError returns true when this list builds default response has a 4xx status code
func (*ListBuildsDefault) IsCode ¶
func (o *ListBuildsDefault) IsCode(code int) bool
IsCode returns true when this list builds default response a status code equal to that given
func (*ListBuildsDefault) IsRedirect ¶
func (o *ListBuildsDefault) IsRedirect() bool
IsRedirect returns true when this list builds default response has a 3xx status code
func (*ListBuildsDefault) IsServerError ¶
func (o *ListBuildsDefault) IsServerError() bool
IsServerError returns true when this list builds default response has a 5xx status code
func (*ListBuildsDefault) IsSuccess ¶
func (o *ListBuildsDefault) IsSuccess() bool
IsSuccess returns true when this list builds default response has a 2xx status code
func (*ListBuildsDefault) String ¶
func (o *ListBuildsDefault) String() string
type ListBuildsForbidden ¶
type ListBuildsForbidden struct {
Payload *models.GeneralError
}
ListBuildsForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewListBuildsForbidden ¶
func NewListBuildsForbidden() *ListBuildsForbidden
NewListBuildsForbidden creates a ListBuildsForbidden with default headers values
func (*ListBuildsForbidden) Code ¶
func (o *ListBuildsForbidden) Code() int
Code gets the status code for the list builds forbidden response
func (*ListBuildsForbidden) Error ¶
func (o *ListBuildsForbidden) Error() string
func (*ListBuildsForbidden) GetPayload ¶
func (o *ListBuildsForbidden) GetPayload() *models.GeneralError
func (*ListBuildsForbidden) IsClientError ¶
func (o *ListBuildsForbidden) IsClientError() bool
IsClientError returns true when this list builds forbidden response has a 4xx status code
func (*ListBuildsForbidden) IsCode ¶
func (o *ListBuildsForbidden) IsCode(code int) bool
IsCode returns true when this list builds forbidden response a status code equal to that given
func (*ListBuildsForbidden) IsRedirect ¶
func (o *ListBuildsForbidden) IsRedirect() bool
IsRedirect returns true when this list builds forbidden response has a 3xx status code
func (*ListBuildsForbidden) IsServerError ¶
func (o *ListBuildsForbidden) IsServerError() bool
IsServerError returns true when this list builds forbidden response has a 5xx status code
func (*ListBuildsForbidden) IsSuccess ¶
func (o *ListBuildsForbidden) IsSuccess() bool
IsSuccess returns true when this list builds forbidden response has a 2xx status code
func (*ListBuildsForbidden) String ¶
func (o *ListBuildsForbidden) String() string
type ListBuildsNotFound ¶
type ListBuildsNotFound struct {
Payload *models.GeneralError
}
ListBuildsNotFound describes a response with status code 404, with default header values.
Pack not found
func NewListBuildsNotFound ¶
func NewListBuildsNotFound() *ListBuildsNotFound
NewListBuildsNotFound creates a ListBuildsNotFound with default headers values
func (*ListBuildsNotFound) Code ¶
func (o *ListBuildsNotFound) Code() int
Code gets the status code for the list builds not found response
func (*ListBuildsNotFound) Error ¶
func (o *ListBuildsNotFound) Error() string
func (*ListBuildsNotFound) GetPayload ¶
func (o *ListBuildsNotFound) GetPayload() *models.GeneralError
func (*ListBuildsNotFound) IsClientError ¶
func (o *ListBuildsNotFound) IsClientError() bool
IsClientError returns true when this list builds not found response has a 4xx status code
func (*ListBuildsNotFound) IsCode ¶
func (o *ListBuildsNotFound) IsCode(code int) bool
IsCode returns true when this list builds not found response a status code equal to that given
func (*ListBuildsNotFound) IsRedirect ¶
func (o *ListBuildsNotFound) IsRedirect() bool
IsRedirect returns true when this list builds not found response has a 3xx status code
func (*ListBuildsNotFound) IsServerError ¶
func (o *ListBuildsNotFound) IsServerError() bool
IsServerError returns true when this list builds not found response has a 5xx status code
func (*ListBuildsNotFound) IsSuccess ¶
func (o *ListBuildsNotFound) IsSuccess() bool
IsSuccess returns true when this list builds not found response has a 2xx status code
func (*ListBuildsNotFound) String ¶
func (o *ListBuildsNotFound) String() string
type ListBuildsOK ¶
ListBuildsOK describes a response with status code 200, with default header values.
A collection of builds
func NewListBuildsOK ¶
func NewListBuildsOK() *ListBuildsOK
NewListBuildsOK creates a ListBuildsOK with default headers values
func (*ListBuildsOK) Code ¶
func (o *ListBuildsOK) Code() int
Code gets the status code for the list builds o k response
func (*ListBuildsOK) Error ¶
func (o *ListBuildsOK) Error() string
func (*ListBuildsOK) GetPayload ¶
func (o *ListBuildsOK) GetPayload() *models.Builds
func (*ListBuildsOK) IsClientError ¶
func (o *ListBuildsOK) IsClientError() bool
IsClientError returns true when this list builds o k response has a 4xx status code
func (*ListBuildsOK) IsCode ¶
func (o *ListBuildsOK) IsCode(code int) bool
IsCode returns true when this list builds o k response a status code equal to that given
func (*ListBuildsOK) IsRedirect ¶
func (o *ListBuildsOK) IsRedirect() bool
IsRedirect returns true when this list builds o k response has a 3xx status code
func (*ListBuildsOK) IsServerError ¶
func (o *ListBuildsOK) IsServerError() bool
IsServerError returns true when this list builds o k response has a 5xx status code
func (*ListBuildsOK) IsSuccess ¶
func (o *ListBuildsOK) IsSuccess() bool
IsSuccess returns true when this list builds o k response has a 2xx status code
func (*ListBuildsOK) String ¶
func (o *ListBuildsOK) String() string
type ListBuildsParams ¶
type ListBuildsParams struct { /* PackID. A pack UUID or slug */ PackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListBuildsParams contains all the parameters to send to the API endpoint
for the list builds operation. Typically these are written to a http.Request.
func NewListBuildsParams ¶
func NewListBuildsParams() *ListBuildsParams
NewListBuildsParams creates a new ListBuildsParams 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 NewListBuildsParamsWithContext ¶
func NewListBuildsParamsWithContext(ctx context.Context) *ListBuildsParams
NewListBuildsParamsWithContext creates a new ListBuildsParams object with the ability to set a context for a request.
func NewListBuildsParamsWithHTTPClient ¶
func NewListBuildsParamsWithHTTPClient(client *http.Client) *ListBuildsParams
NewListBuildsParamsWithHTTPClient creates a new ListBuildsParams object with the ability to set a custom HTTPClient for a request.
func NewListBuildsParamsWithTimeout ¶
func NewListBuildsParamsWithTimeout(timeout time.Duration) *ListBuildsParams
NewListBuildsParamsWithTimeout creates a new ListBuildsParams object with the ability to set a timeout on a request.
func (*ListBuildsParams) SetContext ¶
func (o *ListBuildsParams) SetContext(ctx context.Context)
SetContext adds the context to the list builds params
func (*ListBuildsParams) SetDefaults ¶
func (o *ListBuildsParams) SetDefaults()
SetDefaults hydrates default values in the list builds params (not the query body).
All values with no default are reset to their zero value.
func (*ListBuildsParams) SetHTTPClient ¶
func (o *ListBuildsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list builds params
func (*ListBuildsParams) SetPackID ¶
func (o *ListBuildsParams) SetPackID(packID string)
SetPackID adds the packId to the list builds params
func (*ListBuildsParams) SetTimeout ¶
func (o *ListBuildsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list builds params
func (*ListBuildsParams) WithContext ¶
func (o *ListBuildsParams) WithContext(ctx context.Context) *ListBuildsParams
WithContext adds the context to the list builds params
func (*ListBuildsParams) WithDefaults ¶
func (o *ListBuildsParams) WithDefaults() *ListBuildsParams
WithDefaults hydrates default values in the list builds params (not the query body).
All values with no default are reset to their zero value.
func (*ListBuildsParams) WithHTTPClient ¶
func (o *ListBuildsParams) WithHTTPClient(client *http.Client) *ListBuildsParams
WithHTTPClient adds the HTTPClient to the list builds params
func (*ListBuildsParams) WithPackID ¶
func (o *ListBuildsParams) WithPackID(packID string) *ListBuildsParams
WithPackID adds the packID to the list builds params
func (*ListBuildsParams) WithTimeout ¶
func (o *ListBuildsParams) WithTimeout(timeout time.Duration) *ListBuildsParams
WithTimeout adds the timeout to the list builds params
func (*ListBuildsParams) WriteToRequest ¶
func (o *ListBuildsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListBuildsReader ¶
type ListBuildsReader struct {
// contains filtered or unexported fields
}
ListBuildsReader is a Reader for the ListBuilds structure.
func (*ListBuildsReader) ReadResponse ¶
func (o *ListBuildsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPackTeamsDefault ¶
type ListPackTeamsDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
ListPackTeamsDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewListPackTeamsDefault ¶
func NewListPackTeamsDefault(code int) *ListPackTeamsDefault
NewListPackTeamsDefault creates a ListPackTeamsDefault with default headers values
func (*ListPackTeamsDefault) Code ¶
func (o *ListPackTeamsDefault) Code() int
Code gets the status code for the list pack teams default response
func (*ListPackTeamsDefault) Error ¶
func (o *ListPackTeamsDefault) Error() string
func (*ListPackTeamsDefault) GetPayload ¶
func (o *ListPackTeamsDefault) GetPayload() *models.GeneralError
func (*ListPackTeamsDefault) IsClientError ¶
func (o *ListPackTeamsDefault) IsClientError() bool
IsClientError returns true when this list pack teams default response has a 4xx status code
func (*ListPackTeamsDefault) IsCode ¶
func (o *ListPackTeamsDefault) IsCode(code int) bool
IsCode returns true when this list pack teams default response a status code equal to that given
func (*ListPackTeamsDefault) IsRedirect ¶
func (o *ListPackTeamsDefault) IsRedirect() bool
IsRedirect returns true when this list pack teams default response has a 3xx status code
func (*ListPackTeamsDefault) IsServerError ¶
func (o *ListPackTeamsDefault) IsServerError() bool
IsServerError returns true when this list pack teams default response has a 5xx status code
func (*ListPackTeamsDefault) IsSuccess ¶
func (o *ListPackTeamsDefault) IsSuccess() bool
IsSuccess returns true when this list pack teams default response has a 2xx status code
func (*ListPackTeamsDefault) String ¶
func (o *ListPackTeamsDefault) String() string
type ListPackTeamsForbidden ¶
type ListPackTeamsForbidden struct {
Payload *models.GeneralError
}
ListPackTeamsForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewListPackTeamsForbidden ¶
func NewListPackTeamsForbidden() *ListPackTeamsForbidden
NewListPackTeamsForbidden creates a ListPackTeamsForbidden with default headers values
func (*ListPackTeamsForbidden) Code ¶
func (o *ListPackTeamsForbidden) Code() int
Code gets the status code for the list pack teams forbidden response
func (*ListPackTeamsForbidden) Error ¶
func (o *ListPackTeamsForbidden) Error() string
func (*ListPackTeamsForbidden) GetPayload ¶
func (o *ListPackTeamsForbidden) GetPayload() *models.GeneralError
func (*ListPackTeamsForbidden) IsClientError ¶
func (o *ListPackTeamsForbidden) IsClientError() bool
IsClientError returns true when this list pack teams forbidden response has a 4xx status code
func (*ListPackTeamsForbidden) IsCode ¶
func (o *ListPackTeamsForbidden) IsCode(code int) bool
IsCode returns true when this list pack teams forbidden response a status code equal to that given
func (*ListPackTeamsForbidden) IsRedirect ¶
func (o *ListPackTeamsForbidden) IsRedirect() bool
IsRedirect returns true when this list pack teams forbidden response has a 3xx status code
func (*ListPackTeamsForbidden) IsServerError ¶
func (o *ListPackTeamsForbidden) IsServerError() bool
IsServerError returns true when this list pack teams forbidden response has a 5xx status code
func (*ListPackTeamsForbidden) IsSuccess ¶
func (o *ListPackTeamsForbidden) IsSuccess() bool
IsSuccess returns true when this list pack teams forbidden response has a 2xx status code
func (*ListPackTeamsForbidden) String ¶
func (o *ListPackTeamsForbidden) String() string
type ListPackTeamsNotFound ¶
type ListPackTeamsNotFound struct {
Payload *models.GeneralError
}
ListPackTeamsNotFound describes a response with status code 404, with default header values.
Pack not found
func NewListPackTeamsNotFound ¶
func NewListPackTeamsNotFound() *ListPackTeamsNotFound
NewListPackTeamsNotFound creates a ListPackTeamsNotFound with default headers values
func (*ListPackTeamsNotFound) Code ¶
func (o *ListPackTeamsNotFound) Code() int
Code gets the status code for the list pack teams not found response
func (*ListPackTeamsNotFound) Error ¶
func (o *ListPackTeamsNotFound) Error() string
func (*ListPackTeamsNotFound) GetPayload ¶
func (o *ListPackTeamsNotFound) GetPayload() *models.GeneralError
func (*ListPackTeamsNotFound) IsClientError ¶
func (o *ListPackTeamsNotFound) IsClientError() bool
IsClientError returns true when this list pack teams not found response has a 4xx status code
func (*ListPackTeamsNotFound) IsCode ¶
func (o *ListPackTeamsNotFound) IsCode(code int) bool
IsCode returns true when this list pack teams not found response a status code equal to that given
func (*ListPackTeamsNotFound) IsRedirect ¶
func (o *ListPackTeamsNotFound) IsRedirect() bool
IsRedirect returns true when this list pack teams not found response has a 3xx status code
func (*ListPackTeamsNotFound) IsServerError ¶
func (o *ListPackTeamsNotFound) IsServerError() bool
IsServerError returns true when this list pack teams not found response has a 5xx status code
func (*ListPackTeamsNotFound) IsSuccess ¶
func (o *ListPackTeamsNotFound) IsSuccess() bool
IsSuccess returns true when this list pack teams not found response has a 2xx status code
func (*ListPackTeamsNotFound) String ¶
func (o *ListPackTeamsNotFound) String() string
type ListPackTeamsOK ¶
ListPackTeamsOK describes a response with status code 200, with default header values.
A collection of pack teams
func NewListPackTeamsOK ¶
func NewListPackTeamsOK() *ListPackTeamsOK
NewListPackTeamsOK creates a ListPackTeamsOK with default headers values
func (*ListPackTeamsOK) Code ¶
func (o *ListPackTeamsOK) Code() int
Code gets the status code for the list pack teams o k response
func (*ListPackTeamsOK) Error ¶
func (o *ListPackTeamsOK) Error() string
func (*ListPackTeamsOK) GetPayload ¶
func (o *ListPackTeamsOK) GetPayload() *models.PackTeams
func (*ListPackTeamsOK) IsClientError ¶
func (o *ListPackTeamsOK) IsClientError() bool
IsClientError returns true when this list pack teams o k response has a 4xx status code
func (*ListPackTeamsOK) IsCode ¶
func (o *ListPackTeamsOK) IsCode(code int) bool
IsCode returns true when this list pack teams o k response a status code equal to that given
func (*ListPackTeamsOK) IsRedirect ¶
func (o *ListPackTeamsOK) IsRedirect() bool
IsRedirect returns true when this list pack teams o k response has a 3xx status code
func (*ListPackTeamsOK) IsServerError ¶
func (o *ListPackTeamsOK) IsServerError() bool
IsServerError returns true when this list pack teams o k response has a 5xx status code
func (*ListPackTeamsOK) IsSuccess ¶
func (o *ListPackTeamsOK) IsSuccess() bool
IsSuccess returns true when this list pack teams o k response has a 2xx status code
func (*ListPackTeamsOK) String ¶
func (o *ListPackTeamsOK) String() string
type ListPackTeamsParams ¶
type ListPackTeamsParams struct { /* PackID. A pack UUID or slug */ PackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPackTeamsParams contains all the parameters to send to the API endpoint
for the list pack teams operation. Typically these are written to a http.Request.
func NewListPackTeamsParams ¶
func NewListPackTeamsParams() *ListPackTeamsParams
NewListPackTeamsParams creates a new ListPackTeamsParams 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 NewListPackTeamsParamsWithContext ¶
func NewListPackTeamsParamsWithContext(ctx context.Context) *ListPackTeamsParams
NewListPackTeamsParamsWithContext creates a new ListPackTeamsParams object with the ability to set a context for a request.
func NewListPackTeamsParamsWithHTTPClient ¶
func NewListPackTeamsParamsWithHTTPClient(client *http.Client) *ListPackTeamsParams
NewListPackTeamsParamsWithHTTPClient creates a new ListPackTeamsParams object with the ability to set a custom HTTPClient for a request.
func NewListPackTeamsParamsWithTimeout ¶
func NewListPackTeamsParamsWithTimeout(timeout time.Duration) *ListPackTeamsParams
NewListPackTeamsParamsWithTimeout creates a new ListPackTeamsParams object with the ability to set a timeout on a request.
func (*ListPackTeamsParams) SetContext ¶
func (o *ListPackTeamsParams) SetContext(ctx context.Context)
SetContext adds the context to the list pack teams params
func (*ListPackTeamsParams) SetDefaults ¶
func (o *ListPackTeamsParams) SetDefaults()
SetDefaults hydrates default values in the list pack teams params (not the query body).
All values with no default are reset to their zero value.
func (*ListPackTeamsParams) SetHTTPClient ¶
func (o *ListPackTeamsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list pack teams params
func (*ListPackTeamsParams) SetPackID ¶
func (o *ListPackTeamsParams) SetPackID(packID string)
SetPackID adds the packId to the list pack teams params
func (*ListPackTeamsParams) SetTimeout ¶
func (o *ListPackTeamsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list pack teams params
func (*ListPackTeamsParams) WithContext ¶
func (o *ListPackTeamsParams) WithContext(ctx context.Context) *ListPackTeamsParams
WithContext adds the context to the list pack teams params
func (*ListPackTeamsParams) WithDefaults ¶
func (o *ListPackTeamsParams) WithDefaults() *ListPackTeamsParams
WithDefaults hydrates default values in the list pack teams params (not the query body).
All values with no default are reset to their zero value.
func (*ListPackTeamsParams) WithHTTPClient ¶
func (o *ListPackTeamsParams) WithHTTPClient(client *http.Client) *ListPackTeamsParams
WithHTTPClient adds the HTTPClient to the list pack teams params
func (*ListPackTeamsParams) WithPackID ¶
func (o *ListPackTeamsParams) WithPackID(packID string) *ListPackTeamsParams
WithPackID adds the packID to the list pack teams params
func (*ListPackTeamsParams) WithTimeout ¶
func (o *ListPackTeamsParams) WithTimeout(timeout time.Duration) *ListPackTeamsParams
WithTimeout adds the timeout to the list pack teams params
func (*ListPackTeamsParams) WriteToRequest ¶
func (o *ListPackTeamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPackTeamsReader ¶
type ListPackTeamsReader struct {
// contains filtered or unexported fields
}
ListPackTeamsReader is a Reader for the ListPackTeams structure.
func (*ListPackTeamsReader) ReadResponse ¶
func (o *ListPackTeamsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPackUsersDefault ¶
type ListPackUsersDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
ListPackUsersDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewListPackUsersDefault ¶
func NewListPackUsersDefault(code int) *ListPackUsersDefault
NewListPackUsersDefault creates a ListPackUsersDefault with default headers values
func (*ListPackUsersDefault) Code ¶
func (o *ListPackUsersDefault) Code() int
Code gets the status code for the list pack users default response
func (*ListPackUsersDefault) Error ¶
func (o *ListPackUsersDefault) Error() string
func (*ListPackUsersDefault) GetPayload ¶
func (o *ListPackUsersDefault) GetPayload() *models.GeneralError
func (*ListPackUsersDefault) IsClientError ¶
func (o *ListPackUsersDefault) IsClientError() bool
IsClientError returns true when this list pack users default response has a 4xx status code
func (*ListPackUsersDefault) IsCode ¶
func (o *ListPackUsersDefault) IsCode(code int) bool
IsCode returns true when this list pack users default response a status code equal to that given
func (*ListPackUsersDefault) IsRedirect ¶
func (o *ListPackUsersDefault) IsRedirect() bool
IsRedirect returns true when this list pack users default response has a 3xx status code
func (*ListPackUsersDefault) IsServerError ¶
func (o *ListPackUsersDefault) IsServerError() bool
IsServerError returns true when this list pack users default response has a 5xx status code
func (*ListPackUsersDefault) IsSuccess ¶
func (o *ListPackUsersDefault) IsSuccess() bool
IsSuccess returns true when this list pack users default response has a 2xx status code
func (*ListPackUsersDefault) String ¶
func (o *ListPackUsersDefault) String() string
type ListPackUsersForbidden ¶
type ListPackUsersForbidden struct {
Payload *models.GeneralError
}
ListPackUsersForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewListPackUsersForbidden ¶
func NewListPackUsersForbidden() *ListPackUsersForbidden
NewListPackUsersForbidden creates a ListPackUsersForbidden with default headers values
func (*ListPackUsersForbidden) Code ¶
func (o *ListPackUsersForbidden) Code() int
Code gets the status code for the list pack users forbidden response
func (*ListPackUsersForbidden) Error ¶
func (o *ListPackUsersForbidden) Error() string
func (*ListPackUsersForbidden) GetPayload ¶
func (o *ListPackUsersForbidden) GetPayload() *models.GeneralError
func (*ListPackUsersForbidden) IsClientError ¶
func (o *ListPackUsersForbidden) IsClientError() bool
IsClientError returns true when this list pack users forbidden response has a 4xx status code
func (*ListPackUsersForbidden) IsCode ¶
func (o *ListPackUsersForbidden) IsCode(code int) bool
IsCode returns true when this list pack users forbidden response a status code equal to that given
func (*ListPackUsersForbidden) IsRedirect ¶
func (o *ListPackUsersForbidden) IsRedirect() bool
IsRedirect returns true when this list pack users forbidden response has a 3xx status code
func (*ListPackUsersForbidden) IsServerError ¶
func (o *ListPackUsersForbidden) IsServerError() bool
IsServerError returns true when this list pack users forbidden response has a 5xx status code
func (*ListPackUsersForbidden) IsSuccess ¶
func (o *ListPackUsersForbidden) IsSuccess() bool
IsSuccess returns true when this list pack users forbidden response has a 2xx status code
func (*ListPackUsersForbidden) String ¶
func (o *ListPackUsersForbidden) String() string
type ListPackUsersNotFound ¶
type ListPackUsersNotFound struct {
Payload *models.GeneralError
}
ListPackUsersNotFound describes a response with status code 404, with default header values.
Pack not found
func NewListPackUsersNotFound ¶
func NewListPackUsersNotFound() *ListPackUsersNotFound
NewListPackUsersNotFound creates a ListPackUsersNotFound with default headers values
func (*ListPackUsersNotFound) Code ¶
func (o *ListPackUsersNotFound) Code() int
Code gets the status code for the list pack users not found response
func (*ListPackUsersNotFound) Error ¶
func (o *ListPackUsersNotFound) Error() string
func (*ListPackUsersNotFound) GetPayload ¶
func (o *ListPackUsersNotFound) GetPayload() *models.GeneralError
func (*ListPackUsersNotFound) IsClientError ¶
func (o *ListPackUsersNotFound) IsClientError() bool
IsClientError returns true when this list pack users not found response has a 4xx status code
func (*ListPackUsersNotFound) IsCode ¶
func (o *ListPackUsersNotFound) IsCode(code int) bool
IsCode returns true when this list pack users not found response a status code equal to that given
func (*ListPackUsersNotFound) IsRedirect ¶
func (o *ListPackUsersNotFound) IsRedirect() bool
IsRedirect returns true when this list pack users not found response has a 3xx status code
func (*ListPackUsersNotFound) IsServerError ¶
func (o *ListPackUsersNotFound) IsServerError() bool
IsServerError returns true when this list pack users not found response has a 5xx status code
func (*ListPackUsersNotFound) IsSuccess ¶
func (o *ListPackUsersNotFound) IsSuccess() bool
IsSuccess returns true when this list pack users not found response has a 2xx status code
func (*ListPackUsersNotFound) String ¶
func (o *ListPackUsersNotFound) String() string
type ListPackUsersOK ¶
ListPackUsersOK describes a response with status code 200, with default header values.
A collection of pack users
func NewListPackUsersOK ¶
func NewListPackUsersOK() *ListPackUsersOK
NewListPackUsersOK creates a ListPackUsersOK with default headers values
func (*ListPackUsersOK) Code ¶
func (o *ListPackUsersOK) Code() int
Code gets the status code for the list pack users o k response
func (*ListPackUsersOK) Error ¶
func (o *ListPackUsersOK) Error() string
func (*ListPackUsersOK) GetPayload ¶
func (o *ListPackUsersOK) GetPayload() *models.PackUsers
func (*ListPackUsersOK) IsClientError ¶
func (o *ListPackUsersOK) IsClientError() bool
IsClientError returns true when this list pack users o k response has a 4xx status code
func (*ListPackUsersOK) IsCode ¶
func (o *ListPackUsersOK) IsCode(code int) bool
IsCode returns true when this list pack users o k response a status code equal to that given
func (*ListPackUsersOK) IsRedirect ¶
func (o *ListPackUsersOK) IsRedirect() bool
IsRedirect returns true when this list pack users o k response has a 3xx status code
func (*ListPackUsersOK) IsServerError ¶
func (o *ListPackUsersOK) IsServerError() bool
IsServerError returns true when this list pack users o k response has a 5xx status code
func (*ListPackUsersOK) IsSuccess ¶
func (o *ListPackUsersOK) IsSuccess() bool
IsSuccess returns true when this list pack users o k response has a 2xx status code
func (*ListPackUsersOK) String ¶
func (o *ListPackUsersOK) String() string
type ListPackUsersParams ¶
type ListPackUsersParams struct { /* PackID. A pack UUID or slug */ PackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPackUsersParams contains all the parameters to send to the API endpoint
for the list pack users operation. Typically these are written to a http.Request.
func NewListPackUsersParams ¶
func NewListPackUsersParams() *ListPackUsersParams
NewListPackUsersParams creates a new ListPackUsersParams 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 NewListPackUsersParamsWithContext ¶
func NewListPackUsersParamsWithContext(ctx context.Context) *ListPackUsersParams
NewListPackUsersParamsWithContext creates a new ListPackUsersParams object with the ability to set a context for a request.
func NewListPackUsersParamsWithHTTPClient ¶
func NewListPackUsersParamsWithHTTPClient(client *http.Client) *ListPackUsersParams
NewListPackUsersParamsWithHTTPClient creates a new ListPackUsersParams object with the ability to set a custom HTTPClient for a request.
func NewListPackUsersParamsWithTimeout ¶
func NewListPackUsersParamsWithTimeout(timeout time.Duration) *ListPackUsersParams
NewListPackUsersParamsWithTimeout creates a new ListPackUsersParams object with the ability to set a timeout on a request.
func (*ListPackUsersParams) SetContext ¶
func (o *ListPackUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the list pack users params
func (*ListPackUsersParams) SetDefaults ¶
func (o *ListPackUsersParams) SetDefaults()
SetDefaults hydrates default values in the list pack users params (not the query body).
All values with no default are reset to their zero value.
func (*ListPackUsersParams) SetHTTPClient ¶
func (o *ListPackUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list pack users params
func (*ListPackUsersParams) SetPackID ¶
func (o *ListPackUsersParams) SetPackID(packID string)
SetPackID adds the packId to the list pack users params
func (*ListPackUsersParams) SetTimeout ¶
func (o *ListPackUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list pack users params
func (*ListPackUsersParams) WithContext ¶
func (o *ListPackUsersParams) WithContext(ctx context.Context) *ListPackUsersParams
WithContext adds the context to the list pack users params
func (*ListPackUsersParams) WithDefaults ¶
func (o *ListPackUsersParams) WithDefaults() *ListPackUsersParams
WithDefaults hydrates default values in the list pack users params (not the query body).
All values with no default are reset to their zero value.
func (*ListPackUsersParams) WithHTTPClient ¶
func (o *ListPackUsersParams) WithHTTPClient(client *http.Client) *ListPackUsersParams
WithHTTPClient adds the HTTPClient to the list pack users params
func (*ListPackUsersParams) WithPackID ¶
func (o *ListPackUsersParams) WithPackID(packID string) *ListPackUsersParams
WithPackID adds the packID to the list pack users params
func (*ListPackUsersParams) WithTimeout ¶
func (o *ListPackUsersParams) WithTimeout(timeout time.Duration) *ListPackUsersParams
WithTimeout adds the timeout to the list pack users params
func (*ListPackUsersParams) WriteToRequest ¶
func (o *ListPackUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPackUsersReader ¶
type ListPackUsersReader struct {
// contains filtered or unexported fields
}
ListPackUsersReader is a Reader for the ListPackUsers structure.
func (*ListPackUsersReader) ReadResponse ¶
func (o *ListPackUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPacksDefault ¶
type ListPacksDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
ListPacksDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewListPacksDefault ¶
func NewListPacksDefault(code int) *ListPacksDefault
NewListPacksDefault creates a ListPacksDefault with default headers values
func (*ListPacksDefault) Code ¶
func (o *ListPacksDefault) Code() int
Code gets the status code for the list packs default response
func (*ListPacksDefault) Error ¶
func (o *ListPacksDefault) Error() string
func (*ListPacksDefault) GetPayload ¶
func (o *ListPacksDefault) GetPayload() *models.GeneralError
func (*ListPacksDefault) IsClientError ¶
func (o *ListPacksDefault) IsClientError() bool
IsClientError returns true when this list packs default response has a 4xx status code
func (*ListPacksDefault) IsCode ¶
func (o *ListPacksDefault) IsCode(code int) bool
IsCode returns true when this list packs default response a status code equal to that given
func (*ListPacksDefault) IsRedirect ¶
func (o *ListPacksDefault) IsRedirect() bool
IsRedirect returns true when this list packs default response has a 3xx status code
func (*ListPacksDefault) IsServerError ¶
func (o *ListPacksDefault) IsServerError() bool
IsServerError returns true when this list packs default response has a 5xx status code
func (*ListPacksDefault) IsSuccess ¶
func (o *ListPacksDefault) IsSuccess() bool
IsSuccess returns true when this list packs default response has a 2xx status code
func (*ListPacksDefault) String ¶
func (o *ListPacksDefault) String() string
type ListPacksForbidden ¶
type ListPacksForbidden struct {
Payload *models.GeneralError
}
ListPacksForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewListPacksForbidden ¶
func NewListPacksForbidden() *ListPacksForbidden
NewListPacksForbidden creates a ListPacksForbidden with default headers values
func (*ListPacksForbidden) Code ¶
func (o *ListPacksForbidden) Code() int
Code gets the status code for the list packs forbidden response
func (*ListPacksForbidden) Error ¶
func (o *ListPacksForbidden) Error() string
func (*ListPacksForbidden) GetPayload ¶
func (o *ListPacksForbidden) GetPayload() *models.GeneralError
func (*ListPacksForbidden) IsClientError ¶
func (o *ListPacksForbidden) IsClientError() bool
IsClientError returns true when this list packs forbidden response has a 4xx status code
func (*ListPacksForbidden) IsCode ¶
func (o *ListPacksForbidden) IsCode(code int) bool
IsCode returns true when this list packs forbidden response a status code equal to that given
func (*ListPacksForbidden) IsRedirect ¶
func (o *ListPacksForbidden) IsRedirect() bool
IsRedirect returns true when this list packs forbidden response has a 3xx status code
func (*ListPacksForbidden) IsServerError ¶
func (o *ListPacksForbidden) IsServerError() bool
IsServerError returns true when this list packs forbidden response has a 5xx status code
func (*ListPacksForbidden) IsSuccess ¶
func (o *ListPacksForbidden) IsSuccess() bool
IsSuccess returns true when this list packs forbidden response has a 2xx status code
func (*ListPacksForbidden) String ¶
func (o *ListPacksForbidden) String() string
type ListPacksOK ¶
ListPacksOK describes a response with status code 200, with default header values.
A collection of packs
func NewListPacksOK ¶
func NewListPacksOK() *ListPacksOK
NewListPacksOK creates a ListPacksOK with default headers values
func (*ListPacksOK) Code ¶
func (o *ListPacksOK) Code() int
Code gets the status code for the list packs o k response
func (*ListPacksOK) Error ¶
func (o *ListPacksOK) Error() string
func (*ListPacksOK) GetPayload ¶
func (o *ListPacksOK) GetPayload() *models.Packs
func (*ListPacksOK) IsClientError ¶
func (o *ListPacksOK) IsClientError() bool
IsClientError returns true when this list packs o k response has a 4xx status code
func (*ListPacksOK) IsCode ¶
func (o *ListPacksOK) IsCode(code int) bool
IsCode returns true when this list packs o k response a status code equal to that given
func (*ListPacksOK) IsRedirect ¶
func (o *ListPacksOK) IsRedirect() bool
IsRedirect returns true when this list packs o k response has a 3xx status code
func (*ListPacksOK) IsServerError ¶
func (o *ListPacksOK) IsServerError() bool
IsServerError returns true when this list packs o k response has a 5xx status code
func (*ListPacksOK) IsSuccess ¶
func (o *ListPacksOK) IsSuccess() bool
IsSuccess returns true when this list packs o k response has a 2xx status code
func (*ListPacksOK) String ¶
func (o *ListPacksOK) String() string
type ListPacksParams ¶
type ListPacksParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPacksParams contains all the parameters to send to the API endpoint
for the list packs operation. Typically these are written to a http.Request.
func NewListPacksParams ¶
func NewListPacksParams() *ListPacksParams
NewListPacksParams creates a new ListPacksParams 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 NewListPacksParamsWithContext ¶
func NewListPacksParamsWithContext(ctx context.Context) *ListPacksParams
NewListPacksParamsWithContext creates a new ListPacksParams object with the ability to set a context for a request.
func NewListPacksParamsWithHTTPClient ¶
func NewListPacksParamsWithHTTPClient(client *http.Client) *ListPacksParams
NewListPacksParamsWithHTTPClient creates a new ListPacksParams object with the ability to set a custom HTTPClient for a request.
func NewListPacksParamsWithTimeout ¶
func NewListPacksParamsWithTimeout(timeout time.Duration) *ListPacksParams
NewListPacksParamsWithTimeout creates a new ListPacksParams object with the ability to set a timeout on a request.
func (*ListPacksParams) SetContext ¶
func (o *ListPacksParams) SetContext(ctx context.Context)
SetContext adds the context to the list packs params
func (*ListPacksParams) SetDefaults ¶
func (o *ListPacksParams) SetDefaults()
SetDefaults hydrates default values in the list packs params (not the query body).
All values with no default are reset to their zero value.
func (*ListPacksParams) SetHTTPClient ¶
func (o *ListPacksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list packs params
func (*ListPacksParams) SetTimeout ¶
func (o *ListPacksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list packs params
func (*ListPacksParams) WithContext ¶
func (o *ListPacksParams) WithContext(ctx context.Context) *ListPacksParams
WithContext adds the context to the list packs params
func (*ListPacksParams) WithDefaults ¶
func (o *ListPacksParams) WithDefaults() *ListPacksParams
WithDefaults hydrates default values in the list packs params (not the query body).
All values with no default are reset to their zero value.
func (*ListPacksParams) WithHTTPClient ¶
func (o *ListPacksParams) WithHTTPClient(client *http.Client) *ListPacksParams
WithHTTPClient adds the HTTPClient to the list packs params
func (*ListPacksParams) WithTimeout ¶
func (o *ListPacksParams) WithTimeout(timeout time.Duration) *ListPacksParams
WithTimeout adds the timeout to the list packs params
func (*ListPacksParams) WriteToRequest ¶
func (o *ListPacksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPacksReader ¶
type ListPacksReader struct {
// contains filtered or unexported fields
}
ListPacksReader is a Reader for the ListPacks structure.
func (*ListPacksReader) ReadResponse ¶
func (o *ListPacksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PermitPackTeamDefault ¶
type PermitPackTeamDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
PermitPackTeamDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewPermitPackTeamDefault ¶
func NewPermitPackTeamDefault(code int) *PermitPackTeamDefault
NewPermitPackTeamDefault creates a PermitPackTeamDefault with default headers values
func (*PermitPackTeamDefault) Code ¶
func (o *PermitPackTeamDefault) Code() int
Code gets the status code for the permit pack team default response
func (*PermitPackTeamDefault) Error ¶
func (o *PermitPackTeamDefault) Error() string
func (*PermitPackTeamDefault) GetPayload ¶
func (o *PermitPackTeamDefault) GetPayload() *models.GeneralError
func (*PermitPackTeamDefault) IsClientError ¶
func (o *PermitPackTeamDefault) IsClientError() bool
IsClientError returns true when this permit pack team default response has a 4xx status code
func (*PermitPackTeamDefault) IsCode ¶
func (o *PermitPackTeamDefault) IsCode(code int) bool
IsCode returns true when this permit pack team default response a status code equal to that given
func (*PermitPackTeamDefault) IsRedirect ¶
func (o *PermitPackTeamDefault) IsRedirect() bool
IsRedirect returns true when this permit pack team default response has a 3xx status code
func (*PermitPackTeamDefault) IsServerError ¶
func (o *PermitPackTeamDefault) IsServerError() bool
IsServerError returns true when this permit pack team default response has a 5xx status code
func (*PermitPackTeamDefault) IsSuccess ¶
func (o *PermitPackTeamDefault) IsSuccess() bool
IsSuccess returns true when this permit pack team default response has a 2xx status code
func (*PermitPackTeamDefault) String ¶
func (o *PermitPackTeamDefault) String() string
type PermitPackTeamForbidden ¶
type PermitPackTeamForbidden struct {
Payload *models.GeneralError
}
PermitPackTeamForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewPermitPackTeamForbidden ¶
func NewPermitPackTeamForbidden() *PermitPackTeamForbidden
NewPermitPackTeamForbidden creates a PermitPackTeamForbidden with default headers values
func (*PermitPackTeamForbidden) Code ¶
func (o *PermitPackTeamForbidden) Code() int
Code gets the status code for the permit pack team forbidden response
func (*PermitPackTeamForbidden) Error ¶
func (o *PermitPackTeamForbidden) Error() string
func (*PermitPackTeamForbidden) GetPayload ¶
func (o *PermitPackTeamForbidden) GetPayload() *models.GeneralError
func (*PermitPackTeamForbidden) IsClientError ¶
func (o *PermitPackTeamForbidden) IsClientError() bool
IsClientError returns true when this permit pack team forbidden response has a 4xx status code
func (*PermitPackTeamForbidden) IsCode ¶
func (o *PermitPackTeamForbidden) IsCode(code int) bool
IsCode returns true when this permit pack team forbidden response a status code equal to that given
func (*PermitPackTeamForbidden) IsRedirect ¶
func (o *PermitPackTeamForbidden) IsRedirect() bool
IsRedirect returns true when this permit pack team forbidden response has a 3xx status code
func (*PermitPackTeamForbidden) IsServerError ¶
func (o *PermitPackTeamForbidden) IsServerError() bool
IsServerError returns true when this permit pack team forbidden response has a 5xx status code
func (*PermitPackTeamForbidden) IsSuccess ¶
func (o *PermitPackTeamForbidden) IsSuccess() bool
IsSuccess returns true when this permit pack team forbidden response has a 2xx status code
func (*PermitPackTeamForbidden) String ¶
func (o *PermitPackTeamForbidden) String() string
type PermitPackTeamNotFound ¶
type PermitPackTeamNotFound struct {
Payload *models.GeneralError
}
PermitPackTeamNotFound describes a response with status code 404, with default header values.
Pack or team not found
func NewPermitPackTeamNotFound ¶
func NewPermitPackTeamNotFound() *PermitPackTeamNotFound
NewPermitPackTeamNotFound creates a PermitPackTeamNotFound with default headers values
func (*PermitPackTeamNotFound) Code ¶
func (o *PermitPackTeamNotFound) Code() int
Code gets the status code for the permit pack team not found response
func (*PermitPackTeamNotFound) Error ¶
func (o *PermitPackTeamNotFound) Error() string
func (*PermitPackTeamNotFound) GetPayload ¶
func (o *PermitPackTeamNotFound) GetPayload() *models.GeneralError
func (*PermitPackTeamNotFound) IsClientError ¶
func (o *PermitPackTeamNotFound) IsClientError() bool
IsClientError returns true when this permit pack team not found response has a 4xx status code
func (*PermitPackTeamNotFound) IsCode ¶
func (o *PermitPackTeamNotFound) IsCode(code int) bool
IsCode returns true when this permit pack team not found response a status code equal to that given
func (*PermitPackTeamNotFound) IsRedirect ¶
func (o *PermitPackTeamNotFound) IsRedirect() bool
IsRedirect returns true when this permit pack team not found response has a 3xx status code
func (*PermitPackTeamNotFound) IsServerError ¶
func (o *PermitPackTeamNotFound) IsServerError() bool
IsServerError returns true when this permit pack team not found response has a 5xx status code
func (*PermitPackTeamNotFound) IsSuccess ¶
func (o *PermitPackTeamNotFound) IsSuccess() bool
IsSuccess returns true when this permit pack team not found response has a 2xx status code
func (*PermitPackTeamNotFound) String ¶
func (o *PermitPackTeamNotFound) String() string
type PermitPackTeamOK ¶
type PermitPackTeamOK struct {
Payload *models.GeneralError
}
PermitPackTeamOK describes a response with status code 200, with default header values.
Plain success message
func NewPermitPackTeamOK ¶
func NewPermitPackTeamOK() *PermitPackTeamOK
NewPermitPackTeamOK creates a PermitPackTeamOK with default headers values
func (*PermitPackTeamOK) Code ¶
func (o *PermitPackTeamOK) Code() int
Code gets the status code for the permit pack team o k response
func (*PermitPackTeamOK) Error ¶
func (o *PermitPackTeamOK) Error() string
func (*PermitPackTeamOK) GetPayload ¶
func (o *PermitPackTeamOK) GetPayload() *models.GeneralError
func (*PermitPackTeamOK) IsClientError ¶
func (o *PermitPackTeamOK) IsClientError() bool
IsClientError returns true when this permit pack team o k response has a 4xx status code
func (*PermitPackTeamOK) IsCode ¶
func (o *PermitPackTeamOK) IsCode(code int) bool
IsCode returns true when this permit pack team o k response a status code equal to that given
func (*PermitPackTeamOK) IsRedirect ¶
func (o *PermitPackTeamOK) IsRedirect() bool
IsRedirect returns true when this permit pack team o k response has a 3xx status code
func (*PermitPackTeamOK) IsServerError ¶
func (o *PermitPackTeamOK) IsServerError() bool
IsServerError returns true when this permit pack team o k response has a 5xx status code
func (*PermitPackTeamOK) IsSuccess ¶
func (o *PermitPackTeamOK) IsSuccess() bool
IsSuccess returns true when this permit pack team o k response has a 2xx status code
func (*PermitPackTeamOK) String ¶
func (o *PermitPackTeamOK) String() string
type PermitPackTeamParams ¶
type PermitPackTeamParams struct { /* PackID. A pack UUID or slug */ PackID string /* PackTeam. The pack team data to update */ PackTeam *models.PackTeamParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PermitPackTeamParams contains all the parameters to send to the API endpoint
for the permit pack team operation. Typically these are written to a http.Request.
func NewPermitPackTeamParams ¶
func NewPermitPackTeamParams() *PermitPackTeamParams
NewPermitPackTeamParams creates a new PermitPackTeamParams 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 NewPermitPackTeamParamsWithContext ¶
func NewPermitPackTeamParamsWithContext(ctx context.Context) *PermitPackTeamParams
NewPermitPackTeamParamsWithContext creates a new PermitPackTeamParams object with the ability to set a context for a request.
func NewPermitPackTeamParamsWithHTTPClient ¶
func NewPermitPackTeamParamsWithHTTPClient(client *http.Client) *PermitPackTeamParams
NewPermitPackTeamParamsWithHTTPClient creates a new PermitPackTeamParams object with the ability to set a custom HTTPClient for a request.
func NewPermitPackTeamParamsWithTimeout ¶
func NewPermitPackTeamParamsWithTimeout(timeout time.Duration) *PermitPackTeamParams
NewPermitPackTeamParamsWithTimeout creates a new PermitPackTeamParams object with the ability to set a timeout on a request.
func (*PermitPackTeamParams) SetContext ¶
func (o *PermitPackTeamParams) SetContext(ctx context.Context)
SetContext adds the context to the permit pack team params
func (*PermitPackTeamParams) SetDefaults ¶
func (o *PermitPackTeamParams) SetDefaults()
SetDefaults hydrates default values in the permit pack team params (not the query body).
All values with no default are reset to their zero value.
func (*PermitPackTeamParams) SetHTTPClient ¶
func (o *PermitPackTeamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the permit pack team params
func (*PermitPackTeamParams) SetPackID ¶
func (o *PermitPackTeamParams) SetPackID(packID string)
SetPackID adds the packId to the permit pack team params
func (*PermitPackTeamParams) SetPackTeam ¶
func (o *PermitPackTeamParams) SetPackTeam(packTeam *models.PackTeamParams)
SetPackTeam adds the packTeam to the permit pack team params
func (*PermitPackTeamParams) SetTimeout ¶
func (o *PermitPackTeamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the permit pack team params
func (*PermitPackTeamParams) WithContext ¶
func (o *PermitPackTeamParams) WithContext(ctx context.Context) *PermitPackTeamParams
WithContext adds the context to the permit pack team params
func (*PermitPackTeamParams) WithDefaults ¶
func (o *PermitPackTeamParams) WithDefaults() *PermitPackTeamParams
WithDefaults hydrates default values in the permit pack team params (not the query body).
All values with no default are reset to their zero value.
func (*PermitPackTeamParams) WithHTTPClient ¶
func (o *PermitPackTeamParams) WithHTTPClient(client *http.Client) *PermitPackTeamParams
WithHTTPClient adds the HTTPClient to the permit pack team params
func (*PermitPackTeamParams) WithPackID ¶
func (o *PermitPackTeamParams) WithPackID(packID string) *PermitPackTeamParams
WithPackID adds the packID to the permit pack team params
func (*PermitPackTeamParams) WithPackTeam ¶
func (o *PermitPackTeamParams) WithPackTeam(packTeam *models.PackTeamParams) *PermitPackTeamParams
WithPackTeam adds the packTeam to the permit pack team params
func (*PermitPackTeamParams) WithTimeout ¶
func (o *PermitPackTeamParams) WithTimeout(timeout time.Duration) *PermitPackTeamParams
WithTimeout adds the timeout to the permit pack team params
func (*PermitPackTeamParams) WriteToRequest ¶
func (o *PermitPackTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PermitPackTeamPreconditionFailed ¶
type PermitPackTeamPreconditionFailed struct {
Payload *models.GeneralError
}
PermitPackTeamPreconditionFailed describes a response with status code 412, with default header values.
Team is not attached
func NewPermitPackTeamPreconditionFailed ¶
func NewPermitPackTeamPreconditionFailed() *PermitPackTeamPreconditionFailed
NewPermitPackTeamPreconditionFailed creates a PermitPackTeamPreconditionFailed with default headers values
func (*PermitPackTeamPreconditionFailed) Code ¶
func (o *PermitPackTeamPreconditionFailed) Code() int
Code gets the status code for the permit pack team precondition failed response
func (*PermitPackTeamPreconditionFailed) Error ¶
func (o *PermitPackTeamPreconditionFailed) Error() string
func (*PermitPackTeamPreconditionFailed) GetPayload ¶
func (o *PermitPackTeamPreconditionFailed) GetPayload() *models.GeneralError
func (*PermitPackTeamPreconditionFailed) IsClientError ¶
func (o *PermitPackTeamPreconditionFailed) IsClientError() bool
IsClientError returns true when this permit pack team precondition failed response has a 4xx status code
func (*PermitPackTeamPreconditionFailed) IsCode ¶
func (o *PermitPackTeamPreconditionFailed) IsCode(code int) bool
IsCode returns true when this permit pack team precondition failed response a status code equal to that given
func (*PermitPackTeamPreconditionFailed) IsRedirect ¶
func (o *PermitPackTeamPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this permit pack team precondition failed response has a 3xx status code
func (*PermitPackTeamPreconditionFailed) IsServerError ¶
func (o *PermitPackTeamPreconditionFailed) IsServerError() bool
IsServerError returns true when this permit pack team precondition failed response has a 5xx status code
func (*PermitPackTeamPreconditionFailed) IsSuccess ¶
func (o *PermitPackTeamPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this permit pack team precondition failed response has a 2xx status code
func (*PermitPackTeamPreconditionFailed) String ¶
func (o *PermitPackTeamPreconditionFailed) String() string
type PermitPackTeamReader ¶
type PermitPackTeamReader struct {
// contains filtered or unexported fields
}
PermitPackTeamReader is a Reader for the PermitPackTeam structure.
func (*PermitPackTeamReader) ReadResponse ¶
func (o *PermitPackTeamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PermitPackTeamUnprocessableEntity ¶
type PermitPackTeamUnprocessableEntity struct {
Payload *models.ValidationError
}
PermitPackTeamUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewPermitPackTeamUnprocessableEntity ¶
func NewPermitPackTeamUnprocessableEntity() *PermitPackTeamUnprocessableEntity
NewPermitPackTeamUnprocessableEntity creates a PermitPackTeamUnprocessableEntity with default headers values
func (*PermitPackTeamUnprocessableEntity) Code ¶
func (o *PermitPackTeamUnprocessableEntity) Code() int
Code gets the status code for the permit pack team unprocessable entity response
func (*PermitPackTeamUnprocessableEntity) Error ¶
func (o *PermitPackTeamUnprocessableEntity) Error() string
func (*PermitPackTeamUnprocessableEntity) GetPayload ¶
func (o *PermitPackTeamUnprocessableEntity) GetPayload() *models.ValidationError
func (*PermitPackTeamUnprocessableEntity) IsClientError ¶
func (o *PermitPackTeamUnprocessableEntity) IsClientError() bool
IsClientError returns true when this permit pack team unprocessable entity response has a 4xx status code
func (*PermitPackTeamUnprocessableEntity) IsCode ¶
func (o *PermitPackTeamUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this permit pack team unprocessable entity response a status code equal to that given
func (*PermitPackTeamUnprocessableEntity) IsRedirect ¶
func (o *PermitPackTeamUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this permit pack team unprocessable entity response has a 3xx status code
func (*PermitPackTeamUnprocessableEntity) IsServerError ¶
func (o *PermitPackTeamUnprocessableEntity) IsServerError() bool
IsServerError returns true when this permit pack team unprocessable entity response has a 5xx status code
func (*PermitPackTeamUnprocessableEntity) IsSuccess ¶
func (o *PermitPackTeamUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this permit pack team unprocessable entity response has a 2xx status code
func (*PermitPackTeamUnprocessableEntity) String ¶
func (o *PermitPackTeamUnprocessableEntity) String() string
type PermitPackUserDefault ¶
type PermitPackUserDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
PermitPackUserDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewPermitPackUserDefault ¶
func NewPermitPackUserDefault(code int) *PermitPackUserDefault
NewPermitPackUserDefault creates a PermitPackUserDefault with default headers values
func (*PermitPackUserDefault) Code ¶
func (o *PermitPackUserDefault) Code() int
Code gets the status code for the permit pack user default response
func (*PermitPackUserDefault) Error ¶
func (o *PermitPackUserDefault) Error() string
func (*PermitPackUserDefault) GetPayload ¶
func (o *PermitPackUserDefault) GetPayload() *models.GeneralError
func (*PermitPackUserDefault) IsClientError ¶
func (o *PermitPackUserDefault) IsClientError() bool
IsClientError returns true when this permit pack user default response has a 4xx status code
func (*PermitPackUserDefault) IsCode ¶
func (o *PermitPackUserDefault) IsCode(code int) bool
IsCode returns true when this permit pack user default response a status code equal to that given
func (*PermitPackUserDefault) IsRedirect ¶
func (o *PermitPackUserDefault) IsRedirect() bool
IsRedirect returns true when this permit pack user default response has a 3xx status code
func (*PermitPackUserDefault) IsServerError ¶
func (o *PermitPackUserDefault) IsServerError() bool
IsServerError returns true when this permit pack user default response has a 5xx status code
func (*PermitPackUserDefault) IsSuccess ¶
func (o *PermitPackUserDefault) IsSuccess() bool
IsSuccess returns true when this permit pack user default response has a 2xx status code
func (*PermitPackUserDefault) String ¶
func (o *PermitPackUserDefault) String() string
type PermitPackUserForbidden ¶
type PermitPackUserForbidden struct {
Payload *models.GeneralError
}
PermitPackUserForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewPermitPackUserForbidden ¶
func NewPermitPackUserForbidden() *PermitPackUserForbidden
NewPermitPackUserForbidden creates a PermitPackUserForbidden with default headers values
func (*PermitPackUserForbidden) Code ¶
func (o *PermitPackUserForbidden) Code() int
Code gets the status code for the permit pack user forbidden response
func (*PermitPackUserForbidden) Error ¶
func (o *PermitPackUserForbidden) Error() string
func (*PermitPackUserForbidden) GetPayload ¶
func (o *PermitPackUserForbidden) GetPayload() *models.GeneralError
func (*PermitPackUserForbidden) IsClientError ¶
func (o *PermitPackUserForbidden) IsClientError() bool
IsClientError returns true when this permit pack user forbidden response has a 4xx status code
func (*PermitPackUserForbidden) IsCode ¶
func (o *PermitPackUserForbidden) IsCode(code int) bool
IsCode returns true when this permit pack user forbidden response a status code equal to that given
func (*PermitPackUserForbidden) IsRedirect ¶
func (o *PermitPackUserForbidden) IsRedirect() bool
IsRedirect returns true when this permit pack user forbidden response has a 3xx status code
func (*PermitPackUserForbidden) IsServerError ¶
func (o *PermitPackUserForbidden) IsServerError() bool
IsServerError returns true when this permit pack user forbidden response has a 5xx status code
func (*PermitPackUserForbidden) IsSuccess ¶
func (o *PermitPackUserForbidden) IsSuccess() bool
IsSuccess returns true when this permit pack user forbidden response has a 2xx status code
func (*PermitPackUserForbidden) String ¶
func (o *PermitPackUserForbidden) String() string
type PermitPackUserNotFound ¶
type PermitPackUserNotFound struct {
Payload *models.GeneralError
}
PermitPackUserNotFound describes a response with status code 404, with default header values.
Pack or user not found
func NewPermitPackUserNotFound ¶
func NewPermitPackUserNotFound() *PermitPackUserNotFound
NewPermitPackUserNotFound creates a PermitPackUserNotFound with default headers values
func (*PermitPackUserNotFound) Code ¶
func (o *PermitPackUserNotFound) Code() int
Code gets the status code for the permit pack user not found response
func (*PermitPackUserNotFound) Error ¶
func (o *PermitPackUserNotFound) Error() string
func (*PermitPackUserNotFound) GetPayload ¶
func (o *PermitPackUserNotFound) GetPayload() *models.GeneralError
func (*PermitPackUserNotFound) IsClientError ¶
func (o *PermitPackUserNotFound) IsClientError() bool
IsClientError returns true when this permit pack user not found response has a 4xx status code
func (*PermitPackUserNotFound) IsCode ¶
func (o *PermitPackUserNotFound) IsCode(code int) bool
IsCode returns true when this permit pack user not found response a status code equal to that given
func (*PermitPackUserNotFound) IsRedirect ¶
func (o *PermitPackUserNotFound) IsRedirect() bool
IsRedirect returns true when this permit pack user not found response has a 3xx status code
func (*PermitPackUserNotFound) IsServerError ¶
func (o *PermitPackUserNotFound) IsServerError() bool
IsServerError returns true when this permit pack user not found response has a 5xx status code
func (*PermitPackUserNotFound) IsSuccess ¶
func (o *PermitPackUserNotFound) IsSuccess() bool
IsSuccess returns true when this permit pack user not found response has a 2xx status code
func (*PermitPackUserNotFound) String ¶
func (o *PermitPackUserNotFound) String() string
type PermitPackUserOK ¶
type PermitPackUserOK struct {
Payload *models.GeneralError
}
PermitPackUserOK describes a response with status code 200, with default header values.
Plain success message
func NewPermitPackUserOK ¶
func NewPermitPackUserOK() *PermitPackUserOK
NewPermitPackUserOK creates a PermitPackUserOK with default headers values
func (*PermitPackUserOK) Code ¶
func (o *PermitPackUserOK) Code() int
Code gets the status code for the permit pack user o k response
func (*PermitPackUserOK) Error ¶
func (o *PermitPackUserOK) Error() string
func (*PermitPackUserOK) GetPayload ¶
func (o *PermitPackUserOK) GetPayload() *models.GeneralError
func (*PermitPackUserOK) IsClientError ¶
func (o *PermitPackUserOK) IsClientError() bool
IsClientError returns true when this permit pack user o k response has a 4xx status code
func (*PermitPackUserOK) IsCode ¶
func (o *PermitPackUserOK) IsCode(code int) bool
IsCode returns true when this permit pack user o k response a status code equal to that given
func (*PermitPackUserOK) IsRedirect ¶
func (o *PermitPackUserOK) IsRedirect() bool
IsRedirect returns true when this permit pack user o k response has a 3xx status code
func (*PermitPackUserOK) IsServerError ¶
func (o *PermitPackUserOK) IsServerError() bool
IsServerError returns true when this permit pack user o k response has a 5xx status code
func (*PermitPackUserOK) IsSuccess ¶
func (o *PermitPackUserOK) IsSuccess() bool
IsSuccess returns true when this permit pack user o k response has a 2xx status code
func (*PermitPackUserOK) String ¶
func (o *PermitPackUserOK) String() string
type PermitPackUserParams ¶
type PermitPackUserParams struct { /* PackID. A pack UUID or slug */ PackID string /* PackUser. The pack user data to update */ PackUser *models.PackUserParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PermitPackUserParams contains all the parameters to send to the API endpoint
for the permit pack user operation. Typically these are written to a http.Request.
func NewPermitPackUserParams ¶
func NewPermitPackUserParams() *PermitPackUserParams
NewPermitPackUserParams creates a new PermitPackUserParams 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 NewPermitPackUserParamsWithContext ¶
func NewPermitPackUserParamsWithContext(ctx context.Context) *PermitPackUserParams
NewPermitPackUserParamsWithContext creates a new PermitPackUserParams object with the ability to set a context for a request.
func NewPermitPackUserParamsWithHTTPClient ¶
func NewPermitPackUserParamsWithHTTPClient(client *http.Client) *PermitPackUserParams
NewPermitPackUserParamsWithHTTPClient creates a new PermitPackUserParams object with the ability to set a custom HTTPClient for a request.
func NewPermitPackUserParamsWithTimeout ¶
func NewPermitPackUserParamsWithTimeout(timeout time.Duration) *PermitPackUserParams
NewPermitPackUserParamsWithTimeout creates a new PermitPackUserParams object with the ability to set a timeout on a request.
func (*PermitPackUserParams) SetContext ¶
func (o *PermitPackUserParams) SetContext(ctx context.Context)
SetContext adds the context to the permit pack user params
func (*PermitPackUserParams) SetDefaults ¶
func (o *PermitPackUserParams) SetDefaults()
SetDefaults hydrates default values in the permit pack user params (not the query body).
All values with no default are reset to their zero value.
func (*PermitPackUserParams) SetHTTPClient ¶
func (o *PermitPackUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the permit pack user params
func (*PermitPackUserParams) SetPackID ¶
func (o *PermitPackUserParams) SetPackID(packID string)
SetPackID adds the packId to the permit pack user params
func (*PermitPackUserParams) SetPackUser ¶
func (o *PermitPackUserParams) SetPackUser(packUser *models.PackUserParams)
SetPackUser adds the packUser to the permit pack user params
func (*PermitPackUserParams) SetTimeout ¶
func (o *PermitPackUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the permit pack user params
func (*PermitPackUserParams) WithContext ¶
func (o *PermitPackUserParams) WithContext(ctx context.Context) *PermitPackUserParams
WithContext adds the context to the permit pack user params
func (*PermitPackUserParams) WithDefaults ¶
func (o *PermitPackUserParams) WithDefaults() *PermitPackUserParams
WithDefaults hydrates default values in the permit pack user params (not the query body).
All values with no default are reset to their zero value.
func (*PermitPackUserParams) WithHTTPClient ¶
func (o *PermitPackUserParams) WithHTTPClient(client *http.Client) *PermitPackUserParams
WithHTTPClient adds the HTTPClient to the permit pack user params
func (*PermitPackUserParams) WithPackID ¶
func (o *PermitPackUserParams) WithPackID(packID string) *PermitPackUserParams
WithPackID adds the packID to the permit pack user params
func (*PermitPackUserParams) WithPackUser ¶
func (o *PermitPackUserParams) WithPackUser(packUser *models.PackUserParams) *PermitPackUserParams
WithPackUser adds the packUser to the permit pack user params
func (*PermitPackUserParams) WithTimeout ¶
func (o *PermitPackUserParams) WithTimeout(timeout time.Duration) *PermitPackUserParams
WithTimeout adds the timeout to the permit pack user params
func (*PermitPackUserParams) WriteToRequest ¶
func (o *PermitPackUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PermitPackUserPreconditionFailed ¶
type PermitPackUserPreconditionFailed struct {
Payload *models.GeneralError
}
PermitPackUserPreconditionFailed describes a response with status code 412, with default header values.
User is not attached
func NewPermitPackUserPreconditionFailed ¶
func NewPermitPackUserPreconditionFailed() *PermitPackUserPreconditionFailed
NewPermitPackUserPreconditionFailed creates a PermitPackUserPreconditionFailed with default headers values
func (*PermitPackUserPreconditionFailed) Code ¶
func (o *PermitPackUserPreconditionFailed) Code() int
Code gets the status code for the permit pack user precondition failed response
func (*PermitPackUserPreconditionFailed) Error ¶
func (o *PermitPackUserPreconditionFailed) Error() string
func (*PermitPackUserPreconditionFailed) GetPayload ¶
func (o *PermitPackUserPreconditionFailed) GetPayload() *models.GeneralError
func (*PermitPackUserPreconditionFailed) IsClientError ¶
func (o *PermitPackUserPreconditionFailed) IsClientError() bool
IsClientError returns true when this permit pack user precondition failed response has a 4xx status code
func (*PermitPackUserPreconditionFailed) IsCode ¶
func (o *PermitPackUserPreconditionFailed) IsCode(code int) bool
IsCode returns true when this permit pack user precondition failed response a status code equal to that given
func (*PermitPackUserPreconditionFailed) IsRedirect ¶
func (o *PermitPackUserPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this permit pack user precondition failed response has a 3xx status code
func (*PermitPackUserPreconditionFailed) IsServerError ¶
func (o *PermitPackUserPreconditionFailed) IsServerError() bool
IsServerError returns true when this permit pack user precondition failed response has a 5xx status code
func (*PermitPackUserPreconditionFailed) IsSuccess ¶
func (o *PermitPackUserPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this permit pack user precondition failed response has a 2xx status code
func (*PermitPackUserPreconditionFailed) String ¶
func (o *PermitPackUserPreconditionFailed) String() string
type PermitPackUserReader ¶
type PermitPackUserReader struct {
// contains filtered or unexported fields
}
PermitPackUserReader is a Reader for the PermitPackUser structure.
func (*PermitPackUserReader) ReadResponse ¶
func (o *PermitPackUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PermitPackUserUnprocessableEntity ¶
type PermitPackUserUnprocessableEntity struct {
Payload *models.ValidationError
}
PermitPackUserUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewPermitPackUserUnprocessableEntity ¶
func NewPermitPackUserUnprocessableEntity() *PermitPackUserUnprocessableEntity
NewPermitPackUserUnprocessableEntity creates a PermitPackUserUnprocessableEntity with default headers values
func (*PermitPackUserUnprocessableEntity) Code ¶
func (o *PermitPackUserUnprocessableEntity) Code() int
Code gets the status code for the permit pack user unprocessable entity response
func (*PermitPackUserUnprocessableEntity) Error ¶
func (o *PermitPackUserUnprocessableEntity) Error() string
func (*PermitPackUserUnprocessableEntity) GetPayload ¶
func (o *PermitPackUserUnprocessableEntity) GetPayload() *models.ValidationError
func (*PermitPackUserUnprocessableEntity) IsClientError ¶
func (o *PermitPackUserUnprocessableEntity) IsClientError() bool
IsClientError returns true when this permit pack user unprocessable entity response has a 4xx status code
func (*PermitPackUserUnprocessableEntity) IsCode ¶
func (o *PermitPackUserUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this permit pack user unprocessable entity response a status code equal to that given
func (*PermitPackUserUnprocessableEntity) IsRedirect ¶
func (o *PermitPackUserUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this permit pack user unprocessable entity response has a 3xx status code
func (*PermitPackUserUnprocessableEntity) IsServerError ¶
func (o *PermitPackUserUnprocessableEntity) IsServerError() bool
IsServerError returns true when this permit pack user unprocessable entity response has a 5xx status code
func (*PermitPackUserUnprocessableEntity) IsSuccess ¶
func (o *PermitPackUserUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this permit pack user unprocessable entity response has a 2xx status code
func (*PermitPackUserUnprocessableEntity) String ¶
func (o *PermitPackUserUnprocessableEntity) String() string
type ShowBuildDefault ¶
type ShowBuildDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
ShowBuildDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewShowBuildDefault ¶
func NewShowBuildDefault(code int) *ShowBuildDefault
NewShowBuildDefault creates a ShowBuildDefault with default headers values
func (*ShowBuildDefault) Code ¶
func (o *ShowBuildDefault) Code() int
Code gets the status code for the show build default response
func (*ShowBuildDefault) Error ¶
func (o *ShowBuildDefault) Error() string
func (*ShowBuildDefault) GetPayload ¶
func (o *ShowBuildDefault) GetPayload() *models.GeneralError
func (*ShowBuildDefault) IsClientError ¶
func (o *ShowBuildDefault) IsClientError() bool
IsClientError returns true when this show build default response has a 4xx status code
func (*ShowBuildDefault) IsCode ¶
func (o *ShowBuildDefault) IsCode(code int) bool
IsCode returns true when this show build default response a status code equal to that given
func (*ShowBuildDefault) IsRedirect ¶
func (o *ShowBuildDefault) IsRedirect() bool
IsRedirect returns true when this show build default response has a 3xx status code
func (*ShowBuildDefault) IsServerError ¶
func (o *ShowBuildDefault) IsServerError() bool
IsServerError returns true when this show build default response has a 5xx status code
func (*ShowBuildDefault) IsSuccess ¶
func (o *ShowBuildDefault) IsSuccess() bool
IsSuccess returns true when this show build default response has a 2xx status code
func (*ShowBuildDefault) String ¶
func (o *ShowBuildDefault) String() string
type ShowBuildForbidden ¶
type ShowBuildForbidden struct {
Payload *models.GeneralError
}
ShowBuildForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewShowBuildForbidden ¶
func NewShowBuildForbidden() *ShowBuildForbidden
NewShowBuildForbidden creates a ShowBuildForbidden with default headers values
func (*ShowBuildForbidden) Code ¶
func (o *ShowBuildForbidden) Code() int
Code gets the status code for the show build forbidden response
func (*ShowBuildForbidden) Error ¶
func (o *ShowBuildForbidden) Error() string
func (*ShowBuildForbidden) GetPayload ¶
func (o *ShowBuildForbidden) GetPayload() *models.GeneralError
func (*ShowBuildForbidden) IsClientError ¶
func (o *ShowBuildForbidden) IsClientError() bool
IsClientError returns true when this show build forbidden response has a 4xx status code
func (*ShowBuildForbidden) IsCode ¶
func (o *ShowBuildForbidden) IsCode(code int) bool
IsCode returns true when this show build forbidden response a status code equal to that given
func (*ShowBuildForbidden) IsRedirect ¶
func (o *ShowBuildForbidden) IsRedirect() bool
IsRedirect returns true when this show build forbidden response has a 3xx status code
func (*ShowBuildForbidden) IsServerError ¶
func (o *ShowBuildForbidden) IsServerError() bool
IsServerError returns true when this show build forbidden response has a 5xx status code
func (*ShowBuildForbidden) IsSuccess ¶
func (o *ShowBuildForbidden) IsSuccess() bool
IsSuccess returns true when this show build forbidden response has a 2xx status code
func (*ShowBuildForbidden) String ¶
func (o *ShowBuildForbidden) String() string
type ShowBuildNotFound ¶
type ShowBuildNotFound struct {
Payload *models.GeneralError
}
ShowBuildNotFound describes a response with status code 404, with default header values.
Build or pack not found
func NewShowBuildNotFound ¶
func NewShowBuildNotFound() *ShowBuildNotFound
NewShowBuildNotFound creates a ShowBuildNotFound with default headers values
func (*ShowBuildNotFound) Code ¶
func (o *ShowBuildNotFound) Code() int
Code gets the status code for the show build not found response
func (*ShowBuildNotFound) Error ¶
func (o *ShowBuildNotFound) Error() string
func (*ShowBuildNotFound) GetPayload ¶
func (o *ShowBuildNotFound) GetPayload() *models.GeneralError
func (*ShowBuildNotFound) IsClientError ¶
func (o *ShowBuildNotFound) IsClientError() bool
IsClientError returns true when this show build not found response has a 4xx status code
func (*ShowBuildNotFound) IsCode ¶
func (o *ShowBuildNotFound) IsCode(code int) bool
IsCode returns true when this show build not found response a status code equal to that given
func (*ShowBuildNotFound) IsRedirect ¶
func (o *ShowBuildNotFound) IsRedirect() bool
IsRedirect returns true when this show build not found response has a 3xx status code
func (*ShowBuildNotFound) IsServerError ¶
func (o *ShowBuildNotFound) IsServerError() bool
IsServerError returns true when this show build not found response has a 5xx status code
func (*ShowBuildNotFound) IsSuccess ¶
func (o *ShowBuildNotFound) IsSuccess() bool
IsSuccess returns true when this show build not found response has a 2xx status code
func (*ShowBuildNotFound) String ¶
func (o *ShowBuildNotFound) String() string
type ShowBuildOK ¶
ShowBuildOK describes a response with status code 200, with default header values.
The fetched build details
func NewShowBuildOK ¶
func NewShowBuildOK() *ShowBuildOK
NewShowBuildOK creates a ShowBuildOK with default headers values
func (*ShowBuildOK) Code ¶
func (o *ShowBuildOK) Code() int
Code gets the status code for the show build o k response
func (*ShowBuildOK) Error ¶
func (o *ShowBuildOK) Error() string
func (*ShowBuildOK) GetPayload ¶
func (o *ShowBuildOK) GetPayload() *models.Build
func (*ShowBuildOK) IsClientError ¶
func (o *ShowBuildOK) IsClientError() bool
IsClientError returns true when this show build o k response has a 4xx status code
func (*ShowBuildOK) IsCode ¶
func (o *ShowBuildOK) IsCode(code int) bool
IsCode returns true when this show build o k response a status code equal to that given
func (*ShowBuildOK) IsRedirect ¶
func (o *ShowBuildOK) IsRedirect() bool
IsRedirect returns true when this show build o k response has a 3xx status code
func (*ShowBuildOK) IsServerError ¶
func (o *ShowBuildOK) IsServerError() bool
IsServerError returns true when this show build o k response has a 5xx status code
func (*ShowBuildOK) IsSuccess ¶
func (o *ShowBuildOK) IsSuccess() bool
IsSuccess returns true when this show build o k response has a 2xx status code
func (*ShowBuildOK) String ¶
func (o *ShowBuildOK) String() string
type ShowBuildParams ¶
type ShowBuildParams struct { /* BuildID. A build UUID or slug */ BuildID string /* PackID. A pack UUID or slug */ PackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ShowBuildParams contains all the parameters to send to the API endpoint
for the show build operation. Typically these are written to a http.Request.
func NewShowBuildParams ¶
func NewShowBuildParams() *ShowBuildParams
NewShowBuildParams creates a new ShowBuildParams 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 NewShowBuildParamsWithContext ¶
func NewShowBuildParamsWithContext(ctx context.Context) *ShowBuildParams
NewShowBuildParamsWithContext creates a new ShowBuildParams object with the ability to set a context for a request.
func NewShowBuildParamsWithHTTPClient ¶
func NewShowBuildParamsWithHTTPClient(client *http.Client) *ShowBuildParams
NewShowBuildParamsWithHTTPClient creates a new ShowBuildParams object with the ability to set a custom HTTPClient for a request.
func NewShowBuildParamsWithTimeout ¶
func NewShowBuildParamsWithTimeout(timeout time.Duration) *ShowBuildParams
NewShowBuildParamsWithTimeout creates a new ShowBuildParams object with the ability to set a timeout on a request.
func (*ShowBuildParams) SetBuildID ¶
func (o *ShowBuildParams) SetBuildID(buildID string)
SetBuildID adds the buildId to the show build params
func (*ShowBuildParams) SetContext ¶
func (o *ShowBuildParams) SetContext(ctx context.Context)
SetContext adds the context to the show build params
func (*ShowBuildParams) SetDefaults ¶
func (o *ShowBuildParams) SetDefaults()
SetDefaults hydrates default values in the show build params (not the query body).
All values with no default are reset to their zero value.
func (*ShowBuildParams) SetHTTPClient ¶
func (o *ShowBuildParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the show build params
func (*ShowBuildParams) SetPackID ¶
func (o *ShowBuildParams) SetPackID(packID string)
SetPackID adds the packId to the show build params
func (*ShowBuildParams) SetTimeout ¶
func (o *ShowBuildParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the show build params
func (*ShowBuildParams) WithBuildID ¶
func (o *ShowBuildParams) WithBuildID(buildID string) *ShowBuildParams
WithBuildID adds the buildID to the show build params
func (*ShowBuildParams) WithContext ¶
func (o *ShowBuildParams) WithContext(ctx context.Context) *ShowBuildParams
WithContext adds the context to the show build params
func (*ShowBuildParams) WithDefaults ¶
func (o *ShowBuildParams) WithDefaults() *ShowBuildParams
WithDefaults hydrates default values in the show build params (not the query body).
All values with no default are reset to their zero value.
func (*ShowBuildParams) WithHTTPClient ¶
func (o *ShowBuildParams) WithHTTPClient(client *http.Client) *ShowBuildParams
WithHTTPClient adds the HTTPClient to the show build params
func (*ShowBuildParams) WithPackID ¶
func (o *ShowBuildParams) WithPackID(packID string) *ShowBuildParams
WithPackID adds the packID to the show build params
func (*ShowBuildParams) WithTimeout ¶
func (o *ShowBuildParams) WithTimeout(timeout time.Duration) *ShowBuildParams
WithTimeout adds the timeout to the show build params
func (*ShowBuildParams) WriteToRequest ¶
func (o *ShowBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShowBuildReader ¶
type ShowBuildReader struct {
// contains filtered or unexported fields
}
ShowBuildReader is a Reader for the ShowBuild structure.
func (*ShowBuildReader) ReadResponse ¶
func (o *ShowBuildReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ShowPackDefault ¶
type ShowPackDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
ShowPackDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewShowPackDefault ¶
func NewShowPackDefault(code int) *ShowPackDefault
NewShowPackDefault creates a ShowPackDefault with default headers values
func (*ShowPackDefault) Code ¶
func (o *ShowPackDefault) Code() int
Code gets the status code for the show pack default response
func (*ShowPackDefault) Error ¶
func (o *ShowPackDefault) Error() string
func (*ShowPackDefault) GetPayload ¶
func (o *ShowPackDefault) GetPayload() *models.GeneralError
func (*ShowPackDefault) IsClientError ¶
func (o *ShowPackDefault) IsClientError() bool
IsClientError returns true when this show pack default response has a 4xx status code
func (*ShowPackDefault) IsCode ¶
func (o *ShowPackDefault) IsCode(code int) bool
IsCode returns true when this show pack default response a status code equal to that given
func (*ShowPackDefault) IsRedirect ¶
func (o *ShowPackDefault) IsRedirect() bool
IsRedirect returns true when this show pack default response has a 3xx status code
func (*ShowPackDefault) IsServerError ¶
func (o *ShowPackDefault) IsServerError() bool
IsServerError returns true when this show pack default response has a 5xx status code
func (*ShowPackDefault) IsSuccess ¶
func (o *ShowPackDefault) IsSuccess() bool
IsSuccess returns true when this show pack default response has a 2xx status code
func (*ShowPackDefault) String ¶
func (o *ShowPackDefault) String() string
type ShowPackForbidden ¶
type ShowPackForbidden struct {
Payload *models.GeneralError
}
ShowPackForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewShowPackForbidden ¶
func NewShowPackForbidden() *ShowPackForbidden
NewShowPackForbidden creates a ShowPackForbidden with default headers values
func (*ShowPackForbidden) Code ¶
func (o *ShowPackForbidden) Code() int
Code gets the status code for the show pack forbidden response
func (*ShowPackForbidden) Error ¶
func (o *ShowPackForbidden) Error() string
func (*ShowPackForbidden) GetPayload ¶
func (o *ShowPackForbidden) GetPayload() *models.GeneralError
func (*ShowPackForbidden) IsClientError ¶
func (o *ShowPackForbidden) IsClientError() bool
IsClientError returns true when this show pack forbidden response has a 4xx status code
func (*ShowPackForbidden) IsCode ¶
func (o *ShowPackForbidden) IsCode(code int) bool
IsCode returns true when this show pack forbidden response a status code equal to that given
func (*ShowPackForbidden) IsRedirect ¶
func (o *ShowPackForbidden) IsRedirect() bool
IsRedirect returns true when this show pack forbidden response has a 3xx status code
func (*ShowPackForbidden) IsServerError ¶
func (o *ShowPackForbidden) IsServerError() bool
IsServerError returns true when this show pack forbidden response has a 5xx status code
func (*ShowPackForbidden) IsSuccess ¶
func (o *ShowPackForbidden) IsSuccess() bool
IsSuccess returns true when this show pack forbidden response has a 2xx status code
func (*ShowPackForbidden) String ¶
func (o *ShowPackForbidden) String() string
type ShowPackNotFound ¶
type ShowPackNotFound struct {
Payload *models.GeneralError
}
ShowPackNotFound describes a response with status code 404, with default header values.
Pack not found
func NewShowPackNotFound ¶
func NewShowPackNotFound() *ShowPackNotFound
NewShowPackNotFound creates a ShowPackNotFound with default headers values
func (*ShowPackNotFound) Code ¶
func (o *ShowPackNotFound) Code() int
Code gets the status code for the show pack not found response
func (*ShowPackNotFound) Error ¶
func (o *ShowPackNotFound) Error() string
func (*ShowPackNotFound) GetPayload ¶
func (o *ShowPackNotFound) GetPayload() *models.GeneralError
func (*ShowPackNotFound) IsClientError ¶
func (o *ShowPackNotFound) IsClientError() bool
IsClientError returns true when this show pack not found response has a 4xx status code
func (*ShowPackNotFound) IsCode ¶
func (o *ShowPackNotFound) IsCode(code int) bool
IsCode returns true when this show pack not found response a status code equal to that given
func (*ShowPackNotFound) IsRedirect ¶
func (o *ShowPackNotFound) IsRedirect() bool
IsRedirect returns true when this show pack not found response has a 3xx status code
func (*ShowPackNotFound) IsServerError ¶
func (o *ShowPackNotFound) IsServerError() bool
IsServerError returns true when this show pack not found response has a 5xx status code
func (*ShowPackNotFound) IsSuccess ¶
func (o *ShowPackNotFound) IsSuccess() bool
IsSuccess returns true when this show pack not found response has a 2xx status code
func (*ShowPackNotFound) String ¶
func (o *ShowPackNotFound) String() string
type ShowPackOK ¶
ShowPackOK describes a response with status code 200, with default header values.
The fetched pack details
func NewShowPackOK ¶
func NewShowPackOK() *ShowPackOK
NewShowPackOK creates a ShowPackOK with default headers values
func (*ShowPackOK) Code ¶
func (o *ShowPackOK) Code() int
Code gets the status code for the show pack o k response
func (*ShowPackOK) Error ¶
func (o *ShowPackOK) Error() string
func (*ShowPackOK) GetPayload ¶
func (o *ShowPackOK) GetPayload() *models.Pack
func (*ShowPackOK) IsClientError ¶
func (o *ShowPackOK) IsClientError() bool
IsClientError returns true when this show pack o k response has a 4xx status code
func (*ShowPackOK) IsCode ¶
func (o *ShowPackOK) IsCode(code int) bool
IsCode returns true when this show pack o k response a status code equal to that given
func (*ShowPackOK) IsRedirect ¶
func (o *ShowPackOK) IsRedirect() bool
IsRedirect returns true when this show pack o k response has a 3xx status code
func (*ShowPackOK) IsServerError ¶
func (o *ShowPackOK) IsServerError() bool
IsServerError returns true when this show pack o k response has a 5xx status code
func (*ShowPackOK) IsSuccess ¶
func (o *ShowPackOK) IsSuccess() bool
IsSuccess returns true when this show pack o k response has a 2xx status code
func (*ShowPackOK) String ¶
func (o *ShowPackOK) String() string
type ShowPackParams ¶
type ShowPackParams struct { /* PackID. A pack UUID or slug */ PackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ShowPackParams contains all the parameters to send to the API endpoint
for the show pack operation. Typically these are written to a http.Request.
func NewShowPackParams ¶
func NewShowPackParams() *ShowPackParams
NewShowPackParams creates a new ShowPackParams 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 NewShowPackParamsWithContext ¶
func NewShowPackParamsWithContext(ctx context.Context) *ShowPackParams
NewShowPackParamsWithContext creates a new ShowPackParams object with the ability to set a context for a request.
func NewShowPackParamsWithHTTPClient ¶
func NewShowPackParamsWithHTTPClient(client *http.Client) *ShowPackParams
NewShowPackParamsWithHTTPClient creates a new ShowPackParams object with the ability to set a custom HTTPClient for a request.
func NewShowPackParamsWithTimeout ¶
func NewShowPackParamsWithTimeout(timeout time.Duration) *ShowPackParams
NewShowPackParamsWithTimeout creates a new ShowPackParams object with the ability to set a timeout on a request.
func (*ShowPackParams) SetContext ¶
func (o *ShowPackParams) SetContext(ctx context.Context)
SetContext adds the context to the show pack params
func (*ShowPackParams) SetDefaults ¶
func (o *ShowPackParams) SetDefaults()
SetDefaults hydrates default values in the show pack params (not the query body).
All values with no default are reset to their zero value.
func (*ShowPackParams) SetHTTPClient ¶
func (o *ShowPackParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the show pack params
func (*ShowPackParams) SetPackID ¶
func (o *ShowPackParams) SetPackID(packID string)
SetPackID adds the packId to the show pack params
func (*ShowPackParams) SetTimeout ¶
func (o *ShowPackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the show pack params
func (*ShowPackParams) WithContext ¶
func (o *ShowPackParams) WithContext(ctx context.Context) *ShowPackParams
WithContext adds the context to the show pack params
func (*ShowPackParams) WithDefaults ¶
func (o *ShowPackParams) WithDefaults() *ShowPackParams
WithDefaults hydrates default values in the show pack params (not the query body).
All values with no default are reset to their zero value.
func (*ShowPackParams) WithHTTPClient ¶
func (o *ShowPackParams) WithHTTPClient(client *http.Client) *ShowPackParams
WithHTTPClient adds the HTTPClient to the show pack params
func (*ShowPackParams) WithPackID ¶
func (o *ShowPackParams) WithPackID(packID string) *ShowPackParams
WithPackID adds the packID to the show pack params
func (*ShowPackParams) WithTimeout ¶
func (o *ShowPackParams) WithTimeout(timeout time.Duration) *ShowPackParams
WithTimeout adds the timeout to the show pack params
func (*ShowPackParams) WriteToRequest ¶
func (o *ShowPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShowPackReader ¶
type ShowPackReader struct {
// contains filtered or unexported fields
}
ShowPackReader is a Reader for the ShowPack structure.
func (*ShowPackReader) ReadResponse ¶
func (o *ShowPackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateBuildDefault ¶
type UpdateBuildDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
UpdateBuildDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewUpdateBuildDefault ¶
func NewUpdateBuildDefault(code int) *UpdateBuildDefault
NewUpdateBuildDefault creates a UpdateBuildDefault with default headers values
func (*UpdateBuildDefault) Code ¶
func (o *UpdateBuildDefault) Code() int
Code gets the status code for the update build default response
func (*UpdateBuildDefault) Error ¶
func (o *UpdateBuildDefault) Error() string
func (*UpdateBuildDefault) GetPayload ¶
func (o *UpdateBuildDefault) GetPayload() *models.GeneralError
func (*UpdateBuildDefault) IsClientError ¶
func (o *UpdateBuildDefault) IsClientError() bool
IsClientError returns true when this update build default response has a 4xx status code
func (*UpdateBuildDefault) IsCode ¶
func (o *UpdateBuildDefault) IsCode(code int) bool
IsCode returns true when this update build default response a status code equal to that given
func (*UpdateBuildDefault) IsRedirect ¶
func (o *UpdateBuildDefault) IsRedirect() bool
IsRedirect returns true when this update build default response has a 3xx status code
func (*UpdateBuildDefault) IsServerError ¶
func (o *UpdateBuildDefault) IsServerError() bool
IsServerError returns true when this update build default response has a 5xx status code
func (*UpdateBuildDefault) IsSuccess ¶
func (o *UpdateBuildDefault) IsSuccess() bool
IsSuccess returns true when this update build default response has a 2xx status code
func (*UpdateBuildDefault) String ¶
func (o *UpdateBuildDefault) String() string
type UpdateBuildForbidden ¶
type UpdateBuildForbidden struct {
Payload *models.GeneralError
}
UpdateBuildForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewUpdateBuildForbidden ¶
func NewUpdateBuildForbidden() *UpdateBuildForbidden
NewUpdateBuildForbidden creates a UpdateBuildForbidden with default headers values
func (*UpdateBuildForbidden) Code ¶
func (o *UpdateBuildForbidden) Code() int
Code gets the status code for the update build forbidden response
func (*UpdateBuildForbidden) Error ¶
func (o *UpdateBuildForbidden) Error() string
func (*UpdateBuildForbidden) GetPayload ¶
func (o *UpdateBuildForbidden) GetPayload() *models.GeneralError
func (*UpdateBuildForbidden) IsClientError ¶
func (o *UpdateBuildForbidden) IsClientError() bool
IsClientError returns true when this update build forbidden response has a 4xx status code
func (*UpdateBuildForbidden) IsCode ¶
func (o *UpdateBuildForbidden) IsCode(code int) bool
IsCode returns true when this update build forbidden response a status code equal to that given
func (*UpdateBuildForbidden) IsRedirect ¶
func (o *UpdateBuildForbidden) IsRedirect() bool
IsRedirect returns true when this update build forbidden response has a 3xx status code
func (*UpdateBuildForbidden) IsServerError ¶
func (o *UpdateBuildForbidden) IsServerError() bool
IsServerError returns true when this update build forbidden response has a 5xx status code
func (*UpdateBuildForbidden) IsSuccess ¶
func (o *UpdateBuildForbidden) IsSuccess() bool
IsSuccess returns true when this update build forbidden response has a 2xx status code
func (*UpdateBuildForbidden) String ¶
func (o *UpdateBuildForbidden) String() string
type UpdateBuildNotFound ¶
type UpdateBuildNotFound struct {
Payload *models.GeneralError
}
UpdateBuildNotFound describes a response with status code 404, with default header values.
Build or pack not found
func NewUpdateBuildNotFound ¶
func NewUpdateBuildNotFound() *UpdateBuildNotFound
NewUpdateBuildNotFound creates a UpdateBuildNotFound with default headers values
func (*UpdateBuildNotFound) Code ¶
func (o *UpdateBuildNotFound) Code() int
Code gets the status code for the update build not found response
func (*UpdateBuildNotFound) Error ¶
func (o *UpdateBuildNotFound) Error() string
func (*UpdateBuildNotFound) GetPayload ¶
func (o *UpdateBuildNotFound) GetPayload() *models.GeneralError
func (*UpdateBuildNotFound) IsClientError ¶
func (o *UpdateBuildNotFound) IsClientError() bool
IsClientError returns true when this update build not found response has a 4xx status code
func (*UpdateBuildNotFound) IsCode ¶
func (o *UpdateBuildNotFound) IsCode(code int) bool
IsCode returns true when this update build not found response a status code equal to that given
func (*UpdateBuildNotFound) IsRedirect ¶
func (o *UpdateBuildNotFound) IsRedirect() bool
IsRedirect returns true when this update build not found response has a 3xx status code
func (*UpdateBuildNotFound) IsServerError ¶
func (o *UpdateBuildNotFound) IsServerError() bool
IsServerError returns true when this update build not found response has a 5xx status code
func (*UpdateBuildNotFound) IsSuccess ¶
func (o *UpdateBuildNotFound) IsSuccess() bool
IsSuccess returns true when this update build not found response has a 2xx status code
func (*UpdateBuildNotFound) String ¶
func (o *UpdateBuildNotFound) String() string
type UpdateBuildOK ¶
UpdateBuildOK describes a response with status code 200, with default header values.
The updated build details
func NewUpdateBuildOK ¶
func NewUpdateBuildOK() *UpdateBuildOK
NewUpdateBuildOK creates a UpdateBuildOK with default headers values
func (*UpdateBuildOK) Code ¶
func (o *UpdateBuildOK) Code() int
Code gets the status code for the update build o k response
func (*UpdateBuildOK) Error ¶
func (o *UpdateBuildOK) Error() string
func (*UpdateBuildOK) GetPayload ¶
func (o *UpdateBuildOK) GetPayload() *models.Build
func (*UpdateBuildOK) IsClientError ¶
func (o *UpdateBuildOK) IsClientError() bool
IsClientError returns true when this update build o k response has a 4xx status code
func (*UpdateBuildOK) IsCode ¶
func (o *UpdateBuildOK) IsCode(code int) bool
IsCode returns true when this update build o k response a status code equal to that given
func (*UpdateBuildOK) IsRedirect ¶
func (o *UpdateBuildOK) IsRedirect() bool
IsRedirect returns true when this update build o k response has a 3xx status code
func (*UpdateBuildOK) IsServerError ¶
func (o *UpdateBuildOK) IsServerError() bool
IsServerError returns true when this update build o k response has a 5xx status code
func (*UpdateBuildOK) IsSuccess ¶
func (o *UpdateBuildOK) IsSuccess() bool
IsSuccess returns true when this update build o k response has a 2xx status code
func (*UpdateBuildOK) String ¶
func (o *UpdateBuildOK) String() string
type UpdateBuildParams ¶
type UpdateBuildParams struct { /* Build. The build data to update */ Build *models.Build /* BuildID. A build UUID or slug */ BuildID string /* PackID. A pack UUID or slug */ PackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateBuildParams contains all the parameters to send to the API endpoint
for the update build operation. Typically these are written to a http.Request.
func NewUpdateBuildParams ¶
func NewUpdateBuildParams() *UpdateBuildParams
NewUpdateBuildParams creates a new UpdateBuildParams 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 NewUpdateBuildParamsWithContext ¶
func NewUpdateBuildParamsWithContext(ctx context.Context) *UpdateBuildParams
NewUpdateBuildParamsWithContext creates a new UpdateBuildParams object with the ability to set a context for a request.
func NewUpdateBuildParamsWithHTTPClient ¶
func NewUpdateBuildParamsWithHTTPClient(client *http.Client) *UpdateBuildParams
NewUpdateBuildParamsWithHTTPClient creates a new UpdateBuildParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateBuildParamsWithTimeout ¶
func NewUpdateBuildParamsWithTimeout(timeout time.Duration) *UpdateBuildParams
NewUpdateBuildParamsWithTimeout creates a new UpdateBuildParams object with the ability to set a timeout on a request.
func (*UpdateBuildParams) SetBuild ¶
func (o *UpdateBuildParams) SetBuild(build *models.Build)
SetBuild adds the build to the update build params
func (*UpdateBuildParams) SetBuildID ¶
func (o *UpdateBuildParams) SetBuildID(buildID string)
SetBuildID adds the buildId to the update build params
func (*UpdateBuildParams) SetContext ¶
func (o *UpdateBuildParams) SetContext(ctx context.Context)
SetContext adds the context to the update build params
func (*UpdateBuildParams) SetDefaults ¶
func (o *UpdateBuildParams) SetDefaults()
SetDefaults hydrates default values in the update build params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateBuildParams) SetHTTPClient ¶
func (o *UpdateBuildParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update build params
func (*UpdateBuildParams) SetPackID ¶
func (o *UpdateBuildParams) SetPackID(packID string)
SetPackID adds the packId to the update build params
func (*UpdateBuildParams) SetTimeout ¶
func (o *UpdateBuildParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update build params
func (*UpdateBuildParams) WithBuild ¶
func (o *UpdateBuildParams) WithBuild(build *models.Build) *UpdateBuildParams
WithBuild adds the build to the update build params
func (*UpdateBuildParams) WithBuildID ¶
func (o *UpdateBuildParams) WithBuildID(buildID string) *UpdateBuildParams
WithBuildID adds the buildID to the update build params
func (*UpdateBuildParams) WithContext ¶
func (o *UpdateBuildParams) WithContext(ctx context.Context) *UpdateBuildParams
WithContext adds the context to the update build params
func (*UpdateBuildParams) WithDefaults ¶
func (o *UpdateBuildParams) WithDefaults() *UpdateBuildParams
WithDefaults hydrates default values in the update build params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateBuildParams) WithHTTPClient ¶
func (o *UpdateBuildParams) WithHTTPClient(client *http.Client) *UpdateBuildParams
WithHTTPClient adds the HTTPClient to the update build params
func (*UpdateBuildParams) WithPackID ¶
func (o *UpdateBuildParams) WithPackID(packID string) *UpdateBuildParams
WithPackID adds the packID to the update build params
func (*UpdateBuildParams) WithTimeout ¶
func (o *UpdateBuildParams) WithTimeout(timeout time.Duration) *UpdateBuildParams
WithTimeout adds the timeout to the update build params
func (*UpdateBuildParams) WriteToRequest ¶
func (o *UpdateBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateBuildReader ¶
type UpdateBuildReader struct {
// contains filtered or unexported fields
}
UpdateBuildReader is a Reader for the UpdateBuild structure.
func (*UpdateBuildReader) ReadResponse ¶
func (o *UpdateBuildReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateBuildUnprocessableEntity ¶
type UpdateBuildUnprocessableEntity struct {
Payload *models.ValidationError
}
UpdateBuildUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewUpdateBuildUnprocessableEntity ¶
func NewUpdateBuildUnprocessableEntity() *UpdateBuildUnprocessableEntity
NewUpdateBuildUnprocessableEntity creates a UpdateBuildUnprocessableEntity with default headers values
func (*UpdateBuildUnprocessableEntity) Code ¶
func (o *UpdateBuildUnprocessableEntity) Code() int
Code gets the status code for the update build unprocessable entity response
func (*UpdateBuildUnprocessableEntity) Error ¶
func (o *UpdateBuildUnprocessableEntity) Error() string
func (*UpdateBuildUnprocessableEntity) GetPayload ¶
func (o *UpdateBuildUnprocessableEntity) GetPayload() *models.ValidationError
func (*UpdateBuildUnprocessableEntity) IsClientError ¶
func (o *UpdateBuildUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update build unprocessable entity response has a 4xx status code
func (*UpdateBuildUnprocessableEntity) IsCode ¶
func (o *UpdateBuildUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update build unprocessable entity response a status code equal to that given
func (*UpdateBuildUnprocessableEntity) IsRedirect ¶
func (o *UpdateBuildUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update build unprocessable entity response has a 3xx status code
func (*UpdateBuildUnprocessableEntity) IsServerError ¶
func (o *UpdateBuildUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update build unprocessable entity response has a 5xx status code
func (*UpdateBuildUnprocessableEntity) IsSuccess ¶
func (o *UpdateBuildUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update build unprocessable entity response has a 2xx status code
func (*UpdateBuildUnprocessableEntity) String ¶
func (o *UpdateBuildUnprocessableEntity) String() string
type UpdatePackDefault ¶
type UpdatePackDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
UpdatePackDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewUpdatePackDefault ¶
func NewUpdatePackDefault(code int) *UpdatePackDefault
NewUpdatePackDefault creates a UpdatePackDefault with default headers values
func (*UpdatePackDefault) Code ¶
func (o *UpdatePackDefault) Code() int
Code gets the status code for the update pack default response
func (*UpdatePackDefault) Error ¶
func (o *UpdatePackDefault) Error() string
func (*UpdatePackDefault) GetPayload ¶
func (o *UpdatePackDefault) GetPayload() *models.GeneralError
func (*UpdatePackDefault) IsClientError ¶
func (o *UpdatePackDefault) IsClientError() bool
IsClientError returns true when this update pack default response has a 4xx status code
func (*UpdatePackDefault) IsCode ¶
func (o *UpdatePackDefault) IsCode(code int) bool
IsCode returns true when this update pack default response a status code equal to that given
func (*UpdatePackDefault) IsRedirect ¶
func (o *UpdatePackDefault) IsRedirect() bool
IsRedirect returns true when this update pack default response has a 3xx status code
func (*UpdatePackDefault) IsServerError ¶
func (o *UpdatePackDefault) IsServerError() bool
IsServerError returns true when this update pack default response has a 5xx status code
func (*UpdatePackDefault) IsSuccess ¶
func (o *UpdatePackDefault) IsSuccess() bool
IsSuccess returns true when this update pack default response has a 2xx status code
func (*UpdatePackDefault) String ¶
func (o *UpdatePackDefault) String() string
type UpdatePackForbidden ¶
type UpdatePackForbidden struct {
Payload *models.GeneralError
}
UpdatePackForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewUpdatePackForbidden ¶
func NewUpdatePackForbidden() *UpdatePackForbidden
NewUpdatePackForbidden creates a UpdatePackForbidden with default headers values
func (*UpdatePackForbidden) Code ¶
func (o *UpdatePackForbidden) Code() int
Code gets the status code for the update pack forbidden response
func (*UpdatePackForbidden) Error ¶
func (o *UpdatePackForbidden) Error() string
func (*UpdatePackForbidden) GetPayload ¶
func (o *UpdatePackForbidden) GetPayload() *models.GeneralError
func (*UpdatePackForbidden) IsClientError ¶
func (o *UpdatePackForbidden) IsClientError() bool
IsClientError returns true when this update pack forbidden response has a 4xx status code
func (*UpdatePackForbidden) IsCode ¶
func (o *UpdatePackForbidden) IsCode(code int) bool
IsCode returns true when this update pack forbidden response a status code equal to that given
func (*UpdatePackForbidden) IsRedirect ¶
func (o *UpdatePackForbidden) IsRedirect() bool
IsRedirect returns true when this update pack forbidden response has a 3xx status code
func (*UpdatePackForbidden) IsServerError ¶
func (o *UpdatePackForbidden) IsServerError() bool
IsServerError returns true when this update pack forbidden response has a 5xx status code
func (*UpdatePackForbidden) IsSuccess ¶
func (o *UpdatePackForbidden) IsSuccess() bool
IsSuccess returns true when this update pack forbidden response has a 2xx status code
func (*UpdatePackForbidden) String ¶
func (o *UpdatePackForbidden) String() string
type UpdatePackNotFound ¶
type UpdatePackNotFound struct {
Payload *models.GeneralError
}
UpdatePackNotFound describes a response with status code 404, with default header values.
Pack not found
func NewUpdatePackNotFound ¶
func NewUpdatePackNotFound() *UpdatePackNotFound
NewUpdatePackNotFound creates a UpdatePackNotFound with default headers values
func (*UpdatePackNotFound) Code ¶
func (o *UpdatePackNotFound) Code() int
Code gets the status code for the update pack not found response
func (*UpdatePackNotFound) Error ¶
func (o *UpdatePackNotFound) Error() string
func (*UpdatePackNotFound) GetPayload ¶
func (o *UpdatePackNotFound) GetPayload() *models.GeneralError
func (*UpdatePackNotFound) IsClientError ¶
func (o *UpdatePackNotFound) IsClientError() bool
IsClientError returns true when this update pack not found response has a 4xx status code
func (*UpdatePackNotFound) IsCode ¶
func (o *UpdatePackNotFound) IsCode(code int) bool
IsCode returns true when this update pack not found response a status code equal to that given
func (*UpdatePackNotFound) IsRedirect ¶
func (o *UpdatePackNotFound) IsRedirect() bool
IsRedirect returns true when this update pack not found response has a 3xx status code
func (*UpdatePackNotFound) IsServerError ¶
func (o *UpdatePackNotFound) IsServerError() bool
IsServerError returns true when this update pack not found response has a 5xx status code
func (*UpdatePackNotFound) IsSuccess ¶
func (o *UpdatePackNotFound) IsSuccess() bool
IsSuccess returns true when this update pack not found response has a 2xx status code
func (*UpdatePackNotFound) String ¶
func (o *UpdatePackNotFound) String() string
type UpdatePackOK ¶
UpdatePackOK describes a response with status code 200, with default header values.
The updated pack details
func NewUpdatePackOK ¶
func NewUpdatePackOK() *UpdatePackOK
NewUpdatePackOK creates a UpdatePackOK with default headers values
func (*UpdatePackOK) Code ¶
func (o *UpdatePackOK) Code() int
Code gets the status code for the update pack o k response
func (*UpdatePackOK) Error ¶
func (o *UpdatePackOK) Error() string
func (*UpdatePackOK) GetPayload ¶
func (o *UpdatePackOK) GetPayload() *models.Pack
func (*UpdatePackOK) IsClientError ¶
func (o *UpdatePackOK) IsClientError() bool
IsClientError returns true when this update pack o k response has a 4xx status code
func (*UpdatePackOK) IsCode ¶
func (o *UpdatePackOK) IsCode(code int) bool
IsCode returns true when this update pack o k response a status code equal to that given
func (*UpdatePackOK) IsRedirect ¶
func (o *UpdatePackOK) IsRedirect() bool
IsRedirect returns true when this update pack o k response has a 3xx status code
func (*UpdatePackOK) IsServerError ¶
func (o *UpdatePackOK) IsServerError() bool
IsServerError returns true when this update pack o k response has a 5xx status code
func (*UpdatePackOK) IsSuccess ¶
func (o *UpdatePackOK) IsSuccess() bool
IsSuccess returns true when this update pack o k response has a 2xx status code
func (*UpdatePackOK) String ¶
func (o *UpdatePackOK) String() string
type UpdatePackParams ¶
type UpdatePackParams struct { /* Pack. The pack data to update */ Pack *models.Pack /* PackID. A pack UUID or slug */ PackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePackParams contains all the parameters to send to the API endpoint
for the update pack operation. Typically these are written to a http.Request.
func NewUpdatePackParams ¶
func NewUpdatePackParams() *UpdatePackParams
NewUpdatePackParams creates a new UpdatePackParams 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 NewUpdatePackParamsWithContext ¶
func NewUpdatePackParamsWithContext(ctx context.Context) *UpdatePackParams
NewUpdatePackParamsWithContext creates a new UpdatePackParams object with the ability to set a context for a request.
func NewUpdatePackParamsWithHTTPClient ¶
func NewUpdatePackParamsWithHTTPClient(client *http.Client) *UpdatePackParams
NewUpdatePackParamsWithHTTPClient creates a new UpdatePackParams object with the ability to set a custom HTTPClient for a request.
func NewUpdatePackParamsWithTimeout ¶
func NewUpdatePackParamsWithTimeout(timeout time.Duration) *UpdatePackParams
NewUpdatePackParamsWithTimeout creates a new UpdatePackParams object with the ability to set a timeout on a request.
func (*UpdatePackParams) SetContext ¶
func (o *UpdatePackParams) SetContext(ctx context.Context)
SetContext adds the context to the update pack params
func (*UpdatePackParams) SetDefaults ¶
func (o *UpdatePackParams) SetDefaults()
SetDefaults hydrates default values in the update pack params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePackParams) SetHTTPClient ¶
func (o *UpdatePackParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update pack params
func (*UpdatePackParams) SetPack ¶
func (o *UpdatePackParams) SetPack(pack *models.Pack)
SetPack adds the pack to the update pack params
func (*UpdatePackParams) SetPackID ¶
func (o *UpdatePackParams) SetPackID(packID string)
SetPackID adds the packId to the update pack params
func (*UpdatePackParams) SetTimeout ¶
func (o *UpdatePackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update pack params
func (*UpdatePackParams) WithContext ¶
func (o *UpdatePackParams) WithContext(ctx context.Context) *UpdatePackParams
WithContext adds the context to the update pack params
func (*UpdatePackParams) WithDefaults ¶
func (o *UpdatePackParams) WithDefaults() *UpdatePackParams
WithDefaults hydrates default values in the update pack params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePackParams) WithHTTPClient ¶
func (o *UpdatePackParams) WithHTTPClient(client *http.Client) *UpdatePackParams
WithHTTPClient adds the HTTPClient to the update pack params
func (*UpdatePackParams) WithPack ¶
func (o *UpdatePackParams) WithPack(pack *models.Pack) *UpdatePackParams
WithPack adds the pack to the update pack params
func (*UpdatePackParams) WithPackID ¶
func (o *UpdatePackParams) WithPackID(packID string) *UpdatePackParams
WithPackID adds the packID to the update pack params
func (*UpdatePackParams) WithTimeout ¶
func (o *UpdatePackParams) WithTimeout(timeout time.Duration) *UpdatePackParams
WithTimeout adds the timeout to the update pack params
func (*UpdatePackParams) WriteToRequest ¶
func (o *UpdatePackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePackReader ¶
type UpdatePackReader struct {
// contains filtered or unexported fields
}
UpdatePackReader is a Reader for the UpdatePack structure.
func (*UpdatePackReader) ReadResponse ¶
func (o *UpdatePackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePackUnprocessableEntity ¶
type UpdatePackUnprocessableEntity struct {
Payload *models.ValidationError
}
UpdatePackUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewUpdatePackUnprocessableEntity ¶
func NewUpdatePackUnprocessableEntity() *UpdatePackUnprocessableEntity
NewUpdatePackUnprocessableEntity creates a UpdatePackUnprocessableEntity with default headers values
func (*UpdatePackUnprocessableEntity) Code ¶
func (o *UpdatePackUnprocessableEntity) Code() int
Code gets the status code for the update pack unprocessable entity response
func (*UpdatePackUnprocessableEntity) Error ¶
func (o *UpdatePackUnprocessableEntity) Error() string
func (*UpdatePackUnprocessableEntity) GetPayload ¶
func (o *UpdatePackUnprocessableEntity) GetPayload() *models.ValidationError
func (*UpdatePackUnprocessableEntity) IsClientError ¶
func (o *UpdatePackUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update pack unprocessable entity response has a 4xx status code
func (*UpdatePackUnprocessableEntity) IsCode ¶
func (o *UpdatePackUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update pack unprocessable entity response a status code equal to that given
func (*UpdatePackUnprocessableEntity) IsRedirect ¶
func (o *UpdatePackUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update pack unprocessable entity response has a 3xx status code
func (*UpdatePackUnprocessableEntity) IsServerError ¶
func (o *UpdatePackUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update pack unprocessable entity response has a 5xx status code
func (*UpdatePackUnprocessableEntity) IsSuccess ¶
func (o *UpdatePackUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update pack unprocessable entity response has a 2xx status code
func (*UpdatePackUnprocessableEntity) String ¶
func (o *UpdatePackUnprocessableEntity) String() string
Source Files ¶
- append_build_to_version_parameters.go
- append_build_to_version_responses.go
- attach_pack_to_team_parameters.go
- attach_pack_to_team_responses.go
- attach_pack_to_user_parameters.go
- attach_pack_to_user_responses.go
- create_build_parameters.go
- create_build_responses.go
- create_pack_parameters.go
- create_pack_responses.go
- delete_build_from_version_parameters.go
- delete_build_from_version_responses.go
- delete_build_parameters.go
- delete_build_responses.go
- delete_pack_from_team_parameters.go
- delete_pack_from_team_responses.go
- delete_pack_from_user_parameters.go
- delete_pack_from_user_responses.go
- delete_pack_parameters.go
- delete_pack_responses.go
- list_build_versions_parameters.go
- list_build_versions_responses.go
- list_builds_parameters.go
- list_builds_responses.go
- list_pack_teams_parameters.go
- list_pack_teams_responses.go
- list_pack_users_parameters.go
- list_pack_users_responses.go
- list_packs_parameters.go
- list_packs_responses.go
- pack_client.go
- permit_pack_team_parameters.go
- permit_pack_team_responses.go
- permit_pack_user_parameters.go
- permit_pack_user_responses.go
- show_build_parameters.go
- show_build_responses.go
- show_pack_parameters.go
- show_pack_responses.go
- update_build_parameters.go
- update_build_responses.go
- update_pack_parameters.go
- update_pack_responses.go