products

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 products API

func (*Client) DeleteProjectsProjectID

func (a *Client) DeleteProjectsProjectID(params *DeleteProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteProjectsProjectIDOK, error)

DeleteProjectsProjectID deletes project by project ID

This endpoint is aimed to delete project by project ID.

func (*Client) DeleteProjectsProjectIDMembersMid

DeleteProjectsProjectIDMembersMid deletes project member

func (*Client) DeleteProjectsProjectIDMetadatasMetaName

DeleteProjectsProjectIDMetadatasMetaName deletes metadata of a project

This endpoint is aimed to delete metadata of a project.

func (*Client) DeleteRegistriesID

func (a *Client) DeleteRegistriesID(params *DeleteRegistriesIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRegistriesIDOK, error)

DeleteRegistriesID deletes specific registry

This endpoint is for to delete specific registry.

func (*Client) DeleteReplicationPoliciesID

func (a *Client) DeleteReplicationPoliciesID(params *DeleteReplicationPoliciesIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteReplicationPoliciesIDOK, error)

DeleteReplicationPoliciesID deletes the replication policy specified by ID

Delete the replication policy specified by ID.

func (*Client) DeleteUsersUserID

func (a *Client) DeleteUsersUserID(params *DeleteUsersUserIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUsersUserIDOK, error)
DeleteUsersUserID marks a registered user as be removed

This endpoint let administrator of Harbor mark a registered user as

be removed.It actually won't be deleted from DB.

func (*Client) GetHealth

func (a *Client) GetHealth(params *GetHealthParams, authInfo runtime.ClientAuthInfoWriter) (*GetHealthOK, error)

GetHealth healths check API

The endpoint returns the health stauts of the system.

func (*Client) GetProjects

func (a *Client) GetProjects(params *GetProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectsOK, error)

GetProjects lists projects

This endpoint returns all projects created by Harbor, and can be filtered by project name.

func (*Client) GetProjectsProjectID

func (a *Client) GetProjectsProjectID(params *GetProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectsProjectIDOK, error)

GetProjectsProjectID returns specific project detail information

This endpoint returns specific project information by project ID.

func (*Client) GetProjectsProjectIDMembers

func (a *Client) GetProjectsProjectIDMembers(params *GetProjectsProjectIDMembersParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectsProjectIDMembersOK, error)

GetProjectsProjectIDMembers gets all project member information

Get all project member information

func (*Client) GetProjectsProjectIDMetadatas

func (a *Client) GetProjectsProjectIDMetadatas(params *GetProjectsProjectIDMetadatasParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectsProjectIDMetadatasOK, error)

GetProjectsProjectIDMetadatas gets project metadata

This endpoint returns metadata of the project specified by project ID.

func (*Client) GetProjectsProjectIDMetadatasMetaName

GetProjectsProjectIDMetadatasMetaName gets project metadata

This endpoint returns specified metadata of a project.

func (*Client) GetRegistries

func (a *Client) GetRegistries(params *GetRegistriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRegistriesOK, error)

GetRegistries lists registries

This endpoint let user list filtered registries by name, if name is nil, list returns all registries.

func (*Client) GetReplicationExecutions

func (a *Client) GetReplicationExecutions(params *GetReplicationExecutionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetReplicationExecutionsOK, error)

GetReplicationExecutions lists replication executions

This endpoint let user list replication executions.

func (*Client) GetReplicationExecutionsID

func (a *Client) GetReplicationExecutionsID(params *GetReplicationExecutionsIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetReplicationExecutionsIDOK, error)

GetReplicationExecutionsID gets the execution of the replication

This endpoint is for user to get one execution of the replication.

func (*Client) GetReplicationPolicies

func (a *Client) GetReplicationPolicies(params *GetReplicationPoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*GetReplicationPoliciesOK, error)

GetReplicationPolicies lists replication policies

This endpoint let user list replication policies

func (*Client) GetReplicationPoliciesID

func (a *Client) GetReplicationPoliciesID(params *GetReplicationPoliciesIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetReplicationPoliciesIDOK, error)

GetReplicationPoliciesID gets replication policy

This endpoint let user get replication policy by specific ID.

func (*Client) GetRetentionsID

func (a *Client) GetRetentionsID(params *GetRetentionsIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetRetentionsIDOK, error)

GetRetentionsID gets retention policy

Get Retention Policy.

func (*Client) GetRetentionsMetadatas

func (a *Client) GetRetentionsMetadatas(params *GetRetentionsMetadatasParams, authInfo runtime.ClientAuthInfoWriter) (*GetRetentionsMetadatasOK, error)

GetRetentionsMetadatas gets retention metadatas

Get Retention Metadatas.

func (*Client) GetSystemGcSchedule

func (a *Client) GetSystemGcSchedule(params *GetSystemGcScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*GetSystemGcScheduleOK, error)

GetSystemGcSchedule gets gc s schedule

This endpoint is for get schedule of gc job.

func (*Client) GetUsers

func (a *Client) GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersOK, error)

GetUsers gets registered users of harbor

This endpoint is for user to search registered users, support for filtering results with username.Notice, by now this operation is only for administrator.

func (*Client) PostProjects

func (a *Client) PostProjects(params *PostProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*PostProjectsCreated, error)

PostProjects creates a new project

This endpoint is for user to create a new project.

func (*Client) PostProjectsProjectIDMembers

PostProjectsProjectIDMembers creates project member

Create project member relationship, the member can be one of the user_member and group_member, The user_member need to specify user_id or username. If the user already exist in harbor DB, specify the user_id, If does not exist in harbor DB, it will SearchAndOnBoard the user. The group_member need to specify id or ldap_group_dn. If the group already exist in harbor DB. specify the user group's id, If does not exist, it will SearchAndOnBoard the group.

func (*Client) PostProjectsProjectIDMetadatas

func (a *Client) PostProjectsProjectIDMetadatas(params *PostProjectsProjectIDMetadatasParams, authInfo runtime.ClientAuthInfoWriter) (*PostProjectsProjectIDMetadatasOK, error)

PostProjectsProjectIDMetadatas adds metadata for the project

This endpoint is aimed to add metadata of a project.

func (*Client) PostRegistries

func (a *Client) PostRegistries(params *PostRegistriesParams, authInfo runtime.ClientAuthInfoWriter) (*PostRegistriesCreated, error)

PostRegistries creates a new registry

This endpoint is for user to create a new registry.

func (*Client) PostReplicationExecutions

PostReplicationExecutions starts one execution of the replication

This endpoint is for user to start one execution of the replication.

func (*Client) PostReplicationPolicies

PostReplicationPolicies creates a replication policy

This endpoint let user create a replication policy

func (*Client) PostRetentions

func (a *Client) PostRetentions(params *PostRetentionsParams, authInfo runtime.ClientAuthInfoWriter) (*PostRetentionsCreated, error)
PostRetentions creates retention policy

Create Retention Policy, you can reference metadatas API for the policy model.

You can check project metadatas to find whether a retention policy is already binded. This method should only be called when no retention policy binded to project yet.

func (*Client) PostSystemGcSchedule

func (a *Client) PostSystemGcSchedule(params *PostSystemGcScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*PostSystemGcScheduleOK, error)

PostSystemGcSchedule creates a gc schedule

This endpoint is for update gc schedule.

func (*Client) PostUsers

func (a *Client) PostUsers(params *PostUsersParams, authInfo runtime.ClientAuthInfoWriter) (*PostUsersCreated, error)

PostUsers creates a new user account

This endpoint is to create a user if the user does not already exist.

func (*Client) PutProjectsProjectID

func (a *Client) PutProjectsProjectID(params *PutProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutProjectsProjectIDOK, error)

PutProjectsProjectID updates properties for a selected project

This endpoint is aimed to update the properties of a project.

func (*Client) PutProjectsProjectIDMembersMid

func (a *Client) PutProjectsProjectIDMembersMid(params *PutProjectsProjectIDMembersMidParams, authInfo runtime.ClientAuthInfoWriter) (*PutProjectsProjectIDMembersMidOK, error)

PutProjectsProjectIDMembersMid updates project member

Update project member relationship

func (*Client) PutProjectsProjectIDMetadatasMetaName

PutProjectsProjectIDMetadatasMetaName updates metadata of a project

This endpoint is aimed to update the metadata of a project.

func (*Client) PutRegistriesID

func (a *Client) PutRegistriesID(params *PutRegistriesIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutRegistriesIDOK, error)

PutRegistriesID updates a given registry

This endpoint is for update a given registry.

func (*Client) PutReplicationPoliciesID

func (a *Client) PutReplicationPoliciesID(params *PutReplicationPoliciesIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutReplicationPoliciesIDOK, error)

PutReplicationPoliciesID updates the replication policy

This endpoint let user update policy.

func (*Client) PutSystemGcSchedule

func (a *Client) PutSystemGcSchedule(params *PutSystemGcScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*PutSystemGcScheduleOK, error)

PutSystemGcSchedule updates gc s schedule

This endpoint is for update gc schedule.

func (*Client) PutUsersUserID

func (a *Client) PutUsersUserID(params *PutUsersUserIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutUsersUserIDOK, error)

PutUsersUserID updates a registered user to change his profile

This endpoint let a registered user change his profile.

func (*Client) PutUsersUserIDPassword

func (a *Client) PutUsersUserIDPassword(params *PutUsersUserIDPasswordParams, authInfo runtime.ClientAuthInfoWriter) (*PutUsersUserIDPasswordOK, error)

PutUsersUserIDPassword changes the password on a user that already exists

This endpoint is for user to update password. Users with the admin role can change any user's password. Guest users can change only their own password.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteProjectsProjectID(params *DeleteProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteProjectsProjectIDOK, error)

	DeleteProjectsProjectIDMembersMid(params *DeleteProjectsProjectIDMembersMidParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteProjectsProjectIDMembersMidOK, error)

	DeleteProjectsProjectIDMetadatasMetaName(params *DeleteProjectsProjectIDMetadatasMetaNameParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteProjectsProjectIDMetadatasMetaNameOK, error)

	DeleteRegistriesID(params *DeleteRegistriesIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRegistriesIDOK, error)

	DeleteReplicationPoliciesID(params *DeleteReplicationPoliciesIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteReplicationPoliciesIDOK, error)

	DeleteUsersUserID(params *DeleteUsersUserIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUsersUserIDOK, error)

	GetHealth(params *GetHealthParams, authInfo runtime.ClientAuthInfoWriter) (*GetHealthOK, error)

	GetProjects(params *GetProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectsOK, error)

	GetProjectsProjectID(params *GetProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectsProjectIDOK, error)

	GetProjectsProjectIDMembers(params *GetProjectsProjectIDMembersParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectsProjectIDMembersOK, error)

	GetProjectsProjectIDMetadatas(params *GetProjectsProjectIDMetadatasParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectsProjectIDMetadatasOK, error)

	GetProjectsProjectIDMetadatasMetaName(params *GetProjectsProjectIDMetadatasMetaNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectsProjectIDMetadatasMetaNameOK, error)

	GetRegistries(params *GetRegistriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRegistriesOK, error)

	GetReplicationExecutions(params *GetReplicationExecutionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetReplicationExecutionsOK, error)

	GetReplicationExecutionsID(params *GetReplicationExecutionsIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetReplicationExecutionsIDOK, error)

	GetReplicationPolicies(params *GetReplicationPoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*GetReplicationPoliciesOK, error)

	GetReplicationPoliciesID(params *GetReplicationPoliciesIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetReplicationPoliciesIDOK, error)

	GetRetentionsID(params *GetRetentionsIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetRetentionsIDOK, error)

	GetRetentionsMetadatas(params *GetRetentionsMetadatasParams, authInfo runtime.ClientAuthInfoWriter) (*GetRetentionsMetadatasOK, error)

	GetSystemGcSchedule(params *GetSystemGcScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*GetSystemGcScheduleOK, error)

	GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersOK, error)

	PostProjects(params *PostProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*PostProjectsCreated, error)

	PostProjectsProjectIDMembers(params *PostProjectsProjectIDMembersParams, authInfo runtime.ClientAuthInfoWriter) (*PostProjectsProjectIDMembersCreated, error)

	PostProjectsProjectIDMetadatas(params *PostProjectsProjectIDMetadatasParams, authInfo runtime.ClientAuthInfoWriter) (*PostProjectsProjectIDMetadatasOK, error)

	PostRegistries(params *PostRegistriesParams, authInfo runtime.ClientAuthInfoWriter) (*PostRegistriesCreated, error)

	PostReplicationExecutions(params *PostReplicationExecutionsParams, authInfo runtime.ClientAuthInfoWriter) (*PostReplicationExecutionsCreated, error)

	PostReplicationPolicies(params *PostReplicationPoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*PostReplicationPoliciesCreated, error)

	PostRetentions(params *PostRetentionsParams, authInfo runtime.ClientAuthInfoWriter) (*PostRetentionsCreated, error)

	PostSystemGcSchedule(params *PostSystemGcScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*PostSystemGcScheduleOK, error)

	PostUsers(params *PostUsersParams, authInfo runtime.ClientAuthInfoWriter) (*PostUsersCreated, error)

	PutProjectsProjectID(params *PutProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutProjectsProjectIDOK, error)

	PutProjectsProjectIDMembersMid(params *PutProjectsProjectIDMembersMidParams, authInfo runtime.ClientAuthInfoWriter) (*PutProjectsProjectIDMembersMidOK, error)

	PutProjectsProjectIDMetadatasMetaName(params *PutProjectsProjectIDMetadatasMetaNameParams, authInfo runtime.ClientAuthInfoWriter) (*PutProjectsProjectIDMetadatasMetaNameOK, error)

	PutRegistriesID(params *PutRegistriesIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutRegistriesIDOK, error)

	PutReplicationPoliciesID(params *PutReplicationPoliciesIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutReplicationPoliciesIDOK, error)

	PutSystemGcSchedule(params *PutSystemGcScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*PutSystemGcScheduleOK, error)

	PutUsersUserID(params *PutUsersUserIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutUsersUserIDOK, error)

	PutUsersUserIDPassword(params *PutUsersUserIDPasswordParams, authInfo runtime.ClientAuthInfoWriter) (*PutUsersUserIDPasswordOK, 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 products API client.

type DeleteProjectsProjectIDBadRequest

type DeleteProjectsProjectIDBadRequest struct {
}

DeleteProjectsProjectIDBadRequest handles this case with default header values.

Invalid project id.

func NewDeleteProjectsProjectIDBadRequest

func NewDeleteProjectsProjectIDBadRequest() *DeleteProjectsProjectIDBadRequest

NewDeleteProjectsProjectIDBadRequest creates a DeleteProjectsProjectIDBadRequest with default headers values

func (*DeleteProjectsProjectIDBadRequest) Error

type DeleteProjectsProjectIDForbidden

type DeleteProjectsProjectIDForbidden struct {
}

DeleteProjectsProjectIDForbidden handles this case with default header values.

User need to log in first.

func NewDeleteProjectsProjectIDForbidden

func NewDeleteProjectsProjectIDForbidden() *DeleteProjectsProjectIDForbidden

NewDeleteProjectsProjectIDForbidden creates a DeleteProjectsProjectIDForbidden with default headers values

func (*DeleteProjectsProjectIDForbidden) Error

type DeleteProjectsProjectIDInternalServerError

type DeleteProjectsProjectIDInternalServerError struct {
}

DeleteProjectsProjectIDInternalServerError handles this case with default header values.

Internal errors.

func NewDeleteProjectsProjectIDInternalServerError

func NewDeleteProjectsProjectIDInternalServerError() *DeleteProjectsProjectIDInternalServerError

NewDeleteProjectsProjectIDInternalServerError creates a DeleteProjectsProjectIDInternalServerError with default headers values

func (*DeleteProjectsProjectIDInternalServerError) Error

type DeleteProjectsProjectIDMembersMidBadRequest

type DeleteProjectsProjectIDMembersMidBadRequest struct {
}

DeleteProjectsProjectIDMembersMidBadRequest handles this case with default header values.

The project id or project member id is invalid.

func NewDeleteProjectsProjectIDMembersMidBadRequest

func NewDeleteProjectsProjectIDMembersMidBadRequest() *DeleteProjectsProjectIDMembersMidBadRequest

NewDeleteProjectsProjectIDMembersMidBadRequest creates a DeleteProjectsProjectIDMembersMidBadRequest with default headers values

func (*DeleteProjectsProjectIDMembersMidBadRequest) Error

type DeleteProjectsProjectIDMembersMidForbidden

type DeleteProjectsProjectIDMembersMidForbidden struct {
}

DeleteProjectsProjectIDMembersMidForbidden handles this case with default header values.

User in session does not have permission to the project.

func NewDeleteProjectsProjectIDMembersMidForbidden

func NewDeleteProjectsProjectIDMembersMidForbidden() *DeleteProjectsProjectIDMembersMidForbidden

NewDeleteProjectsProjectIDMembersMidForbidden creates a DeleteProjectsProjectIDMembersMidForbidden with default headers values

func (*DeleteProjectsProjectIDMembersMidForbidden) Error

type DeleteProjectsProjectIDMembersMidInternalServerError

type DeleteProjectsProjectIDMembersMidInternalServerError struct {
}

DeleteProjectsProjectIDMembersMidInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewDeleteProjectsProjectIDMembersMidInternalServerError

func NewDeleteProjectsProjectIDMembersMidInternalServerError() *DeleteProjectsProjectIDMembersMidInternalServerError

NewDeleteProjectsProjectIDMembersMidInternalServerError creates a DeleteProjectsProjectIDMembersMidInternalServerError with default headers values

func (*DeleteProjectsProjectIDMembersMidInternalServerError) Error

type DeleteProjectsProjectIDMembersMidOK

type DeleteProjectsProjectIDMembersMidOK struct {
}

DeleteProjectsProjectIDMembersMidOK handles this case with default header values.

Project member deleted successfully.

func NewDeleteProjectsProjectIDMembersMidOK

func NewDeleteProjectsProjectIDMembersMidOK() *DeleteProjectsProjectIDMembersMidOK

NewDeleteProjectsProjectIDMembersMidOK creates a DeleteProjectsProjectIDMembersMidOK with default headers values

func (*DeleteProjectsProjectIDMembersMidOK) Error

type DeleteProjectsProjectIDMembersMidParams

type DeleteProjectsProjectIDMembersMidParams struct {

	/*Mid
	  Member ID.

	*/
	Mid int64
	/*ProjectID
	  Relevant project ID.

	*/
	ProjectID int64

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

DeleteProjectsProjectIDMembersMidParams contains all the parameters to send to the API endpoint for the delete projects project ID members mid operation typically these are written to a http.Request

func NewDeleteProjectsProjectIDMembersMidParams

func NewDeleteProjectsProjectIDMembersMidParams() *DeleteProjectsProjectIDMembersMidParams

NewDeleteProjectsProjectIDMembersMidParams creates a new DeleteProjectsProjectIDMembersMidParams object with the default values initialized.

func NewDeleteProjectsProjectIDMembersMidParamsWithContext

func NewDeleteProjectsProjectIDMembersMidParamsWithContext(ctx context.Context) *DeleteProjectsProjectIDMembersMidParams

NewDeleteProjectsProjectIDMembersMidParamsWithContext creates a new DeleteProjectsProjectIDMembersMidParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteProjectsProjectIDMembersMidParamsWithHTTPClient

func NewDeleteProjectsProjectIDMembersMidParamsWithHTTPClient(client *http.Client) *DeleteProjectsProjectIDMembersMidParams

NewDeleteProjectsProjectIDMembersMidParamsWithHTTPClient creates a new DeleteProjectsProjectIDMembersMidParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteProjectsProjectIDMembersMidParamsWithTimeout

func NewDeleteProjectsProjectIDMembersMidParamsWithTimeout(timeout time.Duration) *DeleteProjectsProjectIDMembersMidParams

NewDeleteProjectsProjectIDMembersMidParamsWithTimeout creates a new DeleteProjectsProjectIDMembersMidParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteProjectsProjectIDMembersMidParams) SetContext

SetContext adds the context to the delete projects project ID members mid params

func (*DeleteProjectsProjectIDMembersMidParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete projects project ID members mid params

func (*DeleteProjectsProjectIDMembersMidParams) SetMid

SetMid adds the mid to the delete projects project ID members mid params

func (*DeleteProjectsProjectIDMembersMidParams) SetProjectID

func (o *DeleteProjectsProjectIDMembersMidParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the delete projects project ID members mid params

func (*DeleteProjectsProjectIDMembersMidParams) SetTimeout

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

SetTimeout adds the timeout to the delete projects project ID members mid params

func (*DeleteProjectsProjectIDMembersMidParams) WithContext

WithContext adds the context to the delete projects project ID members mid params

func (*DeleteProjectsProjectIDMembersMidParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete projects project ID members mid params

func (*DeleteProjectsProjectIDMembersMidParams) WithMid

WithMid adds the mid to the delete projects project ID members mid params

func (*DeleteProjectsProjectIDMembersMidParams) WithProjectID

WithProjectID adds the projectID to the delete projects project ID members mid params

func (*DeleteProjectsProjectIDMembersMidParams) WithTimeout

WithTimeout adds the timeout to the delete projects project ID members mid params

func (*DeleteProjectsProjectIDMembersMidParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteProjectsProjectIDMembersMidReader

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

DeleteProjectsProjectIDMembersMidReader is a Reader for the DeleteProjectsProjectIDMembersMid structure.

func (*DeleteProjectsProjectIDMembersMidReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteProjectsProjectIDMembersMidUnauthorized

type DeleteProjectsProjectIDMembersMidUnauthorized struct {
}

DeleteProjectsProjectIDMembersMidUnauthorized handles this case with default header values.

User need to log in first.

func NewDeleteProjectsProjectIDMembersMidUnauthorized

func NewDeleteProjectsProjectIDMembersMidUnauthorized() *DeleteProjectsProjectIDMembersMidUnauthorized

NewDeleteProjectsProjectIDMembersMidUnauthorized creates a DeleteProjectsProjectIDMembersMidUnauthorized with default headers values

func (*DeleteProjectsProjectIDMembersMidUnauthorized) Error

type DeleteProjectsProjectIDMetadatasMetaNameBadRequest

type DeleteProjectsProjectIDMetadatasMetaNameBadRequest struct {
}

DeleteProjectsProjectIDMetadatasMetaNameBadRequest handles this case with default header values.

Invalid requst.

func NewDeleteProjectsProjectIDMetadatasMetaNameBadRequest

func NewDeleteProjectsProjectIDMetadatasMetaNameBadRequest() *DeleteProjectsProjectIDMetadatasMetaNameBadRequest

NewDeleteProjectsProjectIDMetadatasMetaNameBadRequest creates a DeleteProjectsProjectIDMetadatasMetaNameBadRequest with default headers values

func (*DeleteProjectsProjectIDMetadatasMetaNameBadRequest) Error

type DeleteProjectsProjectIDMetadatasMetaNameForbidden

type DeleteProjectsProjectIDMetadatasMetaNameForbidden struct {
}

DeleteProjectsProjectIDMetadatasMetaNameForbidden handles this case with default header values.

User need to log in first.

func NewDeleteProjectsProjectIDMetadatasMetaNameForbidden

func NewDeleteProjectsProjectIDMetadatasMetaNameForbidden() *DeleteProjectsProjectIDMetadatasMetaNameForbidden

NewDeleteProjectsProjectIDMetadatasMetaNameForbidden creates a DeleteProjectsProjectIDMetadatasMetaNameForbidden with default headers values

func (*DeleteProjectsProjectIDMetadatasMetaNameForbidden) Error

type DeleteProjectsProjectIDMetadatasMetaNameInternalServerError

type DeleteProjectsProjectIDMetadatasMetaNameInternalServerError struct {
}

DeleteProjectsProjectIDMetadatasMetaNameInternalServerError handles this case with default header values.

Internal server errors.

func NewDeleteProjectsProjectIDMetadatasMetaNameInternalServerError

func NewDeleteProjectsProjectIDMetadatasMetaNameInternalServerError() *DeleteProjectsProjectIDMetadatasMetaNameInternalServerError

NewDeleteProjectsProjectIDMetadatasMetaNameInternalServerError creates a DeleteProjectsProjectIDMetadatasMetaNameInternalServerError with default headers values

func (*DeleteProjectsProjectIDMetadatasMetaNameInternalServerError) Error

type DeleteProjectsProjectIDMetadatasMetaNameNotFound

type DeleteProjectsProjectIDMetadatasMetaNameNotFound struct {
}

DeleteProjectsProjectIDMetadatasMetaNameNotFound handles this case with default header values.

Project or metadata does not exist.

func NewDeleteProjectsProjectIDMetadatasMetaNameNotFound

func NewDeleteProjectsProjectIDMetadatasMetaNameNotFound() *DeleteProjectsProjectIDMetadatasMetaNameNotFound

NewDeleteProjectsProjectIDMetadatasMetaNameNotFound creates a DeleteProjectsProjectIDMetadatasMetaNameNotFound with default headers values

func (*DeleteProjectsProjectIDMetadatasMetaNameNotFound) Error

type DeleteProjectsProjectIDMetadatasMetaNameOK

type DeleteProjectsProjectIDMetadatasMetaNameOK struct {
}

DeleteProjectsProjectIDMetadatasMetaNameOK handles this case with default header values.

Metadata is deleted successfully.

func NewDeleteProjectsProjectIDMetadatasMetaNameOK

func NewDeleteProjectsProjectIDMetadatasMetaNameOK() *DeleteProjectsProjectIDMetadatasMetaNameOK

NewDeleteProjectsProjectIDMetadatasMetaNameOK creates a DeleteProjectsProjectIDMetadatasMetaNameOK with default headers values

func (*DeleteProjectsProjectIDMetadatasMetaNameOK) Error

type DeleteProjectsProjectIDMetadatasMetaNameParams

type DeleteProjectsProjectIDMetadatasMetaNameParams struct {

	/*MetaName
	  The name of metadat.

	*/
	MetaName string
	/*ProjectID
	  The ID of project.

	*/
	ProjectID int64

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

DeleteProjectsProjectIDMetadatasMetaNameParams contains all the parameters to send to the API endpoint for the delete projects project ID metadatas meta name operation typically these are written to a http.Request

func NewDeleteProjectsProjectIDMetadatasMetaNameParams

func NewDeleteProjectsProjectIDMetadatasMetaNameParams() *DeleteProjectsProjectIDMetadatasMetaNameParams

NewDeleteProjectsProjectIDMetadatasMetaNameParams creates a new DeleteProjectsProjectIDMetadatasMetaNameParams object with the default values initialized.

func NewDeleteProjectsProjectIDMetadatasMetaNameParamsWithContext

func NewDeleteProjectsProjectIDMetadatasMetaNameParamsWithContext(ctx context.Context) *DeleteProjectsProjectIDMetadatasMetaNameParams

NewDeleteProjectsProjectIDMetadatasMetaNameParamsWithContext creates a new DeleteProjectsProjectIDMetadatasMetaNameParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteProjectsProjectIDMetadatasMetaNameParamsWithHTTPClient

func NewDeleteProjectsProjectIDMetadatasMetaNameParamsWithHTTPClient(client *http.Client) *DeleteProjectsProjectIDMetadatasMetaNameParams

NewDeleteProjectsProjectIDMetadatasMetaNameParamsWithHTTPClient creates a new DeleteProjectsProjectIDMetadatasMetaNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteProjectsProjectIDMetadatasMetaNameParamsWithTimeout

func NewDeleteProjectsProjectIDMetadatasMetaNameParamsWithTimeout(timeout time.Duration) *DeleteProjectsProjectIDMetadatasMetaNameParams

NewDeleteProjectsProjectIDMetadatasMetaNameParamsWithTimeout creates a new DeleteProjectsProjectIDMetadatasMetaNameParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteProjectsProjectIDMetadatasMetaNameParams) SetContext

SetContext adds the context to the delete projects project ID metadatas meta name params

func (*DeleteProjectsProjectIDMetadatasMetaNameParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete projects project ID metadatas meta name params

func (*DeleteProjectsProjectIDMetadatasMetaNameParams) SetMetaName

func (o *DeleteProjectsProjectIDMetadatasMetaNameParams) SetMetaName(metaName string)

SetMetaName adds the metaName to the delete projects project ID metadatas meta name params

func (*DeleteProjectsProjectIDMetadatasMetaNameParams) SetProjectID

func (o *DeleteProjectsProjectIDMetadatasMetaNameParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the delete projects project ID metadatas meta name params

func (*DeleteProjectsProjectIDMetadatasMetaNameParams) SetTimeout

SetTimeout adds the timeout to the delete projects project ID metadatas meta name params

func (*DeleteProjectsProjectIDMetadatasMetaNameParams) WithContext

WithContext adds the context to the delete projects project ID metadatas meta name params

func (*DeleteProjectsProjectIDMetadatasMetaNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete projects project ID metadatas meta name params

func (*DeleteProjectsProjectIDMetadatasMetaNameParams) WithMetaName

WithMetaName adds the metaName to the delete projects project ID metadatas meta name params

func (*DeleteProjectsProjectIDMetadatasMetaNameParams) WithProjectID

WithProjectID adds the projectID to the delete projects project ID metadatas meta name params

func (*DeleteProjectsProjectIDMetadatasMetaNameParams) WithTimeout

WithTimeout adds the timeout to the delete projects project ID metadatas meta name params

func (*DeleteProjectsProjectIDMetadatasMetaNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteProjectsProjectIDMetadatasMetaNameReader

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

DeleteProjectsProjectIDMetadatasMetaNameReader is a Reader for the DeleteProjectsProjectIDMetadatasMetaName structure.

func (*DeleteProjectsProjectIDMetadatasMetaNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteProjectsProjectIDNotFound

type DeleteProjectsProjectIDNotFound struct {
}

DeleteProjectsProjectIDNotFound handles this case with default header values.

Project does not exist.

func NewDeleteProjectsProjectIDNotFound

func NewDeleteProjectsProjectIDNotFound() *DeleteProjectsProjectIDNotFound

NewDeleteProjectsProjectIDNotFound creates a DeleteProjectsProjectIDNotFound with default headers values

func (*DeleteProjectsProjectIDNotFound) Error

type DeleteProjectsProjectIDOK

type DeleteProjectsProjectIDOK struct {
}

DeleteProjectsProjectIDOK handles this case with default header values.

Project is deleted successfully.

func NewDeleteProjectsProjectIDOK

func NewDeleteProjectsProjectIDOK() *DeleteProjectsProjectIDOK

NewDeleteProjectsProjectIDOK creates a DeleteProjectsProjectIDOK with default headers values

func (*DeleteProjectsProjectIDOK) Error

func (o *DeleteProjectsProjectIDOK) Error() string

type DeleteProjectsProjectIDParams

type DeleteProjectsProjectIDParams struct {

	/*ProjectID
	  Project ID of project which will be deleted.

	*/
	ProjectID int64

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

DeleteProjectsProjectIDParams contains all the parameters to send to the API endpoint for the delete projects project ID operation typically these are written to a http.Request

func NewDeleteProjectsProjectIDParams

func NewDeleteProjectsProjectIDParams() *DeleteProjectsProjectIDParams

NewDeleteProjectsProjectIDParams creates a new DeleteProjectsProjectIDParams object with the default values initialized.

func NewDeleteProjectsProjectIDParamsWithContext

func NewDeleteProjectsProjectIDParamsWithContext(ctx context.Context) *DeleteProjectsProjectIDParams

NewDeleteProjectsProjectIDParamsWithContext creates a new DeleteProjectsProjectIDParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteProjectsProjectIDParamsWithHTTPClient

func NewDeleteProjectsProjectIDParamsWithHTTPClient(client *http.Client) *DeleteProjectsProjectIDParams

NewDeleteProjectsProjectIDParamsWithHTTPClient creates a new DeleteProjectsProjectIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteProjectsProjectIDParamsWithTimeout

func NewDeleteProjectsProjectIDParamsWithTimeout(timeout time.Duration) *DeleteProjectsProjectIDParams

NewDeleteProjectsProjectIDParamsWithTimeout creates a new DeleteProjectsProjectIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteProjectsProjectIDParams) SetContext

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

SetContext adds the context to the delete projects project ID params

func (*DeleteProjectsProjectIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete projects project ID params

func (*DeleteProjectsProjectIDParams) SetProjectID

func (o *DeleteProjectsProjectIDParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the delete projects project ID params

func (*DeleteProjectsProjectIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete projects project ID params

func (*DeleteProjectsProjectIDParams) WithContext

WithContext adds the context to the delete projects project ID params

func (*DeleteProjectsProjectIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete projects project ID params

func (*DeleteProjectsProjectIDParams) WithProjectID

WithProjectID adds the projectID to the delete projects project ID params

func (*DeleteProjectsProjectIDParams) WithTimeout

WithTimeout adds the timeout to the delete projects project ID params

func (*DeleteProjectsProjectIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteProjectsProjectIDPreconditionFailed

type DeleteProjectsProjectIDPreconditionFailed struct {
}

DeleteProjectsProjectIDPreconditionFailed handles this case with default header values.

Project contains policies, can not be deleted.

func NewDeleteProjectsProjectIDPreconditionFailed

func NewDeleteProjectsProjectIDPreconditionFailed() *DeleteProjectsProjectIDPreconditionFailed

NewDeleteProjectsProjectIDPreconditionFailed creates a DeleteProjectsProjectIDPreconditionFailed with default headers values

func (*DeleteProjectsProjectIDPreconditionFailed) Error

type DeleteProjectsProjectIDReader

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

DeleteProjectsProjectIDReader is a Reader for the DeleteProjectsProjectID structure.

func (*DeleteProjectsProjectIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRegistriesIDBadRequest

type DeleteRegistriesIDBadRequest struct {
}

DeleteRegistriesIDBadRequest handles this case with default header values.

Registry's ID is invalid or the registry is used by policies.

func NewDeleteRegistriesIDBadRequest

func NewDeleteRegistriesIDBadRequest() *DeleteRegistriesIDBadRequest

NewDeleteRegistriesIDBadRequest creates a DeleteRegistriesIDBadRequest with default headers values

func (*DeleteRegistriesIDBadRequest) Error

type DeleteRegistriesIDInternalServerError

type DeleteRegistriesIDInternalServerError struct {
}

DeleteRegistriesIDInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewDeleteRegistriesIDInternalServerError

func NewDeleteRegistriesIDInternalServerError() *DeleteRegistriesIDInternalServerError

NewDeleteRegistriesIDInternalServerError creates a DeleteRegistriesIDInternalServerError with default headers values

func (*DeleteRegistriesIDInternalServerError) Error

type DeleteRegistriesIDNotFound

type DeleteRegistriesIDNotFound struct {
}

DeleteRegistriesIDNotFound handles this case with default header values.

Registry does not exist.

func NewDeleteRegistriesIDNotFound

func NewDeleteRegistriesIDNotFound() *DeleteRegistriesIDNotFound

NewDeleteRegistriesIDNotFound creates a DeleteRegistriesIDNotFound with default headers values

func (*DeleteRegistriesIDNotFound) Error

type DeleteRegistriesIDOK

type DeleteRegistriesIDOK struct {
}

DeleteRegistriesIDOK handles this case with default header values.

Registry deleted successfully.

func NewDeleteRegistriesIDOK

func NewDeleteRegistriesIDOK() *DeleteRegistriesIDOK

NewDeleteRegistriesIDOK creates a DeleteRegistriesIDOK with default headers values

func (*DeleteRegistriesIDOK) Error

func (o *DeleteRegistriesIDOK) Error() string

type DeleteRegistriesIDParams

type DeleteRegistriesIDParams struct {

	/*ID
	  The registry's ID.

	*/
	ID int64

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

DeleteRegistriesIDParams contains all the parameters to send to the API endpoint for the delete registries ID operation typically these are written to a http.Request

func NewDeleteRegistriesIDParams

func NewDeleteRegistriesIDParams() *DeleteRegistriesIDParams

NewDeleteRegistriesIDParams creates a new DeleteRegistriesIDParams object with the default values initialized.

func NewDeleteRegistriesIDParamsWithContext

func NewDeleteRegistriesIDParamsWithContext(ctx context.Context) *DeleteRegistriesIDParams

NewDeleteRegistriesIDParamsWithContext creates a new DeleteRegistriesIDParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteRegistriesIDParamsWithHTTPClient

func NewDeleteRegistriesIDParamsWithHTTPClient(client *http.Client) *DeleteRegistriesIDParams

NewDeleteRegistriesIDParamsWithHTTPClient creates a new DeleteRegistriesIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteRegistriesIDParamsWithTimeout

func NewDeleteRegistriesIDParamsWithTimeout(timeout time.Duration) *DeleteRegistriesIDParams

NewDeleteRegistriesIDParamsWithTimeout creates a new DeleteRegistriesIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteRegistriesIDParams) SetContext

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

SetContext adds the context to the delete registries ID params

func (*DeleteRegistriesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete registries ID params

func (*DeleteRegistriesIDParams) SetID

func (o *DeleteRegistriesIDParams) SetID(id int64)

SetID adds the id to the delete registries ID params

func (*DeleteRegistriesIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete registries ID params

func (*DeleteRegistriesIDParams) WithContext

WithContext adds the context to the delete registries ID params

func (*DeleteRegistriesIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete registries ID params

func (*DeleteRegistriesIDParams) WithID

WithID adds the id to the delete registries ID params

func (*DeleteRegistriesIDParams) WithTimeout

WithTimeout adds the timeout to the delete registries ID params

func (*DeleteRegistriesIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRegistriesIDReader

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

DeleteRegistriesIDReader is a Reader for the DeleteRegistriesID structure.

func (*DeleteRegistriesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRegistriesIDUnauthorized

type DeleteRegistriesIDUnauthorized struct {
}

DeleteRegistriesIDUnauthorized handles this case with default header values.

Only admin has this authority.

func NewDeleteRegistriesIDUnauthorized

func NewDeleteRegistriesIDUnauthorized() *DeleteRegistriesIDUnauthorized

NewDeleteRegistriesIDUnauthorized creates a DeleteRegistriesIDUnauthorized with default headers values

func (*DeleteRegistriesIDUnauthorized) Error

type DeleteReplicationPoliciesIDBadRequest

type DeleteReplicationPoliciesIDBadRequest struct {
}

DeleteReplicationPoliciesIDBadRequest handles this case with default header values.

Bad Request

func NewDeleteReplicationPoliciesIDBadRequest

func NewDeleteReplicationPoliciesIDBadRequest() *DeleteReplicationPoliciesIDBadRequest

NewDeleteReplicationPoliciesIDBadRequest creates a DeleteReplicationPoliciesIDBadRequest with default headers values

func (*DeleteReplicationPoliciesIDBadRequest) Error

type DeleteReplicationPoliciesIDForbidden

type DeleteReplicationPoliciesIDForbidden struct {
}

DeleteReplicationPoliciesIDForbidden handles this case with default header values.

Forbidden

func NewDeleteReplicationPoliciesIDForbidden

func NewDeleteReplicationPoliciesIDForbidden() *DeleteReplicationPoliciesIDForbidden

NewDeleteReplicationPoliciesIDForbidden creates a DeleteReplicationPoliciesIDForbidden with default headers values

func (*DeleteReplicationPoliciesIDForbidden) Error

type DeleteReplicationPoliciesIDInternalServerError

type DeleteReplicationPoliciesIDInternalServerError struct {
}

DeleteReplicationPoliciesIDInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteReplicationPoliciesIDInternalServerError

func NewDeleteReplicationPoliciesIDInternalServerError() *DeleteReplicationPoliciesIDInternalServerError

NewDeleteReplicationPoliciesIDInternalServerError creates a DeleteReplicationPoliciesIDInternalServerError with default headers values

func (*DeleteReplicationPoliciesIDInternalServerError) Error

type DeleteReplicationPoliciesIDNotFound

type DeleteReplicationPoliciesIDNotFound struct {
}

DeleteReplicationPoliciesIDNotFound handles this case with default header values.

Not Found

func NewDeleteReplicationPoliciesIDNotFound

func NewDeleteReplicationPoliciesIDNotFound() *DeleteReplicationPoliciesIDNotFound

NewDeleteReplicationPoliciesIDNotFound creates a DeleteReplicationPoliciesIDNotFound with default headers values

func (*DeleteReplicationPoliciesIDNotFound) Error

type DeleteReplicationPoliciesIDOK

type DeleteReplicationPoliciesIDOK struct {
}

DeleteReplicationPoliciesIDOK handles this case with default header values.

Success

func NewDeleteReplicationPoliciesIDOK

func NewDeleteReplicationPoliciesIDOK() *DeleteReplicationPoliciesIDOK

NewDeleteReplicationPoliciesIDOK creates a DeleteReplicationPoliciesIDOK with default headers values

func (*DeleteReplicationPoliciesIDOK) Error

type DeleteReplicationPoliciesIDParams

type DeleteReplicationPoliciesIDParams struct {

	/*ID
	  Replication policy ID

	*/
	ID int64

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

DeleteReplicationPoliciesIDParams contains all the parameters to send to the API endpoint for the delete replication policies ID operation typically these are written to a http.Request

func NewDeleteReplicationPoliciesIDParams

func NewDeleteReplicationPoliciesIDParams() *DeleteReplicationPoliciesIDParams

NewDeleteReplicationPoliciesIDParams creates a new DeleteReplicationPoliciesIDParams object with the default values initialized.

func NewDeleteReplicationPoliciesIDParamsWithContext

func NewDeleteReplicationPoliciesIDParamsWithContext(ctx context.Context) *DeleteReplicationPoliciesIDParams

NewDeleteReplicationPoliciesIDParamsWithContext creates a new DeleteReplicationPoliciesIDParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteReplicationPoliciesIDParamsWithHTTPClient

func NewDeleteReplicationPoliciesIDParamsWithHTTPClient(client *http.Client) *DeleteReplicationPoliciesIDParams

NewDeleteReplicationPoliciesIDParamsWithHTTPClient creates a new DeleteReplicationPoliciesIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteReplicationPoliciesIDParamsWithTimeout

func NewDeleteReplicationPoliciesIDParamsWithTimeout(timeout time.Duration) *DeleteReplicationPoliciesIDParams

NewDeleteReplicationPoliciesIDParamsWithTimeout creates a new DeleteReplicationPoliciesIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteReplicationPoliciesIDParams) SetContext

SetContext adds the context to the delete replication policies ID params

func (*DeleteReplicationPoliciesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete replication policies ID params

func (*DeleteReplicationPoliciesIDParams) SetID

SetID adds the id to the delete replication policies ID params

func (*DeleteReplicationPoliciesIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete replication policies ID params

func (*DeleteReplicationPoliciesIDParams) WithContext

WithContext adds the context to the delete replication policies ID params

func (*DeleteReplicationPoliciesIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete replication policies ID params

func (*DeleteReplicationPoliciesIDParams) WithID

WithID adds the id to the delete replication policies ID params

func (*DeleteReplicationPoliciesIDParams) WithTimeout

WithTimeout adds the timeout to the delete replication policies ID params

func (*DeleteReplicationPoliciesIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteReplicationPoliciesIDPreconditionFailed

type DeleteReplicationPoliciesIDPreconditionFailed struct {
}

DeleteReplicationPoliciesIDPreconditionFailed handles this case with default header values.

Precondition Failed

func NewDeleteReplicationPoliciesIDPreconditionFailed

func NewDeleteReplicationPoliciesIDPreconditionFailed() *DeleteReplicationPoliciesIDPreconditionFailed

NewDeleteReplicationPoliciesIDPreconditionFailed creates a DeleteReplicationPoliciesIDPreconditionFailed with default headers values

func (*DeleteReplicationPoliciesIDPreconditionFailed) Error

type DeleteReplicationPoliciesIDReader

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

DeleteReplicationPoliciesIDReader is a Reader for the DeleteReplicationPoliciesID structure.

func (*DeleteReplicationPoliciesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteReplicationPoliciesIDUnauthorized

type DeleteReplicationPoliciesIDUnauthorized struct {
}

DeleteReplicationPoliciesIDUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteReplicationPoliciesIDUnauthorized

func NewDeleteReplicationPoliciesIDUnauthorized() *DeleteReplicationPoliciesIDUnauthorized

NewDeleteReplicationPoliciesIDUnauthorized creates a DeleteReplicationPoliciesIDUnauthorized with default headers values

func (*DeleteReplicationPoliciesIDUnauthorized) Error

type DeleteUsersUserIDBadRequest

type DeleteUsersUserIDBadRequest struct {
}

DeleteUsersUserIDBadRequest handles this case with default header values.

Invalid user ID.

func NewDeleteUsersUserIDBadRequest

func NewDeleteUsersUserIDBadRequest() *DeleteUsersUserIDBadRequest

NewDeleteUsersUserIDBadRequest creates a DeleteUsersUserIDBadRequest with default headers values

func (*DeleteUsersUserIDBadRequest) Error

type DeleteUsersUserIDForbidden

type DeleteUsersUserIDForbidden struct {
}

DeleteUsersUserIDForbidden handles this case with default header values.

User does not have permission of admin role.

func NewDeleteUsersUserIDForbidden

func NewDeleteUsersUserIDForbidden() *DeleteUsersUserIDForbidden

NewDeleteUsersUserIDForbidden creates a DeleteUsersUserIDForbidden with default headers values

func (*DeleteUsersUserIDForbidden) Error

type DeleteUsersUserIDInternalServerError

type DeleteUsersUserIDInternalServerError struct {
}

DeleteUsersUserIDInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewDeleteUsersUserIDInternalServerError

func NewDeleteUsersUserIDInternalServerError() *DeleteUsersUserIDInternalServerError

NewDeleteUsersUserIDInternalServerError creates a DeleteUsersUserIDInternalServerError with default headers values

func (*DeleteUsersUserIDInternalServerError) Error

type DeleteUsersUserIDNotFound

type DeleteUsersUserIDNotFound struct {
}

DeleteUsersUserIDNotFound handles this case with default header values.

User ID does not exist.

func NewDeleteUsersUserIDNotFound

func NewDeleteUsersUserIDNotFound() *DeleteUsersUserIDNotFound

NewDeleteUsersUserIDNotFound creates a DeleteUsersUserIDNotFound with default headers values

func (*DeleteUsersUserIDNotFound) Error

func (o *DeleteUsersUserIDNotFound) Error() string

type DeleteUsersUserIDOK

type DeleteUsersUserIDOK struct {
}

DeleteUsersUserIDOK handles this case with default header values.

Marked user as be removed successfully.

func NewDeleteUsersUserIDOK

func NewDeleteUsersUserIDOK() *DeleteUsersUserIDOK

NewDeleteUsersUserIDOK creates a DeleteUsersUserIDOK with default headers values

func (*DeleteUsersUserIDOK) Error

func (o *DeleteUsersUserIDOK) Error() string

type DeleteUsersUserIDParams

type DeleteUsersUserIDParams struct {

	/*UserID
	  User ID for marking as to be removed.

	*/
	UserID int64

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

DeleteUsersUserIDParams contains all the parameters to send to the API endpoint for the delete users user ID operation typically these are written to a http.Request

func NewDeleteUsersUserIDParams

func NewDeleteUsersUserIDParams() *DeleteUsersUserIDParams

NewDeleteUsersUserIDParams creates a new DeleteUsersUserIDParams object with the default values initialized.

func NewDeleteUsersUserIDParamsWithContext

func NewDeleteUsersUserIDParamsWithContext(ctx context.Context) *DeleteUsersUserIDParams

NewDeleteUsersUserIDParamsWithContext creates a new DeleteUsersUserIDParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteUsersUserIDParamsWithHTTPClient

func NewDeleteUsersUserIDParamsWithHTTPClient(client *http.Client) *DeleteUsersUserIDParams

NewDeleteUsersUserIDParamsWithHTTPClient creates a new DeleteUsersUserIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteUsersUserIDParamsWithTimeout

func NewDeleteUsersUserIDParamsWithTimeout(timeout time.Duration) *DeleteUsersUserIDParams

NewDeleteUsersUserIDParamsWithTimeout creates a new DeleteUsersUserIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteUsersUserIDParams) SetContext

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

SetContext adds the context to the delete users user ID params

func (*DeleteUsersUserIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete users user ID params

func (*DeleteUsersUserIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete users user ID params

func (*DeleteUsersUserIDParams) SetUserID

func (o *DeleteUsersUserIDParams) SetUserID(userID int64)

SetUserID adds the userId to the delete users user ID params

func (*DeleteUsersUserIDParams) WithContext

WithContext adds the context to the delete users user ID params

func (*DeleteUsersUserIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete users user ID params

func (*DeleteUsersUserIDParams) WithTimeout

WithTimeout adds the timeout to the delete users user ID params

func (*DeleteUsersUserIDParams) WithUserID

func (o *DeleteUsersUserIDParams) WithUserID(userID int64) *DeleteUsersUserIDParams

WithUserID adds the userID to the delete users user ID params

func (*DeleteUsersUserIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUsersUserIDReader

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

DeleteUsersUserIDReader is a Reader for the DeleteUsersUserID structure.

func (*DeleteUsersUserIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUsersUserIDUnauthorized

type DeleteUsersUserIDUnauthorized struct {
}

DeleteUsersUserIDUnauthorized handles this case with default header values.

User need to log in first.

func NewDeleteUsersUserIDUnauthorized

func NewDeleteUsersUserIDUnauthorized() *DeleteUsersUserIDUnauthorized

NewDeleteUsersUserIDUnauthorized creates a DeleteUsersUserIDUnauthorized with default headers values

func (*DeleteUsersUserIDUnauthorized) Error

type GetHealthOK

type GetHealthOK struct {
	Payload *model.OverallHealthStatus
}

GetHealthOK handles this case with default header values.

The system health status.

func NewGetHealthOK

func NewGetHealthOK() *GetHealthOK

NewGetHealthOK creates a GetHealthOK with default headers values

func (*GetHealthOK) Error

func (o *GetHealthOK) Error() string

func (*GetHealthOK) GetPayload

func (o *GetHealthOK) GetPayload() *model.OverallHealthStatus

type GetHealthParams

type GetHealthParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetHealthParams contains all the parameters to send to the API endpoint for the get health operation typically these are written to a http.Request

func NewGetHealthParams

func NewGetHealthParams() *GetHealthParams

NewGetHealthParams creates a new GetHealthParams object with the default values initialized.

func NewGetHealthParamsWithContext

func NewGetHealthParamsWithContext(ctx context.Context) *GetHealthParams

NewGetHealthParamsWithContext creates a new GetHealthParams object with the default values initialized, and the ability to set a context for a request

func NewGetHealthParamsWithHTTPClient

func NewGetHealthParamsWithHTTPClient(client *http.Client) *GetHealthParams

NewGetHealthParamsWithHTTPClient creates a new GetHealthParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetHealthParamsWithTimeout

func NewGetHealthParamsWithTimeout(timeout time.Duration) *GetHealthParams

NewGetHealthParamsWithTimeout creates a new GetHealthParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetHealthParams) SetContext

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

SetContext adds the context to the get health params

func (*GetHealthParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get health params

func (*GetHealthParams) SetTimeout

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

SetTimeout adds the timeout to the get health params

func (*GetHealthParams) WithContext

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

WithContext adds the context to the get health params

func (*GetHealthParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get health params

func (*GetHealthParams) WithTimeout

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

WithTimeout adds the timeout to the get health params

func (*GetHealthParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetHealthReader

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

GetHealthReader is a Reader for the GetHealth structure.

func (*GetHealthReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetProjectsInternalServerError

type GetProjectsInternalServerError struct {
}

GetProjectsInternalServerError handles this case with default header values.

Internal errors.

func NewGetProjectsInternalServerError

func NewGetProjectsInternalServerError() *GetProjectsInternalServerError

NewGetProjectsInternalServerError creates a GetProjectsInternalServerError with default headers values

func (*GetProjectsInternalServerError) Error

type GetProjectsOK

type GetProjectsOK struct {
	/*Link refers to the previous page and next page
	 */
	Link string
	/*The total count of projects
	 */
	XTotalCount int64

	Payload []*model.Project
}

GetProjectsOK handles this case with default header values.

Return all matched projects.

func NewGetProjectsOK

func NewGetProjectsOK() *GetProjectsOK

NewGetProjectsOK creates a GetProjectsOK with default headers values

func (*GetProjectsOK) Error

func (o *GetProjectsOK) Error() string

func (*GetProjectsOK) GetPayload

func (o *GetProjectsOK) GetPayload() []*model.Project

type GetProjectsParams

type GetProjectsParams struct {

	/*Name
	  The name of project.

	*/
	Name *string
	/*Owner
	  The name of project owner.

	*/
	Owner *string
	/*Page
	  The page number, default is 1.

	*/
	Page *int32
	/*PageSize
	  The size of per page, default is 10, maximum is 100.

	*/
	PageSize *int32
	/*Public
	  The project is public or private.

	*/
	Public *bool

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

GetProjectsParams contains all the parameters to send to the API endpoint for the get projects operation typically these are written to a http.Request

func NewGetProjectsParams

func NewGetProjectsParams() *GetProjectsParams

NewGetProjectsParams creates a new GetProjectsParams object with the default values initialized.

func NewGetProjectsParamsWithContext

func NewGetProjectsParamsWithContext(ctx context.Context) *GetProjectsParams

NewGetProjectsParamsWithContext creates a new GetProjectsParams object with the default values initialized, and the ability to set a context for a request

func NewGetProjectsParamsWithHTTPClient

func NewGetProjectsParamsWithHTTPClient(client *http.Client) *GetProjectsParams

NewGetProjectsParamsWithHTTPClient creates a new GetProjectsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetProjectsParamsWithTimeout

func NewGetProjectsParamsWithTimeout(timeout time.Duration) *GetProjectsParams

NewGetProjectsParamsWithTimeout creates a new GetProjectsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetProjectsParams) SetContext

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

SetContext adds the context to the get projects params

func (*GetProjectsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get projects params

func (*GetProjectsParams) SetName

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

SetName adds the name to the get projects params

func (*GetProjectsParams) SetOwner

func (o *GetProjectsParams) SetOwner(owner *string)

SetOwner adds the owner to the get projects params

func (*GetProjectsParams) SetPage

func (o *GetProjectsParams) SetPage(page *int32)

SetPage adds the page to the get projects params

func (*GetProjectsParams) SetPageSize

func (o *GetProjectsParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the get projects params

func (*GetProjectsParams) SetPublic

func (o *GetProjectsParams) SetPublic(public *bool)

SetPublic adds the public to the get projects params

func (*GetProjectsParams) SetTimeout

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

SetTimeout adds the timeout to the get projects params

func (*GetProjectsParams) WithContext

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

WithContext adds the context to the get projects params

func (*GetProjectsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get projects params

func (*GetProjectsParams) WithName

func (o *GetProjectsParams) WithName(name *string) *GetProjectsParams

WithName adds the name to the get projects params

func (*GetProjectsParams) WithOwner

func (o *GetProjectsParams) WithOwner(owner *string) *GetProjectsParams

WithOwner adds the owner to the get projects params

func (*GetProjectsParams) WithPage

func (o *GetProjectsParams) WithPage(page *int32) *GetProjectsParams

WithPage adds the page to the get projects params

func (*GetProjectsParams) WithPageSize

func (o *GetProjectsParams) WithPageSize(pageSize *int32) *GetProjectsParams

WithPageSize adds the pageSize to the get projects params

func (*GetProjectsParams) WithPublic

func (o *GetProjectsParams) WithPublic(public *bool) *GetProjectsParams

WithPublic adds the public to the get projects params

func (*GetProjectsParams) WithTimeout

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

WithTimeout adds the timeout to the get projects params

func (*GetProjectsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetProjectsProjectIDInternalServerError

type GetProjectsProjectIDInternalServerError struct {
}

GetProjectsProjectIDInternalServerError handles this case with default header values.

Internal errors.

func NewGetProjectsProjectIDInternalServerError

func NewGetProjectsProjectIDInternalServerError() *GetProjectsProjectIDInternalServerError

NewGetProjectsProjectIDInternalServerError creates a GetProjectsProjectIDInternalServerError with default headers values

func (*GetProjectsProjectIDInternalServerError) Error

type GetProjectsProjectIDMembersBadRequest

type GetProjectsProjectIDMembersBadRequest struct {
}

GetProjectsProjectIDMembersBadRequest handles this case with default header values.

The project id is invalid.

func NewGetProjectsProjectIDMembersBadRequest

func NewGetProjectsProjectIDMembersBadRequest() *GetProjectsProjectIDMembersBadRequest

NewGetProjectsProjectIDMembersBadRequest creates a GetProjectsProjectIDMembersBadRequest with default headers values

func (*GetProjectsProjectIDMembersBadRequest) Error

type GetProjectsProjectIDMembersForbidden

type GetProjectsProjectIDMembersForbidden struct {
}

GetProjectsProjectIDMembersForbidden handles this case with default header values.

User in session does not have permission to the project.

func NewGetProjectsProjectIDMembersForbidden

func NewGetProjectsProjectIDMembersForbidden() *GetProjectsProjectIDMembersForbidden

NewGetProjectsProjectIDMembersForbidden creates a GetProjectsProjectIDMembersForbidden with default headers values

func (*GetProjectsProjectIDMembersForbidden) Error

type GetProjectsProjectIDMembersInternalServerError

type GetProjectsProjectIDMembersInternalServerError struct {
}

GetProjectsProjectIDMembersInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewGetProjectsProjectIDMembersInternalServerError

func NewGetProjectsProjectIDMembersInternalServerError() *GetProjectsProjectIDMembersInternalServerError

NewGetProjectsProjectIDMembersInternalServerError creates a GetProjectsProjectIDMembersInternalServerError with default headers values

func (*GetProjectsProjectIDMembersInternalServerError) Error

type GetProjectsProjectIDMembersNotFound

type GetProjectsProjectIDMembersNotFound struct {
}

GetProjectsProjectIDMembersNotFound handles this case with default header values.

Project ID does not exist.

func NewGetProjectsProjectIDMembersNotFound

func NewGetProjectsProjectIDMembersNotFound() *GetProjectsProjectIDMembersNotFound

NewGetProjectsProjectIDMembersNotFound creates a GetProjectsProjectIDMembersNotFound with default headers values

func (*GetProjectsProjectIDMembersNotFound) Error

type GetProjectsProjectIDMembersOK

type GetProjectsProjectIDMembersOK struct {
	Payload []*model.ProjectMemberEntity
}

GetProjectsProjectIDMembersOK handles this case with default header values.

Get project members successfully.

func NewGetProjectsProjectIDMembersOK

func NewGetProjectsProjectIDMembersOK() *GetProjectsProjectIDMembersOK

NewGetProjectsProjectIDMembersOK creates a GetProjectsProjectIDMembersOK with default headers values

func (*GetProjectsProjectIDMembersOK) Error

func (*GetProjectsProjectIDMembersOK) GetPayload

type GetProjectsProjectIDMembersParams

type GetProjectsProjectIDMembersParams struct {

	/*Entityname
	  The entity name to search.

	*/
	Entityname *string
	/*ProjectID
	  Relevant project ID.

	*/
	ProjectID int64

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

GetProjectsProjectIDMembersParams contains all the parameters to send to the API endpoint for the get projects project ID members operation typically these are written to a http.Request

func NewGetProjectsProjectIDMembersParams

func NewGetProjectsProjectIDMembersParams() *GetProjectsProjectIDMembersParams

NewGetProjectsProjectIDMembersParams creates a new GetProjectsProjectIDMembersParams object with the default values initialized.

func NewGetProjectsProjectIDMembersParamsWithContext

func NewGetProjectsProjectIDMembersParamsWithContext(ctx context.Context) *GetProjectsProjectIDMembersParams

NewGetProjectsProjectIDMembersParamsWithContext creates a new GetProjectsProjectIDMembersParams object with the default values initialized, and the ability to set a context for a request

func NewGetProjectsProjectIDMembersParamsWithHTTPClient

func NewGetProjectsProjectIDMembersParamsWithHTTPClient(client *http.Client) *GetProjectsProjectIDMembersParams

NewGetProjectsProjectIDMembersParamsWithHTTPClient creates a new GetProjectsProjectIDMembersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetProjectsProjectIDMembersParamsWithTimeout

func NewGetProjectsProjectIDMembersParamsWithTimeout(timeout time.Duration) *GetProjectsProjectIDMembersParams

NewGetProjectsProjectIDMembersParamsWithTimeout creates a new GetProjectsProjectIDMembersParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetProjectsProjectIDMembersParams) SetContext

SetContext adds the context to the get projects project ID members params

func (*GetProjectsProjectIDMembersParams) SetEntityname

func (o *GetProjectsProjectIDMembersParams) SetEntityname(entityname *string)

SetEntityname adds the entityname to the get projects project ID members params

func (*GetProjectsProjectIDMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get projects project ID members params

func (*GetProjectsProjectIDMembersParams) SetProjectID

func (o *GetProjectsProjectIDMembersParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the get projects project ID members params

func (*GetProjectsProjectIDMembersParams) SetTimeout

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

SetTimeout adds the timeout to the get projects project ID members params

func (*GetProjectsProjectIDMembersParams) WithContext

WithContext adds the context to the get projects project ID members params

func (*GetProjectsProjectIDMembersParams) WithEntityname

WithEntityname adds the entityname to the get projects project ID members params

func (*GetProjectsProjectIDMembersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get projects project ID members params

func (*GetProjectsProjectIDMembersParams) WithProjectID

WithProjectID adds the projectID to the get projects project ID members params

func (*GetProjectsProjectIDMembersParams) WithTimeout

WithTimeout adds the timeout to the get projects project ID members params

func (*GetProjectsProjectIDMembersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetProjectsProjectIDMembersReader

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

GetProjectsProjectIDMembersReader is a Reader for the GetProjectsProjectIDMembers structure.

func (*GetProjectsProjectIDMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetProjectsProjectIDMembersUnauthorized

type GetProjectsProjectIDMembersUnauthorized struct {
}

GetProjectsProjectIDMembersUnauthorized handles this case with default header values.

User need to log in first.

func NewGetProjectsProjectIDMembersUnauthorized

func NewGetProjectsProjectIDMembersUnauthorized() *GetProjectsProjectIDMembersUnauthorized

NewGetProjectsProjectIDMembersUnauthorized creates a GetProjectsProjectIDMembersUnauthorized with default headers values

func (*GetProjectsProjectIDMembersUnauthorized) Error

type GetProjectsProjectIDMetadatasInternalServerError

type GetProjectsProjectIDMetadatasInternalServerError struct {
}

GetProjectsProjectIDMetadatasInternalServerError handles this case with default header values.

Internal server errors.

func NewGetProjectsProjectIDMetadatasInternalServerError

func NewGetProjectsProjectIDMetadatasInternalServerError() *GetProjectsProjectIDMetadatasInternalServerError

NewGetProjectsProjectIDMetadatasInternalServerError creates a GetProjectsProjectIDMetadatasInternalServerError with default headers values

func (*GetProjectsProjectIDMetadatasInternalServerError) Error

type GetProjectsProjectIDMetadatasMetaNameInternalServerError

type GetProjectsProjectIDMetadatasMetaNameInternalServerError struct {
}

GetProjectsProjectIDMetadatasMetaNameInternalServerError handles this case with default header values.

Internal server errors.

func NewGetProjectsProjectIDMetadatasMetaNameInternalServerError

func NewGetProjectsProjectIDMetadatasMetaNameInternalServerError() *GetProjectsProjectIDMetadatasMetaNameInternalServerError

NewGetProjectsProjectIDMetadatasMetaNameInternalServerError creates a GetProjectsProjectIDMetadatasMetaNameInternalServerError with default headers values

func (*GetProjectsProjectIDMetadatasMetaNameInternalServerError) Error

type GetProjectsProjectIDMetadatasMetaNameOK

type GetProjectsProjectIDMetadatasMetaNameOK struct {
	Payload *model.ProjectMetadata
}

GetProjectsProjectIDMetadatasMetaNameOK handles this case with default header values.

Get metadata successfully.

func NewGetProjectsProjectIDMetadatasMetaNameOK

func NewGetProjectsProjectIDMetadatasMetaNameOK() *GetProjectsProjectIDMetadatasMetaNameOK

NewGetProjectsProjectIDMetadatasMetaNameOK creates a GetProjectsProjectIDMetadatasMetaNameOK with default headers values

func (*GetProjectsProjectIDMetadatasMetaNameOK) Error

func (*GetProjectsProjectIDMetadatasMetaNameOK) GetPayload

type GetProjectsProjectIDMetadatasMetaNameParams

type GetProjectsProjectIDMetadatasMetaNameParams struct {

	/*MetaName
	  The name of metadat.

	*/
	MetaName string
	/*ProjectID
	  Project ID for filtering results.

	*/
	ProjectID int64

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

GetProjectsProjectIDMetadatasMetaNameParams contains all the parameters to send to the API endpoint for the get projects project ID metadatas meta name operation typically these are written to a http.Request

func NewGetProjectsProjectIDMetadatasMetaNameParams

func NewGetProjectsProjectIDMetadatasMetaNameParams() *GetProjectsProjectIDMetadatasMetaNameParams

NewGetProjectsProjectIDMetadatasMetaNameParams creates a new GetProjectsProjectIDMetadatasMetaNameParams object with the default values initialized.

func NewGetProjectsProjectIDMetadatasMetaNameParamsWithContext

func NewGetProjectsProjectIDMetadatasMetaNameParamsWithContext(ctx context.Context) *GetProjectsProjectIDMetadatasMetaNameParams

NewGetProjectsProjectIDMetadatasMetaNameParamsWithContext creates a new GetProjectsProjectIDMetadatasMetaNameParams object with the default values initialized, and the ability to set a context for a request

func NewGetProjectsProjectIDMetadatasMetaNameParamsWithHTTPClient

func NewGetProjectsProjectIDMetadatasMetaNameParamsWithHTTPClient(client *http.Client) *GetProjectsProjectIDMetadatasMetaNameParams

NewGetProjectsProjectIDMetadatasMetaNameParamsWithHTTPClient creates a new GetProjectsProjectIDMetadatasMetaNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetProjectsProjectIDMetadatasMetaNameParamsWithTimeout

func NewGetProjectsProjectIDMetadatasMetaNameParamsWithTimeout(timeout time.Duration) *GetProjectsProjectIDMetadatasMetaNameParams

NewGetProjectsProjectIDMetadatasMetaNameParamsWithTimeout creates a new GetProjectsProjectIDMetadatasMetaNameParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetProjectsProjectIDMetadatasMetaNameParams) SetContext

SetContext adds the context to the get projects project ID metadatas meta name params

func (*GetProjectsProjectIDMetadatasMetaNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get projects project ID metadatas meta name params

func (*GetProjectsProjectIDMetadatasMetaNameParams) SetMetaName

func (o *GetProjectsProjectIDMetadatasMetaNameParams) SetMetaName(metaName string)

SetMetaName adds the metaName to the get projects project ID metadatas meta name params

func (*GetProjectsProjectIDMetadatasMetaNameParams) SetProjectID

func (o *GetProjectsProjectIDMetadatasMetaNameParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the get projects project ID metadatas meta name params

func (*GetProjectsProjectIDMetadatasMetaNameParams) SetTimeout

SetTimeout adds the timeout to the get projects project ID metadatas meta name params

func (*GetProjectsProjectIDMetadatasMetaNameParams) WithContext

WithContext adds the context to the get projects project ID metadatas meta name params

func (*GetProjectsProjectIDMetadatasMetaNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get projects project ID metadatas meta name params

func (*GetProjectsProjectIDMetadatasMetaNameParams) WithMetaName

WithMetaName adds the metaName to the get projects project ID metadatas meta name params

func (*GetProjectsProjectIDMetadatasMetaNameParams) WithProjectID

WithProjectID adds the projectID to the get projects project ID metadatas meta name params

func (*GetProjectsProjectIDMetadatasMetaNameParams) WithTimeout

WithTimeout adds the timeout to the get projects project ID metadatas meta name params

func (*GetProjectsProjectIDMetadatasMetaNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetProjectsProjectIDMetadatasMetaNameReader

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

GetProjectsProjectIDMetadatasMetaNameReader is a Reader for the GetProjectsProjectIDMetadatasMetaName structure.

func (*GetProjectsProjectIDMetadatasMetaNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetProjectsProjectIDMetadatasMetaNameUnauthorized

type GetProjectsProjectIDMetadatasMetaNameUnauthorized struct {
}

GetProjectsProjectIDMetadatasMetaNameUnauthorized handles this case with default header values.

User need to log in first.

func NewGetProjectsProjectIDMetadatasMetaNameUnauthorized

func NewGetProjectsProjectIDMetadatasMetaNameUnauthorized() *GetProjectsProjectIDMetadatasMetaNameUnauthorized

NewGetProjectsProjectIDMetadatasMetaNameUnauthorized creates a GetProjectsProjectIDMetadatasMetaNameUnauthorized with default headers values

func (*GetProjectsProjectIDMetadatasMetaNameUnauthorized) Error

type GetProjectsProjectIDMetadatasOK

type GetProjectsProjectIDMetadatasOK struct {
	Payload *model.ProjectMetadata
}

GetProjectsProjectIDMetadatasOK handles this case with default header values.

Get metadata successfully.

func NewGetProjectsProjectIDMetadatasOK

func NewGetProjectsProjectIDMetadatasOK() *GetProjectsProjectIDMetadatasOK

NewGetProjectsProjectIDMetadatasOK creates a GetProjectsProjectIDMetadatasOK with default headers values

func (*GetProjectsProjectIDMetadatasOK) Error

func (*GetProjectsProjectIDMetadatasOK) GetPayload

type GetProjectsProjectIDMetadatasParams

type GetProjectsProjectIDMetadatasParams struct {

	/*ProjectID
	  The ID of project.

	*/
	ProjectID int64

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

GetProjectsProjectIDMetadatasParams contains all the parameters to send to the API endpoint for the get projects project ID metadatas operation typically these are written to a http.Request

func NewGetProjectsProjectIDMetadatasParams

func NewGetProjectsProjectIDMetadatasParams() *GetProjectsProjectIDMetadatasParams

NewGetProjectsProjectIDMetadatasParams creates a new GetProjectsProjectIDMetadatasParams object with the default values initialized.

func NewGetProjectsProjectIDMetadatasParamsWithContext

func NewGetProjectsProjectIDMetadatasParamsWithContext(ctx context.Context) *GetProjectsProjectIDMetadatasParams

NewGetProjectsProjectIDMetadatasParamsWithContext creates a new GetProjectsProjectIDMetadatasParams object with the default values initialized, and the ability to set a context for a request

func NewGetProjectsProjectIDMetadatasParamsWithHTTPClient

func NewGetProjectsProjectIDMetadatasParamsWithHTTPClient(client *http.Client) *GetProjectsProjectIDMetadatasParams

NewGetProjectsProjectIDMetadatasParamsWithHTTPClient creates a new GetProjectsProjectIDMetadatasParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetProjectsProjectIDMetadatasParamsWithTimeout

func NewGetProjectsProjectIDMetadatasParamsWithTimeout(timeout time.Duration) *GetProjectsProjectIDMetadatasParams

NewGetProjectsProjectIDMetadatasParamsWithTimeout creates a new GetProjectsProjectIDMetadatasParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetProjectsProjectIDMetadatasParams) SetContext

SetContext adds the context to the get projects project ID metadatas params

func (*GetProjectsProjectIDMetadatasParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get projects project ID metadatas params

func (*GetProjectsProjectIDMetadatasParams) SetProjectID

func (o *GetProjectsProjectIDMetadatasParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the get projects project ID metadatas params

func (*GetProjectsProjectIDMetadatasParams) SetTimeout

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

SetTimeout adds the timeout to the get projects project ID metadatas params

func (*GetProjectsProjectIDMetadatasParams) WithContext

WithContext adds the context to the get projects project ID metadatas params

func (*GetProjectsProjectIDMetadatasParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get projects project ID metadatas params

func (*GetProjectsProjectIDMetadatasParams) WithProjectID

WithProjectID adds the projectID to the get projects project ID metadatas params

func (*GetProjectsProjectIDMetadatasParams) WithTimeout

WithTimeout adds the timeout to the get projects project ID metadatas params

func (*GetProjectsProjectIDMetadatasParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetProjectsProjectIDMetadatasReader

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

GetProjectsProjectIDMetadatasReader is a Reader for the GetProjectsProjectIDMetadatas structure.

func (*GetProjectsProjectIDMetadatasReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetProjectsProjectIDMetadatasUnauthorized

type GetProjectsProjectIDMetadatasUnauthorized struct {
}

GetProjectsProjectIDMetadatasUnauthorized handles this case with default header values.

User need to login first.

func NewGetProjectsProjectIDMetadatasUnauthorized

func NewGetProjectsProjectIDMetadatasUnauthorized() *GetProjectsProjectIDMetadatasUnauthorized

NewGetProjectsProjectIDMetadatasUnauthorized creates a GetProjectsProjectIDMetadatasUnauthorized with default headers values

func (*GetProjectsProjectIDMetadatasUnauthorized) Error

type GetProjectsProjectIDOK

type GetProjectsProjectIDOK struct {
	Payload *model.Project
}

GetProjectsProjectIDOK handles this case with default header values.

Return matched project information.

func NewGetProjectsProjectIDOK

func NewGetProjectsProjectIDOK() *GetProjectsProjectIDOK

NewGetProjectsProjectIDOK creates a GetProjectsProjectIDOK with default headers values

func (*GetProjectsProjectIDOK) Error

func (o *GetProjectsProjectIDOK) Error() string

func (*GetProjectsProjectIDOK) GetPayload

func (o *GetProjectsProjectIDOK) GetPayload() *model.Project

type GetProjectsProjectIDParams

type GetProjectsProjectIDParams struct {

	/*ProjectID
	  Project ID for filtering results.

	*/
	ProjectID int64

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

GetProjectsProjectIDParams contains all the parameters to send to the API endpoint for the get projects project ID operation typically these are written to a http.Request

func NewGetProjectsProjectIDParams

func NewGetProjectsProjectIDParams() *GetProjectsProjectIDParams

NewGetProjectsProjectIDParams creates a new GetProjectsProjectIDParams object with the default values initialized.

func NewGetProjectsProjectIDParamsWithContext

func NewGetProjectsProjectIDParamsWithContext(ctx context.Context) *GetProjectsProjectIDParams

NewGetProjectsProjectIDParamsWithContext creates a new GetProjectsProjectIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetProjectsProjectIDParamsWithHTTPClient

func NewGetProjectsProjectIDParamsWithHTTPClient(client *http.Client) *GetProjectsProjectIDParams

NewGetProjectsProjectIDParamsWithHTTPClient creates a new GetProjectsProjectIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetProjectsProjectIDParamsWithTimeout

func NewGetProjectsProjectIDParamsWithTimeout(timeout time.Duration) *GetProjectsProjectIDParams

NewGetProjectsProjectIDParamsWithTimeout creates a new GetProjectsProjectIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetProjectsProjectIDParams) SetContext

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

SetContext adds the context to the get projects project ID params

func (*GetProjectsProjectIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get projects project ID params

func (*GetProjectsProjectIDParams) SetProjectID

func (o *GetProjectsProjectIDParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the get projects project ID params

func (*GetProjectsProjectIDParams) SetTimeout

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

SetTimeout adds the timeout to the get projects project ID params

func (*GetProjectsProjectIDParams) WithContext

WithContext adds the context to the get projects project ID params

func (*GetProjectsProjectIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get projects project ID params

func (*GetProjectsProjectIDParams) WithProjectID

func (o *GetProjectsProjectIDParams) WithProjectID(projectID int64) *GetProjectsProjectIDParams

WithProjectID adds the projectID to the get projects project ID params

func (*GetProjectsProjectIDParams) WithTimeout

WithTimeout adds the timeout to the get projects project ID params

func (*GetProjectsProjectIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetProjectsProjectIDReader

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

GetProjectsProjectIDReader is a Reader for the GetProjectsProjectID structure.

func (*GetProjectsProjectIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetProjectsProjectIDUnauthorized

type GetProjectsProjectIDUnauthorized struct {
}

GetProjectsProjectIDUnauthorized handles this case with default header values.

User need to log in first.

func NewGetProjectsProjectIDUnauthorized

func NewGetProjectsProjectIDUnauthorized() *GetProjectsProjectIDUnauthorized

NewGetProjectsProjectIDUnauthorized creates a GetProjectsProjectIDUnauthorized with default headers values

func (*GetProjectsProjectIDUnauthorized) Error

type GetProjectsReader

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

GetProjectsReader is a Reader for the GetProjects structure.

func (*GetProjectsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetProjectsUnauthorized

type GetProjectsUnauthorized struct {
}

GetProjectsUnauthorized handles this case with default header values.

User need to log in first.

func NewGetProjectsUnauthorized

func NewGetProjectsUnauthorized() *GetProjectsUnauthorized

NewGetProjectsUnauthorized creates a GetProjectsUnauthorized with default headers values

func (*GetProjectsUnauthorized) Error

func (o *GetProjectsUnauthorized) Error() string

type GetRegistriesInternalServerError

type GetRegistriesInternalServerError struct {
}

GetRegistriesInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewGetRegistriesInternalServerError

func NewGetRegistriesInternalServerError() *GetRegistriesInternalServerError

NewGetRegistriesInternalServerError creates a GetRegistriesInternalServerError with default headers values

func (*GetRegistriesInternalServerError) Error

type GetRegistriesOK

type GetRegistriesOK struct {
	Payload []*model.Registry
}

GetRegistriesOK handles this case with default header values.

List registries successfully.

func NewGetRegistriesOK

func NewGetRegistriesOK() *GetRegistriesOK

NewGetRegistriesOK creates a GetRegistriesOK with default headers values

func (*GetRegistriesOK) Error

func (o *GetRegistriesOK) Error() string

func (*GetRegistriesOK) GetPayload

func (o *GetRegistriesOK) GetPayload() []*model.Registry

type GetRegistriesParams

type GetRegistriesParams struct {

	/*Name
	  Registry's name.

	*/
	Name *string

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

GetRegistriesParams contains all the parameters to send to the API endpoint for the get registries operation typically these are written to a http.Request

func NewGetRegistriesParams

func NewGetRegistriesParams() *GetRegistriesParams

NewGetRegistriesParams creates a new GetRegistriesParams object with the default values initialized.

func NewGetRegistriesParamsWithContext

func NewGetRegistriesParamsWithContext(ctx context.Context) *GetRegistriesParams

NewGetRegistriesParamsWithContext creates a new GetRegistriesParams object with the default values initialized, and the ability to set a context for a request

func NewGetRegistriesParamsWithHTTPClient

func NewGetRegistriesParamsWithHTTPClient(client *http.Client) *GetRegistriesParams

NewGetRegistriesParamsWithHTTPClient creates a new GetRegistriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRegistriesParamsWithTimeout

func NewGetRegistriesParamsWithTimeout(timeout time.Duration) *GetRegistriesParams

NewGetRegistriesParamsWithTimeout creates a new GetRegistriesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRegistriesParams) SetContext

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

SetContext adds the context to the get registries params

func (*GetRegistriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get registries params

func (*GetRegistriesParams) SetName

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

SetName adds the name to the get registries params

func (*GetRegistriesParams) SetTimeout

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

SetTimeout adds the timeout to the get registries params

func (*GetRegistriesParams) WithContext

WithContext adds the context to the get registries params

func (*GetRegistriesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get registries params

func (*GetRegistriesParams) WithName

func (o *GetRegistriesParams) WithName(name *string) *GetRegistriesParams

WithName adds the name to the get registries params

func (*GetRegistriesParams) WithTimeout

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

WithTimeout adds the timeout to the get registries params

func (*GetRegistriesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetRegistriesReader

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

GetRegistriesReader is a Reader for the GetRegistries structure.

func (*GetRegistriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRegistriesUnauthorized

type GetRegistriesUnauthorized struct {
}

GetRegistriesUnauthorized handles this case with default header values.

User need to log in first.

func NewGetRegistriesUnauthorized

func NewGetRegistriesUnauthorized() *GetRegistriesUnauthorized

NewGetRegistriesUnauthorized creates a GetRegistriesUnauthorized with default headers values

func (*GetRegistriesUnauthorized) Error

func (o *GetRegistriesUnauthorized) Error() string

type GetReplicationExecutionsForbidden

type GetReplicationExecutionsForbidden struct {
}

GetReplicationExecutionsForbidden handles this case with default header values.

User has no privilege for the operation.

func NewGetReplicationExecutionsForbidden

func NewGetReplicationExecutionsForbidden() *GetReplicationExecutionsForbidden

NewGetReplicationExecutionsForbidden creates a GetReplicationExecutionsForbidden with default headers values

func (*GetReplicationExecutionsForbidden) Error

type GetReplicationExecutionsIDBadRequest

type GetReplicationExecutionsIDBadRequest struct {
}

GetReplicationExecutionsIDBadRequest handles this case with default header values.

Bad request.

func NewGetReplicationExecutionsIDBadRequest

func NewGetReplicationExecutionsIDBadRequest() *GetReplicationExecutionsIDBadRequest

NewGetReplicationExecutionsIDBadRequest creates a GetReplicationExecutionsIDBadRequest with default headers values

func (*GetReplicationExecutionsIDBadRequest) Error

type GetReplicationExecutionsIDForbidden

type GetReplicationExecutionsIDForbidden struct {
}

GetReplicationExecutionsIDForbidden handles this case with default header values.

User has no privilege for the operation.

func NewGetReplicationExecutionsIDForbidden

func NewGetReplicationExecutionsIDForbidden() *GetReplicationExecutionsIDForbidden

NewGetReplicationExecutionsIDForbidden creates a GetReplicationExecutionsIDForbidden with default headers values

func (*GetReplicationExecutionsIDForbidden) Error

type GetReplicationExecutionsIDInternalServerError

type GetReplicationExecutionsIDInternalServerError struct {
}

GetReplicationExecutionsIDInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewGetReplicationExecutionsIDInternalServerError

func NewGetReplicationExecutionsIDInternalServerError() *GetReplicationExecutionsIDInternalServerError

NewGetReplicationExecutionsIDInternalServerError creates a GetReplicationExecutionsIDInternalServerError with default headers values

func (*GetReplicationExecutionsIDInternalServerError) Error

type GetReplicationExecutionsIDNotFound

type GetReplicationExecutionsIDNotFound struct {
}

GetReplicationExecutionsIDNotFound handles this case with default header values.

Resource requested does not exist.

func NewGetReplicationExecutionsIDNotFound

func NewGetReplicationExecutionsIDNotFound() *GetReplicationExecutionsIDNotFound

NewGetReplicationExecutionsIDNotFound creates a GetReplicationExecutionsIDNotFound with default headers values

func (*GetReplicationExecutionsIDNotFound) Error

type GetReplicationExecutionsIDOK

type GetReplicationExecutionsIDOK struct {
	Payload *model.ReplicationExecution
}

GetReplicationExecutionsIDOK handles this case with default header values.

Success.

func NewGetReplicationExecutionsIDOK

func NewGetReplicationExecutionsIDOK() *GetReplicationExecutionsIDOK

NewGetReplicationExecutionsIDOK creates a GetReplicationExecutionsIDOK with default headers values

func (*GetReplicationExecutionsIDOK) Error

func (*GetReplicationExecutionsIDOK) GetPayload

type GetReplicationExecutionsIDParams

type GetReplicationExecutionsIDParams struct {

	/*ID
	  The execution ID.

	*/
	ID int64

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

GetReplicationExecutionsIDParams contains all the parameters to send to the API endpoint for the get replication executions ID operation typically these are written to a http.Request

func NewGetReplicationExecutionsIDParams

func NewGetReplicationExecutionsIDParams() *GetReplicationExecutionsIDParams

NewGetReplicationExecutionsIDParams creates a new GetReplicationExecutionsIDParams object with the default values initialized.

func NewGetReplicationExecutionsIDParamsWithContext

func NewGetReplicationExecutionsIDParamsWithContext(ctx context.Context) *GetReplicationExecutionsIDParams

NewGetReplicationExecutionsIDParamsWithContext creates a new GetReplicationExecutionsIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetReplicationExecutionsIDParamsWithHTTPClient

func NewGetReplicationExecutionsIDParamsWithHTTPClient(client *http.Client) *GetReplicationExecutionsIDParams

NewGetReplicationExecutionsIDParamsWithHTTPClient creates a new GetReplicationExecutionsIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetReplicationExecutionsIDParamsWithTimeout

func NewGetReplicationExecutionsIDParamsWithTimeout(timeout time.Duration) *GetReplicationExecutionsIDParams

NewGetReplicationExecutionsIDParamsWithTimeout creates a new GetReplicationExecutionsIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetReplicationExecutionsIDParams) SetContext

SetContext adds the context to the get replication executions ID params

func (*GetReplicationExecutionsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get replication executions ID params

func (*GetReplicationExecutionsIDParams) SetID

SetID adds the id to the get replication executions ID params

func (*GetReplicationExecutionsIDParams) SetTimeout

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

SetTimeout adds the timeout to the get replication executions ID params

func (*GetReplicationExecutionsIDParams) WithContext

WithContext adds the context to the get replication executions ID params

func (*GetReplicationExecutionsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get replication executions ID params

func (*GetReplicationExecutionsIDParams) WithID

WithID adds the id to the get replication executions ID params

func (*GetReplicationExecutionsIDParams) WithTimeout

WithTimeout adds the timeout to the get replication executions ID params

func (*GetReplicationExecutionsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetReplicationExecutionsIDReader

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

GetReplicationExecutionsIDReader is a Reader for the GetReplicationExecutionsID structure.

func (*GetReplicationExecutionsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetReplicationExecutionsIDUnauthorized

type GetReplicationExecutionsIDUnauthorized struct {
}

GetReplicationExecutionsIDUnauthorized handles this case with default header values.

User need to login first.

func NewGetReplicationExecutionsIDUnauthorized

func NewGetReplicationExecutionsIDUnauthorized() *GetReplicationExecutionsIDUnauthorized

NewGetReplicationExecutionsIDUnauthorized creates a GetReplicationExecutionsIDUnauthorized with default headers values

func (*GetReplicationExecutionsIDUnauthorized) Error

type GetReplicationExecutionsIDUnsupportedMediaType

type GetReplicationExecutionsIDUnsupportedMediaType struct {
}

GetReplicationExecutionsIDUnsupportedMediaType handles this case with default header values.

The Media Type of the request is not supported, it has to be "application/json"

func NewGetReplicationExecutionsIDUnsupportedMediaType

func NewGetReplicationExecutionsIDUnsupportedMediaType() *GetReplicationExecutionsIDUnsupportedMediaType

NewGetReplicationExecutionsIDUnsupportedMediaType creates a GetReplicationExecutionsIDUnsupportedMediaType with default headers values

func (*GetReplicationExecutionsIDUnsupportedMediaType) Error

type GetReplicationExecutionsInternalServerError

type GetReplicationExecutionsInternalServerError struct {
}

GetReplicationExecutionsInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewGetReplicationExecutionsInternalServerError

func NewGetReplicationExecutionsInternalServerError() *GetReplicationExecutionsInternalServerError

NewGetReplicationExecutionsInternalServerError creates a GetReplicationExecutionsInternalServerError with default headers values

func (*GetReplicationExecutionsInternalServerError) Error

type GetReplicationExecutionsOK

type GetReplicationExecutionsOK struct {
	Payload []*model.ReplicationExecution
}

GetReplicationExecutionsOK handles this case with default header values.

Success

func NewGetReplicationExecutionsOK

func NewGetReplicationExecutionsOK() *GetReplicationExecutionsOK

NewGetReplicationExecutionsOK creates a GetReplicationExecutionsOK with default headers values

func (*GetReplicationExecutionsOK) Error

func (*GetReplicationExecutionsOK) GetPayload

type GetReplicationExecutionsParams

type GetReplicationExecutionsParams struct {

	/*Page
	  The page.

	*/
	Page *int64
	/*PageSize
	  The page size.

	*/
	PageSize *int64
	/*PolicyID
	  The policy ID.

	*/
	PolicyID *int64
	/*Status
	  The execution status.

	*/
	Status *string
	/*Trigger
	  The trigger mode.

	*/
	Trigger *string

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

GetReplicationExecutionsParams contains all the parameters to send to the API endpoint for the get replication executions operation typically these are written to a http.Request

func NewGetReplicationExecutionsParams

func NewGetReplicationExecutionsParams() *GetReplicationExecutionsParams

NewGetReplicationExecutionsParams creates a new GetReplicationExecutionsParams object with the default values initialized.

func NewGetReplicationExecutionsParamsWithContext

func NewGetReplicationExecutionsParamsWithContext(ctx context.Context) *GetReplicationExecutionsParams

NewGetReplicationExecutionsParamsWithContext creates a new GetReplicationExecutionsParams object with the default values initialized, and the ability to set a context for a request

func NewGetReplicationExecutionsParamsWithHTTPClient

func NewGetReplicationExecutionsParamsWithHTTPClient(client *http.Client) *GetReplicationExecutionsParams

NewGetReplicationExecutionsParamsWithHTTPClient creates a new GetReplicationExecutionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetReplicationExecutionsParamsWithTimeout

func NewGetReplicationExecutionsParamsWithTimeout(timeout time.Duration) *GetReplicationExecutionsParams

NewGetReplicationExecutionsParamsWithTimeout creates a new GetReplicationExecutionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetReplicationExecutionsParams) SetContext

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

SetContext adds the context to the get replication executions params

func (*GetReplicationExecutionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get replication executions params

func (*GetReplicationExecutionsParams) SetPage

func (o *GetReplicationExecutionsParams) SetPage(page *int64)

SetPage adds the page to the get replication executions params

func (*GetReplicationExecutionsParams) SetPageSize

func (o *GetReplicationExecutionsParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the get replication executions params

func (*GetReplicationExecutionsParams) SetPolicyID

func (o *GetReplicationExecutionsParams) SetPolicyID(policyID *int64)

SetPolicyID adds the policyId to the get replication executions params

func (*GetReplicationExecutionsParams) SetStatus

func (o *GetReplicationExecutionsParams) SetStatus(status *string)

SetStatus adds the status to the get replication executions params

func (*GetReplicationExecutionsParams) SetTimeout

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

SetTimeout adds the timeout to the get replication executions params

func (*GetReplicationExecutionsParams) SetTrigger

func (o *GetReplicationExecutionsParams) SetTrigger(trigger *string)

SetTrigger adds the trigger to the get replication executions params

func (*GetReplicationExecutionsParams) WithContext

WithContext adds the context to the get replication executions params

func (*GetReplicationExecutionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get replication executions params

func (*GetReplicationExecutionsParams) WithPage

WithPage adds the page to the get replication executions params

func (*GetReplicationExecutionsParams) WithPageSize

WithPageSize adds the pageSize to the get replication executions params

func (*GetReplicationExecutionsParams) WithPolicyID

WithPolicyID adds the policyID to the get replication executions params

func (*GetReplicationExecutionsParams) WithStatus

WithStatus adds the status to the get replication executions params

func (*GetReplicationExecutionsParams) WithTimeout

WithTimeout adds the timeout to the get replication executions params

func (*GetReplicationExecutionsParams) WithTrigger

WithTrigger adds the trigger to the get replication executions params

func (*GetReplicationExecutionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetReplicationExecutionsReader

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

GetReplicationExecutionsReader is a Reader for the GetReplicationExecutions structure.

func (*GetReplicationExecutionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetReplicationExecutionsUnauthorized

type GetReplicationExecutionsUnauthorized struct {
}

GetReplicationExecutionsUnauthorized handles this case with default header values.

User need to login first.

func NewGetReplicationExecutionsUnauthorized

func NewGetReplicationExecutionsUnauthorized() *GetReplicationExecutionsUnauthorized

NewGetReplicationExecutionsUnauthorized creates a GetReplicationExecutionsUnauthorized with default headers values

func (*GetReplicationExecutionsUnauthorized) Error

type GetReplicationPoliciesBadRequest

type GetReplicationPoliciesBadRequest struct {
}

GetReplicationPoliciesBadRequest handles this case with default header values.

Bad Request

func NewGetReplicationPoliciesBadRequest

func NewGetReplicationPoliciesBadRequest() *GetReplicationPoliciesBadRequest

NewGetReplicationPoliciesBadRequest creates a GetReplicationPoliciesBadRequest with default headers values

func (*GetReplicationPoliciesBadRequest) Error

type GetReplicationPoliciesForbidden

type GetReplicationPoliciesForbidden struct {
}

GetReplicationPoliciesForbidden handles this case with default header values.

Forbidden

func NewGetReplicationPoliciesForbidden

func NewGetReplicationPoliciesForbidden() *GetReplicationPoliciesForbidden

NewGetReplicationPoliciesForbidden creates a GetReplicationPoliciesForbidden with default headers values

func (*GetReplicationPoliciesForbidden) Error

type GetReplicationPoliciesIDBadRequest

type GetReplicationPoliciesIDBadRequest struct {
}

GetReplicationPoliciesIDBadRequest handles this case with default header values.

Bad Request

func NewGetReplicationPoliciesIDBadRequest

func NewGetReplicationPoliciesIDBadRequest() *GetReplicationPoliciesIDBadRequest

NewGetReplicationPoliciesIDBadRequest creates a GetReplicationPoliciesIDBadRequest with default headers values

func (*GetReplicationPoliciesIDBadRequest) Error

type GetReplicationPoliciesIDForbidden

type GetReplicationPoliciesIDForbidden struct {
}

GetReplicationPoliciesIDForbidden handles this case with default header values.

Forbidden

func NewGetReplicationPoliciesIDForbidden

func NewGetReplicationPoliciesIDForbidden() *GetReplicationPoliciesIDForbidden

NewGetReplicationPoliciesIDForbidden creates a GetReplicationPoliciesIDForbidden with default headers values

func (*GetReplicationPoliciesIDForbidden) Error

type GetReplicationPoliciesIDInternalServerError

type GetReplicationPoliciesIDInternalServerError struct {
}

GetReplicationPoliciesIDInternalServerError handles this case with default header values.

Internal Server Error

func NewGetReplicationPoliciesIDInternalServerError

func NewGetReplicationPoliciesIDInternalServerError() *GetReplicationPoliciesIDInternalServerError

NewGetReplicationPoliciesIDInternalServerError creates a GetReplicationPoliciesIDInternalServerError with default headers values

func (*GetReplicationPoliciesIDInternalServerError) Error

type GetReplicationPoliciesIDNotFound

type GetReplicationPoliciesIDNotFound struct {
}

GetReplicationPoliciesIDNotFound handles this case with default header values.

Not Found

func NewGetReplicationPoliciesIDNotFound

func NewGetReplicationPoliciesIDNotFound() *GetReplicationPoliciesIDNotFound

NewGetReplicationPoliciesIDNotFound creates a GetReplicationPoliciesIDNotFound with default headers values

func (*GetReplicationPoliciesIDNotFound) Error

type GetReplicationPoliciesIDOK

type GetReplicationPoliciesIDOK struct {
	Payload *model.ReplicationPolicy
}

GetReplicationPoliciesIDOK handles this case with default header values.

Get the replication policy successfully.

func NewGetReplicationPoliciesIDOK

func NewGetReplicationPoliciesIDOK() *GetReplicationPoliciesIDOK

NewGetReplicationPoliciesIDOK creates a GetReplicationPoliciesIDOK with default headers values

func (*GetReplicationPoliciesIDOK) Error

func (*GetReplicationPoliciesIDOK) GetPayload

type GetReplicationPoliciesIDParams

type GetReplicationPoliciesIDParams struct {

	/*ID
	  policy ID

	*/
	ID int64

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

GetReplicationPoliciesIDParams contains all the parameters to send to the API endpoint for the get replication policies ID operation typically these are written to a http.Request

func NewGetReplicationPoliciesIDParams

func NewGetReplicationPoliciesIDParams() *GetReplicationPoliciesIDParams

NewGetReplicationPoliciesIDParams creates a new GetReplicationPoliciesIDParams object with the default values initialized.

func NewGetReplicationPoliciesIDParamsWithContext

func NewGetReplicationPoliciesIDParamsWithContext(ctx context.Context) *GetReplicationPoliciesIDParams

NewGetReplicationPoliciesIDParamsWithContext creates a new GetReplicationPoliciesIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetReplicationPoliciesIDParamsWithHTTPClient

func NewGetReplicationPoliciesIDParamsWithHTTPClient(client *http.Client) *GetReplicationPoliciesIDParams

NewGetReplicationPoliciesIDParamsWithHTTPClient creates a new GetReplicationPoliciesIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetReplicationPoliciesIDParamsWithTimeout

func NewGetReplicationPoliciesIDParamsWithTimeout(timeout time.Duration) *GetReplicationPoliciesIDParams

NewGetReplicationPoliciesIDParamsWithTimeout creates a new GetReplicationPoliciesIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetReplicationPoliciesIDParams) SetContext

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

SetContext adds the context to the get replication policies ID params

func (*GetReplicationPoliciesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get replication policies ID params

func (*GetReplicationPoliciesIDParams) SetID

SetID adds the id to the get replication policies ID params

func (*GetReplicationPoliciesIDParams) SetTimeout

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

SetTimeout adds the timeout to the get replication policies ID params

func (*GetReplicationPoliciesIDParams) WithContext

WithContext adds the context to the get replication policies ID params

func (*GetReplicationPoliciesIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get replication policies ID params

func (*GetReplicationPoliciesIDParams) WithID

WithID adds the id to the get replication policies ID params

func (*GetReplicationPoliciesIDParams) WithTimeout

WithTimeout adds the timeout to the get replication policies ID params

func (*GetReplicationPoliciesIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetReplicationPoliciesIDReader

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

GetReplicationPoliciesIDReader is a Reader for the GetReplicationPoliciesID structure.

func (*GetReplicationPoliciesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetReplicationPoliciesIDUnauthorized

type GetReplicationPoliciesIDUnauthorized struct {
}

GetReplicationPoliciesIDUnauthorized handles this case with default header values.

Unauthorized

func NewGetReplicationPoliciesIDUnauthorized

func NewGetReplicationPoliciesIDUnauthorized() *GetReplicationPoliciesIDUnauthorized

NewGetReplicationPoliciesIDUnauthorized creates a GetReplicationPoliciesIDUnauthorized with default headers values

func (*GetReplicationPoliciesIDUnauthorized) Error

type GetReplicationPoliciesInternalServerError

type GetReplicationPoliciesInternalServerError struct {
}

GetReplicationPoliciesInternalServerError handles this case with default header values.

Internal Server Error

func NewGetReplicationPoliciesInternalServerError

func NewGetReplicationPoliciesInternalServerError() *GetReplicationPoliciesInternalServerError

NewGetReplicationPoliciesInternalServerError creates a GetReplicationPoliciesInternalServerError with default headers values

func (*GetReplicationPoliciesInternalServerError) Error

type GetReplicationPoliciesOK

type GetReplicationPoliciesOK struct {
	Payload []*model.ReplicationPolicy
}

GetReplicationPoliciesOK handles this case with default header values.

Get policy successfully.

func NewGetReplicationPoliciesOK

func NewGetReplicationPoliciesOK() *GetReplicationPoliciesOK

NewGetReplicationPoliciesOK creates a GetReplicationPoliciesOK with default headers values

func (*GetReplicationPoliciesOK) Error

func (o *GetReplicationPoliciesOK) Error() string

func (*GetReplicationPoliciesOK) GetPayload

type GetReplicationPoliciesParams

type GetReplicationPoliciesParams struct {

	/*Name
	  The replication policy name.

	*/
	Name *string
	/*Page
	  The page nubmer.

	*/
	Page *int32
	/*PageSize
	  The size of per page.

	*/
	PageSize *int32

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

GetReplicationPoliciesParams contains all the parameters to send to the API endpoint for the get replication policies operation typically these are written to a http.Request

func NewGetReplicationPoliciesParams

func NewGetReplicationPoliciesParams() *GetReplicationPoliciesParams

NewGetReplicationPoliciesParams creates a new GetReplicationPoliciesParams object with the default values initialized.

func NewGetReplicationPoliciesParamsWithContext

func NewGetReplicationPoliciesParamsWithContext(ctx context.Context) *GetReplicationPoliciesParams

NewGetReplicationPoliciesParamsWithContext creates a new GetReplicationPoliciesParams object with the default values initialized, and the ability to set a context for a request

func NewGetReplicationPoliciesParamsWithHTTPClient

func NewGetReplicationPoliciesParamsWithHTTPClient(client *http.Client) *GetReplicationPoliciesParams

NewGetReplicationPoliciesParamsWithHTTPClient creates a new GetReplicationPoliciesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetReplicationPoliciesParamsWithTimeout

func NewGetReplicationPoliciesParamsWithTimeout(timeout time.Duration) *GetReplicationPoliciesParams

NewGetReplicationPoliciesParamsWithTimeout creates a new GetReplicationPoliciesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetReplicationPoliciesParams) SetContext

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

SetContext adds the context to the get replication policies params

func (*GetReplicationPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get replication policies params

func (*GetReplicationPoliciesParams) SetName

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

SetName adds the name to the get replication policies params

func (*GetReplicationPoliciesParams) SetPage

func (o *GetReplicationPoliciesParams) SetPage(page *int32)

SetPage adds the page to the get replication policies params

func (*GetReplicationPoliciesParams) SetPageSize

func (o *GetReplicationPoliciesParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the get replication policies params

func (*GetReplicationPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the get replication policies params

func (*GetReplicationPoliciesParams) WithContext

WithContext adds the context to the get replication policies params

func (*GetReplicationPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get replication policies params

func (*GetReplicationPoliciesParams) WithName

WithName adds the name to the get replication policies params

func (*GetReplicationPoliciesParams) WithPage

WithPage adds the page to the get replication policies params

func (*GetReplicationPoliciesParams) WithPageSize

WithPageSize adds the pageSize to the get replication policies params

func (*GetReplicationPoliciesParams) WithTimeout

WithTimeout adds the timeout to the get replication policies params

func (*GetReplicationPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetReplicationPoliciesReader

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

GetReplicationPoliciesReader is a Reader for the GetReplicationPolicies structure.

func (*GetReplicationPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetReplicationPoliciesUnauthorized

type GetReplicationPoliciesUnauthorized struct {
}

GetReplicationPoliciesUnauthorized handles this case with default header values.

Unauthorized

func NewGetReplicationPoliciesUnauthorized

func NewGetReplicationPoliciesUnauthorized() *GetReplicationPoliciesUnauthorized

NewGetReplicationPoliciesUnauthorized creates a GetReplicationPoliciesUnauthorized with default headers values

func (*GetReplicationPoliciesUnauthorized) Error

type GetRetentionsIDForbidden

type GetRetentionsIDForbidden struct {
}

GetRetentionsIDForbidden handles this case with default header values.

User have no permission.

func NewGetRetentionsIDForbidden

func NewGetRetentionsIDForbidden() *GetRetentionsIDForbidden

NewGetRetentionsIDForbidden creates a GetRetentionsIDForbidden with default headers values

func (*GetRetentionsIDForbidden) Error

func (o *GetRetentionsIDForbidden) Error() string

type GetRetentionsIDInternalServerError

type GetRetentionsIDInternalServerError struct {
}

GetRetentionsIDInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewGetRetentionsIDInternalServerError

func NewGetRetentionsIDInternalServerError() *GetRetentionsIDInternalServerError

NewGetRetentionsIDInternalServerError creates a GetRetentionsIDInternalServerError with default headers values

func (*GetRetentionsIDInternalServerError) Error

type GetRetentionsIDOK

type GetRetentionsIDOK struct {
	Payload *model.RetentionPolicy
}

GetRetentionsIDOK handles this case with default header values.

Get Retention Policy successfully.

func NewGetRetentionsIDOK

func NewGetRetentionsIDOK() *GetRetentionsIDOK

NewGetRetentionsIDOK creates a GetRetentionsIDOK with default headers values

func (*GetRetentionsIDOK) Error

func (o *GetRetentionsIDOK) Error() string

func (*GetRetentionsIDOK) GetPayload

func (o *GetRetentionsIDOK) GetPayload() *model.RetentionPolicy

type GetRetentionsIDParams

type GetRetentionsIDParams struct {

	/*ID
	  Retention ID.

	*/
	ID int64

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

GetRetentionsIDParams contains all the parameters to send to the API endpoint for the get retentions ID operation typically these are written to a http.Request

func NewGetRetentionsIDParams

func NewGetRetentionsIDParams() *GetRetentionsIDParams

NewGetRetentionsIDParams creates a new GetRetentionsIDParams object with the default values initialized.

func NewGetRetentionsIDParamsWithContext

func NewGetRetentionsIDParamsWithContext(ctx context.Context) *GetRetentionsIDParams

NewGetRetentionsIDParamsWithContext creates a new GetRetentionsIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetRetentionsIDParamsWithHTTPClient

func NewGetRetentionsIDParamsWithHTTPClient(client *http.Client) *GetRetentionsIDParams

NewGetRetentionsIDParamsWithHTTPClient creates a new GetRetentionsIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRetentionsIDParamsWithTimeout

func NewGetRetentionsIDParamsWithTimeout(timeout time.Duration) *GetRetentionsIDParams

NewGetRetentionsIDParamsWithTimeout creates a new GetRetentionsIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRetentionsIDParams) SetContext

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

SetContext adds the context to the get retentions ID params

func (*GetRetentionsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get retentions ID params

func (*GetRetentionsIDParams) SetID

func (o *GetRetentionsIDParams) SetID(id int64)

SetID adds the id to the get retentions ID params

func (*GetRetentionsIDParams) SetTimeout

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

SetTimeout adds the timeout to the get retentions ID params

func (*GetRetentionsIDParams) WithContext

WithContext adds the context to the get retentions ID params

func (*GetRetentionsIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get retentions ID params

func (*GetRetentionsIDParams) WithID

WithID adds the id to the get retentions ID params

func (*GetRetentionsIDParams) WithTimeout

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

WithTimeout adds the timeout to the get retentions ID params

func (*GetRetentionsIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetRetentionsIDReader

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

GetRetentionsIDReader is a Reader for the GetRetentionsID structure.

func (*GetRetentionsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRetentionsIDUnauthorized

type GetRetentionsIDUnauthorized struct {
}

GetRetentionsIDUnauthorized handles this case with default header values.

User need to log in first.

func NewGetRetentionsIDUnauthorized

func NewGetRetentionsIDUnauthorized() *GetRetentionsIDUnauthorized

NewGetRetentionsIDUnauthorized creates a GetRetentionsIDUnauthorized with default headers values

func (*GetRetentionsIDUnauthorized) Error

type GetRetentionsMetadatasOK

type GetRetentionsMetadatasOK struct {
	Payload *model.RetentionMetadata
}

GetRetentionsMetadatasOK handles this case with default header values.

Get Retention Metadatas successfully.

func NewGetRetentionsMetadatasOK

func NewGetRetentionsMetadatasOK() *GetRetentionsMetadatasOK

NewGetRetentionsMetadatasOK creates a GetRetentionsMetadatasOK with default headers values

func (*GetRetentionsMetadatasOK) Error

func (o *GetRetentionsMetadatasOK) Error() string

func (*GetRetentionsMetadatasOK) GetPayload

type GetRetentionsMetadatasParams

type GetRetentionsMetadatasParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetRetentionsMetadatasParams contains all the parameters to send to the API endpoint for the get retentions metadatas operation typically these are written to a http.Request

func NewGetRetentionsMetadatasParams

func NewGetRetentionsMetadatasParams() *GetRetentionsMetadatasParams

NewGetRetentionsMetadatasParams creates a new GetRetentionsMetadatasParams object with the default values initialized.

func NewGetRetentionsMetadatasParamsWithContext

func NewGetRetentionsMetadatasParamsWithContext(ctx context.Context) *GetRetentionsMetadatasParams

NewGetRetentionsMetadatasParamsWithContext creates a new GetRetentionsMetadatasParams object with the default values initialized, and the ability to set a context for a request

func NewGetRetentionsMetadatasParamsWithHTTPClient

func NewGetRetentionsMetadatasParamsWithHTTPClient(client *http.Client) *GetRetentionsMetadatasParams

NewGetRetentionsMetadatasParamsWithHTTPClient creates a new GetRetentionsMetadatasParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRetentionsMetadatasParamsWithTimeout

func NewGetRetentionsMetadatasParamsWithTimeout(timeout time.Duration) *GetRetentionsMetadatasParams

NewGetRetentionsMetadatasParamsWithTimeout creates a new GetRetentionsMetadatasParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRetentionsMetadatasParams) SetContext

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

SetContext adds the context to the get retentions metadatas params

func (*GetRetentionsMetadatasParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get retentions metadatas params

func (*GetRetentionsMetadatasParams) SetTimeout

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

SetTimeout adds the timeout to the get retentions metadatas params

func (*GetRetentionsMetadatasParams) WithContext

WithContext adds the context to the get retentions metadatas params

func (*GetRetentionsMetadatasParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get retentions metadatas params

func (*GetRetentionsMetadatasParams) WithTimeout

WithTimeout adds the timeout to the get retentions metadatas params

func (*GetRetentionsMetadatasParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRetentionsMetadatasReader

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

GetRetentionsMetadatasReader is a Reader for the GetRetentionsMetadatas structure.

func (*GetRetentionsMetadatasReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSystemGcScheduleForbidden

type GetSystemGcScheduleForbidden struct {
}

GetSystemGcScheduleForbidden handles this case with default header values.

Only admin has this authority.

func NewGetSystemGcScheduleForbidden

func NewGetSystemGcScheduleForbidden() *GetSystemGcScheduleForbidden

NewGetSystemGcScheduleForbidden creates a GetSystemGcScheduleForbidden with default headers values

func (*GetSystemGcScheduleForbidden) Error

type GetSystemGcScheduleInternalServerError

type GetSystemGcScheduleInternalServerError struct {
}

GetSystemGcScheduleInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewGetSystemGcScheduleInternalServerError

func NewGetSystemGcScheduleInternalServerError() *GetSystemGcScheduleInternalServerError

NewGetSystemGcScheduleInternalServerError creates a GetSystemGcScheduleInternalServerError with default headers values

func (*GetSystemGcScheduleInternalServerError) Error

type GetSystemGcScheduleOK

type GetSystemGcScheduleOK struct {
	Payload *model.AdminJobSchedule
}

GetSystemGcScheduleOK handles this case with default header values.

Get gc's schedule.

func NewGetSystemGcScheduleOK

func NewGetSystemGcScheduleOK() *GetSystemGcScheduleOK

NewGetSystemGcScheduleOK creates a GetSystemGcScheduleOK with default headers values

func (*GetSystemGcScheduleOK) Error

func (o *GetSystemGcScheduleOK) Error() string

func (*GetSystemGcScheduleOK) GetPayload

func (o *GetSystemGcScheduleOK) GetPayload() *model.AdminJobSchedule

type GetSystemGcScheduleParams

type GetSystemGcScheduleParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetSystemGcScheduleParams contains all the parameters to send to the API endpoint for the get system gc schedule operation typically these are written to a http.Request

func NewGetSystemGcScheduleParams

func NewGetSystemGcScheduleParams() *GetSystemGcScheduleParams

NewGetSystemGcScheduleParams creates a new GetSystemGcScheduleParams object with the default values initialized.

func NewGetSystemGcScheduleParamsWithContext

func NewGetSystemGcScheduleParamsWithContext(ctx context.Context) *GetSystemGcScheduleParams

NewGetSystemGcScheduleParamsWithContext creates a new GetSystemGcScheduleParams object with the default values initialized, and the ability to set a context for a request

func NewGetSystemGcScheduleParamsWithHTTPClient

func NewGetSystemGcScheduleParamsWithHTTPClient(client *http.Client) *GetSystemGcScheduleParams

NewGetSystemGcScheduleParamsWithHTTPClient creates a new GetSystemGcScheduleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetSystemGcScheduleParamsWithTimeout

func NewGetSystemGcScheduleParamsWithTimeout(timeout time.Duration) *GetSystemGcScheduleParams

NewGetSystemGcScheduleParamsWithTimeout creates a new GetSystemGcScheduleParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetSystemGcScheduleParams) SetContext

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

SetContext adds the context to the get system gc schedule params

func (*GetSystemGcScheduleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get system gc schedule params

func (*GetSystemGcScheduleParams) SetTimeout

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

SetTimeout adds the timeout to the get system gc schedule params

func (*GetSystemGcScheduleParams) WithContext

WithContext adds the context to the get system gc schedule params

func (*GetSystemGcScheduleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get system gc schedule params

func (*GetSystemGcScheduleParams) WithTimeout

WithTimeout adds the timeout to the get system gc schedule params

func (*GetSystemGcScheduleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSystemGcScheduleReader

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

GetSystemGcScheduleReader is a Reader for the GetSystemGcSchedule structure.

func (*GetSystemGcScheduleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSystemGcScheduleUnauthorized

type GetSystemGcScheduleUnauthorized struct {
}

GetSystemGcScheduleUnauthorized handles this case with default header values.

User need to log in first.

func NewGetSystemGcScheduleUnauthorized

func NewGetSystemGcScheduleUnauthorized() *GetSystemGcScheduleUnauthorized

NewGetSystemGcScheduleUnauthorized creates a GetSystemGcScheduleUnauthorized with default headers values

func (*GetSystemGcScheduleUnauthorized) Error

type GetUsersBadRequest

type GetUsersBadRequest struct {
}

GetUsersBadRequest handles this case with default header values.

Invalid user ID.

func NewGetUsersBadRequest

func NewGetUsersBadRequest() *GetUsersBadRequest

NewGetUsersBadRequest creates a GetUsersBadRequest with default headers values

func (*GetUsersBadRequest) Error

func (o *GetUsersBadRequest) Error() string

type GetUsersForbidden

type GetUsersForbidden struct {
}

GetUsersForbidden handles this case with default header values.

User does not have permission of admin role.

func NewGetUsersForbidden

func NewGetUsersForbidden() *GetUsersForbidden

NewGetUsersForbidden creates a GetUsersForbidden with default headers values

func (*GetUsersForbidden) Error

func (o *GetUsersForbidden) Error() string

type GetUsersInternalServerError

type GetUsersInternalServerError struct {
}

GetUsersInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewGetUsersInternalServerError

func NewGetUsersInternalServerError() *GetUsersInternalServerError

NewGetUsersInternalServerError creates a GetUsersInternalServerError with default headers values

func (*GetUsersInternalServerError) Error

type GetUsersOK

type GetUsersOK struct {
	Payload []*model.User
}

GetUsersOK handles this case with default header values.

Searched for users of Harbor successfully.

func NewGetUsersOK

func NewGetUsersOK() *GetUsersOK

NewGetUsersOK creates a GetUsersOK with default headers values

func (*GetUsersOK) Error

func (o *GetUsersOK) Error() string

func (*GetUsersOK) GetPayload

func (o *GetUsersOK) GetPayload() []*model.User

type GetUsersParams

type GetUsersParams struct {

	/*Email
	  Email for filtering results.

	*/
	Email *string
	/*Page
	  The page number, default is 1.

	*/
	Page *int32
	/*PageSize
	  The size of per page.

	*/
	PageSize *int32
	/*Username
	  Username for filtering results.

	*/
	Username *string

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

GetUsersParams contains all the parameters to send to the API endpoint for the get users operation typically these are written to a http.Request

func NewGetUsersParams

func NewGetUsersParams() *GetUsersParams

NewGetUsersParams creates a new GetUsersParams object with the default values initialized.

func NewGetUsersParamsWithContext

func NewGetUsersParamsWithContext(ctx context.Context) *GetUsersParams

NewGetUsersParamsWithContext creates a new GetUsersParams object with the default values initialized, and the ability to set a context for a request

func NewGetUsersParamsWithHTTPClient

func NewGetUsersParamsWithHTTPClient(client *http.Client) *GetUsersParams

NewGetUsersParamsWithHTTPClient creates a new GetUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetUsersParamsWithTimeout

func NewGetUsersParamsWithTimeout(timeout time.Duration) *GetUsersParams

NewGetUsersParamsWithTimeout creates a new GetUsersParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetUsersParams) SetContext

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

SetContext adds the context to the get users params

func (*GetUsersParams) SetEmail

func (o *GetUsersParams) SetEmail(email *string)

SetEmail adds the email to the get users params

func (*GetUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get users params

func (*GetUsersParams) SetPage

func (o *GetUsersParams) SetPage(page *int32)

SetPage adds the page to the get users params

func (*GetUsersParams) SetPageSize

func (o *GetUsersParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the get users params

func (*GetUsersParams) SetTimeout

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

SetTimeout adds the timeout to the get users params

func (*GetUsersParams) SetUsername

func (o *GetUsersParams) SetUsername(username *string)

SetUsername adds the username to the get users params

func (*GetUsersParams) WithContext

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

WithContext adds the context to the get users params

func (*GetUsersParams) WithEmail

func (o *GetUsersParams) WithEmail(email *string) *GetUsersParams

WithEmail adds the email to the get users params

func (*GetUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get users params

func (*GetUsersParams) WithPage

func (o *GetUsersParams) WithPage(page *int32) *GetUsersParams

WithPage adds the page to the get users params

func (*GetUsersParams) WithPageSize

func (o *GetUsersParams) WithPageSize(pageSize *int32) *GetUsersParams

WithPageSize adds the pageSize to the get users params

func (*GetUsersParams) WithTimeout

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

WithTimeout adds the timeout to the get users params

func (*GetUsersParams) WithUsername

func (o *GetUsersParams) WithUsername(username *string) *GetUsersParams

WithUsername adds the username to the get users params

func (*GetUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUsersReader

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

GetUsersReader is a Reader for the GetUsers structure.

func (*GetUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUsersUnauthorized

type GetUsersUnauthorized struct {
}

GetUsersUnauthorized handles this case with default header values.

User need to log in first.

func NewGetUsersUnauthorized

func NewGetUsersUnauthorized() *GetUsersUnauthorized

NewGetUsersUnauthorized creates a GetUsersUnauthorized with default headers values

func (*GetUsersUnauthorized) Error

func (o *GetUsersUnauthorized) Error() string

type PostProjectsBadRequest

type PostProjectsBadRequest struct {
}

PostProjectsBadRequest handles this case with default header values.

Unsatisfied with constraints of the project creation.

func NewPostProjectsBadRequest

func NewPostProjectsBadRequest() *PostProjectsBadRequest

NewPostProjectsBadRequest creates a PostProjectsBadRequest with default headers values

func (*PostProjectsBadRequest) Error

func (o *PostProjectsBadRequest) Error() string

type PostProjectsConflict

type PostProjectsConflict struct {
}

PostProjectsConflict handles this case with default header values.

Project name already exists.

func NewPostProjectsConflict

func NewPostProjectsConflict() *PostProjectsConflict

NewPostProjectsConflict creates a PostProjectsConflict with default headers values

func (*PostProjectsConflict) Error

func (o *PostProjectsConflict) Error() string

type PostProjectsCreated

type PostProjectsCreated struct {
}

PostProjectsCreated handles this case with default header values.

Project created successfully.

func NewPostProjectsCreated

func NewPostProjectsCreated() *PostProjectsCreated

NewPostProjectsCreated creates a PostProjectsCreated with default headers values

func (*PostProjectsCreated) Error

func (o *PostProjectsCreated) Error() string

type PostProjectsInternalServerError

type PostProjectsInternalServerError struct {
}

PostProjectsInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewPostProjectsInternalServerError

func NewPostProjectsInternalServerError() *PostProjectsInternalServerError

NewPostProjectsInternalServerError creates a PostProjectsInternalServerError with default headers values

func (*PostProjectsInternalServerError) Error

type PostProjectsParams

type PostProjectsParams struct {

	/*Project
	  New created project.

	*/
	Project *model.ProjectReq

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

PostProjectsParams contains all the parameters to send to the API endpoint for the post projects operation typically these are written to a http.Request

func NewPostProjectsParams

func NewPostProjectsParams() *PostProjectsParams

NewPostProjectsParams creates a new PostProjectsParams object with the default values initialized.

func NewPostProjectsParamsWithContext

func NewPostProjectsParamsWithContext(ctx context.Context) *PostProjectsParams

NewPostProjectsParamsWithContext creates a new PostProjectsParams object with the default values initialized, and the ability to set a context for a request

func NewPostProjectsParamsWithHTTPClient

func NewPostProjectsParamsWithHTTPClient(client *http.Client) *PostProjectsParams

NewPostProjectsParamsWithHTTPClient creates a new PostProjectsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostProjectsParamsWithTimeout

func NewPostProjectsParamsWithTimeout(timeout time.Duration) *PostProjectsParams

NewPostProjectsParamsWithTimeout creates a new PostProjectsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostProjectsParams) SetContext

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

SetContext adds the context to the post projects params

func (*PostProjectsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post projects params

func (*PostProjectsParams) SetProject

func (o *PostProjectsParams) SetProject(project *model.ProjectReq)

SetProject adds the project to the post projects params

func (*PostProjectsParams) SetTimeout

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

SetTimeout adds the timeout to the post projects params

func (*PostProjectsParams) WithContext

WithContext adds the context to the post projects params

func (*PostProjectsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post projects params

func (*PostProjectsParams) WithProject

func (o *PostProjectsParams) WithProject(project *model.ProjectReq) *PostProjectsParams

WithProject adds the project to the post projects params

func (*PostProjectsParams) WithTimeout

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

WithTimeout adds the timeout to the post projects params

func (*PostProjectsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostProjectsProjectIDMembersBadRequest

type PostProjectsProjectIDMembersBadRequest struct {
}

PostProjectsProjectIDMembersBadRequest handles this case with default header values.

Illegal format of project member or project id is invalid, or LDAP DN is invalid.

func NewPostProjectsProjectIDMembersBadRequest

func NewPostProjectsProjectIDMembersBadRequest() *PostProjectsProjectIDMembersBadRequest

NewPostProjectsProjectIDMembersBadRequest creates a PostProjectsProjectIDMembersBadRequest with default headers values

func (*PostProjectsProjectIDMembersBadRequest) Error

type PostProjectsProjectIDMembersConflict

type PostProjectsProjectIDMembersConflict struct {
}

PostProjectsProjectIDMembersConflict handles this case with default header values.

A user group with same group name already exist or an LDAP user group with same DN already exist.

func NewPostProjectsProjectIDMembersConflict

func NewPostProjectsProjectIDMembersConflict() *PostProjectsProjectIDMembersConflict

NewPostProjectsProjectIDMembersConflict creates a PostProjectsProjectIDMembersConflict with default headers values

func (*PostProjectsProjectIDMembersConflict) Error

type PostProjectsProjectIDMembersCreated

type PostProjectsProjectIDMembersCreated struct {
}

PostProjectsProjectIDMembersCreated handles this case with default header values.

Project member created successfully.

func NewPostProjectsProjectIDMembersCreated

func NewPostProjectsProjectIDMembersCreated() *PostProjectsProjectIDMembersCreated

NewPostProjectsProjectIDMembersCreated creates a PostProjectsProjectIDMembersCreated with default headers values

func (*PostProjectsProjectIDMembersCreated) Error

type PostProjectsProjectIDMembersForbidden

type PostProjectsProjectIDMembersForbidden struct {
}

PostProjectsProjectIDMembersForbidden handles this case with default header values.

User in session does not have permission to the project.

func NewPostProjectsProjectIDMembersForbidden

func NewPostProjectsProjectIDMembersForbidden() *PostProjectsProjectIDMembersForbidden

NewPostProjectsProjectIDMembersForbidden creates a PostProjectsProjectIDMembersForbidden with default headers values

func (*PostProjectsProjectIDMembersForbidden) Error

type PostProjectsProjectIDMembersInternalServerError

type PostProjectsProjectIDMembersInternalServerError struct {
}

PostProjectsProjectIDMembersInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewPostProjectsProjectIDMembersInternalServerError

func NewPostProjectsProjectIDMembersInternalServerError() *PostProjectsProjectIDMembersInternalServerError

NewPostProjectsProjectIDMembersInternalServerError creates a PostProjectsProjectIDMembersInternalServerError with default headers values

func (*PostProjectsProjectIDMembersInternalServerError) Error

type PostProjectsProjectIDMembersParams

type PostProjectsProjectIDMembersParams struct {

	/*ProjectID
	  Relevant project ID.

	*/
	ProjectID int64
	/*ProjectMember*/
	ProjectMember *model.ProjectMember

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

PostProjectsProjectIDMembersParams contains all the parameters to send to the API endpoint for the post projects project ID members operation typically these are written to a http.Request

func NewPostProjectsProjectIDMembersParams

func NewPostProjectsProjectIDMembersParams() *PostProjectsProjectIDMembersParams

NewPostProjectsProjectIDMembersParams creates a new PostProjectsProjectIDMembersParams object with the default values initialized.

func NewPostProjectsProjectIDMembersParamsWithContext

func NewPostProjectsProjectIDMembersParamsWithContext(ctx context.Context) *PostProjectsProjectIDMembersParams

NewPostProjectsProjectIDMembersParamsWithContext creates a new PostProjectsProjectIDMembersParams object with the default values initialized, and the ability to set a context for a request

func NewPostProjectsProjectIDMembersParamsWithHTTPClient

func NewPostProjectsProjectIDMembersParamsWithHTTPClient(client *http.Client) *PostProjectsProjectIDMembersParams

NewPostProjectsProjectIDMembersParamsWithHTTPClient creates a new PostProjectsProjectIDMembersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostProjectsProjectIDMembersParamsWithTimeout

func NewPostProjectsProjectIDMembersParamsWithTimeout(timeout time.Duration) *PostProjectsProjectIDMembersParams

NewPostProjectsProjectIDMembersParamsWithTimeout creates a new PostProjectsProjectIDMembersParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostProjectsProjectIDMembersParams) SetContext

SetContext adds the context to the post projects project ID members params

func (*PostProjectsProjectIDMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post projects project ID members params

func (*PostProjectsProjectIDMembersParams) SetProjectID

func (o *PostProjectsProjectIDMembersParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the post projects project ID members params

func (*PostProjectsProjectIDMembersParams) SetProjectMember

func (o *PostProjectsProjectIDMembersParams) SetProjectMember(projectMember *model.ProjectMember)

SetProjectMember adds the projectMember to the post projects project ID members params

func (*PostProjectsProjectIDMembersParams) SetTimeout

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

SetTimeout adds the timeout to the post projects project ID members params

func (*PostProjectsProjectIDMembersParams) WithContext

WithContext adds the context to the post projects project ID members params

func (*PostProjectsProjectIDMembersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post projects project ID members params

func (*PostProjectsProjectIDMembersParams) WithProjectID

WithProjectID adds the projectID to the post projects project ID members params

func (*PostProjectsProjectIDMembersParams) WithProjectMember

WithProjectMember adds the projectMember to the post projects project ID members params

func (*PostProjectsProjectIDMembersParams) WithTimeout

WithTimeout adds the timeout to the post projects project ID members params

func (*PostProjectsProjectIDMembersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostProjectsProjectIDMembersReader

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

PostProjectsProjectIDMembersReader is a Reader for the PostProjectsProjectIDMembers structure.

func (*PostProjectsProjectIDMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostProjectsProjectIDMembersUnauthorized

type PostProjectsProjectIDMembersUnauthorized struct {
}

PostProjectsProjectIDMembersUnauthorized handles this case with default header values.

User need to log in first.

func NewPostProjectsProjectIDMembersUnauthorized

func NewPostProjectsProjectIDMembersUnauthorized() *PostProjectsProjectIDMembersUnauthorized

NewPostProjectsProjectIDMembersUnauthorized creates a PostProjectsProjectIDMembersUnauthorized with default headers values

func (*PostProjectsProjectIDMembersUnauthorized) Error

type PostProjectsProjectIDMetadatasBadRequest

type PostProjectsProjectIDMetadatasBadRequest struct {
}

PostProjectsProjectIDMetadatasBadRequest handles this case with default header values.

Invalid request.

func NewPostProjectsProjectIDMetadatasBadRequest

func NewPostProjectsProjectIDMetadatasBadRequest() *PostProjectsProjectIDMetadatasBadRequest

NewPostProjectsProjectIDMetadatasBadRequest creates a PostProjectsProjectIDMetadatasBadRequest with default headers values

func (*PostProjectsProjectIDMetadatasBadRequest) Error

type PostProjectsProjectIDMetadatasForbidden

type PostProjectsProjectIDMetadatasForbidden struct {
}

PostProjectsProjectIDMetadatasForbidden handles this case with default header values.

User does not have permission to the project.

func NewPostProjectsProjectIDMetadatasForbidden

func NewPostProjectsProjectIDMetadatasForbidden() *PostProjectsProjectIDMetadatasForbidden

NewPostProjectsProjectIDMetadatasForbidden creates a PostProjectsProjectIDMetadatasForbidden with default headers values

func (*PostProjectsProjectIDMetadatasForbidden) Error

type PostProjectsProjectIDMetadatasInternalServerError

type PostProjectsProjectIDMetadatasInternalServerError struct {
}

PostProjectsProjectIDMetadatasInternalServerError handles this case with default header values.

Internal server errors.

func NewPostProjectsProjectIDMetadatasInternalServerError

func NewPostProjectsProjectIDMetadatasInternalServerError() *PostProjectsProjectIDMetadatasInternalServerError

NewPostProjectsProjectIDMetadatasInternalServerError creates a PostProjectsProjectIDMetadatasInternalServerError with default headers values

func (*PostProjectsProjectIDMetadatasInternalServerError) Error

type PostProjectsProjectIDMetadatasNotFound

type PostProjectsProjectIDMetadatasNotFound struct {
}

PostProjectsProjectIDMetadatasNotFound handles this case with default header values.

Project ID does not exist.

func NewPostProjectsProjectIDMetadatasNotFound

func NewPostProjectsProjectIDMetadatasNotFound() *PostProjectsProjectIDMetadatasNotFound

NewPostProjectsProjectIDMetadatasNotFound creates a PostProjectsProjectIDMetadatasNotFound with default headers values

func (*PostProjectsProjectIDMetadatasNotFound) Error

type PostProjectsProjectIDMetadatasOK

type PostProjectsProjectIDMetadatasOK struct {
}

PostProjectsProjectIDMetadatasOK handles this case with default header values.

Add metadata successfully.

func NewPostProjectsProjectIDMetadatasOK

func NewPostProjectsProjectIDMetadatasOK() *PostProjectsProjectIDMetadatasOK

NewPostProjectsProjectIDMetadatasOK creates a PostProjectsProjectIDMetadatasOK with default headers values

func (*PostProjectsProjectIDMetadatasOK) Error

type PostProjectsProjectIDMetadatasParams

type PostProjectsProjectIDMetadatasParams struct {

	/*Metadata
	  The metadata of project.

	*/
	Metadata *model.ProjectMetadata
	/*ProjectID
	  Selected project ID.

	*/
	ProjectID int64

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

PostProjectsProjectIDMetadatasParams contains all the parameters to send to the API endpoint for the post projects project ID metadatas operation typically these are written to a http.Request

func NewPostProjectsProjectIDMetadatasParams

func NewPostProjectsProjectIDMetadatasParams() *PostProjectsProjectIDMetadatasParams

NewPostProjectsProjectIDMetadatasParams creates a new PostProjectsProjectIDMetadatasParams object with the default values initialized.

func NewPostProjectsProjectIDMetadatasParamsWithContext

func NewPostProjectsProjectIDMetadatasParamsWithContext(ctx context.Context) *PostProjectsProjectIDMetadatasParams

NewPostProjectsProjectIDMetadatasParamsWithContext creates a new PostProjectsProjectIDMetadatasParams object with the default values initialized, and the ability to set a context for a request

func NewPostProjectsProjectIDMetadatasParamsWithHTTPClient

func NewPostProjectsProjectIDMetadatasParamsWithHTTPClient(client *http.Client) *PostProjectsProjectIDMetadatasParams

NewPostProjectsProjectIDMetadatasParamsWithHTTPClient creates a new PostProjectsProjectIDMetadatasParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostProjectsProjectIDMetadatasParamsWithTimeout

func NewPostProjectsProjectIDMetadatasParamsWithTimeout(timeout time.Duration) *PostProjectsProjectIDMetadatasParams

NewPostProjectsProjectIDMetadatasParamsWithTimeout creates a new PostProjectsProjectIDMetadatasParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostProjectsProjectIDMetadatasParams) SetContext

SetContext adds the context to the post projects project ID metadatas params

func (*PostProjectsProjectIDMetadatasParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post projects project ID metadatas params

func (*PostProjectsProjectIDMetadatasParams) SetMetadata

SetMetadata adds the metadata to the post projects project ID metadatas params

func (*PostProjectsProjectIDMetadatasParams) SetProjectID

func (o *PostProjectsProjectIDMetadatasParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the post projects project ID metadatas params

func (*PostProjectsProjectIDMetadatasParams) SetTimeout

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

SetTimeout adds the timeout to the post projects project ID metadatas params

func (*PostProjectsProjectIDMetadatasParams) WithContext

WithContext adds the context to the post projects project ID metadatas params

func (*PostProjectsProjectIDMetadatasParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post projects project ID metadatas params

func (*PostProjectsProjectIDMetadatasParams) WithMetadata

WithMetadata adds the metadata to the post projects project ID metadatas params

func (*PostProjectsProjectIDMetadatasParams) WithProjectID

WithProjectID adds the projectID to the post projects project ID metadatas params

func (*PostProjectsProjectIDMetadatasParams) WithTimeout

WithTimeout adds the timeout to the post projects project ID metadatas params

func (*PostProjectsProjectIDMetadatasParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostProjectsProjectIDMetadatasReader

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

PostProjectsProjectIDMetadatasReader is a Reader for the PostProjectsProjectIDMetadatas structure.

func (*PostProjectsProjectIDMetadatasReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostProjectsProjectIDMetadatasUnauthorized

type PostProjectsProjectIDMetadatasUnauthorized struct {
}

PostProjectsProjectIDMetadatasUnauthorized handles this case with default header values.

User need to log in first.

func NewPostProjectsProjectIDMetadatasUnauthorized

func NewPostProjectsProjectIDMetadatasUnauthorized() *PostProjectsProjectIDMetadatasUnauthorized

NewPostProjectsProjectIDMetadatasUnauthorized creates a PostProjectsProjectIDMetadatasUnauthorized with default headers values

func (*PostProjectsProjectIDMetadatasUnauthorized) Error

type PostProjectsProjectIDMetadatasUnsupportedMediaType

type PostProjectsProjectIDMetadatasUnsupportedMediaType struct {
}

PostProjectsProjectIDMetadatasUnsupportedMediaType handles this case with default header values.

The Media Type of the request is not supported, it has to be "application/json"

func NewPostProjectsProjectIDMetadatasUnsupportedMediaType

func NewPostProjectsProjectIDMetadatasUnsupportedMediaType() *PostProjectsProjectIDMetadatasUnsupportedMediaType

NewPostProjectsProjectIDMetadatasUnsupportedMediaType creates a PostProjectsProjectIDMetadatasUnsupportedMediaType with default headers values

func (*PostProjectsProjectIDMetadatasUnsupportedMediaType) Error

type PostProjectsReader

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

PostProjectsReader is a Reader for the PostProjects structure.

func (*PostProjectsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostProjectsUnauthorized

type PostProjectsUnauthorized struct {
}

PostProjectsUnauthorized handles this case with default header values.

User need to log in first.

func NewPostProjectsUnauthorized

func NewPostProjectsUnauthorized() *PostProjectsUnauthorized

NewPostProjectsUnauthorized creates a PostProjectsUnauthorized with default headers values

func (*PostProjectsUnauthorized) Error

func (o *PostProjectsUnauthorized) Error() string

type PostProjectsUnsupportedMediaType

type PostProjectsUnsupportedMediaType struct {
}

PostProjectsUnsupportedMediaType handles this case with default header values.

The Media Type of the request is not supported, it has to be "application/json"

func NewPostProjectsUnsupportedMediaType

func NewPostProjectsUnsupportedMediaType() *PostProjectsUnsupportedMediaType

NewPostProjectsUnsupportedMediaType creates a PostProjectsUnsupportedMediaType with default headers values

func (*PostProjectsUnsupportedMediaType) Error

type PostRegistriesBadRequest

type PostRegistriesBadRequest struct {
}

PostRegistriesBadRequest handles this case with default header values.

Unsatisfied with constraints of the registry creation.

func NewPostRegistriesBadRequest

func NewPostRegistriesBadRequest() *PostRegistriesBadRequest

NewPostRegistriesBadRequest creates a PostRegistriesBadRequest with default headers values

func (*PostRegistriesBadRequest) Error

func (o *PostRegistriesBadRequest) Error() string

type PostRegistriesConflict

type PostRegistriesConflict struct {
}

PostRegistriesConflict handles this case with default header values.

Registry name already exists.

func NewPostRegistriesConflict

func NewPostRegistriesConflict() *PostRegistriesConflict

NewPostRegistriesConflict creates a PostRegistriesConflict with default headers values

func (*PostRegistriesConflict) Error

func (o *PostRegistriesConflict) Error() string

type PostRegistriesCreated

type PostRegistriesCreated struct {
}

PostRegistriesCreated handles this case with default header values.

Registry created successfully.

func NewPostRegistriesCreated

func NewPostRegistriesCreated() *PostRegistriesCreated

NewPostRegistriesCreated creates a PostRegistriesCreated with default headers values

func (*PostRegistriesCreated) Error

func (o *PostRegistriesCreated) Error() string

type PostRegistriesInternalServerError

type PostRegistriesInternalServerError struct {
}

PostRegistriesInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewPostRegistriesInternalServerError

func NewPostRegistriesInternalServerError() *PostRegistriesInternalServerError

NewPostRegistriesInternalServerError creates a PostRegistriesInternalServerError with default headers values

func (*PostRegistriesInternalServerError) Error

type PostRegistriesParams

type PostRegistriesParams struct {

	/*Registry
	  New created registry.

	*/
	Registry *model.Registry

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

PostRegistriesParams contains all the parameters to send to the API endpoint for the post registries operation typically these are written to a http.Request

func NewPostRegistriesParams

func NewPostRegistriesParams() *PostRegistriesParams

NewPostRegistriesParams creates a new PostRegistriesParams object with the default values initialized.

func NewPostRegistriesParamsWithContext

func NewPostRegistriesParamsWithContext(ctx context.Context) *PostRegistriesParams

NewPostRegistriesParamsWithContext creates a new PostRegistriesParams object with the default values initialized, and the ability to set a context for a request

func NewPostRegistriesParamsWithHTTPClient

func NewPostRegistriesParamsWithHTTPClient(client *http.Client) *PostRegistriesParams

NewPostRegistriesParamsWithHTTPClient creates a new PostRegistriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostRegistriesParamsWithTimeout

func NewPostRegistriesParamsWithTimeout(timeout time.Duration) *PostRegistriesParams

NewPostRegistriesParamsWithTimeout creates a new PostRegistriesParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostRegistriesParams) SetContext

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

SetContext adds the context to the post registries params

func (*PostRegistriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post registries params

func (*PostRegistriesParams) SetRegistry

func (o *PostRegistriesParams) SetRegistry(registry *model.Registry)

SetRegistry adds the registry to the post registries params

func (*PostRegistriesParams) SetTimeout

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

SetTimeout adds the timeout to the post registries params

func (*PostRegistriesParams) WithContext

WithContext adds the context to the post registries params

func (*PostRegistriesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post registries params

func (*PostRegistriesParams) WithRegistry

func (o *PostRegistriesParams) WithRegistry(registry *model.Registry) *PostRegistriesParams

WithRegistry adds the registry to the post registries params

func (*PostRegistriesParams) WithTimeout

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

WithTimeout adds the timeout to the post registries params

func (*PostRegistriesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostRegistriesReader

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

PostRegistriesReader is a Reader for the PostRegistries structure.

func (*PostRegistriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostRegistriesUnauthorized

type PostRegistriesUnauthorized struct {
}

PostRegistriesUnauthorized handles this case with default header values.

User need to log in first.

func NewPostRegistriesUnauthorized

func NewPostRegistriesUnauthorized() *PostRegistriesUnauthorized

NewPostRegistriesUnauthorized creates a PostRegistriesUnauthorized with default headers values

func (*PostRegistriesUnauthorized) Error

type PostRegistriesUnsupportedMediaType

type PostRegistriesUnsupportedMediaType struct {
}

PostRegistriesUnsupportedMediaType handles this case with default header values.

The Media Type of the request is not supported, it has to be "application/json"

func NewPostRegistriesUnsupportedMediaType

func NewPostRegistriesUnsupportedMediaType() *PostRegistriesUnsupportedMediaType

NewPostRegistriesUnsupportedMediaType creates a PostRegistriesUnsupportedMediaType with default headers values

func (*PostRegistriesUnsupportedMediaType) Error

type PostReplicationExecutionsBadRequest

type PostReplicationExecutionsBadRequest struct {
}

PostReplicationExecutionsBadRequest handles this case with default header values.

Bad request.

func NewPostReplicationExecutionsBadRequest

func NewPostReplicationExecutionsBadRequest() *PostReplicationExecutionsBadRequest

NewPostReplicationExecutionsBadRequest creates a PostReplicationExecutionsBadRequest with default headers values

func (*PostReplicationExecutionsBadRequest) Error

type PostReplicationExecutionsCreated

type PostReplicationExecutionsCreated struct {
}

PostReplicationExecutionsCreated handles this case with default header values.

Success.

func NewPostReplicationExecutionsCreated

func NewPostReplicationExecutionsCreated() *PostReplicationExecutionsCreated

NewPostReplicationExecutionsCreated creates a PostReplicationExecutionsCreated with default headers values

func (*PostReplicationExecutionsCreated) Error

type PostReplicationExecutionsForbidden

type PostReplicationExecutionsForbidden struct {
}

PostReplicationExecutionsForbidden handles this case with default header values.

User has no privilege for the operation.

func NewPostReplicationExecutionsForbidden

func NewPostReplicationExecutionsForbidden() *PostReplicationExecutionsForbidden

NewPostReplicationExecutionsForbidden creates a PostReplicationExecutionsForbidden with default headers values

func (*PostReplicationExecutionsForbidden) Error

type PostReplicationExecutionsInternalServerError

type PostReplicationExecutionsInternalServerError struct {
}

PostReplicationExecutionsInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewPostReplicationExecutionsInternalServerError

func NewPostReplicationExecutionsInternalServerError() *PostReplicationExecutionsInternalServerError

NewPostReplicationExecutionsInternalServerError creates a PostReplicationExecutionsInternalServerError with default headers values

func (*PostReplicationExecutionsInternalServerError) Error

type PostReplicationExecutionsParams

type PostReplicationExecutionsParams struct {

	/*Execution
	  The execution that needs to be started, only the property "policy_id" is needed.

	*/
	Execution *model.ReplicationExecution

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

PostReplicationExecutionsParams contains all the parameters to send to the API endpoint for the post replication executions operation typically these are written to a http.Request

func NewPostReplicationExecutionsParams

func NewPostReplicationExecutionsParams() *PostReplicationExecutionsParams

NewPostReplicationExecutionsParams creates a new PostReplicationExecutionsParams object with the default values initialized.

func NewPostReplicationExecutionsParamsWithContext

func NewPostReplicationExecutionsParamsWithContext(ctx context.Context) *PostReplicationExecutionsParams

NewPostReplicationExecutionsParamsWithContext creates a new PostReplicationExecutionsParams object with the default values initialized, and the ability to set a context for a request

func NewPostReplicationExecutionsParamsWithHTTPClient

func NewPostReplicationExecutionsParamsWithHTTPClient(client *http.Client) *PostReplicationExecutionsParams

NewPostReplicationExecutionsParamsWithHTTPClient creates a new PostReplicationExecutionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostReplicationExecutionsParamsWithTimeout

func NewPostReplicationExecutionsParamsWithTimeout(timeout time.Duration) *PostReplicationExecutionsParams

NewPostReplicationExecutionsParamsWithTimeout creates a new PostReplicationExecutionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostReplicationExecutionsParams) SetContext

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

SetContext adds the context to the post replication executions params

func (*PostReplicationExecutionsParams) SetExecution

func (o *PostReplicationExecutionsParams) SetExecution(execution *model.ReplicationExecution)

SetExecution adds the execution to the post replication executions params

func (*PostReplicationExecutionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post replication executions params

func (*PostReplicationExecutionsParams) SetTimeout

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

SetTimeout adds the timeout to the post replication executions params

func (*PostReplicationExecutionsParams) WithContext

WithContext adds the context to the post replication executions params

func (*PostReplicationExecutionsParams) WithExecution

WithExecution adds the execution to the post replication executions params

func (*PostReplicationExecutionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post replication executions params

func (*PostReplicationExecutionsParams) WithTimeout

WithTimeout adds the timeout to the post replication executions params

func (*PostReplicationExecutionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostReplicationExecutionsReader

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

PostReplicationExecutionsReader is a Reader for the PostReplicationExecutions structure.

func (*PostReplicationExecutionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostReplicationExecutionsUnauthorized

type PostReplicationExecutionsUnauthorized struct {
}

PostReplicationExecutionsUnauthorized handles this case with default header values.

User need to login first.

func NewPostReplicationExecutionsUnauthorized

func NewPostReplicationExecutionsUnauthorized() *PostReplicationExecutionsUnauthorized

NewPostReplicationExecutionsUnauthorized creates a PostReplicationExecutionsUnauthorized with default headers values

func (*PostReplicationExecutionsUnauthorized) Error

type PostReplicationExecutionsUnsupportedMediaType

type PostReplicationExecutionsUnsupportedMediaType struct {
}

PostReplicationExecutionsUnsupportedMediaType handles this case with default header values.

The Media Type of the request is not supported, it has to be "application/json"

func NewPostReplicationExecutionsUnsupportedMediaType

func NewPostReplicationExecutionsUnsupportedMediaType() *PostReplicationExecutionsUnsupportedMediaType

NewPostReplicationExecutionsUnsupportedMediaType creates a PostReplicationExecutionsUnsupportedMediaType with default headers values

func (*PostReplicationExecutionsUnsupportedMediaType) Error

type PostReplicationPoliciesBadRequest

type PostReplicationPoliciesBadRequest struct {
}

PostReplicationPoliciesBadRequest handles this case with default header values.

Bad Request

func NewPostReplicationPoliciesBadRequest

func NewPostReplicationPoliciesBadRequest() *PostReplicationPoliciesBadRequest

NewPostReplicationPoliciesBadRequest creates a PostReplicationPoliciesBadRequest with default headers values

func (*PostReplicationPoliciesBadRequest) Error

type PostReplicationPoliciesConflict

type PostReplicationPoliciesConflict struct {
}

PostReplicationPoliciesConflict handles this case with default header values.

Conflict

func NewPostReplicationPoliciesConflict

func NewPostReplicationPoliciesConflict() *PostReplicationPoliciesConflict

NewPostReplicationPoliciesConflict creates a PostReplicationPoliciesConflict with default headers values

func (*PostReplicationPoliciesConflict) Error

type PostReplicationPoliciesCreated

type PostReplicationPoliciesCreated struct {
}

PostReplicationPoliciesCreated handles this case with default header values.

Created

func NewPostReplicationPoliciesCreated

func NewPostReplicationPoliciesCreated() *PostReplicationPoliciesCreated

NewPostReplicationPoliciesCreated creates a PostReplicationPoliciesCreated with default headers values

func (*PostReplicationPoliciesCreated) Error

type PostReplicationPoliciesForbidden

type PostReplicationPoliciesForbidden struct {
}

PostReplicationPoliciesForbidden handles this case with default header values.

Forbidden

func NewPostReplicationPoliciesForbidden

func NewPostReplicationPoliciesForbidden() *PostReplicationPoliciesForbidden

NewPostReplicationPoliciesForbidden creates a PostReplicationPoliciesForbidden with default headers values

func (*PostReplicationPoliciesForbidden) Error

type PostReplicationPoliciesInternalServerError

type PostReplicationPoliciesInternalServerError struct {
}

PostReplicationPoliciesInternalServerError handles this case with default header values.

Internal Server Error

func NewPostReplicationPoliciesInternalServerError

func NewPostReplicationPoliciesInternalServerError() *PostReplicationPoliciesInternalServerError

NewPostReplicationPoliciesInternalServerError creates a PostReplicationPoliciesInternalServerError with default headers values

func (*PostReplicationPoliciesInternalServerError) Error

type PostReplicationPoliciesParams

type PostReplicationPoliciesParams struct {

	/*Policy
	  The policy model.

	*/
	Policy *model.ReplicationPolicy

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

PostReplicationPoliciesParams contains all the parameters to send to the API endpoint for the post replication policies operation typically these are written to a http.Request

func NewPostReplicationPoliciesParams

func NewPostReplicationPoliciesParams() *PostReplicationPoliciesParams

NewPostReplicationPoliciesParams creates a new PostReplicationPoliciesParams object with the default values initialized.

func NewPostReplicationPoliciesParamsWithContext

func NewPostReplicationPoliciesParamsWithContext(ctx context.Context) *PostReplicationPoliciesParams

NewPostReplicationPoliciesParamsWithContext creates a new PostReplicationPoliciesParams object with the default values initialized, and the ability to set a context for a request

func NewPostReplicationPoliciesParamsWithHTTPClient

func NewPostReplicationPoliciesParamsWithHTTPClient(client *http.Client) *PostReplicationPoliciesParams

NewPostReplicationPoliciesParamsWithHTTPClient creates a new PostReplicationPoliciesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostReplicationPoliciesParamsWithTimeout

func NewPostReplicationPoliciesParamsWithTimeout(timeout time.Duration) *PostReplicationPoliciesParams

NewPostReplicationPoliciesParamsWithTimeout creates a new PostReplicationPoliciesParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostReplicationPoliciesParams) SetContext

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

SetContext adds the context to the post replication policies params

func (*PostReplicationPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post replication policies params

func (*PostReplicationPoliciesParams) SetPolicy

SetPolicy adds the policy to the post replication policies params

func (*PostReplicationPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the post replication policies params

func (*PostReplicationPoliciesParams) WithContext

WithContext adds the context to the post replication policies params

func (*PostReplicationPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post replication policies params

func (*PostReplicationPoliciesParams) WithPolicy

WithPolicy adds the policy to the post replication policies params

func (*PostReplicationPoliciesParams) WithTimeout

WithTimeout adds the timeout to the post replication policies params

func (*PostReplicationPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostReplicationPoliciesReader

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

PostReplicationPoliciesReader is a Reader for the PostReplicationPolicies structure.

func (*PostReplicationPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostReplicationPoliciesUnauthorized

type PostReplicationPoliciesUnauthorized struct {
}

PostReplicationPoliciesUnauthorized handles this case with default header values.

Unauthorized

func NewPostReplicationPoliciesUnauthorized

func NewPostReplicationPoliciesUnauthorized() *PostReplicationPoliciesUnauthorized

NewPostReplicationPoliciesUnauthorized creates a PostReplicationPoliciesUnauthorized with default headers values

func (*PostReplicationPoliciesUnauthorized) Error

type PostReplicationPoliciesUnsupportedMediaType

type PostReplicationPoliciesUnsupportedMediaType struct {
}

PostReplicationPoliciesUnsupportedMediaType handles this case with default header values.

The Media Type of the request is not supported, it has to be "application/json"

func NewPostReplicationPoliciesUnsupportedMediaType

func NewPostReplicationPoliciesUnsupportedMediaType() *PostReplicationPoliciesUnsupportedMediaType

NewPostReplicationPoliciesUnsupportedMediaType creates a PostReplicationPoliciesUnsupportedMediaType with default headers values

func (*PostReplicationPoliciesUnsupportedMediaType) Error

type PostRetentionsBadRequest

type PostRetentionsBadRequest struct {
}

PostRetentionsBadRequest handles this case with default header values.

Illegal format of provided ID value.

func NewPostRetentionsBadRequest

func NewPostRetentionsBadRequest() *PostRetentionsBadRequest

NewPostRetentionsBadRequest creates a PostRetentionsBadRequest with default headers values

func (*PostRetentionsBadRequest) Error

func (o *PostRetentionsBadRequest) Error() string

type PostRetentionsCreated

type PostRetentionsCreated struct {
}

PostRetentionsCreated handles this case with default header values.

Project created successfully.

func NewPostRetentionsCreated

func NewPostRetentionsCreated() *PostRetentionsCreated

NewPostRetentionsCreated creates a PostRetentionsCreated with default headers values

func (*PostRetentionsCreated) Error

func (o *PostRetentionsCreated) Error() string

type PostRetentionsForbidden

type PostRetentionsForbidden struct {
}

PostRetentionsForbidden handles this case with default header values.

User have no permission.

func NewPostRetentionsForbidden

func NewPostRetentionsForbidden() *PostRetentionsForbidden

NewPostRetentionsForbidden creates a PostRetentionsForbidden with default headers values

func (*PostRetentionsForbidden) Error

func (o *PostRetentionsForbidden) Error() string

type PostRetentionsInternalServerError

type PostRetentionsInternalServerError struct {
}

PostRetentionsInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewPostRetentionsInternalServerError

func NewPostRetentionsInternalServerError() *PostRetentionsInternalServerError

NewPostRetentionsInternalServerError creates a PostRetentionsInternalServerError with default headers values

func (*PostRetentionsInternalServerError) Error

type PostRetentionsParams

type PostRetentionsParams struct {

	/*Policy
	  Create Retention Policy successfully.

	*/
	Policy *model.RetentionPolicy

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

PostRetentionsParams contains all the parameters to send to the API endpoint for the post retentions operation typically these are written to a http.Request

func NewPostRetentionsParams

func NewPostRetentionsParams() *PostRetentionsParams

NewPostRetentionsParams creates a new PostRetentionsParams object with the default values initialized.

func NewPostRetentionsParamsWithContext

func NewPostRetentionsParamsWithContext(ctx context.Context) *PostRetentionsParams

NewPostRetentionsParamsWithContext creates a new PostRetentionsParams object with the default values initialized, and the ability to set a context for a request

func NewPostRetentionsParamsWithHTTPClient

func NewPostRetentionsParamsWithHTTPClient(client *http.Client) *PostRetentionsParams

NewPostRetentionsParamsWithHTTPClient creates a new PostRetentionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostRetentionsParamsWithTimeout

func NewPostRetentionsParamsWithTimeout(timeout time.Duration) *PostRetentionsParams

NewPostRetentionsParamsWithTimeout creates a new PostRetentionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostRetentionsParams) SetContext

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

SetContext adds the context to the post retentions params

func (*PostRetentionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post retentions params

func (*PostRetentionsParams) SetPolicy

func (o *PostRetentionsParams) SetPolicy(policy *model.RetentionPolicy)

SetPolicy adds the policy to the post retentions params

func (*PostRetentionsParams) SetTimeout

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

SetTimeout adds the timeout to the post retentions params

func (*PostRetentionsParams) WithContext

WithContext adds the context to the post retentions params

func (*PostRetentionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post retentions params

func (*PostRetentionsParams) WithPolicy

WithPolicy adds the policy to the post retentions params

func (*PostRetentionsParams) WithTimeout

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

WithTimeout adds the timeout to the post retentions params

func (*PostRetentionsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostRetentionsReader

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

PostRetentionsReader is a Reader for the PostRetentions structure.

func (*PostRetentionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostRetentionsUnauthorized

type PostRetentionsUnauthorized struct {
}

PostRetentionsUnauthorized handles this case with default header values.

User need to log in first.

func NewPostRetentionsUnauthorized

func NewPostRetentionsUnauthorized() *PostRetentionsUnauthorized

NewPostRetentionsUnauthorized creates a PostRetentionsUnauthorized with default headers values

func (*PostRetentionsUnauthorized) Error

type PostSystemGcScheduleBadRequest

type PostSystemGcScheduleBadRequest struct {
}

PostSystemGcScheduleBadRequest handles this case with default header values.

Invalid schedule type.

func NewPostSystemGcScheduleBadRequest

func NewPostSystemGcScheduleBadRequest() *PostSystemGcScheduleBadRequest

NewPostSystemGcScheduleBadRequest creates a PostSystemGcScheduleBadRequest with default headers values

func (*PostSystemGcScheduleBadRequest) Error

type PostSystemGcScheduleConflict

type PostSystemGcScheduleConflict struct {
}

PostSystemGcScheduleConflict handles this case with default header values.

There is a "gc" job in progress, so the request cannot be served.

func NewPostSystemGcScheduleConflict

func NewPostSystemGcScheduleConflict() *PostSystemGcScheduleConflict

NewPostSystemGcScheduleConflict creates a PostSystemGcScheduleConflict with default headers values

func (*PostSystemGcScheduleConflict) Error

type PostSystemGcScheduleForbidden

type PostSystemGcScheduleForbidden struct {
}

PostSystemGcScheduleForbidden handles this case with default header values.

User does not have permission of admin role.

func NewPostSystemGcScheduleForbidden

func NewPostSystemGcScheduleForbidden() *PostSystemGcScheduleForbidden

NewPostSystemGcScheduleForbidden creates a PostSystemGcScheduleForbidden with default headers values

func (*PostSystemGcScheduleForbidden) Error

type PostSystemGcScheduleInternalServerError

type PostSystemGcScheduleInternalServerError struct {
}

PostSystemGcScheduleInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewPostSystemGcScheduleInternalServerError

func NewPostSystemGcScheduleInternalServerError() *PostSystemGcScheduleInternalServerError

NewPostSystemGcScheduleInternalServerError creates a PostSystemGcScheduleInternalServerError with default headers values

func (*PostSystemGcScheduleInternalServerError) Error

type PostSystemGcScheduleOK

type PostSystemGcScheduleOK struct {
}

PostSystemGcScheduleOK handles this case with default header values.

GC schedule successfully.

func NewPostSystemGcScheduleOK

func NewPostSystemGcScheduleOK() *PostSystemGcScheduleOK

NewPostSystemGcScheduleOK creates a PostSystemGcScheduleOK with default headers values

func (*PostSystemGcScheduleOK) Error

func (o *PostSystemGcScheduleOK) Error() string

type PostSystemGcScheduleParams

type PostSystemGcScheduleParams struct {

	/*Schedule
	  Updates of gc's schedule.

	*/
	Schedule *model.AdminJobSchedule

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

PostSystemGcScheduleParams contains all the parameters to send to the API endpoint for the post system gc schedule operation typically these are written to a http.Request

func NewPostSystemGcScheduleParams

func NewPostSystemGcScheduleParams() *PostSystemGcScheduleParams

NewPostSystemGcScheduleParams creates a new PostSystemGcScheduleParams object with the default values initialized.

func NewPostSystemGcScheduleParamsWithContext

func NewPostSystemGcScheduleParamsWithContext(ctx context.Context) *PostSystemGcScheduleParams

NewPostSystemGcScheduleParamsWithContext creates a new PostSystemGcScheduleParams object with the default values initialized, and the ability to set a context for a request

func NewPostSystemGcScheduleParamsWithHTTPClient

func NewPostSystemGcScheduleParamsWithHTTPClient(client *http.Client) *PostSystemGcScheduleParams

NewPostSystemGcScheduleParamsWithHTTPClient creates a new PostSystemGcScheduleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostSystemGcScheduleParamsWithTimeout

func NewPostSystemGcScheduleParamsWithTimeout(timeout time.Duration) *PostSystemGcScheduleParams

NewPostSystemGcScheduleParamsWithTimeout creates a new PostSystemGcScheduleParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostSystemGcScheduleParams) SetContext

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

SetContext adds the context to the post system gc schedule params

func (*PostSystemGcScheduleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post system gc schedule params

func (*PostSystemGcScheduleParams) SetSchedule

func (o *PostSystemGcScheduleParams) SetSchedule(schedule *model.AdminJobSchedule)

SetSchedule adds the schedule to the post system gc schedule params

func (*PostSystemGcScheduleParams) SetTimeout

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

SetTimeout adds the timeout to the post system gc schedule params

func (*PostSystemGcScheduleParams) WithContext

WithContext adds the context to the post system gc schedule params

func (*PostSystemGcScheduleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post system gc schedule params

func (*PostSystemGcScheduleParams) WithSchedule

WithSchedule adds the schedule to the post system gc schedule params

func (*PostSystemGcScheduleParams) WithTimeout

WithTimeout adds the timeout to the post system gc schedule params

func (*PostSystemGcScheduleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostSystemGcScheduleReader

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

PostSystemGcScheduleReader is a Reader for the PostSystemGcSchedule structure.

func (*PostSystemGcScheduleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostSystemGcScheduleUnauthorized

type PostSystemGcScheduleUnauthorized struct {
}

PostSystemGcScheduleUnauthorized handles this case with default header values.

User need to log in first.

func NewPostSystemGcScheduleUnauthorized

func NewPostSystemGcScheduleUnauthorized() *PostSystemGcScheduleUnauthorized

NewPostSystemGcScheduleUnauthorized creates a PostSystemGcScheduleUnauthorized with default headers values

func (*PostSystemGcScheduleUnauthorized) Error

type PostUsersBadRequest

type PostUsersBadRequest struct {
}

PostUsersBadRequest handles this case with default header values.

Unsatisfied with constraints of the user creation.

func NewPostUsersBadRequest

func NewPostUsersBadRequest() *PostUsersBadRequest

NewPostUsersBadRequest creates a PostUsersBadRequest with default headers values

func (*PostUsersBadRequest) Error

func (o *PostUsersBadRequest) Error() string

type PostUsersCreated

type PostUsersCreated struct {
}

PostUsersCreated handles this case with default header values.

User created successfully.

func NewPostUsersCreated

func NewPostUsersCreated() *PostUsersCreated

NewPostUsersCreated creates a PostUsersCreated with default headers values

func (*PostUsersCreated) Error

func (o *PostUsersCreated) Error() string

type PostUsersForbidden

type PostUsersForbidden struct {
}

PostUsersForbidden handles this case with default header values.

User registration can only be used by admin role user when self-registration is off.

func NewPostUsersForbidden

func NewPostUsersForbidden() *PostUsersForbidden

NewPostUsersForbidden creates a PostUsersForbidden with default headers values

func (*PostUsersForbidden) Error

func (o *PostUsersForbidden) Error() string

type PostUsersInternalServerError

type PostUsersInternalServerError struct {
}

PostUsersInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewPostUsersInternalServerError

func NewPostUsersInternalServerError() *PostUsersInternalServerError

NewPostUsersInternalServerError creates a PostUsersInternalServerError with default headers values

func (*PostUsersInternalServerError) Error

type PostUsersParams

type PostUsersParams struct {

	/*User
	  New created user.

	*/
	User *model.User

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

PostUsersParams contains all the parameters to send to the API endpoint for the post users operation typically these are written to a http.Request

func NewPostUsersParams

func NewPostUsersParams() *PostUsersParams

NewPostUsersParams creates a new PostUsersParams object with the default values initialized.

func NewPostUsersParamsWithContext

func NewPostUsersParamsWithContext(ctx context.Context) *PostUsersParams

NewPostUsersParamsWithContext creates a new PostUsersParams object with the default values initialized, and the ability to set a context for a request

func NewPostUsersParamsWithHTTPClient

func NewPostUsersParamsWithHTTPClient(client *http.Client) *PostUsersParams

NewPostUsersParamsWithHTTPClient creates a new PostUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostUsersParamsWithTimeout

func NewPostUsersParamsWithTimeout(timeout time.Duration) *PostUsersParams

NewPostUsersParamsWithTimeout creates a new PostUsersParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostUsersParams) SetContext

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

SetContext adds the context to the post users params

func (*PostUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post users params

func (*PostUsersParams) SetTimeout

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

SetTimeout adds the timeout to the post users params

func (*PostUsersParams) SetUser

func (o *PostUsersParams) SetUser(user *model.User)

SetUser adds the user to the post users params

func (*PostUsersParams) WithContext

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

WithContext adds the context to the post users params

func (*PostUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post users params

func (*PostUsersParams) WithTimeout

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

WithTimeout adds the timeout to the post users params

func (*PostUsersParams) WithUser

func (o *PostUsersParams) WithUser(user *model.User) *PostUsersParams

WithUser adds the user to the post users params

func (*PostUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostUsersReader

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

PostUsersReader is a Reader for the PostUsers structure.

func (*PostUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostUsersUnsupportedMediaType

type PostUsersUnsupportedMediaType struct {
}

PostUsersUnsupportedMediaType handles this case with default header values.

The Media Type of the request is not supported, it has to be "application/json"

func NewPostUsersUnsupportedMediaType

func NewPostUsersUnsupportedMediaType() *PostUsersUnsupportedMediaType

NewPostUsersUnsupportedMediaType creates a PostUsersUnsupportedMediaType with default headers values

func (*PostUsersUnsupportedMediaType) Error

type PutProjectsProjectIDBadRequest

type PutProjectsProjectIDBadRequest struct {
}

PutProjectsProjectIDBadRequest handles this case with default header values.

Illegal format of provided ID value.

func NewPutProjectsProjectIDBadRequest

func NewPutProjectsProjectIDBadRequest() *PutProjectsProjectIDBadRequest

NewPutProjectsProjectIDBadRequest creates a PutProjectsProjectIDBadRequest with default headers values

func (*PutProjectsProjectIDBadRequest) Error

type PutProjectsProjectIDForbidden

type PutProjectsProjectIDForbidden struct {
}

PutProjectsProjectIDForbidden handles this case with default header values.

User does not have permission to the project.

func NewPutProjectsProjectIDForbidden

func NewPutProjectsProjectIDForbidden() *PutProjectsProjectIDForbidden

NewPutProjectsProjectIDForbidden creates a PutProjectsProjectIDForbidden with default headers values

func (*PutProjectsProjectIDForbidden) Error

type PutProjectsProjectIDInternalServerError

type PutProjectsProjectIDInternalServerError struct {
}

PutProjectsProjectIDInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewPutProjectsProjectIDInternalServerError

func NewPutProjectsProjectIDInternalServerError() *PutProjectsProjectIDInternalServerError

NewPutProjectsProjectIDInternalServerError creates a PutProjectsProjectIDInternalServerError with default headers values

func (*PutProjectsProjectIDInternalServerError) Error

type PutProjectsProjectIDMembersMidBadRequest

type PutProjectsProjectIDMembersMidBadRequest struct {
}

PutProjectsProjectIDMembersMidBadRequest handles this case with default header values.

Invalid role id, it should be 1,2 or 3, or invalid project id, or invalid member id.

func NewPutProjectsProjectIDMembersMidBadRequest

func NewPutProjectsProjectIDMembersMidBadRequest() *PutProjectsProjectIDMembersMidBadRequest

NewPutProjectsProjectIDMembersMidBadRequest creates a PutProjectsProjectIDMembersMidBadRequest with default headers values

func (*PutProjectsProjectIDMembersMidBadRequest) Error

type PutProjectsProjectIDMembersMidForbidden

type PutProjectsProjectIDMembersMidForbidden struct {
}

PutProjectsProjectIDMembersMidForbidden handles this case with default header values.

User in session does not have permission to the project.

func NewPutProjectsProjectIDMembersMidForbidden

func NewPutProjectsProjectIDMembersMidForbidden() *PutProjectsProjectIDMembersMidForbidden

NewPutProjectsProjectIDMembersMidForbidden creates a PutProjectsProjectIDMembersMidForbidden with default headers values

func (*PutProjectsProjectIDMembersMidForbidden) Error

type PutProjectsProjectIDMembersMidInternalServerError

type PutProjectsProjectIDMembersMidInternalServerError struct {
}

PutProjectsProjectIDMembersMidInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewPutProjectsProjectIDMembersMidInternalServerError

func NewPutProjectsProjectIDMembersMidInternalServerError() *PutProjectsProjectIDMembersMidInternalServerError

NewPutProjectsProjectIDMembersMidInternalServerError creates a PutProjectsProjectIDMembersMidInternalServerError with default headers values

func (*PutProjectsProjectIDMembersMidInternalServerError) Error

type PutProjectsProjectIDMembersMidNotFound

type PutProjectsProjectIDMembersMidNotFound struct {
}

PutProjectsProjectIDMembersMidNotFound handles this case with default header values.

project or project member does not exist.

func NewPutProjectsProjectIDMembersMidNotFound

func NewPutProjectsProjectIDMembersMidNotFound() *PutProjectsProjectIDMembersMidNotFound

NewPutProjectsProjectIDMembersMidNotFound creates a PutProjectsProjectIDMembersMidNotFound with default headers values

func (*PutProjectsProjectIDMembersMidNotFound) Error

type PutProjectsProjectIDMembersMidOK

type PutProjectsProjectIDMembersMidOK struct {
}

PutProjectsProjectIDMembersMidOK handles this case with default header values.

Project member updated successfully.

func NewPutProjectsProjectIDMembersMidOK

func NewPutProjectsProjectIDMembersMidOK() *PutProjectsProjectIDMembersMidOK

NewPutProjectsProjectIDMembersMidOK creates a PutProjectsProjectIDMembersMidOK with default headers values

func (*PutProjectsProjectIDMembersMidOK) Error

type PutProjectsProjectIDMembersMidParams

type PutProjectsProjectIDMembersMidParams struct {

	/*Mid
	  Member ID.

	*/
	Mid int64
	/*ProjectID
	  Relevant project ID.

	*/
	ProjectID int64
	/*Role*/
	Role *model.RoleRequest

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

PutProjectsProjectIDMembersMidParams contains all the parameters to send to the API endpoint for the put projects project ID members mid operation typically these are written to a http.Request

func NewPutProjectsProjectIDMembersMidParams

func NewPutProjectsProjectIDMembersMidParams() *PutProjectsProjectIDMembersMidParams

NewPutProjectsProjectIDMembersMidParams creates a new PutProjectsProjectIDMembersMidParams object with the default values initialized.

func NewPutProjectsProjectIDMembersMidParamsWithContext

func NewPutProjectsProjectIDMembersMidParamsWithContext(ctx context.Context) *PutProjectsProjectIDMembersMidParams

NewPutProjectsProjectIDMembersMidParamsWithContext creates a new PutProjectsProjectIDMembersMidParams object with the default values initialized, and the ability to set a context for a request

func NewPutProjectsProjectIDMembersMidParamsWithHTTPClient

func NewPutProjectsProjectIDMembersMidParamsWithHTTPClient(client *http.Client) *PutProjectsProjectIDMembersMidParams

NewPutProjectsProjectIDMembersMidParamsWithHTTPClient creates a new PutProjectsProjectIDMembersMidParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutProjectsProjectIDMembersMidParamsWithTimeout

func NewPutProjectsProjectIDMembersMidParamsWithTimeout(timeout time.Duration) *PutProjectsProjectIDMembersMidParams

NewPutProjectsProjectIDMembersMidParamsWithTimeout creates a new PutProjectsProjectIDMembersMidParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutProjectsProjectIDMembersMidParams) SetContext

SetContext adds the context to the put projects project ID members mid params

func (*PutProjectsProjectIDMembersMidParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put projects project ID members mid params

func (*PutProjectsProjectIDMembersMidParams) SetMid

SetMid adds the mid to the put projects project ID members mid params

func (*PutProjectsProjectIDMembersMidParams) SetProjectID

func (o *PutProjectsProjectIDMembersMidParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the put projects project ID members mid params

func (*PutProjectsProjectIDMembersMidParams) SetRole

SetRole adds the role to the put projects project ID members mid params

func (*PutProjectsProjectIDMembersMidParams) SetTimeout

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

SetTimeout adds the timeout to the put projects project ID members mid params

func (*PutProjectsProjectIDMembersMidParams) WithContext

WithContext adds the context to the put projects project ID members mid params

func (*PutProjectsProjectIDMembersMidParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put projects project ID members mid params

func (*PutProjectsProjectIDMembersMidParams) WithMid

WithMid adds the mid to the put projects project ID members mid params

func (*PutProjectsProjectIDMembersMidParams) WithProjectID

WithProjectID adds the projectID to the put projects project ID members mid params

func (*PutProjectsProjectIDMembersMidParams) WithRole

WithRole adds the role to the put projects project ID members mid params

func (*PutProjectsProjectIDMembersMidParams) WithTimeout

WithTimeout adds the timeout to the put projects project ID members mid params

func (*PutProjectsProjectIDMembersMidParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutProjectsProjectIDMembersMidReader

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

PutProjectsProjectIDMembersMidReader is a Reader for the PutProjectsProjectIDMembersMid structure.

func (*PutProjectsProjectIDMembersMidReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutProjectsProjectIDMembersMidUnauthorized

type PutProjectsProjectIDMembersMidUnauthorized struct {
}

PutProjectsProjectIDMembersMidUnauthorized handles this case with default header values.

User need to log in first.

func NewPutProjectsProjectIDMembersMidUnauthorized

func NewPutProjectsProjectIDMembersMidUnauthorized() *PutProjectsProjectIDMembersMidUnauthorized

NewPutProjectsProjectIDMembersMidUnauthorized creates a PutProjectsProjectIDMembersMidUnauthorized with default headers values

func (*PutProjectsProjectIDMembersMidUnauthorized) Error

type PutProjectsProjectIDMetadatasMetaNameBadRequest

type PutProjectsProjectIDMetadatasMetaNameBadRequest struct {
}

PutProjectsProjectIDMetadatasMetaNameBadRequest handles this case with default header values.

Invalid request.

func NewPutProjectsProjectIDMetadatasMetaNameBadRequest

func NewPutProjectsProjectIDMetadatasMetaNameBadRequest() *PutProjectsProjectIDMetadatasMetaNameBadRequest

NewPutProjectsProjectIDMetadatasMetaNameBadRequest creates a PutProjectsProjectIDMetadatasMetaNameBadRequest with default headers values

func (*PutProjectsProjectIDMetadatasMetaNameBadRequest) Error

type PutProjectsProjectIDMetadatasMetaNameForbidden

type PutProjectsProjectIDMetadatasMetaNameForbidden struct {
}

PutProjectsProjectIDMetadatasMetaNameForbidden handles this case with default header values.

User does not have permission to the project.

func NewPutProjectsProjectIDMetadatasMetaNameForbidden

func NewPutProjectsProjectIDMetadatasMetaNameForbidden() *PutProjectsProjectIDMetadatasMetaNameForbidden

NewPutProjectsProjectIDMetadatasMetaNameForbidden creates a PutProjectsProjectIDMetadatasMetaNameForbidden with default headers values

func (*PutProjectsProjectIDMetadatasMetaNameForbidden) Error

type PutProjectsProjectIDMetadatasMetaNameInternalServerError

type PutProjectsProjectIDMetadatasMetaNameInternalServerError struct {
}

PutProjectsProjectIDMetadatasMetaNameInternalServerError handles this case with default header values.

Internal server errors.

func NewPutProjectsProjectIDMetadatasMetaNameInternalServerError

func NewPutProjectsProjectIDMetadatasMetaNameInternalServerError() *PutProjectsProjectIDMetadatasMetaNameInternalServerError

NewPutProjectsProjectIDMetadatasMetaNameInternalServerError creates a PutProjectsProjectIDMetadatasMetaNameInternalServerError with default headers values

func (*PutProjectsProjectIDMetadatasMetaNameInternalServerError) Error

type PutProjectsProjectIDMetadatasMetaNameNotFound

type PutProjectsProjectIDMetadatasMetaNameNotFound struct {
}

PutProjectsProjectIDMetadatasMetaNameNotFound handles this case with default header values.

Project or metadata does not exist.

func NewPutProjectsProjectIDMetadatasMetaNameNotFound

func NewPutProjectsProjectIDMetadatasMetaNameNotFound() *PutProjectsProjectIDMetadatasMetaNameNotFound

NewPutProjectsProjectIDMetadatasMetaNameNotFound creates a PutProjectsProjectIDMetadatasMetaNameNotFound with default headers values

func (*PutProjectsProjectIDMetadatasMetaNameNotFound) Error

type PutProjectsProjectIDMetadatasMetaNameOK

type PutProjectsProjectIDMetadatasMetaNameOK struct {
}

PutProjectsProjectIDMetadatasMetaNameOK handles this case with default header values.

Updated metadata successfully.

func NewPutProjectsProjectIDMetadatasMetaNameOK

func NewPutProjectsProjectIDMetadatasMetaNameOK() *PutProjectsProjectIDMetadatasMetaNameOK

NewPutProjectsProjectIDMetadatasMetaNameOK creates a PutProjectsProjectIDMetadatasMetaNameOK with default headers values

func (*PutProjectsProjectIDMetadatasMetaNameOK) Error

type PutProjectsProjectIDMetadatasMetaNameParams

type PutProjectsProjectIDMetadatasMetaNameParams struct {

	/*MetaName
	  The name of metadat.

	*/
	MetaName string
	/*ProjectID
	  The ID of project.

	*/
	ProjectID int64

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

PutProjectsProjectIDMetadatasMetaNameParams contains all the parameters to send to the API endpoint for the put projects project ID metadatas meta name operation typically these are written to a http.Request

func NewPutProjectsProjectIDMetadatasMetaNameParams

func NewPutProjectsProjectIDMetadatasMetaNameParams() *PutProjectsProjectIDMetadatasMetaNameParams

NewPutProjectsProjectIDMetadatasMetaNameParams creates a new PutProjectsProjectIDMetadatasMetaNameParams object with the default values initialized.

func NewPutProjectsProjectIDMetadatasMetaNameParamsWithContext

func NewPutProjectsProjectIDMetadatasMetaNameParamsWithContext(ctx context.Context) *PutProjectsProjectIDMetadatasMetaNameParams

NewPutProjectsProjectIDMetadatasMetaNameParamsWithContext creates a new PutProjectsProjectIDMetadatasMetaNameParams object with the default values initialized, and the ability to set a context for a request

func NewPutProjectsProjectIDMetadatasMetaNameParamsWithHTTPClient

func NewPutProjectsProjectIDMetadatasMetaNameParamsWithHTTPClient(client *http.Client) *PutProjectsProjectIDMetadatasMetaNameParams

NewPutProjectsProjectIDMetadatasMetaNameParamsWithHTTPClient creates a new PutProjectsProjectIDMetadatasMetaNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutProjectsProjectIDMetadatasMetaNameParamsWithTimeout

func NewPutProjectsProjectIDMetadatasMetaNameParamsWithTimeout(timeout time.Duration) *PutProjectsProjectIDMetadatasMetaNameParams

NewPutProjectsProjectIDMetadatasMetaNameParamsWithTimeout creates a new PutProjectsProjectIDMetadatasMetaNameParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutProjectsProjectIDMetadatasMetaNameParams) SetContext

SetContext adds the context to the put projects project ID metadatas meta name params

func (*PutProjectsProjectIDMetadatasMetaNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put projects project ID metadatas meta name params

func (*PutProjectsProjectIDMetadatasMetaNameParams) SetMetaName

func (o *PutProjectsProjectIDMetadatasMetaNameParams) SetMetaName(metaName string)

SetMetaName adds the metaName to the put projects project ID metadatas meta name params

func (*PutProjectsProjectIDMetadatasMetaNameParams) SetProjectID

func (o *PutProjectsProjectIDMetadatasMetaNameParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the put projects project ID metadatas meta name params

func (*PutProjectsProjectIDMetadatasMetaNameParams) SetTimeout

SetTimeout adds the timeout to the put projects project ID metadatas meta name params

func (*PutProjectsProjectIDMetadatasMetaNameParams) WithContext

WithContext adds the context to the put projects project ID metadatas meta name params

func (*PutProjectsProjectIDMetadatasMetaNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put projects project ID metadatas meta name params

func (*PutProjectsProjectIDMetadatasMetaNameParams) WithMetaName

WithMetaName adds the metaName to the put projects project ID metadatas meta name params

func (*PutProjectsProjectIDMetadatasMetaNameParams) WithProjectID

WithProjectID adds the projectID to the put projects project ID metadatas meta name params

func (*PutProjectsProjectIDMetadatasMetaNameParams) WithTimeout

WithTimeout adds the timeout to the put projects project ID metadatas meta name params

func (*PutProjectsProjectIDMetadatasMetaNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutProjectsProjectIDMetadatasMetaNameReader

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

PutProjectsProjectIDMetadatasMetaNameReader is a Reader for the PutProjectsProjectIDMetadatasMetaName structure.

func (*PutProjectsProjectIDMetadatasMetaNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutProjectsProjectIDMetadatasMetaNameUnauthorized

type PutProjectsProjectIDMetadatasMetaNameUnauthorized struct {
}

PutProjectsProjectIDMetadatasMetaNameUnauthorized handles this case with default header values.

User need to log in first.

func NewPutProjectsProjectIDMetadatasMetaNameUnauthorized

func NewPutProjectsProjectIDMetadatasMetaNameUnauthorized() *PutProjectsProjectIDMetadatasMetaNameUnauthorized

NewPutProjectsProjectIDMetadatasMetaNameUnauthorized creates a PutProjectsProjectIDMetadatasMetaNameUnauthorized with default headers values

func (*PutProjectsProjectIDMetadatasMetaNameUnauthorized) Error

type PutProjectsProjectIDNotFound

type PutProjectsProjectIDNotFound struct {
}

PutProjectsProjectIDNotFound handles this case with default header values.

Project ID does not exist.

func NewPutProjectsProjectIDNotFound

func NewPutProjectsProjectIDNotFound() *PutProjectsProjectIDNotFound

NewPutProjectsProjectIDNotFound creates a PutProjectsProjectIDNotFound with default headers values

func (*PutProjectsProjectIDNotFound) Error

type PutProjectsProjectIDOK

type PutProjectsProjectIDOK struct {
}

PutProjectsProjectIDOK handles this case with default header values.

Updated project properties successfully.

func NewPutProjectsProjectIDOK

func NewPutProjectsProjectIDOK() *PutProjectsProjectIDOK

NewPutProjectsProjectIDOK creates a PutProjectsProjectIDOK with default headers values

func (*PutProjectsProjectIDOK) Error

func (o *PutProjectsProjectIDOK) Error() string

type PutProjectsProjectIDParams

type PutProjectsProjectIDParams struct {

	/*Project
	  Updates of project.

	*/
	Project *model.ProjectReq
	/*ProjectID
	  Selected project ID.

	*/
	ProjectID int64

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

PutProjectsProjectIDParams contains all the parameters to send to the API endpoint for the put projects project ID operation typically these are written to a http.Request

func NewPutProjectsProjectIDParams

func NewPutProjectsProjectIDParams() *PutProjectsProjectIDParams

NewPutProjectsProjectIDParams creates a new PutProjectsProjectIDParams object with the default values initialized.

func NewPutProjectsProjectIDParamsWithContext

func NewPutProjectsProjectIDParamsWithContext(ctx context.Context) *PutProjectsProjectIDParams

NewPutProjectsProjectIDParamsWithContext creates a new PutProjectsProjectIDParams object with the default values initialized, and the ability to set a context for a request

func NewPutProjectsProjectIDParamsWithHTTPClient

func NewPutProjectsProjectIDParamsWithHTTPClient(client *http.Client) *PutProjectsProjectIDParams

NewPutProjectsProjectIDParamsWithHTTPClient creates a new PutProjectsProjectIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutProjectsProjectIDParamsWithTimeout

func NewPutProjectsProjectIDParamsWithTimeout(timeout time.Duration) *PutProjectsProjectIDParams

NewPutProjectsProjectIDParamsWithTimeout creates a new PutProjectsProjectIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutProjectsProjectIDParams) SetContext

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

SetContext adds the context to the put projects project ID params

func (*PutProjectsProjectIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put projects project ID params

func (*PutProjectsProjectIDParams) SetProject

func (o *PutProjectsProjectIDParams) SetProject(project *model.ProjectReq)

SetProject adds the project to the put projects project ID params

func (*PutProjectsProjectIDParams) SetProjectID

func (o *PutProjectsProjectIDParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the put projects project ID params

func (*PutProjectsProjectIDParams) SetTimeout

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

SetTimeout adds the timeout to the put projects project ID params

func (*PutProjectsProjectIDParams) WithContext

WithContext adds the context to the put projects project ID params

func (*PutProjectsProjectIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put projects project ID params

func (*PutProjectsProjectIDParams) WithProject

WithProject adds the project to the put projects project ID params

func (*PutProjectsProjectIDParams) WithProjectID

func (o *PutProjectsProjectIDParams) WithProjectID(projectID int64) *PutProjectsProjectIDParams

WithProjectID adds the projectID to the put projects project ID params

func (*PutProjectsProjectIDParams) WithTimeout

WithTimeout adds the timeout to the put projects project ID params

func (*PutProjectsProjectIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutProjectsProjectIDReader

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

PutProjectsProjectIDReader is a Reader for the PutProjectsProjectID structure.

func (*PutProjectsProjectIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutProjectsProjectIDUnauthorized

type PutProjectsProjectIDUnauthorized struct {
}

PutProjectsProjectIDUnauthorized handles this case with default header values.

User need to log in first.

func NewPutProjectsProjectIDUnauthorized

func NewPutProjectsProjectIDUnauthorized() *PutProjectsProjectIDUnauthorized

NewPutProjectsProjectIDUnauthorized creates a PutProjectsProjectIDUnauthorized with default headers values

func (*PutProjectsProjectIDUnauthorized) Error

type PutRegistriesIDBadRequest

type PutRegistriesIDBadRequest struct {
}

PutRegistriesIDBadRequest handles this case with default header values.

The registry is associated with policy which is enabled.

func NewPutRegistriesIDBadRequest

func NewPutRegistriesIDBadRequest() *PutRegistriesIDBadRequest

NewPutRegistriesIDBadRequest creates a PutRegistriesIDBadRequest with default headers values

func (*PutRegistriesIDBadRequest) Error

func (o *PutRegistriesIDBadRequest) Error() string

type PutRegistriesIDConflict

type PutRegistriesIDConflict struct {
}

PutRegistriesIDConflict handles this case with default header values.

Registry name is already used.

func NewPutRegistriesIDConflict

func NewPutRegistriesIDConflict() *PutRegistriesIDConflict

NewPutRegistriesIDConflict creates a PutRegistriesIDConflict with default headers values

func (*PutRegistriesIDConflict) Error

func (o *PutRegistriesIDConflict) Error() string

type PutRegistriesIDInternalServerError

type PutRegistriesIDInternalServerError struct {
}

PutRegistriesIDInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewPutRegistriesIDInternalServerError

func NewPutRegistriesIDInternalServerError() *PutRegistriesIDInternalServerError

NewPutRegistriesIDInternalServerError creates a PutRegistriesIDInternalServerError with default headers values

func (*PutRegistriesIDInternalServerError) Error

type PutRegistriesIDNotFound

type PutRegistriesIDNotFound struct {
}

PutRegistriesIDNotFound handles this case with default header values.

Registry does not exist.

func NewPutRegistriesIDNotFound

func NewPutRegistriesIDNotFound() *PutRegistriesIDNotFound

NewPutRegistriesIDNotFound creates a PutRegistriesIDNotFound with default headers values

func (*PutRegistriesIDNotFound) Error

func (o *PutRegistriesIDNotFound) Error() string

type PutRegistriesIDOK

type PutRegistriesIDOK struct {
}

PutRegistriesIDOK handles this case with default header values.

Updated registry successfully.

func NewPutRegistriesIDOK

func NewPutRegistriesIDOK() *PutRegistriesIDOK

NewPutRegistriesIDOK creates a PutRegistriesIDOK with default headers values

func (*PutRegistriesIDOK) Error

func (o *PutRegistriesIDOK) Error() string

type PutRegistriesIDParams

type PutRegistriesIDParams struct {

	/*ID
	  The registry's ID.

	*/
	ID int64
	/*RepoTarget
	  Updates registry.

	*/
	RepoTarget *model.PutRegistry

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

PutRegistriesIDParams contains all the parameters to send to the API endpoint for the put registries ID operation typically these are written to a http.Request

func NewPutRegistriesIDParams

func NewPutRegistriesIDParams() *PutRegistriesIDParams

NewPutRegistriesIDParams creates a new PutRegistriesIDParams object with the default values initialized.

func NewPutRegistriesIDParamsWithContext

func NewPutRegistriesIDParamsWithContext(ctx context.Context) *PutRegistriesIDParams

NewPutRegistriesIDParamsWithContext creates a new PutRegistriesIDParams object with the default values initialized, and the ability to set a context for a request

func NewPutRegistriesIDParamsWithHTTPClient

func NewPutRegistriesIDParamsWithHTTPClient(client *http.Client) *PutRegistriesIDParams

NewPutRegistriesIDParamsWithHTTPClient creates a new PutRegistriesIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutRegistriesIDParamsWithTimeout

func NewPutRegistriesIDParamsWithTimeout(timeout time.Duration) *PutRegistriesIDParams

NewPutRegistriesIDParamsWithTimeout creates a new PutRegistriesIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutRegistriesIDParams) SetContext

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

SetContext adds the context to the put registries ID params

func (*PutRegistriesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put registries ID params

func (*PutRegistriesIDParams) SetID

func (o *PutRegistriesIDParams) SetID(id int64)

SetID adds the id to the put registries ID params

func (*PutRegistriesIDParams) SetRepoTarget

func (o *PutRegistriesIDParams) SetRepoTarget(repoTarget *model.PutRegistry)

SetRepoTarget adds the repoTarget to the put registries ID params

func (*PutRegistriesIDParams) SetTimeout

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

SetTimeout adds the timeout to the put registries ID params

func (*PutRegistriesIDParams) WithContext

WithContext adds the context to the put registries ID params

func (*PutRegistriesIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put registries ID params

func (*PutRegistriesIDParams) WithID

WithID adds the id to the put registries ID params

func (*PutRegistriesIDParams) WithRepoTarget

func (o *PutRegistriesIDParams) WithRepoTarget(repoTarget *model.PutRegistry) *PutRegistriesIDParams

WithRepoTarget adds the repoTarget to the put registries ID params

func (*PutRegistriesIDParams) WithTimeout

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

WithTimeout adds the timeout to the put registries ID params

func (*PutRegistriesIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutRegistriesIDReader

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

PutRegistriesIDReader is a Reader for the PutRegistriesID structure.

func (*PutRegistriesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutRegistriesIDUnauthorized

type PutRegistriesIDUnauthorized struct {
}

PutRegistriesIDUnauthorized handles this case with default header values.

User need to log in first.

func NewPutRegistriesIDUnauthorized

func NewPutRegistriesIDUnauthorized() *PutRegistriesIDUnauthorized

NewPutRegistriesIDUnauthorized creates a PutRegistriesIDUnauthorized with default headers values

func (*PutRegistriesIDUnauthorized) Error

type PutReplicationPoliciesIDBadRequest

type PutReplicationPoliciesIDBadRequest struct {
}

PutReplicationPoliciesIDBadRequest handles this case with default header values.

Bad Request

func NewPutReplicationPoliciesIDBadRequest

func NewPutReplicationPoliciesIDBadRequest() *PutReplicationPoliciesIDBadRequest

NewPutReplicationPoliciesIDBadRequest creates a PutReplicationPoliciesIDBadRequest with default headers values

func (*PutReplicationPoliciesIDBadRequest) Error

type PutReplicationPoliciesIDConflict

type PutReplicationPoliciesIDConflict struct {
}

PutReplicationPoliciesIDConflict handles this case with default header values.

Conflict

func NewPutReplicationPoliciesIDConflict

func NewPutReplicationPoliciesIDConflict() *PutReplicationPoliciesIDConflict

NewPutReplicationPoliciesIDConflict creates a PutReplicationPoliciesIDConflict with default headers values

func (*PutReplicationPoliciesIDConflict) Error

type PutReplicationPoliciesIDForbidden

type PutReplicationPoliciesIDForbidden struct {
}

PutReplicationPoliciesIDForbidden handles this case with default header values.

Forbidden

func NewPutReplicationPoliciesIDForbidden

func NewPutReplicationPoliciesIDForbidden() *PutReplicationPoliciesIDForbidden

NewPutReplicationPoliciesIDForbidden creates a PutReplicationPoliciesIDForbidden with default headers values

func (*PutReplicationPoliciesIDForbidden) Error

type PutReplicationPoliciesIDInternalServerError

type PutReplicationPoliciesIDInternalServerError struct {
}

PutReplicationPoliciesIDInternalServerError handles this case with default header values.

Internal Server Error

func NewPutReplicationPoliciesIDInternalServerError

func NewPutReplicationPoliciesIDInternalServerError() *PutReplicationPoliciesIDInternalServerError

NewPutReplicationPoliciesIDInternalServerError creates a PutReplicationPoliciesIDInternalServerError with default headers values

func (*PutReplicationPoliciesIDInternalServerError) Error

type PutReplicationPoliciesIDNotFound

type PutReplicationPoliciesIDNotFound struct {
}

PutReplicationPoliciesIDNotFound handles this case with default header values.

Not Found

func NewPutReplicationPoliciesIDNotFound

func NewPutReplicationPoliciesIDNotFound() *PutReplicationPoliciesIDNotFound

NewPutReplicationPoliciesIDNotFound creates a PutReplicationPoliciesIDNotFound with default headers values

func (*PutReplicationPoliciesIDNotFound) Error

type PutReplicationPoliciesIDOK

type PutReplicationPoliciesIDOK struct {
}

PutReplicationPoliciesIDOK handles this case with default header values.

Success

func NewPutReplicationPoliciesIDOK

func NewPutReplicationPoliciesIDOK() *PutReplicationPoliciesIDOK

NewPutReplicationPoliciesIDOK creates a PutReplicationPoliciesIDOK with default headers values

func (*PutReplicationPoliciesIDOK) Error

type PutReplicationPoliciesIDParams

type PutReplicationPoliciesIDParams struct {

	/*ID
	  policy ID

	*/
	ID int64
	/*Policy
	  The replication policy model.

	*/
	Policy *model.ReplicationPolicy

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

PutReplicationPoliciesIDParams contains all the parameters to send to the API endpoint for the put replication policies ID operation typically these are written to a http.Request

func NewPutReplicationPoliciesIDParams

func NewPutReplicationPoliciesIDParams() *PutReplicationPoliciesIDParams

NewPutReplicationPoliciesIDParams creates a new PutReplicationPoliciesIDParams object with the default values initialized.

func NewPutReplicationPoliciesIDParamsWithContext

func NewPutReplicationPoliciesIDParamsWithContext(ctx context.Context) *PutReplicationPoliciesIDParams

NewPutReplicationPoliciesIDParamsWithContext creates a new PutReplicationPoliciesIDParams object with the default values initialized, and the ability to set a context for a request

func NewPutReplicationPoliciesIDParamsWithHTTPClient

func NewPutReplicationPoliciesIDParamsWithHTTPClient(client *http.Client) *PutReplicationPoliciesIDParams

NewPutReplicationPoliciesIDParamsWithHTTPClient creates a new PutReplicationPoliciesIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutReplicationPoliciesIDParamsWithTimeout

func NewPutReplicationPoliciesIDParamsWithTimeout(timeout time.Duration) *PutReplicationPoliciesIDParams

NewPutReplicationPoliciesIDParamsWithTimeout creates a new PutReplicationPoliciesIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutReplicationPoliciesIDParams) SetContext

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

SetContext adds the context to the put replication policies ID params

func (*PutReplicationPoliciesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put replication policies ID params

func (*PutReplicationPoliciesIDParams) SetID

SetID adds the id to the put replication policies ID params

func (*PutReplicationPoliciesIDParams) SetPolicy

SetPolicy adds the policy to the put replication policies ID params

func (*PutReplicationPoliciesIDParams) SetTimeout

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

SetTimeout adds the timeout to the put replication policies ID params

func (*PutReplicationPoliciesIDParams) WithContext

WithContext adds the context to the put replication policies ID params

func (*PutReplicationPoliciesIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put replication policies ID params

func (*PutReplicationPoliciesIDParams) WithID

WithID adds the id to the put replication policies ID params

func (*PutReplicationPoliciesIDParams) WithPolicy

WithPolicy adds the policy to the put replication policies ID params

func (*PutReplicationPoliciesIDParams) WithTimeout

WithTimeout adds the timeout to the put replication policies ID params

func (*PutReplicationPoliciesIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutReplicationPoliciesIDReader

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

PutReplicationPoliciesIDReader is a Reader for the PutReplicationPoliciesID structure.

func (*PutReplicationPoliciesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutReplicationPoliciesIDUnauthorized

type PutReplicationPoliciesIDUnauthorized struct {
}

PutReplicationPoliciesIDUnauthorized handles this case with default header values.

Unauthorized

func NewPutReplicationPoliciesIDUnauthorized

func NewPutReplicationPoliciesIDUnauthorized() *PutReplicationPoliciesIDUnauthorized

NewPutReplicationPoliciesIDUnauthorized creates a PutReplicationPoliciesIDUnauthorized with default headers values

func (*PutReplicationPoliciesIDUnauthorized) Error

type PutSystemGcScheduleBadRequest

type PutSystemGcScheduleBadRequest struct {
}

PutSystemGcScheduleBadRequest handles this case with default header values.

Invalid schedule type.

func NewPutSystemGcScheduleBadRequest

func NewPutSystemGcScheduleBadRequest() *PutSystemGcScheduleBadRequest

NewPutSystemGcScheduleBadRequest creates a PutSystemGcScheduleBadRequest with default headers values

func (*PutSystemGcScheduleBadRequest) Error

type PutSystemGcScheduleForbidden

type PutSystemGcScheduleForbidden struct {
}

PutSystemGcScheduleForbidden handles this case with default header values.

User does not have permission of admin role.

func NewPutSystemGcScheduleForbidden

func NewPutSystemGcScheduleForbidden() *PutSystemGcScheduleForbidden

NewPutSystemGcScheduleForbidden creates a PutSystemGcScheduleForbidden with default headers values

func (*PutSystemGcScheduleForbidden) Error

type PutSystemGcScheduleInternalServerError

type PutSystemGcScheduleInternalServerError struct {
}

PutSystemGcScheduleInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewPutSystemGcScheduleInternalServerError

func NewPutSystemGcScheduleInternalServerError() *PutSystemGcScheduleInternalServerError

NewPutSystemGcScheduleInternalServerError creates a PutSystemGcScheduleInternalServerError with default headers values

func (*PutSystemGcScheduleInternalServerError) Error

type PutSystemGcScheduleOK

type PutSystemGcScheduleOK struct {
}

PutSystemGcScheduleOK handles this case with default header values.

Updated gc's schedule successfully.

func NewPutSystemGcScheduleOK

func NewPutSystemGcScheduleOK() *PutSystemGcScheduleOK

NewPutSystemGcScheduleOK creates a PutSystemGcScheduleOK with default headers values

func (*PutSystemGcScheduleOK) Error

func (o *PutSystemGcScheduleOK) Error() string

type PutSystemGcScheduleParams

type PutSystemGcScheduleParams struct {

	/*Schedule
	  Updates of gc's schedule.

	*/
	Schedule *model.AdminJobSchedule

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

PutSystemGcScheduleParams contains all the parameters to send to the API endpoint for the put system gc schedule operation typically these are written to a http.Request

func NewPutSystemGcScheduleParams

func NewPutSystemGcScheduleParams() *PutSystemGcScheduleParams

NewPutSystemGcScheduleParams creates a new PutSystemGcScheduleParams object with the default values initialized.

func NewPutSystemGcScheduleParamsWithContext

func NewPutSystemGcScheduleParamsWithContext(ctx context.Context) *PutSystemGcScheduleParams

NewPutSystemGcScheduleParamsWithContext creates a new PutSystemGcScheduleParams object with the default values initialized, and the ability to set a context for a request

func NewPutSystemGcScheduleParamsWithHTTPClient

func NewPutSystemGcScheduleParamsWithHTTPClient(client *http.Client) *PutSystemGcScheduleParams

NewPutSystemGcScheduleParamsWithHTTPClient creates a new PutSystemGcScheduleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutSystemGcScheduleParamsWithTimeout

func NewPutSystemGcScheduleParamsWithTimeout(timeout time.Duration) *PutSystemGcScheduleParams

NewPutSystemGcScheduleParamsWithTimeout creates a new PutSystemGcScheduleParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutSystemGcScheduleParams) SetContext

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

SetContext adds the context to the put system gc schedule params

func (*PutSystemGcScheduleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put system gc schedule params

func (*PutSystemGcScheduleParams) SetSchedule

func (o *PutSystemGcScheduleParams) SetSchedule(schedule *model.AdminJobSchedule)

SetSchedule adds the schedule to the put system gc schedule params

func (*PutSystemGcScheduleParams) SetTimeout

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

SetTimeout adds the timeout to the put system gc schedule params

func (*PutSystemGcScheduleParams) WithContext

WithContext adds the context to the put system gc schedule params

func (*PutSystemGcScheduleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put system gc schedule params

func (*PutSystemGcScheduleParams) WithSchedule

WithSchedule adds the schedule to the put system gc schedule params

func (*PutSystemGcScheduleParams) WithTimeout

WithTimeout adds the timeout to the put system gc schedule params

func (*PutSystemGcScheduleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutSystemGcScheduleReader

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

PutSystemGcScheduleReader is a Reader for the PutSystemGcSchedule structure.

func (*PutSystemGcScheduleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutSystemGcScheduleUnauthorized

type PutSystemGcScheduleUnauthorized struct {
}

PutSystemGcScheduleUnauthorized handles this case with default header values.

User need to log in first.

func NewPutSystemGcScheduleUnauthorized

func NewPutSystemGcScheduleUnauthorized() *PutSystemGcScheduleUnauthorized

NewPutSystemGcScheduleUnauthorized creates a PutSystemGcScheduleUnauthorized with default headers values

func (*PutSystemGcScheduleUnauthorized) Error

type PutUsersUserIDBadRequest

type PutUsersUserIDBadRequest struct {
}

PutUsersUserIDBadRequest handles this case with default header values.

Invalid user ID.

func NewPutUsersUserIDBadRequest

func NewPutUsersUserIDBadRequest() *PutUsersUserIDBadRequest

NewPutUsersUserIDBadRequest creates a PutUsersUserIDBadRequest with default headers values

func (*PutUsersUserIDBadRequest) Error

func (o *PutUsersUserIDBadRequest) Error() string

type PutUsersUserIDForbidden

type PutUsersUserIDForbidden struct {
}

PutUsersUserIDForbidden handles this case with default header values.

User does not have permission of admin role.

func NewPutUsersUserIDForbidden

func NewPutUsersUserIDForbidden() *PutUsersUserIDForbidden

NewPutUsersUserIDForbidden creates a PutUsersUserIDForbidden with default headers values

func (*PutUsersUserIDForbidden) Error

func (o *PutUsersUserIDForbidden) Error() string

type PutUsersUserIDInternalServerError

type PutUsersUserIDInternalServerError struct {
}

PutUsersUserIDInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewPutUsersUserIDInternalServerError

func NewPutUsersUserIDInternalServerError() *PutUsersUserIDInternalServerError

NewPutUsersUserIDInternalServerError creates a PutUsersUserIDInternalServerError with default headers values

func (*PutUsersUserIDInternalServerError) Error

type PutUsersUserIDNotFound

type PutUsersUserIDNotFound struct {
}

PutUsersUserIDNotFound handles this case with default header values.

User ID does not exist.

func NewPutUsersUserIDNotFound

func NewPutUsersUserIDNotFound() *PutUsersUserIDNotFound

NewPutUsersUserIDNotFound creates a PutUsersUserIDNotFound with default headers values

func (*PutUsersUserIDNotFound) Error

func (o *PutUsersUserIDNotFound) Error() string

type PutUsersUserIDOK

type PutUsersUserIDOK struct {
}

PutUsersUserIDOK handles this case with default header values.

Updated user's profile successfully.

func NewPutUsersUserIDOK

func NewPutUsersUserIDOK() *PutUsersUserIDOK

NewPutUsersUserIDOK creates a PutUsersUserIDOK with default headers values

func (*PutUsersUserIDOK) Error

func (o *PutUsersUserIDOK) Error() string

type PutUsersUserIDParams

type PutUsersUserIDParams struct {

	/*Profile
	  Only email, realname and comment can be modified.

	*/
	Profile *model.UserProfile
	/*UserID
	  Registered user ID

	*/
	UserID int64

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

PutUsersUserIDParams contains all the parameters to send to the API endpoint for the put users user ID operation typically these are written to a http.Request

func NewPutUsersUserIDParams

func NewPutUsersUserIDParams() *PutUsersUserIDParams

NewPutUsersUserIDParams creates a new PutUsersUserIDParams object with the default values initialized.

func NewPutUsersUserIDParamsWithContext

func NewPutUsersUserIDParamsWithContext(ctx context.Context) *PutUsersUserIDParams

NewPutUsersUserIDParamsWithContext creates a new PutUsersUserIDParams object with the default values initialized, and the ability to set a context for a request

func NewPutUsersUserIDParamsWithHTTPClient

func NewPutUsersUserIDParamsWithHTTPClient(client *http.Client) *PutUsersUserIDParams

NewPutUsersUserIDParamsWithHTTPClient creates a new PutUsersUserIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutUsersUserIDParamsWithTimeout

func NewPutUsersUserIDParamsWithTimeout(timeout time.Duration) *PutUsersUserIDParams

NewPutUsersUserIDParamsWithTimeout creates a new PutUsersUserIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutUsersUserIDParams) SetContext

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

SetContext adds the context to the put users user ID params

func (*PutUsersUserIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put users user ID params

func (*PutUsersUserIDParams) SetProfile

func (o *PutUsersUserIDParams) SetProfile(profile *model.UserProfile)

SetProfile adds the profile to the put users user ID params

func (*PutUsersUserIDParams) SetTimeout

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

SetTimeout adds the timeout to the put users user ID params

func (*PutUsersUserIDParams) SetUserID

func (o *PutUsersUserIDParams) SetUserID(userID int64)

SetUserID adds the userId to the put users user ID params

func (*PutUsersUserIDParams) WithContext

WithContext adds the context to the put users user ID params

func (*PutUsersUserIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put users user ID params

func (*PutUsersUserIDParams) WithProfile

func (o *PutUsersUserIDParams) WithProfile(profile *model.UserProfile) *PutUsersUserIDParams

WithProfile adds the profile to the put users user ID params

func (*PutUsersUserIDParams) WithTimeout

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

WithTimeout adds the timeout to the put users user ID params

func (*PutUsersUserIDParams) WithUserID

func (o *PutUsersUserIDParams) WithUserID(userID int64) *PutUsersUserIDParams

WithUserID adds the userID to the put users user ID params

func (*PutUsersUserIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutUsersUserIDPasswordBadRequest

type PutUsersUserIDPasswordBadRequest struct {
}

PutUsersUserIDPasswordBadRequest handles this case with default header values.

Invalid user ID; Old password is blank; New password is blank.

func NewPutUsersUserIDPasswordBadRequest

func NewPutUsersUserIDPasswordBadRequest() *PutUsersUserIDPasswordBadRequest

NewPutUsersUserIDPasswordBadRequest creates a PutUsersUserIDPasswordBadRequest with default headers values

func (*PutUsersUserIDPasswordBadRequest) Error

type PutUsersUserIDPasswordForbidden

type PutUsersUserIDPasswordForbidden struct {
}

PutUsersUserIDPasswordForbidden handles this case with default header values.

The caller does not have permission to update the password of the user with given ID, or the old password in request body is not correct.

func NewPutUsersUserIDPasswordForbidden

func NewPutUsersUserIDPasswordForbidden() *PutUsersUserIDPasswordForbidden

NewPutUsersUserIDPasswordForbidden creates a PutUsersUserIDPasswordForbidden with default headers values

func (*PutUsersUserIDPasswordForbidden) Error

type PutUsersUserIDPasswordInternalServerError

type PutUsersUserIDPasswordInternalServerError struct {
}

PutUsersUserIDPasswordInternalServerError handles this case with default header values.

Unexpected internal errors.

func NewPutUsersUserIDPasswordInternalServerError

func NewPutUsersUserIDPasswordInternalServerError() *PutUsersUserIDPasswordInternalServerError

NewPutUsersUserIDPasswordInternalServerError creates a PutUsersUserIDPasswordInternalServerError with default headers values

func (*PutUsersUserIDPasswordInternalServerError) Error

type PutUsersUserIDPasswordOK

type PutUsersUserIDPasswordOK struct {
}

PutUsersUserIDPasswordOK handles this case with default header values.

Updated password successfully.

func NewPutUsersUserIDPasswordOK

func NewPutUsersUserIDPasswordOK() *PutUsersUserIDPasswordOK

NewPutUsersUserIDPasswordOK creates a PutUsersUserIDPasswordOK with default headers values

func (*PutUsersUserIDPasswordOK) Error

func (o *PutUsersUserIDPasswordOK) Error() string

type PutUsersUserIDPasswordParams

type PutUsersUserIDPasswordParams struct {

	/*Password
	  Password to be updated, the attribute 'old_password' is optional when the API is called by the system administrator.

	*/
	Password *model.Password
	/*UserID
	  Registered user ID.

	*/
	UserID int64

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

PutUsersUserIDPasswordParams contains all the parameters to send to the API endpoint for the put users user ID password operation typically these are written to a http.Request

func NewPutUsersUserIDPasswordParams

func NewPutUsersUserIDPasswordParams() *PutUsersUserIDPasswordParams

NewPutUsersUserIDPasswordParams creates a new PutUsersUserIDPasswordParams object with the default values initialized.

func NewPutUsersUserIDPasswordParamsWithContext

func NewPutUsersUserIDPasswordParamsWithContext(ctx context.Context) *PutUsersUserIDPasswordParams

NewPutUsersUserIDPasswordParamsWithContext creates a new PutUsersUserIDPasswordParams object with the default values initialized, and the ability to set a context for a request

func NewPutUsersUserIDPasswordParamsWithHTTPClient

func NewPutUsersUserIDPasswordParamsWithHTTPClient(client *http.Client) *PutUsersUserIDPasswordParams

NewPutUsersUserIDPasswordParamsWithHTTPClient creates a new PutUsersUserIDPasswordParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutUsersUserIDPasswordParamsWithTimeout

func NewPutUsersUserIDPasswordParamsWithTimeout(timeout time.Duration) *PutUsersUserIDPasswordParams

NewPutUsersUserIDPasswordParamsWithTimeout creates a new PutUsersUserIDPasswordParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutUsersUserIDPasswordParams) SetContext

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

SetContext adds the context to the put users user ID password params

func (*PutUsersUserIDPasswordParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put users user ID password params

func (*PutUsersUserIDPasswordParams) SetPassword

func (o *PutUsersUserIDPasswordParams) SetPassword(password *model.Password)

SetPassword adds the password to the put users user ID password params

func (*PutUsersUserIDPasswordParams) SetTimeout

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

SetTimeout adds the timeout to the put users user ID password params

func (*PutUsersUserIDPasswordParams) SetUserID

func (o *PutUsersUserIDPasswordParams) SetUserID(userID int64)

SetUserID adds the userId to the put users user ID password params

func (*PutUsersUserIDPasswordParams) WithContext

WithContext adds the context to the put users user ID password params

func (*PutUsersUserIDPasswordParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put users user ID password params

func (*PutUsersUserIDPasswordParams) WithPassword

WithPassword adds the password to the put users user ID password params

func (*PutUsersUserIDPasswordParams) WithTimeout

WithTimeout adds the timeout to the put users user ID password params

func (*PutUsersUserIDPasswordParams) WithUserID

WithUserID adds the userID to the put users user ID password params

func (*PutUsersUserIDPasswordParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutUsersUserIDPasswordReader

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

PutUsersUserIDPasswordReader is a Reader for the PutUsersUserIDPassword structure.

func (*PutUsersUserIDPasswordReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutUsersUserIDPasswordUnauthorized

type PutUsersUserIDPasswordUnauthorized struct {
}

PutUsersUserIDPasswordUnauthorized handles this case with default header values.

Don't have authority to change password. Please check login status.

func NewPutUsersUserIDPasswordUnauthorized

func NewPutUsersUserIDPasswordUnauthorized() *PutUsersUserIDPasswordUnauthorized

NewPutUsersUserIDPasswordUnauthorized creates a PutUsersUserIDPasswordUnauthorized with default headers values

func (*PutUsersUserIDPasswordUnauthorized) Error

type PutUsersUserIDReader

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

PutUsersUserIDReader is a Reader for the PutUsersUserID structure.

func (*PutUsersUserIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutUsersUserIDUnauthorized

type PutUsersUserIDUnauthorized struct {
}

PutUsersUserIDUnauthorized handles this case with default header values.

User need to log in first.

func NewPutUsersUserIDUnauthorized

func NewPutUsersUserIDUnauthorized() *PutUsersUserIDUnauthorized

NewPutUsersUserIDUnauthorized creates a PutUsersUserIDUnauthorized with default headers values

func (*PutUsersUserIDUnauthorized) Error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL