Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateProject(params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateProjectCreated, error)
- func (a *Client) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteProjectOK, error)
- func (a *Client) GetLogs(params *GetLogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetLogsOK, error)
- func (a *Client) GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectOK, error)
- func (a *Client) GetProjectDeletable(params *GetProjectDeletableParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectDeletableOK, error)
- func (a *Client) GetProjectSummary(params *GetProjectSummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectSummaryOK, error)
- func (a *Client) HeadProject(params *HeadProjectParams, authInfo runtime.ClientAuthInfoWriter) (*HeadProjectOK, error)
- func (a *Client) ListProjects(params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*ListProjectsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateProjectOK, error)
- type ClientService
- type CreateProjectBadRequest
- type CreateProjectConflict
- type CreateProjectCreated
- type CreateProjectInternalServerError
- type CreateProjectParams
- func (o *CreateProjectParams) SetContext(ctx context.Context)
- func (o *CreateProjectParams) SetHTTPClient(client *http.Client)
- func (o *CreateProjectParams) SetProject(project *models.ProjectReq)
- func (o *CreateProjectParams) SetTimeout(timeout time.Duration)
- func (o *CreateProjectParams) SetXRequestID(xRequestID *string)
- func (o *CreateProjectParams) WithContext(ctx context.Context) *CreateProjectParams
- func (o *CreateProjectParams) WithHTTPClient(client *http.Client) *CreateProjectParams
- func (o *CreateProjectParams) WithProject(project *models.ProjectReq) *CreateProjectParams
- func (o *CreateProjectParams) WithTimeout(timeout time.Duration) *CreateProjectParams
- func (o *CreateProjectParams) WithXRequestID(xRequestID *string) *CreateProjectParams
- func (o *CreateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateProjectReader
- type CreateProjectUnauthorized
- type DeleteProjectBadRequest
- type DeleteProjectForbidden
- type DeleteProjectInternalServerError
- type DeleteProjectNotFound
- type DeleteProjectOK
- type DeleteProjectParams
- func (o *DeleteProjectParams) SetContext(ctx context.Context)
- func (o *DeleteProjectParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProjectParams) SetProjectID(projectID int64)
- func (o *DeleteProjectParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProjectParams) SetXRequestID(xRequestID *string)
- func (o *DeleteProjectParams) WithContext(ctx context.Context) *DeleteProjectParams
- func (o *DeleteProjectParams) WithHTTPClient(client *http.Client) *DeleteProjectParams
- func (o *DeleteProjectParams) WithProjectID(projectID int64) *DeleteProjectParams
- func (o *DeleteProjectParams) WithTimeout(timeout time.Duration) *DeleteProjectParams
- func (o *DeleteProjectParams) WithXRequestID(xRequestID *string) *DeleteProjectParams
- func (o *DeleteProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProjectPreconditionFailed
- type DeleteProjectReader
- type GetLogsBadRequest
- type GetLogsInternalServerError
- type GetLogsOK
- type GetLogsParams
- func (o *GetLogsParams) SetContext(ctx context.Context)
- func (o *GetLogsParams) SetHTTPClient(client *http.Client)
- func (o *GetLogsParams) SetPage(page *int64)
- func (o *GetLogsParams) SetPageSize(pageSize *int64)
- func (o *GetLogsParams) SetProjectName(projectName string)
- func (o *GetLogsParams) SetQ(q *string)
- func (o *GetLogsParams) SetTimeout(timeout time.Duration)
- func (o *GetLogsParams) SetXRequestID(xRequestID *string)
- func (o *GetLogsParams) WithContext(ctx context.Context) *GetLogsParams
- func (o *GetLogsParams) WithHTTPClient(client *http.Client) *GetLogsParams
- func (o *GetLogsParams) WithPage(page *int64) *GetLogsParams
- func (o *GetLogsParams) WithPageSize(pageSize *int64) *GetLogsParams
- func (o *GetLogsParams) WithProjectName(projectName string) *GetLogsParams
- func (o *GetLogsParams) WithQ(q *string) *GetLogsParams
- func (o *GetLogsParams) WithTimeout(timeout time.Duration) *GetLogsParams
- func (o *GetLogsParams) WithXRequestID(xRequestID *string) *GetLogsParams
- func (o *GetLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLogsReader
- type GetLogsUnauthorized
- type GetProjectDeletableForbidden
- type GetProjectDeletableInternalServerError
- type GetProjectDeletableNotFound
- type GetProjectDeletableOK
- type GetProjectDeletableParams
- func NewGetProjectDeletableParams() *GetProjectDeletableParams
- func NewGetProjectDeletableParamsWithContext(ctx context.Context) *GetProjectDeletableParams
- func NewGetProjectDeletableParamsWithHTTPClient(client *http.Client) *GetProjectDeletableParams
- func NewGetProjectDeletableParamsWithTimeout(timeout time.Duration) *GetProjectDeletableParams
- func (o *GetProjectDeletableParams) SetContext(ctx context.Context)
- func (o *GetProjectDeletableParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectDeletableParams) SetProjectID(projectID int64)
- func (o *GetProjectDeletableParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectDeletableParams) SetXRequestID(xRequestID *string)
- func (o *GetProjectDeletableParams) WithContext(ctx context.Context) *GetProjectDeletableParams
- func (o *GetProjectDeletableParams) WithHTTPClient(client *http.Client) *GetProjectDeletableParams
- func (o *GetProjectDeletableParams) WithProjectID(projectID int64) *GetProjectDeletableParams
- func (o *GetProjectDeletableParams) WithTimeout(timeout time.Duration) *GetProjectDeletableParams
- func (o *GetProjectDeletableParams) WithXRequestID(xRequestID *string) *GetProjectDeletableParams
- func (o *GetProjectDeletableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectDeletableReader
- type GetProjectDeletableUnauthorized
- type GetProjectInternalServerError
- type GetProjectOK
- type GetProjectParams
- func (o *GetProjectParams) SetContext(ctx context.Context)
- func (o *GetProjectParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectParams) SetProjectID(projectID int64)
- func (o *GetProjectParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectParams) SetXRequestID(xRequestID *string)
- func (o *GetProjectParams) WithContext(ctx context.Context) *GetProjectParams
- func (o *GetProjectParams) WithHTTPClient(client *http.Client) *GetProjectParams
- func (o *GetProjectParams) WithProjectID(projectID int64) *GetProjectParams
- func (o *GetProjectParams) WithTimeout(timeout time.Duration) *GetProjectParams
- func (o *GetProjectParams) WithXRequestID(xRequestID *string) *GetProjectParams
- func (o *GetProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectReader
- type GetProjectSummaryBadRequest
- type GetProjectSummaryForbidden
- type GetProjectSummaryInternalServerError
- type GetProjectSummaryNotFound
- type GetProjectSummaryOK
- type GetProjectSummaryParams
- func NewGetProjectSummaryParams() *GetProjectSummaryParams
- func NewGetProjectSummaryParamsWithContext(ctx context.Context) *GetProjectSummaryParams
- func NewGetProjectSummaryParamsWithHTTPClient(client *http.Client) *GetProjectSummaryParams
- func NewGetProjectSummaryParamsWithTimeout(timeout time.Duration) *GetProjectSummaryParams
- func (o *GetProjectSummaryParams) SetContext(ctx context.Context)
- func (o *GetProjectSummaryParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectSummaryParams) SetProjectID(projectID int64)
- func (o *GetProjectSummaryParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectSummaryParams) SetXRequestID(xRequestID *string)
- func (o *GetProjectSummaryParams) WithContext(ctx context.Context) *GetProjectSummaryParams
- func (o *GetProjectSummaryParams) WithHTTPClient(client *http.Client) *GetProjectSummaryParams
- func (o *GetProjectSummaryParams) WithProjectID(projectID int64) *GetProjectSummaryParams
- func (o *GetProjectSummaryParams) WithTimeout(timeout time.Duration) *GetProjectSummaryParams
- func (o *GetProjectSummaryParams) WithXRequestID(xRequestID *string) *GetProjectSummaryParams
- func (o *GetProjectSummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectSummaryReader
- type GetProjectSummaryUnauthorized
- type GetProjectUnauthorized
- type HeadProjectInternalServerError
- type HeadProjectNotFound
- type HeadProjectOK
- type HeadProjectParams
- func (o *HeadProjectParams) SetContext(ctx context.Context)
- func (o *HeadProjectParams) SetHTTPClient(client *http.Client)
- func (o *HeadProjectParams) SetProjectName(projectName string)
- func (o *HeadProjectParams) SetTimeout(timeout time.Duration)
- func (o *HeadProjectParams) SetXRequestID(xRequestID *string)
- func (o *HeadProjectParams) WithContext(ctx context.Context) *HeadProjectParams
- func (o *HeadProjectParams) WithHTTPClient(client *http.Client) *HeadProjectParams
- func (o *HeadProjectParams) WithProjectName(projectName string) *HeadProjectParams
- func (o *HeadProjectParams) WithTimeout(timeout time.Duration) *HeadProjectParams
- func (o *HeadProjectParams) WithXRequestID(xRequestID *string) *HeadProjectParams
- func (o *HeadProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadProjectReader
- type ListProjectsInternalServerError
- type ListProjectsOK
- type ListProjectsParams
- func (o *ListProjectsParams) SetContext(ctx context.Context)
- func (o *ListProjectsParams) SetHTTPClient(client *http.Client)
- func (o *ListProjectsParams) SetName(name *string)
- func (o *ListProjectsParams) SetOwner(owner *string)
- func (o *ListProjectsParams) SetPage(page *int64)
- func (o *ListProjectsParams) SetPageSize(pageSize *int64)
- func (o *ListProjectsParams) SetPublic(public *bool)
- func (o *ListProjectsParams) SetTimeout(timeout time.Duration)
- func (o *ListProjectsParams) SetXRequestID(xRequestID *string)
- func (o *ListProjectsParams) WithContext(ctx context.Context) *ListProjectsParams
- func (o *ListProjectsParams) WithHTTPClient(client *http.Client) *ListProjectsParams
- func (o *ListProjectsParams) WithName(name *string) *ListProjectsParams
- func (o *ListProjectsParams) WithOwner(owner *string) *ListProjectsParams
- func (o *ListProjectsParams) WithPage(page *int64) *ListProjectsParams
- func (o *ListProjectsParams) WithPageSize(pageSize *int64) *ListProjectsParams
- func (o *ListProjectsParams) WithPublic(public *bool) *ListProjectsParams
- func (o *ListProjectsParams) WithTimeout(timeout time.Duration) *ListProjectsParams
- func (o *ListProjectsParams) WithXRequestID(xRequestID *string) *ListProjectsParams
- func (o *ListProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProjectsReader
- type ListProjectsUnauthorized
- type UpdateProjectBadRequest
- type UpdateProjectForbidden
- type UpdateProjectInternalServerError
- type UpdateProjectNotFound
- type UpdateProjectOK
- type UpdateProjectParams
- func (o *UpdateProjectParams) SetContext(ctx context.Context)
- func (o *UpdateProjectParams) SetHTTPClient(client *http.Client)
- func (o *UpdateProjectParams) SetProject(project *models.ProjectReq)
- func (o *UpdateProjectParams) SetProjectID(projectID int64)
- func (o *UpdateProjectParams) SetTimeout(timeout time.Duration)
- func (o *UpdateProjectParams) SetXRequestID(xRequestID *string)
- func (o *UpdateProjectParams) WithContext(ctx context.Context) *UpdateProjectParams
- func (o *UpdateProjectParams) WithHTTPClient(client *http.Client) *UpdateProjectParams
- func (o *UpdateProjectParams) WithProject(project *models.ProjectReq) *UpdateProjectParams
- func (o *UpdateProjectParams) WithProjectID(projectID int64) *UpdateProjectParams
- func (o *UpdateProjectParams) WithTimeout(timeout time.Duration) *UpdateProjectParams
- func (o *UpdateProjectParams) WithXRequestID(xRequestID *string) *UpdateProjectParams
- func (o *UpdateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateProjectReader
- type UpdateProjectUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for project API
func (*Client) CreateProject ¶
func (a *Client) CreateProject(params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateProjectCreated, error)
CreateProject creates a new project
This endpoint is for user to create a new project.
func (*Client) DeleteProject ¶
func (a *Client) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteProjectOK, error)
DeleteProject deletes project by project ID
This endpoint is aimed to delete project by project ID.
func (*Client) GetLogs ¶
func (a *Client) GetLogs(params *GetLogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetLogsOK, error)
GetLogs gets recent logs of the projects
Get recent logs of the projects
func (*Client) GetProject ¶
func (a *Client) GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectOK, error)
GetProject returns specific project detail information
This endpoint returns specific project information by project ID.
func (*Client) GetProjectDeletable ¶
func (a *Client) GetProjectDeletable(params *GetProjectDeletableParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectDeletableOK, error)
GetProjectDeletable gets the deletable status of the project
Get the deletable status of the project
func (*Client) GetProjectSummary ¶
func (a *Client) GetProjectSummary(params *GetProjectSummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectSummaryOK, error)
GetProjectSummary gets summary of the project
Get summary of the project.
func (*Client) HeadProject ¶
func (a *Client) HeadProject(params *HeadProjectParams, authInfo runtime.ClientAuthInfoWriter) (*HeadProjectOK, error)
HeadProject checks if the project name user provided already exists
This endpoint is used to check if the project name provided already exist.
func (*Client) ListProjects ¶
func (a *Client) ListProjects(params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*ListProjectsOK, error)
ListProjects lists projects
This endpoint returns projects created by Harbor.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateProject ¶
func (a *Client) UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateProjectOK, error)
UpdateProject updates properties for a selected project
This endpoint is aimed to update the properties of a project.
type ClientService ¶
type ClientService interface { CreateProject(params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateProjectCreated, error) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteProjectOK, error) GetLogs(params *GetLogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetLogsOK, error) GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectOK, error) GetProjectDeletable(params *GetProjectDeletableParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectDeletableOK, error) GetProjectSummary(params *GetProjectSummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectSummaryOK, error) HeadProject(params *HeadProjectParams, authInfo runtime.ClientAuthInfoWriter) (*HeadProjectOK, error) ListProjects(params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*ListProjectsOK, error) UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateProjectOK, 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 project API client.
type CreateProjectBadRequest ¶
type CreateProjectBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateProjectBadRequest handles this case with default header values.
Bad request
func NewCreateProjectBadRequest ¶
func NewCreateProjectBadRequest() *CreateProjectBadRequest
NewCreateProjectBadRequest creates a CreateProjectBadRequest with default headers values
func (*CreateProjectBadRequest) Error ¶
func (o *CreateProjectBadRequest) Error() string
func (*CreateProjectBadRequest) GetPayload ¶
func (o *CreateProjectBadRequest) GetPayload() *models.Errors
type CreateProjectConflict ¶
type CreateProjectConflict struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateProjectConflict handles this case with default header values.
Conflict
func NewCreateProjectConflict ¶
func NewCreateProjectConflict() *CreateProjectConflict
NewCreateProjectConflict creates a CreateProjectConflict with default headers values
func (*CreateProjectConflict) Error ¶
func (o *CreateProjectConflict) Error() string
func (*CreateProjectConflict) GetPayload ¶
func (o *CreateProjectConflict) GetPayload() *models.Errors
type CreateProjectCreated ¶
type CreateProjectCreated struct { /*The location of the resource */ Location string /*The ID of the corresponding request for the response */ XRequestID string }
CreateProjectCreated handles this case with default header values.
Created
func NewCreateProjectCreated ¶
func NewCreateProjectCreated() *CreateProjectCreated
NewCreateProjectCreated creates a CreateProjectCreated with default headers values
func (*CreateProjectCreated) Error ¶
func (o *CreateProjectCreated) Error() string
type CreateProjectInternalServerError ¶
type CreateProjectInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateProjectInternalServerError handles this case with default header values.
Internal server error
func NewCreateProjectInternalServerError ¶
func NewCreateProjectInternalServerError() *CreateProjectInternalServerError
NewCreateProjectInternalServerError creates a CreateProjectInternalServerError with default headers values
func (*CreateProjectInternalServerError) Error ¶
func (o *CreateProjectInternalServerError) Error() string
func (*CreateProjectInternalServerError) GetPayload ¶
func (o *CreateProjectInternalServerError) GetPayload() *models.Errors
type CreateProjectParams ¶
type CreateProjectParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*Project New created project. */ Project *models.ProjectReq Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateProjectParams contains all the parameters to send to the API endpoint for the create project operation typically these are written to a http.Request
func NewCreateProjectParams ¶
func NewCreateProjectParams() *CreateProjectParams
NewCreateProjectParams creates a new CreateProjectParams object with the default values initialized.
func NewCreateProjectParamsWithContext ¶
func NewCreateProjectParamsWithContext(ctx context.Context) *CreateProjectParams
NewCreateProjectParamsWithContext creates a new CreateProjectParams object with the default values initialized, and the ability to set a context for a request
func NewCreateProjectParamsWithHTTPClient ¶
func NewCreateProjectParamsWithHTTPClient(client *http.Client) *CreateProjectParams
NewCreateProjectParamsWithHTTPClient creates a new CreateProjectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateProjectParamsWithTimeout ¶
func NewCreateProjectParamsWithTimeout(timeout time.Duration) *CreateProjectParams
NewCreateProjectParamsWithTimeout creates a new CreateProjectParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateProjectParams) SetContext ¶
func (o *CreateProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the create project params
func (*CreateProjectParams) SetHTTPClient ¶
func (o *CreateProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create project params
func (*CreateProjectParams) SetProject ¶
func (o *CreateProjectParams) SetProject(project *models.ProjectReq)
SetProject adds the project to the create project params
func (*CreateProjectParams) SetTimeout ¶
func (o *CreateProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create project params
func (*CreateProjectParams) SetXRequestID ¶
func (o *CreateProjectParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create project params
func (*CreateProjectParams) WithContext ¶
func (o *CreateProjectParams) WithContext(ctx context.Context) *CreateProjectParams
WithContext adds the context to the create project params
func (*CreateProjectParams) WithHTTPClient ¶
func (o *CreateProjectParams) WithHTTPClient(client *http.Client) *CreateProjectParams
WithHTTPClient adds the HTTPClient to the create project params
func (*CreateProjectParams) WithProject ¶
func (o *CreateProjectParams) WithProject(project *models.ProjectReq) *CreateProjectParams
WithProject adds the project to the create project params
func (*CreateProjectParams) WithTimeout ¶
func (o *CreateProjectParams) WithTimeout(timeout time.Duration) *CreateProjectParams
WithTimeout adds the timeout to the create project params
func (*CreateProjectParams) WithXRequestID ¶
func (o *CreateProjectParams) WithXRequestID(xRequestID *string) *CreateProjectParams
WithXRequestID adds the xRequestID to the create project params
func (*CreateProjectParams) WriteToRequest ¶
func (o *CreateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateProjectReader ¶
type CreateProjectReader struct {
// contains filtered or unexported fields
}
CreateProjectReader is a Reader for the CreateProject structure.
func (*CreateProjectReader) ReadResponse ¶
func (o *CreateProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateProjectUnauthorized ¶
type CreateProjectUnauthorized struct { string }XRequestID
CreateProjectUnauthorized handles this case with default header values.
Unauthorized
func NewCreateProjectUnauthorized ¶
func NewCreateProjectUnauthorized() *CreateProjectUnauthorized
NewCreateProjectUnauthorized creates a CreateProjectUnauthorized with default headers values
func (*CreateProjectUnauthorized) Error ¶
func (o *CreateProjectUnauthorized) Error() string
func (*CreateProjectUnauthorized) GetPayload ¶
func (o *CreateProjectUnauthorized) GetPayload() *models.Errors
type DeleteProjectBadRequest ¶
type DeleteProjectBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteProjectBadRequest handles this case with default header values.
Bad request
func NewDeleteProjectBadRequest ¶
func NewDeleteProjectBadRequest() *DeleteProjectBadRequest
NewDeleteProjectBadRequest creates a DeleteProjectBadRequest with default headers values
func (*DeleteProjectBadRequest) Error ¶
func (o *DeleteProjectBadRequest) Error() string
func (*DeleteProjectBadRequest) GetPayload ¶
func (o *DeleteProjectBadRequest) GetPayload() *models.Errors
type DeleteProjectForbidden ¶
type DeleteProjectForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteProjectForbidden handles this case with default header values.
Forbidden
func NewDeleteProjectForbidden ¶
func NewDeleteProjectForbidden() *DeleteProjectForbidden
NewDeleteProjectForbidden creates a DeleteProjectForbidden with default headers values
func (*DeleteProjectForbidden) Error ¶
func (o *DeleteProjectForbidden) Error() string
func (*DeleteProjectForbidden) GetPayload ¶
func (o *DeleteProjectForbidden) GetPayload() *models.Errors
type DeleteProjectInternalServerError ¶
type DeleteProjectInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteProjectInternalServerError handles this case with default header values.
Internal server error
func NewDeleteProjectInternalServerError ¶
func NewDeleteProjectInternalServerError() *DeleteProjectInternalServerError
NewDeleteProjectInternalServerError creates a DeleteProjectInternalServerError with default headers values
func (*DeleteProjectInternalServerError) Error ¶
func (o *DeleteProjectInternalServerError) Error() string
func (*DeleteProjectInternalServerError) GetPayload ¶
func (o *DeleteProjectInternalServerError) GetPayload() *models.Errors
type DeleteProjectNotFound ¶
type DeleteProjectNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteProjectNotFound handles this case with default header values.
Not found
func NewDeleteProjectNotFound ¶
func NewDeleteProjectNotFound() *DeleteProjectNotFound
NewDeleteProjectNotFound creates a DeleteProjectNotFound with default headers values
func (*DeleteProjectNotFound) Error ¶
func (o *DeleteProjectNotFound) Error() string
func (*DeleteProjectNotFound) GetPayload ¶
func (o *DeleteProjectNotFound) GetPayload() *models.Errors
type DeleteProjectOK ¶
type DeleteProjectOK struct { /*The ID of the corresponding request for the response */ XRequestID string }
DeleteProjectOK handles this case with default header values.
Success
func NewDeleteProjectOK ¶
func NewDeleteProjectOK() *DeleteProjectOK
NewDeleteProjectOK creates a DeleteProjectOK with default headers values
func (*DeleteProjectOK) Error ¶
func (o *DeleteProjectOK) Error() string
type DeleteProjectParams ¶
type DeleteProjectParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*ProjectID The ID of the project */ ProjectID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteProjectParams contains all the parameters to send to the API endpoint for the delete project operation typically these are written to a http.Request
func NewDeleteProjectParams ¶
func NewDeleteProjectParams() *DeleteProjectParams
NewDeleteProjectParams creates a new DeleteProjectParams object with the default values initialized.
func NewDeleteProjectParamsWithContext ¶
func NewDeleteProjectParamsWithContext(ctx context.Context) *DeleteProjectParams
NewDeleteProjectParamsWithContext creates a new DeleteProjectParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteProjectParamsWithHTTPClient ¶
func NewDeleteProjectParamsWithHTTPClient(client *http.Client) *DeleteProjectParams
NewDeleteProjectParamsWithHTTPClient creates a new DeleteProjectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteProjectParamsWithTimeout ¶
func NewDeleteProjectParamsWithTimeout(timeout time.Duration) *DeleteProjectParams
NewDeleteProjectParamsWithTimeout creates a new DeleteProjectParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteProjectParams) SetContext ¶
func (o *DeleteProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the delete project params
func (*DeleteProjectParams) SetHTTPClient ¶
func (o *DeleteProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete project params
func (*DeleteProjectParams) SetProjectID ¶
func (o *DeleteProjectParams) SetProjectID(projectID int64)
SetProjectID adds the projectId to the delete project params
func (*DeleteProjectParams) SetTimeout ¶
func (o *DeleteProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete project params
func (*DeleteProjectParams) SetXRequestID ¶
func (o *DeleteProjectParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete project params
func (*DeleteProjectParams) WithContext ¶
func (o *DeleteProjectParams) WithContext(ctx context.Context) *DeleteProjectParams
WithContext adds the context to the delete project params
func (*DeleteProjectParams) WithHTTPClient ¶
func (o *DeleteProjectParams) WithHTTPClient(client *http.Client) *DeleteProjectParams
WithHTTPClient adds the HTTPClient to the delete project params
func (*DeleteProjectParams) WithProjectID ¶
func (o *DeleteProjectParams) WithProjectID(projectID int64) *DeleteProjectParams
WithProjectID adds the projectID to the delete project params
func (*DeleteProjectParams) WithTimeout ¶
func (o *DeleteProjectParams) WithTimeout(timeout time.Duration) *DeleteProjectParams
WithTimeout adds the timeout to the delete project params
func (*DeleteProjectParams) WithXRequestID ¶
func (o *DeleteProjectParams) WithXRequestID(xRequestID *string) *DeleteProjectParams
WithXRequestID adds the xRequestID to the delete project params
func (*DeleteProjectParams) WriteToRequest ¶
func (o *DeleteProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteProjectPreconditionFailed ¶
type DeleteProjectPreconditionFailed struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteProjectPreconditionFailed handles this case with default header values.
Precondition failed
func NewDeleteProjectPreconditionFailed ¶
func NewDeleteProjectPreconditionFailed() *DeleteProjectPreconditionFailed
NewDeleteProjectPreconditionFailed creates a DeleteProjectPreconditionFailed with default headers values
func (*DeleteProjectPreconditionFailed) Error ¶
func (o *DeleteProjectPreconditionFailed) Error() string
func (*DeleteProjectPreconditionFailed) GetPayload ¶
func (o *DeleteProjectPreconditionFailed) GetPayload() *models.Errors
type DeleteProjectReader ¶
type DeleteProjectReader struct {
// contains filtered or unexported fields
}
DeleteProjectReader is a Reader for the DeleteProject structure.
func (*DeleteProjectReader) ReadResponse ¶
func (o *DeleteProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLogsBadRequest ¶
type GetLogsBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetLogsBadRequest handles this case with default header values.
Bad request
func NewGetLogsBadRequest ¶
func NewGetLogsBadRequest() *GetLogsBadRequest
NewGetLogsBadRequest creates a GetLogsBadRequest with default headers values
func (*GetLogsBadRequest) Error ¶
func (o *GetLogsBadRequest) Error() string
func (*GetLogsBadRequest) GetPayload ¶
func (o *GetLogsBadRequest) GetPayload() *models.Errors
type GetLogsInternalServerError ¶
type GetLogsInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetLogsInternalServerError handles this case with default header values.
Internal server error
func NewGetLogsInternalServerError ¶
func NewGetLogsInternalServerError() *GetLogsInternalServerError
NewGetLogsInternalServerError creates a GetLogsInternalServerError with default headers values
func (*GetLogsInternalServerError) Error ¶
func (o *GetLogsInternalServerError) Error() string
func (*GetLogsInternalServerError) GetPayload ¶
func (o *GetLogsInternalServerError) GetPayload() *models.Errors
type GetLogsOK ¶
type GetLogsOK struct { /*Link refers to the previous page and next page */ Link string /*The total count of auditlogs */ XTotalCount int64 Payload []*models.AuditLog }
GetLogsOK handles this case with default header values.
Success
func NewGetLogsOK ¶
func NewGetLogsOK() *GetLogsOK
NewGetLogsOK creates a GetLogsOK with default headers values
func (*GetLogsOK) GetPayload ¶
type GetLogsParams ¶
type GetLogsParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*Page The page number */ Page *int64 /*PageSize The size of per page */ PageSize *int64 /*ProjectName The name of the project */ ProjectName string /*Q Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max] */ Q *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLogsParams contains all the parameters to send to the API endpoint for the get logs operation typically these are written to a http.Request
func NewGetLogsParams ¶
func NewGetLogsParams() *GetLogsParams
NewGetLogsParams creates a new GetLogsParams object with the default values initialized.
func NewGetLogsParamsWithContext ¶
func NewGetLogsParamsWithContext(ctx context.Context) *GetLogsParams
NewGetLogsParamsWithContext creates a new GetLogsParams object with the default values initialized, and the ability to set a context for a request
func NewGetLogsParamsWithHTTPClient ¶
func NewGetLogsParamsWithHTTPClient(client *http.Client) *GetLogsParams
NewGetLogsParamsWithHTTPClient creates a new GetLogsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetLogsParamsWithTimeout ¶
func NewGetLogsParamsWithTimeout(timeout time.Duration) *GetLogsParams
NewGetLogsParamsWithTimeout creates a new GetLogsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetLogsParams) SetContext ¶
func (o *GetLogsParams) SetContext(ctx context.Context)
SetContext adds the context to the get logs params
func (*GetLogsParams) SetHTTPClient ¶
func (o *GetLogsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get logs params
func (*GetLogsParams) SetPage ¶
func (o *GetLogsParams) SetPage(page *int64)
SetPage adds the page to the get logs params
func (*GetLogsParams) SetPageSize ¶
func (o *GetLogsParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the get logs params
func (*GetLogsParams) SetProjectName ¶
func (o *GetLogsParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the get logs params
func (*GetLogsParams) SetQ ¶
func (o *GetLogsParams) SetQ(q *string)
SetQ adds the q to the get logs params
func (*GetLogsParams) SetTimeout ¶
func (o *GetLogsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get logs params
func (*GetLogsParams) SetXRequestID ¶
func (o *GetLogsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get logs params
func (*GetLogsParams) WithContext ¶
func (o *GetLogsParams) WithContext(ctx context.Context) *GetLogsParams
WithContext adds the context to the get logs params
func (*GetLogsParams) WithHTTPClient ¶
func (o *GetLogsParams) WithHTTPClient(client *http.Client) *GetLogsParams
WithHTTPClient adds the HTTPClient to the get logs params
func (*GetLogsParams) WithPage ¶
func (o *GetLogsParams) WithPage(page *int64) *GetLogsParams
WithPage adds the page to the get logs params
func (*GetLogsParams) WithPageSize ¶
func (o *GetLogsParams) WithPageSize(pageSize *int64) *GetLogsParams
WithPageSize adds the pageSize to the get logs params
func (*GetLogsParams) WithProjectName ¶
func (o *GetLogsParams) WithProjectName(projectName string) *GetLogsParams
WithProjectName adds the projectName to the get logs params
func (*GetLogsParams) WithQ ¶
func (o *GetLogsParams) WithQ(q *string) *GetLogsParams
WithQ adds the q to the get logs params
func (*GetLogsParams) WithTimeout ¶
func (o *GetLogsParams) WithTimeout(timeout time.Duration) *GetLogsParams
WithTimeout adds the timeout to the get logs params
func (*GetLogsParams) WithXRequestID ¶
func (o *GetLogsParams) WithXRequestID(xRequestID *string) *GetLogsParams
WithXRequestID adds the xRequestID to the get logs params
func (*GetLogsParams) WriteToRequest ¶
func (o *GetLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLogsReader ¶
type GetLogsReader struct {
// contains filtered or unexported fields
}
GetLogsReader is a Reader for the GetLogs structure.
func (*GetLogsReader) ReadResponse ¶
func (o *GetLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLogsUnauthorized ¶
type GetLogsUnauthorized struct { string }XRequestID
GetLogsUnauthorized handles this case with default header values.
Unauthorized
func NewGetLogsUnauthorized ¶
func NewGetLogsUnauthorized() *GetLogsUnauthorized
NewGetLogsUnauthorized creates a GetLogsUnauthorized with default headers values
func (*GetLogsUnauthorized) Error ¶
func (o *GetLogsUnauthorized) Error() string
func (*GetLogsUnauthorized) GetPayload ¶
func (o *GetLogsUnauthorized) GetPayload() *models.Errors
type GetProjectDeletableForbidden ¶
type GetProjectDeletableForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectDeletableForbidden handles this case with default header values.
Forbidden
func NewGetProjectDeletableForbidden ¶
func NewGetProjectDeletableForbidden() *GetProjectDeletableForbidden
NewGetProjectDeletableForbidden creates a GetProjectDeletableForbidden with default headers values
func (*GetProjectDeletableForbidden) Error ¶
func (o *GetProjectDeletableForbidden) Error() string
func (*GetProjectDeletableForbidden) GetPayload ¶
func (o *GetProjectDeletableForbidden) GetPayload() *models.Errors
type GetProjectDeletableInternalServerError ¶
type GetProjectDeletableInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectDeletableInternalServerError handles this case with default header values.
Internal server error
func NewGetProjectDeletableInternalServerError ¶
func NewGetProjectDeletableInternalServerError() *GetProjectDeletableInternalServerError
NewGetProjectDeletableInternalServerError creates a GetProjectDeletableInternalServerError with default headers values
func (*GetProjectDeletableInternalServerError) Error ¶
func (o *GetProjectDeletableInternalServerError) Error() string
func (*GetProjectDeletableInternalServerError) GetPayload ¶
func (o *GetProjectDeletableInternalServerError) GetPayload() *models.Errors
type GetProjectDeletableNotFound ¶
type GetProjectDeletableNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectDeletableNotFound handles this case with default header values.
Not found
func NewGetProjectDeletableNotFound ¶
func NewGetProjectDeletableNotFound() *GetProjectDeletableNotFound
NewGetProjectDeletableNotFound creates a GetProjectDeletableNotFound with default headers values
func (*GetProjectDeletableNotFound) Error ¶
func (o *GetProjectDeletableNotFound) Error() string
func (*GetProjectDeletableNotFound) GetPayload ¶
func (o *GetProjectDeletableNotFound) GetPayload() *models.Errors
type GetProjectDeletableOK ¶
type GetProjectDeletableOK struct {
Payload *models.ProjectDeletable
}
GetProjectDeletableOK handles this case with default header values.
Return deletable status of the project.
func NewGetProjectDeletableOK ¶
func NewGetProjectDeletableOK() *GetProjectDeletableOK
NewGetProjectDeletableOK creates a GetProjectDeletableOK with default headers values
func (*GetProjectDeletableOK) Error ¶
func (o *GetProjectDeletableOK) Error() string
func (*GetProjectDeletableOK) GetPayload ¶
func (o *GetProjectDeletableOK) GetPayload() *models.ProjectDeletable
type GetProjectDeletableParams ¶
type GetProjectDeletableParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*ProjectID The ID of the project */ ProjectID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProjectDeletableParams contains all the parameters to send to the API endpoint for the get project deletable operation typically these are written to a http.Request
func NewGetProjectDeletableParams ¶
func NewGetProjectDeletableParams() *GetProjectDeletableParams
NewGetProjectDeletableParams creates a new GetProjectDeletableParams object with the default values initialized.
func NewGetProjectDeletableParamsWithContext ¶
func NewGetProjectDeletableParamsWithContext(ctx context.Context) *GetProjectDeletableParams
NewGetProjectDeletableParamsWithContext creates a new GetProjectDeletableParams object with the default values initialized, and the ability to set a context for a request
func NewGetProjectDeletableParamsWithHTTPClient ¶
func NewGetProjectDeletableParamsWithHTTPClient(client *http.Client) *GetProjectDeletableParams
NewGetProjectDeletableParamsWithHTTPClient creates a new GetProjectDeletableParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetProjectDeletableParamsWithTimeout ¶
func NewGetProjectDeletableParamsWithTimeout(timeout time.Duration) *GetProjectDeletableParams
NewGetProjectDeletableParamsWithTimeout creates a new GetProjectDeletableParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetProjectDeletableParams) SetContext ¶
func (o *GetProjectDeletableParams) SetContext(ctx context.Context)
SetContext adds the context to the get project deletable params
func (*GetProjectDeletableParams) SetHTTPClient ¶
func (o *GetProjectDeletableParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get project deletable params
func (*GetProjectDeletableParams) SetProjectID ¶
func (o *GetProjectDeletableParams) SetProjectID(projectID int64)
SetProjectID adds the projectId to the get project deletable params
func (*GetProjectDeletableParams) SetTimeout ¶
func (o *GetProjectDeletableParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get project deletable params
func (*GetProjectDeletableParams) SetXRequestID ¶
func (o *GetProjectDeletableParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get project deletable params
func (*GetProjectDeletableParams) WithContext ¶
func (o *GetProjectDeletableParams) WithContext(ctx context.Context) *GetProjectDeletableParams
WithContext adds the context to the get project deletable params
func (*GetProjectDeletableParams) WithHTTPClient ¶
func (o *GetProjectDeletableParams) WithHTTPClient(client *http.Client) *GetProjectDeletableParams
WithHTTPClient adds the HTTPClient to the get project deletable params
func (*GetProjectDeletableParams) WithProjectID ¶
func (o *GetProjectDeletableParams) WithProjectID(projectID int64) *GetProjectDeletableParams
WithProjectID adds the projectID to the get project deletable params
func (*GetProjectDeletableParams) WithTimeout ¶
func (o *GetProjectDeletableParams) WithTimeout(timeout time.Duration) *GetProjectDeletableParams
WithTimeout adds the timeout to the get project deletable params
func (*GetProjectDeletableParams) WithXRequestID ¶
func (o *GetProjectDeletableParams) WithXRequestID(xRequestID *string) *GetProjectDeletableParams
WithXRequestID adds the xRequestID to the get project deletable params
func (*GetProjectDeletableParams) WriteToRequest ¶
func (o *GetProjectDeletableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjectDeletableReader ¶
type GetProjectDeletableReader struct {
// contains filtered or unexported fields
}
GetProjectDeletableReader is a Reader for the GetProjectDeletable structure.
func (*GetProjectDeletableReader) ReadResponse ¶
func (o *GetProjectDeletableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjectDeletableUnauthorized ¶
type GetProjectDeletableUnauthorized struct { string }XRequestID
GetProjectDeletableUnauthorized handles this case with default header values.
Unauthorized
func NewGetProjectDeletableUnauthorized ¶
func NewGetProjectDeletableUnauthorized() *GetProjectDeletableUnauthorized
NewGetProjectDeletableUnauthorized creates a GetProjectDeletableUnauthorized with default headers values
func (*GetProjectDeletableUnauthorized) Error ¶
func (o *GetProjectDeletableUnauthorized) Error() string
func (*GetProjectDeletableUnauthorized) GetPayload ¶
func (o *GetProjectDeletableUnauthorized) GetPayload() *models.Errors
type GetProjectInternalServerError ¶
type GetProjectInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectInternalServerError handles this case with default header values.
Internal server error
func NewGetProjectInternalServerError ¶
func NewGetProjectInternalServerError() *GetProjectInternalServerError
NewGetProjectInternalServerError creates a GetProjectInternalServerError with default headers values
func (*GetProjectInternalServerError) Error ¶
func (o *GetProjectInternalServerError) Error() string
func (*GetProjectInternalServerError) GetPayload ¶
func (o *GetProjectInternalServerError) GetPayload() *models.Errors
type GetProjectOK ¶
GetProjectOK handles this case with default header values.
Return matched project information.
func NewGetProjectOK ¶
func NewGetProjectOK() *GetProjectOK
NewGetProjectOK creates a GetProjectOK with default headers values
func (*GetProjectOK) Error ¶
func (o *GetProjectOK) Error() string
func (*GetProjectOK) GetPayload ¶
func (o *GetProjectOK) GetPayload() *models.Project
type GetProjectParams ¶
type GetProjectParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*ProjectID The ID of the project */ ProjectID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProjectParams contains all the parameters to send to the API endpoint for the get project operation typically these are written to a http.Request
func NewGetProjectParams ¶
func NewGetProjectParams() *GetProjectParams
NewGetProjectParams creates a new GetProjectParams object with the default values initialized.
func NewGetProjectParamsWithContext ¶
func NewGetProjectParamsWithContext(ctx context.Context) *GetProjectParams
NewGetProjectParamsWithContext creates a new GetProjectParams object with the default values initialized, and the ability to set a context for a request
func NewGetProjectParamsWithHTTPClient ¶
func NewGetProjectParamsWithHTTPClient(client *http.Client) *GetProjectParams
NewGetProjectParamsWithHTTPClient creates a new GetProjectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetProjectParamsWithTimeout ¶
func NewGetProjectParamsWithTimeout(timeout time.Duration) *GetProjectParams
NewGetProjectParamsWithTimeout creates a new GetProjectParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetProjectParams) SetContext ¶
func (o *GetProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the get project params
func (*GetProjectParams) SetHTTPClient ¶
func (o *GetProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get project params
func (*GetProjectParams) SetProjectID ¶
func (o *GetProjectParams) SetProjectID(projectID int64)
SetProjectID adds the projectId to the get project params
func (*GetProjectParams) SetTimeout ¶
func (o *GetProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get project params
func (*GetProjectParams) SetXRequestID ¶
func (o *GetProjectParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get project params
func (*GetProjectParams) WithContext ¶
func (o *GetProjectParams) WithContext(ctx context.Context) *GetProjectParams
WithContext adds the context to the get project params
func (*GetProjectParams) WithHTTPClient ¶
func (o *GetProjectParams) WithHTTPClient(client *http.Client) *GetProjectParams
WithHTTPClient adds the HTTPClient to the get project params
func (*GetProjectParams) WithProjectID ¶
func (o *GetProjectParams) WithProjectID(projectID int64) *GetProjectParams
WithProjectID adds the projectID to the get project params
func (*GetProjectParams) WithTimeout ¶
func (o *GetProjectParams) WithTimeout(timeout time.Duration) *GetProjectParams
WithTimeout adds the timeout to the get project params
func (*GetProjectParams) WithXRequestID ¶
func (o *GetProjectParams) WithXRequestID(xRequestID *string) *GetProjectParams
WithXRequestID adds the xRequestID to the get project params
func (*GetProjectParams) WriteToRequest ¶
func (o *GetProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjectReader ¶
type GetProjectReader struct {
// contains filtered or unexported fields
}
GetProjectReader is a Reader for the GetProject structure.
func (*GetProjectReader) ReadResponse ¶
func (o *GetProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjectSummaryBadRequest ¶
type GetProjectSummaryBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectSummaryBadRequest handles this case with default header values.
Bad request
func NewGetProjectSummaryBadRequest ¶
func NewGetProjectSummaryBadRequest() *GetProjectSummaryBadRequest
NewGetProjectSummaryBadRequest creates a GetProjectSummaryBadRequest with default headers values
func (*GetProjectSummaryBadRequest) Error ¶
func (o *GetProjectSummaryBadRequest) Error() string
func (*GetProjectSummaryBadRequest) GetPayload ¶
func (o *GetProjectSummaryBadRequest) GetPayload() *models.Errors
type GetProjectSummaryForbidden ¶
type GetProjectSummaryForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectSummaryForbidden handles this case with default header values.
Forbidden
func NewGetProjectSummaryForbidden ¶
func NewGetProjectSummaryForbidden() *GetProjectSummaryForbidden
NewGetProjectSummaryForbidden creates a GetProjectSummaryForbidden with default headers values
func (*GetProjectSummaryForbidden) Error ¶
func (o *GetProjectSummaryForbidden) Error() string
func (*GetProjectSummaryForbidden) GetPayload ¶
func (o *GetProjectSummaryForbidden) GetPayload() *models.Errors
type GetProjectSummaryInternalServerError ¶
type GetProjectSummaryInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectSummaryInternalServerError handles this case with default header values.
Internal server error
func NewGetProjectSummaryInternalServerError ¶
func NewGetProjectSummaryInternalServerError() *GetProjectSummaryInternalServerError
NewGetProjectSummaryInternalServerError creates a GetProjectSummaryInternalServerError with default headers values
func (*GetProjectSummaryInternalServerError) Error ¶
func (o *GetProjectSummaryInternalServerError) Error() string
func (*GetProjectSummaryInternalServerError) GetPayload ¶
func (o *GetProjectSummaryInternalServerError) GetPayload() *models.Errors
type GetProjectSummaryNotFound ¶
type GetProjectSummaryNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectSummaryNotFound handles this case with default header values.
Not found
func NewGetProjectSummaryNotFound ¶
func NewGetProjectSummaryNotFound() *GetProjectSummaryNotFound
NewGetProjectSummaryNotFound creates a GetProjectSummaryNotFound with default headers values
func (*GetProjectSummaryNotFound) Error ¶
func (o *GetProjectSummaryNotFound) Error() string
func (*GetProjectSummaryNotFound) GetPayload ¶
func (o *GetProjectSummaryNotFound) GetPayload() *models.Errors
type GetProjectSummaryOK ¶
type GetProjectSummaryOK struct {
Payload *models.ProjectSummary
}
GetProjectSummaryOK handles this case with default header values.
Get summary of the project successfully.
func NewGetProjectSummaryOK ¶
func NewGetProjectSummaryOK() *GetProjectSummaryOK
NewGetProjectSummaryOK creates a GetProjectSummaryOK with default headers values
func (*GetProjectSummaryOK) Error ¶
func (o *GetProjectSummaryOK) Error() string
func (*GetProjectSummaryOK) GetPayload ¶
func (o *GetProjectSummaryOK) GetPayload() *models.ProjectSummary
type GetProjectSummaryParams ¶
type GetProjectSummaryParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*ProjectID The ID of the project */ ProjectID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProjectSummaryParams contains all the parameters to send to the API endpoint for the get project summary operation typically these are written to a http.Request
func NewGetProjectSummaryParams ¶
func NewGetProjectSummaryParams() *GetProjectSummaryParams
NewGetProjectSummaryParams creates a new GetProjectSummaryParams object with the default values initialized.
func NewGetProjectSummaryParamsWithContext ¶
func NewGetProjectSummaryParamsWithContext(ctx context.Context) *GetProjectSummaryParams
NewGetProjectSummaryParamsWithContext creates a new GetProjectSummaryParams object with the default values initialized, and the ability to set a context for a request
func NewGetProjectSummaryParamsWithHTTPClient ¶
func NewGetProjectSummaryParamsWithHTTPClient(client *http.Client) *GetProjectSummaryParams
NewGetProjectSummaryParamsWithHTTPClient creates a new GetProjectSummaryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetProjectSummaryParamsWithTimeout ¶
func NewGetProjectSummaryParamsWithTimeout(timeout time.Duration) *GetProjectSummaryParams
NewGetProjectSummaryParamsWithTimeout creates a new GetProjectSummaryParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetProjectSummaryParams) SetContext ¶
func (o *GetProjectSummaryParams) SetContext(ctx context.Context)
SetContext adds the context to the get project summary params
func (*GetProjectSummaryParams) SetHTTPClient ¶
func (o *GetProjectSummaryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get project summary params
func (*GetProjectSummaryParams) SetProjectID ¶
func (o *GetProjectSummaryParams) SetProjectID(projectID int64)
SetProjectID adds the projectId to the get project summary params
func (*GetProjectSummaryParams) SetTimeout ¶
func (o *GetProjectSummaryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get project summary params
func (*GetProjectSummaryParams) SetXRequestID ¶
func (o *GetProjectSummaryParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get project summary params
func (*GetProjectSummaryParams) WithContext ¶
func (o *GetProjectSummaryParams) WithContext(ctx context.Context) *GetProjectSummaryParams
WithContext adds the context to the get project summary params
func (*GetProjectSummaryParams) WithHTTPClient ¶
func (o *GetProjectSummaryParams) WithHTTPClient(client *http.Client) *GetProjectSummaryParams
WithHTTPClient adds the HTTPClient to the get project summary params
func (*GetProjectSummaryParams) WithProjectID ¶
func (o *GetProjectSummaryParams) WithProjectID(projectID int64) *GetProjectSummaryParams
WithProjectID adds the projectID to the get project summary params
func (*GetProjectSummaryParams) WithTimeout ¶
func (o *GetProjectSummaryParams) WithTimeout(timeout time.Duration) *GetProjectSummaryParams
WithTimeout adds the timeout to the get project summary params
func (*GetProjectSummaryParams) WithXRequestID ¶
func (o *GetProjectSummaryParams) WithXRequestID(xRequestID *string) *GetProjectSummaryParams
WithXRequestID adds the xRequestID to the get project summary params
func (*GetProjectSummaryParams) WriteToRequest ¶
func (o *GetProjectSummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjectSummaryReader ¶
type GetProjectSummaryReader struct {
// contains filtered or unexported fields
}
GetProjectSummaryReader is a Reader for the GetProjectSummary structure.
func (*GetProjectSummaryReader) ReadResponse ¶
func (o *GetProjectSummaryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjectSummaryUnauthorized ¶
type GetProjectSummaryUnauthorized struct { string }XRequestID
GetProjectSummaryUnauthorized handles this case with default header values.
Unauthorized
func NewGetProjectSummaryUnauthorized ¶
func NewGetProjectSummaryUnauthorized() *GetProjectSummaryUnauthorized
NewGetProjectSummaryUnauthorized creates a GetProjectSummaryUnauthorized with default headers values
func (*GetProjectSummaryUnauthorized) Error ¶
func (o *GetProjectSummaryUnauthorized) Error() string
func (*GetProjectSummaryUnauthorized) GetPayload ¶
func (o *GetProjectSummaryUnauthorized) GetPayload() *models.Errors
type GetProjectUnauthorized ¶
type GetProjectUnauthorized struct { string }XRequestID
GetProjectUnauthorized handles this case with default header values.
Unauthorized
func NewGetProjectUnauthorized ¶
func NewGetProjectUnauthorized() *GetProjectUnauthorized
NewGetProjectUnauthorized creates a GetProjectUnauthorized with default headers values
func (*GetProjectUnauthorized) Error ¶
func (o *GetProjectUnauthorized) Error() string
func (*GetProjectUnauthorized) GetPayload ¶
func (o *GetProjectUnauthorized) GetPayload() *models.Errors
type HeadProjectInternalServerError ¶
type HeadProjectInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
HeadProjectInternalServerError handles this case with default header values.
Internal server error
func NewHeadProjectInternalServerError ¶
func NewHeadProjectInternalServerError() *HeadProjectInternalServerError
NewHeadProjectInternalServerError creates a HeadProjectInternalServerError with default headers values
func (*HeadProjectInternalServerError) Error ¶
func (o *HeadProjectInternalServerError) Error() string
func (*HeadProjectInternalServerError) GetPayload ¶
func (o *HeadProjectInternalServerError) GetPayload() *models.Errors
type HeadProjectNotFound ¶
type HeadProjectNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
HeadProjectNotFound handles this case with default header values.
Not found
func NewHeadProjectNotFound ¶
func NewHeadProjectNotFound() *HeadProjectNotFound
NewHeadProjectNotFound creates a HeadProjectNotFound with default headers values
func (*HeadProjectNotFound) Error ¶
func (o *HeadProjectNotFound) Error() string
func (*HeadProjectNotFound) GetPayload ¶
func (o *HeadProjectNotFound) GetPayload() *models.Errors
type HeadProjectOK ¶
type HeadProjectOK struct { /*The ID of the corresponding request for the response */ XRequestID string }
HeadProjectOK handles this case with default header values.
Success
func NewHeadProjectOK ¶
func NewHeadProjectOK() *HeadProjectOK
NewHeadProjectOK creates a HeadProjectOK with default headers values
func (*HeadProjectOK) Error ¶
func (o *HeadProjectOK) Error() string
type HeadProjectParams ¶
type HeadProjectParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*ProjectName Project name for checking exists. */ ProjectName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HeadProjectParams contains all the parameters to send to the API endpoint for the head project operation typically these are written to a http.Request
func NewHeadProjectParams ¶
func NewHeadProjectParams() *HeadProjectParams
NewHeadProjectParams creates a new HeadProjectParams object with the default values initialized.
func NewHeadProjectParamsWithContext ¶
func NewHeadProjectParamsWithContext(ctx context.Context) *HeadProjectParams
NewHeadProjectParamsWithContext creates a new HeadProjectParams object with the default values initialized, and the ability to set a context for a request
func NewHeadProjectParamsWithHTTPClient ¶
func NewHeadProjectParamsWithHTTPClient(client *http.Client) *HeadProjectParams
NewHeadProjectParamsWithHTTPClient creates a new HeadProjectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewHeadProjectParamsWithTimeout ¶
func NewHeadProjectParamsWithTimeout(timeout time.Duration) *HeadProjectParams
NewHeadProjectParamsWithTimeout creates a new HeadProjectParams object with the default values initialized, and the ability to set a timeout on a request
func (*HeadProjectParams) SetContext ¶
func (o *HeadProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the head project params
func (*HeadProjectParams) SetHTTPClient ¶
func (o *HeadProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the head project params
func (*HeadProjectParams) SetProjectName ¶
func (o *HeadProjectParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the head project params
func (*HeadProjectParams) SetTimeout ¶
func (o *HeadProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the head project params
func (*HeadProjectParams) SetXRequestID ¶
func (o *HeadProjectParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the head project params
func (*HeadProjectParams) WithContext ¶
func (o *HeadProjectParams) WithContext(ctx context.Context) *HeadProjectParams
WithContext adds the context to the head project params
func (*HeadProjectParams) WithHTTPClient ¶
func (o *HeadProjectParams) WithHTTPClient(client *http.Client) *HeadProjectParams
WithHTTPClient adds the HTTPClient to the head project params
func (*HeadProjectParams) WithProjectName ¶
func (o *HeadProjectParams) WithProjectName(projectName string) *HeadProjectParams
WithProjectName adds the projectName to the head project params
func (*HeadProjectParams) WithTimeout ¶
func (o *HeadProjectParams) WithTimeout(timeout time.Duration) *HeadProjectParams
WithTimeout adds the timeout to the head project params
func (*HeadProjectParams) WithXRequestID ¶
func (o *HeadProjectParams) WithXRequestID(xRequestID *string) *HeadProjectParams
WithXRequestID adds the xRequestID to the head project params
func (*HeadProjectParams) WriteToRequest ¶
func (o *HeadProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HeadProjectReader ¶
type HeadProjectReader struct {
// contains filtered or unexported fields
}
HeadProjectReader is a Reader for the HeadProject structure.
func (*HeadProjectReader) ReadResponse ¶
func (o *HeadProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListProjectsInternalServerError ¶
type ListProjectsInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListProjectsInternalServerError handles this case with default header values.
Internal server error
func NewListProjectsInternalServerError ¶
func NewListProjectsInternalServerError() *ListProjectsInternalServerError
NewListProjectsInternalServerError creates a ListProjectsInternalServerError with default headers values
func (*ListProjectsInternalServerError) Error ¶
func (o *ListProjectsInternalServerError) Error() string
func (*ListProjectsInternalServerError) GetPayload ¶
func (o *ListProjectsInternalServerError) GetPayload() *models.Errors
type ListProjectsOK ¶
type ListProjectsOK struct { /*Link refers to the previous page and next page */ Link string /*The total count of projects */ XTotalCount int64 Payload []*models.Project }
ListProjectsOK handles this case with default header values.
Return all matched projects.
func NewListProjectsOK ¶
func NewListProjectsOK() *ListProjectsOK
NewListProjectsOK creates a ListProjectsOK with default headers values
func (*ListProjectsOK) Error ¶
func (o *ListProjectsOK) Error() string
func (*ListProjectsOK) GetPayload ¶
func (o *ListProjectsOK) GetPayload() []*models.Project
type ListProjectsParams ¶
type ListProjectsParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*Name The name of project. */ Name *string /*Owner The name of project owner. */ Owner *string /*Page The page number */ Page *int64 /*PageSize The size of per page */ PageSize *int64 /*Public The project is public or private. */ Public *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListProjectsParams contains all the parameters to send to the API endpoint for the list projects operation typically these are written to a http.Request
func NewListProjectsParams ¶
func NewListProjectsParams() *ListProjectsParams
NewListProjectsParams creates a new ListProjectsParams object with the default values initialized.
func NewListProjectsParamsWithContext ¶
func NewListProjectsParamsWithContext(ctx context.Context) *ListProjectsParams
NewListProjectsParamsWithContext creates a new ListProjectsParams object with the default values initialized, and the ability to set a context for a request
func NewListProjectsParamsWithHTTPClient ¶
func NewListProjectsParamsWithHTTPClient(client *http.Client) *ListProjectsParams
NewListProjectsParamsWithHTTPClient creates a new ListProjectsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListProjectsParamsWithTimeout ¶
func NewListProjectsParamsWithTimeout(timeout time.Duration) *ListProjectsParams
NewListProjectsParamsWithTimeout creates a new ListProjectsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListProjectsParams) SetContext ¶
func (o *ListProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the list projects params
func (*ListProjectsParams) SetHTTPClient ¶
func (o *ListProjectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list projects params
func (*ListProjectsParams) SetName ¶
func (o *ListProjectsParams) SetName(name *string)
SetName adds the name to the list projects params
func (*ListProjectsParams) SetOwner ¶
func (o *ListProjectsParams) SetOwner(owner *string)
SetOwner adds the owner to the list projects params
func (*ListProjectsParams) SetPage ¶
func (o *ListProjectsParams) SetPage(page *int64)
SetPage adds the page to the list projects params
func (*ListProjectsParams) SetPageSize ¶
func (o *ListProjectsParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list projects params
func (*ListProjectsParams) SetPublic ¶
func (o *ListProjectsParams) SetPublic(public *bool)
SetPublic adds the public to the list projects params
func (*ListProjectsParams) SetTimeout ¶
func (o *ListProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list projects params
func (*ListProjectsParams) SetXRequestID ¶
func (o *ListProjectsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list projects params
func (*ListProjectsParams) WithContext ¶
func (o *ListProjectsParams) WithContext(ctx context.Context) *ListProjectsParams
WithContext adds the context to the list projects params
func (*ListProjectsParams) WithHTTPClient ¶
func (o *ListProjectsParams) WithHTTPClient(client *http.Client) *ListProjectsParams
WithHTTPClient adds the HTTPClient to the list projects params
func (*ListProjectsParams) WithName ¶
func (o *ListProjectsParams) WithName(name *string) *ListProjectsParams
WithName adds the name to the list projects params
func (*ListProjectsParams) WithOwner ¶
func (o *ListProjectsParams) WithOwner(owner *string) *ListProjectsParams
WithOwner adds the owner to the list projects params
func (*ListProjectsParams) WithPage ¶
func (o *ListProjectsParams) WithPage(page *int64) *ListProjectsParams
WithPage adds the page to the list projects params
func (*ListProjectsParams) WithPageSize ¶
func (o *ListProjectsParams) WithPageSize(pageSize *int64) *ListProjectsParams
WithPageSize adds the pageSize to the list projects params
func (*ListProjectsParams) WithPublic ¶
func (o *ListProjectsParams) WithPublic(public *bool) *ListProjectsParams
WithPublic adds the public to the list projects params
func (*ListProjectsParams) WithTimeout ¶
func (o *ListProjectsParams) WithTimeout(timeout time.Duration) *ListProjectsParams
WithTimeout adds the timeout to the list projects params
func (*ListProjectsParams) WithXRequestID ¶
func (o *ListProjectsParams) WithXRequestID(xRequestID *string) *ListProjectsParams
WithXRequestID adds the xRequestID to the list projects params
func (*ListProjectsParams) WriteToRequest ¶
func (o *ListProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListProjectsReader ¶
type ListProjectsReader struct {
// contains filtered or unexported fields
}
ListProjectsReader is a Reader for the ListProjects structure.
func (*ListProjectsReader) ReadResponse ¶
func (o *ListProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListProjectsUnauthorized ¶
type ListProjectsUnauthorized struct { string }XRequestID
ListProjectsUnauthorized handles this case with default header values.
Unauthorized
func NewListProjectsUnauthorized ¶
func NewListProjectsUnauthorized() *ListProjectsUnauthorized
NewListProjectsUnauthorized creates a ListProjectsUnauthorized with default headers values
func (*ListProjectsUnauthorized) Error ¶
func (o *ListProjectsUnauthorized) Error() string
func (*ListProjectsUnauthorized) GetPayload ¶
func (o *ListProjectsUnauthorized) GetPayload() *models.Errors
type UpdateProjectBadRequest ¶
type UpdateProjectBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateProjectBadRequest handles this case with default header values.
Bad request
func NewUpdateProjectBadRequest ¶
func NewUpdateProjectBadRequest() *UpdateProjectBadRequest
NewUpdateProjectBadRequest creates a UpdateProjectBadRequest with default headers values
func (*UpdateProjectBadRequest) Error ¶
func (o *UpdateProjectBadRequest) Error() string
func (*UpdateProjectBadRequest) GetPayload ¶
func (o *UpdateProjectBadRequest) GetPayload() *models.Errors
type UpdateProjectForbidden ¶
type UpdateProjectForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateProjectForbidden handles this case with default header values.
Forbidden
func NewUpdateProjectForbidden ¶
func NewUpdateProjectForbidden() *UpdateProjectForbidden
NewUpdateProjectForbidden creates a UpdateProjectForbidden with default headers values
func (*UpdateProjectForbidden) Error ¶
func (o *UpdateProjectForbidden) Error() string
func (*UpdateProjectForbidden) GetPayload ¶
func (o *UpdateProjectForbidden) GetPayload() *models.Errors
type UpdateProjectInternalServerError ¶
type UpdateProjectInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateProjectInternalServerError handles this case with default header values.
Internal server error
func NewUpdateProjectInternalServerError ¶
func NewUpdateProjectInternalServerError() *UpdateProjectInternalServerError
NewUpdateProjectInternalServerError creates a UpdateProjectInternalServerError with default headers values
func (*UpdateProjectInternalServerError) Error ¶
func (o *UpdateProjectInternalServerError) Error() string
func (*UpdateProjectInternalServerError) GetPayload ¶
func (o *UpdateProjectInternalServerError) GetPayload() *models.Errors
type UpdateProjectNotFound ¶
type UpdateProjectNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateProjectNotFound handles this case with default header values.
Not found
func NewUpdateProjectNotFound ¶
func NewUpdateProjectNotFound() *UpdateProjectNotFound
NewUpdateProjectNotFound creates a UpdateProjectNotFound with default headers values
func (*UpdateProjectNotFound) Error ¶
func (o *UpdateProjectNotFound) Error() string
func (*UpdateProjectNotFound) GetPayload ¶
func (o *UpdateProjectNotFound) GetPayload() *models.Errors
type UpdateProjectOK ¶
type UpdateProjectOK struct { /*The ID of the corresponding request for the response */ XRequestID string }
UpdateProjectOK handles this case with default header values.
Success
func NewUpdateProjectOK ¶
func NewUpdateProjectOK() *UpdateProjectOK
NewUpdateProjectOK creates a UpdateProjectOK with default headers values
func (*UpdateProjectOK) Error ¶
func (o *UpdateProjectOK) Error() string
type UpdateProjectParams ¶
type UpdateProjectParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*Project Updates of project. */ Project *models.ProjectReq /*ProjectID The ID of the project */ ProjectID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateProjectParams contains all the parameters to send to the API endpoint for the update project operation typically these are written to a http.Request
func NewUpdateProjectParams ¶
func NewUpdateProjectParams() *UpdateProjectParams
NewUpdateProjectParams creates a new UpdateProjectParams object with the default values initialized.
func NewUpdateProjectParamsWithContext ¶
func NewUpdateProjectParamsWithContext(ctx context.Context) *UpdateProjectParams
NewUpdateProjectParamsWithContext creates a new UpdateProjectParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateProjectParamsWithHTTPClient ¶
func NewUpdateProjectParamsWithHTTPClient(client *http.Client) *UpdateProjectParams
NewUpdateProjectParamsWithHTTPClient creates a new UpdateProjectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateProjectParamsWithTimeout ¶
func NewUpdateProjectParamsWithTimeout(timeout time.Duration) *UpdateProjectParams
NewUpdateProjectParamsWithTimeout creates a new UpdateProjectParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateProjectParams) SetContext ¶
func (o *UpdateProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the update project params
func (*UpdateProjectParams) SetHTTPClient ¶
func (o *UpdateProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update project params
func (*UpdateProjectParams) SetProject ¶
func (o *UpdateProjectParams) SetProject(project *models.ProjectReq)
SetProject adds the project to the update project params
func (*UpdateProjectParams) SetProjectID ¶
func (o *UpdateProjectParams) SetProjectID(projectID int64)
SetProjectID adds the projectId to the update project params
func (*UpdateProjectParams) SetTimeout ¶
func (o *UpdateProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update project params
func (*UpdateProjectParams) SetXRequestID ¶
func (o *UpdateProjectParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update project params
func (*UpdateProjectParams) WithContext ¶
func (o *UpdateProjectParams) WithContext(ctx context.Context) *UpdateProjectParams
WithContext adds the context to the update project params
func (*UpdateProjectParams) WithHTTPClient ¶
func (o *UpdateProjectParams) WithHTTPClient(client *http.Client) *UpdateProjectParams
WithHTTPClient adds the HTTPClient to the update project params
func (*UpdateProjectParams) WithProject ¶
func (o *UpdateProjectParams) WithProject(project *models.ProjectReq) *UpdateProjectParams
WithProject adds the project to the update project params
func (*UpdateProjectParams) WithProjectID ¶
func (o *UpdateProjectParams) WithProjectID(projectID int64) *UpdateProjectParams
WithProjectID adds the projectID to the update project params
func (*UpdateProjectParams) WithTimeout ¶
func (o *UpdateProjectParams) WithTimeout(timeout time.Duration) *UpdateProjectParams
WithTimeout adds the timeout to the update project params
func (*UpdateProjectParams) WithXRequestID ¶
func (o *UpdateProjectParams) WithXRequestID(xRequestID *string) *UpdateProjectParams
WithXRequestID adds the xRequestID to the update project params
func (*UpdateProjectParams) WriteToRequest ¶
func (o *UpdateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateProjectReader ¶
type UpdateProjectReader struct {
// contains filtered or unexported fields
}
UpdateProjectReader is a Reader for the UpdateProject structure.
func (*UpdateProjectReader) ReadResponse ¶
func (o *UpdateProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateProjectUnauthorized ¶
type UpdateProjectUnauthorized struct { string }XRequestID
UpdateProjectUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateProjectUnauthorized ¶
func NewUpdateProjectUnauthorized() *UpdateProjectUnauthorized
NewUpdateProjectUnauthorized creates a UpdateProjectUnauthorized with default headers values
func (*UpdateProjectUnauthorized) Error ¶
func (o *UpdateProjectUnauthorized) Error() string
func (*UpdateProjectUnauthorized) GetPayload ¶
func (o *UpdateProjectUnauthorized) GetPayload() *models.Errors
Source Files
¶
- create_project_parameters.go
- create_project_responses.go
- delete_project_parameters.go
- delete_project_responses.go
- get_logs_parameters.go
- get_logs_responses.go
- get_project_deletable_parameters.go
- get_project_deletable_responses.go
- get_project_parameters.go
- get_project_responses.go
- get_project_summary_parameters.go
- get_project_summary_responses.go
- head_project_parameters.go
- head_project_responses.go
- list_projects_parameters.go
- list_projects_responses.go
- project_client.go
- update_project_parameters.go
- update_project_responses.go