products

package
v3.2.1-0...-8e0474f Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 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) DeleteChartrepoRepoChartsNameVersionLabelsID ¶

DeleteChartrepoRepoChartsNameVersionLabelsID removes label from chart

Remove label from the specified chart version.

func (*Client) DeleteLabelsID ¶

func (a *Client) DeleteLabelsID(params *DeleteLabelsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteLabelsIDOK, error)

DeleteLabelsID deletes the label specified by ID

Delete the label specified by ID.

func (*Client) DeleteProjectsProjectIDImmutabletagrulesID ¶

DeleteProjectsProjectIDImmutabletagrulesID deletes the immutable tag rule

func (*Client) DeleteProjectsProjectIDMembersMid ¶

func (a *Client) DeleteProjectsProjectIDMembersMid(params *DeleteProjectsProjectIDMembersMidParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectsProjectIDMembersMidOK, error)

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) DeleteProjectsProjectIDRobotsRobotID ¶

func (a *Client) DeleteProjectsProjectIDRobotsRobotID(params *DeleteProjectsProjectIDRobotsRobotIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectsProjectIDRobotsRobotIDOK, error)

DeleteProjectsProjectIDRobotsRobotID deletes the specified robot account

Delete the specified robot account

func (*Client) DeleteProjectsProjectIDWebhookPoliciesPolicyID ¶

DeleteProjectsProjectIDWebhookPoliciesPolicyID deletes webhook policy of a project

This endpoint is aimed to delete webhookpolicy of a project.

func (*Client) DeleteRegistriesID ¶

func (a *Client) DeleteRegistriesID(params *DeleteRegistriesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, opts ...ClientOption) (*DeleteReplicationPoliciesIDOK, error)

DeleteReplicationPoliciesID deletes the replication policy specified by ID

Delete the replication policy specified by ID.

func (*Client) DeleteUsergroupsGroupID ¶

func (a *Client) DeleteUsergroupsGroupID(params *DeleteUsergroupsGroupIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUsergroupsGroupIDOK, error)

DeleteUsergroupsGroupID deletes user group

Delete user group

func (*Client) DeleteUsersUserID ¶

func (a *Client) DeleteUsersUserID(params *DeleteUsersUserIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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) GetChartrepoRepoChartsNameVersionLabels ¶

GetChartrepoRepoChartsNameVersionLabels returns the attahced labels of chart

Return the attahced labels of the specified chart version.

func (*Client) GetConfigurations ¶

func (a *Client) GetConfigurations(params *GetConfigurationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConfigurationsOK, error)

GetConfigurations gets system configurations

This endpoint is for retrieving system configurations that only provides for admin user.

func (*Client) GetHealth ¶

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

GetHealth healths check API

The endpoint returns the health stauts of the system.

func (*Client) GetLabels ¶

func (a *Client) GetLabels(params *GetLabelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLabelsOK, error)

GetLabels lists labels according to the query strings

This endpoint let user list labels by name, scope and project_id

func (*Client) GetLabelsID ¶

func (a *Client) GetLabelsID(params *GetLabelsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLabelsIDOK, error)

GetLabelsID gets the label specified by ID

This endpoint let user get the label by specific ID.

func (*Client) GetLdapGroupsSearch ¶

func (a *Client) GetLdapGroupsSearch(params *GetLdapGroupsSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLdapGroupsSearchOK, error)

GetLdapGroupsSearch searches available ldap groups

This endpoint searches the available ldap groups based on related configuration parameters. support to search by groupname or groupdn.

func (*Client) GetLdapUsersSearch ¶

func (a *Client) GetLdapUsersSearch(params *GetLdapUsersSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLdapUsersSearchOK, error)

GetLdapUsersSearch searches available ldap users

This endpoint searches the available ldap users based on related configuration parameters. Support searched by input ladp configuration, load configuration from the system and specific filter.

func (*Client) GetProjectsProjectIDImmutabletagrules ¶

func (a *Client) GetProjectsProjectIDImmutabletagrules(params *GetProjectsProjectIDImmutabletagrulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDImmutabletagrulesOK, error)

GetProjectsProjectIDImmutabletagrules lists all immutable tag rules of current project

This endpoint returns the immutable tag rules of a project

func (*Client) GetProjectsProjectIDMembers ¶

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

GetProjectsProjectIDMembers gets all project member information

Get all project member information

func (*Client) GetProjectsProjectIDMembersMid ¶

func (a *Client) GetProjectsProjectIDMembersMid(params *GetProjectsProjectIDMembersMidParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDMembersMidOK, error)

GetProjectsProjectIDMembersMid gets the project member information

Get the project member information

func (*Client) GetProjectsProjectIDMetadatas ¶

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

GetProjectsProjectIDMetadatas gets project metadata

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

func (*Client) GetProjectsProjectIDMetadatasMetaName ¶

func (a *Client) GetProjectsProjectIDMetadatasMetaName(params *GetProjectsProjectIDMetadatasMetaNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDMetadatasMetaNameOK, error)

GetProjectsProjectIDMetadatasMetaName gets project metadata

This endpoint returns specified metadata of a project.

func (*Client) GetProjectsProjectIDRobots ¶

func (a *Client) GetProjectsProjectIDRobots(params *GetProjectsProjectIDRobotsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDRobotsOK, error)

GetProjectsProjectIDRobots gets all robot accounts of specified project

Get all robot accounts of specified project

func (*Client) GetProjectsProjectIDRobotsRobotID ¶

func (a *Client) GetProjectsProjectIDRobotsRobotID(params *GetProjectsProjectIDRobotsRobotIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDRobotsRobotIDOK, error)

GetProjectsProjectIDRobotsRobotID returns the infor of the specified robot account

Return the infor of the specified robot account.

func (*Client) GetProjectsProjectIDScanner ¶

func (a *Client) GetProjectsProjectIDScanner(params *GetProjectsProjectIDScannerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDScannerOK, error)

GetProjectsProjectIDScanner gets project level scanner

Get the scanner registration of the specified project. If no scanner registration is configured for the specified project, the system default scanner registration will be returned.

func (*Client) GetProjectsProjectIDScannerCandidates ¶

func (a *Client) GetProjectsProjectIDScannerCandidates(params *GetProjectsProjectIDScannerCandidatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDScannerCandidatesOK, error)

GetProjectsProjectIDScannerCandidates gets scanner registration candidates for configurating project level scanner

Retrieve the system configured scanner registrations as candidates of setting project level scanner.

func (*Client) GetProjectsProjectIDWebhookEvents ¶

func (a *Client) GetProjectsProjectIDWebhookEvents(params *GetProjectsProjectIDWebhookEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDWebhookEventsOK, error)

GetProjectsProjectIDWebhookEvents gets supported event types and notify types

Get supportted event types and notify types.

func (*Client) GetProjectsProjectIDWebhookJobs ¶

func (a *Client) GetProjectsProjectIDWebhookJobs(params *GetProjectsProjectIDWebhookJobsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDWebhookJobsOK, error)

GetProjectsProjectIDWebhookJobs lists project webhook jobs

This endpoint returns webhook jobs of a project.

func (*Client) GetProjectsProjectIDWebhookLasttrigger ¶

GetProjectsProjectIDWebhookLasttrigger gets project webhook policy last trigger info

This endpoint returns last trigger information of project webhook policy.

func (*Client) GetProjectsProjectIDWebhookPolicies ¶

func (a *Client) GetProjectsProjectIDWebhookPolicies(params *GetProjectsProjectIDWebhookPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDWebhookPoliciesOK, error)

GetProjectsProjectIDWebhookPolicies lists project webhook policies

This endpoint returns webhook policies of a project.

func (*Client) GetProjectsProjectIDWebhookPoliciesPolicyID ¶

GetProjectsProjectIDWebhookPoliciesPolicyID gets project webhook policy

This endpoint returns specified webhook policy of a project.

func (*Client) GetQuotas ¶

func (a *Client) GetQuotas(params *GetQuotasParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetQuotasOK, error)

GetQuotas lists quotas

List quotas

func (*Client) GetQuotasID ¶

func (a *Client) GetQuotasID(params *GetQuotasIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetQuotasIDOK, error)

GetQuotasID gets the specified quota

Get the specified quota

func (*Client) GetRegistries ¶

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

GetRegistries lists registries

List registries according to the query.

func (*Client) GetRegistriesID ¶

func (a *Client) GetRegistriesID(params *GetRegistriesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRegistriesIDOK, error)

GetRegistriesID gets registry

This endpoint is for get specific registry.

func (*Client) GetRegistriesIDInfo ¶

func (a *Client) GetRegistriesIDInfo(params *GetRegistriesIDInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRegistriesIDInfoOK, error)

GetRegistriesIDInfo gets registry info

Get the info of one specific registry.

func (*Client) GetRegistriesIDNamespace ¶

func (a *Client) GetRegistriesIDNamespace(params *GetRegistriesIDNamespaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRegistriesIDNamespaceOK, error)

GetRegistriesIDNamespace lists namespaces of registry

This endpoint let user list namespaces of registry according to query.

func (*Client) GetReplicationAdapters ¶

func (a *Client) GetReplicationAdapters(params *GetReplicationAdaptersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReplicationAdaptersOK, error)

GetReplicationAdapters lists supported adapters

This endpoint let user list supported adapters.

func (*Client) GetReplicationExecutions ¶

func (a *Client) GetReplicationExecutions(params *GetReplicationExecutionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, opts ...ClientOption) (*GetReplicationExecutionsIDOK, error)

GetReplicationExecutionsID gets the execution of the replication

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

func (*Client) GetReplicationExecutionsIDTasks ¶

func (a *Client) GetReplicationExecutionsIDTasks(params *GetReplicationExecutionsIDTasksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReplicationExecutionsIDTasksOK, error)

GetReplicationExecutionsIDTasks gets the task list of one execution

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

func (*Client) GetReplicationExecutionsIDTasksTaskIDLog ¶

GetReplicationExecutionsIDTasksTaskIDLog gets the log of one task

This endpoint is for user to get the log of one task.

func (*Client) GetReplicationPolicies ¶

func (a *Client) GetReplicationPolicies(params *GetReplicationPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*GetRetentionsIDOK, error)

GetRetentionsID gets retention policy

Get Retention Policy.

func (*Client) GetRetentionsIDExecutions ¶

func (a *Client) GetRetentionsIDExecutions(params *GetRetentionsIDExecutionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRetentionsIDExecutionsOK, error)

GetRetentionsIDExecutions gets a retention job

Get a Retention job, job status may be delayed before job service schedule it up.

func (*Client) GetRetentionsIDExecutionsEidTasks ¶

func (a *Client) GetRetentionsIDExecutionsEidTasks(params *GetRetentionsIDExecutionsEidTasksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRetentionsIDExecutionsEidTasksOK, error)

GetRetentionsIDExecutionsEidTasks gets retention job tasks

Get Retention job tasks, each repository as a task.

func (*Client) GetRetentionsIDExecutionsEidTasksTid ¶

func (a *Client) GetRetentionsIDExecutionsEidTasksTid(params *GetRetentionsIDExecutionsEidTasksTidParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRetentionsIDExecutionsEidTasksTidOK, error)

GetRetentionsIDExecutionsEidTasksTid gets retention job task log

Get Retention job task log, tags ratain or deletion detail will be shown in a table.

func (*Client) GetRetentionsMetadatas ¶

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

GetRetentionsMetadatas gets retention metadatas

Get Retention Metadatas.

func (*Client) GetScanners ¶

func (a *Client) GetScanners(params *GetScannersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScannersOK, error)

GetScanners lists scanner registrations

Returns a list of currently configured scanner registrations.

func (*Client) GetScannersRegistrationID ¶

func (a *Client) GetScannersRegistrationID(params *GetScannersRegistrationIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScannersRegistrationIDOK, error)

GetScannersRegistrationID gets a scanner registration details

Retruns the details of the specified scanner registration.

func (*Client) GetScannersRegistrationIDMetadata ¶

func (a *Client) GetScannersRegistrationIDMetadata(params *GetScannersRegistrationIDMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScannersRegistrationIDMetadataOK, error)

GetScannersRegistrationIDMetadata gets the metadata of the specified scanner registration

Get the metadata of the specified scanner registration, including the capabilities and customzied properties.

func (*Client) GetScansAllMetrics ¶

func (a *Client) GetScansAllMetrics(params *GetScansAllMetricsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScansAllMetricsOK, error)

GetScansAllMetrics gets the metrics of the latest scan all process

Get the metrics of the latest scan all process

func (*Client) GetScansScheduleMetrics ¶

func (a *Client) GetScansScheduleMetrics(params *GetScansScheduleMetricsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScansScheduleMetricsOK, error)

GetScansScheduleMetrics gets the metrics of the latest scheduled scan all process

Get the metrics of the latest scheduled scan all process

func (*Client) GetSearch ¶

func (a *Client) GetSearch(params *GetSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSearchOK, error)

GetSearch searches for projects repositories and helm charts

The Search endpoint returns information about the projects ,repositories and helm charts offered at public status or related to the current logged in user. The response includes the project, repository list and charts in a proper display order.

func (*Client) GetStatistics ¶

func (a *Client) GetStatistics(params *GetStatisticsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStatisticsOK, error)

GetStatistics gets projects number and repositories number relevant to the user

This endpoint is aimed to statistic all of the projects number and repositories number relevant to the logined user, also the public projects number and repositories number. If the user is admin, he can also get total projects number and total repositories number.

func (*Client) GetSystemCVEAllowlist ¶

func (a *Client) GetSystemCVEAllowlist(params *GetSystemCVEAllowlistParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSystemCVEAllowlistOK, error)

GetSystemCVEAllowlist gets the system level allowlist of c v e

Get the system level allowlist of CVE. This API can be called by all authenticated users.

func (*Client) GetSystemGc ¶

func (a *Client) GetSystemGc(params *GetSystemGcParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSystemGcOK, error)

GetSystemGc gets gc results

This endpoint let user get latest ten gc results.

func (*Client) GetSystemGcID ¶

func (a *Client) GetSystemGcID(params *GetSystemGcIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSystemGcIDOK, error)

GetSystemGcID gets gc status

This endpoint let user get gc status filtered by specific ID.

func (*Client) GetSystemGcIDLog ¶

func (a *Client) GetSystemGcIDLog(params *GetSystemGcIDLogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSystemGcIDLogOK, error)

GetSystemGcIDLog gets gc job log

This endpoint let user get gc job logs filtered by specific ID.

func (*Client) GetSystemGcSchedule ¶

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

GetSystemGcSchedule gets gc s schedule

This endpoint is for get schedule of gc job.

func (*Client) GetSystemScanAllSchedule ¶

func (a *Client) GetSystemScanAllSchedule(params *GetSystemScanAllScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSystemScanAllScheduleOK, error)

GetSystemScanAllSchedule gets scan all s schedule

This endpoint is for getting a schedule for the scan all job, which scans all of images in Harbor.

func (*Client) GetSysteminfo ¶

func (a *Client) GetSysteminfo(params *GetSysteminfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSysteminfoOK, error)

GetSysteminfo gets general system info

This API is for retrieving general system info, this can be called by anonymous request.

func (*Client) GetSysteminfoGetcert ¶

func (a *Client) GetSysteminfoGetcert(params *GetSysteminfoGetcertParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSysteminfoGetcertOK, error)

GetSysteminfoGetcert gets default root certificate

This endpoint is for downloading a default root certificate.

func (*Client) GetSysteminfoVolumes ¶

func (a *Client) GetSysteminfoVolumes(params *GetSysteminfoVolumesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSysteminfoVolumesOK, error)

GetSysteminfoVolumes gets system volume info total free size

This endpoint is for retrieving system volume info that only provides for admin user.

func (*Client) GetUsergroups ¶

func (a *Client) GetUsergroups(params *GetUsergroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsergroupsOK, error)

GetUsergroups gets all user groups information

Get all user groups information

func (*Client) GetUsergroupsGroupID ¶

func (a *Client) GetUsergroupsGroupID(params *GetUsergroupsGroupIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsergroupsGroupIDOK, error)

GetUsergroupsGroupID gets user group information

Get user group information

func (*Client) GetUsers ¶

func (a *Client) GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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) GetUsersCurrent ¶

func (a *Client) GetUsersCurrent(params *GetUsersCurrentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersCurrentOK, error)

GetUsersCurrent gets current user info

This endpoint is to get the current user information.

func (*Client) GetUsersCurrentPermissions ¶

func (a *Client) GetUsersCurrentPermissions(params *GetUsersCurrentPermissionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersCurrentPermissionsOK, error)

GetUsersCurrentPermissions gets current user permissions

This endpoint is to get the current user permissions.

func (*Client) GetUsersSearch ¶

func (a *Client) GetUsersSearch(params *GetUsersSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersSearchOK, error)

GetUsersSearch searches users by username

This endpoint is to search the users by username.

func (*Client) GetUsersUserID ¶

func (a *Client) GetUsersUserID(params *GetUsersUserIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersUserIDOK, error)

GetUsersUserID gets a user s profile

Get user's profile with user id.

func (*Client) PatchRetentionsIDExecutionsEid ¶

func (a *Client) PatchRetentionsIDExecutionsEid(params *PatchRetentionsIDExecutionsEidParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchRetentionsIDExecutionsEidOK, error)

PatchRetentionsIDExecutionsEid stops a retention job

Stop a Retention job, only support "stop" action now.

func (*Client) PostChartrepoRepoChartsNameVersionLabels ¶

PostChartrepoRepoChartsNameVersionLabels marks label to chart

Mark label to the specified chart version.

func (*Client) PostEmailPing ¶

func (a *Client) PostEmailPing(params *PostEmailPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostEmailPingOK, error)

PostEmailPing tests connection and authentication with email server

Test connection and authentication with email server.

func (*Client) PostLabels ¶

func (a *Client) PostLabels(params *PostLabelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostLabelsCreated, error)

PostLabels posts creates a label

This endpoint let user creates a label.

func (*Client) PostLdapPing ¶

func (a *Client) PostLdapPing(params *PostLdapPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostLdapPingOK, error)

PostLdapPing pings available ldap service

This endpoint ping the available ldap service for test related configuration parameters.

func (*Client) PostLdapUsersImport ¶

func (a *Client) PostLdapUsersImport(params *PostLdapUsersImportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostLdapUsersImportOK, error)
PostLdapUsersImport imports selected available ldap users

This endpoint adds the selected available ldap users to harbor based on related configuration parameters from the system. System will try to guess the user email address and realname, add to harbor user information.

If have errors when import user, will return the list of importing failed uid and the failed reason.

func (*Client) PostProjectsProjectIDImmutabletagrules ¶

PostProjectsProjectIDImmutabletagrules adds an immutable tag rule to current project

This endpoint add an immutable tag rule to the 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, opts ...ClientOption) (*PostProjectsProjectIDMetadatasOK, error)

PostProjectsProjectIDMetadatas adds metadata for the project

This endpoint is aimed to add metadata of a project.

func (*Client) PostProjectsProjectIDRobots ¶

func (a *Client) PostProjectsProjectIDRobots(params *PostProjectsProjectIDRobotsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostProjectsProjectIDRobotsCreated, error)

PostProjectsProjectIDRobots creates a robot account for project

Create a robot account for project

func (*Client) PostProjectsProjectIDWebhookPolicies ¶

PostProjectsProjectIDWebhookPolicies creates project webhook policy

This endpoint create a webhook policy if the project does not have one.

func (*Client) PostProjectsProjectIDWebhookPoliciesTest ¶

PostProjectsProjectIDWebhookPoliciesTest tests project webhook connection

This endpoint tests webhook connection of a project.

func (*Client) PostRegistries ¶

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

PostRegistries creates a new registry

This endpoint is for user to create a new registry.

func (*Client) PostRegistriesPing ¶

func (a *Client) PostRegistriesPing(params *PostRegistriesPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostRegistriesPingOK, error)

PostRegistriesPing pings status of a registry

This endpoint checks status of a registry, the registry can be given by ID or URL (together with credential)

func (*Client) PostReplicationExecutions ¶

func (a *Client) PostReplicationExecutions(params *PostReplicationExecutionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostReplicationExecutionsCreated, error)

PostReplicationExecutions starts one execution of the replication

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

func (*Client) PostReplicationPolicies ¶

func (a *Client) PostReplicationPolicies(params *PostReplicationPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostReplicationPoliciesCreated, error)

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, opts ...ClientOption) (*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) PostRetentionsIDExecutions ¶

func (a *Client) PostRetentionsIDExecutions(params *PostRetentionsIDExecutionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostRetentionsIDExecutionsOK, error)

PostRetentionsIDExecutions triggers a retention job

Trigger a Retention job, if dry_run is True, nothing would be deleted actually.

func (*Client) PostScannersPing ¶

func (a *Client) PostScannersPing(params *PostScannersPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostScannersPingOK, error)

PostScannersPing tests scanner registration settings

Pings scanner adapter to test endpoint URL and authorization settings.

func (*Client) PostSystemGcSchedule ¶

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

PostSystemGcSchedule creates a gc schedule

This endpoint is for update gc schedule.

func (*Client) PostSystemOidcPing ¶

func (a *Client) PostSystemOidcPing(params *PostSystemOidcPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostSystemOidcPingOK, error)

PostSystemOidcPing tests the o ID c endpoint

Test the OIDC endpoint, the setting of the endpoint is provided in the request. This API can only be called by system admin.

func (*Client) PostSystemScanAllSchedule ¶

func (a *Client) PostSystemScanAllSchedule(params *PostSystemScanAllScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostSystemScanAllScheduleOK, error)

PostSystemScanAllSchedule creates a schedule or a manual trigger for the scan all job

This endpoint is for creating a schedule or a manual trigger for the scan all job, which scans all of images in Harbor.

func (*Client) PostUsergroups ¶

func (a *Client) PostUsergroups(params *PostUsergroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostUsergroupsCreated, error)

PostUsergroups creates user group

Create user group information

func (*Client) PostUsers ¶

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

PostUsers creates a new user account

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

func (*Client) PutConfigurations ¶

func (a *Client) PutConfigurations(params *PutConfigurationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutConfigurationsOK, error)

PutConfigurations modifies system configurations

This endpoint is for modifying system configurations that only provides for admin user.

func (*Client) PutLabelsID ¶

func (a *Client) PutLabelsID(params *PutLabelsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutLabelsIDOK, error)

PutLabelsID updates the label properties

This endpoint let user update label properties.

func (*Client) PutProjectsProjectIDImmutabletagrulesID ¶

PutProjectsProjectIDImmutabletagrulesID updates the immutable tag rule or enable or disable the rule

func (*Client) PutProjectsProjectIDMembersMid ¶

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

PutProjectsProjectIDMembersMid updates project member

Update project member relationship

func (*Client) PutProjectsProjectIDMetadatasMetaName ¶

func (a *Client) PutProjectsProjectIDMetadatasMetaName(params *PutProjectsProjectIDMetadatasMetaNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutProjectsProjectIDMetadatasMetaNameOK, error)

PutProjectsProjectIDMetadatasMetaName updates metadata of a project

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

func (*Client) PutProjectsProjectIDRobotsRobotID ¶

func (a *Client) PutProjectsProjectIDRobotsRobotID(params *PutProjectsProjectIDRobotsRobotIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutProjectsProjectIDRobotsRobotIDOK, error)

PutProjectsProjectIDRobotsRobotID updates status of robot account

Used to disable/enable a specified robot account.

func (*Client) PutProjectsProjectIDWebhookPoliciesPolicyID ¶

PutProjectsProjectIDWebhookPoliciesPolicyID updates webhook policy of a project

This endpoint is aimed to update the webhook policy of a project.

func (*Client) PutQuotasID ¶

func (a *Client) PutQuotasID(params *PutQuotasIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutQuotasIDOK, error)

PutQuotasID updates the specified quota

Update hard limits of the specified quota

func (*Client) PutRegistriesID ¶

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

PutRegistriesID updates a given registry

This endpoint is for update a given registry.

func (*Client) PutReplicationExecutionsID ¶

func (a *Client) PutReplicationExecutionsID(params *PutReplicationExecutionsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutReplicationExecutionsIDOK, error)

PutReplicationExecutionsID stops the execution of the replication

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

func (*Client) PutReplicationPoliciesID ¶

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

PutReplicationPoliciesID updates the replication policy

This endpoint let user update policy.

func (*Client) PutRetentionsID ¶

func (a *Client) PutRetentionsID(params *PutRetentionsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutRetentionsIDOK, error)
PutRetentionsID updates retention policy

Update 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 retention policy has already binded to project.

func (*Client) PutSystemCVEAllowlist ¶

func (a *Client) PutSystemCVEAllowlist(params *PutSystemCVEAllowlistParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutSystemCVEAllowlistOK, error)

PutSystemCVEAllowlist updates the system level allowlist of c v e

This API overwrites the system level allowlist of CVE with the list in request body. Only system Admin has permission to call this API.

func (*Client) PutSystemGcSchedule ¶

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

PutSystemGcSchedule updates gc s schedule

This endpoint is for update gc schedule.

func (*Client) PutSystemScanAllSchedule ¶

func (a *Client) PutSystemScanAllSchedule(params *PutSystemScanAllScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutSystemScanAllScheduleOK, error)

PutSystemScanAllSchedule updates scan all s schedule

This endpoint is for updating the schedule of scan all job, which scans all of images in Harbor.

func (*Client) PutUsergroupsGroupID ¶

func (a *Client) PutUsergroupsGroupID(params *PutUsergroupsGroupIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutUsergroupsGroupIDOK, error)

PutUsergroupsGroupID updates group information

Update user group information

func (*Client) PutUsersUserID ¶

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

PutUsersUserID updates a registered user to change his profile

This endpoint let a registered user change his profile.

func (*Client) PutUsersUserIDCliSecret ¶

func (a *Client) PutUsersUserIDCliSecret(params *PutUsersUserIDCliSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutUsersUserIDCliSecretOK, error)
PutUsersUserIDCliSecret sets c l i secret for a user

This endpoint let user generate a new CLI secret for himself.  This API only works when auth mode is set to 'OIDC'.

Once this API returns with successful status, the old secret will be invalid, as there will be only one CLI secret for a user.

func (*Client) PutUsersUserIDPassword ¶

func (a *Client) PutUsersUserIDPassword(params *PutUsersUserIDPasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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) PutUsersUserIDSysadmin ¶

func (a *Client) PutUsersUserIDSysadmin(params *PutUsersUserIDSysadminParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutUsersUserIDSysadminOK, error)
PutUsersUserIDSysadmin updates a registered user to change to be an administrator of harbor

This endpoint let a registered user change to be an administrator

of Harbor.

func (*Client) SetTransport ¶

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

SetTransport changes the transport on the client

type ClientOption ¶

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService ¶

type ClientService interface {
	DeleteChartrepoRepoChartsNameVersionLabelsID(params *DeleteChartrepoRepoChartsNameVersionLabelsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteChartrepoRepoChartsNameVersionLabelsIDOK, error)

	DeleteLabelsID(params *DeleteLabelsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteLabelsIDOK, error)

	DeleteProjectsProjectIDImmutabletagrulesID(params *DeleteProjectsProjectIDImmutabletagrulesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectsProjectIDImmutabletagrulesIDOK, error)

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

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

	DeleteProjectsProjectIDRobotsRobotID(params *DeleteProjectsProjectIDRobotsRobotIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectsProjectIDRobotsRobotIDOK, error)

	DeleteProjectsProjectIDWebhookPoliciesPolicyID(params *DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDOK, error)

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

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

	DeleteUsergroupsGroupID(params *DeleteUsergroupsGroupIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUsergroupsGroupIDOK, error)

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

	GetChartrepoRepoChartsNameVersionLabels(params *GetChartrepoRepoChartsNameVersionLabelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetChartrepoRepoChartsNameVersionLabelsOK, error)

	GetConfigurations(params *GetConfigurationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConfigurationsOK, error)

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

	GetLabels(params *GetLabelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLabelsOK, error)

	GetLabelsID(params *GetLabelsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLabelsIDOK, error)

	GetLdapGroupsSearch(params *GetLdapGroupsSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLdapGroupsSearchOK, error)

	GetLdapUsersSearch(params *GetLdapUsersSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLdapUsersSearchOK, error)

	GetProjectsProjectIDImmutabletagrules(params *GetProjectsProjectIDImmutabletagrulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDImmutabletagrulesOK, error)

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

	GetProjectsProjectIDMembersMid(params *GetProjectsProjectIDMembersMidParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDMembersMidOK, error)

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

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

	GetProjectsProjectIDRobots(params *GetProjectsProjectIDRobotsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDRobotsOK, error)

	GetProjectsProjectIDRobotsRobotID(params *GetProjectsProjectIDRobotsRobotIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDRobotsRobotIDOK, error)

	GetProjectsProjectIDScanner(params *GetProjectsProjectIDScannerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDScannerOK, error)

	GetProjectsProjectIDScannerCandidates(params *GetProjectsProjectIDScannerCandidatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDScannerCandidatesOK, error)

	GetProjectsProjectIDWebhookEvents(params *GetProjectsProjectIDWebhookEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDWebhookEventsOK, error)

	GetProjectsProjectIDWebhookJobs(params *GetProjectsProjectIDWebhookJobsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDWebhookJobsOK, error)

	GetProjectsProjectIDWebhookLasttrigger(params *GetProjectsProjectIDWebhookLasttriggerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDWebhookLasttriggerOK, error)

	GetProjectsProjectIDWebhookPolicies(params *GetProjectsProjectIDWebhookPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDWebhookPoliciesOK, error)

	GetProjectsProjectIDWebhookPoliciesPolicyID(params *GetProjectsProjectIDWebhookPoliciesPolicyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsProjectIDWebhookPoliciesPolicyIDOK, error)

	GetQuotas(params *GetQuotasParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetQuotasOK, error)

	GetQuotasID(params *GetQuotasIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetQuotasIDOK, error)

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

	GetRegistriesID(params *GetRegistriesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRegistriesIDOK, error)

	GetRegistriesIDInfo(params *GetRegistriesIDInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRegistriesIDInfoOK, error)

	GetRegistriesIDNamespace(params *GetRegistriesIDNamespaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRegistriesIDNamespaceOK, error)

	GetReplicationAdapters(params *GetReplicationAdaptersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReplicationAdaptersOK, error)

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

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

	GetReplicationExecutionsIDTasks(params *GetReplicationExecutionsIDTasksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReplicationExecutionsIDTasksOK, error)

	GetReplicationExecutionsIDTasksTaskIDLog(params *GetReplicationExecutionsIDTasksTaskIDLogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReplicationExecutionsIDTasksTaskIDLogOK, error)

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

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

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

	GetRetentionsIDExecutions(params *GetRetentionsIDExecutionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRetentionsIDExecutionsOK, error)

	GetRetentionsIDExecutionsEidTasks(params *GetRetentionsIDExecutionsEidTasksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRetentionsIDExecutionsEidTasksOK, error)

	GetRetentionsIDExecutionsEidTasksTid(params *GetRetentionsIDExecutionsEidTasksTidParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRetentionsIDExecutionsEidTasksTidOK, error)

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

	GetScanners(params *GetScannersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScannersOK, error)

	GetScannersRegistrationID(params *GetScannersRegistrationIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScannersRegistrationIDOK, error)

	GetScannersRegistrationIDMetadata(params *GetScannersRegistrationIDMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScannersRegistrationIDMetadataOK, error)

	GetScansAllMetrics(params *GetScansAllMetricsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScansAllMetricsOK, error)

	GetScansScheduleMetrics(params *GetScansScheduleMetricsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScansScheduleMetricsOK, error)

	GetSearch(params *GetSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSearchOK, error)

	GetStatistics(params *GetStatisticsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStatisticsOK, error)

	GetSystemCVEAllowlist(params *GetSystemCVEAllowlistParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSystemCVEAllowlistOK, error)

	GetSystemGc(params *GetSystemGcParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSystemGcOK, error)

	GetSystemGcID(params *GetSystemGcIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSystemGcIDOK, error)

	GetSystemGcIDLog(params *GetSystemGcIDLogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSystemGcIDLogOK, error)

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

	GetSystemScanAllSchedule(params *GetSystemScanAllScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSystemScanAllScheduleOK, error)

	GetSysteminfo(params *GetSysteminfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSysteminfoOK, error)

	GetSysteminfoGetcert(params *GetSysteminfoGetcertParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSysteminfoGetcertOK, error)

	GetSysteminfoVolumes(params *GetSysteminfoVolumesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSysteminfoVolumesOK, error)

	GetUsergroups(params *GetUsergroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsergroupsOK, error)

	GetUsergroupsGroupID(params *GetUsergroupsGroupIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsergroupsGroupIDOK, error)

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

	GetUsersCurrent(params *GetUsersCurrentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersCurrentOK, error)

	GetUsersCurrentPermissions(params *GetUsersCurrentPermissionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersCurrentPermissionsOK, error)

	GetUsersSearch(params *GetUsersSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersSearchOK, error)

	GetUsersUserID(params *GetUsersUserIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersUserIDOK, error)

	PatchRetentionsIDExecutionsEid(params *PatchRetentionsIDExecutionsEidParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchRetentionsIDExecutionsEidOK, error)

	PostChartrepoRepoChartsNameVersionLabels(params *PostChartrepoRepoChartsNameVersionLabelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostChartrepoRepoChartsNameVersionLabelsOK, error)

	PostEmailPing(params *PostEmailPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostEmailPingOK, error)

	PostLabels(params *PostLabelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostLabelsCreated, error)

	PostLdapPing(params *PostLdapPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostLdapPingOK, error)

	PostLdapUsersImport(params *PostLdapUsersImportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostLdapUsersImportOK, error)

	PostProjectsProjectIDImmutabletagrules(params *PostProjectsProjectIDImmutabletagrulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostProjectsProjectIDImmutabletagrulesOK, error)

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

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

	PostProjectsProjectIDRobots(params *PostProjectsProjectIDRobotsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostProjectsProjectIDRobotsCreated, error)

	PostProjectsProjectIDWebhookPolicies(params *PostProjectsProjectIDWebhookPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostProjectsProjectIDWebhookPoliciesCreated, error)

	PostProjectsProjectIDWebhookPoliciesTest(params *PostProjectsProjectIDWebhookPoliciesTestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostProjectsProjectIDWebhookPoliciesTestOK, error)

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

	PostRegistriesPing(params *PostRegistriesPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostRegistriesPingOK, error)

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

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

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

	PostRetentionsIDExecutions(params *PostRetentionsIDExecutionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostRetentionsIDExecutionsOK, error)

	PostScannersPing(params *PostScannersPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostScannersPingOK, error)

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

	PostSystemOidcPing(params *PostSystemOidcPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostSystemOidcPingOK, error)

	PostSystemScanAllSchedule(params *PostSystemScanAllScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostSystemScanAllScheduleOK, error)

	PostUsergroups(params *PostUsergroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostUsergroupsCreated, error)

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

	PutConfigurations(params *PutConfigurationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutConfigurationsOK, error)

	PutLabelsID(params *PutLabelsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutLabelsIDOK, error)

	PutProjectsProjectIDImmutabletagrulesID(params *PutProjectsProjectIDImmutabletagrulesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutProjectsProjectIDImmutabletagrulesIDOK, error)

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

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

	PutProjectsProjectIDRobotsRobotID(params *PutProjectsProjectIDRobotsRobotIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutProjectsProjectIDRobotsRobotIDOK, error)

	PutProjectsProjectIDWebhookPoliciesPolicyID(params *PutProjectsProjectIDWebhookPoliciesPolicyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutProjectsProjectIDWebhookPoliciesPolicyIDOK, error)

	PutQuotasID(params *PutQuotasIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutQuotasIDOK, error)

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

	PutReplicationExecutionsID(params *PutReplicationExecutionsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutReplicationExecutionsIDOK, error)

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

	PutRetentionsID(params *PutRetentionsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutRetentionsIDOK, error)

	PutSystemCVEAllowlist(params *PutSystemCVEAllowlistParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutSystemCVEAllowlistOK, error)

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

	PutSystemScanAllSchedule(params *PutSystemScanAllScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutSystemScanAllScheduleOK, error)

	PutUsergroupsGroupID(params *PutUsergroupsGroupIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutUsergroupsGroupIDOK, error)

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

	PutUsersUserIDCliSecret(params *PutUsersUserIDCliSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutUsersUserIDCliSecretOK, error)

	PutUsersUserIDPassword(params *PutUsersUserIDPasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutUsersUserIDPasswordOK, error)

	PutUsersUserIDSysadmin(params *PutUsersUserIDSysadminParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutUsersUserIDSysadminOK, 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 DeleteChartrepoRepoChartsNameVersionLabelsIDBadRequest ¶

type DeleteChartrepoRepoChartsNameVersionLabelsIDBadRequest struct {
}
DeleteChartrepoRepoChartsNameVersionLabelsIDBadRequest describes a response with status code 400, with default header values.

Bad request

func NewDeleteChartrepoRepoChartsNameVersionLabelsIDBadRequest ¶

func NewDeleteChartrepoRepoChartsNameVersionLabelsIDBadRequest() *DeleteChartrepoRepoChartsNameVersionLabelsIDBadRequest

NewDeleteChartrepoRepoChartsNameVersionLabelsIDBadRequest creates a DeleteChartrepoRepoChartsNameVersionLabelsIDBadRequest with default headers values

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDBadRequest) Error ¶

type DeleteChartrepoRepoChartsNameVersionLabelsIDForbidden ¶

type DeleteChartrepoRepoChartsNameVersionLabelsIDForbidden struct {
}
DeleteChartrepoRepoChartsNameVersionLabelsIDForbidden describes a response with status code 403, with default header values.

Operation is forbidden or quota exceeded

func NewDeleteChartrepoRepoChartsNameVersionLabelsIDForbidden ¶

func NewDeleteChartrepoRepoChartsNameVersionLabelsIDForbidden() *DeleteChartrepoRepoChartsNameVersionLabelsIDForbidden

NewDeleteChartrepoRepoChartsNameVersionLabelsIDForbidden creates a DeleteChartrepoRepoChartsNameVersionLabelsIDForbidden with default headers values

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDForbidden) Error ¶

type DeleteChartrepoRepoChartsNameVersionLabelsIDInternalServerError ¶

type DeleteChartrepoRepoChartsNameVersionLabelsIDInternalServerError struct {
}
DeleteChartrepoRepoChartsNameVersionLabelsIDInternalServerError describes a response with status code 500, with default header values.

Internal server error occurred

func NewDeleteChartrepoRepoChartsNameVersionLabelsIDInternalServerError ¶

func NewDeleteChartrepoRepoChartsNameVersionLabelsIDInternalServerError() *DeleteChartrepoRepoChartsNameVersionLabelsIDInternalServerError

NewDeleteChartrepoRepoChartsNameVersionLabelsIDInternalServerError creates a DeleteChartrepoRepoChartsNameVersionLabelsIDInternalServerError with default headers values

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDInternalServerError) Error ¶

type DeleteChartrepoRepoChartsNameVersionLabelsIDNotFound ¶

type DeleteChartrepoRepoChartsNameVersionLabelsIDNotFound struct {
}
DeleteChartrepoRepoChartsNameVersionLabelsIDNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteChartrepoRepoChartsNameVersionLabelsIDNotFound ¶

func NewDeleteChartrepoRepoChartsNameVersionLabelsIDNotFound() *DeleteChartrepoRepoChartsNameVersionLabelsIDNotFound

NewDeleteChartrepoRepoChartsNameVersionLabelsIDNotFound creates a DeleteChartrepoRepoChartsNameVersionLabelsIDNotFound with default headers values

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDNotFound) Error ¶

type DeleteChartrepoRepoChartsNameVersionLabelsIDOK ¶

type DeleteChartrepoRepoChartsNameVersionLabelsIDOK struct {
}
DeleteChartrepoRepoChartsNameVersionLabelsIDOK describes a response with status code 200, with default header values.

The label is successfully unmarked from the chart version.

func NewDeleteChartrepoRepoChartsNameVersionLabelsIDOK ¶

func NewDeleteChartrepoRepoChartsNameVersionLabelsIDOK() *DeleteChartrepoRepoChartsNameVersionLabelsIDOK

NewDeleteChartrepoRepoChartsNameVersionLabelsIDOK creates a DeleteChartrepoRepoChartsNameVersionLabelsIDOK with default headers values

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDOK) Error ¶

type DeleteChartrepoRepoChartsNameVersionLabelsIDParams ¶

type DeleteChartrepoRepoChartsNameVersionLabelsIDParams struct {

	/* ID.

	   The label ID
	*/
	ID int64

	/* Name.

	   The chart name
	*/
	Name string

	/* Repo.

	   The project name
	*/
	Repo string

	/* Version.

	   The chart version
	*/
	Version string

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

DeleteChartrepoRepoChartsNameVersionLabelsIDParams contains all the parameters to send to the API endpoint

for the delete chartrepo repo charts name version labels ID operation.

Typically these are written to a http.Request.

func NewDeleteChartrepoRepoChartsNameVersionLabelsIDParams ¶

func NewDeleteChartrepoRepoChartsNameVersionLabelsIDParams() *DeleteChartrepoRepoChartsNameVersionLabelsIDParams

NewDeleteChartrepoRepoChartsNameVersionLabelsIDParams creates a new DeleteChartrepoRepoChartsNameVersionLabelsIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteChartrepoRepoChartsNameVersionLabelsIDParamsWithContext ¶

func NewDeleteChartrepoRepoChartsNameVersionLabelsIDParamsWithContext(ctx context.Context) *DeleteChartrepoRepoChartsNameVersionLabelsIDParams

NewDeleteChartrepoRepoChartsNameVersionLabelsIDParamsWithContext creates a new DeleteChartrepoRepoChartsNameVersionLabelsIDParams object with the ability to set a context for a request.

func NewDeleteChartrepoRepoChartsNameVersionLabelsIDParamsWithHTTPClient ¶

func NewDeleteChartrepoRepoChartsNameVersionLabelsIDParamsWithHTTPClient(client *http.Client) *DeleteChartrepoRepoChartsNameVersionLabelsIDParams

NewDeleteChartrepoRepoChartsNameVersionLabelsIDParamsWithHTTPClient creates a new DeleteChartrepoRepoChartsNameVersionLabelsIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteChartrepoRepoChartsNameVersionLabelsIDParamsWithTimeout ¶

func NewDeleteChartrepoRepoChartsNameVersionLabelsIDParamsWithTimeout(timeout time.Duration) *DeleteChartrepoRepoChartsNameVersionLabelsIDParams

NewDeleteChartrepoRepoChartsNameVersionLabelsIDParamsWithTimeout creates a new DeleteChartrepoRepoChartsNameVersionLabelsIDParams object with the ability to set a timeout on a request.

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDParams) SetContext ¶

SetContext adds the context to the delete chartrepo repo charts name version labels ID params

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDParams) SetDefaults ¶

SetDefaults hydrates default values in the delete chartrepo repo charts name version labels ID params (not the query body).

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

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDParams) SetHTTPClient ¶

SetHTTPClient adds the HTTPClient to the delete chartrepo repo charts name version labels ID params

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDParams) SetID ¶

SetID adds the id to the delete chartrepo repo charts name version labels ID params

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDParams) SetName ¶

SetName adds the name to the delete chartrepo repo charts name version labels ID params

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDParams) SetRepo ¶

SetRepo adds the repo to the delete chartrepo repo charts name version labels ID params

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDParams) SetTimeout ¶

SetTimeout adds the timeout to the delete chartrepo repo charts name version labels ID params

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDParams) SetVersion ¶

SetVersion adds the version to the delete chartrepo repo charts name version labels ID params

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDParams) WithContext ¶

WithContext adds the context to the delete chartrepo repo charts name version labels ID params

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDParams) WithDefaults ¶

WithDefaults hydrates default values in the delete chartrepo repo charts name version labels ID params (not the query body).

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

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the delete chartrepo repo charts name version labels ID params

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDParams) WithID ¶

WithID adds the id to the delete chartrepo repo charts name version labels ID params

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDParams) WithName ¶

WithName adds the name to the delete chartrepo repo charts name version labels ID params

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDParams) WithRepo ¶

WithRepo adds the repo to the delete chartrepo repo charts name version labels ID params

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDParams) WithTimeout ¶

WithTimeout adds the timeout to the delete chartrepo repo charts name version labels ID params

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDParams) WithVersion ¶

WithVersion adds the version to the delete chartrepo repo charts name version labels ID params

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type DeleteChartrepoRepoChartsNameVersionLabelsIDReader ¶

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

DeleteChartrepoRepoChartsNameVersionLabelsIDReader is a Reader for the DeleteChartrepoRepoChartsNameVersionLabelsID structure.

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type DeleteChartrepoRepoChartsNameVersionLabelsIDUnauthorized ¶

type DeleteChartrepoRepoChartsNameVersionLabelsIDUnauthorized struct {
}
DeleteChartrepoRepoChartsNameVersionLabelsIDUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteChartrepoRepoChartsNameVersionLabelsIDUnauthorized ¶

func NewDeleteChartrepoRepoChartsNameVersionLabelsIDUnauthorized() *DeleteChartrepoRepoChartsNameVersionLabelsIDUnauthorized

NewDeleteChartrepoRepoChartsNameVersionLabelsIDUnauthorized creates a DeleteChartrepoRepoChartsNameVersionLabelsIDUnauthorized with default headers values

func (*DeleteChartrepoRepoChartsNameVersionLabelsIDUnauthorized) Error ¶

type DeleteLabelsIDBadRequest ¶

type DeleteLabelsIDBadRequest struct {
}
DeleteLabelsIDBadRequest describes a response with status code 400, with default header values.

Invalid parameters.

func NewDeleteLabelsIDBadRequest ¶

func NewDeleteLabelsIDBadRequest() *DeleteLabelsIDBadRequest

NewDeleteLabelsIDBadRequest creates a DeleteLabelsIDBadRequest with default headers values

func (*DeleteLabelsIDBadRequest) Error ¶

func (o *DeleteLabelsIDBadRequest) Error() string

type DeleteLabelsIDInternalServerError ¶

type DeleteLabelsIDInternalServerError struct {
}
DeleteLabelsIDInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewDeleteLabelsIDInternalServerError ¶

func NewDeleteLabelsIDInternalServerError() *DeleteLabelsIDInternalServerError

NewDeleteLabelsIDInternalServerError creates a DeleteLabelsIDInternalServerError with default headers values

func (*DeleteLabelsIDInternalServerError) Error ¶

type DeleteLabelsIDNotFound ¶

type DeleteLabelsIDNotFound struct {
}
DeleteLabelsIDNotFound describes a response with status code 404, with default header values.

The resource does not exist.

func NewDeleteLabelsIDNotFound ¶

func NewDeleteLabelsIDNotFound() *DeleteLabelsIDNotFound

NewDeleteLabelsIDNotFound creates a DeleteLabelsIDNotFound with default headers values

func (*DeleteLabelsIDNotFound) Error ¶

func (o *DeleteLabelsIDNotFound) Error() string

type DeleteLabelsIDOK ¶

type DeleteLabelsIDOK struct {
}
DeleteLabelsIDOK describes a response with status code 200, with default header values.

Delete successfully.

func NewDeleteLabelsIDOK ¶

func NewDeleteLabelsIDOK() *DeleteLabelsIDOK

NewDeleteLabelsIDOK creates a DeleteLabelsIDOK with default headers values

func (*DeleteLabelsIDOK) Error ¶

func (o *DeleteLabelsIDOK) Error() string

type DeleteLabelsIDParams ¶

type DeleteLabelsIDParams struct {

	/* ID.

	   Label ID

	   Format: int64
	*/
	ID int64

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

DeleteLabelsIDParams contains all the parameters to send to the API endpoint

for the delete labels ID operation.

Typically these are written to a http.Request.

func NewDeleteLabelsIDParams ¶

func NewDeleteLabelsIDParams() *DeleteLabelsIDParams

NewDeleteLabelsIDParams creates a new DeleteLabelsIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteLabelsIDParamsWithContext ¶

func NewDeleteLabelsIDParamsWithContext(ctx context.Context) *DeleteLabelsIDParams

NewDeleteLabelsIDParamsWithContext creates a new DeleteLabelsIDParams object with the ability to set a context for a request.

func NewDeleteLabelsIDParamsWithHTTPClient ¶

func NewDeleteLabelsIDParamsWithHTTPClient(client *http.Client) *DeleteLabelsIDParams

NewDeleteLabelsIDParamsWithHTTPClient creates a new DeleteLabelsIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteLabelsIDParamsWithTimeout ¶

func NewDeleteLabelsIDParamsWithTimeout(timeout time.Duration) *DeleteLabelsIDParams

NewDeleteLabelsIDParamsWithTimeout creates a new DeleteLabelsIDParams object with the ability to set a timeout on a request.

func (*DeleteLabelsIDParams) SetContext ¶

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

SetContext adds the context to the delete labels ID params

func (*DeleteLabelsIDParams) SetDefaults ¶

func (o *DeleteLabelsIDParams) SetDefaults()

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

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

func (*DeleteLabelsIDParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the delete labels ID params

func (*DeleteLabelsIDParams) SetID ¶

func (o *DeleteLabelsIDParams) SetID(id int64)

SetID adds the id to the delete labels ID params

func (*DeleteLabelsIDParams) SetTimeout ¶

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

SetTimeout adds the timeout to the delete labels ID params

func (*DeleteLabelsIDParams) WithContext ¶

WithContext adds the context to the delete labels ID params

func (*DeleteLabelsIDParams) WithDefaults ¶

func (o *DeleteLabelsIDParams) WithDefaults() *DeleteLabelsIDParams

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

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

func (*DeleteLabelsIDParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the delete labels ID params

func (*DeleteLabelsIDParams) WithID ¶

WithID adds the id to the delete labels ID params

func (*DeleteLabelsIDParams) WithTimeout ¶

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

WithTimeout adds the timeout to the delete labels ID params

func (*DeleteLabelsIDParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type DeleteLabelsIDReader ¶

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

DeleteLabelsIDReader is a Reader for the DeleteLabelsID structure.

func (*DeleteLabelsIDReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type DeleteLabelsIDUnauthorized ¶

type DeleteLabelsIDUnauthorized struct {
}
DeleteLabelsIDUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewDeleteLabelsIDUnauthorized ¶

func NewDeleteLabelsIDUnauthorized() *DeleteLabelsIDUnauthorized

NewDeleteLabelsIDUnauthorized creates a DeleteLabelsIDUnauthorized with default headers values

func (*DeleteLabelsIDUnauthorized) Error ¶

type DeleteProjectsProjectIDImmutabletagrulesIDBadRequest ¶

type DeleteProjectsProjectIDImmutabletagrulesIDBadRequest struct {
}
DeleteProjectsProjectIDImmutabletagrulesIDBadRequest describes a response with status code 400, with default header values.

Illegal format of provided ID value.

func NewDeleteProjectsProjectIDImmutabletagrulesIDBadRequest ¶

func NewDeleteProjectsProjectIDImmutabletagrulesIDBadRequest() *DeleteProjectsProjectIDImmutabletagrulesIDBadRequest

NewDeleteProjectsProjectIDImmutabletagrulesIDBadRequest creates a DeleteProjectsProjectIDImmutabletagrulesIDBadRequest with default headers values

func (*DeleteProjectsProjectIDImmutabletagrulesIDBadRequest) Error ¶

type DeleteProjectsProjectIDImmutabletagrulesIDForbidden ¶

type DeleteProjectsProjectIDImmutabletagrulesIDForbidden struct {
}
DeleteProjectsProjectIDImmutabletagrulesIDForbidden describes a response with status code 403, with default header values.

User have no permission to delete immutable tags of the project.

func NewDeleteProjectsProjectIDImmutabletagrulesIDForbidden ¶

func NewDeleteProjectsProjectIDImmutabletagrulesIDForbidden() *DeleteProjectsProjectIDImmutabletagrulesIDForbidden

NewDeleteProjectsProjectIDImmutabletagrulesIDForbidden creates a DeleteProjectsProjectIDImmutabletagrulesIDForbidden with default headers values

func (*DeleteProjectsProjectIDImmutabletagrulesIDForbidden) Error ¶

type DeleteProjectsProjectIDImmutabletagrulesIDInternalServerError ¶

type DeleteProjectsProjectIDImmutabletagrulesIDInternalServerError struct {
}
DeleteProjectsProjectIDImmutabletagrulesIDInternalServerError describes a response with status code 500, with default header values.

Internal server errors.

func NewDeleteProjectsProjectIDImmutabletagrulesIDInternalServerError ¶

func NewDeleteProjectsProjectIDImmutabletagrulesIDInternalServerError() *DeleteProjectsProjectIDImmutabletagrulesIDInternalServerError

NewDeleteProjectsProjectIDImmutabletagrulesIDInternalServerError creates a DeleteProjectsProjectIDImmutabletagrulesIDInternalServerError with default headers values

func (*DeleteProjectsProjectIDImmutabletagrulesIDInternalServerError) Error ¶

type DeleteProjectsProjectIDImmutabletagrulesIDOK ¶

type DeleteProjectsProjectIDImmutabletagrulesIDOK struct {
}
DeleteProjectsProjectIDImmutabletagrulesIDOK describes a response with status code 200, with default header values.

Delete the immutable tag rule successfully.

func NewDeleteProjectsProjectIDImmutabletagrulesIDOK ¶

func NewDeleteProjectsProjectIDImmutabletagrulesIDOK() *DeleteProjectsProjectIDImmutabletagrulesIDOK

NewDeleteProjectsProjectIDImmutabletagrulesIDOK creates a DeleteProjectsProjectIDImmutabletagrulesIDOK with default headers values

func (*DeleteProjectsProjectIDImmutabletagrulesIDOK) Error ¶

type DeleteProjectsProjectIDImmutabletagrulesIDParams ¶

type DeleteProjectsProjectIDImmutabletagrulesIDParams struct {

	/* ID.

	   Immutable tag rule ID.

	   Format: int64
	*/
	ID int64

	/* ProjectID.

	   Relevant project ID.

	   Format: int64
	*/
	ProjectID int64

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

DeleteProjectsProjectIDImmutabletagrulesIDParams contains all the parameters to send to the API endpoint

for the delete projects project ID immutabletagrules ID operation.

Typically these are written to a http.Request.

func NewDeleteProjectsProjectIDImmutabletagrulesIDParams ¶

func NewDeleteProjectsProjectIDImmutabletagrulesIDParams() *DeleteProjectsProjectIDImmutabletagrulesIDParams

NewDeleteProjectsProjectIDImmutabletagrulesIDParams creates a new DeleteProjectsProjectIDImmutabletagrulesIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteProjectsProjectIDImmutabletagrulesIDParamsWithContext ¶

func NewDeleteProjectsProjectIDImmutabletagrulesIDParamsWithContext(ctx context.Context) *DeleteProjectsProjectIDImmutabletagrulesIDParams

NewDeleteProjectsProjectIDImmutabletagrulesIDParamsWithContext creates a new DeleteProjectsProjectIDImmutabletagrulesIDParams object with the ability to set a context for a request.

func NewDeleteProjectsProjectIDImmutabletagrulesIDParamsWithHTTPClient ¶

func NewDeleteProjectsProjectIDImmutabletagrulesIDParamsWithHTTPClient(client *http.Client) *DeleteProjectsProjectIDImmutabletagrulesIDParams

NewDeleteProjectsProjectIDImmutabletagrulesIDParamsWithHTTPClient creates a new DeleteProjectsProjectIDImmutabletagrulesIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteProjectsProjectIDImmutabletagrulesIDParamsWithTimeout ¶

func NewDeleteProjectsProjectIDImmutabletagrulesIDParamsWithTimeout(timeout time.Duration) *DeleteProjectsProjectIDImmutabletagrulesIDParams

NewDeleteProjectsProjectIDImmutabletagrulesIDParamsWithTimeout creates a new DeleteProjectsProjectIDImmutabletagrulesIDParams object with the ability to set a timeout on a request.

func (*DeleteProjectsProjectIDImmutabletagrulesIDParams) SetContext ¶

SetContext adds the context to the delete projects project ID immutabletagrules ID params

func (*DeleteProjectsProjectIDImmutabletagrulesIDParams) SetDefaults ¶

SetDefaults hydrates default values in the delete projects project ID immutabletagrules ID params (not the query body).

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

func (*DeleteProjectsProjectIDImmutabletagrulesIDParams) SetHTTPClient ¶

SetHTTPClient adds the HTTPClient to the delete projects project ID immutabletagrules ID params

func (*DeleteProjectsProjectIDImmutabletagrulesIDParams) SetID ¶

SetID adds the id to the delete projects project ID immutabletagrules ID params

func (*DeleteProjectsProjectIDImmutabletagrulesIDParams) SetProjectID ¶

func (o *DeleteProjectsProjectIDImmutabletagrulesIDParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the delete projects project ID immutabletagrules ID params

func (*DeleteProjectsProjectIDImmutabletagrulesIDParams) SetTimeout ¶

SetTimeout adds the timeout to the delete projects project ID immutabletagrules ID params

func (*DeleteProjectsProjectIDImmutabletagrulesIDParams) WithContext ¶

WithContext adds the context to the delete projects project ID immutabletagrules ID params

func (*DeleteProjectsProjectIDImmutabletagrulesIDParams) WithDefaults ¶

WithDefaults hydrates default values in the delete projects project ID immutabletagrules ID params (not the query body).

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

func (*DeleteProjectsProjectIDImmutabletagrulesIDParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the delete projects project ID immutabletagrules ID params

func (*DeleteProjectsProjectIDImmutabletagrulesIDParams) WithID ¶

WithID adds the id to the delete projects project ID immutabletagrules ID params

func (*DeleteProjectsProjectIDImmutabletagrulesIDParams) WithProjectID ¶

WithProjectID adds the projectID to the delete projects project ID immutabletagrules ID params

func (*DeleteProjectsProjectIDImmutabletagrulesIDParams) WithTimeout ¶

WithTimeout adds the timeout to the delete projects project ID immutabletagrules ID params

func (*DeleteProjectsProjectIDImmutabletagrulesIDParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type DeleteProjectsProjectIDImmutabletagrulesIDReader ¶

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

DeleteProjectsProjectIDImmutabletagrulesIDReader is a Reader for the DeleteProjectsProjectIDImmutabletagrulesID structure.

func (*DeleteProjectsProjectIDImmutabletagrulesIDReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type DeleteProjectsProjectIDImmutabletagrulesIDUnauthorized ¶

type DeleteProjectsProjectIDImmutabletagrulesIDUnauthorized struct {
}
DeleteProjectsProjectIDImmutabletagrulesIDUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewDeleteProjectsProjectIDImmutabletagrulesIDUnauthorized ¶

func NewDeleteProjectsProjectIDImmutabletagrulesIDUnauthorized() *DeleteProjectsProjectIDImmutabletagrulesIDUnauthorized

NewDeleteProjectsProjectIDImmutabletagrulesIDUnauthorized creates a DeleteProjectsProjectIDImmutabletagrulesIDUnauthorized with default headers values

func (*DeleteProjectsProjectIDImmutabletagrulesIDUnauthorized) Error ¶

type DeleteProjectsProjectIDMembersMidBadRequest ¶

type DeleteProjectsProjectIDMembersMidBadRequest struct {
}
DeleteProjectsProjectIDMembersMidBadRequest describes a response with status code 400, 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 describes a response with status code 403, 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 describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewDeleteProjectsProjectIDMembersMidInternalServerError ¶

func NewDeleteProjectsProjectIDMembersMidInternalServerError() *DeleteProjectsProjectIDMembersMidInternalServerError

NewDeleteProjectsProjectIDMembersMidInternalServerError creates a DeleteProjectsProjectIDMembersMidInternalServerError with default headers values

func (*DeleteProjectsProjectIDMembersMidInternalServerError) Error ¶

type DeleteProjectsProjectIDMembersMidOK ¶

type DeleteProjectsProjectIDMembersMidOK struct {
}
DeleteProjectsProjectIDMembersMidOK describes a response with status code 200, 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.

	   Format: int64
	*/
	Mid int64

	/* ProjectID.

	   Relevant project ID.

	   Format: int64
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteProjectsProjectIDMembersMidParamsWithContext ¶

func NewDeleteProjectsProjectIDMembersMidParamsWithContext(ctx context.Context) *DeleteProjectsProjectIDMembersMidParams

NewDeleteProjectsProjectIDMembersMidParamsWithContext creates a new DeleteProjectsProjectIDMembersMidParams object with 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 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 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) SetDefaults ¶

func (o *DeleteProjectsProjectIDMembersMidParams) SetDefaults()

SetDefaults hydrates default values in the delete projects project ID members mid params (not the query body).

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

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) WithDefaults ¶

WithDefaults hydrates default values in the delete projects project ID members mid params (not the query body).

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

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 describes a response with status code 401, 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 describes a response with status code 400, 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 describes a response with status code 403, 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 describes a response with status code 500, 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 describes a response with status code 404, 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 describes a response with status code 200, 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.

	   Format: int64
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteProjectsProjectIDMetadatasMetaNameParamsWithContext ¶

func NewDeleteProjectsProjectIDMetadatasMetaNameParamsWithContext(ctx context.Context) *DeleteProjectsProjectIDMetadatasMetaNameParams

NewDeleteProjectsProjectIDMetadatasMetaNameParamsWithContext creates a new DeleteProjectsProjectIDMetadatasMetaNameParams object with 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 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 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) SetDefaults ¶

SetDefaults hydrates default values in the delete projects project ID metadatas meta name params (not the query body).

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

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) WithDefaults ¶

WithDefaults hydrates default values in the delete projects project ID metadatas meta name params (not the query body).

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

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 DeleteProjectsProjectIDRobotsRobotIDForbidden ¶

type DeleteProjectsProjectIDRobotsRobotIDForbidden struct {
}
DeleteProjectsProjectIDRobotsRobotIDForbidden describes a response with status code 403, with default header values.

User in session does not have permission to the project.

func NewDeleteProjectsProjectIDRobotsRobotIDForbidden ¶

func NewDeleteProjectsProjectIDRobotsRobotIDForbidden() *DeleteProjectsProjectIDRobotsRobotIDForbidden

NewDeleteProjectsProjectIDRobotsRobotIDForbidden creates a DeleteProjectsProjectIDRobotsRobotIDForbidden with default headers values

func (*DeleteProjectsProjectIDRobotsRobotIDForbidden) Error ¶

type DeleteProjectsProjectIDRobotsRobotIDInternalServerError ¶

type DeleteProjectsProjectIDRobotsRobotIDInternalServerError struct {
}
DeleteProjectsProjectIDRobotsRobotIDInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewDeleteProjectsProjectIDRobotsRobotIDInternalServerError ¶

func NewDeleteProjectsProjectIDRobotsRobotIDInternalServerError() *DeleteProjectsProjectIDRobotsRobotIDInternalServerError

NewDeleteProjectsProjectIDRobotsRobotIDInternalServerError creates a DeleteProjectsProjectIDRobotsRobotIDInternalServerError with default headers values

func (*DeleteProjectsProjectIDRobotsRobotIDInternalServerError) Error ¶

type DeleteProjectsProjectIDRobotsRobotIDNotFound ¶

type DeleteProjectsProjectIDRobotsRobotIDNotFound struct {
}
DeleteProjectsProjectIDRobotsRobotIDNotFound describes a response with status code 404, with default header values.

The robot account is not found.

func NewDeleteProjectsProjectIDRobotsRobotIDNotFound ¶

func NewDeleteProjectsProjectIDRobotsRobotIDNotFound() *DeleteProjectsProjectIDRobotsRobotIDNotFound

NewDeleteProjectsProjectIDRobotsRobotIDNotFound creates a DeleteProjectsProjectIDRobotsRobotIDNotFound with default headers values

func (*DeleteProjectsProjectIDRobotsRobotIDNotFound) Error ¶

type DeleteProjectsProjectIDRobotsRobotIDOK ¶

type DeleteProjectsProjectIDRobotsRobotIDOK struct {
}
DeleteProjectsProjectIDRobotsRobotIDOK describes a response with status code 200, with default header values.

The specified robot account is successfully deleted.

func NewDeleteProjectsProjectIDRobotsRobotIDOK ¶

func NewDeleteProjectsProjectIDRobotsRobotIDOK() *DeleteProjectsProjectIDRobotsRobotIDOK

NewDeleteProjectsProjectIDRobotsRobotIDOK creates a DeleteProjectsProjectIDRobotsRobotIDOK with default headers values

func (*DeleteProjectsProjectIDRobotsRobotIDOK) Error ¶

type DeleteProjectsProjectIDRobotsRobotIDParams ¶

type DeleteProjectsProjectIDRobotsRobotIDParams struct {

	/* ProjectID.

	   Relevant project ID.

	   Format: int64
	*/
	ProjectID int64

	/* RobotID.

	   The ID of robot account.

	   Format: int64
	*/
	RobotID int64

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

DeleteProjectsProjectIDRobotsRobotIDParams contains all the parameters to send to the API endpoint

for the delete projects project ID robots robot ID operation.

Typically these are written to a http.Request.

func NewDeleteProjectsProjectIDRobotsRobotIDParams ¶

func NewDeleteProjectsProjectIDRobotsRobotIDParams() *DeleteProjectsProjectIDRobotsRobotIDParams

NewDeleteProjectsProjectIDRobotsRobotIDParams creates a new DeleteProjectsProjectIDRobotsRobotIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteProjectsProjectIDRobotsRobotIDParamsWithContext ¶

func NewDeleteProjectsProjectIDRobotsRobotIDParamsWithContext(ctx context.Context) *DeleteProjectsProjectIDRobotsRobotIDParams

NewDeleteProjectsProjectIDRobotsRobotIDParamsWithContext creates a new DeleteProjectsProjectIDRobotsRobotIDParams object with the ability to set a context for a request.

func NewDeleteProjectsProjectIDRobotsRobotIDParamsWithHTTPClient ¶

func NewDeleteProjectsProjectIDRobotsRobotIDParamsWithHTTPClient(client *http.Client) *DeleteProjectsProjectIDRobotsRobotIDParams

NewDeleteProjectsProjectIDRobotsRobotIDParamsWithHTTPClient creates a new DeleteProjectsProjectIDRobotsRobotIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteProjectsProjectIDRobotsRobotIDParamsWithTimeout ¶

func NewDeleteProjectsProjectIDRobotsRobotIDParamsWithTimeout(timeout time.Duration) *DeleteProjectsProjectIDRobotsRobotIDParams

NewDeleteProjectsProjectIDRobotsRobotIDParamsWithTimeout creates a new DeleteProjectsProjectIDRobotsRobotIDParams object with the ability to set a timeout on a request.

func (*DeleteProjectsProjectIDRobotsRobotIDParams) SetContext ¶

SetContext adds the context to the delete projects project ID robots robot ID params

func (*DeleteProjectsProjectIDRobotsRobotIDParams) SetDefaults ¶

SetDefaults hydrates default values in the delete projects project ID robots robot ID params (not the query body).

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

func (*DeleteProjectsProjectIDRobotsRobotIDParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the delete projects project ID robots robot ID params

func (*DeleteProjectsProjectIDRobotsRobotIDParams) SetProjectID ¶

func (o *DeleteProjectsProjectIDRobotsRobotIDParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the delete projects project ID robots robot ID params

func (*DeleteProjectsProjectIDRobotsRobotIDParams) SetRobotID ¶

func (o *DeleteProjectsProjectIDRobotsRobotIDParams) SetRobotID(robotID int64)

SetRobotID adds the robotId to the delete projects project ID robots robot ID params

func (*DeleteProjectsProjectIDRobotsRobotIDParams) SetTimeout ¶

SetTimeout adds the timeout to the delete projects project ID robots robot ID params

func (*DeleteProjectsProjectIDRobotsRobotIDParams) WithContext ¶

WithContext adds the context to the delete projects project ID robots robot ID params

func (*DeleteProjectsProjectIDRobotsRobotIDParams) WithDefaults ¶

WithDefaults hydrates default values in the delete projects project ID robots robot ID params (not the query body).

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

func (*DeleteProjectsProjectIDRobotsRobotIDParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the delete projects project ID robots robot ID params

func (*DeleteProjectsProjectIDRobotsRobotIDParams) WithProjectID ¶

WithProjectID adds the projectID to the delete projects project ID robots robot ID params

func (*DeleteProjectsProjectIDRobotsRobotIDParams) WithRobotID ¶

WithRobotID adds the robotID to the delete projects project ID robots robot ID params

func (*DeleteProjectsProjectIDRobotsRobotIDParams) WithTimeout ¶

WithTimeout adds the timeout to the delete projects project ID robots robot ID params

func (*DeleteProjectsProjectIDRobotsRobotIDParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type DeleteProjectsProjectIDRobotsRobotIDReader ¶

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

DeleteProjectsProjectIDRobotsRobotIDReader is a Reader for the DeleteProjectsProjectIDRobotsRobotID structure.

func (*DeleteProjectsProjectIDRobotsRobotIDReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type DeleteProjectsProjectIDRobotsRobotIDUnauthorized ¶

type DeleteProjectsProjectIDRobotsRobotIDUnauthorized struct {
}
DeleteProjectsProjectIDRobotsRobotIDUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewDeleteProjectsProjectIDRobotsRobotIDUnauthorized ¶

func NewDeleteProjectsProjectIDRobotsRobotIDUnauthorized() *DeleteProjectsProjectIDRobotsRobotIDUnauthorized

NewDeleteProjectsProjectIDRobotsRobotIDUnauthorized creates a DeleteProjectsProjectIDRobotsRobotIDUnauthorized with default headers values

func (*DeleteProjectsProjectIDRobotsRobotIDUnauthorized) Error ¶

type DeleteProjectsProjectIDWebhookPoliciesPolicyIDBadRequest ¶

type DeleteProjectsProjectIDWebhookPoliciesPolicyIDBadRequest struct {
}
DeleteProjectsProjectIDWebhookPoliciesPolicyIDBadRequest describes a response with status code 400, with default header values.

Illegal format of provided ID value.

func NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDBadRequest ¶

func NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDBadRequest() *DeleteProjectsProjectIDWebhookPoliciesPolicyIDBadRequest

NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDBadRequest creates a DeleteProjectsProjectIDWebhookPoliciesPolicyIDBadRequest with default headers values

func (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDBadRequest) Error ¶

type DeleteProjectsProjectIDWebhookPoliciesPolicyIDForbidden ¶

type DeleteProjectsProjectIDWebhookPoliciesPolicyIDForbidden struct {
}
DeleteProjectsProjectIDWebhookPoliciesPolicyIDForbidden describes a response with status code 403, with default header values.

User have no permission to delete webhook policy of the project.

func NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDForbidden ¶

func NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDForbidden() *DeleteProjectsProjectIDWebhookPoliciesPolicyIDForbidden

NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDForbidden creates a DeleteProjectsProjectIDWebhookPoliciesPolicyIDForbidden with default headers values

func (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDForbidden) Error ¶

type DeleteProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError ¶

type DeleteProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError struct {
}
DeleteProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError describes a response with status code 500, with default header values.

Internal server errors.

func NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError ¶

func NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError() *DeleteProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError

NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError creates a DeleteProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError with default headers values

func (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError) Error ¶

type DeleteProjectsProjectIDWebhookPoliciesPolicyIDNotFound ¶

type DeleteProjectsProjectIDWebhookPoliciesPolicyIDNotFound struct {
}
DeleteProjectsProjectIDWebhookPoliciesPolicyIDNotFound describes a response with status code 404, with default header values.

Webhook policy ID does not exist.

func NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDNotFound ¶

func NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDNotFound() *DeleteProjectsProjectIDWebhookPoliciesPolicyIDNotFound

NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDNotFound creates a DeleteProjectsProjectIDWebhookPoliciesPolicyIDNotFound with default headers values

func (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDNotFound) Error ¶

type DeleteProjectsProjectIDWebhookPoliciesPolicyIDOK ¶

type DeleteProjectsProjectIDWebhookPoliciesPolicyIDOK struct {
}
DeleteProjectsProjectIDWebhookPoliciesPolicyIDOK describes a response with status code 200, with default header values.

Delete webhook policy successfully.

func NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDOK ¶

func NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDOK() *DeleteProjectsProjectIDWebhookPoliciesPolicyIDOK

NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDOK creates a DeleteProjectsProjectIDWebhookPoliciesPolicyIDOK with default headers values

func (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDOK) Error ¶

type DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams ¶

type DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams struct {

	/* PolicyID.

	   The id of webhook policy.

	   Format: int64
	*/
	PolicyID int64

	/* ProjectID.

	   Relevant project ID.

	   Format: int64
	*/
	ProjectID int64

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

DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams contains all the parameters to send to the API endpoint

for the delete projects project ID webhook policies policy ID operation.

Typically these are written to a http.Request.

func NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDParams ¶

func NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDParams() *DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams

NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDParams creates a new DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDParamsWithContext ¶

func NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDParamsWithContext(ctx context.Context) *DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams

NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDParamsWithContext creates a new DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams object with the ability to set a context for a request.

func NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDParamsWithHTTPClient ¶

func NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDParamsWithHTTPClient(client *http.Client) *DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams

NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDParamsWithHTTPClient creates a new DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDParamsWithTimeout ¶

func NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDParamsWithTimeout(timeout time.Duration) *DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams

NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDParamsWithTimeout creates a new DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams object with the ability to set a timeout on a request.

func (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams) SetContext ¶

SetContext adds the context to the delete projects project ID webhook policies policy ID params

func (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams) SetDefaults ¶

SetDefaults hydrates default values in the delete projects project ID webhook policies policy ID params (not the query body).

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

func (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams) SetHTTPClient ¶

SetHTTPClient adds the HTTPClient to the delete projects project ID webhook policies policy ID params

func (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams) SetPolicyID ¶

SetPolicyID adds the policyId to the delete projects project ID webhook policies policy ID params

func (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams) SetProjectID ¶

SetProjectID adds the projectId to the delete projects project ID webhook policies policy ID params

func (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams) SetTimeout ¶

SetTimeout adds the timeout to the delete projects project ID webhook policies policy ID params

func (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams) WithContext ¶

WithContext adds the context to the delete projects project ID webhook policies policy ID params

func (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams) WithDefaults ¶

WithDefaults hydrates default values in the delete projects project ID webhook policies policy ID params (not the query body).

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

func (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the delete projects project ID webhook policies policy ID params

func (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams) WithPolicyID ¶

WithPolicyID adds the policyID to the delete projects project ID webhook policies policy ID params

func (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams) WithProjectID ¶

WithProjectID adds the projectID to the delete projects project ID webhook policies policy ID params

func (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams) WithTimeout ¶

WithTimeout adds the timeout to the delete projects project ID webhook policies policy ID params

func (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type DeleteProjectsProjectIDWebhookPoliciesPolicyIDReader ¶

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

DeleteProjectsProjectIDWebhookPoliciesPolicyIDReader is a Reader for the DeleteProjectsProjectIDWebhookPoliciesPolicyID structure.

func (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type DeleteProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized ¶

type DeleteProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized struct {
}
DeleteProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized ¶

func NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized() *DeleteProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized

NewDeleteProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized creates a DeleteProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized with default headers values

func (*DeleteProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized) Error ¶

type DeleteRegistriesIDBadRequest ¶

type DeleteRegistriesIDBadRequest struct {
}
DeleteRegistriesIDBadRequest describes a response with status code 400, 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 describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewDeleteRegistriesIDInternalServerError ¶

func NewDeleteRegistriesIDInternalServerError() *DeleteRegistriesIDInternalServerError

NewDeleteRegistriesIDInternalServerError creates a DeleteRegistriesIDInternalServerError with default headers values

func (*DeleteRegistriesIDInternalServerError) Error ¶

type DeleteRegistriesIDNotFound ¶

type DeleteRegistriesIDNotFound struct {
}
DeleteRegistriesIDNotFound describes a response with status code 404, 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 describes a response with status code 200, 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.

	   Format: int64
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteRegistriesIDParamsWithContext ¶

func NewDeleteRegistriesIDParamsWithContext(ctx context.Context) *DeleteRegistriesIDParams

NewDeleteRegistriesIDParamsWithContext creates a new DeleteRegistriesIDParams object with 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 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 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) SetDefaults ¶

func (o *DeleteRegistriesIDParams) SetDefaults()

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

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

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) WithDefaults ¶

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

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

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 describes a response with status code 401, 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 describes a response with status code 400, 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 describes a response with status code 403, 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 describes a response with status code 500, 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 describes a response with status code 404, 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 describes a response with status code 200, 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

	   Format: int64
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteReplicationPoliciesIDParamsWithContext ¶

func NewDeleteReplicationPoliciesIDParamsWithContext(ctx context.Context) *DeleteReplicationPoliciesIDParams

NewDeleteReplicationPoliciesIDParamsWithContext creates a new DeleteReplicationPoliciesIDParams object with 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 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 ability to set a timeout on a request.

func (*DeleteReplicationPoliciesIDParams) SetContext ¶

SetContext adds the context to the delete replication policies ID params

func (*DeleteReplicationPoliciesIDParams) SetDefaults ¶

func (o *DeleteReplicationPoliciesIDParams) SetDefaults()

SetDefaults hydrates default values in the delete replication policies ID params (not the query body).

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

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) WithDefaults ¶

WithDefaults hydrates default values in the delete replication policies ID params (not the query body).

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

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 describes a response with status code 412, 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 describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteReplicationPoliciesIDUnauthorized ¶

func NewDeleteReplicationPoliciesIDUnauthorized() *DeleteReplicationPoliciesIDUnauthorized

NewDeleteReplicationPoliciesIDUnauthorized creates a DeleteReplicationPoliciesIDUnauthorized with default headers values

func (*DeleteReplicationPoliciesIDUnauthorized) Error ¶

type DeleteUsergroupsGroupIDBadRequest ¶

type DeleteUsergroupsGroupIDBadRequest struct {
}
DeleteUsergroupsGroupIDBadRequest describes a response with status code 400, with default header values.

The user group id is invalid.

func NewDeleteUsergroupsGroupIDBadRequest ¶

func NewDeleteUsergroupsGroupIDBadRequest() *DeleteUsergroupsGroupIDBadRequest

NewDeleteUsergroupsGroupIDBadRequest creates a DeleteUsergroupsGroupIDBadRequest with default headers values

func (*DeleteUsergroupsGroupIDBadRequest) Error ¶

type DeleteUsergroupsGroupIDForbidden ¶

type DeleteUsergroupsGroupIDForbidden struct {
}
DeleteUsergroupsGroupIDForbidden describes a response with status code 403, with default header values.

Only admin has this authority.

func NewDeleteUsergroupsGroupIDForbidden ¶

func NewDeleteUsergroupsGroupIDForbidden() *DeleteUsergroupsGroupIDForbidden

NewDeleteUsergroupsGroupIDForbidden creates a DeleteUsergroupsGroupIDForbidden with default headers values

func (*DeleteUsergroupsGroupIDForbidden) Error ¶

type DeleteUsergroupsGroupIDInternalServerError ¶

type DeleteUsergroupsGroupIDInternalServerError struct {
}
DeleteUsergroupsGroupIDInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewDeleteUsergroupsGroupIDInternalServerError ¶

func NewDeleteUsergroupsGroupIDInternalServerError() *DeleteUsergroupsGroupIDInternalServerError

NewDeleteUsergroupsGroupIDInternalServerError creates a DeleteUsergroupsGroupIDInternalServerError with default headers values

func (*DeleteUsergroupsGroupIDInternalServerError) Error ¶

type DeleteUsergroupsGroupIDOK ¶

type DeleteUsergroupsGroupIDOK struct {
}
DeleteUsergroupsGroupIDOK describes a response with status code 200, with default header values.

User group deleted successfully.

func NewDeleteUsergroupsGroupIDOK ¶

func NewDeleteUsergroupsGroupIDOK() *DeleteUsergroupsGroupIDOK

NewDeleteUsergroupsGroupIDOK creates a DeleteUsergroupsGroupIDOK with default headers values

func (*DeleteUsergroupsGroupIDOK) Error ¶

func (o *DeleteUsergroupsGroupIDOK) Error() string

type DeleteUsergroupsGroupIDParams ¶

type DeleteUsergroupsGroupIDParams struct {

	// GroupID.
	GroupID int64

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

DeleteUsergroupsGroupIDParams contains all the parameters to send to the API endpoint

for the delete usergroups group ID operation.

Typically these are written to a http.Request.

func NewDeleteUsergroupsGroupIDParams ¶

func NewDeleteUsergroupsGroupIDParams() *DeleteUsergroupsGroupIDParams

NewDeleteUsergroupsGroupIDParams creates a new DeleteUsergroupsGroupIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteUsergroupsGroupIDParamsWithContext ¶

func NewDeleteUsergroupsGroupIDParamsWithContext(ctx context.Context) *DeleteUsergroupsGroupIDParams

NewDeleteUsergroupsGroupIDParamsWithContext creates a new DeleteUsergroupsGroupIDParams object with the ability to set a context for a request.

func NewDeleteUsergroupsGroupIDParamsWithHTTPClient ¶

func NewDeleteUsergroupsGroupIDParamsWithHTTPClient(client *http.Client) *DeleteUsergroupsGroupIDParams

NewDeleteUsergroupsGroupIDParamsWithHTTPClient creates a new DeleteUsergroupsGroupIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteUsergroupsGroupIDParamsWithTimeout ¶

func NewDeleteUsergroupsGroupIDParamsWithTimeout(timeout time.Duration) *DeleteUsergroupsGroupIDParams

NewDeleteUsergroupsGroupIDParamsWithTimeout creates a new DeleteUsergroupsGroupIDParams object with the ability to set a timeout on a request.

func (*DeleteUsergroupsGroupIDParams) SetContext ¶

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

SetContext adds the context to the delete usergroups group ID params

func (*DeleteUsergroupsGroupIDParams) SetDefaults ¶

func (o *DeleteUsergroupsGroupIDParams) SetDefaults()

SetDefaults hydrates default values in the delete usergroups group ID params (not the query body).

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

func (*DeleteUsergroupsGroupIDParams) SetGroupID ¶

func (o *DeleteUsergroupsGroupIDParams) SetGroupID(groupID int64)

SetGroupID adds the groupId to the delete usergroups group ID params

func (*DeleteUsergroupsGroupIDParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the delete usergroups group ID params

func (*DeleteUsergroupsGroupIDParams) SetTimeout ¶

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

SetTimeout adds the timeout to the delete usergroups group ID params

func (*DeleteUsergroupsGroupIDParams) WithContext ¶

WithContext adds the context to the delete usergroups group ID params

func (*DeleteUsergroupsGroupIDParams) WithDefaults ¶

WithDefaults hydrates default values in the delete usergroups group ID params (not the query body).

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

func (*DeleteUsergroupsGroupIDParams) WithGroupID ¶

WithGroupID adds the groupID to the delete usergroups group ID params

func (*DeleteUsergroupsGroupIDParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the delete usergroups group ID params

func (*DeleteUsergroupsGroupIDParams) WithTimeout ¶

WithTimeout adds the timeout to the delete usergroups group ID params

func (*DeleteUsergroupsGroupIDParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type DeleteUsergroupsGroupIDReader ¶

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

DeleteUsergroupsGroupIDReader is a Reader for the DeleteUsergroupsGroupID structure.

func (*DeleteUsergroupsGroupIDReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type DeleteUsergroupsGroupIDUnauthorized ¶

type DeleteUsergroupsGroupIDUnauthorized struct {
}
DeleteUsergroupsGroupIDUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewDeleteUsergroupsGroupIDUnauthorized ¶

func NewDeleteUsergroupsGroupIDUnauthorized() *DeleteUsergroupsGroupIDUnauthorized

NewDeleteUsergroupsGroupIDUnauthorized creates a DeleteUsergroupsGroupIDUnauthorized with default headers values

func (*DeleteUsergroupsGroupIDUnauthorized) Error ¶

type DeleteUsersUserIDBadRequest ¶

type DeleteUsersUserIDBadRequest struct {
}
DeleteUsersUserIDBadRequest describes a response with status code 400, 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 describes a response with status code 403, 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 describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewDeleteUsersUserIDInternalServerError ¶

func NewDeleteUsersUserIDInternalServerError() *DeleteUsersUserIDInternalServerError

NewDeleteUsersUserIDInternalServerError creates a DeleteUsersUserIDInternalServerError with default headers values

func (*DeleteUsersUserIDInternalServerError) Error ¶

type DeleteUsersUserIDNotFound ¶

type DeleteUsersUserIDNotFound struct {
}
DeleteUsersUserIDNotFound describes a response with status code 404, 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 describes a response with status code 200, 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.

	   Format: int
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteUsersUserIDParamsWithContext ¶

func NewDeleteUsersUserIDParamsWithContext(ctx context.Context) *DeleteUsersUserIDParams

NewDeleteUsersUserIDParamsWithContext creates a new DeleteUsersUserIDParams object with 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 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 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) SetDefaults ¶

func (o *DeleteUsersUserIDParams) SetDefaults()

SetDefaults hydrates default values in the delete users user ID params (not the query body).

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

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) WithDefaults ¶

WithDefaults hydrates default values in the delete users user ID params (not the query body).

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

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 describes a response with status code 401, 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 GetChartrepoRepoChartsNameVersionLabelsForbidden ¶

type GetChartrepoRepoChartsNameVersionLabelsForbidden struct {
}
GetChartrepoRepoChartsNameVersionLabelsForbidden describes a response with status code 403, with default header values.

Operation is forbidden or quota exceeded

func NewGetChartrepoRepoChartsNameVersionLabelsForbidden ¶

func NewGetChartrepoRepoChartsNameVersionLabelsForbidden() *GetChartrepoRepoChartsNameVersionLabelsForbidden

NewGetChartrepoRepoChartsNameVersionLabelsForbidden creates a GetChartrepoRepoChartsNameVersionLabelsForbidden with default headers values

func (*GetChartrepoRepoChartsNameVersionLabelsForbidden) Error ¶

type GetChartrepoRepoChartsNameVersionLabelsInternalServerError ¶

type GetChartrepoRepoChartsNameVersionLabelsInternalServerError struct {
}
GetChartrepoRepoChartsNameVersionLabelsInternalServerError describes a response with status code 500, with default header values.

Internal server error occurred

func NewGetChartrepoRepoChartsNameVersionLabelsInternalServerError ¶

func NewGetChartrepoRepoChartsNameVersionLabelsInternalServerError() *GetChartrepoRepoChartsNameVersionLabelsInternalServerError

NewGetChartrepoRepoChartsNameVersionLabelsInternalServerError creates a GetChartrepoRepoChartsNameVersionLabelsInternalServerError with default headers values

func (*GetChartrepoRepoChartsNameVersionLabelsInternalServerError) Error ¶

type GetChartrepoRepoChartsNameVersionLabelsNotFound ¶

type GetChartrepoRepoChartsNameVersionLabelsNotFound struct {
}
GetChartrepoRepoChartsNameVersionLabelsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetChartrepoRepoChartsNameVersionLabelsNotFound ¶

func NewGetChartrepoRepoChartsNameVersionLabelsNotFound() *GetChartrepoRepoChartsNameVersionLabelsNotFound

NewGetChartrepoRepoChartsNameVersionLabelsNotFound creates a GetChartrepoRepoChartsNameVersionLabelsNotFound with default headers values

func (*GetChartrepoRepoChartsNameVersionLabelsNotFound) Error ¶

type GetChartrepoRepoChartsNameVersionLabelsOK ¶

type GetChartrepoRepoChartsNameVersionLabelsOK struct {
}
GetChartrepoRepoChartsNameVersionLabelsOK describes a response with status code 200, with default header values.

A list of label

func NewGetChartrepoRepoChartsNameVersionLabelsOK ¶

func NewGetChartrepoRepoChartsNameVersionLabelsOK() *GetChartrepoRepoChartsNameVersionLabelsOK

NewGetChartrepoRepoChartsNameVersionLabelsOK creates a GetChartrepoRepoChartsNameVersionLabelsOK with default headers values

func (*GetChartrepoRepoChartsNameVersionLabelsOK) Error ¶

type GetChartrepoRepoChartsNameVersionLabelsParams ¶

type GetChartrepoRepoChartsNameVersionLabelsParams struct {

	/* Name.

	   The chart name
	*/
	Name string

	/* Repo.

	   The project name
	*/
	Repo string

	/* Version.

	   The chart version
	*/
	Version string

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

GetChartrepoRepoChartsNameVersionLabelsParams contains all the parameters to send to the API endpoint

for the get chartrepo repo charts name version labels operation.

Typically these are written to a http.Request.

func NewGetChartrepoRepoChartsNameVersionLabelsParams ¶

func NewGetChartrepoRepoChartsNameVersionLabelsParams() *GetChartrepoRepoChartsNameVersionLabelsParams

NewGetChartrepoRepoChartsNameVersionLabelsParams creates a new GetChartrepoRepoChartsNameVersionLabelsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetChartrepoRepoChartsNameVersionLabelsParamsWithContext ¶

func NewGetChartrepoRepoChartsNameVersionLabelsParamsWithContext(ctx context.Context) *GetChartrepoRepoChartsNameVersionLabelsParams

NewGetChartrepoRepoChartsNameVersionLabelsParamsWithContext creates a new GetChartrepoRepoChartsNameVersionLabelsParams object with the ability to set a context for a request.

func NewGetChartrepoRepoChartsNameVersionLabelsParamsWithHTTPClient ¶

func NewGetChartrepoRepoChartsNameVersionLabelsParamsWithHTTPClient(client *http.Client) *GetChartrepoRepoChartsNameVersionLabelsParams

NewGetChartrepoRepoChartsNameVersionLabelsParamsWithHTTPClient creates a new GetChartrepoRepoChartsNameVersionLabelsParams object with the ability to set a custom HTTPClient for a request.

func NewGetChartrepoRepoChartsNameVersionLabelsParamsWithTimeout ¶

func NewGetChartrepoRepoChartsNameVersionLabelsParamsWithTimeout(timeout time.Duration) *GetChartrepoRepoChartsNameVersionLabelsParams

NewGetChartrepoRepoChartsNameVersionLabelsParamsWithTimeout creates a new GetChartrepoRepoChartsNameVersionLabelsParams object with the ability to set a timeout on a request.

func (*GetChartrepoRepoChartsNameVersionLabelsParams) SetContext ¶

SetContext adds the context to the get chartrepo repo charts name version labels params

func (*GetChartrepoRepoChartsNameVersionLabelsParams) SetDefaults ¶

SetDefaults hydrates default values in the get chartrepo repo charts name version labels params (not the query body).

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

func (*GetChartrepoRepoChartsNameVersionLabelsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get chartrepo repo charts name version labels params

func (*GetChartrepoRepoChartsNameVersionLabelsParams) SetName ¶

SetName adds the name to the get chartrepo repo charts name version labels params

func (*GetChartrepoRepoChartsNameVersionLabelsParams) SetRepo ¶

SetRepo adds the repo to the get chartrepo repo charts name version labels params

func (*GetChartrepoRepoChartsNameVersionLabelsParams) SetTimeout ¶

SetTimeout adds the timeout to the get chartrepo repo charts name version labels params

func (*GetChartrepoRepoChartsNameVersionLabelsParams) SetVersion ¶

SetVersion adds the version to the get chartrepo repo charts name version labels params

func (*GetChartrepoRepoChartsNameVersionLabelsParams) WithContext ¶

WithContext adds the context to the get chartrepo repo charts name version labels params

func (*GetChartrepoRepoChartsNameVersionLabelsParams) WithDefaults ¶

WithDefaults hydrates default values in the get chartrepo repo charts name version labels params (not the query body).

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

func (*GetChartrepoRepoChartsNameVersionLabelsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get chartrepo repo charts name version labels params

func (*GetChartrepoRepoChartsNameVersionLabelsParams) WithName ¶

WithName adds the name to the get chartrepo repo charts name version labels params

func (*GetChartrepoRepoChartsNameVersionLabelsParams) WithRepo ¶

WithRepo adds the repo to the get chartrepo repo charts name version labels params

func (*GetChartrepoRepoChartsNameVersionLabelsParams) WithTimeout ¶

WithTimeout adds the timeout to the get chartrepo repo charts name version labels params

func (*GetChartrepoRepoChartsNameVersionLabelsParams) WithVersion ¶

WithVersion adds the version to the get chartrepo repo charts name version labels params

func (*GetChartrepoRepoChartsNameVersionLabelsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetChartrepoRepoChartsNameVersionLabelsReader ¶

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

GetChartrepoRepoChartsNameVersionLabelsReader is a Reader for the GetChartrepoRepoChartsNameVersionLabels structure.

func (*GetChartrepoRepoChartsNameVersionLabelsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetChartrepoRepoChartsNameVersionLabelsUnauthorized ¶

type GetChartrepoRepoChartsNameVersionLabelsUnauthorized struct {
}
GetChartrepoRepoChartsNameVersionLabelsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetChartrepoRepoChartsNameVersionLabelsUnauthorized ¶

func NewGetChartrepoRepoChartsNameVersionLabelsUnauthorized() *GetChartrepoRepoChartsNameVersionLabelsUnauthorized

NewGetChartrepoRepoChartsNameVersionLabelsUnauthorized creates a GetChartrepoRepoChartsNameVersionLabelsUnauthorized with default headers values

func (*GetChartrepoRepoChartsNameVersionLabelsUnauthorized) Error ¶

type GetConfigurationsForbidden ¶

type GetConfigurationsForbidden struct {
}
GetConfigurationsForbidden describes a response with status code 403, with default header values.

User does not have permission of admin role.

func NewGetConfigurationsForbidden ¶

func NewGetConfigurationsForbidden() *GetConfigurationsForbidden

NewGetConfigurationsForbidden creates a GetConfigurationsForbidden with default headers values

func (*GetConfigurationsForbidden) Error ¶

type GetConfigurationsInternalServerError ¶

type GetConfigurationsInternalServerError struct {
}
GetConfigurationsInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetConfigurationsInternalServerError ¶

func NewGetConfigurationsInternalServerError() *GetConfigurationsInternalServerError

NewGetConfigurationsInternalServerError creates a GetConfigurationsInternalServerError with default headers values

func (*GetConfigurationsInternalServerError) Error ¶

type GetConfigurationsOK ¶

type GetConfigurationsOK struct {
	Payload *legacy.ConfigurationsResponse
}
GetConfigurationsOK describes a response with status code 200, with default header values.

Get system configurations successfully. The response body is a map.

func NewGetConfigurationsOK ¶

func NewGetConfigurationsOK() *GetConfigurationsOK

NewGetConfigurationsOK creates a GetConfigurationsOK with default headers values

func (*GetConfigurationsOK) Error ¶

func (o *GetConfigurationsOK) Error() string

func (*GetConfigurationsOK) GetPayload ¶

type GetConfigurationsParams ¶

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

GetConfigurationsParams contains all the parameters to send to the API endpoint

for the get configurations operation.

Typically these are written to a http.Request.

func NewGetConfigurationsParams ¶

func NewGetConfigurationsParams() *GetConfigurationsParams

NewGetConfigurationsParams creates a new GetConfigurationsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetConfigurationsParamsWithContext ¶

func NewGetConfigurationsParamsWithContext(ctx context.Context) *GetConfigurationsParams

NewGetConfigurationsParamsWithContext creates a new GetConfigurationsParams object with the ability to set a context for a request.

func NewGetConfigurationsParamsWithHTTPClient ¶

func NewGetConfigurationsParamsWithHTTPClient(client *http.Client) *GetConfigurationsParams

NewGetConfigurationsParamsWithHTTPClient creates a new GetConfigurationsParams object with the ability to set a custom HTTPClient for a request.

func NewGetConfigurationsParamsWithTimeout ¶

func NewGetConfigurationsParamsWithTimeout(timeout time.Duration) *GetConfigurationsParams

NewGetConfigurationsParamsWithTimeout creates a new GetConfigurationsParams object with the ability to set a timeout on a request.

func (*GetConfigurationsParams) SetContext ¶

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

SetContext adds the context to the get configurations params

func (*GetConfigurationsParams) SetDefaults ¶

func (o *GetConfigurationsParams) SetDefaults()

SetDefaults hydrates default values in the get configurations params (not the query body).

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

func (*GetConfigurationsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get configurations params

func (*GetConfigurationsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get configurations params

func (*GetConfigurationsParams) WithContext ¶

WithContext adds the context to the get configurations params

func (*GetConfigurationsParams) WithDefaults ¶

WithDefaults hydrates default values in the get configurations params (not the query body).

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

func (*GetConfigurationsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get configurations params

func (*GetConfigurationsParams) WithTimeout ¶

WithTimeout adds the timeout to the get configurations params

func (*GetConfigurationsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetConfigurationsReader ¶

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

GetConfigurationsReader is a Reader for the GetConfigurations structure.

func (*GetConfigurationsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetConfigurationsUnauthorized ¶

type GetConfigurationsUnauthorized struct {
}
GetConfigurationsUnauthorized describes a response with status code 401, with default header values.

User need to log in first.Ăź

func NewGetConfigurationsUnauthorized ¶

func NewGetConfigurationsUnauthorized() *GetConfigurationsUnauthorized

NewGetConfigurationsUnauthorized creates a GetConfigurationsUnauthorized with default headers values

func (*GetConfigurationsUnauthorized) Error ¶

type GetHealthOK ¶

type GetHealthOK struct {
	Payload *legacy.OverallHealthStatus
}
GetHealthOK describes a response with status code 200, 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() *legacy.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetHealthParamsWithContext ¶

func NewGetHealthParamsWithContext(ctx context.Context) *GetHealthParams

NewGetHealthParamsWithContext creates a new GetHealthParams object with 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 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 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) SetDefaults ¶

func (o *GetHealthParams) SetDefaults()

SetDefaults hydrates default values in the get health params (not the query body).

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

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) WithDefaults ¶

func (o *GetHealthParams) WithDefaults() *GetHealthParams

WithDefaults hydrates default values in the get health params (not the query body).

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

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 GetLabelsBadRequest ¶

type GetLabelsBadRequest struct {
}
GetLabelsBadRequest describes a response with status code 400, with default header values.

Invalid parameters.

func NewGetLabelsBadRequest ¶

func NewGetLabelsBadRequest() *GetLabelsBadRequest

NewGetLabelsBadRequest creates a GetLabelsBadRequest with default headers values

func (*GetLabelsBadRequest) Error ¶

func (o *GetLabelsBadRequest) Error() string

type GetLabelsIDInternalServerError ¶

type GetLabelsIDInternalServerError struct {
}
GetLabelsIDInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetLabelsIDInternalServerError ¶

func NewGetLabelsIDInternalServerError() *GetLabelsIDInternalServerError

NewGetLabelsIDInternalServerError creates a GetLabelsIDInternalServerError with default headers values

func (*GetLabelsIDInternalServerError) Error ¶

type GetLabelsIDNotFound ¶

type GetLabelsIDNotFound struct {
}
GetLabelsIDNotFound describes a response with status code 404, with default header values.

The resource does not exist.

func NewGetLabelsIDNotFound ¶

func NewGetLabelsIDNotFound() *GetLabelsIDNotFound

NewGetLabelsIDNotFound creates a GetLabelsIDNotFound with default headers values

func (*GetLabelsIDNotFound) Error ¶

func (o *GetLabelsIDNotFound) Error() string

type GetLabelsIDOK ¶

type GetLabelsIDOK struct {
	Payload *legacy.Label
}
GetLabelsIDOK describes a response with status code 200, with default header values.

Get successfully.

func NewGetLabelsIDOK ¶

func NewGetLabelsIDOK() *GetLabelsIDOK

NewGetLabelsIDOK creates a GetLabelsIDOK with default headers values

func (*GetLabelsIDOK) Error ¶

func (o *GetLabelsIDOK) Error() string

func (*GetLabelsIDOK) GetPayload ¶

func (o *GetLabelsIDOK) GetPayload() *legacy.Label

type GetLabelsIDParams ¶

type GetLabelsIDParams struct {

	/* ID.

	   Label ID

	   Format: int64
	*/
	ID int64

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

GetLabelsIDParams contains all the parameters to send to the API endpoint

for the get labels ID operation.

Typically these are written to a http.Request.

func NewGetLabelsIDParams ¶

func NewGetLabelsIDParams() *GetLabelsIDParams

NewGetLabelsIDParams creates a new GetLabelsIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetLabelsIDParamsWithContext ¶

func NewGetLabelsIDParamsWithContext(ctx context.Context) *GetLabelsIDParams

NewGetLabelsIDParamsWithContext creates a new GetLabelsIDParams object with the ability to set a context for a request.

func NewGetLabelsIDParamsWithHTTPClient ¶

func NewGetLabelsIDParamsWithHTTPClient(client *http.Client) *GetLabelsIDParams

NewGetLabelsIDParamsWithHTTPClient creates a new GetLabelsIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetLabelsIDParamsWithTimeout ¶

func NewGetLabelsIDParamsWithTimeout(timeout time.Duration) *GetLabelsIDParams

NewGetLabelsIDParamsWithTimeout creates a new GetLabelsIDParams object with the ability to set a timeout on a request.

func (*GetLabelsIDParams) SetContext ¶

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

SetContext adds the context to the get labels ID params

func (*GetLabelsIDParams) SetDefaults ¶

func (o *GetLabelsIDParams) SetDefaults()

SetDefaults hydrates default values in the get labels ID params (not the query body).

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

func (*GetLabelsIDParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get labels ID params

func (*GetLabelsIDParams) SetID ¶

func (o *GetLabelsIDParams) SetID(id int64)

SetID adds the id to the get labels ID params

func (*GetLabelsIDParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get labels ID params

func (*GetLabelsIDParams) WithContext ¶

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

WithContext adds the context to the get labels ID params

func (*GetLabelsIDParams) WithDefaults ¶

func (o *GetLabelsIDParams) WithDefaults() *GetLabelsIDParams

WithDefaults hydrates default values in the get labels ID params (not the query body).

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

func (*GetLabelsIDParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get labels ID params

func (*GetLabelsIDParams) WithID ¶

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

WithID adds the id to the get labels ID params

func (*GetLabelsIDParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get labels ID params

func (*GetLabelsIDParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetLabelsIDReader ¶

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

GetLabelsIDReader is a Reader for the GetLabelsID structure.

func (*GetLabelsIDReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetLabelsIDUnauthorized ¶

type GetLabelsIDUnauthorized struct {
}
GetLabelsIDUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetLabelsIDUnauthorized ¶

func NewGetLabelsIDUnauthorized() *GetLabelsIDUnauthorized

NewGetLabelsIDUnauthorized creates a GetLabelsIDUnauthorized with default headers values

func (*GetLabelsIDUnauthorized) Error ¶

func (o *GetLabelsIDUnauthorized) Error() string

type GetLabelsInternalServerError ¶

type GetLabelsInternalServerError struct {
}
GetLabelsInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetLabelsInternalServerError ¶

func NewGetLabelsInternalServerError() *GetLabelsInternalServerError

NewGetLabelsInternalServerError creates a GetLabelsInternalServerError with default headers values

func (*GetLabelsInternalServerError) Error ¶

type GetLabelsOK ¶

type GetLabelsOK struct {
	Payload []*legacy.Label
}
GetLabelsOK describes a response with status code 200, with default header values.

Get successfully.

func NewGetLabelsOK ¶

func NewGetLabelsOK() *GetLabelsOK

NewGetLabelsOK creates a GetLabelsOK with default headers values

func (*GetLabelsOK) Error ¶

func (o *GetLabelsOK) Error() string

func (*GetLabelsOK) GetPayload ¶

func (o *GetLabelsOK) GetPayload() []*legacy.Label

type GetLabelsParams ¶

type GetLabelsParams struct {

	/* Name.

	   The label name.
	*/
	Name *string

	/* Page.

	   The page nubmer.

	   Format: int32
	*/
	Page *int32

	/* PageSize.

	   The size of per page.

	   Format: int32
	*/
	PageSize *int32

	/* ProjectID.

	   Relevant project ID, required when scope is p.

	   Format: int64
	*/
	ProjectID *int64

	/* Scope.

	   The label scope. Valid values are g and p. g for global labels and p for project labels.
	*/
	Scope string

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

GetLabelsParams contains all the parameters to send to the API endpoint

for the get labels operation.

Typically these are written to a http.Request.

func NewGetLabelsParams ¶

func NewGetLabelsParams() *GetLabelsParams

NewGetLabelsParams creates a new GetLabelsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetLabelsParamsWithContext ¶

func NewGetLabelsParamsWithContext(ctx context.Context) *GetLabelsParams

NewGetLabelsParamsWithContext creates a new GetLabelsParams object with the ability to set a context for a request.

func NewGetLabelsParamsWithHTTPClient ¶

func NewGetLabelsParamsWithHTTPClient(client *http.Client) *GetLabelsParams

NewGetLabelsParamsWithHTTPClient creates a new GetLabelsParams object with the ability to set a custom HTTPClient for a request.

func NewGetLabelsParamsWithTimeout ¶

func NewGetLabelsParamsWithTimeout(timeout time.Duration) *GetLabelsParams

NewGetLabelsParamsWithTimeout creates a new GetLabelsParams object with the ability to set a timeout on a request.

func (*GetLabelsParams) SetContext ¶

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

SetContext adds the context to the get labels params

func (*GetLabelsParams) SetDefaults ¶

func (o *GetLabelsParams) SetDefaults()

SetDefaults hydrates default values in the get labels params (not the query body).

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

func (*GetLabelsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get labels params

func (*GetLabelsParams) SetName ¶

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

SetName adds the name to the get labels params

func (*GetLabelsParams) SetPage ¶

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

SetPage adds the page to the get labels params

func (*GetLabelsParams) SetPageSize ¶

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

SetPageSize adds the pageSize to the get labels params

func (*GetLabelsParams) SetProjectID ¶

func (o *GetLabelsParams) SetProjectID(projectID *int64)

SetProjectID adds the projectId to the get labels params

func (*GetLabelsParams) SetScope ¶

func (o *GetLabelsParams) SetScope(scope string)

SetScope adds the scope to the get labels params

func (*GetLabelsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get labels params

func (*GetLabelsParams) WithContext ¶

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

WithContext adds the context to the get labels params

func (*GetLabelsParams) WithDefaults ¶

func (o *GetLabelsParams) WithDefaults() *GetLabelsParams

WithDefaults hydrates default values in the get labels params (not the query body).

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

func (*GetLabelsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get labels params

func (*GetLabelsParams) WithName ¶

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

WithName adds the name to the get labels params

func (*GetLabelsParams) WithPage ¶

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

WithPage adds the page to the get labels params

func (*GetLabelsParams) WithPageSize ¶

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

WithPageSize adds the pageSize to the get labels params

func (*GetLabelsParams) WithProjectID ¶

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

WithProjectID adds the projectID to the get labels params

func (*GetLabelsParams) WithScope ¶

func (o *GetLabelsParams) WithScope(scope string) *GetLabelsParams

WithScope adds the scope to the get labels params

func (*GetLabelsParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get labels params

func (*GetLabelsParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetLabelsReader ¶

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

GetLabelsReader is a Reader for the GetLabels structure.

func (*GetLabelsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetLabelsUnauthorized ¶

type GetLabelsUnauthorized struct {
}
GetLabelsUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetLabelsUnauthorized ¶

func NewGetLabelsUnauthorized() *GetLabelsUnauthorized

NewGetLabelsUnauthorized creates a GetLabelsUnauthorized with default headers values

func (*GetLabelsUnauthorized) Error ¶

func (o *GetLabelsUnauthorized) Error() string

type GetLdapGroupsSearchBadRequest ¶

type GetLdapGroupsSearchBadRequest struct {
}
GetLdapGroupsSearchBadRequest describes a response with status code 400, with default header values.

The Ldap group DN is invalid.

func NewGetLdapGroupsSearchBadRequest ¶

func NewGetLdapGroupsSearchBadRequest() *GetLdapGroupsSearchBadRequest

NewGetLdapGroupsSearchBadRequest creates a GetLdapGroupsSearchBadRequest with default headers values

func (*GetLdapGroupsSearchBadRequest) Error ¶

type GetLdapGroupsSearchInternalServerError ¶

type GetLdapGroupsSearchInternalServerError struct {
}
GetLdapGroupsSearchInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetLdapGroupsSearchInternalServerError ¶

func NewGetLdapGroupsSearchInternalServerError() *GetLdapGroupsSearchInternalServerError

NewGetLdapGroupsSearchInternalServerError creates a GetLdapGroupsSearchInternalServerError with default headers values

func (*GetLdapGroupsSearchInternalServerError) Error ¶

type GetLdapGroupsSearchNotFound ¶

type GetLdapGroupsSearchNotFound struct {
}
GetLdapGroupsSearchNotFound describes a response with status code 404, with default header values.

No ldap group found.

func NewGetLdapGroupsSearchNotFound ¶

func NewGetLdapGroupsSearchNotFound() *GetLdapGroupsSearchNotFound

NewGetLdapGroupsSearchNotFound creates a GetLdapGroupsSearchNotFound with default headers values

func (*GetLdapGroupsSearchNotFound) Error ¶

type GetLdapGroupsSearchOK ¶

type GetLdapGroupsSearchOK struct {
	Payload []*legacy.UserGroup
}
GetLdapGroupsSearchOK describes a response with status code 200, with default header values.

Search ldap group successfully.

func NewGetLdapGroupsSearchOK ¶

func NewGetLdapGroupsSearchOK() *GetLdapGroupsSearchOK

NewGetLdapGroupsSearchOK creates a GetLdapGroupsSearchOK with default headers values

func (*GetLdapGroupsSearchOK) Error ¶

func (o *GetLdapGroupsSearchOK) Error() string

func (*GetLdapGroupsSearchOK) GetPayload ¶

func (o *GetLdapGroupsSearchOK) GetPayload() []*legacy.UserGroup

type GetLdapGroupsSearchParams ¶

type GetLdapGroupsSearchParams struct {

	/* Groupdn.

	   The LDAP group DN
	*/
	Groupdn *string

	/* Groupname.

	   Ldap group name
	*/
	Groupname *string

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

GetLdapGroupsSearchParams contains all the parameters to send to the API endpoint

for the get ldap groups search operation.

Typically these are written to a http.Request.

func NewGetLdapGroupsSearchParams ¶

func NewGetLdapGroupsSearchParams() *GetLdapGroupsSearchParams

NewGetLdapGroupsSearchParams creates a new GetLdapGroupsSearchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetLdapGroupsSearchParamsWithContext ¶

func NewGetLdapGroupsSearchParamsWithContext(ctx context.Context) *GetLdapGroupsSearchParams

NewGetLdapGroupsSearchParamsWithContext creates a new GetLdapGroupsSearchParams object with the ability to set a context for a request.

func NewGetLdapGroupsSearchParamsWithHTTPClient ¶

func NewGetLdapGroupsSearchParamsWithHTTPClient(client *http.Client) *GetLdapGroupsSearchParams

NewGetLdapGroupsSearchParamsWithHTTPClient creates a new GetLdapGroupsSearchParams object with the ability to set a custom HTTPClient for a request.

func NewGetLdapGroupsSearchParamsWithTimeout ¶

func NewGetLdapGroupsSearchParamsWithTimeout(timeout time.Duration) *GetLdapGroupsSearchParams

NewGetLdapGroupsSearchParamsWithTimeout creates a new GetLdapGroupsSearchParams object with the ability to set a timeout on a request.

func (*GetLdapGroupsSearchParams) SetContext ¶

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

SetContext adds the context to the get ldap groups search params

func (*GetLdapGroupsSearchParams) SetDefaults ¶

func (o *GetLdapGroupsSearchParams) SetDefaults()

SetDefaults hydrates default values in the get ldap groups search params (not the query body).

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

func (*GetLdapGroupsSearchParams) SetGroupdn ¶

func (o *GetLdapGroupsSearchParams) SetGroupdn(groupdn *string)

SetGroupdn adds the groupdn to the get ldap groups search params

func (*GetLdapGroupsSearchParams) SetGroupname ¶

func (o *GetLdapGroupsSearchParams) SetGroupname(groupname *string)

SetGroupname adds the groupname to the get ldap groups search params

func (*GetLdapGroupsSearchParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get ldap groups search params

func (*GetLdapGroupsSearchParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get ldap groups search params

func (*GetLdapGroupsSearchParams) WithContext ¶

WithContext adds the context to the get ldap groups search params

func (*GetLdapGroupsSearchParams) WithDefaults ¶

WithDefaults hydrates default values in the get ldap groups search params (not the query body).

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

func (*GetLdapGroupsSearchParams) WithGroupdn ¶

WithGroupdn adds the groupdn to the get ldap groups search params

func (*GetLdapGroupsSearchParams) WithGroupname ¶

func (o *GetLdapGroupsSearchParams) WithGroupname(groupname *string) *GetLdapGroupsSearchParams

WithGroupname adds the groupname to the get ldap groups search params

func (*GetLdapGroupsSearchParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get ldap groups search params

func (*GetLdapGroupsSearchParams) WithTimeout ¶

WithTimeout adds the timeout to the get ldap groups search params

func (*GetLdapGroupsSearchParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetLdapGroupsSearchReader ¶

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

GetLdapGroupsSearchReader is a Reader for the GetLdapGroupsSearch structure.

func (*GetLdapGroupsSearchReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetLdapUsersSearchForbidden ¶

type GetLdapUsersSearchForbidden struct {
}
GetLdapUsersSearchForbidden describes a response with status code 403, with default header values.

Only admin has this authority.

func NewGetLdapUsersSearchForbidden ¶

func NewGetLdapUsersSearchForbidden() *GetLdapUsersSearchForbidden

NewGetLdapUsersSearchForbidden creates a GetLdapUsersSearchForbidden with default headers values

func (*GetLdapUsersSearchForbidden) Error ¶

type GetLdapUsersSearchInternalServerError ¶

type GetLdapUsersSearchInternalServerError struct {
}
GetLdapUsersSearchInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetLdapUsersSearchInternalServerError ¶

func NewGetLdapUsersSearchInternalServerError() *GetLdapUsersSearchInternalServerError

NewGetLdapUsersSearchInternalServerError creates a GetLdapUsersSearchInternalServerError with default headers values

func (*GetLdapUsersSearchInternalServerError) Error ¶

type GetLdapUsersSearchOK ¶

type GetLdapUsersSearchOK struct {
	Payload []*legacy.LdapUsers
}
GetLdapUsersSearchOK describes a response with status code 200, with default header values.

Search ldap users successfully.

func NewGetLdapUsersSearchOK ¶

func NewGetLdapUsersSearchOK() *GetLdapUsersSearchOK

NewGetLdapUsersSearchOK creates a GetLdapUsersSearchOK with default headers values

func (*GetLdapUsersSearchOK) Error ¶

func (o *GetLdapUsersSearchOK) Error() string

func (*GetLdapUsersSearchOK) GetPayload ¶

func (o *GetLdapUsersSearchOK) GetPayload() []*legacy.LdapUsers

type GetLdapUsersSearchParams ¶

type GetLdapUsersSearchParams struct {

	/* Username.

	   Registered user ID
	*/
	Username *string

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

GetLdapUsersSearchParams contains all the parameters to send to the API endpoint

for the get ldap users search operation.

Typically these are written to a http.Request.

func NewGetLdapUsersSearchParams ¶

func NewGetLdapUsersSearchParams() *GetLdapUsersSearchParams

NewGetLdapUsersSearchParams creates a new GetLdapUsersSearchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetLdapUsersSearchParamsWithContext ¶

func NewGetLdapUsersSearchParamsWithContext(ctx context.Context) *GetLdapUsersSearchParams

NewGetLdapUsersSearchParamsWithContext creates a new GetLdapUsersSearchParams object with the ability to set a context for a request.

func NewGetLdapUsersSearchParamsWithHTTPClient ¶

func NewGetLdapUsersSearchParamsWithHTTPClient(client *http.Client) *GetLdapUsersSearchParams

NewGetLdapUsersSearchParamsWithHTTPClient creates a new GetLdapUsersSearchParams object with the ability to set a custom HTTPClient for a request.

func NewGetLdapUsersSearchParamsWithTimeout ¶

func NewGetLdapUsersSearchParamsWithTimeout(timeout time.Duration) *GetLdapUsersSearchParams

NewGetLdapUsersSearchParamsWithTimeout creates a new GetLdapUsersSearchParams object with the ability to set a timeout on a request.

func (*GetLdapUsersSearchParams) SetContext ¶

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

SetContext adds the context to the get ldap users search params

func (*GetLdapUsersSearchParams) SetDefaults ¶

func (o *GetLdapUsersSearchParams) SetDefaults()

SetDefaults hydrates default values in the get ldap users search params (not the query body).

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

func (*GetLdapUsersSearchParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get ldap users search params

func (*GetLdapUsersSearchParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get ldap users search params

func (*GetLdapUsersSearchParams) SetUsername ¶

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

SetUsername adds the username to the get ldap users search params

func (*GetLdapUsersSearchParams) WithContext ¶

WithContext adds the context to the get ldap users search params

func (*GetLdapUsersSearchParams) WithDefaults ¶

WithDefaults hydrates default values in the get ldap users search params (not the query body).

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

func (*GetLdapUsersSearchParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get ldap users search params

func (*GetLdapUsersSearchParams) WithTimeout ¶

WithTimeout adds the timeout to the get ldap users search params

func (*GetLdapUsersSearchParams) WithUsername ¶

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

WithUsername adds the username to the get ldap users search params

func (*GetLdapUsersSearchParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetLdapUsersSearchReader ¶

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

GetLdapUsersSearchReader is a Reader for the GetLdapUsersSearch structure.

func (*GetLdapUsersSearchReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetLdapUsersSearchUnauthorized ¶

type GetLdapUsersSearchUnauthorized struct {
}
GetLdapUsersSearchUnauthorized describes a response with status code 401, with default header values.

User need to login first.

func NewGetLdapUsersSearchUnauthorized ¶

func NewGetLdapUsersSearchUnauthorized() *GetLdapUsersSearchUnauthorized

NewGetLdapUsersSearchUnauthorized creates a GetLdapUsersSearchUnauthorized with default headers values

func (*GetLdapUsersSearchUnauthorized) Error ¶

type GetProjectsProjectIDImmutabletagrulesBadRequest ¶

type GetProjectsProjectIDImmutabletagrulesBadRequest struct {
}
GetProjectsProjectIDImmutabletagrulesBadRequest describes a response with status code 400, with default header values.

Illegal format of provided ID value.

func NewGetProjectsProjectIDImmutabletagrulesBadRequest ¶

func NewGetProjectsProjectIDImmutabletagrulesBadRequest() *GetProjectsProjectIDImmutabletagrulesBadRequest

NewGetProjectsProjectIDImmutabletagrulesBadRequest creates a GetProjectsProjectIDImmutabletagrulesBadRequest with default headers values

func (*GetProjectsProjectIDImmutabletagrulesBadRequest) Error ¶

type GetProjectsProjectIDImmutabletagrulesForbidden ¶

type GetProjectsProjectIDImmutabletagrulesForbidden struct {
}
GetProjectsProjectIDImmutabletagrulesForbidden describes a response with status code 403, with default header values.

User have no permission to list immutable tag rules of the project.

func NewGetProjectsProjectIDImmutabletagrulesForbidden ¶

func NewGetProjectsProjectIDImmutabletagrulesForbidden() *GetProjectsProjectIDImmutabletagrulesForbidden

NewGetProjectsProjectIDImmutabletagrulesForbidden creates a GetProjectsProjectIDImmutabletagrulesForbidden with default headers values

func (*GetProjectsProjectIDImmutabletagrulesForbidden) Error ¶

type GetProjectsProjectIDImmutabletagrulesInternalServerError ¶

type GetProjectsProjectIDImmutabletagrulesInternalServerError struct {
}
GetProjectsProjectIDImmutabletagrulesInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetProjectsProjectIDImmutabletagrulesInternalServerError ¶

func NewGetProjectsProjectIDImmutabletagrulesInternalServerError() *GetProjectsProjectIDImmutabletagrulesInternalServerError

NewGetProjectsProjectIDImmutabletagrulesInternalServerError creates a GetProjectsProjectIDImmutabletagrulesInternalServerError with default headers values

func (*GetProjectsProjectIDImmutabletagrulesInternalServerError) Error ¶

type GetProjectsProjectIDImmutabletagrulesOK ¶

type GetProjectsProjectIDImmutabletagrulesOK struct {
	Payload []*legacy.RetentionRule
}
GetProjectsProjectIDImmutabletagrulesOK describes a response with status code 200, with default header values.

List project immutable tag rules successfully.

func NewGetProjectsProjectIDImmutabletagrulesOK ¶

func NewGetProjectsProjectIDImmutabletagrulesOK() *GetProjectsProjectIDImmutabletagrulesOK

NewGetProjectsProjectIDImmutabletagrulesOK creates a GetProjectsProjectIDImmutabletagrulesOK with default headers values

func (*GetProjectsProjectIDImmutabletagrulesOK) Error ¶

func (*GetProjectsProjectIDImmutabletagrulesOK) GetPayload ¶

type GetProjectsProjectIDImmutabletagrulesParams ¶

type GetProjectsProjectIDImmutabletagrulesParams struct {

	/* ProjectID.

	   Relevant project ID.

	   Format: int64
	*/
	ProjectID int64

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

GetProjectsProjectIDImmutabletagrulesParams contains all the parameters to send to the API endpoint

for the get projects project ID immutabletagrules operation.

Typically these are written to a http.Request.

func NewGetProjectsProjectIDImmutabletagrulesParams ¶

func NewGetProjectsProjectIDImmutabletagrulesParams() *GetProjectsProjectIDImmutabletagrulesParams

NewGetProjectsProjectIDImmutabletagrulesParams creates a new GetProjectsProjectIDImmutabletagrulesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectsProjectIDImmutabletagrulesParamsWithContext ¶

func NewGetProjectsProjectIDImmutabletagrulesParamsWithContext(ctx context.Context) *GetProjectsProjectIDImmutabletagrulesParams

NewGetProjectsProjectIDImmutabletagrulesParamsWithContext creates a new GetProjectsProjectIDImmutabletagrulesParams object with the ability to set a context for a request.

func NewGetProjectsProjectIDImmutabletagrulesParamsWithHTTPClient ¶

func NewGetProjectsProjectIDImmutabletagrulesParamsWithHTTPClient(client *http.Client) *GetProjectsProjectIDImmutabletagrulesParams

NewGetProjectsProjectIDImmutabletagrulesParamsWithHTTPClient creates a new GetProjectsProjectIDImmutabletagrulesParams object with the ability to set a custom HTTPClient for a request.

func NewGetProjectsProjectIDImmutabletagrulesParamsWithTimeout ¶

func NewGetProjectsProjectIDImmutabletagrulesParamsWithTimeout(timeout time.Duration) *GetProjectsProjectIDImmutabletagrulesParams

NewGetProjectsProjectIDImmutabletagrulesParamsWithTimeout creates a new GetProjectsProjectIDImmutabletagrulesParams object with the ability to set a timeout on a request.

func (*GetProjectsProjectIDImmutabletagrulesParams) SetContext ¶

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

func (*GetProjectsProjectIDImmutabletagrulesParams) SetDefaults ¶

SetDefaults hydrates default values in the get projects project ID immutabletagrules params (not the query body).

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

func (*GetProjectsProjectIDImmutabletagrulesParams) SetHTTPClient ¶

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

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

func (*GetProjectsProjectIDImmutabletagrulesParams) SetProjectID ¶

func (o *GetProjectsProjectIDImmutabletagrulesParams) SetProjectID(projectID int64)

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

func (*GetProjectsProjectIDImmutabletagrulesParams) SetTimeout ¶

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

func (*GetProjectsProjectIDImmutabletagrulesParams) WithContext ¶

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

func (*GetProjectsProjectIDImmutabletagrulesParams) WithDefaults ¶

WithDefaults hydrates default values in the get projects project ID immutabletagrules params (not the query body).

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

func (*GetProjectsProjectIDImmutabletagrulesParams) WithHTTPClient ¶

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

func (*GetProjectsProjectIDImmutabletagrulesParams) WithProjectID ¶

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

func (*GetProjectsProjectIDImmutabletagrulesParams) WithTimeout ¶

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

func (*GetProjectsProjectIDImmutabletagrulesParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetProjectsProjectIDImmutabletagrulesReader ¶

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

GetProjectsProjectIDImmutabletagrulesReader is a Reader for the GetProjectsProjectIDImmutabletagrules structure.

func (*GetProjectsProjectIDImmutabletagrulesReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetProjectsProjectIDImmutabletagrulesUnauthorized ¶

type GetProjectsProjectIDImmutabletagrulesUnauthorized struct {
}
GetProjectsProjectIDImmutabletagrulesUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetProjectsProjectIDImmutabletagrulesUnauthorized ¶

func NewGetProjectsProjectIDImmutabletagrulesUnauthorized() *GetProjectsProjectIDImmutabletagrulesUnauthorized

NewGetProjectsProjectIDImmutabletagrulesUnauthorized creates a GetProjectsProjectIDImmutabletagrulesUnauthorized with default headers values

func (*GetProjectsProjectIDImmutabletagrulesUnauthorized) Error ¶

type GetProjectsProjectIDMembersBadRequest ¶

type GetProjectsProjectIDMembersBadRequest struct {
}
GetProjectsProjectIDMembersBadRequest describes a response with status code 400, 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 describes a response with status code 403, 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 describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetProjectsProjectIDMembersInternalServerError ¶

func NewGetProjectsProjectIDMembersInternalServerError() *GetProjectsProjectIDMembersInternalServerError

NewGetProjectsProjectIDMembersInternalServerError creates a GetProjectsProjectIDMembersInternalServerError with default headers values

func (*GetProjectsProjectIDMembersInternalServerError) Error ¶

type GetProjectsProjectIDMembersMidBadRequest ¶

type GetProjectsProjectIDMembersMidBadRequest struct {
}
GetProjectsProjectIDMembersMidBadRequest describes a response with status code 400, with default header values.

Illegal format of project member or invalid project id, member id.

func NewGetProjectsProjectIDMembersMidBadRequest ¶

func NewGetProjectsProjectIDMembersMidBadRequest() *GetProjectsProjectIDMembersMidBadRequest

NewGetProjectsProjectIDMembersMidBadRequest creates a GetProjectsProjectIDMembersMidBadRequest with default headers values

func (*GetProjectsProjectIDMembersMidBadRequest) Error ¶

type GetProjectsProjectIDMembersMidForbidden ¶

type GetProjectsProjectIDMembersMidForbidden struct {
}
GetProjectsProjectIDMembersMidForbidden describes a response with status code 403, with default header values.

User in session does not have permission to the project.

func NewGetProjectsProjectIDMembersMidForbidden ¶

func NewGetProjectsProjectIDMembersMidForbidden() *GetProjectsProjectIDMembersMidForbidden

NewGetProjectsProjectIDMembersMidForbidden creates a GetProjectsProjectIDMembersMidForbidden with default headers values

func (*GetProjectsProjectIDMembersMidForbidden) Error ¶

type GetProjectsProjectIDMembersMidInternalServerError ¶

type GetProjectsProjectIDMembersMidInternalServerError struct {
}
GetProjectsProjectIDMembersMidInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetProjectsProjectIDMembersMidInternalServerError ¶

func NewGetProjectsProjectIDMembersMidInternalServerError() *GetProjectsProjectIDMembersMidInternalServerError

NewGetProjectsProjectIDMembersMidInternalServerError creates a GetProjectsProjectIDMembersMidInternalServerError with default headers values

func (*GetProjectsProjectIDMembersMidInternalServerError) Error ¶

type GetProjectsProjectIDMembersMidNotFound ¶

type GetProjectsProjectIDMembersMidNotFound struct {
}
GetProjectsProjectIDMembersMidNotFound describes a response with status code 404, with default header values.

Project or projet member does not exist.

func NewGetProjectsProjectIDMembersMidNotFound ¶

func NewGetProjectsProjectIDMembersMidNotFound() *GetProjectsProjectIDMembersMidNotFound

NewGetProjectsProjectIDMembersMidNotFound creates a GetProjectsProjectIDMembersMidNotFound with default headers values

func (*GetProjectsProjectIDMembersMidNotFound) Error ¶

type GetProjectsProjectIDMembersMidOK ¶

type GetProjectsProjectIDMembersMidOK struct {
	Payload *legacy.ProjectMemberEntity
}
GetProjectsProjectIDMembersMidOK describes a response with status code 200, with default header values.

Project member retrieved successfully.

func NewGetProjectsProjectIDMembersMidOK ¶

func NewGetProjectsProjectIDMembersMidOK() *GetProjectsProjectIDMembersMidOK

NewGetProjectsProjectIDMembersMidOK creates a GetProjectsProjectIDMembersMidOK with default headers values

func (*GetProjectsProjectIDMembersMidOK) Error ¶

func (*GetProjectsProjectIDMembersMidOK) GetPayload ¶

type GetProjectsProjectIDMembersMidParams ¶

type GetProjectsProjectIDMembersMidParams struct {

	/* Mid.

	   The member ID

	   Format: int64
	*/
	Mid int64

	/* ProjectID.

	   Relevant project ID.

	   Format: int64
	*/
	ProjectID int64

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

GetProjectsProjectIDMembersMidParams contains all the parameters to send to the API endpoint

for the get projects project ID members mid operation.

Typically these are written to a http.Request.

func NewGetProjectsProjectIDMembersMidParams ¶

func NewGetProjectsProjectIDMembersMidParams() *GetProjectsProjectIDMembersMidParams

NewGetProjectsProjectIDMembersMidParams creates a new GetProjectsProjectIDMembersMidParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectsProjectIDMembersMidParamsWithContext ¶

func NewGetProjectsProjectIDMembersMidParamsWithContext(ctx context.Context) *GetProjectsProjectIDMembersMidParams

NewGetProjectsProjectIDMembersMidParamsWithContext creates a new GetProjectsProjectIDMembersMidParams object with the ability to set a context for a request.

func NewGetProjectsProjectIDMembersMidParamsWithHTTPClient ¶

func NewGetProjectsProjectIDMembersMidParamsWithHTTPClient(client *http.Client) *GetProjectsProjectIDMembersMidParams

NewGetProjectsProjectIDMembersMidParamsWithHTTPClient creates a new GetProjectsProjectIDMembersMidParams object with the ability to set a custom HTTPClient for a request.

func NewGetProjectsProjectIDMembersMidParamsWithTimeout ¶

func NewGetProjectsProjectIDMembersMidParamsWithTimeout(timeout time.Duration) *GetProjectsProjectIDMembersMidParams

NewGetProjectsProjectIDMembersMidParamsWithTimeout creates a new GetProjectsProjectIDMembersMidParams object with the ability to set a timeout on a request.

func (*GetProjectsProjectIDMembersMidParams) SetContext ¶

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

func (*GetProjectsProjectIDMembersMidParams) SetDefaults ¶

func (o *GetProjectsProjectIDMembersMidParams) SetDefaults()

SetDefaults hydrates default values in the get projects project ID members mid params (not the query body).

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

func (*GetProjectsProjectIDMembersMidParams) SetHTTPClient ¶

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

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

func (*GetProjectsProjectIDMembersMidParams) SetMid ¶

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

func (*GetProjectsProjectIDMembersMidParams) SetProjectID ¶

func (o *GetProjectsProjectIDMembersMidParams) SetProjectID(projectID int64)

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

func (*GetProjectsProjectIDMembersMidParams) SetTimeout ¶

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

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

func (*GetProjectsProjectIDMembersMidParams) WithContext ¶

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

func (*GetProjectsProjectIDMembersMidParams) WithDefaults ¶

WithDefaults hydrates default values in the get projects project ID members mid params (not the query body).

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

func (*GetProjectsProjectIDMembersMidParams) WithHTTPClient ¶

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

func (*GetProjectsProjectIDMembersMidParams) WithMid ¶

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

func (*GetProjectsProjectIDMembersMidParams) WithProjectID ¶

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

func (*GetProjectsProjectIDMembersMidParams) WithTimeout ¶

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

func (*GetProjectsProjectIDMembersMidParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetProjectsProjectIDMembersMidReader ¶

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

GetProjectsProjectIDMembersMidReader is a Reader for the GetProjectsProjectIDMembersMid structure.

func (*GetProjectsProjectIDMembersMidReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetProjectsProjectIDMembersMidUnauthorized ¶

type GetProjectsProjectIDMembersMidUnauthorized struct {
}
GetProjectsProjectIDMembersMidUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetProjectsProjectIDMembersMidUnauthorized ¶

func NewGetProjectsProjectIDMembersMidUnauthorized() *GetProjectsProjectIDMembersMidUnauthorized

NewGetProjectsProjectIDMembersMidUnauthorized creates a GetProjectsProjectIDMembersMidUnauthorized with default headers values

func (*GetProjectsProjectIDMembersMidUnauthorized) Error ¶

type GetProjectsProjectIDMembersNotFound ¶

type GetProjectsProjectIDMembersNotFound struct {
}
GetProjectsProjectIDMembersNotFound describes a response with status code 404, 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 []*legacy.ProjectMemberEntity
}
GetProjectsProjectIDMembersOK describes a response with status code 200, 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.

	   Format: int64
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectsProjectIDMembersParamsWithContext ¶

func NewGetProjectsProjectIDMembersParamsWithContext(ctx context.Context) *GetProjectsProjectIDMembersParams

NewGetProjectsProjectIDMembersParamsWithContext creates a new GetProjectsProjectIDMembersParams object with 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 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 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) SetDefaults ¶

func (o *GetProjectsProjectIDMembersParams) SetDefaults()

SetDefaults hydrates default values in the get projects project ID members params (not the query body).

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

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) WithDefaults ¶

WithDefaults hydrates default values in the get projects project ID members params (not the query body).

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

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 describes a response with status code 401, 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 describes a response with status code 500, 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 describes a response with status code 500, 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 *legacy.ProjectMetadata
}
GetProjectsProjectIDMetadatasMetaNameOK describes a response with status code 200, 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.

	   Format: int64
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectsProjectIDMetadatasMetaNameParamsWithContext ¶

func NewGetProjectsProjectIDMetadatasMetaNameParamsWithContext(ctx context.Context) *GetProjectsProjectIDMetadatasMetaNameParams

NewGetProjectsProjectIDMetadatasMetaNameParamsWithContext creates a new GetProjectsProjectIDMetadatasMetaNameParams object with 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 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 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) SetDefaults ¶

SetDefaults hydrates default values in the get projects project ID metadatas meta name params (not the query body).

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

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) WithDefaults ¶

WithDefaults hydrates default values in the get projects project ID metadatas meta name params (not the query body).

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

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 describes a response with status code 401, 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 *legacy.ProjectMetadata
}
GetProjectsProjectIDMetadatasOK describes a response with status code 200, 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.

	   Format: int64
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectsProjectIDMetadatasParamsWithContext ¶

func NewGetProjectsProjectIDMetadatasParamsWithContext(ctx context.Context) *GetProjectsProjectIDMetadatasParams

NewGetProjectsProjectIDMetadatasParamsWithContext creates a new GetProjectsProjectIDMetadatasParams object with 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 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 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) SetDefaults ¶

func (o *GetProjectsProjectIDMetadatasParams) SetDefaults()

SetDefaults hydrates default values in the get projects project ID metadatas params (not the query body).

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

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) WithDefaults ¶

WithDefaults hydrates default values in the get projects project ID metadatas params (not the query body).

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

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 describes a response with status code 401, 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 GetProjectsProjectIDRobotsBadRequest ¶

type GetProjectsProjectIDRobotsBadRequest struct {
}
GetProjectsProjectIDRobotsBadRequest describes a response with status code 400, with default header values.

The project id is invalid.

func NewGetProjectsProjectIDRobotsBadRequest ¶

func NewGetProjectsProjectIDRobotsBadRequest() *GetProjectsProjectIDRobotsBadRequest

NewGetProjectsProjectIDRobotsBadRequest creates a GetProjectsProjectIDRobotsBadRequest with default headers values

func (*GetProjectsProjectIDRobotsBadRequest) Error ¶

type GetProjectsProjectIDRobotsForbidden ¶

type GetProjectsProjectIDRobotsForbidden struct {
}
GetProjectsProjectIDRobotsForbidden describes a response with status code 403, with default header values.

User in session does not have permission to the project.

func NewGetProjectsProjectIDRobotsForbidden ¶

func NewGetProjectsProjectIDRobotsForbidden() *GetProjectsProjectIDRobotsForbidden

NewGetProjectsProjectIDRobotsForbidden creates a GetProjectsProjectIDRobotsForbidden with default headers values

func (*GetProjectsProjectIDRobotsForbidden) Error ¶

type GetProjectsProjectIDRobotsInternalServerError ¶

type GetProjectsProjectIDRobotsInternalServerError struct {
}
GetProjectsProjectIDRobotsInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetProjectsProjectIDRobotsInternalServerError ¶

func NewGetProjectsProjectIDRobotsInternalServerError() *GetProjectsProjectIDRobotsInternalServerError

NewGetProjectsProjectIDRobotsInternalServerError creates a GetProjectsProjectIDRobotsInternalServerError with default headers values

func (*GetProjectsProjectIDRobotsInternalServerError) Error ¶

type GetProjectsProjectIDRobotsNotFound ¶

type GetProjectsProjectIDRobotsNotFound struct {
}
GetProjectsProjectIDRobotsNotFound describes a response with status code 404, with default header values.

Project ID does not exist.

func NewGetProjectsProjectIDRobotsNotFound ¶

func NewGetProjectsProjectIDRobotsNotFound() *GetProjectsProjectIDRobotsNotFound

NewGetProjectsProjectIDRobotsNotFound creates a GetProjectsProjectIDRobotsNotFound with default headers values

func (*GetProjectsProjectIDRobotsNotFound) Error ¶

type GetProjectsProjectIDRobotsOK ¶

type GetProjectsProjectIDRobotsOK struct {
	Payload []*legacy.RobotAccount
}
GetProjectsProjectIDRobotsOK describes a response with status code 200, with default header values.

Get project robot accounts successfully.

func NewGetProjectsProjectIDRobotsOK ¶

func NewGetProjectsProjectIDRobotsOK() *GetProjectsProjectIDRobotsOK

NewGetProjectsProjectIDRobotsOK creates a GetProjectsProjectIDRobotsOK with default headers values

func (*GetProjectsProjectIDRobotsOK) Error ¶

func (*GetProjectsProjectIDRobotsOK) GetPayload ¶

type GetProjectsProjectIDRobotsParams ¶

type GetProjectsProjectIDRobotsParams struct {

	/* ProjectID.

	   Relevant project ID.

	   Format: int64
	*/
	ProjectID int64

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

GetProjectsProjectIDRobotsParams contains all the parameters to send to the API endpoint

for the get projects project ID robots operation.

Typically these are written to a http.Request.

func NewGetProjectsProjectIDRobotsParams ¶

func NewGetProjectsProjectIDRobotsParams() *GetProjectsProjectIDRobotsParams

NewGetProjectsProjectIDRobotsParams creates a new GetProjectsProjectIDRobotsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectsProjectIDRobotsParamsWithContext ¶

func NewGetProjectsProjectIDRobotsParamsWithContext(ctx context.Context) *GetProjectsProjectIDRobotsParams

NewGetProjectsProjectIDRobotsParamsWithContext creates a new GetProjectsProjectIDRobotsParams object with the ability to set a context for a request.

func NewGetProjectsProjectIDRobotsParamsWithHTTPClient ¶

func NewGetProjectsProjectIDRobotsParamsWithHTTPClient(client *http.Client) *GetProjectsProjectIDRobotsParams

NewGetProjectsProjectIDRobotsParamsWithHTTPClient creates a new GetProjectsProjectIDRobotsParams object with the ability to set a custom HTTPClient for a request.

func NewGetProjectsProjectIDRobotsParamsWithTimeout ¶

func NewGetProjectsProjectIDRobotsParamsWithTimeout(timeout time.Duration) *GetProjectsProjectIDRobotsParams

NewGetProjectsProjectIDRobotsParamsWithTimeout creates a new GetProjectsProjectIDRobotsParams object with the ability to set a timeout on a request.

func (*GetProjectsProjectIDRobotsParams) SetContext ¶

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

func (*GetProjectsProjectIDRobotsParams) SetDefaults ¶

func (o *GetProjectsProjectIDRobotsParams) SetDefaults()

SetDefaults hydrates default values in the get projects project ID robots params (not the query body).

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

func (*GetProjectsProjectIDRobotsParams) SetHTTPClient ¶

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

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

func (*GetProjectsProjectIDRobotsParams) SetProjectID ¶

func (o *GetProjectsProjectIDRobotsParams) SetProjectID(projectID int64)

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

func (*GetProjectsProjectIDRobotsParams) SetTimeout ¶

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

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

func (*GetProjectsProjectIDRobotsParams) WithContext ¶

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

func (*GetProjectsProjectIDRobotsParams) WithDefaults ¶

WithDefaults hydrates default values in the get projects project ID robots params (not the query body).

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

func (*GetProjectsProjectIDRobotsParams) WithHTTPClient ¶

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

func (*GetProjectsProjectIDRobotsParams) WithProjectID ¶

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

func (*GetProjectsProjectIDRobotsParams) WithTimeout ¶

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

func (*GetProjectsProjectIDRobotsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetProjectsProjectIDRobotsReader ¶

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

GetProjectsProjectIDRobotsReader is a Reader for the GetProjectsProjectIDRobots structure.

func (*GetProjectsProjectIDRobotsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetProjectsProjectIDRobotsRobotIDForbidden ¶

type GetProjectsProjectIDRobotsRobotIDForbidden struct {
}
GetProjectsProjectIDRobotsRobotIDForbidden describes a response with status code 403, with default header values.

User in session does not have permission to the project.

func NewGetProjectsProjectIDRobotsRobotIDForbidden ¶

func NewGetProjectsProjectIDRobotsRobotIDForbidden() *GetProjectsProjectIDRobotsRobotIDForbidden

NewGetProjectsProjectIDRobotsRobotIDForbidden creates a GetProjectsProjectIDRobotsRobotIDForbidden with default headers values

func (*GetProjectsProjectIDRobotsRobotIDForbidden) Error ¶

type GetProjectsProjectIDRobotsRobotIDInternalServerError ¶

type GetProjectsProjectIDRobotsRobotIDInternalServerError struct {
}
GetProjectsProjectIDRobotsRobotIDInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetProjectsProjectIDRobotsRobotIDInternalServerError ¶

func NewGetProjectsProjectIDRobotsRobotIDInternalServerError() *GetProjectsProjectIDRobotsRobotIDInternalServerError

NewGetProjectsProjectIDRobotsRobotIDInternalServerError creates a GetProjectsProjectIDRobotsRobotIDInternalServerError with default headers values

func (*GetProjectsProjectIDRobotsRobotIDInternalServerError) Error ¶

type GetProjectsProjectIDRobotsRobotIDNotFound ¶

type GetProjectsProjectIDRobotsRobotIDNotFound struct {
}
GetProjectsProjectIDRobotsRobotIDNotFound describes a response with status code 404, with default header values.

The robot account is not found.

func NewGetProjectsProjectIDRobotsRobotIDNotFound ¶

func NewGetProjectsProjectIDRobotsRobotIDNotFound() *GetProjectsProjectIDRobotsRobotIDNotFound

NewGetProjectsProjectIDRobotsRobotIDNotFound creates a GetProjectsProjectIDRobotsRobotIDNotFound with default headers values

func (*GetProjectsProjectIDRobotsRobotIDNotFound) Error ¶

type GetProjectsProjectIDRobotsRobotIDOK ¶

type GetProjectsProjectIDRobotsRobotIDOK struct {
	Payload *legacy.RobotAccount
}
GetProjectsProjectIDRobotsRobotIDOK describes a response with status code 200, with default header values.

Robot account information.

func NewGetProjectsProjectIDRobotsRobotIDOK ¶

func NewGetProjectsProjectIDRobotsRobotIDOK() *GetProjectsProjectIDRobotsRobotIDOK

NewGetProjectsProjectIDRobotsRobotIDOK creates a GetProjectsProjectIDRobotsRobotIDOK with default headers values

func (*GetProjectsProjectIDRobotsRobotIDOK) Error ¶

func (*GetProjectsProjectIDRobotsRobotIDOK) GetPayload ¶

type GetProjectsProjectIDRobotsRobotIDParams ¶

type GetProjectsProjectIDRobotsRobotIDParams struct {

	/* ProjectID.

	   Relevant project ID.

	   Format: int64
	*/
	ProjectID int64

	/* RobotID.

	   The ID of robot account.

	   Format: int64
	*/
	RobotID int64

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

GetProjectsProjectIDRobotsRobotIDParams contains all the parameters to send to the API endpoint

for the get projects project ID robots robot ID operation.

Typically these are written to a http.Request.

func NewGetProjectsProjectIDRobotsRobotIDParams ¶

func NewGetProjectsProjectIDRobotsRobotIDParams() *GetProjectsProjectIDRobotsRobotIDParams

NewGetProjectsProjectIDRobotsRobotIDParams creates a new GetProjectsProjectIDRobotsRobotIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectsProjectIDRobotsRobotIDParamsWithContext ¶

func NewGetProjectsProjectIDRobotsRobotIDParamsWithContext(ctx context.Context) *GetProjectsProjectIDRobotsRobotIDParams

NewGetProjectsProjectIDRobotsRobotIDParamsWithContext creates a new GetProjectsProjectIDRobotsRobotIDParams object with the ability to set a context for a request.

func NewGetProjectsProjectIDRobotsRobotIDParamsWithHTTPClient ¶

func NewGetProjectsProjectIDRobotsRobotIDParamsWithHTTPClient(client *http.Client) *GetProjectsProjectIDRobotsRobotIDParams

NewGetProjectsProjectIDRobotsRobotIDParamsWithHTTPClient creates a new GetProjectsProjectIDRobotsRobotIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetProjectsProjectIDRobotsRobotIDParamsWithTimeout ¶

func NewGetProjectsProjectIDRobotsRobotIDParamsWithTimeout(timeout time.Duration) *GetProjectsProjectIDRobotsRobotIDParams

NewGetProjectsProjectIDRobotsRobotIDParamsWithTimeout creates a new GetProjectsProjectIDRobotsRobotIDParams object with the ability to set a timeout on a request.

func (*GetProjectsProjectIDRobotsRobotIDParams) SetContext ¶

SetContext adds the context to the get projects project ID robots robot ID params

func (*GetProjectsProjectIDRobotsRobotIDParams) SetDefaults ¶

func (o *GetProjectsProjectIDRobotsRobotIDParams) SetDefaults()

SetDefaults hydrates default values in the get projects project ID robots robot ID params (not the query body).

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

func (*GetProjectsProjectIDRobotsRobotIDParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get projects project ID robots robot ID params

func (*GetProjectsProjectIDRobotsRobotIDParams) SetProjectID ¶

func (o *GetProjectsProjectIDRobotsRobotIDParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the get projects project ID robots robot ID params

func (*GetProjectsProjectIDRobotsRobotIDParams) SetRobotID ¶

func (o *GetProjectsProjectIDRobotsRobotIDParams) SetRobotID(robotID int64)

SetRobotID adds the robotId to the get projects project ID robots robot ID params

func (*GetProjectsProjectIDRobotsRobotIDParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get projects project ID robots robot ID params

func (*GetProjectsProjectIDRobotsRobotIDParams) WithContext ¶

WithContext adds the context to the get projects project ID robots robot ID params

func (*GetProjectsProjectIDRobotsRobotIDParams) WithDefaults ¶

WithDefaults hydrates default values in the get projects project ID robots robot ID params (not the query body).

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

func (*GetProjectsProjectIDRobotsRobotIDParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get projects project ID robots robot ID params

func (*GetProjectsProjectIDRobotsRobotIDParams) WithProjectID ¶

WithProjectID adds the projectID to the get projects project ID robots robot ID params

func (*GetProjectsProjectIDRobotsRobotIDParams) WithRobotID ¶

WithRobotID adds the robotID to the get projects project ID robots robot ID params

func (*GetProjectsProjectIDRobotsRobotIDParams) WithTimeout ¶

WithTimeout adds the timeout to the get projects project ID robots robot ID params

func (*GetProjectsProjectIDRobotsRobotIDParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetProjectsProjectIDRobotsRobotIDReader ¶

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

GetProjectsProjectIDRobotsRobotIDReader is a Reader for the GetProjectsProjectIDRobotsRobotID structure.

func (*GetProjectsProjectIDRobotsRobotIDReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetProjectsProjectIDRobotsRobotIDUnauthorized ¶

type GetProjectsProjectIDRobotsRobotIDUnauthorized struct {
}
GetProjectsProjectIDRobotsRobotIDUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetProjectsProjectIDRobotsRobotIDUnauthorized ¶

func NewGetProjectsProjectIDRobotsRobotIDUnauthorized() *GetProjectsProjectIDRobotsRobotIDUnauthorized

NewGetProjectsProjectIDRobotsRobotIDUnauthorized creates a GetProjectsProjectIDRobotsRobotIDUnauthorized with default headers values

func (*GetProjectsProjectIDRobotsRobotIDUnauthorized) Error ¶

type GetProjectsProjectIDRobotsUnauthorized ¶

type GetProjectsProjectIDRobotsUnauthorized struct {
}
GetProjectsProjectIDRobotsUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetProjectsProjectIDRobotsUnauthorized ¶

func NewGetProjectsProjectIDRobotsUnauthorized() *GetProjectsProjectIDRobotsUnauthorized

NewGetProjectsProjectIDRobotsUnauthorized creates a GetProjectsProjectIDRobotsUnauthorized with default headers values

func (*GetProjectsProjectIDRobotsUnauthorized) Error ¶

type GetProjectsProjectIDScannerBadRequest ¶

type GetProjectsProjectIDScannerBadRequest struct {
}
GetProjectsProjectIDScannerBadRequest describes a response with status code 400, with default header values.

Bad project ID

func NewGetProjectsProjectIDScannerBadRequest ¶

func NewGetProjectsProjectIDScannerBadRequest() *GetProjectsProjectIDScannerBadRequest

NewGetProjectsProjectIDScannerBadRequest creates a GetProjectsProjectIDScannerBadRequest with default headers values

func (*GetProjectsProjectIDScannerBadRequest) Error ¶

type GetProjectsProjectIDScannerCandidatesBadRequest ¶

type GetProjectsProjectIDScannerCandidatesBadRequest struct {
}
GetProjectsProjectIDScannerCandidatesBadRequest describes a response with status code 400, with default header values.

Bad project ID or query parameters

func NewGetProjectsProjectIDScannerCandidatesBadRequest ¶

func NewGetProjectsProjectIDScannerCandidatesBadRequest() *GetProjectsProjectIDScannerCandidatesBadRequest

NewGetProjectsProjectIDScannerCandidatesBadRequest creates a GetProjectsProjectIDScannerCandidatesBadRequest with default headers values

func (*GetProjectsProjectIDScannerCandidatesBadRequest) Error ¶

type GetProjectsProjectIDScannerCandidatesForbidden ¶

type GetProjectsProjectIDScannerCandidatesForbidden struct {
}
GetProjectsProjectIDScannerCandidatesForbidden describes a response with status code 403, with default header values.

Request is not allowed

func NewGetProjectsProjectIDScannerCandidatesForbidden ¶

func NewGetProjectsProjectIDScannerCandidatesForbidden() *GetProjectsProjectIDScannerCandidatesForbidden

NewGetProjectsProjectIDScannerCandidatesForbidden creates a GetProjectsProjectIDScannerCandidatesForbidden with default headers values

func (*GetProjectsProjectIDScannerCandidatesForbidden) Error ¶

type GetProjectsProjectIDScannerCandidatesInternalServerError ¶

type GetProjectsProjectIDScannerCandidatesInternalServerError struct {
}
GetProjectsProjectIDScannerCandidatesInternalServerError describes a response with status code 500, with default header values.

Internal server error happened

func NewGetProjectsProjectIDScannerCandidatesInternalServerError ¶

func NewGetProjectsProjectIDScannerCandidatesInternalServerError() *GetProjectsProjectIDScannerCandidatesInternalServerError

NewGetProjectsProjectIDScannerCandidatesInternalServerError creates a GetProjectsProjectIDScannerCandidatesInternalServerError with default headers values

func (*GetProjectsProjectIDScannerCandidatesInternalServerError) Error ¶

type GetProjectsProjectIDScannerCandidatesOK ¶

type GetProjectsProjectIDScannerCandidatesOK struct {
	Payload []*legacy.ScannerRegistration
}
GetProjectsProjectIDScannerCandidatesOK describes a response with status code 200, with default header values.

A list of scanner registrations.

func NewGetProjectsProjectIDScannerCandidatesOK ¶

func NewGetProjectsProjectIDScannerCandidatesOK() *GetProjectsProjectIDScannerCandidatesOK

NewGetProjectsProjectIDScannerCandidatesOK creates a GetProjectsProjectIDScannerCandidatesOK with default headers values

func (*GetProjectsProjectIDScannerCandidatesOK) Error ¶

func (*GetProjectsProjectIDScannerCandidatesOK) GetPayload ¶

type GetProjectsProjectIDScannerCandidatesParams ¶

type GetProjectsProjectIDScannerCandidatesParams struct {

	/* ProjectID.

	   The project identifier.

	   Format: int64
	*/
	ProjectID int64

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

GetProjectsProjectIDScannerCandidatesParams contains all the parameters to send to the API endpoint

for the get projects project ID scanner candidates operation.

Typically these are written to a http.Request.

func NewGetProjectsProjectIDScannerCandidatesParams ¶

func NewGetProjectsProjectIDScannerCandidatesParams() *GetProjectsProjectIDScannerCandidatesParams

NewGetProjectsProjectIDScannerCandidatesParams creates a new GetProjectsProjectIDScannerCandidatesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectsProjectIDScannerCandidatesParamsWithContext ¶

func NewGetProjectsProjectIDScannerCandidatesParamsWithContext(ctx context.Context) *GetProjectsProjectIDScannerCandidatesParams

NewGetProjectsProjectIDScannerCandidatesParamsWithContext creates a new GetProjectsProjectIDScannerCandidatesParams object with the ability to set a context for a request.

func NewGetProjectsProjectIDScannerCandidatesParamsWithHTTPClient ¶

func NewGetProjectsProjectIDScannerCandidatesParamsWithHTTPClient(client *http.Client) *GetProjectsProjectIDScannerCandidatesParams

NewGetProjectsProjectIDScannerCandidatesParamsWithHTTPClient creates a new GetProjectsProjectIDScannerCandidatesParams object with the ability to set a custom HTTPClient for a request.

func NewGetProjectsProjectIDScannerCandidatesParamsWithTimeout ¶

func NewGetProjectsProjectIDScannerCandidatesParamsWithTimeout(timeout time.Duration) *GetProjectsProjectIDScannerCandidatesParams

NewGetProjectsProjectIDScannerCandidatesParamsWithTimeout creates a new GetProjectsProjectIDScannerCandidatesParams object with the ability to set a timeout on a request.

func (*GetProjectsProjectIDScannerCandidatesParams) SetContext ¶

SetContext adds the context to the get projects project ID scanner candidates params

func (*GetProjectsProjectIDScannerCandidatesParams) SetDefaults ¶

SetDefaults hydrates default values in the get projects project ID scanner candidates params (not the query body).

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

func (*GetProjectsProjectIDScannerCandidatesParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get projects project ID scanner candidates params

func (*GetProjectsProjectIDScannerCandidatesParams) SetProjectID ¶

func (o *GetProjectsProjectIDScannerCandidatesParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the get projects project ID scanner candidates params

func (*GetProjectsProjectIDScannerCandidatesParams) SetTimeout ¶

SetTimeout adds the timeout to the get projects project ID scanner candidates params

func (*GetProjectsProjectIDScannerCandidatesParams) WithContext ¶

WithContext adds the context to the get projects project ID scanner candidates params

func (*GetProjectsProjectIDScannerCandidatesParams) WithDefaults ¶

WithDefaults hydrates default values in the get projects project ID scanner candidates params (not the query body).

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

func (*GetProjectsProjectIDScannerCandidatesParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get projects project ID scanner candidates params

func (*GetProjectsProjectIDScannerCandidatesParams) WithProjectID ¶

WithProjectID adds the projectID to the get projects project ID scanner candidates params

func (*GetProjectsProjectIDScannerCandidatesParams) WithTimeout ¶

WithTimeout adds the timeout to the get projects project ID scanner candidates params

func (*GetProjectsProjectIDScannerCandidatesParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetProjectsProjectIDScannerCandidatesReader ¶

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

GetProjectsProjectIDScannerCandidatesReader is a Reader for the GetProjectsProjectIDScannerCandidates structure.

func (*GetProjectsProjectIDScannerCandidatesReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetProjectsProjectIDScannerCandidatesUnauthorized ¶

type GetProjectsProjectIDScannerCandidatesUnauthorized struct {
}
GetProjectsProjectIDScannerCandidatesUnauthorized describes a response with status code 401, with default header values.

Unauthorized request

func NewGetProjectsProjectIDScannerCandidatesUnauthorized ¶

func NewGetProjectsProjectIDScannerCandidatesUnauthorized() *GetProjectsProjectIDScannerCandidatesUnauthorized

NewGetProjectsProjectIDScannerCandidatesUnauthorized creates a GetProjectsProjectIDScannerCandidatesUnauthorized with default headers values

func (*GetProjectsProjectIDScannerCandidatesUnauthorized) Error ¶

type GetProjectsProjectIDScannerForbidden ¶

type GetProjectsProjectIDScannerForbidden struct {
}
GetProjectsProjectIDScannerForbidden describes a response with status code 403, with default header values.

Request is not allowed

func NewGetProjectsProjectIDScannerForbidden ¶

func NewGetProjectsProjectIDScannerForbidden() *GetProjectsProjectIDScannerForbidden

NewGetProjectsProjectIDScannerForbidden creates a GetProjectsProjectIDScannerForbidden with default headers values

func (*GetProjectsProjectIDScannerForbidden) Error ¶

type GetProjectsProjectIDScannerInternalServerError ¶

type GetProjectsProjectIDScannerInternalServerError struct {
}
GetProjectsProjectIDScannerInternalServerError describes a response with status code 500, with default header values.

Internal server error happened

func NewGetProjectsProjectIDScannerInternalServerError ¶

func NewGetProjectsProjectIDScannerInternalServerError() *GetProjectsProjectIDScannerInternalServerError

NewGetProjectsProjectIDScannerInternalServerError creates a GetProjectsProjectIDScannerInternalServerError with default headers values

func (*GetProjectsProjectIDScannerInternalServerError) Error ¶

type GetProjectsProjectIDScannerNotFound ¶

type GetProjectsProjectIDScannerNotFound struct {
}
GetProjectsProjectIDScannerNotFound describes a response with status code 404, with default header values.

The requested object is not found

func NewGetProjectsProjectIDScannerNotFound ¶

func NewGetProjectsProjectIDScannerNotFound() *GetProjectsProjectIDScannerNotFound

NewGetProjectsProjectIDScannerNotFound creates a GetProjectsProjectIDScannerNotFound with default headers values

func (*GetProjectsProjectIDScannerNotFound) Error ¶

type GetProjectsProjectIDScannerOK ¶

type GetProjectsProjectIDScannerOK struct {
	Payload *legacy.ScannerRegistration
}
GetProjectsProjectIDScannerOK describes a response with status code 200, with default header values.

The details of the scanner registration.

func NewGetProjectsProjectIDScannerOK ¶

func NewGetProjectsProjectIDScannerOK() *GetProjectsProjectIDScannerOK

NewGetProjectsProjectIDScannerOK creates a GetProjectsProjectIDScannerOK with default headers values

func (*GetProjectsProjectIDScannerOK) Error ¶

func (*GetProjectsProjectIDScannerOK) GetPayload ¶

type GetProjectsProjectIDScannerParams ¶

type GetProjectsProjectIDScannerParams struct {

	/* ProjectID.

	   The project identifier.

	   Format: int64
	*/
	ProjectID int64

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

GetProjectsProjectIDScannerParams contains all the parameters to send to the API endpoint

for the get projects project ID scanner operation.

Typically these are written to a http.Request.

func NewGetProjectsProjectIDScannerParams ¶

func NewGetProjectsProjectIDScannerParams() *GetProjectsProjectIDScannerParams

NewGetProjectsProjectIDScannerParams creates a new GetProjectsProjectIDScannerParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectsProjectIDScannerParamsWithContext ¶

func NewGetProjectsProjectIDScannerParamsWithContext(ctx context.Context) *GetProjectsProjectIDScannerParams

NewGetProjectsProjectIDScannerParamsWithContext creates a new GetProjectsProjectIDScannerParams object with the ability to set a context for a request.

func NewGetProjectsProjectIDScannerParamsWithHTTPClient ¶

func NewGetProjectsProjectIDScannerParamsWithHTTPClient(client *http.Client) *GetProjectsProjectIDScannerParams

NewGetProjectsProjectIDScannerParamsWithHTTPClient creates a new GetProjectsProjectIDScannerParams object with the ability to set a custom HTTPClient for a request.

func NewGetProjectsProjectIDScannerParamsWithTimeout ¶

func NewGetProjectsProjectIDScannerParamsWithTimeout(timeout time.Duration) *GetProjectsProjectIDScannerParams

NewGetProjectsProjectIDScannerParamsWithTimeout creates a new GetProjectsProjectIDScannerParams object with the ability to set a timeout on a request.

func (*GetProjectsProjectIDScannerParams) SetContext ¶

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

func (*GetProjectsProjectIDScannerParams) SetDefaults ¶

func (o *GetProjectsProjectIDScannerParams) SetDefaults()

SetDefaults hydrates default values in the get projects project ID scanner params (not the query body).

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

func (*GetProjectsProjectIDScannerParams) SetHTTPClient ¶

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

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

func (*GetProjectsProjectIDScannerParams) SetProjectID ¶

func (o *GetProjectsProjectIDScannerParams) SetProjectID(projectID int64)

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

func (*GetProjectsProjectIDScannerParams) SetTimeout ¶

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

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

func (*GetProjectsProjectIDScannerParams) WithContext ¶

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

func (*GetProjectsProjectIDScannerParams) WithDefaults ¶

WithDefaults hydrates default values in the get projects project ID scanner params (not the query body).

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

func (*GetProjectsProjectIDScannerParams) WithHTTPClient ¶

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

func (*GetProjectsProjectIDScannerParams) WithProjectID ¶

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

func (*GetProjectsProjectIDScannerParams) WithTimeout ¶

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

func (*GetProjectsProjectIDScannerParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetProjectsProjectIDScannerReader ¶

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

GetProjectsProjectIDScannerReader is a Reader for the GetProjectsProjectIDScanner structure.

func (*GetProjectsProjectIDScannerReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetProjectsProjectIDScannerUnauthorized ¶

type GetProjectsProjectIDScannerUnauthorized struct {
}
GetProjectsProjectIDScannerUnauthorized describes a response with status code 401, with default header values.

Unauthorized request

func NewGetProjectsProjectIDScannerUnauthorized ¶

func NewGetProjectsProjectIDScannerUnauthorized() *GetProjectsProjectIDScannerUnauthorized

NewGetProjectsProjectIDScannerUnauthorized creates a GetProjectsProjectIDScannerUnauthorized with default headers values

func (*GetProjectsProjectIDScannerUnauthorized) Error ¶

type GetProjectsProjectIDWebhookEventsForbidden ¶

type GetProjectsProjectIDWebhookEventsForbidden struct {
}
GetProjectsProjectIDWebhookEventsForbidden describes a response with status code 403, with default header values.

User have no permission to list webhook jobs of the project.

func NewGetProjectsProjectIDWebhookEventsForbidden ¶

func NewGetProjectsProjectIDWebhookEventsForbidden() *GetProjectsProjectIDWebhookEventsForbidden

NewGetProjectsProjectIDWebhookEventsForbidden creates a GetProjectsProjectIDWebhookEventsForbidden with default headers values

func (*GetProjectsProjectIDWebhookEventsForbidden) Error ¶

type GetProjectsProjectIDWebhookEventsInternalServerError ¶

type GetProjectsProjectIDWebhookEventsInternalServerError struct {
}
GetProjectsProjectIDWebhookEventsInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetProjectsProjectIDWebhookEventsInternalServerError ¶

func NewGetProjectsProjectIDWebhookEventsInternalServerError() *GetProjectsProjectIDWebhookEventsInternalServerError

NewGetProjectsProjectIDWebhookEventsInternalServerError creates a GetProjectsProjectIDWebhookEventsInternalServerError with default headers values

func (*GetProjectsProjectIDWebhookEventsInternalServerError) Error ¶

type GetProjectsProjectIDWebhookEventsOK ¶

type GetProjectsProjectIDWebhookEventsOK struct {
	Payload *legacy.SupportedWebhookEventTypes
}
GetProjectsProjectIDWebhookEventsOK describes a response with status code 200, with default header values.

Success

func NewGetProjectsProjectIDWebhookEventsOK ¶

func NewGetProjectsProjectIDWebhookEventsOK() *GetProjectsProjectIDWebhookEventsOK

NewGetProjectsProjectIDWebhookEventsOK creates a GetProjectsProjectIDWebhookEventsOK with default headers values

func (*GetProjectsProjectIDWebhookEventsOK) Error ¶

func (*GetProjectsProjectIDWebhookEventsOK) GetPayload ¶

type GetProjectsProjectIDWebhookEventsParams ¶

type GetProjectsProjectIDWebhookEventsParams struct {

	/* ProjectID.

	   Relevant project ID.

	   Format: int64
	*/
	ProjectID int64

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

GetProjectsProjectIDWebhookEventsParams contains all the parameters to send to the API endpoint

for the get projects project ID webhook events operation.

Typically these are written to a http.Request.

func NewGetProjectsProjectIDWebhookEventsParams ¶

func NewGetProjectsProjectIDWebhookEventsParams() *GetProjectsProjectIDWebhookEventsParams

NewGetProjectsProjectIDWebhookEventsParams creates a new GetProjectsProjectIDWebhookEventsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectsProjectIDWebhookEventsParamsWithContext ¶

func NewGetProjectsProjectIDWebhookEventsParamsWithContext(ctx context.Context) *GetProjectsProjectIDWebhookEventsParams

NewGetProjectsProjectIDWebhookEventsParamsWithContext creates a new GetProjectsProjectIDWebhookEventsParams object with the ability to set a context for a request.

func NewGetProjectsProjectIDWebhookEventsParamsWithHTTPClient ¶

func NewGetProjectsProjectIDWebhookEventsParamsWithHTTPClient(client *http.Client) *GetProjectsProjectIDWebhookEventsParams

NewGetProjectsProjectIDWebhookEventsParamsWithHTTPClient creates a new GetProjectsProjectIDWebhookEventsParams object with the ability to set a custom HTTPClient for a request.

func NewGetProjectsProjectIDWebhookEventsParamsWithTimeout ¶

func NewGetProjectsProjectIDWebhookEventsParamsWithTimeout(timeout time.Duration) *GetProjectsProjectIDWebhookEventsParams

NewGetProjectsProjectIDWebhookEventsParamsWithTimeout creates a new GetProjectsProjectIDWebhookEventsParams object with the ability to set a timeout on a request.

func (*GetProjectsProjectIDWebhookEventsParams) SetContext ¶

SetContext adds the context to the get projects project ID webhook events params

func (*GetProjectsProjectIDWebhookEventsParams) SetDefaults ¶

func (o *GetProjectsProjectIDWebhookEventsParams) SetDefaults()

SetDefaults hydrates default values in the get projects project ID webhook events params (not the query body).

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

func (*GetProjectsProjectIDWebhookEventsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get projects project ID webhook events params

func (*GetProjectsProjectIDWebhookEventsParams) SetProjectID ¶

func (o *GetProjectsProjectIDWebhookEventsParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the get projects project ID webhook events params

func (*GetProjectsProjectIDWebhookEventsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get projects project ID webhook events params

func (*GetProjectsProjectIDWebhookEventsParams) WithContext ¶

WithContext adds the context to the get projects project ID webhook events params

func (*GetProjectsProjectIDWebhookEventsParams) WithDefaults ¶

WithDefaults hydrates default values in the get projects project ID webhook events params (not the query body).

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

func (*GetProjectsProjectIDWebhookEventsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get projects project ID webhook events params

func (*GetProjectsProjectIDWebhookEventsParams) WithProjectID ¶

WithProjectID adds the projectID to the get projects project ID webhook events params

func (*GetProjectsProjectIDWebhookEventsParams) WithTimeout ¶

WithTimeout adds the timeout to the get projects project ID webhook events params

func (*GetProjectsProjectIDWebhookEventsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetProjectsProjectIDWebhookEventsReader ¶

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

GetProjectsProjectIDWebhookEventsReader is a Reader for the GetProjectsProjectIDWebhookEvents structure.

func (*GetProjectsProjectIDWebhookEventsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetProjectsProjectIDWebhookEventsUnauthorized ¶

type GetProjectsProjectIDWebhookEventsUnauthorized struct {
}
GetProjectsProjectIDWebhookEventsUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetProjectsProjectIDWebhookEventsUnauthorized ¶

func NewGetProjectsProjectIDWebhookEventsUnauthorized() *GetProjectsProjectIDWebhookEventsUnauthorized

NewGetProjectsProjectIDWebhookEventsUnauthorized creates a GetProjectsProjectIDWebhookEventsUnauthorized with default headers values

func (*GetProjectsProjectIDWebhookEventsUnauthorized) Error ¶

type GetProjectsProjectIDWebhookJobsBadRequest ¶

type GetProjectsProjectIDWebhookJobsBadRequest struct {
}
GetProjectsProjectIDWebhookJobsBadRequest describes a response with status code 400, with default header values.

Illegal format of provided ID value.

func NewGetProjectsProjectIDWebhookJobsBadRequest ¶

func NewGetProjectsProjectIDWebhookJobsBadRequest() *GetProjectsProjectIDWebhookJobsBadRequest

NewGetProjectsProjectIDWebhookJobsBadRequest creates a GetProjectsProjectIDWebhookJobsBadRequest with default headers values

func (*GetProjectsProjectIDWebhookJobsBadRequest) Error ¶

type GetProjectsProjectIDWebhookJobsForbidden ¶

type GetProjectsProjectIDWebhookJobsForbidden struct {
}
GetProjectsProjectIDWebhookJobsForbidden describes a response with status code 403, with default header values.

User have no permission to list webhook jobs of the project.

func NewGetProjectsProjectIDWebhookJobsForbidden ¶

func NewGetProjectsProjectIDWebhookJobsForbidden() *GetProjectsProjectIDWebhookJobsForbidden

NewGetProjectsProjectIDWebhookJobsForbidden creates a GetProjectsProjectIDWebhookJobsForbidden with default headers values

func (*GetProjectsProjectIDWebhookJobsForbidden) Error ¶

type GetProjectsProjectIDWebhookJobsInternalServerError ¶

type GetProjectsProjectIDWebhookJobsInternalServerError struct {
}
GetProjectsProjectIDWebhookJobsInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetProjectsProjectIDWebhookJobsInternalServerError ¶

func NewGetProjectsProjectIDWebhookJobsInternalServerError() *GetProjectsProjectIDWebhookJobsInternalServerError

NewGetProjectsProjectIDWebhookJobsInternalServerError creates a GetProjectsProjectIDWebhookJobsInternalServerError with default headers values

func (*GetProjectsProjectIDWebhookJobsInternalServerError) Error ¶

type GetProjectsProjectIDWebhookJobsOK ¶

type GetProjectsProjectIDWebhookJobsOK struct {
	Payload []*legacy.WebhookJob
}
GetProjectsProjectIDWebhookJobsOK describes a response with status code 200, with default header values.

List project webhook jobs successfully.

func NewGetProjectsProjectIDWebhookJobsOK ¶

func NewGetProjectsProjectIDWebhookJobsOK() *GetProjectsProjectIDWebhookJobsOK

NewGetProjectsProjectIDWebhookJobsOK creates a GetProjectsProjectIDWebhookJobsOK with default headers values

func (*GetProjectsProjectIDWebhookJobsOK) Error ¶

func (*GetProjectsProjectIDWebhookJobsOK) GetPayload ¶

type GetProjectsProjectIDWebhookJobsParams ¶

type GetProjectsProjectIDWebhookJobsParams struct {

	/* PolicyID.

	   The policy ID.

	   Format: int64
	*/
	PolicyID int64

	/* ProjectID.

	   Relevant project ID.

	   Format: int64
	*/
	ProjectID int64

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

GetProjectsProjectIDWebhookJobsParams contains all the parameters to send to the API endpoint

for the get projects project ID webhook jobs operation.

Typically these are written to a http.Request.

func NewGetProjectsProjectIDWebhookJobsParams ¶

func NewGetProjectsProjectIDWebhookJobsParams() *GetProjectsProjectIDWebhookJobsParams

NewGetProjectsProjectIDWebhookJobsParams creates a new GetProjectsProjectIDWebhookJobsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectsProjectIDWebhookJobsParamsWithContext ¶

func NewGetProjectsProjectIDWebhookJobsParamsWithContext(ctx context.Context) *GetProjectsProjectIDWebhookJobsParams

NewGetProjectsProjectIDWebhookJobsParamsWithContext creates a new GetProjectsProjectIDWebhookJobsParams object with the ability to set a context for a request.

func NewGetProjectsProjectIDWebhookJobsParamsWithHTTPClient ¶

func NewGetProjectsProjectIDWebhookJobsParamsWithHTTPClient(client *http.Client) *GetProjectsProjectIDWebhookJobsParams

NewGetProjectsProjectIDWebhookJobsParamsWithHTTPClient creates a new GetProjectsProjectIDWebhookJobsParams object with the ability to set a custom HTTPClient for a request.

func NewGetProjectsProjectIDWebhookJobsParamsWithTimeout ¶

func NewGetProjectsProjectIDWebhookJobsParamsWithTimeout(timeout time.Duration) *GetProjectsProjectIDWebhookJobsParams

NewGetProjectsProjectIDWebhookJobsParamsWithTimeout creates a new GetProjectsProjectIDWebhookJobsParams object with the ability to set a timeout on a request.

func (*GetProjectsProjectIDWebhookJobsParams) SetContext ¶

SetContext adds the context to the get projects project ID webhook jobs params

func (*GetProjectsProjectIDWebhookJobsParams) SetDefaults ¶

func (o *GetProjectsProjectIDWebhookJobsParams) SetDefaults()

SetDefaults hydrates default values in the get projects project ID webhook jobs params (not the query body).

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

func (*GetProjectsProjectIDWebhookJobsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get projects project ID webhook jobs params

func (*GetProjectsProjectIDWebhookJobsParams) SetPolicyID ¶

func (o *GetProjectsProjectIDWebhookJobsParams) SetPolicyID(policyID int64)

SetPolicyID adds the policyId to the get projects project ID webhook jobs params

func (*GetProjectsProjectIDWebhookJobsParams) SetProjectID ¶

func (o *GetProjectsProjectIDWebhookJobsParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the get projects project ID webhook jobs params

func (*GetProjectsProjectIDWebhookJobsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get projects project ID webhook jobs params

func (*GetProjectsProjectIDWebhookJobsParams) WithContext ¶

WithContext adds the context to the get projects project ID webhook jobs params

func (*GetProjectsProjectIDWebhookJobsParams) WithDefaults ¶

WithDefaults hydrates default values in the get projects project ID webhook jobs params (not the query body).

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

func (*GetProjectsProjectIDWebhookJobsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get projects project ID webhook jobs params

func (*GetProjectsProjectIDWebhookJobsParams) WithPolicyID ¶

WithPolicyID adds the policyID to the get projects project ID webhook jobs params

func (*GetProjectsProjectIDWebhookJobsParams) WithProjectID ¶

WithProjectID adds the projectID to the get projects project ID webhook jobs params

func (*GetProjectsProjectIDWebhookJobsParams) WithTimeout ¶

WithTimeout adds the timeout to the get projects project ID webhook jobs params

func (*GetProjectsProjectIDWebhookJobsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetProjectsProjectIDWebhookJobsReader ¶

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

GetProjectsProjectIDWebhookJobsReader is a Reader for the GetProjectsProjectIDWebhookJobs structure.

func (*GetProjectsProjectIDWebhookJobsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetProjectsProjectIDWebhookJobsUnauthorized ¶

type GetProjectsProjectIDWebhookJobsUnauthorized struct {
}
GetProjectsProjectIDWebhookJobsUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetProjectsProjectIDWebhookJobsUnauthorized ¶

func NewGetProjectsProjectIDWebhookJobsUnauthorized() *GetProjectsProjectIDWebhookJobsUnauthorized

NewGetProjectsProjectIDWebhookJobsUnauthorized creates a GetProjectsProjectIDWebhookJobsUnauthorized with default headers values

func (*GetProjectsProjectIDWebhookJobsUnauthorized) Error ¶

type GetProjectsProjectIDWebhookLasttriggerBadRequest ¶

type GetProjectsProjectIDWebhookLasttriggerBadRequest struct {
}
GetProjectsProjectIDWebhookLasttriggerBadRequest describes a response with status code 400, with default header values.

Illegal format of provided ID value.

func NewGetProjectsProjectIDWebhookLasttriggerBadRequest ¶

func NewGetProjectsProjectIDWebhookLasttriggerBadRequest() *GetProjectsProjectIDWebhookLasttriggerBadRequest

NewGetProjectsProjectIDWebhookLasttriggerBadRequest creates a GetProjectsProjectIDWebhookLasttriggerBadRequest with default headers values

func (*GetProjectsProjectIDWebhookLasttriggerBadRequest) Error ¶

type GetProjectsProjectIDWebhookLasttriggerForbidden ¶

type GetProjectsProjectIDWebhookLasttriggerForbidden struct {
}
GetProjectsProjectIDWebhookLasttriggerForbidden describes a response with status code 403, with default header values.

User have no permission to get webhook policy of the project.

func NewGetProjectsProjectIDWebhookLasttriggerForbidden ¶

func NewGetProjectsProjectIDWebhookLasttriggerForbidden() *GetProjectsProjectIDWebhookLasttriggerForbidden

NewGetProjectsProjectIDWebhookLasttriggerForbidden creates a GetProjectsProjectIDWebhookLasttriggerForbidden with default headers values

func (*GetProjectsProjectIDWebhookLasttriggerForbidden) Error ¶

type GetProjectsProjectIDWebhookLasttriggerInternalServerError ¶

type GetProjectsProjectIDWebhookLasttriggerInternalServerError struct {
}
GetProjectsProjectIDWebhookLasttriggerInternalServerError describes a response with status code 500, with default header values.

Internal server errors.

func NewGetProjectsProjectIDWebhookLasttriggerInternalServerError ¶

func NewGetProjectsProjectIDWebhookLasttriggerInternalServerError() *GetProjectsProjectIDWebhookLasttriggerInternalServerError

NewGetProjectsProjectIDWebhookLasttriggerInternalServerError creates a GetProjectsProjectIDWebhookLasttriggerInternalServerError with default headers values

func (*GetProjectsProjectIDWebhookLasttriggerInternalServerError) Error ¶

type GetProjectsProjectIDWebhookLasttriggerOK ¶

type GetProjectsProjectIDWebhookLasttriggerOK struct {
	Payload []*legacy.WebhookLastTrigger
}
GetProjectsProjectIDWebhookLasttriggerOK describes a response with status code 200, with default header values.

Test webhook connection successfully.

func NewGetProjectsProjectIDWebhookLasttriggerOK ¶

func NewGetProjectsProjectIDWebhookLasttriggerOK() *GetProjectsProjectIDWebhookLasttriggerOK

NewGetProjectsProjectIDWebhookLasttriggerOK creates a GetProjectsProjectIDWebhookLasttriggerOK with default headers values

func (*GetProjectsProjectIDWebhookLasttriggerOK) Error ¶

func (*GetProjectsProjectIDWebhookLasttriggerOK) GetPayload ¶

type GetProjectsProjectIDWebhookLasttriggerParams ¶

type GetProjectsProjectIDWebhookLasttriggerParams struct {

	/* ProjectID.

	   Relevant project ID.

	   Format: int64
	*/
	ProjectID int64

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

GetProjectsProjectIDWebhookLasttriggerParams contains all the parameters to send to the API endpoint

for the get projects project ID webhook lasttrigger operation.

Typically these are written to a http.Request.

func NewGetProjectsProjectIDWebhookLasttriggerParams ¶

func NewGetProjectsProjectIDWebhookLasttriggerParams() *GetProjectsProjectIDWebhookLasttriggerParams

NewGetProjectsProjectIDWebhookLasttriggerParams creates a new GetProjectsProjectIDWebhookLasttriggerParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectsProjectIDWebhookLasttriggerParamsWithContext ¶

func NewGetProjectsProjectIDWebhookLasttriggerParamsWithContext(ctx context.Context) *GetProjectsProjectIDWebhookLasttriggerParams

NewGetProjectsProjectIDWebhookLasttriggerParamsWithContext creates a new GetProjectsProjectIDWebhookLasttriggerParams object with the ability to set a context for a request.

func NewGetProjectsProjectIDWebhookLasttriggerParamsWithHTTPClient ¶

func NewGetProjectsProjectIDWebhookLasttriggerParamsWithHTTPClient(client *http.Client) *GetProjectsProjectIDWebhookLasttriggerParams

NewGetProjectsProjectIDWebhookLasttriggerParamsWithHTTPClient creates a new GetProjectsProjectIDWebhookLasttriggerParams object with the ability to set a custom HTTPClient for a request.

func NewGetProjectsProjectIDWebhookLasttriggerParamsWithTimeout ¶

func NewGetProjectsProjectIDWebhookLasttriggerParamsWithTimeout(timeout time.Duration) *GetProjectsProjectIDWebhookLasttriggerParams

NewGetProjectsProjectIDWebhookLasttriggerParamsWithTimeout creates a new GetProjectsProjectIDWebhookLasttriggerParams object with the ability to set a timeout on a request.

func (*GetProjectsProjectIDWebhookLasttriggerParams) SetContext ¶

SetContext adds the context to the get projects project ID webhook lasttrigger params

func (*GetProjectsProjectIDWebhookLasttriggerParams) SetDefaults ¶

SetDefaults hydrates default values in the get projects project ID webhook lasttrigger params (not the query body).

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

func (*GetProjectsProjectIDWebhookLasttriggerParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get projects project ID webhook lasttrigger params

func (*GetProjectsProjectIDWebhookLasttriggerParams) SetProjectID ¶

func (o *GetProjectsProjectIDWebhookLasttriggerParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the get projects project ID webhook lasttrigger params

func (*GetProjectsProjectIDWebhookLasttriggerParams) SetTimeout ¶

SetTimeout adds the timeout to the get projects project ID webhook lasttrigger params

func (*GetProjectsProjectIDWebhookLasttriggerParams) WithContext ¶

WithContext adds the context to the get projects project ID webhook lasttrigger params

func (*GetProjectsProjectIDWebhookLasttriggerParams) WithDefaults ¶

WithDefaults hydrates default values in the get projects project ID webhook lasttrigger params (not the query body).

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

func (*GetProjectsProjectIDWebhookLasttriggerParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get projects project ID webhook lasttrigger params

func (*GetProjectsProjectIDWebhookLasttriggerParams) WithProjectID ¶

WithProjectID adds the projectID to the get projects project ID webhook lasttrigger params

func (*GetProjectsProjectIDWebhookLasttriggerParams) WithTimeout ¶

WithTimeout adds the timeout to the get projects project ID webhook lasttrigger params

func (*GetProjectsProjectIDWebhookLasttriggerParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetProjectsProjectIDWebhookLasttriggerReader ¶

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

GetProjectsProjectIDWebhookLasttriggerReader is a Reader for the GetProjectsProjectIDWebhookLasttrigger structure.

func (*GetProjectsProjectIDWebhookLasttriggerReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetProjectsProjectIDWebhookLasttriggerUnauthorized ¶

type GetProjectsProjectIDWebhookLasttriggerUnauthorized struct {
}
GetProjectsProjectIDWebhookLasttriggerUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetProjectsProjectIDWebhookLasttriggerUnauthorized ¶

func NewGetProjectsProjectIDWebhookLasttriggerUnauthorized() *GetProjectsProjectIDWebhookLasttriggerUnauthorized

NewGetProjectsProjectIDWebhookLasttriggerUnauthorized creates a GetProjectsProjectIDWebhookLasttriggerUnauthorized with default headers values

func (*GetProjectsProjectIDWebhookLasttriggerUnauthorized) Error ¶

type GetProjectsProjectIDWebhookPoliciesBadRequest ¶

type GetProjectsProjectIDWebhookPoliciesBadRequest struct {
}
GetProjectsProjectIDWebhookPoliciesBadRequest describes a response with status code 400, with default header values.

Illegal format of provided ID value.

func NewGetProjectsProjectIDWebhookPoliciesBadRequest ¶

func NewGetProjectsProjectIDWebhookPoliciesBadRequest() *GetProjectsProjectIDWebhookPoliciesBadRequest

NewGetProjectsProjectIDWebhookPoliciesBadRequest creates a GetProjectsProjectIDWebhookPoliciesBadRequest with default headers values

func (*GetProjectsProjectIDWebhookPoliciesBadRequest) Error ¶

type GetProjectsProjectIDWebhookPoliciesForbidden ¶

type GetProjectsProjectIDWebhookPoliciesForbidden struct {
}
GetProjectsProjectIDWebhookPoliciesForbidden describes a response with status code 403, with default header values.

User have no permission to list webhook policies of the project.

func NewGetProjectsProjectIDWebhookPoliciesForbidden ¶

func NewGetProjectsProjectIDWebhookPoliciesForbidden() *GetProjectsProjectIDWebhookPoliciesForbidden

NewGetProjectsProjectIDWebhookPoliciesForbidden creates a GetProjectsProjectIDWebhookPoliciesForbidden with default headers values

func (*GetProjectsProjectIDWebhookPoliciesForbidden) Error ¶

type GetProjectsProjectIDWebhookPoliciesInternalServerError ¶

type GetProjectsProjectIDWebhookPoliciesInternalServerError struct {
}
GetProjectsProjectIDWebhookPoliciesInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetProjectsProjectIDWebhookPoliciesInternalServerError ¶

func NewGetProjectsProjectIDWebhookPoliciesInternalServerError() *GetProjectsProjectIDWebhookPoliciesInternalServerError

NewGetProjectsProjectIDWebhookPoliciesInternalServerError creates a GetProjectsProjectIDWebhookPoliciesInternalServerError with default headers values

func (*GetProjectsProjectIDWebhookPoliciesInternalServerError) Error ¶

type GetProjectsProjectIDWebhookPoliciesOK ¶

type GetProjectsProjectIDWebhookPoliciesOK struct {
	Payload []*legacy.WebhookPolicy
}
GetProjectsProjectIDWebhookPoliciesOK describes a response with status code 200, with default header values.

List project webhook policies successfully.

func NewGetProjectsProjectIDWebhookPoliciesOK ¶

func NewGetProjectsProjectIDWebhookPoliciesOK() *GetProjectsProjectIDWebhookPoliciesOK

NewGetProjectsProjectIDWebhookPoliciesOK creates a GetProjectsProjectIDWebhookPoliciesOK with default headers values

func (*GetProjectsProjectIDWebhookPoliciesOK) Error ¶

func (*GetProjectsProjectIDWebhookPoliciesOK) GetPayload ¶

type GetProjectsProjectIDWebhookPoliciesParams ¶

type GetProjectsProjectIDWebhookPoliciesParams struct {

	/* ProjectID.

	   Relevant project ID.

	   Format: int64
	*/
	ProjectID int64

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

GetProjectsProjectIDWebhookPoliciesParams contains all the parameters to send to the API endpoint

for the get projects project ID webhook policies operation.

Typically these are written to a http.Request.

func NewGetProjectsProjectIDWebhookPoliciesParams ¶

func NewGetProjectsProjectIDWebhookPoliciesParams() *GetProjectsProjectIDWebhookPoliciesParams

NewGetProjectsProjectIDWebhookPoliciesParams creates a new GetProjectsProjectIDWebhookPoliciesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectsProjectIDWebhookPoliciesParamsWithContext ¶

func NewGetProjectsProjectIDWebhookPoliciesParamsWithContext(ctx context.Context) *GetProjectsProjectIDWebhookPoliciesParams

NewGetProjectsProjectIDWebhookPoliciesParamsWithContext creates a new GetProjectsProjectIDWebhookPoliciesParams object with the ability to set a context for a request.

func NewGetProjectsProjectIDWebhookPoliciesParamsWithHTTPClient ¶

func NewGetProjectsProjectIDWebhookPoliciesParamsWithHTTPClient(client *http.Client) *GetProjectsProjectIDWebhookPoliciesParams

NewGetProjectsProjectIDWebhookPoliciesParamsWithHTTPClient creates a new GetProjectsProjectIDWebhookPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewGetProjectsProjectIDWebhookPoliciesParamsWithTimeout ¶

func NewGetProjectsProjectIDWebhookPoliciesParamsWithTimeout(timeout time.Duration) *GetProjectsProjectIDWebhookPoliciesParams

NewGetProjectsProjectIDWebhookPoliciesParamsWithTimeout creates a new GetProjectsProjectIDWebhookPoliciesParams object with the ability to set a timeout on a request.

func (*GetProjectsProjectIDWebhookPoliciesParams) SetContext ¶

SetContext adds the context to the get projects project ID webhook policies params

func (*GetProjectsProjectIDWebhookPoliciesParams) SetDefaults ¶

SetDefaults hydrates default values in the get projects project ID webhook policies params (not the query body).

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

func (*GetProjectsProjectIDWebhookPoliciesParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get projects project ID webhook policies params

func (*GetProjectsProjectIDWebhookPoliciesParams) SetProjectID ¶

func (o *GetProjectsProjectIDWebhookPoliciesParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the get projects project ID webhook policies params

func (*GetProjectsProjectIDWebhookPoliciesParams) SetTimeout ¶

SetTimeout adds the timeout to the get projects project ID webhook policies params

func (*GetProjectsProjectIDWebhookPoliciesParams) WithContext ¶

WithContext adds the context to the get projects project ID webhook policies params

func (*GetProjectsProjectIDWebhookPoliciesParams) WithDefaults ¶

WithDefaults hydrates default values in the get projects project ID webhook policies params (not the query body).

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

func (*GetProjectsProjectIDWebhookPoliciesParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get projects project ID webhook policies params

func (*GetProjectsProjectIDWebhookPoliciesParams) WithProjectID ¶

WithProjectID adds the projectID to the get projects project ID webhook policies params

func (*GetProjectsProjectIDWebhookPoliciesParams) WithTimeout ¶

WithTimeout adds the timeout to the get projects project ID webhook policies params

func (*GetProjectsProjectIDWebhookPoliciesParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetProjectsProjectIDWebhookPoliciesPolicyIDBadRequest ¶

type GetProjectsProjectIDWebhookPoliciesPolicyIDBadRequest struct {
}
GetProjectsProjectIDWebhookPoliciesPolicyIDBadRequest describes a response with status code 400, with default header values.

Illegal format of provided ID value.

func NewGetProjectsProjectIDWebhookPoliciesPolicyIDBadRequest ¶

func NewGetProjectsProjectIDWebhookPoliciesPolicyIDBadRequest() *GetProjectsProjectIDWebhookPoliciesPolicyIDBadRequest

NewGetProjectsProjectIDWebhookPoliciesPolicyIDBadRequest creates a GetProjectsProjectIDWebhookPoliciesPolicyIDBadRequest with default headers values

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDBadRequest) Error ¶

type GetProjectsProjectIDWebhookPoliciesPolicyIDForbidden ¶

type GetProjectsProjectIDWebhookPoliciesPolicyIDForbidden struct {
}
GetProjectsProjectIDWebhookPoliciesPolicyIDForbidden describes a response with status code 403, with default header values.

User have no permission to get webhook policy of the project.

func NewGetProjectsProjectIDWebhookPoliciesPolicyIDForbidden ¶

func NewGetProjectsProjectIDWebhookPoliciesPolicyIDForbidden() *GetProjectsProjectIDWebhookPoliciesPolicyIDForbidden

NewGetProjectsProjectIDWebhookPoliciesPolicyIDForbidden creates a GetProjectsProjectIDWebhookPoliciesPolicyIDForbidden with default headers values

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDForbidden) Error ¶

type GetProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError ¶

type GetProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError struct {
}
GetProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError describes a response with status code 500, with default header values.

Internal server errors.

func NewGetProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError ¶

func NewGetProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError() *GetProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError

NewGetProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError creates a GetProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError with default headers values

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError) Error ¶

type GetProjectsProjectIDWebhookPoliciesPolicyIDNotFound ¶

type GetProjectsProjectIDWebhookPoliciesPolicyIDNotFound struct {
}
GetProjectsProjectIDWebhookPoliciesPolicyIDNotFound describes a response with status code 404, with default header values.

Webhook policy ID does not exist.

func NewGetProjectsProjectIDWebhookPoliciesPolicyIDNotFound ¶

func NewGetProjectsProjectIDWebhookPoliciesPolicyIDNotFound() *GetProjectsProjectIDWebhookPoliciesPolicyIDNotFound

NewGetProjectsProjectIDWebhookPoliciesPolicyIDNotFound creates a GetProjectsProjectIDWebhookPoliciesPolicyIDNotFound with default headers values

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDNotFound) Error ¶

type GetProjectsProjectIDWebhookPoliciesPolicyIDOK ¶

type GetProjectsProjectIDWebhookPoliciesPolicyIDOK struct {
	Payload *legacy.WebhookPolicy
}
GetProjectsProjectIDWebhookPoliciesPolicyIDOK describes a response with status code 200, with default header values.

Get webhook policy successfully.

func NewGetProjectsProjectIDWebhookPoliciesPolicyIDOK ¶

func NewGetProjectsProjectIDWebhookPoliciesPolicyIDOK() *GetProjectsProjectIDWebhookPoliciesPolicyIDOK

NewGetProjectsProjectIDWebhookPoliciesPolicyIDOK creates a GetProjectsProjectIDWebhookPoliciesPolicyIDOK with default headers values

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDOK) Error ¶

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDOK) GetPayload ¶

type GetProjectsProjectIDWebhookPoliciesPolicyIDParams ¶

type GetProjectsProjectIDWebhookPoliciesPolicyIDParams struct {

	/* PolicyID.

	   The id of webhook policy.

	   Format: int64
	*/
	PolicyID int64

	/* ProjectID.

	   Relevant project ID.

	   Format: int64
	*/
	ProjectID int64

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

GetProjectsProjectIDWebhookPoliciesPolicyIDParams contains all the parameters to send to the API endpoint

for the get projects project ID webhook policies policy ID operation.

Typically these are written to a http.Request.

func NewGetProjectsProjectIDWebhookPoliciesPolicyIDParams ¶

func NewGetProjectsProjectIDWebhookPoliciesPolicyIDParams() *GetProjectsProjectIDWebhookPoliciesPolicyIDParams

NewGetProjectsProjectIDWebhookPoliciesPolicyIDParams creates a new GetProjectsProjectIDWebhookPoliciesPolicyIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectsProjectIDWebhookPoliciesPolicyIDParamsWithContext ¶

func NewGetProjectsProjectIDWebhookPoliciesPolicyIDParamsWithContext(ctx context.Context) *GetProjectsProjectIDWebhookPoliciesPolicyIDParams

NewGetProjectsProjectIDWebhookPoliciesPolicyIDParamsWithContext creates a new GetProjectsProjectIDWebhookPoliciesPolicyIDParams object with the ability to set a context for a request.

func NewGetProjectsProjectIDWebhookPoliciesPolicyIDParamsWithHTTPClient ¶

func NewGetProjectsProjectIDWebhookPoliciesPolicyIDParamsWithHTTPClient(client *http.Client) *GetProjectsProjectIDWebhookPoliciesPolicyIDParams

NewGetProjectsProjectIDWebhookPoliciesPolicyIDParamsWithHTTPClient creates a new GetProjectsProjectIDWebhookPoliciesPolicyIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetProjectsProjectIDWebhookPoliciesPolicyIDParamsWithTimeout ¶

func NewGetProjectsProjectIDWebhookPoliciesPolicyIDParamsWithTimeout(timeout time.Duration) *GetProjectsProjectIDWebhookPoliciesPolicyIDParams

NewGetProjectsProjectIDWebhookPoliciesPolicyIDParamsWithTimeout creates a new GetProjectsProjectIDWebhookPoliciesPolicyIDParams object with the ability to set a timeout on a request.

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDParams) SetContext ¶

SetContext adds the context to the get projects project ID webhook policies policy ID params

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDParams) SetDefaults ¶

SetDefaults hydrates default values in the get projects project ID webhook policies policy ID params (not the query body).

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

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDParams) SetHTTPClient ¶

SetHTTPClient adds the HTTPClient to the get projects project ID webhook policies policy ID params

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDParams) SetPolicyID ¶

SetPolicyID adds the policyId to the get projects project ID webhook policies policy ID params

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDParams) SetProjectID ¶

func (o *GetProjectsProjectIDWebhookPoliciesPolicyIDParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the get projects project ID webhook policies policy ID params

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDParams) SetTimeout ¶

SetTimeout adds the timeout to the get projects project ID webhook policies policy ID params

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDParams) WithContext ¶

WithContext adds the context to the get projects project ID webhook policies policy ID params

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDParams) WithDefaults ¶

WithDefaults hydrates default values in the get projects project ID webhook policies policy ID params (not the query body).

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

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get projects project ID webhook policies policy ID params

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDParams) WithPolicyID ¶

WithPolicyID adds the policyID to the get projects project ID webhook policies policy ID params

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDParams) WithProjectID ¶

WithProjectID adds the projectID to the get projects project ID webhook policies policy ID params

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDParams) WithTimeout ¶

WithTimeout adds the timeout to the get projects project ID webhook policies policy ID params

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetProjectsProjectIDWebhookPoliciesPolicyIDReader ¶

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

GetProjectsProjectIDWebhookPoliciesPolicyIDReader is a Reader for the GetProjectsProjectIDWebhookPoliciesPolicyID structure.

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized ¶

type GetProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized struct {
}
GetProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized ¶

func NewGetProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized() *GetProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized

NewGetProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized creates a GetProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized with default headers values

func (*GetProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized) Error ¶

type GetProjectsProjectIDWebhookPoliciesReader ¶

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

GetProjectsProjectIDWebhookPoliciesReader is a Reader for the GetProjectsProjectIDWebhookPolicies structure.

func (*GetProjectsProjectIDWebhookPoliciesReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetProjectsProjectIDWebhookPoliciesUnauthorized ¶

type GetProjectsProjectIDWebhookPoliciesUnauthorized struct {
}
GetProjectsProjectIDWebhookPoliciesUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetProjectsProjectIDWebhookPoliciesUnauthorized ¶

func NewGetProjectsProjectIDWebhookPoliciesUnauthorized() *GetProjectsProjectIDWebhookPoliciesUnauthorized

NewGetProjectsProjectIDWebhookPoliciesUnauthorized creates a GetProjectsProjectIDWebhookPoliciesUnauthorized with default headers values

func (*GetProjectsProjectIDWebhookPoliciesUnauthorized) Error ¶

type GetQuotasForbidden ¶

type GetQuotasForbidden struct {
}
GetQuotasForbidden describes a response with status code 403, with default header values.

User does not have permission to call this API.

func NewGetQuotasForbidden ¶

func NewGetQuotasForbidden() *GetQuotasForbidden

NewGetQuotasForbidden creates a GetQuotasForbidden with default headers values

func (*GetQuotasForbidden) Error ¶

func (o *GetQuotasForbidden) Error() string

type GetQuotasIDForbidden ¶

type GetQuotasIDForbidden struct {
}
GetQuotasIDForbidden describes a response with status code 403, with default header values.

User does not have permission to call this API

func NewGetQuotasIDForbidden ¶

func NewGetQuotasIDForbidden() *GetQuotasIDForbidden

NewGetQuotasIDForbidden creates a GetQuotasIDForbidden with default headers values

func (*GetQuotasIDForbidden) Error ¶

func (o *GetQuotasIDForbidden) Error() string

type GetQuotasIDInternalServerError ¶

type GetQuotasIDInternalServerError struct {
}
GetQuotasIDInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetQuotasIDInternalServerError ¶

func NewGetQuotasIDInternalServerError() *GetQuotasIDInternalServerError

NewGetQuotasIDInternalServerError creates a GetQuotasIDInternalServerError with default headers values

func (*GetQuotasIDInternalServerError) Error ¶

type GetQuotasIDNotFound ¶

type GetQuotasIDNotFound struct {
}
GetQuotasIDNotFound describes a response with status code 404, with default header values.

Quota does not exist.

func NewGetQuotasIDNotFound ¶

func NewGetQuotasIDNotFound() *GetQuotasIDNotFound

NewGetQuotasIDNotFound creates a GetQuotasIDNotFound with default headers values

func (*GetQuotasIDNotFound) Error ¶

func (o *GetQuotasIDNotFound) Error() string

type GetQuotasIDOK ¶

type GetQuotasIDOK struct {
	Payload *legacy.Quota
}
GetQuotasIDOK describes a response with status code 200, with default header values.

Successfully retrieved the quota.

func NewGetQuotasIDOK ¶

func NewGetQuotasIDOK() *GetQuotasIDOK

NewGetQuotasIDOK creates a GetQuotasIDOK with default headers values

func (*GetQuotasIDOK) Error ¶

func (o *GetQuotasIDOK) Error() string

func (*GetQuotasIDOK) GetPayload ¶

func (o *GetQuotasIDOK) GetPayload() *legacy.Quota

type GetQuotasIDParams ¶

type GetQuotasIDParams struct {

	/* ID.

	   Quota ID
	*/
	ID int64

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

GetQuotasIDParams contains all the parameters to send to the API endpoint

for the get quotas ID operation.

Typically these are written to a http.Request.

func NewGetQuotasIDParams ¶

func NewGetQuotasIDParams() *GetQuotasIDParams

NewGetQuotasIDParams creates a new GetQuotasIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetQuotasIDParamsWithContext ¶

func NewGetQuotasIDParamsWithContext(ctx context.Context) *GetQuotasIDParams

NewGetQuotasIDParamsWithContext creates a new GetQuotasIDParams object with the ability to set a context for a request.

func NewGetQuotasIDParamsWithHTTPClient ¶

func NewGetQuotasIDParamsWithHTTPClient(client *http.Client) *GetQuotasIDParams

NewGetQuotasIDParamsWithHTTPClient creates a new GetQuotasIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetQuotasIDParamsWithTimeout ¶

func NewGetQuotasIDParamsWithTimeout(timeout time.Duration) *GetQuotasIDParams

NewGetQuotasIDParamsWithTimeout creates a new GetQuotasIDParams object with the ability to set a timeout on a request.

func (*GetQuotasIDParams) SetContext ¶

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

SetContext adds the context to the get quotas ID params

func (*GetQuotasIDParams) SetDefaults ¶

func (o *GetQuotasIDParams) SetDefaults()

SetDefaults hydrates default values in the get quotas ID params (not the query body).

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

func (*GetQuotasIDParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get quotas ID params

func (*GetQuotasIDParams) SetID ¶

func (o *GetQuotasIDParams) SetID(id int64)

SetID adds the id to the get quotas ID params

func (*GetQuotasIDParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get quotas ID params

func (*GetQuotasIDParams) WithContext ¶

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

WithContext adds the context to the get quotas ID params

func (*GetQuotasIDParams) WithDefaults ¶

func (o *GetQuotasIDParams) WithDefaults() *GetQuotasIDParams

WithDefaults hydrates default values in the get quotas ID params (not the query body).

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

func (*GetQuotasIDParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get quotas ID params

func (*GetQuotasIDParams) WithID ¶

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

WithID adds the id to the get quotas ID params

func (*GetQuotasIDParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get quotas ID params

func (*GetQuotasIDParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetQuotasIDReader ¶

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

GetQuotasIDReader is a Reader for the GetQuotasID structure.

func (*GetQuotasIDReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetQuotasIDUnauthorized ¶

type GetQuotasIDUnauthorized struct {
}
GetQuotasIDUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetQuotasIDUnauthorized ¶

func NewGetQuotasIDUnauthorized() *GetQuotasIDUnauthorized

NewGetQuotasIDUnauthorized creates a GetQuotasIDUnauthorized with default headers values

func (*GetQuotasIDUnauthorized) Error ¶

func (o *GetQuotasIDUnauthorized) Error() string

type GetQuotasInternalServerError ¶

type GetQuotasInternalServerError struct {
}
GetQuotasInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetQuotasInternalServerError ¶

func NewGetQuotasInternalServerError() *GetQuotasInternalServerError

NewGetQuotasInternalServerError creates a GetQuotasInternalServerError with default headers values

func (*GetQuotasInternalServerError) Error ¶

type GetQuotasOK ¶

type GetQuotasOK struct {

	/* Link refers to the previous page and next page
	 */
	Link string

	/* The total count of access logs
	 */
	XTotalCount int64

	Payload []*legacy.Quota
}
GetQuotasOK describes a response with status code 200, with default header values.

Successfully retrieved the quotas.

func NewGetQuotasOK ¶

func NewGetQuotasOK() *GetQuotasOK

NewGetQuotasOK creates a GetQuotasOK with default headers values

func (*GetQuotasOK) Error ¶

func (o *GetQuotasOK) Error() string

func (*GetQuotasOK) GetPayload ¶

func (o *GetQuotasOK) GetPayload() []*legacy.Quota

type GetQuotasParams ¶

type GetQuotasParams struct {

	/* Page.

	   The page number, default is 1.

	   Format: int32
	*/
	Page *int32

	/* PageSize.

	   The size of per page, default is 10, maximum is 100.

	   Format: int32
	*/
	PageSize *int32

	/* Reference.

	   The reference type of quota.
	*/
	Reference *string

	/* ReferenceID.

	   The reference id of quota.
	*/
	ReferenceID *string

	/* Sort.

	     Sort method, valid values include:
	'hard.resource_name', '-hard.resource_name', 'used.resource_name', '-used.resource_name'.
	Here '-' stands for descending order, resource_name should be the real resource name of the quota.

	*/
	Sort *string

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

GetQuotasParams contains all the parameters to send to the API endpoint

for the get quotas operation.

Typically these are written to a http.Request.

func NewGetQuotasParams ¶

func NewGetQuotasParams() *GetQuotasParams

NewGetQuotasParams creates a new GetQuotasParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetQuotasParamsWithContext ¶

func NewGetQuotasParamsWithContext(ctx context.Context) *GetQuotasParams

NewGetQuotasParamsWithContext creates a new GetQuotasParams object with the ability to set a context for a request.

func NewGetQuotasParamsWithHTTPClient ¶

func NewGetQuotasParamsWithHTTPClient(client *http.Client) *GetQuotasParams

NewGetQuotasParamsWithHTTPClient creates a new GetQuotasParams object with the ability to set a custom HTTPClient for a request.

func NewGetQuotasParamsWithTimeout ¶

func NewGetQuotasParamsWithTimeout(timeout time.Duration) *GetQuotasParams

NewGetQuotasParamsWithTimeout creates a new GetQuotasParams object with the ability to set a timeout on a request.

func (*GetQuotasParams) SetContext ¶

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

SetContext adds the context to the get quotas params

func (*GetQuotasParams) SetDefaults ¶

func (o *GetQuotasParams) SetDefaults()

SetDefaults hydrates default values in the get quotas params (not the query body).

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

func (*GetQuotasParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get quotas params

func (*GetQuotasParams) SetPage ¶

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

SetPage adds the page to the get quotas params

func (*GetQuotasParams) SetPageSize ¶

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

SetPageSize adds the pageSize to the get quotas params

func (*GetQuotasParams) SetReference ¶

func (o *GetQuotasParams) SetReference(reference *string)

SetReference adds the reference to the get quotas params

func (*GetQuotasParams) SetReferenceID ¶

func (o *GetQuotasParams) SetReferenceID(referenceID *string)

SetReferenceID adds the referenceId to the get quotas params

func (*GetQuotasParams) SetSort ¶

func (o *GetQuotasParams) SetSort(sort *string)

SetSort adds the sort to the get quotas params

func (*GetQuotasParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get quotas params

func (*GetQuotasParams) WithContext ¶

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

WithContext adds the context to the get quotas params

func (*GetQuotasParams) WithDefaults ¶

func (o *GetQuotasParams) WithDefaults() *GetQuotasParams

WithDefaults hydrates default values in the get quotas params (not the query body).

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

func (*GetQuotasParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get quotas params

func (*GetQuotasParams) WithPage ¶

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

WithPage adds the page to the get quotas params

func (*GetQuotasParams) WithPageSize ¶

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

WithPageSize adds the pageSize to the get quotas params

func (*GetQuotasParams) WithReference ¶

func (o *GetQuotasParams) WithReference(reference *string) *GetQuotasParams

WithReference adds the reference to the get quotas params

func (*GetQuotasParams) WithReferenceID ¶

func (o *GetQuotasParams) WithReferenceID(referenceID *string) *GetQuotasParams

WithReferenceID adds the referenceID to the get quotas params

func (*GetQuotasParams) WithSort ¶

func (o *GetQuotasParams) WithSort(sort *string) *GetQuotasParams

WithSort adds the sort to the get quotas params

func (*GetQuotasParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get quotas params

func (*GetQuotasParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetQuotasReader ¶

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

GetQuotasReader is a Reader for the GetQuotas structure.

func (*GetQuotasReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetQuotasUnauthorized ¶

type GetQuotasUnauthorized struct {
}
GetQuotasUnauthorized describes a response with status code 401, with default header values.

User is not authenticated.

func NewGetQuotasUnauthorized ¶

func NewGetQuotasUnauthorized() *GetQuotasUnauthorized

NewGetQuotasUnauthorized creates a GetQuotasUnauthorized with default headers values

func (*GetQuotasUnauthorized) Error ¶

func (o *GetQuotasUnauthorized) Error() string

type GetRegistriesIDInfoInternalServerError ¶

type GetRegistriesIDInfoInternalServerError struct {
}
GetRegistriesIDInfoInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetRegistriesIDInfoInternalServerError ¶

func NewGetRegistriesIDInfoInternalServerError() *GetRegistriesIDInfoInternalServerError

NewGetRegistriesIDInfoInternalServerError creates a GetRegistriesIDInfoInternalServerError with default headers values

func (*GetRegistriesIDInfoInternalServerError) Error ¶

type GetRegistriesIDInfoNotFound ¶

type GetRegistriesIDInfoNotFound struct {
}
GetRegistriesIDInfoNotFound describes a response with status code 404, with default header values.

Registry not found

func NewGetRegistriesIDInfoNotFound ¶

func NewGetRegistriesIDInfoNotFound() *GetRegistriesIDInfoNotFound

NewGetRegistriesIDInfoNotFound creates a GetRegistriesIDInfoNotFound with default headers values

func (*GetRegistriesIDInfoNotFound) Error ¶

type GetRegistriesIDInfoOK ¶

type GetRegistriesIDInfoOK struct {
	Payload *legacy.RegistryInfo
}
GetRegistriesIDInfoOK describes a response with status code 200, with default header values.

Get registry successfully.

func NewGetRegistriesIDInfoOK ¶

func NewGetRegistriesIDInfoOK() *GetRegistriesIDInfoOK

NewGetRegistriesIDInfoOK creates a GetRegistriesIDInfoOK with default headers values

func (*GetRegistriesIDInfoOK) Error ¶

func (o *GetRegistriesIDInfoOK) Error() string

func (*GetRegistriesIDInfoOK) GetPayload ¶

func (o *GetRegistriesIDInfoOK) GetPayload() *legacy.RegistryInfo

type GetRegistriesIDInfoParams ¶

type GetRegistriesIDInfoParams struct {

	/* ID.

	   The registry ID.

	   Format: int64
	*/
	ID int64

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

GetRegistriesIDInfoParams contains all the parameters to send to the API endpoint

for the get registries ID info operation.

Typically these are written to a http.Request.

func NewGetRegistriesIDInfoParams ¶

func NewGetRegistriesIDInfoParams() *GetRegistriesIDInfoParams

NewGetRegistriesIDInfoParams creates a new GetRegistriesIDInfoParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetRegistriesIDInfoParamsWithContext ¶

func NewGetRegistriesIDInfoParamsWithContext(ctx context.Context) *GetRegistriesIDInfoParams

NewGetRegistriesIDInfoParamsWithContext creates a new GetRegistriesIDInfoParams object with the ability to set a context for a request.

func NewGetRegistriesIDInfoParamsWithHTTPClient ¶

func NewGetRegistriesIDInfoParamsWithHTTPClient(client *http.Client) *GetRegistriesIDInfoParams

NewGetRegistriesIDInfoParamsWithHTTPClient creates a new GetRegistriesIDInfoParams object with the ability to set a custom HTTPClient for a request.

func NewGetRegistriesIDInfoParamsWithTimeout ¶

func NewGetRegistriesIDInfoParamsWithTimeout(timeout time.Duration) *GetRegistriesIDInfoParams

NewGetRegistriesIDInfoParamsWithTimeout creates a new GetRegistriesIDInfoParams object with the ability to set a timeout on a request.

func (*GetRegistriesIDInfoParams) SetContext ¶

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

SetContext adds the context to the get registries ID info params

func (*GetRegistriesIDInfoParams) SetDefaults ¶

func (o *GetRegistriesIDInfoParams) SetDefaults()

SetDefaults hydrates default values in the get registries ID info params (not the query body).

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

func (*GetRegistriesIDInfoParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get registries ID info params

func (*GetRegistriesIDInfoParams) SetID ¶

func (o *GetRegistriesIDInfoParams) SetID(id int64)

SetID adds the id to the get registries ID info params

func (*GetRegistriesIDInfoParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get registries ID info params

func (*GetRegistriesIDInfoParams) WithContext ¶

WithContext adds the context to the get registries ID info params

func (*GetRegistriesIDInfoParams) WithDefaults ¶

WithDefaults hydrates default values in the get registries ID info params (not the query body).

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

func (*GetRegistriesIDInfoParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get registries ID info params

func (*GetRegistriesIDInfoParams) WithID ¶

WithID adds the id to the get registries ID info params

func (*GetRegistriesIDInfoParams) WithTimeout ¶

WithTimeout adds the timeout to the get registries ID info params

func (*GetRegistriesIDInfoParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetRegistriesIDInfoReader ¶

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

GetRegistriesIDInfoReader is a Reader for the GetRegistriesIDInfo structure.

func (*GetRegistriesIDInfoReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetRegistriesIDInfoUnauthorized ¶

type GetRegistriesIDInfoUnauthorized struct {
}
GetRegistriesIDInfoUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetRegistriesIDInfoUnauthorized ¶

func NewGetRegistriesIDInfoUnauthorized() *GetRegistriesIDInfoUnauthorized

NewGetRegistriesIDInfoUnauthorized creates a GetRegistriesIDInfoUnauthorized with default headers values

func (*GetRegistriesIDInfoUnauthorized) Error ¶

type GetRegistriesIDInternalServerError ¶

type GetRegistriesIDInternalServerError struct {
}
GetRegistriesIDInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetRegistriesIDInternalServerError ¶

func NewGetRegistriesIDInternalServerError() *GetRegistriesIDInternalServerError

NewGetRegistriesIDInternalServerError creates a GetRegistriesIDInternalServerError with default headers values

func (*GetRegistriesIDInternalServerError) Error ¶

type GetRegistriesIDNamespaceForbidden ¶

type GetRegistriesIDNamespaceForbidden struct {
}
GetRegistriesIDNamespaceForbidden describes a response with status code 403, with default header values.

User has no privilege for the operation.

func NewGetRegistriesIDNamespaceForbidden ¶

func NewGetRegistriesIDNamespaceForbidden() *GetRegistriesIDNamespaceForbidden

NewGetRegistriesIDNamespaceForbidden creates a GetRegistriesIDNamespaceForbidden with default headers values

func (*GetRegistriesIDNamespaceForbidden) Error ¶

type GetRegistriesIDNamespaceInternalServerError ¶

type GetRegistriesIDNamespaceInternalServerError struct {
}
GetRegistriesIDNamespaceInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetRegistriesIDNamespaceInternalServerError ¶

func NewGetRegistriesIDNamespaceInternalServerError() *GetRegistriesIDNamespaceInternalServerError

NewGetRegistriesIDNamespaceInternalServerError creates a GetRegistriesIDNamespaceInternalServerError with default headers values

func (*GetRegistriesIDNamespaceInternalServerError) Error ¶

type GetRegistriesIDNamespaceNotFound ¶

type GetRegistriesIDNamespaceNotFound struct {
}
GetRegistriesIDNamespaceNotFound describes a response with status code 404, with default header values.

No registry found.

func NewGetRegistriesIDNamespaceNotFound ¶

func NewGetRegistriesIDNamespaceNotFound() *GetRegistriesIDNamespaceNotFound

NewGetRegistriesIDNamespaceNotFound creates a GetRegistriesIDNamespaceNotFound with default headers values

func (*GetRegistriesIDNamespaceNotFound) Error ¶

type GetRegistriesIDNamespaceOK ¶

type GetRegistriesIDNamespaceOK struct {
	Payload []*legacy.Namespace
}
GetRegistriesIDNamespaceOK describes a response with status code 200, with default header values.

Success

func NewGetRegistriesIDNamespaceOK ¶

func NewGetRegistriesIDNamespaceOK() *GetRegistriesIDNamespaceOK

NewGetRegistriesIDNamespaceOK creates a GetRegistriesIDNamespaceOK with default headers values

func (*GetRegistriesIDNamespaceOK) Error ¶

func (*GetRegistriesIDNamespaceOK) GetPayload ¶

func (o *GetRegistriesIDNamespaceOK) GetPayload() []*legacy.Namespace

type GetRegistriesIDNamespaceParams ¶

type GetRegistriesIDNamespaceParams struct {

	/* ID.

	   The registry ID.
	*/
	ID int64

	/* Name.

	   The name of namespace.
	*/
	Name *string

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

GetRegistriesIDNamespaceParams contains all the parameters to send to the API endpoint

for the get registries ID namespace operation.

Typically these are written to a http.Request.

func NewGetRegistriesIDNamespaceParams ¶

func NewGetRegistriesIDNamespaceParams() *GetRegistriesIDNamespaceParams

NewGetRegistriesIDNamespaceParams creates a new GetRegistriesIDNamespaceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetRegistriesIDNamespaceParamsWithContext ¶

func NewGetRegistriesIDNamespaceParamsWithContext(ctx context.Context) *GetRegistriesIDNamespaceParams

NewGetRegistriesIDNamespaceParamsWithContext creates a new GetRegistriesIDNamespaceParams object with the ability to set a context for a request.

func NewGetRegistriesIDNamespaceParamsWithHTTPClient ¶

func NewGetRegistriesIDNamespaceParamsWithHTTPClient(client *http.Client) *GetRegistriesIDNamespaceParams

NewGetRegistriesIDNamespaceParamsWithHTTPClient creates a new GetRegistriesIDNamespaceParams object with the ability to set a custom HTTPClient for a request.

func NewGetRegistriesIDNamespaceParamsWithTimeout ¶

func NewGetRegistriesIDNamespaceParamsWithTimeout(timeout time.Duration) *GetRegistriesIDNamespaceParams

NewGetRegistriesIDNamespaceParamsWithTimeout creates a new GetRegistriesIDNamespaceParams object with the ability to set a timeout on a request.

func (*GetRegistriesIDNamespaceParams) SetContext ¶

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

SetContext adds the context to the get registries ID namespace params

func (*GetRegistriesIDNamespaceParams) SetDefaults ¶

func (o *GetRegistriesIDNamespaceParams) SetDefaults()

SetDefaults hydrates default values in the get registries ID namespace params (not the query body).

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

func (*GetRegistriesIDNamespaceParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get registries ID namespace params

func (*GetRegistriesIDNamespaceParams) SetID ¶

SetID adds the id to the get registries ID namespace params

func (*GetRegistriesIDNamespaceParams) SetName ¶

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

SetName adds the name to the get registries ID namespace params

func (*GetRegistriesIDNamespaceParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get registries ID namespace params

func (*GetRegistriesIDNamespaceParams) WithContext ¶

WithContext adds the context to the get registries ID namespace params

func (*GetRegistriesIDNamespaceParams) WithDefaults ¶

WithDefaults hydrates default values in the get registries ID namespace params (not the query body).

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

func (*GetRegistriesIDNamespaceParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get registries ID namespace params

func (*GetRegistriesIDNamespaceParams) WithID ¶

WithID adds the id to the get registries ID namespace params

func (*GetRegistriesIDNamespaceParams) WithName ¶

WithName adds the name to the get registries ID namespace params

func (*GetRegistriesIDNamespaceParams) WithTimeout ¶

WithTimeout adds the timeout to the get registries ID namespace params

func (*GetRegistriesIDNamespaceParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetRegistriesIDNamespaceReader ¶

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

GetRegistriesIDNamespaceReader is a Reader for the GetRegistriesIDNamespace structure.

func (*GetRegistriesIDNamespaceReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetRegistriesIDNamespaceUnauthorized ¶

type GetRegistriesIDNamespaceUnauthorized struct {
}
GetRegistriesIDNamespaceUnauthorized describes a response with status code 401, with default header values.

User need to login first.

func NewGetRegistriesIDNamespaceUnauthorized ¶

func NewGetRegistriesIDNamespaceUnauthorized() *GetRegistriesIDNamespaceUnauthorized

NewGetRegistriesIDNamespaceUnauthorized creates a GetRegistriesIDNamespaceUnauthorized with default headers values

func (*GetRegistriesIDNamespaceUnauthorized) Error ¶

type GetRegistriesIDNotFound ¶

type GetRegistriesIDNotFound struct {
}
GetRegistriesIDNotFound describes a response with status code 404, with default header values.

Registry not found

func NewGetRegistriesIDNotFound ¶

func NewGetRegistriesIDNotFound() *GetRegistriesIDNotFound

NewGetRegistriesIDNotFound creates a GetRegistriesIDNotFound with default headers values

func (*GetRegistriesIDNotFound) Error ¶

func (o *GetRegistriesIDNotFound) Error() string

type GetRegistriesIDOK ¶

type GetRegistriesIDOK struct {
	Payload *legacy.Registry
}
GetRegistriesIDOK describes a response with status code 200, with default header values.

Get registry successfully.

func NewGetRegistriesIDOK ¶

func NewGetRegistriesIDOK() *GetRegistriesIDOK

NewGetRegistriesIDOK creates a GetRegistriesIDOK with default headers values

func (*GetRegistriesIDOK) Error ¶

func (o *GetRegistriesIDOK) Error() string

func (*GetRegistriesIDOK) GetPayload ¶

func (o *GetRegistriesIDOK) GetPayload() *legacy.Registry

type GetRegistriesIDParams ¶

type GetRegistriesIDParams struct {

	/* ID.

	   The registry ID.

	   Format: int64
	*/
	ID int64

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

GetRegistriesIDParams contains all the parameters to send to the API endpoint

for the get registries ID operation.

Typically these are written to a http.Request.

func NewGetRegistriesIDParams ¶

func NewGetRegistriesIDParams() *GetRegistriesIDParams

NewGetRegistriesIDParams creates a new GetRegistriesIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetRegistriesIDParamsWithContext ¶

func NewGetRegistriesIDParamsWithContext(ctx context.Context) *GetRegistriesIDParams

NewGetRegistriesIDParamsWithContext creates a new GetRegistriesIDParams object with the ability to set a context for a request.

func NewGetRegistriesIDParamsWithHTTPClient ¶

func NewGetRegistriesIDParamsWithHTTPClient(client *http.Client) *GetRegistriesIDParams

NewGetRegistriesIDParamsWithHTTPClient creates a new GetRegistriesIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetRegistriesIDParamsWithTimeout ¶

func NewGetRegistriesIDParamsWithTimeout(timeout time.Duration) *GetRegistriesIDParams

NewGetRegistriesIDParamsWithTimeout creates a new GetRegistriesIDParams object with the ability to set a timeout on a request.

func (*GetRegistriesIDParams) SetContext ¶

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

SetContext adds the context to the get registries ID params

func (*GetRegistriesIDParams) SetDefaults ¶

func (o *GetRegistriesIDParams) SetDefaults()

SetDefaults hydrates default values in the get registries ID params (not the query body).

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

func (*GetRegistriesIDParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get registries ID params

func (*GetRegistriesIDParams) SetID ¶

func (o *GetRegistriesIDParams) SetID(id int64)

SetID adds the id to the get registries ID params

func (*GetRegistriesIDParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get registries ID params

func (*GetRegistriesIDParams) WithContext ¶

WithContext adds the context to the get registries ID params

func (*GetRegistriesIDParams) WithDefaults ¶

func (o *GetRegistriesIDParams) WithDefaults() *GetRegistriesIDParams

WithDefaults hydrates default values in the get registries ID params (not the query body).

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

func (*GetRegistriesIDParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get registries ID params

func (*GetRegistriesIDParams) WithID ¶

WithID adds the id to the get registries ID params

func (*GetRegistriesIDParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get registries ID params

func (*GetRegistriesIDParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetRegistriesIDReader ¶

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

GetRegistriesIDReader is a Reader for the GetRegistriesID structure.

func (*GetRegistriesIDReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetRegistriesIDUnauthorized ¶

type GetRegistriesIDUnauthorized struct {
}
GetRegistriesIDUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetRegistriesIDUnauthorized ¶

func NewGetRegistriesIDUnauthorized() *GetRegistriesIDUnauthorized

NewGetRegistriesIDUnauthorized creates a GetRegistriesIDUnauthorized with default headers values

func (*GetRegistriesIDUnauthorized) Error ¶

type GetRegistriesInternalServerError ¶

type GetRegistriesInternalServerError struct {
}
GetRegistriesInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetRegistriesInternalServerError ¶

func NewGetRegistriesInternalServerError() *GetRegistriesInternalServerError

NewGetRegistriesInternalServerError creates a GetRegistriesInternalServerError with default headers values

func (*GetRegistriesInternalServerError) Error ¶

type GetRegistriesOK ¶

type GetRegistriesOK struct {
	Payload []*legacy.Registry
}
GetRegistriesOK describes a response with status code 200, 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() []*legacy.Registry

type GetRegistriesParams ¶

type GetRegistriesParams struct {

	/* Name.

	   Deprecated, use `q` instead.
	*/
	Name *string

	/* Q.

	   Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max]
	*/
	Q *string

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

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetRegistriesParamsWithContext ¶

func NewGetRegistriesParamsWithContext(ctx context.Context) *GetRegistriesParams

NewGetRegistriesParamsWithContext creates a new GetRegistriesParams object with 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 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 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) SetDefaults ¶

func (o *GetRegistriesParams) SetDefaults()

SetDefaults hydrates default values in the get registries params (not the query body).

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

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) SetQ ¶

func (o *GetRegistriesParams) SetQ(q *string)

SetQ adds the q 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) WithDefaults ¶

func (o *GetRegistriesParams) WithDefaults() *GetRegistriesParams

WithDefaults hydrates default values in the get registries params (not the query body).

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

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) WithQ ¶

WithQ adds the q 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 describes a response with status code 401, 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 GetReplicationAdaptersForbidden ¶

type GetReplicationAdaptersForbidden struct {
}
GetReplicationAdaptersForbidden describes a response with status code 403, with default header values.

Forbidden.

func NewGetReplicationAdaptersForbidden ¶

func NewGetReplicationAdaptersForbidden() *GetReplicationAdaptersForbidden

NewGetReplicationAdaptersForbidden creates a GetReplicationAdaptersForbidden with default headers values

func (*GetReplicationAdaptersForbidden) Error ¶

type GetReplicationAdaptersInternalServerError ¶

type GetReplicationAdaptersInternalServerError struct {
}
GetReplicationAdaptersInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetReplicationAdaptersInternalServerError ¶

func NewGetReplicationAdaptersInternalServerError() *GetReplicationAdaptersInternalServerError

NewGetReplicationAdaptersInternalServerError creates a GetReplicationAdaptersInternalServerError with default headers values

func (*GetReplicationAdaptersInternalServerError) Error ¶

type GetReplicationAdaptersOK ¶

type GetReplicationAdaptersOK struct {
	Payload []string
}
GetReplicationAdaptersOK describes a response with status code 200, with default header values.

Success.

func NewGetReplicationAdaptersOK ¶

func NewGetReplicationAdaptersOK() *GetReplicationAdaptersOK

NewGetReplicationAdaptersOK creates a GetReplicationAdaptersOK with default headers values

func (*GetReplicationAdaptersOK) Error ¶

func (o *GetReplicationAdaptersOK) Error() string

func (*GetReplicationAdaptersOK) GetPayload ¶

func (o *GetReplicationAdaptersOK) GetPayload() []string

type GetReplicationAdaptersParams ¶

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

GetReplicationAdaptersParams contains all the parameters to send to the API endpoint

for the get replication adapters operation.

Typically these are written to a http.Request.

func NewGetReplicationAdaptersParams ¶

func NewGetReplicationAdaptersParams() *GetReplicationAdaptersParams

NewGetReplicationAdaptersParams creates a new GetReplicationAdaptersParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetReplicationAdaptersParamsWithContext ¶

func NewGetReplicationAdaptersParamsWithContext(ctx context.Context) *GetReplicationAdaptersParams

NewGetReplicationAdaptersParamsWithContext creates a new GetReplicationAdaptersParams object with the ability to set a context for a request.

func NewGetReplicationAdaptersParamsWithHTTPClient ¶

func NewGetReplicationAdaptersParamsWithHTTPClient(client *http.Client) *GetReplicationAdaptersParams

NewGetReplicationAdaptersParamsWithHTTPClient creates a new GetReplicationAdaptersParams object with the ability to set a custom HTTPClient for a request.

func NewGetReplicationAdaptersParamsWithTimeout ¶

func NewGetReplicationAdaptersParamsWithTimeout(timeout time.Duration) *GetReplicationAdaptersParams

NewGetReplicationAdaptersParamsWithTimeout creates a new GetReplicationAdaptersParams object with the ability to set a timeout on a request.

func (*GetReplicationAdaptersParams) SetContext ¶

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

SetContext adds the context to the get replication adapters params

func (*GetReplicationAdaptersParams) SetDefaults ¶

func (o *GetReplicationAdaptersParams) SetDefaults()

SetDefaults hydrates default values in the get replication adapters params (not the query body).

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

func (*GetReplicationAdaptersParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get replication adapters params

func (*GetReplicationAdaptersParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get replication adapters params

func (*GetReplicationAdaptersParams) WithContext ¶

WithContext adds the context to the get replication adapters params

func (*GetReplicationAdaptersParams) WithDefaults ¶

WithDefaults hydrates default values in the get replication adapters params (not the query body).

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

func (*GetReplicationAdaptersParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get replication adapters params

func (*GetReplicationAdaptersParams) WithTimeout ¶

WithTimeout adds the timeout to the get replication adapters params

func (*GetReplicationAdaptersParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetReplicationAdaptersReader ¶

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

GetReplicationAdaptersReader is a Reader for the GetReplicationAdapters structure.

func (*GetReplicationAdaptersReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetReplicationAdaptersUnauthorized ¶

type GetReplicationAdaptersUnauthorized struct {
}
GetReplicationAdaptersUnauthorized describes a response with status code 401, with default header values.

Unauthorized.

func NewGetReplicationAdaptersUnauthorized ¶

func NewGetReplicationAdaptersUnauthorized() *GetReplicationAdaptersUnauthorized

NewGetReplicationAdaptersUnauthorized creates a GetReplicationAdaptersUnauthorized with default headers values

func (*GetReplicationAdaptersUnauthorized) Error ¶

type GetReplicationExecutionsForbidden ¶

type GetReplicationExecutionsForbidden struct {
}
GetReplicationExecutionsForbidden describes a response with status code 403, 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 describes a response with status code 400, 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 describes a response with status code 403, 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 describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetReplicationExecutionsIDInternalServerError ¶

func NewGetReplicationExecutionsIDInternalServerError() *GetReplicationExecutionsIDInternalServerError

NewGetReplicationExecutionsIDInternalServerError creates a GetReplicationExecutionsIDInternalServerError with default headers values

func (*GetReplicationExecutionsIDInternalServerError) Error ¶

type GetReplicationExecutionsIDNotFound ¶

type GetReplicationExecutionsIDNotFound struct {
}
GetReplicationExecutionsIDNotFound describes a response with status code 404, 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 *legacy.ReplicationExecution
}
GetReplicationExecutionsIDOK describes a response with status code 200, 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.

	   Format: int64
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetReplicationExecutionsIDParamsWithContext ¶

func NewGetReplicationExecutionsIDParamsWithContext(ctx context.Context) *GetReplicationExecutionsIDParams

NewGetReplicationExecutionsIDParamsWithContext creates a new GetReplicationExecutionsIDParams object with 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 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 ability to set a timeout on a request.

func (*GetReplicationExecutionsIDParams) SetContext ¶

SetContext adds the context to the get replication executions ID params

func (*GetReplicationExecutionsIDParams) SetDefaults ¶

func (o *GetReplicationExecutionsIDParams) SetDefaults()

SetDefaults hydrates default values in the get replication executions ID params (not the query body).

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

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) WithDefaults ¶

WithDefaults hydrates default values in the get replication executions ID params (not the query body).

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

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 GetReplicationExecutionsIDTasksBadRequest ¶

type GetReplicationExecutionsIDTasksBadRequest struct {
}
GetReplicationExecutionsIDTasksBadRequest describes a response with status code 400, with default header values.

Bad request.

func NewGetReplicationExecutionsIDTasksBadRequest ¶

func NewGetReplicationExecutionsIDTasksBadRequest() *GetReplicationExecutionsIDTasksBadRequest

NewGetReplicationExecutionsIDTasksBadRequest creates a GetReplicationExecutionsIDTasksBadRequest with default headers values

func (*GetReplicationExecutionsIDTasksBadRequest) Error ¶

type GetReplicationExecutionsIDTasksForbidden ¶

type GetReplicationExecutionsIDTasksForbidden struct {
}
GetReplicationExecutionsIDTasksForbidden describes a response with status code 403, with default header values.

User has no privilege for the operation.

func NewGetReplicationExecutionsIDTasksForbidden ¶

func NewGetReplicationExecutionsIDTasksForbidden() *GetReplicationExecutionsIDTasksForbidden

NewGetReplicationExecutionsIDTasksForbidden creates a GetReplicationExecutionsIDTasksForbidden with default headers values

func (*GetReplicationExecutionsIDTasksForbidden) Error ¶

type GetReplicationExecutionsIDTasksInternalServerError ¶

type GetReplicationExecutionsIDTasksInternalServerError struct {
}
GetReplicationExecutionsIDTasksInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetReplicationExecutionsIDTasksInternalServerError ¶

func NewGetReplicationExecutionsIDTasksInternalServerError() *GetReplicationExecutionsIDTasksInternalServerError

NewGetReplicationExecutionsIDTasksInternalServerError creates a GetReplicationExecutionsIDTasksInternalServerError with default headers values

func (*GetReplicationExecutionsIDTasksInternalServerError) Error ¶

type GetReplicationExecutionsIDTasksNotFound ¶

type GetReplicationExecutionsIDTasksNotFound struct {
}
GetReplicationExecutionsIDTasksNotFound describes a response with status code 404, with default header values.

Resource requested does not exist.

func NewGetReplicationExecutionsIDTasksNotFound ¶

func NewGetReplicationExecutionsIDTasksNotFound() *GetReplicationExecutionsIDTasksNotFound

NewGetReplicationExecutionsIDTasksNotFound creates a GetReplicationExecutionsIDTasksNotFound with default headers values

func (*GetReplicationExecutionsIDTasksNotFound) Error ¶

type GetReplicationExecutionsIDTasksOK ¶

type GetReplicationExecutionsIDTasksOK struct {
	Payload []*legacy.ReplicationTask
}
GetReplicationExecutionsIDTasksOK describes a response with status code 200, with default header values.

Success.

func NewGetReplicationExecutionsIDTasksOK ¶

func NewGetReplicationExecutionsIDTasksOK() *GetReplicationExecutionsIDTasksOK

NewGetReplicationExecutionsIDTasksOK creates a GetReplicationExecutionsIDTasksOK with default headers values

func (*GetReplicationExecutionsIDTasksOK) Error ¶

func (*GetReplicationExecutionsIDTasksOK) GetPayload ¶

type GetReplicationExecutionsIDTasksParams ¶

type GetReplicationExecutionsIDTasksParams struct {

	/* ID.

	   The execution ID.

	   Format: int64
	*/
	ID int64

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

GetReplicationExecutionsIDTasksParams contains all the parameters to send to the API endpoint

for the get replication executions ID tasks operation.

Typically these are written to a http.Request.

func NewGetReplicationExecutionsIDTasksParams ¶

func NewGetReplicationExecutionsIDTasksParams() *GetReplicationExecutionsIDTasksParams

NewGetReplicationExecutionsIDTasksParams creates a new GetReplicationExecutionsIDTasksParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetReplicationExecutionsIDTasksParamsWithContext ¶

func NewGetReplicationExecutionsIDTasksParamsWithContext(ctx context.Context) *GetReplicationExecutionsIDTasksParams

NewGetReplicationExecutionsIDTasksParamsWithContext creates a new GetReplicationExecutionsIDTasksParams object with the ability to set a context for a request.

func NewGetReplicationExecutionsIDTasksParamsWithHTTPClient ¶

func NewGetReplicationExecutionsIDTasksParamsWithHTTPClient(client *http.Client) *GetReplicationExecutionsIDTasksParams

NewGetReplicationExecutionsIDTasksParamsWithHTTPClient creates a new GetReplicationExecutionsIDTasksParams object with the ability to set a custom HTTPClient for a request.

func NewGetReplicationExecutionsIDTasksParamsWithTimeout ¶

func NewGetReplicationExecutionsIDTasksParamsWithTimeout(timeout time.Duration) *GetReplicationExecutionsIDTasksParams

NewGetReplicationExecutionsIDTasksParamsWithTimeout creates a new GetReplicationExecutionsIDTasksParams object with the ability to set a timeout on a request.

func (*GetReplicationExecutionsIDTasksParams) SetContext ¶

SetContext adds the context to the get replication executions ID tasks params

func (*GetReplicationExecutionsIDTasksParams) SetDefaults ¶

func (o *GetReplicationExecutionsIDTasksParams) SetDefaults()

SetDefaults hydrates default values in the get replication executions ID tasks params (not the query body).

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

func (*GetReplicationExecutionsIDTasksParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get replication executions ID tasks params

func (*GetReplicationExecutionsIDTasksParams) SetID ¶

SetID adds the id to the get replication executions ID tasks params

func (*GetReplicationExecutionsIDTasksParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get replication executions ID tasks params

func (*GetReplicationExecutionsIDTasksParams) WithContext ¶

WithContext adds the context to the get replication executions ID tasks params

func (*GetReplicationExecutionsIDTasksParams) WithDefaults ¶

WithDefaults hydrates default values in the get replication executions ID tasks params (not the query body).

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

func (*GetReplicationExecutionsIDTasksParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get replication executions ID tasks params

func (*GetReplicationExecutionsIDTasksParams) WithID ¶

WithID adds the id to the get replication executions ID tasks params

func (*GetReplicationExecutionsIDTasksParams) WithTimeout ¶

WithTimeout adds the timeout to the get replication executions ID tasks params

func (*GetReplicationExecutionsIDTasksParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetReplicationExecutionsIDTasksReader ¶

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

GetReplicationExecutionsIDTasksReader is a Reader for the GetReplicationExecutionsIDTasks structure.

func (*GetReplicationExecutionsIDTasksReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetReplicationExecutionsIDTasksTaskIDLogBadRequest ¶

type GetReplicationExecutionsIDTasksTaskIDLogBadRequest struct {
}
GetReplicationExecutionsIDTasksTaskIDLogBadRequest describes a response with status code 400, with default header values.

Bad request.

func NewGetReplicationExecutionsIDTasksTaskIDLogBadRequest ¶

func NewGetReplicationExecutionsIDTasksTaskIDLogBadRequest() *GetReplicationExecutionsIDTasksTaskIDLogBadRequest

NewGetReplicationExecutionsIDTasksTaskIDLogBadRequest creates a GetReplicationExecutionsIDTasksTaskIDLogBadRequest with default headers values

func (*GetReplicationExecutionsIDTasksTaskIDLogBadRequest) Error ¶

type GetReplicationExecutionsIDTasksTaskIDLogForbidden ¶

type GetReplicationExecutionsIDTasksTaskIDLogForbidden struct {
}
GetReplicationExecutionsIDTasksTaskIDLogForbidden describes a response with status code 403, with default header values.

User has no privilege for the operation.

func NewGetReplicationExecutionsIDTasksTaskIDLogForbidden ¶

func NewGetReplicationExecutionsIDTasksTaskIDLogForbidden() *GetReplicationExecutionsIDTasksTaskIDLogForbidden

NewGetReplicationExecutionsIDTasksTaskIDLogForbidden creates a GetReplicationExecutionsIDTasksTaskIDLogForbidden with default headers values

func (*GetReplicationExecutionsIDTasksTaskIDLogForbidden) Error ¶

type GetReplicationExecutionsIDTasksTaskIDLogInternalServerError ¶

type GetReplicationExecutionsIDTasksTaskIDLogInternalServerError struct {
}
GetReplicationExecutionsIDTasksTaskIDLogInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetReplicationExecutionsIDTasksTaskIDLogInternalServerError ¶

func NewGetReplicationExecutionsIDTasksTaskIDLogInternalServerError() *GetReplicationExecutionsIDTasksTaskIDLogInternalServerError

NewGetReplicationExecutionsIDTasksTaskIDLogInternalServerError creates a GetReplicationExecutionsIDTasksTaskIDLogInternalServerError with default headers values

func (*GetReplicationExecutionsIDTasksTaskIDLogInternalServerError) Error ¶

type GetReplicationExecutionsIDTasksTaskIDLogNotFound ¶

type GetReplicationExecutionsIDTasksTaskIDLogNotFound struct {
}
GetReplicationExecutionsIDTasksTaskIDLogNotFound describes a response with status code 404, with default header values.

Resource requested does not exist.

func NewGetReplicationExecutionsIDTasksTaskIDLogNotFound ¶

func NewGetReplicationExecutionsIDTasksTaskIDLogNotFound() *GetReplicationExecutionsIDTasksTaskIDLogNotFound

NewGetReplicationExecutionsIDTasksTaskIDLogNotFound creates a GetReplicationExecutionsIDTasksTaskIDLogNotFound with default headers values

func (*GetReplicationExecutionsIDTasksTaskIDLogNotFound) Error ¶

type GetReplicationExecutionsIDTasksTaskIDLogOK ¶

type GetReplicationExecutionsIDTasksTaskIDLogOK struct {
}
GetReplicationExecutionsIDTasksTaskIDLogOK describes a response with status code 200, with default header values.

Success.

func NewGetReplicationExecutionsIDTasksTaskIDLogOK ¶

func NewGetReplicationExecutionsIDTasksTaskIDLogOK() *GetReplicationExecutionsIDTasksTaskIDLogOK

NewGetReplicationExecutionsIDTasksTaskIDLogOK creates a GetReplicationExecutionsIDTasksTaskIDLogOK with default headers values

func (*GetReplicationExecutionsIDTasksTaskIDLogOK) Error ¶

type GetReplicationExecutionsIDTasksTaskIDLogParams ¶

type GetReplicationExecutionsIDTasksTaskIDLogParams struct {

	/* ID.

	   The execution ID.

	   Format: int64
	*/
	ID int64

	/* TaskID.

	   The task ID.

	   Format: int64
	*/
	TaskID int64

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

GetReplicationExecutionsIDTasksTaskIDLogParams contains all the parameters to send to the API endpoint

for the get replication executions ID tasks task ID log operation.

Typically these are written to a http.Request.

func NewGetReplicationExecutionsIDTasksTaskIDLogParams ¶

func NewGetReplicationExecutionsIDTasksTaskIDLogParams() *GetReplicationExecutionsIDTasksTaskIDLogParams

NewGetReplicationExecutionsIDTasksTaskIDLogParams creates a new GetReplicationExecutionsIDTasksTaskIDLogParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetReplicationExecutionsIDTasksTaskIDLogParamsWithContext ¶

func NewGetReplicationExecutionsIDTasksTaskIDLogParamsWithContext(ctx context.Context) *GetReplicationExecutionsIDTasksTaskIDLogParams

NewGetReplicationExecutionsIDTasksTaskIDLogParamsWithContext creates a new GetReplicationExecutionsIDTasksTaskIDLogParams object with the ability to set a context for a request.

func NewGetReplicationExecutionsIDTasksTaskIDLogParamsWithHTTPClient ¶

func NewGetReplicationExecutionsIDTasksTaskIDLogParamsWithHTTPClient(client *http.Client) *GetReplicationExecutionsIDTasksTaskIDLogParams

NewGetReplicationExecutionsIDTasksTaskIDLogParamsWithHTTPClient creates a new GetReplicationExecutionsIDTasksTaskIDLogParams object with the ability to set a custom HTTPClient for a request.

func NewGetReplicationExecutionsIDTasksTaskIDLogParamsWithTimeout ¶

func NewGetReplicationExecutionsIDTasksTaskIDLogParamsWithTimeout(timeout time.Duration) *GetReplicationExecutionsIDTasksTaskIDLogParams

NewGetReplicationExecutionsIDTasksTaskIDLogParamsWithTimeout creates a new GetReplicationExecutionsIDTasksTaskIDLogParams object with the ability to set a timeout on a request.

func (*GetReplicationExecutionsIDTasksTaskIDLogParams) SetContext ¶

SetContext adds the context to the get replication executions ID tasks task ID log params

func (*GetReplicationExecutionsIDTasksTaskIDLogParams) SetDefaults ¶

SetDefaults hydrates default values in the get replication executions ID tasks task ID log params (not the query body).

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

func (*GetReplicationExecutionsIDTasksTaskIDLogParams) SetHTTPClient ¶

SetHTTPClient adds the HTTPClient to the get replication executions ID tasks task ID log params

func (*GetReplicationExecutionsIDTasksTaskIDLogParams) SetID ¶

SetID adds the id to the get replication executions ID tasks task ID log params

func (*GetReplicationExecutionsIDTasksTaskIDLogParams) SetTaskID ¶

SetTaskID adds the taskId to the get replication executions ID tasks task ID log params

func (*GetReplicationExecutionsIDTasksTaskIDLogParams) SetTimeout ¶

SetTimeout adds the timeout to the get replication executions ID tasks task ID log params

func (*GetReplicationExecutionsIDTasksTaskIDLogParams) WithContext ¶

WithContext adds the context to the get replication executions ID tasks task ID log params

func (*GetReplicationExecutionsIDTasksTaskIDLogParams) WithDefaults ¶

WithDefaults hydrates default values in the get replication executions ID tasks task ID log params (not the query body).

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

func (*GetReplicationExecutionsIDTasksTaskIDLogParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get replication executions ID tasks task ID log params

func (*GetReplicationExecutionsIDTasksTaskIDLogParams) WithID ¶

WithID adds the id to the get replication executions ID tasks task ID log params

func (*GetReplicationExecutionsIDTasksTaskIDLogParams) WithTaskID ¶

WithTaskID adds the taskID to the get replication executions ID tasks task ID log params

func (*GetReplicationExecutionsIDTasksTaskIDLogParams) WithTimeout ¶

WithTimeout adds the timeout to the get replication executions ID tasks task ID log params

func (*GetReplicationExecutionsIDTasksTaskIDLogParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetReplicationExecutionsIDTasksTaskIDLogReader ¶

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

GetReplicationExecutionsIDTasksTaskIDLogReader is a Reader for the GetReplicationExecutionsIDTasksTaskIDLog structure.

func (*GetReplicationExecutionsIDTasksTaskIDLogReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetReplicationExecutionsIDTasksTaskIDLogUnauthorized ¶

type GetReplicationExecutionsIDTasksTaskIDLogUnauthorized struct {
}
GetReplicationExecutionsIDTasksTaskIDLogUnauthorized describes a response with status code 401, with default header values.

User need to login first.

func NewGetReplicationExecutionsIDTasksTaskIDLogUnauthorized ¶

func NewGetReplicationExecutionsIDTasksTaskIDLogUnauthorized() *GetReplicationExecutionsIDTasksTaskIDLogUnauthorized

NewGetReplicationExecutionsIDTasksTaskIDLogUnauthorized creates a GetReplicationExecutionsIDTasksTaskIDLogUnauthorized with default headers values

func (*GetReplicationExecutionsIDTasksTaskIDLogUnauthorized) Error ¶

type GetReplicationExecutionsIDTasksUnauthorized ¶

type GetReplicationExecutionsIDTasksUnauthorized struct {
}
GetReplicationExecutionsIDTasksUnauthorized describes a response with status code 401, with default header values.

User need to login first.

func NewGetReplicationExecutionsIDTasksUnauthorized ¶

func NewGetReplicationExecutionsIDTasksUnauthorized() *GetReplicationExecutionsIDTasksUnauthorized

NewGetReplicationExecutionsIDTasksUnauthorized creates a GetReplicationExecutionsIDTasksUnauthorized with default headers values

func (*GetReplicationExecutionsIDTasksUnauthorized) Error ¶

type GetReplicationExecutionsIDUnauthorized ¶

type GetReplicationExecutionsIDUnauthorized struct {
}
GetReplicationExecutionsIDUnauthorized describes a response with status code 401, 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 describes a response with status code 415, 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 describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetReplicationExecutionsInternalServerError ¶

func NewGetReplicationExecutionsInternalServerError() *GetReplicationExecutionsInternalServerError

NewGetReplicationExecutionsInternalServerError creates a GetReplicationExecutionsInternalServerError with default headers values

func (*GetReplicationExecutionsInternalServerError) Error ¶

type GetReplicationExecutionsOK ¶

type GetReplicationExecutionsOK struct {
	Payload []*legacy.ReplicationExecution
}
GetReplicationExecutionsOK describes a response with status code 200, 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetReplicationExecutionsParamsWithContext ¶

func NewGetReplicationExecutionsParamsWithContext(ctx context.Context) *GetReplicationExecutionsParams

NewGetReplicationExecutionsParamsWithContext creates a new GetReplicationExecutionsParams object with 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 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 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) SetDefaults ¶

func (o *GetReplicationExecutionsParams) SetDefaults()

SetDefaults hydrates default values in the get replication executions params (not the query body).

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

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) WithDefaults ¶

WithDefaults hydrates default values in the get replication executions params (not the query body).

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

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 describes a response with status code 401, 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 describes a response with status code 400, 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 describes a response with status code 403, 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 describes a response with status code 400, 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 describes a response with status code 403, 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 describes a response with status code 500, 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 describes a response with status code 404, 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 *legacy.ReplicationPolicy
}
GetReplicationPoliciesIDOK describes a response with status code 200, 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

	   Format: int64
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetReplicationPoliciesIDParamsWithContext ¶

func NewGetReplicationPoliciesIDParamsWithContext(ctx context.Context) *GetReplicationPoliciesIDParams

NewGetReplicationPoliciesIDParamsWithContext creates a new GetReplicationPoliciesIDParams object with 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 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 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) SetDefaults ¶

func (o *GetReplicationPoliciesIDParams) SetDefaults()

SetDefaults hydrates default values in the get replication policies ID params (not the query body).

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

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) WithDefaults ¶

WithDefaults hydrates default values in the get replication policies ID params (not the query body).

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

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 describes a response with status code 401, 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 describes a response with status code 500, 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 []*legacy.ReplicationPolicy
}
GetReplicationPoliciesOK describes a response with status code 200, 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.

	   Format: int32
	*/
	Page *int32

	/* PageSize.

	   The size of per page.

	   Format: int32
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetReplicationPoliciesParamsWithContext ¶

func NewGetReplicationPoliciesParamsWithContext(ctx context.Context) *GetReplicationPoliciesParams

NewGetReplicationPoliciesParamsWithContext creates a new GetReplicationPoliciesParams object with 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 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 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) SetDefaults ¶

func (o *GetReplicationPoliciesParams) SetDefaults()

SetDefaults hydrates default values in the get replication policies params (not the query body).

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

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) WithDefaults ¶

WithDefaults hydrates default values in the get replication policies params (not the query body).

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

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 describes a response with status code 401, with default header values.

Unauthorized

func NewGetReplicationPoliciesUnauthorized ¶

func NewGetReplicationPoliciesUnauthorized() *GetReplicationPoliciesUnauthorized

NewGetReplicationPoliciesUnauthorized creates a GetReplicationPoliciesUnauthorized with default headers values

func (*GetReplicationPoliciesUnauthorized) Error ¶

type GetRetentionsIDExecutionsEidTasksForbidden ¶

type GetRetentionsIDExecutionsEidTasksForbidden struct {
}
GetRetentionsIDExecutionsEidTasksForbidden describes a response with status code 403, with default header values.

User have no permission.

func NewGetRetentionsIDExecutionsEidTasksForbidden ¶

func NewGetRetentionsIDExecutionsEidTasksForbidden() *GetRetentionsIDExecutionsEidTasksForbidden

NewGetRetentionsIDExecutionsEidTasksForbidden creates a GetRetentionsIDExecutionsEidTasksForbidden with default headers values

func (*GetRetentionsIDExecutionsEidTasksForbidden) Error ¶

type GetRetentionsIDExecutionsEidTasksInternalServerError ¶

type GetRetentionsIDExecutionsEidTasksInternalServerError struct {
}
GetRetentionsIDExecutionsEidTasksInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetRetentionsIDExecutionsEidTasksInternalServerError ¶

func NewGetRetentionsIDExecutionsEidTasksInternalServerError() *GetRetentionsIDExecutionsEidTasksInternalServerError

NewGetRetentionsIDExecutionsEidTasksInternalServerError creates a GetRetentionsIDExecutionsEidTasksInternalServerError with default headers values

func (*GetRetentionsIDExecutionsEidTasksInternalServerError) Error ¶

type GetRetentionsIDExecutionsEidTasksOK ¶

type GetRetentionsIDExecutionsEidTasksOK struct {
	Payload []*legacy.RetentionExecutionTask
}
GetRetentionsIDExecutionsEidTasksOK describes a response with status code 200, with default header values.

Get Retention job tasks successfully.

func NewGetRetentionsIDExecutionsEidTasksOK ¶

func NewGetRetentionsIDExecutionsEidTasksOK() *GetRetentionsIDExecutionsEidTasksOK

NewGetRetentionsIDExecutionsEidTasksOK creates a GetRetentionsIDExecutionsEidTasksOK with default headers values

func (*GetRetentionsIDExecutionsEidTasksOK) Error ¶

func (*GetRetentionsIDExecutionsEidTasksOK) GetPayload ¶

type GetRetentionsIDExecutionsEidTasksParams ¶

type GetRetentionsIDExecutionsEidTasksParams struct {

	/* Eid.

	   Retention execution ID.

	   Format: int64
	*/
	Eid int64

	/* ID.

	   Retention ID.

	   Format: int64
	*/
	ID int64

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

GetRetentionsIDExecutionsEidTasksParams contains all the parameters to send to the API endpoint

for the get retentions ID executions eid tasks operation.

Typically these are written to a http.Request.

func NewGetRetentionsIDExecutionsEidTasksParams ¶

func NewGetRetentionsIDExecutionsEidTasksParams() *GetRetentionsIDExecutionsEidTasksParams

NewGetRetentionsIDExecutionsEidTasksParams creates a new GetRetentionsIDExecutionsEidTasksParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetRetentionsIDExecutionsEidTasksParamsWithContext ¶

func NewGetRetentionsIDExecutionsEidTasksParamsWithContext(ctx context.Context) *GetRetentionsIDExecutionsEidTasksParams

NewGetRetentionsIDExecutionsEidTasksParamsWithContext creates a new GetRetentionsIDExecutionsEidTasksParams object with the ability to set a context for a request.

func NewGetRetentionsIDExecutionsEidTasksParamsWithHTTPClient ¶

func NewGetRetentionsIDExecutionsEidTasksParamsWithHTTPClient(client *http.Client) *GetRetentionsIDExecutionsEidTasksParams

NewGetRetentionsIDExecutionsEidTasksParamsWithHTTPClient creates a new GetRetentionsIDExecutionsEidTasksParams object with the ability to set a custom HTTPClient for a request.

func NewGetRetentionsIDExecutionsEidTasksParamsWithTimeout ¶

func NewGetRetentionsIDExecutionsEidTasksParamsWithTimeout(timeout time.Duration) *GetRetentionsIDExecutionsEidTasksParams

NewGetRetentionsIDExecutionsEidTasksParamsWithTimeout creates a new GetRetentionsIDExecutionsEidTasksParams object with the ability to set a timeout on a request.

func (*GetRetentionsIDExecutionsEidTasksParams) SetContext ¶

SetContext adds the context to the get retentions ID executions eid tasks params

func (*GetRetentionsIDExecutionsEidTasksParams) SetDefaults ¶

func (o *GetRetentionsIDExecutionsEidTasksParams) SetDefaults()

SetDefaults hydrates default values in the get retentions ID executions eid tasks params (not the query body).

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

func (*GetRetentionsIDExecutionsEidTasksParams) SetEid ¶

SetEid adds the eid to the get retentions ID executions eid tasks params

func (*GetRetentionsIDExecutionsEidTasksParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get retentions ID executions eid tasks params

func (*GetRetentionsIDExecutionsEidTasksParams) SetID ¶

SetID adds the id to the get retentions ID executions eid tasks params

func (*GetRetentionsIDExecutionsEidTasksParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get retentions ID executions eid tasks params

func (*GetRetentionsIDExecutionsEidTasksParams) WithContext ¶

WithContext adds the context to the get retentions ID executions eid tasks params

func (*GetRetentionsIDExecutionsEidTasksParams) WithDefaults ¶

WithDefaults hydrates default values in the get retentions ID executions eid tasks params (not the query body).

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

func (*GetRetentionsIDExecutionsEidTasksParams) WithEid ¶

WithEid adds the eid to the get retentions ID executions eid tasks params

func (*GetRetentionsIDExecutionsEidTasksParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get retentions ID executions eid tasks params

func (*GetRetentionsIDExecutionsEidTasksParams) WithID ¶

WithID adds the id to the get retentions ID executions eid tasks params

func (*GetRetentionsIDExecutionsEidTasksParams) WithTimeout ¶

WithTimeout adds the timeout to the get retentions ID executions eid tasks params

func (*GetRetentionsIDExecutionsEidTasksParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetRetentionsIDExecutionsEidTasksReader ¶

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

GetRetentionsIDExecutionsEidTasksReader is a Reader for the GetRetentionsIDExecutionsEidTasks structure.

func (*GetRetentionsIDExecutionsEidTasksReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetRetentionsIDExecutionsEidTasksTidForbidden ¶

type GetRetentionsIDExecutionsEidTasksTidForbidden struct {
}
GetRetentionsIDExecutionsEidTasksTidForbidden describes a response with status code 403, with default header values.

User have no permission.

func NewGetRetentionsIDExecutionsEidTasksTidForbidden ¶

func NewGetRetentionsIDExecutionsEidTasksTidForbidden() *GetRetentionsIDExecutionsEidTasksTidForbidden

NewGetRetentionsIDExecutionsEidTasksTidForbidden creates a GetRetentionsIDExecutionsEidTasksTidForbidden with default headers values

func (*GetRetentionsIDExecutionsEidTasksTidForbidden) Error ¶

type GetRetentionsIDExecutionsEidTasksTidInternalServerError ¶

type GetRetentionsIDExecutionsEidTasksTidInternalServerError struct {
}
GetRetentionsIDExecutionsEidTasksTidInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetRetentionsIDExecutionsEidTasksTidInternalServerError ¶

func NewGetRetentionsIDExecutionsEidTasksTidInternalServerError() *GetRetentionsIDExecutionsEidTasksTidInternalServerError

NewGetRetentionsIDExecutionsEidTasksTidInternalServerError creates a GetRetentionsIDExecutionsEidTasksTidInternalServerError with default headers values

func (*GetRetentionsIDExecutionsEidTasksTidInternalServerError) Error ¶

type GetRetentionsIDExecutionsEidTasksTidOK ¶

type GetRetentionsIDExecutionsEidTasksTidOK struct {
	Payload string
}
GetRetentionsIDExecutionsEidTasksTidOK describes a response with status code 200, with default header values.

Get Retention job task log successfully.

func NewGetRetentionsIDExecutionsEidTasksTidOK ¶

func NewGetRetentionsIDExecutionsEidTasksTidOK() *GetRetentionsIDExecutionsEidTasksTidOK

NewGetRetentionsIDExecutionsEidTasksTidOK creates a GetRetentionsIDExecutionsEidTasksTidOK with default headers values

func (*GetRetentionsIDExecutionsEidTasksTidOK) Error ¶

func (*GetRetentionsIDExecutionsEidTasksTidOK) GetPayload ¶

type GetRetentionsIDExecutionsEidTasksTidParams ¶

type GetRetentionsIDExecutionsEidTasksTidParams struct {

	/* Eid.

	   Retention execution ID.

	   Format: int64
	*/
	Eid int64

	/* ID.

	   Retention ID.

	   Format: int64
	*/
	ID int64

	/* Tid.

	   Retention execution ID.

	   Format: int64
	*/
	Tid int64

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

GetRetentionsIDExecutionsEidTasksTidParams contains all the parameters to send to the API endpoint

for the get retentions ID executions eid tasks tid operation.

Typically these are written to a http.Request.

func NewGetRetentionsIDExecutionsEidTasksTidParams ¶

func NewGetRetentionsIDExecutionsEidTasksTidParams() *GetRetentionsIDExecutionsEidTasksTidParams

NewGetRetentionsIDExecutionsEidTasksTidParams creates a new GetRetentionsIDExecutionsEidTasksTidParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetRetentionsIDExecutionsEidTasksTidParamsWithContext ¶

func NewGetRetentionsIDExecutionsEidTasksTidParamsWithContext(ctx context.Context) *GetRetentionsIDExecutionsEidTasksTidParams

NewGetRetentionsIDExecutionsEidTasksTidParamsWithContext creates a new GetRetentionsIDExecutionsEidTasksTidParams object with the ability to set a context for a request.

func NewGetRetentionsIDExecutionsEidTasksTidParamsWithHTTPClient ¶

func NewGetRetentionsIDExecutionsEidTasksTidParamsWithHTTPClient(client *http.Client) *GetRetentionsIDExecutionsEidTasksTidParams

NewGetRetentionsIDExecutionsEidTasksTidParamsWithHTTPClient creates a new GetRetentionsIDExecutionsEidTasksTidParams object with the ability to set a custom HTTPClient for a request.

func NewGetRetentionsIDExecutionsEidTasksTidParamsWithTimeout ¶

func NewGetRetentionsIDExecutionsEidTasksTidParamsWithTimeout(timeout time.Duration) *GetRetentionsIDExecutionsEidTasksTidParams

NewGetRetentionsIDExecutionsEidTasksTidParamsWithTimeout creates a new GetRetentionsIDExecutionsEidTasksTidParams object with the ability to set a timeout on a request.

func (*GetRetentionsIDExecutionsEidTasksTidParams) SetContext ¶

SetContext adds the context to the get retentions ID executions eid tasks tid params

func (*GetRetentionsIDExecutionsEidTasksTidParams) SetDefaults ¶

SetDefaults hydrates default values in the get retentions ID executions eid tasks tid params (not the query body).

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

func (*GetRetentionsIDExecutionsEidTasksTidParams) SetEid ¶

SetEid adds the eid to the get retentions ID executions eid tasks tid params

func (*GetRetentionsIDExecutionsEidTasksTidParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get retentions ID executions eid tasks tid params

func (*GetRetentionsIDExecutionsEidTasksTidParams) SetID ¶

SetID adds the id to the get retentions ID executions eid tasks tid params

func (*GetRetentionsIDExecutionsEidTasksTidParams) SetTid ¶

SetTid adds the tid to the get retentions ID executions eid tasks tid params

func (*GetRetentionsIDExecutionsEidTasksTidParams) SetTimeout ¶

SetTimeout adds the timeout to the get retentions ID executions eid tasks tid params

func (*GetRetentionsIDExecutionsEidTasksTidParams) WithContext ¶

WithContext adds the context to the get retentions ID executions eid tasks tid params

func (*GetRetentionsIDExecutionsEidTasksTidParams) WithDefaults ¶

WithDefaults hydrates default values in the get retentions ID executions eid tasks tid params (not the query body).

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

func (*GetRetentionsIDExecutionsEidTasksTidParams) WithEid ¶

WithEid adds the eid to the get retentions ID executions eid tasks tid params

func (*GetRetentionsIDExecutionsEidTasksTidParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get retentions ID executions eid tasks tid params

func (*GetRetentionsIDExecutionsEidTasksTidParams) WithID ¶

WithID adds the id to the get retentions ID executions eid tasks tid params

func (*GetRetentionsIDExecutionsEidTasksTidParams) WithTid ¶

WithTid adds the tid to the get retentions ID executions eid tasks tid params

func (*GetRetentionsIDExecutionsEidTasksTidParams) WithTimeout ¶

WithTimeout adds the timeout to the get retentions ID executions eid tasks tid params

func (*GetRetentionsIDExecutionsEidTasksTidParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetRetentionsIDExecutionsEidTasksTidReader ¶

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

GetRetentionsIDExecutionsEidTasksTidReader is a Reader for the GetRetentionsIDExecutionsEidTasksTid structure.

func (*GetRetentionsIDExecutionsEidTasksTidReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetRetentionsIDExecutionsEidTasksTidUnauthorized ¶

type GetRetentionsIDExecutionsEidTasksTidUnauthorized struct {
}
GetRetentionsIDExecutionsEidTasksTidUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetRetentionsIDExecutionsEidTasksTidUnauthorized ¶

func NewGetRetentionsIDExecutionsEidTasksTidUnauthorized() *GetRetentionsIDExecutionsEidTasksTidUnauthorized

NewGetRetentionsIDExecutionsEidTasksTidUnauthorized creates a GetRetentionsIDExecutionsEidTasksTidUnauthorized with default headers values

func (*GetRetentionsIDExecutionsEidTasksTidUnauthorized) Error ¶

type GetRetentionsIDExecutionsEidTasksUnauthorized ¶

type GetRetentionsIDExecutionsEidTasksUnauthorized struct {
}
GetRetentionsIDExecutionsEidTasksUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetRetentionsIDExecutionsEidTasksUnauthorized ¶

func NewGetRetentionsIDExecutionsEidTasksUnauthorized() *GetRetentionsIDExecutionsEidTasksUnauthorized

NewGetRetentionsIDExecutionsEidTasksUnauthorized creates a GetRetentionsIDExecutionsEidTasksUnauthorized with default headers values

func (*GetRetentionsIDExecutionsEidTasksUnauthorized) Error ¶

type GetRetentionsIDExecutionsForbidden ¶

type GetRetentionsIDExecutionsForbidden struct {
}
GetRetentionsIDExecutionsForbidden describes a response with status code 403, with default header values.

User have no permission.

func NewGetRetentionsIDExecutionsForbidden ¶

func NewGetRetentionsIDExecutionsForbidden() *GetRetentionsIDExecutionsForbidden

NewGetRetentionsIDExecutionsForbidden creates a GetRetentionsIDExecutionsForbidden with default headers values

func (*GetRetentionsIDExecutionsForbidden) Error ¶

type GetRetentionsIDExecutionsInternalServerError ¶

type GetRetentionsIDExecutionsInternalServerError struct {
}
GetRetentionsIDExecutionsInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetRetentionsIDExecutionsInternalServerError ¶

func NewGetRetentionsIDExecutionsInternalServerError() *GetRetentionsIDExecutionsInternalServerError

NewGetRetentionsIDExecutionsInternalServerError creates a GetRetentionsIDExecutionsInternalServerError with default headers values

func (*GetRetentionsIDExecutionsInternalServerError) Error ¶

type GetRetentionsIDExecutionsOK ¶

type GetRetentionsIDExecutionsOK struct {
	Payload []*legacy.RetentionExecution
}
GetRetentionsIDExecutionsOK describes a response with status code 200, with default header values.

Get a Retention job successfully.

func NewGetRetentionsIDExecutionsOK ¶

func NewGetRetentionsIDExecutionsOK() *GetRetentionsIDExecutionsOK

NewGetRetentionsIDExecutionsOK creates a GetRetentionsIDExecutionsOK with default headers values

func (*GetRetentionsIDExecutionsOK) Error ¶

func (*GetRetentionsIDExecutionsOK) GetPayload ¶

type GetRetentionsIDExecutionsParams ¶

type GetRetentionsIDExecutionsParams struct {

	/* ID.

	   Retention ID.

	   Format: int64
	*/
	ID int64

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

GetRetentionsIDExecutionsParams contains all the parameters to send to the API endpoint

for the get retentions ID executions operation.

Typically these are written to a http.Request.

func NewGetRetentionsIDExecutionsParams ¶

func NewGetRetentionsIDExecutionsParams() *GetRetentionsIDExecutionsParams

NewGetRetentionsIDExecutionsParams creates a new GetRetentionsIDExecutionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetRetentionsIDExecutionsParamsWithContext ¶

func NewGetRetentionsIDExecutionsParamsWithContext(ctx context.Context) *GetRetentionsIDExecutionsParams

NewGetRetentionsIDExecutionsParamsWithContext creates a new GetRetentionsIDExecutionsParams object with the ability to set a context for a request.

func NewGetRetentionsIDExecutionsParamsWithHTTPClient ¶

func NewGetRetentionsIDExecutionsParamsWithHTTPClient(client *http.Client) *GetRetentionsIDExecutionsParams

NewGetRetentionsIDExecutionsParamsWithHTTPClient creates a new GetRetentionsIDExecutionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetRetentionsIDExecutionsParamsWithTimeout ¶

func NewGetRetentionsIDExecutionsParamsWithTimeout(timeout time.Duration) *GetRetentionsIDExecutionsParams

NewGetRetentionsIDExecutionsParamsWithTimeout creates a new GetRetentionsIDExecutionsParams object with the ability to set a timeout on a request.

func (*GetRetentionsIDExecutionsParams) SetContext ¶

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

SetContext adds the context to the get retentions ID executions params

func (*GetRetentionsIDExecutionsParams) SetDefaults ¶

func (o *GetRetentionsIDExecutionsParams) SetDefaults()

SetDefaults hydrates default values in the get retentions ID executions params (not the query body).

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

func (*GetRetentionsIDExecutionsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get retentions ID executions params

func (*GetRetentionsIDExecutionsParams) SetID ¶

SetID adds the id to the get retentions ID executions params

func (*GetRetentionsIDExecutionsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get retentions ID executions params

func (*GetRetentionsIDExecutionsParams) WithContext ¶

WithContext adds the context to the get retentions ID executions params

func (*GetRetentionsIDExecutionsParams) WithDefaults ¶

WithDefaults hydrates default values in the get retentions ID executions params (not the query body).

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

func (*GetRetentionsIDExecutionsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get retentions ID executions params

func (*GetRetentionsIDExecutionsParams) WithID ¶

WithID adds the id to the get retentions ID executions params

func (*GetRetentionsIDExecutionsParams) WithTimeout ¶

WithTimeout adds the timeout to the get retentions ID executions params

func (*GetRetentionsIDExecutionsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetRetentionsIDExecutionsReader ¶

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

GetRetentionsIDExecutionsReader is a Reader for the GetRetentionsIDExecutions structure.

func (*GetRetentionsIDExecutionsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetRetentionsIDExecutionsUnauthorized ¶

type GetRetentionsIDExecutionsUnauthorized struct {
}
GetRetentionsIDExecutionsUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetRetentionsIDExecutionsUnauthorized ¶

func NewGetRetentionsIDExecutionsUnauthorized() *GetRetentionsIDExecutionsUnauthorized

NewGetRetentionsIDExecutionsUnauthorized creates a GetRetentionsIDExecutionsUnauthorized with default headers values

func (*GetRetentionsIDExecutionsUnauthorized) Error ¶

type GetRetentionsIDForbidden ¶

type GetRetentionsIDForbidden struct {
}
GetRetentionsIDForbidden describes a response with status code 403, 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 describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetRetentionsIDInternalServerError ¶

func NewGetRetentionsIDInternalServerError() *GetRetentionsIDInternalServerError

NewGetRetentionsIDInternalServerError creates a GetRetentionsIDInternalServerError with default headers values

func (*GetRetentionsIDInternalServerError) Error ¶

type GetRetentionsIDOK ¶

type GetRetentionsIDOK struct {
	Payload *legacy.RetentionPolicy
}
GetRetentionsIDOK describes a response with status code 200, 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() *legacy.RetentionPolicy

type GetRetentionsIDParams ¶

type GetRetentionsIDParams struct {

	/* ID.

	   Retention ID.

	   Format: int64
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetRetentionsIDParamsWithContext ¶

func NewGetRetentionsIDParamsWithContext(ctx context.Context) *GetRetentionsIDParams

NewGetRetentionsIDParamsWithContext creates a new GetRetentionsIDParams object with 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 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 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) SetDefaults ¶

func (o *GetRetentionsIDParams) SetDefaults()

SetDefaults hydrates default values in the get retentions ID params (not the query body).

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

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) WithDefaults ¶

func (o *GetRetentionsIDParams) WithDefaults() *GetRetentionsIDParams

WithDefaults hydrates default values in the get retentions ID params (not the query body).

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

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 describes a response with status code 401, 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 *legacy.RetentionMetadata
}
GetRetentionsMetadatasOK describes a response with status code 200, 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetRetentionsMetadatasParamsWithContext ¶

func NewGetRetentionsMetadatasParamsWithContext(ctx context.Context) *GetRetentionsMetadatasParams

NewGetRetentionsMetadatasParamsWithContext creates a new GetRetentionsMetadatasParams object with 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 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 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) SetDefaults ¶

func (o *GetRetentionsMetadatasParams) SetDefaults()

SetDefaults hydrates default values in the get retentions metadatas params (not the query body).

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

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) WithDefaults ¶

WithDefaults hydrates default values in the get retentions metadatas params (not the query body).

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

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 GetScannersBadRequest ¶

type GetScannersBadRequest struct {
}
GetScannersBadRequest describes a response with status code 400, with default header values.

Bad query paramters

func NewGetScannersBadRequest ¶

func NewGetScannersBadRequest() *GetScannersBadRequest

NewGetScannersBadRequest creates a GetScannersBadRequest with default headers values

func (*GetScannersBadRequest) Error ¶

func (o *GetScannersBadRequest) Error() string

type GetScannersForbidden ¶

type GetScannersForbidden struct {
}
GetScannersForbidden describes a response with status code 403, with default header values.

Request is not allowed, system role required

func NewGetScannersForbidden ¶

func NewGetScannersForbidden() *GetScannersForbidden

NewGetScannersForbidden creates a GetScannersForbidden with default headers values

func (*GetScannersForbidden) Error ¶

func (o *GetScannersForbidden) Error() string

type GetScannersInternalServerError ¶

type GetScannersInternalServerError struct {
}
GetScannersInternalServerError describes a response with status code 500, with default header values.

Internal server error happened

func NewGetScannersInternalServerError ¶

func NewGetScannersInternalServerError() *GetScannersInternalServerError

NewGetScannersInternalServerError creates a GetScannersInternalServerError with default headers values

func (*GetScannersInternalServerError) Error ¶

type GetScannersOK ¶

type GetScannersOK struct {
	Payload []*legacy.ScannerRegistration
}
GetScannersOK describes a response with status code 200, with default header values.

A list of scanner registrations.

func NewGetScannersOK ¶

func NewGetScannersOK() *GetScannersOK

NewGetScannersOK creates a GetScannersOK with default headers values

func (*GetScannersOK) Error ¶

func (o *GetScannersOK) Error() string

func (*GetScannersOK) GetPayload ¶

func (o *GetScannersOK) GetPayload() []*legacy.ScannerRegistration

type GetScannersParams ¶

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

GetScannersParams contains all the parameters to send to the API endpoint

for the get scanners operation.

Typically these are written to a http.Request.

func NewGetScannersParams ¶

func NewGetScannersParams() *GetScannersParams

NewGetScannersParams creates a new GetScannersParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetScannersParamsWithContext ¶

func NewGetScannersParamsWithContext(ctx context.Context) *GetScannersParams

NewGetScannersParamsWithContext creates a new GetScannersParams object with the ability to set a context for a request.

func NewGetScannersParamsWithHTTPClient ¶

func NewGetScannersParamsWithHTTPClient(client *http.Client) *GetScannersParams

NewGetScannersParamsWithHTTPClient creates a new GetScannersParams object with the ability to set a custom HTTPClient for a request.

func NewGetScannersParamsWithTimeout ¶

func NewGetScannersParamsWithTimeout(timeout time.Duration) *GetScannersParams

NewGetScannersParamsWithTimeout creates a new GetScannersParams object with the ability to set a timeout on a request.

func (*GetScannersParams) SetContext ¶

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

SetContext adds the context to the get scanners params

func (*GetScannersParams) SetDefaults ¶

func (o *GetScannersParams) SetDefaults()

SetDefaults hydrates default values in the get scanners params (not the query body).

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

func (*GetScannersParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get scanners params

func (*GetScannersParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get scanners params

func (*GetScannersParams) WithContext ¶

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

WithContext adds the context to the get scanners params

func (*GetScannersParams) WithDefaults ¶

func (o *GetScannersParams) WithDefaults() *GetScannersParams

WithDefaults hydrates default values in the get scanners params (not the query body).

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

func (*GetScannersParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get scanners params

func (*GetScannersParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get scanners params

func (*GetScannersParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetScannersReader ¶

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

GetScannersReader is a Reader for the GetScanners structure.

func (*GetScannersReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetScannersRegistrationIDForbidden ¶

type GetScannersRegistrationIDForbidden struct {
}
GetScannersRegistrationIDForbidden describes a response with status code 403, with default header values.

Request is not allowed, system role required

func NewGetScannersRegistrationIDForbidden ¶

func NewGetScannersRegistrationIDForbidden() *GetScannersRegistrationIDForbidden

NewGetScannersRegistrationIDForbidden creates a GetScannersRegistrationIDForbidden with default headers values

func (*GetScannersRegistrationIDForbidden) Error ¶

type GetScannersRegistrationIDInternalServerError ¶

type GetScannersRegistrationIDInternalServerError struct {
}
GetScannersRegistrationIDInternalServerError describes a response with status code 500, with default header values.

Internal server error happened

func NewGetScannersRegistrationIDInternalServerError ¶

func NewGetScannersRegistrationIDInternalServerError() *GetScannersRegistrationIDInternalServerError

NewGetScannersRegistrationIDInternalServerError creates a GetScannersRegistrationIDInternalServerError with default headers values

func (*GetScannersRegistrationIDInternalServerError) Error ¶

type GetScannersRegistrationIDMetadataForbidden ¶

type GetScannersRegistrationIDMetadataForbidden struct {
}
GetScannersRegistrationIDMetadataForbidden describes a response with status code 403, with default header values.

Request is not allowed

func NewGetScannersRegistrationIDMetadataForbidden ¶

func NewGetScannersRegistrationIDMetadataForbidden() *GetScannersRegistrationIDMetadataForbidden

NewGetScannersRegistrationIDMetadataForbidden creates a GetScannersRegistrationIDMetadataForbidden with default headers values

func (*GetScannersRegistrationIDMetadataForbidden) Error ¶

type GetScannersRegistrationIDMetadataInternalServerError ¶

type GetScannersRegistrationIDMetadataInternalServerError struct {
}
GetScannersRegistrationIDMetadataInternalServerError describes a response with status code 500, with default header values.

Internal server error happened

func NewGetScannersRegistrationIDMetadataInternalServerError ¶

func NewGetScannersRegistrationIDMetadataInternalServerError() *GetScannersRegistrationIDMetadataInternalServerError

NewGetScannersRegistrationIDMetadataInternalServerError creates a GetScannersRegistrationIDMetadataInternalServerError with default headers values

func (*GetScannersRegistrationIDMetadataInternalServerError) Error ¶

type GetScannersRegistrationIDMetadataOK ¶

type GetScannersRegistrationIDMetadataOK struct {
	Payload *legacy.ScannerAdapterMetadata
}
GetScannersRegistrationIDMetadataOK describes a response with status code 200, with default header values.

The metadata of the specified scanner adapter

func NewGetScannersRegistrationIDMetadataOK ¶

func NewGetScannersRegistrationIDMetadataOK() *GetScannersRegistrationIDMetadataOK

NewGetScannersRegistrationIDMetadataOK creates a GetScannersRegistrationIDMetadataOK with default headers values

func (*GetScannersRegistrationIDMetadataOK) Error ¶

func (*GetScannersRegistrationIDMetadataOK) GetPayload ¶

type GetScannersRegistrationIDMetadataParams ¶

type GetScannersRegistrationIDMetadataParams struct {

	/* RegistrationID.

	   The scanner registration identifier.
	*/
	RegistrationID string

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

GetScannersRegistrationIDMetadataParams contains all the parameters to send to the API endpoint

for the get scanners registration ID metadata operation.

Typically these are written to a http.Request.

func NewGetScannersRegistrationIDMetadataParams ¶

func NewGetScannersRegistrationIDMetadataParams() *GetScannersRegistrationIDMetadataParams

NewGetScannersRegistrationIDMetadataParams creates a new GetScannersRegistrationIDMetadataParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetScannersRegistrationIDMetadataParamsWithContext ¶

func NewGetScannersRegistrationIDMetadataParamsWithContext(ctx context.Context) *GetScannersRegistrationIDMetadataParams

NewGetScannersRegistrationIDMetadataParamsWithContext creates a new GetScannersRegistrationIDMetadataParams object with the ability to set a context for a request.

func NewGetScannersRegistrationIDMetadataParamsWithHTTPClient ¶

func NewGetScannersRegistrationIDMetadataParamsWithHTTPClient(client *http.Client) *GetScannersRegistrationIDMetadataParams

NewGetScannersRegistrationIDMetadataParamsWithHTTPClient creates a new GetScannersRegistrationIDMetadataParams object with the ability to set a custom HTTPClient for a request.

func NewGetScannersRegistrationIDMetadataParamsWithTimeout ¶

func NewGetScannersRegistrationIDMetadataParamsWithTimeout(timeout time.Duration) *GetScannersRegistrationIDMetadataParams

NewGetScannersRegistrationIDMetadataParamsWithTimeout creates a new GetScannersRegistrationIDMetadataParams object with the ability to set a timeout on a request.

func (*GetScannersRegistrationIDMetadataParams) SetContext ¶

SetContext adds the context to the get scanners registration ID metadata params

func (*GetScannersRegistrationIDMetadataParams) SetDefaults ¶

func (o *GetScannersRegistrationIDMetadataParams) SetDefaults()

SetDefaults hydrates default values in the get scanners registration ID metadata params (not the query body).

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

func (*GetScannersRegistrationIDMetadataParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get scanners registration ID metadata params

func (*GetScannersRegistrationIDMetadataParams) SetRegistrationID ¶

func (o *GetScannersRegistrationIDMetadataParams) SetRegistrationID(registrationID string)

SetRegistrationID adds the registrationId to the get scanners registration ID metadata params

func (*GetScannersRegistrationIDMetadataParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get scanners registration ID metadata params

func (*GetScannersRegistrationIDMetadataParams) WithContext ¶

WithContext adds the context to the get scanners registration ID metadata params

func (*GetScannersRegistrationIDMetadataParams) WithDefaults ¶

WithDefaults hydrates default values in the get scanners registration ID metadata params (not the query body).

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

func (*GetScannersRegistrationIDMetadataParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get scanners registration ID metadata params

func (*GetScannersRegistrationIDMetadataParams) WithRegistrationID ¶

WithRegistrationID adds the registrationID to the get scanners registration ID metadata params

func (*GetScannersRegistrationIDMetadataParams) WithTimeout ¶

WithTimeout adds the timeout to the get scanners registration ID metadata params

func (*GetScannersRegistrationIDMetadataParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetScannersRegistrationIDMetadataReader ¶

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

GetScannersRegistrationIDMetadataReader is a Reader for the GetScannersRegistrationIDMetadata structure.

func (*GetScannersRegistrationIDMetadataReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetScannersRegistrationIDMetadataUnauthorized ¶

type GetScannersRegistrationIDMetadataUnauthorized struct {
}
GetScannersRegistrationIDMetadataUnauthorized describes a response with status code 401, with default header values.

Unauthorized request

func NewGetScannersRegistrationIDMetadataUnauthorized ¶

func NewGetScannersRegistrationIDMetadataUnauthorized() *GetScannersRegistrationIDMetadataUnauthorized

NewGetScannersRegistrationIDMetadataUnauthorized creates a GetScannersRegistrationIDMetadataUnauthorized with default headers values

func (*GetScannersRegistrationIDMetadataUnauthorized) Error ¶

type GetScannersRegistrationIDNotFound ¶

type GetScannersRegistrationIDNotFound struct {
}
GetScannersRegistrationIDNotFound describes a response with status code 404, with default header values.

The requested object is not found

func NewGetScannersRegistrationIDNotFound ¶

func NewGetScannersRegistrationIDNotFound() *GetScannersRegistrationIDNotFound

NewGetScannersRegistrationIDNotFound creates a GetScannersRegistrationIDNotFound with default headers values

func (*GetScannersRegistrationIDNotFound) Error ¶

type GetScannersRegistrationIDOK ¶

type GetScannersRegistrationIDOK struct {
	Payload *legacy.ScannerRegistration
}
GetScannersRegistrationIDOK describes a response with status code 200, with default header values.

The details of the scanner registration.

func NewGetScannersRegistrationIDOK ¶

func NewGetScannersRegistrationIDOK() *GetScannersRegistrationIDOK

NewGetScannersRegistrationIDOK creates a GetScannersRegistrationIDOK with default headers values

func (*GetScannersRegistrationIDOK) Error ¶

func (*GetScannersRegistrationIDOK) GetPayload ¶

type GetScannersRegistrationIDParams ¶

type GetScannersRegistrationIDParams struct {

	/* RegistrationID.

	   The scanner registration identifer.
	*/
	RegistrationID string

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

GetScannersRegistrationIDParams contains all the parameters to send to the API endpoint

for the get scanners registration ID operation.

Typically these are written to a http.Request.

func NewGetScannersRegistrationIDParams ¶

func NewGetScannersRegistrationIDParams() *GetScannersRegistrationIDParams

NewGetScannersRegistrationIDParams creates a new GetScannersRegistrationIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetScannersRegistrationIDParamsWithContext ¶

func NewGetScannersRegistrationIDParamsWithContext(ctx context.Context) *GetScannersRegistrationIDParams

NewGetScannersRegistrationIDParamsWithContext creates a new GetScannersRegistrationIDParams object with the ability to set a context for a request.

func NewGetScannersRegistrationIDParamsWithHTTPClient ¶

func NewGetScannersRegistrationIDParamsWithHTTPClient(client *http.Client) *GetScannersRegistrationIDParams

NewGetScannersRegistrationIDParamsWithHTTPClient creates a new GetScannersRegistrationIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetScannersRegistrationIDParamsWithTimeout ¶

func NewGetScannersRegistrationIDParamsWithTimeout(timeout time.Duration) *GetScannersRegistrationIDParams

NewGetScannersRegistrationIDParamsWithTimeout creates a new GetScannersRegistrationIDParams object with the ability to set a timeout on a request.

func (*GetScannersRegistrationIDParams) SetContext ¶

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

SetContext adds the context to the get scanners registration ID params

func (*GetScannersRegistrationIDParams) SetDefaults ¶

func (o *GetScannersRegistrationIDParams) SetDefaults()

SetDefaults hydrates default values in the get scanners registration ID params (not the query body).

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

func (*GetScannersRegistrationIDParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get scanners registration ID params

func (*GetScannersRegistrationIDParams) SetRegistrationID ¶

func (o *GetScannersRegistrationIDParams) SetRegistrationID(registrationID string)

SetRegistrationID adds the registrationId to the get scanners registration ID params

func (*GetScannersRegistrationIDParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get scanners registration ID params

func (*GetScannersRegistrationIDParams) WithContext ¶

WithContext adds the context to the get scanners registration ID params

func (*GetScannersRegistrationIDParams) WithDefaults ¶

WithDefaults hydrates default values in the get scanners registration ID params (not the query body).

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

func (*GetScannersRegistrationIDParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get scanners registration ID params

func (*GetScannersRegistrationIDParams) WithRegistrationID ¶

func (o *GetScannersRegistrationIDParams) WithRegistrationID(registrationID string) *GetScannersRegistrationIDParams

WithRegistrationID adds the registrationID to the get scanners registration ID params

func (*GetScannersRegistrationIDParams) WithTimeout ¶

WithTimeout adds the timeout to the get scanners registration ID params

func (*GetScannersRegistrationIDParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetScannersRegistrationIDReader ¶

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

GetScannersRegistrationIDReader is a Reader for the GetScannersRegistrationID structure.

func (*GetScannersRegistrationIDReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetScannersRegistrationIDUnauthorized ¶

type GetScannersRegistrationIDUnauthorized struct {
}
GetScannersRegistrationIDUnauthorized describes a response with status code 401, with default header values.

Unauthorized request

func NewGetScannersRegistrationIDUnauthorized ¶

func NewGetScannersRegistrationIDUnauthorized() *GetScannersRegistrationIDUnauthorized

NewGetScannersRegistrationIDUnauthorized creates a GetScannersRegistrationIDUnauthorized with default headers values

func (*GetScannersRegistrationIDUnauthorized) Error ¶

type GetScannersUnauthorized ¶

type GetScannersUnauthorized struct {
}
GetScannersUnauthorized describes a response with status code 401, with default header values.

Unauthorized request

func NewGetScannersUnauthorized ¶

func NewGetScannersUnauthorized() *GetScannersUnauthorized

NewGetScannersUnauthorized creates a GetScannersUnauthorized with default headers values

func (*GetScannersUnauthorized) Error ¶

func (o *GetScannersUnauthorized) Error() string

type GetScansAllMetricsForbidden ¶

type GetScansAllMetricsForbidden struct {
}
GetScansAllMetricsForbidden describes a response with status code 403, with default header values.

Request is not allowed

func NewGetScansAllMetricsForbidden ¶

func NewGetScansAllMetricsForbidden() *GetScansAllMetricsForbidden

NewGetScansAllMetricsForbidden creates a GetScansAllMetricsForbidden with default headers values

func (*GetScansAllMetricsForbidden) Error ¶

type GetScansAllMetricsInternalServerError ¶

type GetScansAllMetricsInternalServerError struct {
}
GetScansAllMetricsInternalServerError describes a response with status code 500, with default header values.

Internal server error happened

func NewGetScansAllMetricsInternalServerError ¶

func NewGetScansAllMetricsInternalServerError() *GetScansAllMetricsInternalServerError

NewGetScansAllMetricsInternalServerError creates a GetScansAllMetricsInternalServerError with default headers values

func (*GetScansAllMetricsInternalServerError) Error ¶

type GetScansAllMetricsOK ¶

type GetScansAllMetricsOK struct {
	Payload *legacy.Stats
}
GetScansAllMetricsOK describes a response with status code 200, with default header values.

OK

func NewGetScansAllMetricsOK ¶

func NewGetScansAllMetricsOK() *GetScansAllMetricsOK

NewGetScansAllMetricsOK creates a GetScansAllMetricsOK with default headers values

func (*GetScansAllMetricsOK) Error ¶

func (o *GetScansAllMetricsOK) Error() string

func (*GetScansAllMetricsOK) GetPayload ¶

func (o *GetScansAllMetricsOK) GetPayload() *legacy.Stats

type GetScansAllMetricsParams ¶

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

GetScansAllMetricsParams contains all the parameters to send to the API endpoint

for the get scans all metrics operation.

Typically these are written to a http.Request.

func NewGetScansAllMetricsParams ¶

func NewGetScansAllMetricsParams() *GetScansAllMetricsParams

NewGetScansAllMetricsParams creates a new GetScansAllMetricsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetScansAllMetricsParamsWithContext ¶

func NewGetScansAllMetricsParamsWithContext(ctx context.Context) *GetScansAllMetricsParams

NewGetScansAllMetricsParamsWithContext creates a new GetScansAllMetricsParams object with the ability to set a context for a request.

func NewGetScansAllMetricsParamsWithHTTPClient ¶

func NewGetScansAllMetricsParamsWithHTTPClient(client *http.Client) *GetScansAllMetricsParams

NewGetScansAllMetricsParamsWithHTTPClient creates a new GetScansAllMetricsParams object with the ability to set a custom HTTPClient for a request.

func NewGetScansAllMetricsParamsWithTimeout ¶

func NewGetScansAllMetricsParamsWithTimeout(timeout time.Duration) *GetScansAllMetricsParams

NewGetScansAllMetricsParamsWithTimeout creates a new GetScansAllMetricsParams object with the ability to set a timeout on a request.

func (*GetScansAllMetricsParams) SetContext ¶

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

SetContext adds the context to the get scans all metrics params

func (*GetScansAllMetricsParams) SetDefaults ¶

func (o *GetScansAllMetricsParams) SetDefaults()

SetDefaults hydrates default values in the get scans all metrics params (not the query body).

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

func (*GetScansAllMetricsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get scans all metrics params

func (*GetScansAllMetricsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get scans all metrics params

func (*GetScansAllMetricsParams) WithContext ¶

WithContext adds the context to the get scans all metrics params

func (*GetScansAllMetricsParams) WithDefaults ¶

WithDefaults hydrates default values in the get scans all metrics params (not the query body).

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

func (*GetScansAllMetricsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get scans all metrics params

func (*GetScansAllMetricsParams) WithTimeout ¶

WithTimeout adds the timeout to the get scans all metrics params

func (*GetScansAllMetricsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetScansAllMetricsReader ¶

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

GetScansAllMetricsReader is a Reader for the GetScansAllMetrics structure.

func (*GetScansAllMetricsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetScansAllMetricsUnauthorized ¶

type GetScansAllMetricsUnauthorized struct {
}
GetScansAllMetricsUnauthorized describes a response with status code 401, with default header values.

Unauthorized request

func NewGetScansAllMetricsUnauthorized ¶

func NewGetScansAllMetricsUnauthorized() *GetScansAllMetricsUnauthorized

NewGetScansAllMetricsUnauthorized creates a GetScansAllMetricsUnauthorized with default headers values

func (*GetScansAllMetricsUnauthorized) Error ¶

type GetScansScheduleMetricsForbidden ¶

type GetScansScheduleMetricsForbidden struct {
}
GetScansScheduleMetricsForbidden describes a response with status code 403, with default header values.

Request is not allowed

func NewGetScansScheduleMetricsForbidden ¶

func NewGetScansScheduleMetricsForbidden() *GetScansScheduleMetricsForbidden

NewGetScansScheduleMetricsForbidden creates a GetScansScheduleMetricsForbidden with default headers values

func (*GetScansScheduleMetricsForbidden) Error ¶

type GetScansScheduleMetricsInternalServerError ¶

type GetScansScheduleMetricsInternalServerError struct {
}
GetScansScheduleMetricsInternalServerError describes a response with status code 500, with default header values.

Internal server error happened

func NewGetScansScheduleMetricsInternalServerError ¶

func NewGetScansScheduleMetricsInternalServerError() *GetScansScheduleMetricsInternalServerError

NewGetScansScheduleMetricsInternalServerError creates a GetScansScheduleMetricsInternalServerError with default headers values

func (*GetScansScheduleMetricsInternalServerError) Error ¶

type GetScansScheduleMetricsOK ¶

type GetScansScheduleMetricsOK struct {
	Payload *legacy.Stats
}
GetScansScheduleMetricsOK describes a response with status code 200, with default header values.

OK

func NewGetScansScheduleMetricsOK ¶

func NewGetScansScheduleMetricsOK() *GetScansScheduleMetricsOK

NewGetScansScheduleMetricsOK creates a GetScansScheduleMetricsOK with default headers values

func (*GetScansScheduleMetricsOK) Error ¶

func (o *GetScansScheduleMetricsOK) Error() string

func (*GetScansScheduleMetricsOK) GetPayload ¶

func (o *GetScansScheduleMetricsOK) GetPayload() *legacy.Stats

type GetScansScheduleMetricsParams ¶

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

GetScansScheduleMetricsParams contains all the parameters to send to the API endpoint

for the get scans schedule metrics operation.

Typically these are written to a http.Request.

func NewGetScansScheduleMetricsParams ¶

func NewGetScansScheduleMetricsParams() *GetScansScheduleMetricsParams

NewGetScansScheduleMetricsParams creates a new GetScansScheduleMetricsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetScansScheduleMetricsParamsWithContext ¶

func NewGetScansScheduleMetricsParamsWithContext(ctx context.Context) *GetScansScheduleMetricsParams

NewGetScansScheduleMetricsParamsWithContext creates a new GetScansScheduleMetricsParams object with the ability to set a context for a request.

func NewGetScansScheduleMetricsParamsWithHTTPClient ¶

func NewGetScansScheduleMetricsParamsWithHTTPClient(client *http.Client) *GetScansScheduleMetricsParams

NewGetScansScheduleMetricsParamsWithHTTPClient creates a new GetScansScheduleMetricsParams object with the ability to set a custom HTTPClient for a request.

func NewGetScansScheduleMetricsParamsWithTimeout ¶

func NewGetScansScheduleMetricsParamsWithTimeout(timeout time.Duration) *GetScansScheduleMetricsParams

NewGetScansScheduleMetricsParamsWithTimeout creates a new GetScansScheduleMetricsParams object with the ability to set a timeout on a request.

func (*GetScansScheduleMetricsParams) SetContext ¶

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

SetContext adds the context to the get scans schedule metrics params

func (*GetScansScheduleMetricsParams) SetDefaults ¶

func (o *GetScansScheduleMetricsParams) SetDefaults()

SetDefaults hydrates default values in the get scans schedule metrics params (not the query body).

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

func (*GetScansScheduleMetricsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get scans schedule metrics params

func (*GetScansScheduleMetricsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get scans schedule metrics params

func (*GetScansScheduleMetricsParams) WithContext ¶

WithContext adds the context to the get scans schedule metrics params

func (*GetScansScheduleMetricsParams) WithDefaults ¶

WithDefaults hydrates default values in the get scans schedule metrics params (not the query body).

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

func (*GetScansScheduleMetricsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get scans schedule metrics params

func (*GetScansScheduleMetricsParams) WithTimeout ¶

WithTimeout adds the timeout to the get scans schedule metrics params

func (*GetScansScheduleMetricsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetScansScheduleMetricsReader ¶

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

GetScansScheduleMetricsReader is a Reader for the GetScansScheduleMetrics structure.

func (*GetScansScheduleMetricsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetScansScheduleMetricsUnauthorized ¶

type GetScansScheduleMetricsUnauthorized struct {
}
GetScansScheduleMetricsUnauthorized describes a response with status code 401, with default header values.

Unauthorized request

func NewGetScansScheduleMetricsUnauthorized ¶

func NewGetScansScheduleMetricsUnauthorized() *GetScansScheduleMetricsUnauthorized

NewGetScansScheduleMetricsUnauthorized creates a GetScansScheduleMetricsUnauthorized with default headers values

func (*GetScansScheduleMetricsUnauthorized) Error ¶

type GetSearchInternalServerError ¶

type GetSearchInternalServerError struct {
}
GetSearchInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetSearchInternalServerError ¶

func NewGetSearchInternalServerError() *GetSearchInternalServerError

NewGetSearchInternalServerError creates a GetSearchInternalServerError with default headers values

func (*GetSearchInternalServerError) Error ¶

type GetSearchOK ¶

type GetSearchOK struct {
	Payload []*legacy.Search
}
GetSearchOK describes a response with status code 200, with default header values.

An array of search results

func NewGetSearchOK ¶

func NewGetSearchOK() *GetSearchOK

NewGetSearchOK creates a GetSearchOK with default headers values

func (*GetSearchOK) Error ¶

func (o *GetSearchOK) Error() string

func (*GetSearchOK) GetPayload ¶

func (o *GetSearchOK) GetPayload() []*legacy.Search

type GetSearchParams ¶

type GetSearchParams struct {

	/* Q.

	   Search parameter for project and repository name.
	*/
	Q string

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

GetSearchParams contains all the parameters to send to the API endpoint

for the get search operation.

Typically these are written to a http.Request.

func NewGetSearchParams ¶

func NewGetSearchParams() *GetSearchParams

NewGetSearchParams creates a new GetSearchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetSearchParamsWithContext ¶

func NewGetSearchParamsWithContext(ctx context.Context) *GetSearchParams

NewGetSearchParamsWithContext creates a new GetSearchParams object with the ability to set a context for a request.

func NewGetSearchParamsWithHTTPClient ¶

func NewGetSearchParamsWithHTTPClient(client *http.Client) *GetSearchParams

NewGetSearchParamsWithHTTPClient creates a new GetSearchParams object with the ability to set a custom HTTPClient for a request.

func NewGetSearchParamsWithTimeout ¶

func NewGetSearchParamsWithTimeout(timeout time.Duration) *GetSearchParams

NewGetSearchParamsWithTimeout creates a new GetSearchParams object with the ability to set a timeout on a request.

func (*GetSearchParams) SetContext ¶

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

SetContext adds the context to the get search params

func (*GetSearchParams) SetDefaults ¶

func (o *GetSearchParams) SetDefaults()

SetDefaults hydrates default values in the get search params (not the query body).

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

func (*GetSearchParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get search params

func (*GetSearchParams) SetQ ¶

func (o *GetSearchParams) SetQ(q string)

SetQ adds the q to the get search params

func (*GetSearchParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get search params

func (*GetSearchParams) WithContext ¶

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

WithContext adds the context to the get search params

func (*GetSearchParams) WithDefaults ¶

func (o *GetSearchParams) WithDefaults() *GetSearchParams

WithDefaults hydrates default values in the get search params (not the query body).

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

func (*GetSearchParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get search params

func (*GetSearchParams) WithQ ¶

func (o *GetSearchParams) WithQ(q string) *GetSearchParams

WithQ adds the q to the get search params

func (*GetSearchParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get search params

func (*GetSearchParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetSearchReader ¶

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

GetSearchReader is a Reader for the GetSearch structure.

func (*GetSearchReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetStatisticsInternalServerError ¶

type GetStatisticsInternalServerError struct {
}
GetStatisticsInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetStatisticsInternalServerError ¶

func NewGetStatisticsInternalServerError() *GetStatisticsInternalServerError

NewGetStatisticsInternalServerError creates a GetStatisticsInternalServerError with default headers values

func (*GetStatisticsInternalServerError) Error ¶

type GetStatisticsOK ¶

type GetStatisticsOK struct {
	Payload *legacy.StatisticMap
}
GetStatisticsOK describes a response with status code 200, with default header values.

Get the projects number and repositories number relevant to the user successfully.

func NewGetStatisticsOK ¶

func NewGetStatisticsOK() *GetStatisticsOK

NewGetStatisticsOK creates a GetStatisticsOK with default headers values

func (*GetStatisticsOK) Error ¶

func (o *GetStatisticsOK) Error() string

func (*GetStatisticsOK) GetPayload ¶

func (o *GetStatisticsOK) GetPayload() *legacy.StatisticMap

type GetStatisticsParams ¶

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

GetStatisticsParams contains all the parameters to send to the API endpoint

for the get statistics operation.

Typically these are written to a http.Request.

func NewGetStatisticsParams ¶

func NewGetStatisticsParams() *GetStatisticsParams

NewGetStatisticsParams creates a new GetStatisticsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetStatisticsParamsWithContext ¶

func NewGetStatisticsParamsWithContext(ctx context.Context) *GetStatisticsParams

NewGetStatisticsParamsWithContext creates a new GetStatisticsParams object with the ability to set a context for a request.

func NewGetStatisticsParamsWithHTTPClient ¶

func NewGetStatisticsParamsWithHTTPClient(client *http.Client) *GetStatisticsParams

NewGetStatisticsParamsWithHTTPClient creates a new GetStatisticsParams object with the ability to set a custom HTTPClient for a request.

func NewGetStatisticsParamsWithTimeout ¶

func NewGetStatisticsParamsWithTimeout(timeout time.Duration) *GetStatisticsParams

NewGetStatisticsParamsWithTimeout creates a new GetStatisticsParams object with the ability to set a timeout on a request.

func (*GetStatisticsParams) SetContext ¶

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

SetContext adds the context to the get statistics params

func (*GetStatisticsParams) SetDefaults ¶

func (o *GetStatisticsParams) SetDefaults()

SetDefaults hydrates default values in the get statistics params (not the query body).

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

func (*GetStatisticsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get statistics params

func (*GetStatisticsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get statistics params

func (*GetStatisticsParams) WithContext ¶

WithContext adds the context to the get statistics params

func (*GetStatisticsParams) WithDefaults ¶

func (o *GetStatisticsParams) WithDefaults() *GetStatisticsParams

WithDefaults hydrates default values in the get statistics params (not the query body).

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

func (*GetStatisticsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get statistics params

func (*GetStatisticsParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get statistics params

func (*GetStatisticsParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetStatisticsReader ¶

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

GetStatisticsReader is a Reader for the GetStatistics structure.

func (*GetStatisticsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetStatisticsUnauthorized ¶

type GetStatisticsUnauthorized struct {
}
GetStatisticsUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetStatisticsUnauthorized ¶

func NewGetStatisticsUnauthorized() *GetStatisticsUnauthorized

NewGetStatisticsUnauthorized creates a GetStatisticsUnauthorized with default headers values

func (*GetStatisticsUnauthorized) Error ¶

func (o *GetStatisticsUnauthorized) Error() string

type GetSystemCVEAllowlistInternalServerError ¶

type GetSystemCVEAllowlistInternalServerError struct {
}
GetSystemCVEAllowlistInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetSystemCVEAllowlistInternalServerError ¶

func NewGetSystemCVEAllowlistInternalServerError() *GetSystemCVEAllowlistInternalServerError

NewGetSystemCVEAllowlistInternalServerError creates a GetSystemCVEAllowlistInternalServerError with default headers values

func (*GetSystemCVEAllowlistInternalServerError) Error ¶

type GetSystemCVEAllowlistOK ¶

type GetSystemCVEAllowlistOK struct {
	Payload *legacy.CVEAllowlist
}
GetSystemCVEAllowlistOK describes a response with status code 200, with default header values.

Successfully retrieved the CVE allowlist.

func NewGetSystemCVEAllowlistOK ¶

func NewGetSystemCVEAllowlistOK() *GetSystemCVEAllowlistOK

NewGetSystemCVEAllowlistOK creates a GetSystemCVEAllowlistOK with default headers values

func (*GetSystemCVEAllowlistOK) Error ¶

func (o *GetSystemCVEAllowlistOK) Error() string

func (*GetSystemCVEAllowlistOK) GetPayload ¶

func (o *GetSystemCVEAllowlistOK) GetPayload() *legacy.CVEAllowlist

type GetSystemCVEAllowlistParams ¶

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

GetSystemCVEAllowlistParams contains all the parameters to send to the API endpoint

for the get system c v e allowlist operation.

Typically these are written to a http.Request.

func NewGetSystemCVEAllowlistParams ¶

func NewGetSystemCVEAllowlistParams() *GetSystemCVEAllowlistParams

NewGetSystemCVEAllowlistParams creates a new GetSystemCVEAllowlistParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetSystemCVEAllowlistParamsWithContext ¶

func NewGetSystemCVEAllowlistParamsWithContext(ctx context.Context) *GetSystemCVEAllowlistParams

NewGetSystemCVEAllowlistParamsWithContext creates a new GetSystemCVEAllowlistParams object with the ability to set a context for a request.

func NewGetSystemCVEAllowlistParamsWithHTTPClient ¶

func NewGetSystemCVEAllowlistParamsWithHTTPClient(client *http.Client) *GetSystemCVEAllowlistParams

NewGetSystemCVEAllowlistParamsWithHTTPClient creates a new GetSystemCVEAllowlistParams object with the ability to set a custom HTTPClient for a request.

func NewGetSystemCVEAllowlistParamsWithTimeout ¶

func NewGetSystemCVEAllowlistParamsWithTimeout(timeout time.Duration) *GetSystemCVEAllowlistParams

NewGetSystemCVEAllowlistParamsWithTimeout creates a new GetSystemCVEAllowlistParams object with the ability to set a timeout on a request.

func (*GetSystemCVEAllowlistParams) SetContext ¶

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

SetContext adds the context to the get system c v e allowlist params

func (*GetSystemCVEAllowlistParams) SetDefaults ¶

func (o *GetSystemCVEAllowlistParams) SetDefaults()

SetDefaults hydrates default values in the get system c v e allowlist params (not the query body).

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

func (*GetSystemCVEAllowlistParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get system c v e allowlist params

func (*GetSystemCVEAllowlistParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get system c v e allowlist params

func (*GetSystemCVEAllowlistParams) WithContext ¶

WithContext adds the context to the get system c v e allowlist params

func (*GetSystemCVEAllowlistParams) WithDefaults ¶

WithDefaults hydrates default values in the get system c v e allowlist params (not the query body).

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

func (*GetSystemCVEAllowlistParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get system c v e allowlist params

func (*GetSystemCVEAllowlistParams) WithTimeout ¶

WithTimeout adds the timeout to the get system c v e allowlist params

func (*GetSystemCVEAllowlistParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetSystemCVEAllowlistReader ¶

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

GetSystemCVEAllowlistReader is a Reader for the GetSystemCVEAllowlist structure.

func (*GetSystemCVEAllowlistReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetSystemCVEAllowlistUnauthorized ¶

type GetSystemCVEAllowlistUnauthorized struct {
}
GetSystemCVEAllowlistUnauthorized describes a response with status code 401, with default header values.

User is not authenticated.

func NewGetSystemCVEAllowlistUnauthorized ¶

func NewGetSystemCVEAllowlistUnauthorized() *GetSystemCVEAllowlistUnauthorized

NewGetSystemCVEAllowlistUnauthorized creates a GetSystemCVEAllowlistUnauthorized with default headers values

func (*GetSystemCVEAllowlistUnauthorized) Error ¶

type GetSystemGcForbidden ¶

type GetSystemGcForbidden struct {
}
GetSystemGcForbidden describes a response with status code 403, with default header values.

User does not have permission of admin role.

func NewGetSystemGcForbidden ¶

func NewGetSystemGcForbidden() *GetSystemGcForbidden

NewGetSystemGcForbidden creates a GetSystemGcForbidden with default headers values

func (*GetSystemGcForbidden) Error ¶

func (o *GetSystemGcForbidden) Error() string

type GetSystemGcIDForbidden ¶

type GetSystemGcIDForbidden struct {
}
GetSystemGcIDForbidden describes a response with status code 403, with default header values.

User does not have permission of admin role.

func NewGetSystemGcIDForbidden ¶

func NewGetSystemGcIDForbidden() *GetSystemGcIDForbidden

NewGetSystemGcIDForbidden creates a GetSystemGcIDForbidden with default headers values

func (*GetSystemGcIDForbidden) Error ¶

func (o *GetSystemGcIDForbidden) Error() string

type GetSystemGcIDInternalServerError ¶

type GetSystemGcIDInternalServerError struct {
}
GetSystemGcIDInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetSystemGcIDInternalServerError ¶

func NewGetSystemGcIDInternalServerError() *GetSystemGcIDInternalServerError

NewGetSystemGcIDInternalServerError creates a GetSystemGcIDInternalServerError with default headers values

func (*GetSystemGcIDInternalServerError) Error ¶

type GetSystemGcIDLogBadRequest ¶

type GetSystemGcIDLogBadRequest struct {
}
GetSystemGcIDLogBadRequest describes a response with status code 400, with default header values.

Illegal format of provided ID value.

func NewGetSystemGcIDLogBadRequest ¶

func NewGetSystemGcIDLogBadRequest() *GetSystemGcIDLogBadRequest

NewGetSystemGcIDLogBadRequest creates a GetSystemGcIDLogBadRequest with default headers values

func (*GetSystemGcIDLogBadRequest) Error ¶

type GetSystemGcIDLogForbidden ¶

type GetSystemGcIDLogForbidden struct {
}
GetSystemGcIDLogForbidden describes a response with status code 403, with default header values.

User does not have permission of admin role.

func NewGetSystemGcIDLogForbidden ¶

func NewGetSystemGcIDLogForbidden() *GetSystemGcIDLogForbidden

NewGetSystemGcIDLogForbidden creates a GetSystemGcIDLogForbidden with default headers values

func (*GetSystemGcIDLogForbidden) Error ¶

func (o *GetSystemGcIDLogForbidden) Error() string

type GetSystemGcIDLogInternalServerError ¶

type GetSystemGcIDLogInternalServerError struct {
}
GetSystemGcIDLogInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetSystemGcIDLogInternalServerError ¶

func NewGetSystemGcIDLogInternalServerError() *GetSystemGcIDLogInternalServerError

NewGetSystemGcIDLogInternalServerError creates a GetSystemGcIDLogInternalServerError with default headers values

func (*GetSystemGcIDLogInternalServerError) Error ¶

type GetSystemGcIDLogNotFound ¶

type GetSystemGcIDLogNotFound struct {
}
GetSystemGcIDLogNotFound describes a response with status code 404, with default header values.

The specific gc ID's log does not exist.

func NewGetSystemGcIDLogNotFound ¶

func NewGetSystemGcIDLogNotFound() *GetSystemGcIDLogNotFound

NewGetSystemGcIDLogNotFound creates a GetSystemGcIDLogNotFound with default headers values

func (*GetSystemGcIDLogNotFound) Error ¶

func (o *GetSystemGcIDLogNotFound) Error() string

type GetSystemGcIDLogOK ¶

type GetSystemGcIDLogOK struct {
	Payload string
}
GetSystemGcIDLogOK describes a response with status code 200, with default header values.

Get successfully.

func NewGetSystemGcIDLogOK ¶

func NewGetSystemGcIDLogOK() *GetSystemGcIDLogOK

NewGetSystemGcIDLogOK creates a GetSystemGcIDLogOK with default headers values

func (*GetSystemGcIDLogOK) Error ¶

func (o *GetSystemGcIDLogOK) Error() string

func (*GetSystemGcIDLogOK) GetPayload ¶

func (o *GetSystemGcIDLogOK) GetPayload() string

type GetSystemGcIDLogParams ¶

type GetSystemGcIDLogParams struct {

	/* ID.

	   Relevant job ID

	   Format: int64
	*/
	ID int64

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

GetSystemGcIDLogParams contains all the parameters to send to the API endpoint

for the get system gc ID log operation.

Typically these are written to a http.Request.

func NewGetSystemGcIDLogParams ¶

func NewGetSystemGcIDLogParams() *GetSystemGcIDLogParams

NewGetSystemGcIDLogParams creates a new GetSystemGcIDLogParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetSystemGcIDLogParamsWithContext ¶

func NewGetSystemGcIDLogParamsWithContext(ctx context.Context) *GetSystemGcIDLogParams

NewGetSystemGcIDLogParamsWithContext creates a new GetSystemGcIDLogParams object with the ability to set a context for a request.

func NewGetSystemGcIDLogParamsWithHTTPClient ¶

func NewGetSystemGcIDLogParamsWithHTTPClient(client *http.Client) *GetSystemGcIDLogParams

NewGetSystemGcIDLogParamsWithHTTPClient creates a new GetSystemGcIDLogParams object with the ability to set a custom HTTPClient for a request.

func NewGetSystemGcIDLogParamsWithTimeout ¶

func NewGetSystemGcIDLogParamsWithTimeout(timeout time.Duration) *GetSystemGcIDLogParams

NewGetSystemGcIDLogParamsWithTimeout creates a new GetSystemGcIDLogParams object with the ability to set a timeout on a request.

func (*GetSystemGcIDLogParams) SetContext ¶

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

SetContext adds the context to the get system gc ID log params

func (*GetSystemGcIDLogParams) SetDefaults ¶

func (o *GetSystemGcIDLogParams) SetDefaults()

SetDefaults hydrates default values in the get system gc ID log params (not the query body).

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

func (*GetSystemGcIDLogParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get system gc ID log params

func (*GetSystemGcIDLogParams) SetID ¶

func (o *GetSystemGcIDLogParams) SetID(id int64)

SetID adds the id to the get system gc ID log params

func (*GetSystemGcIDLogParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get system gc ID log params

func (*GetSystemGcIDLogParams) WithContext ¶

WithContext adds the context to the get system gc ID log params

func (*GetSystemGcIDLogParams) WithDefaults ¶

WithDefaults hydrates default values in the get system gc ID log params (not the query body).

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

func (*GetSystemGcIDLogParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get system gc ID log params

func (*GetSystemGcIDLogParams) WithID ¶

WithID adds the id to the get system gc ID log params

func (*GetSystemGcIDLogParams) WithTimeout ¶

WithTimeout adds the timeout to the get system gc ID log params

func (*GetSystemGcIDLogParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetSystemGcIDLogReader ¶

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

GetSystemGcIDLogReader is a Reader for the GetSystemGcIDLog structure.

func (*GetSystemGcIDLogReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetSystemGcIDLogUnauthorized ¶

type GetSystemGcIDLogUnauthorized struct {
}
GetSystemGcIDLogUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetSystemGcIDLogUnauthorized ¶

func NewGetSystemGcIDLogUnauthorized() *GetSystemGcIDLogUnauthorized

NewGetSystemGcIDLogUnauthorized creates a GetSystemGcIDLogUnauthorized with default headers values

func (*GetSystemGcIDLogUnauthorized) Error ¶

type GetSystemGcIDOK ¶

type GetSystemGcIDOK struct {
	Payload *legacy.GCResult
}
GetSystemGcIDOK describes a response with status code 200, with default header values.

Get gc results successfully.

func NewGetSystemGcIDOK ¶

func NewGetSystemGcIDOK() *GetSystemGcIDOK

NewGetSystemGcIDOK creates a GetSystemGcIDOK with default headers values

func (*GetSystemGcIDOK) Error ¶

func (o *GetSystemGcIDOK) Error() string

func (*GetSystemGcIDOK) GetPayload ¶

func (o *GetSystemGcIDOK) GetPayload() *legacy.GCResult

type GetSystemGcIDParams ¶

type GetSystemGcIDParams struct {

	/* ID.

	   Relevant job ID

	   Format: int64
	*/
	ID int64

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

GetSystemGcIDParams contains all the parameters to send to the API endpoint

for the get system gc ID operation.

Typically these are written to a http.Request.

func NewGetSystemGcIDParams ¶

func NewGetSystemGcIDParams() *GetSystemGcIDParams

NewGetSystemGcIDParams creates a new GetSystemGcIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetSystemGcIDParamsWithContext ¶

func NewGetSystemGcIDParamsWithContext(ctx context.Context) *GetSystemGcIDParams

NewGetSystemGcIDParamsWithContext creates a new GetSystemGcIDParams object with the ability to set a context for a request.

func NewGetSystemGcIDParamsWithHTTPClient ¶

func NewGetSystemGcIDParamsWithHTTPClient(client *http.Client) *GetSystemGcIDParams

NewGetSystemGcIDParamsWithHTTPClient creates a new GetSystemGcIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetSystemGcIDParamsWithTimeout ¶

func NewGetSystemGcIDParamsWithTimeout(timeout time.Duration) *GetSystemGcIDParams

NewGetSystemGcIDParamsWithTimeout creates a new GetSystemGcIDParams object with the ability to set a timeout on a request.

func (*GetSystemGcIDParams) SetContext ¶

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

SetContext adds the context to the get system gc ID params

func (*GetSystemGcIDParams) SetDefaults ¶

func (o *GetSystemGcIDParams) SetDefaults()

SetDefaults hydrates default values in the get system gc ID params (not the query body).

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

func (*GetSystemGcIDParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get system gc ID params

func (*GetSystemGcIDParams) SetID ¶

func (o *GetSystemGcIDParams) SetID(id int64)

SetID adds the id to the get system gc ID params

func (*GetSystemGcIDParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get system gc ID params

func (*GetSystemGcIDParams) WithContext ¶

WithContext adds the context to the get system gc ID params

func (*GetSystemGcIDParams) WithDefaults ¶

func (o *GetSystemGcIDParams) WithDefaults() *GetSystemGcIDParams

WithDefaults hydrates default values in the get system gc ID params (not the query body).

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

func (*GetSystemGcIDParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get system gc ID params

func (*GetSystemGcIDParams) WithID ¶

WithID adds the id to the get system gc ID params

func (*GetSystemGcIDParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get system gc ID params

func (*GetSystemGcIDParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetSystemGcIDReader ¶

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

GetSystemGcIDReader is a Reader for the GetSystemGcID structure.

func (*GetSystemGcIDReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetSystemGcIDUnauthorized ¶

type GetSystemGcIDUnauthorized struct {
}
GetSystemGcIDUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetSystemGcIDUnauthorized ¶

func NewGetSystemGcIDUnauthorized() *GetSystemGcIDUnauthorized

NewGetSystemGcIDUnauthorized creates a GetSystemGcIDUnauthorized with default headers values

func (*GetSystemGcIDUnauthorized) Error ¶

func (o *GetSystemGcIDUnauthorized) Error() string

type GetSystemGcInternalServerError ¶

type GetSystemGcInternalServerError struct {
}
GetSystemGcInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetSystemGcInternalServerError ¶

func NewGetSystemGcInternalServerError() *GetSystemGcInternalServerError

NewGetSystemGcInternalServerError creates a GetSystemGcInternalServerError with default headers values

func (*GetSystemGcInternalServerError) Error ¶

type GetSystemGcOK ¶

type GetSystemGcOK struct {
	Payload []*legacy.GCResult
}
GetSystemGcOK describes a response with status code 200, with default header values.

Get gc results successfully.

func NewGetSystemGcOK ¶

func NewGetSystemGcOK() *GetSystemGcOK

NewGetSystemGcOK creates a GetSystemGcOK with default headers values

func (*GetSystemGcOK) Error ¶

func (o *GetSystemGcOK) Error() string

func (*GetSystemGcOK) GetPayload ¶

func (o *GetSystemGcOK) GetPayload() []*legacy.GCResult

type GetSystemGcParams ¶

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

GetSystemGcParams contains all the parameters to send to the API endpoint

for the get system gc operation.

Typically these are written to a http.Request.

func NewGetSystemGcParams ¶

func NewGetSystemGcParams() *GetSystemGcParams

NewGetSystemGcParams creates a new GetSystemGcParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetSystemGcParamsWithContext ¶

func NewGetSystemGcParamsWithContext(ctx context.Context) *GetSystemGcParams

NewGetSystemGcParamsWithContext creates a new GetSystemGcParams object with the ability to set a context for a request.

func NewGetSystemGcParamsWithHTTPClient ¶

func NewGetSystemGcParamsWithHTTPClient(client *http.Client) *GetSystemGcParams

NewGetSystemGcParamsWithHTTPClient creates a new GetSystemGcParams object with the ability to set a custom HTTPClient for a request.

func NewGetSystemGcParamsWithTimeout ¶

func NewGetSystemGcParamsWithTimeout(timeout time.Duration) *GetSystemGcParams

NewGetSystemGcParamsWithTimeout creates a new GetSystemGcParams object with the ability to set a timeout on a request.

func (*GetSystemGcParams) SetContext ¶

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

SetContext adds the context to the get system gc params

func (*GetSystemGcParams) SetDefaults ¶

func (o *GetSystemGcParams) SetDefaults()

SetDefaults hydrates default values in the get system gc params (not the query body).

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

func (*GetSystemGcParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get system gc params

func (*GetSystemGcParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get system gc params

func (*GetSystemGcParams) WithContext ¶

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

WithContext adds the context to the get system gc params

func (*GetSystemGcParams) WithDefaults ¶

func (o *GetSystemGcParams) WithDefaults() *GetSystemGcParams

WithDefaults hydrates default values in the get system gc params (not the query body).

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

func (*GetSystemGcParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get system gc params

func (*GetSystemGcParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get system gc params

func (*GetSystemGcParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetSystemGcReader ¶

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

GetSystemGcReader is a Reader for the GetSystemGc structure.

func (*GetSystemGcReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetSystemGcScheduleForbidden ¶

type GetSystemGcScheduleForbidden struct {
}
GetSystemGcScheduleForbidden describes a response with status code 403, 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 describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetSystemGcScheduleInternalServerError ¶

func NewGetSystemGcScheduleInternalServerError() *GetSystemGcScheduleInternalServerError

NewGetSystemGcScheduleInternalServerError creates a GetSystemGcScheduleInternalServerError with default headers values

func (*GetSystemGcScheduleInternalServerError) Error ¶

type GetSystemGcScheduleOK ¶

type GetSystemGcScheduleOK struct {
	Payload *legacy.AdminJobSchedule
}
GetSystemGcScheduleOK describes a response with status code 200, 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 ¶

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetSystemGcScheduleParamsWithContext ¶

func NewGetSystemGcScheduleParamsWithContext(ctx context.Context) *GetSystemGcScheduleParams

NewGetSystemGcScheduleParamsWithContext creates a new GetSystemGcScheduleParams object with 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 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 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) SetDefaults ¶

func (o *GetSystemGcScheduleParams) SetDefaults()

SetDefaults hydrates default values in the get system gc schedule params (not the query body).

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

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) WithDefaults ¶

WithDefaults hydrates default values in the get system gc schedule params (not the query body).

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

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 describes a response with status code 401, 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 GetSystemGcUnauthorized ¶

type GetSystemGcUnauthorized struct {
}
GetSystemGcUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetSystemGcUnauthorized ¶

func NewGetSystemGcUnauthorized() *GetSystemGcUnauthorized

NewGetSystemGcUnauthorized creates a GetSystemGcUnauthorized with default headers values

func (*GetSystemGcUnauthorized) Error ¶

func (o *GetSystemGcUnauthorized) Error() string

type GetSystemScanAllScheduleForbidden ¶

type GetSystemScanAllScheduleForbidden struct {
}
GetSystemScanAllScheduleForbidden describes a response with status code 403, with default header values.

Only admin has this authority.

func NewGetSystemScanAllScheduleForbidden ¶

func NewGetSystemScanAllScheduleForbidden() *GetSystemScanAllScheduleForbidden

NewGetSystemScanAllScheduleForbidden creates a GetSystemScanAllScheduleForbidden with default headers values

func (*GetSystemScanAllScheduleForbidden) Error ¶

type GetSystemScanAllScheduleInternalServerError ¶

type GetSystemScanAllScheduleInternalServerError struct {
}
GetSystemScanAllScheduleInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetSystemScanAllScheduleInternalServerError ¶

func NewGetSystemScanAllScheduleInternalServerError() *GetSystemScanAllScheduleInternalServerError

NewGetSystemScanAllScheduleInternalServerError creates a GetSystemScanAllScheduleInternalServerError with default headers values

func (*GetSystemScanAllScheduleInternalServerError) Error ¶

type GetSystemScanAllScheduleOK ¶

type GetSystemScanAllScheduleOK struct {
	Payload *legacy.AdminJobSchedule
}
GetSystemScanAllScheduleOK describes a response with status code 200, with default header values.

Get a schedule for the scan all job, which scans all of images in Harbor.

func NewGetSystemScanAllScheduleOK ¶

func NewGetSystemScanAllScheduleOK() *GetSystemScanAllScheduleOK

NewGetSystemScanAllScheduleOK creates a GetSystemScanAllScheduleOK with default headers values

func (*GetSystemScanAllScheduleOK) Error ¶

func (*GetSystemScanAllScheduleOK) GetPayload ¶

type GetSystemScanAllScheduleParams ¶

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

GetSystemScanAllScheduleParams contains all the parameters to send to the API endpoint

for the get system scan all schedule operation.

Typically these are written to a http.Request.

func NewGetSystemScanAllScheduleParams ¶

func NewGetSystemScanAllScheduleParams() *GetSystemScanAllScheduleParams

NewGetSystemScanAllScheduleParams creates a new GetSystemScanAllScheduleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetSystemScanAllScheduleParamsWithContext ¶

func NewGetSystemScanAllScheduleParamsWithContext(ctx context.Context) *GetSystemScanAllScheduleParams

NewGetSystemScanAllScheduleParamsWithContext creates a new GetSystemScanAllScheduleParams object with the ability to set a context for a request.

func NewGetSystemScanAllScheduleParamsWithHTTPClient ¶

func NewGetSystemScanAllScheduleParamsWithHTTPClient(client *http.Client) *GetSystemScanAllScheduleParams

NewGetSystemScanAllScheduleParamsWithHTTPClient creates a new GetSystemScanAllScheduleParams object with the ability to set a custom HTTPClient for a request.

func NewGetSystemScanAllScheduleParamsWithTimeout ¶

func NewGetSystemScanAllScheduleParamsWithTimeout(timeout time.Duration) *GetSystemScanAllScheduleParams

NewGetSystemScanAllScheduleParamsWithTimeout creates a new GetSystemScanAllScheduleParams object with the ability to set a timeout on a request.

func (*GetSystemScanAllScheduleParams) SetContext ¶

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

SetContext adds the context to the get system scan all schedule params

func (*GetSystemScanAllScheduleParams) SetDefaults ¶

func (o *GetSystemScanAllScheduleParams) SetDefaults()

SetDefaults hydrates default values in the get system scan all schedule params (not the query body).

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

func (*GetSystemScanAllScheduleParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get system scan all schedule params

func (*GetSystemScanAllScheduleParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get system scan all schedule params

func (*GetSystemScanAllScheduleParams) WithContext ¶

WithContext adds the context to the get system scan all schedule params

func (*GetSystemScanAllScheduleParams) WithDefaults ¶

WithDefaults hydrates default values in the get system scan all schedule params (not the query body).

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

func (*GetSystemScanAllScheduleParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get system scan all schedule params

func (*GetSystemScanAllScheduleParams) WithTimeout ¶

WithTimeout adds the timeout to the get system scan all schedule params

func (*GetSystemScanAllScheduleParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetSystemScanAllScheduleReader ¶

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

GetSystemScanAllScheduleReader is a Reader for the GetSystemScanAllSchedule structure.

func (*GetSystemScanAllScheduleReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetSystemScanAllScheduleUnauthorized ¶

type GetSystemScanAllScheduleUnauthorized struct {
}
GetSystemScanAllScheduleUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetSystemScanAllScheduleUnauthorized ¶

func NewGetSystemScanAllScheduleUnauthorized() *GetSystemScanAllScheduleUnauthorized

NewGetSystemScanAllScheduleUnauthorized creates a GetSystemScanAllScheduleUnauthorized with default headers values

func (*GetSystemScanAllScheduleUnauthorized) Error ¶

type GetSysteminfoGetcertInternalServerError ¶

type GetSysteminfoGetcertInternalServerError struct {
}
GetSysteminfoGetcertInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetSysteminfoGetcertInternalServerError ¶

func NewGetSysteminfoGetcertInternalServerError() *GetSysteminfoGetcertInternalServerError

NewGetSysteminfoGetcertInternalServerError creates a GetSysteminfoGetcertInternalServerError with default headers values

func (*GetSysteminfoGetcertInternalServerError) Error ¶

type GetSysteminfoGetcertNotFound ¶

type GetSysteminfoGetcertNotFound struct {
}
GetSysteminfoGetcertNotFound describes a response with status code 404, with default header values.

Not found the default root certificate.

func NewGetSysteminfoGetcertNotFound ¶

func NewGetSysteminfoGetcertNotFound() *GetSysteminfoGetcertNotFound

NewGetSysteminfoGetcertNotFound creates a GetSysteminfoGetcertNotFound with default headers values

func (*GetSysteminfoGetcertNotFound) Error ¶

type GetSysteminfoGetcertOK ¶

type GetSysteminfoGetcertOK struct {
}
GetSysteminfoGetcertOK describes a response with status code 200, with default header values.

Get default root certificate successfully.

func NewGetSysteminfoGetcertOK ¶

func NewGetSysteminfoGetcertOK() *GetSysteminfoGetcertOK

NewGetSysteminfoGetcertOK creates a GetSysteminfoGetcertOK with default headers values

func (*GetSysteminfoGetcertOK) Error ¶

func (o *GetSysteminfoGetcertOK) Error() string

type GetSysteminfoGetcertParams ¶

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

GetSysteminfoGetcertParams contains all the parameters to send to the API endpoint

for the get systeminfo getcert operation.

Typically these are written to a http.Request.

func NewGetSysteminfoGetcertParams ¶

func NewGetSysteminfoGetcertParams() *GetSysteminfoGetcertParams

NewGetSysteminfoGetcertParams creates a new GetSysteminfoGetcertParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetSysteminfoGetcertParamsWithContext ¶

func NewGetSysteminfoGetcertParamsWithContext(ctx context.Context) *GetSysteminfoGetcertParams

NewGetSysteminfoGetcertParamsWithContext creates a new GetSysteminfoGetcertParams object with the ability to set a context for a request.

func NewGetSysteminfoGetcertParamsWithHTTPClient ¶

func NewGetSysteminfoGetcertParamsWithHTTPClient(client *http.Client) *GetSysteminfoGetcertParams

NewGetSysteminfoGetcertParamsWithHTTPClient creates a new GetSysteminfoGetcertParams object with the ability to set a custom HTTPClient for a request.

func NewGetSysteminfoGetcertParamsWithTimeout ¶

func NewGetSysteminfoGetcertParamsWithTimeout(timeout time.Duration) *GetSysteminfoGetcertParams

NewGetSysteminfoGetcertParamsWithTimeout creates a new GetSysteminfoGetcertParams object with the ability to set a timeout on a request.

func (*GetSysteminfoGetcertParams) SetContext ¶

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

SetContext adds the context to the get systeminfo getcert params

func (*GetSysteminfoGetcertParams) SetDefaults ¶

func (o *GetSysteminfoGetcertParams) SetDefaults()

SetDefaults hydrates default values in the get systeminfo getcert params (not the query body).

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

func (*GetSysteminfoGetcertParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get systeminfo getcert params

func (*GetSysteminfoGetcertParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get systeminfo getcert params

func (*GetSysteminfoGetcertParams) WithContext ¶

WithContext adds the context to the get systeminfo getcert params

func (*GetSysteminfoGetcertParams) WithDefaults ¶

WithDefaults hydrates default values in the get systeminfo getcert params (not the query body).

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

func (*GetSysteminfoGetcertParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get systeminfo getcert params

func (*GetSysteminfoGetcertParams) WithTimeout ¶

WithTimeout adds the timeout to the get systeminfo getcert params

func (*GetSysteminfoGetcertParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetSysteminfoGetcertReader ¶

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

GetSysteminfoGetcertReader is a Reader for the GetSysteminfoGetcert structure.

func (*GetSysteminfoGetcertReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetSysteminfoInternalServerError ¶

type GetSysteminfoInternalServerError struct {
}
GetSysteminfoInternalServerError describes a response with status code 500, with default header values.

Unexpected generate error.

func NewGetSysteminfoInternalServerError ¶

func NewGetSysteminfoInternalServerError() *GetSysteminfoInternalServerError

NewGetSysteminfoInternalServerError creates a GetSysteminfoInternalServerError with default headers values

func (*GetSysteminfoInternalServerError) Error ¶

type GetSysteminfoOK ¶

type GetSysteminfoOK struct {
	Payload *legacy.GeneralInfo
}
GetSysteminfoOK describes a response with status code 200, with default header values.

Get general info successfully.

func NewGetSysteminfoOK ¶

func NewGetSysteminfoOK() *GetSysteminfoOK

NewGetSysteminfoOK creates a GetSysteminfoOK with default headers values

func (*GetSysteminfoOK) Error ¶

func (o *GetSysteminfoOK) Error() string

func (*GetSysteminfoOK) GetPayload ¶

func (o *GetSysteminfoOK) GetPayload() *legacy.GeneralInfo

type GetSysteminfoParams ¶

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

GetSysteminfoParams contains all the parameters to send to the API endpoint

for the get systeminfo operation.

Typically these are written to a http.Request.

func NewGetSysteminfoParams ¶

func NewGetSysteminfoParams() *GetSysteminfoParams

NewGetSysteminfoParams creates a new GetSysteminfoParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetSysteminfoParamsWithContext ¶

func NewGetSysteminfoParamsWithContext(ctx context.Context) *GetSysteminfoParams

NewGetSysteminfoParamsWithContext creates a new GetSysteminfoParams object with the ability to set a context for a request.

func NewGetSysteminfoParamsWithHTTPClient ¶

func NewGetSysteminfoParamsWithHTTPClient(client *http.Client) *GetSysteminfoParams

NewGetSysteminfoParamsWithHTTPClient creates a new GetSysteminfoParams object with the ability to set a custom HTTPClient for a request.

func NewGetSysteminfoParamsWithTimeout ¶

func NewGetSysteminfoParamsWithTimeout(timeout time.Duration) *GetSysteminfoParams

NewGetSysteminfoParamsWithTimeout creates a new GetSysteminfoParams object with the ability to set a timeout on a request.

func (*GetSysteminfoParams) SetContext ¶

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

SetContext adds the context to the get systeminfo params

func (*GetSysteminfoParams) SetDefaults ¶

func (o *GetSysteminfoParams) SetDefaults()

SetDefaults hydrates default values in the get systeminfo params (not the query body).

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

func (*GetSysteminfoParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get systeminfo params

func (*GetSysteminfoParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get systeminfo params

func (*GetSysteminfoParams) WithContext ¶

WithContext adds the context to the get systeminfo params

func (*GetSysteminfoParams) WithDefaults ¶

func (o *GetSysteminfoParams) WithDefaults() *GetSysteminfoParams

WithDefaults hydrates default values in the get systeminfo params (not the query body).

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

func (*GetSysteminfoParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get systeminfo params

func (*GetSysteminfoParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get systeminfo params

func (*GetSysteminfoParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetSysteminfoReader ¶

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

GetSysteminfoReader is a Reader for the GetSysteminfo structure.

func (*GetSysteminfoReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetSysteminfoVolumesForbidden ¶

type GetSysteminfoVolumesForbidden struct {
}
GetSysteminfoVolumesForbidden describes a response with status code 403, with default header values.

User does not have permission of admin role.

func NewGetSysteminfoVolumesForbidden ¶

func NewGetSysteminfoVolumesForbidden() *GetSysteminfoVolumesForbidden

NewGetSysteminfoVolumesForbidden creates a GetSysteminfoVolumesForbidden with default headers values

func (*GetSysteminfoVolumesForbidden) Error ¶

type GetSysteminfoVolumesInternalServerError ¶

type GetSysteminfoVolumesInternalServerError struct {
}
GetSysteminfoVolumesInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetSysteminfoVolumesInternalServerError ¶

func NewGetSysteminfoVolumesInternalServerError() *GetSysteminfoVolumesInternalServerError

NewGetSysteminfoVolumesInternalServerError creates a GetSysteminfoVolumesInternalServerError with default headers values

func (*GetSysteminfoVolumesInternalServerError) Error ¶

type GetSysteminfoVolumesOK ¶

type GetSysteminfoVolumesOK struct {
	Payload *legacy.SystemInfo
}
GetSysteminfoVolumesOK describes a response with status code 200, with default header values.

Get system volumes successfully.

func NewGetSysteminfoVolumesOK ¶

func NewGetSysteminfoVolumesOK() *GetSysteminfoVolumesOK

NewGetSysteminfoVolumesOK creates a GetSysteminfoVolumesOK with default headers values

func (*GetSysteminfoVolumesOK) Error ¶

func (o *GetSysteminfoVolumesOK) Error() string

func (*GetSysteminfoVolumesOK) GetPayload ¶

func (o *GetSysteminfoVolumesOK) GetPayload() *legacy.SystemInfo

type GetSysteminfoVolumesParams ¶

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

GetSysteminfoVolumesParams contains all the parameters to send to the API endpoint

for the get systeminfo volumes operation.

Typically these are written to a http.Request.

func NewGetSysteminfoVolumesParams ¶

func NewGetSysteminfoVolumesParams() *GetSysteminfoVolumesParams

NewGetSysteminfoVolumesParams creates a new GetSysteminfoVolumesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetSysteminfoVolumesParamsWithContext ¶

func NewGetSysteminfoVolumesParamsWithContext(ctx context.Context) *GetSysteminfoVolumesParams

NewGetSysteminfoVolumesParamsWithContext creates a new GetSysteminfoVolumesParams object with the ability to set a context for a request.

func NewGetSysteminfoVolumesParamsWithHTTPClient ¶

func NewGetSysteminfoVolumesParamsWithHTTPClient(client *http.Client) *GetSysteminfoVolumesParams

NewGetSysteminfoVolumesParamsWithHTTPClient creates a new GetSysteminfoVolumesParams object with the ability to set a custom HTTPClient for a request.

func NewGetSysteminfoVolumesParamsWithTimeout ¶

func NewGetSysteminfoVolumesParamsWithTimeout(timeout time.Duration) *GetSysteminfoVolumesParams

NewGetSysteminfoVolumesParamsWithTimeout creates a new GetSysteminfoVolumesParams object with the ability to set a timeout on a request.

func (*GetSysteminfoVolumesParams) SetContext ¶

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

SetContext adds the context to the get systeminfo volumes params

func (*GetSysteminfoVolumesParams) SetDefaults ¶

func (o *GetSysteminfoVolumesParams) SetDefaults()

SetDefaults hydrates default values in the get systeminfo volumes params (not the query body).

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

func (*GetSysteminfoVolumesParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get systeminfo volumes params

func (*GetSysteminfoVolumesParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get systeminfo volumes params

func (*GetSysteminfoVolumesParams) WithContext ¶

WithContext adds the context to the get systeminfo volumes params

func (*GetSysteminfoVolumesParams) WithDefaults ¶

WithDefaults hydrates default values in the get systeminfo volumes params (not the query body).

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

func (*GetSysteminfoVolumesParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get systeminfo volumes params

func (*GetSysteminfoVolumesParams) WithTimeout ¶

WithTimeout adds the timeout to the get systeminfo volumes params

func (*GetSysteminfoVolumesParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetSysteminfoVolumesReader ¶

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

GetSysteminfoVolumesReader is a Reader for the GetSysteminfoVolumes structure.

func (*GetSysteminfoVolumesReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetSysteminfoVolumesUnauthorized ¶

type GetSysteminfoVolumesUnauthorized struct {
}
GetSysteminfoVolumesUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetSysteminfoVolumesUnauthorized ¶

func NewGetSysteminfoVolumesUnauthorized() *GetSysteminfoVolumesUnauthorized

NewGetSysteminfoVolumesUnauthorized creates a GetSysteminfoVolumesUnauthorized with default headers values

func (*GetSysteminfoVolumesUnauthorized) Error ¶

type GetUsergroupsForbidden ¶

type GetUsergroupsForbidden struct {
}
GetUsergroupsForbidden describes a response with status code 403, with default header values.

User in session does not have permission to the user group.

func NewGetUsergroupsForbidden ¶

func NewGetUsergroupsForbidden() *GetUsergroupsForbidden

NewGetUsergroupsForbidden creates a GetUsergroupsForbidden with default headers values

func (*GetUsergroupsForbidden) Error ¶

func (o *GetUsergroupsForbidden) Error() string

type GetUsergroupsGroupIDBadRequest ¶

type GetUsergroupsGroupIDBadRequest struct {
}
GetUsergroupsGroupIDBadRequest describes a response with status code 400, with default header values.

The user group id is invalid.

func NewGetUsergroupsGroupIDBadRequest ¶

func NewGetUsergroupsGroupIDBadRequest() *GetUsergroupsGroupIDBadRequest

NewGetUsergroupsGroupIDBadRequest creates a GetUsergroupsGroupIDBadRequest with default headers values

func (*GetUsergroupsGroupIDBadRequest) Error ¶

type GetUsergroupsGroupIDForbidden ¶

type GetUsergroupsGroupIDForbidden struct {
}
GetUsergroupsGroupIDForbidden describes a response with status code 403, with default header values.

User in session does not have permission to the user group.

func NewGetUsergroupsGroupIDForbidden ¶

func NewGetUsergroupsGroupIDForbidden() *GetUsergroupsGroupIDForbidden

NewGetUsergroupsGroupIDForbidden creates a GetUsergroupsGroupIDForbidden with default headers values

func (*GetUsergroupsGroupIDForbidden) Error ¶

type GetUsergroupsGroupIDInternalServerError ¶

type GetUsergroupsGroupIDInternalServerError struct {
}
GetUsergroupsGroupIDInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetUsergroupsGroupIDInternalServerError ¶

func NewGetUsergroupsGroupIDInternalServerError() *GetUsergroupsGroupIDInternalServerError

NewGetUsergroupsGroupIDInternalServerError creates a GetUsergroupsGroupIDInternalServerError with default headers values

func (*GetUsergroupsGroupIDInternalServerError) Error ¶

type GetUsergroupsGroupIDNotFound ¶

type GetUsergroupsGroupIDNotFound struct {
}
GetUsergroupsGroupIDNotFound describes a response with status code 404, with default header values.

User group does not exist.

func NewGetUsergroupsGroupIDNotFound ¶

func NewGetUsergroupsGroupIDNotFound() *GetUsergroupsGroupIDNotFound

NewGetUsergroupsGroupIDNotFound creates a GetUsergroupsGroupIDNotFound with default headers values

func (*GetUsergroupsGroupIDNotFound) Error ¶

type GetUsergroupsGroupIDOK ¶

type GetUsergroupsGroupIDOK struct {
	Payload *legacy.UserGroup
}
GetUsergroupsGroupIDOK describes a response with status code 200, with default header values.

User group get successfully.

func NewGetUsergroupsGroupIDOK ¶

func NewGetUsergroupsGroupIDOK() *GetUsergroupsGroupIDOK

NewGetUsergroupsGroupIDOK creates a GetUsergroupsGroupIDOK with default headers values

func (*GetUsergroupsGroupIDOK) Error ¶

func (o *GetUsergroupsGroupIDOK) Error() string

func (*GetUsergroupsGroupIDOK) GetPayload ¶

func (o *GetUsergroupsGroupIDOK) GetPayload() *legacy.UserGroup

type GetUsergroupsGroupIDParams ¶

type GetUsergroupsGroupIDParams struct {

	/* GroupID.

	   Group ID

	   Format: int64
	*/
	GroupID int64

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

GetUsergroupsGroupIDParams contains all the parameters to send to the API endpoint

for the get usergroups group ID operation.

Typically these are written to a http.Request.

func NewGetUsergroupsGroupIDParams ¶

func NewGetUsergroupsGroupIDParams() *GetUsergroupsGroupIDParams

NewGetUsergroupsGroupIDParams creates a new GetUsergroupsGroupIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetUsergroupsGroupIDParamsWithContext ¶

func NewGetUsergroupsGroupIDParamsWithContext(ctx context.Context) *GetUsergroupsGroupIDParams

NewGetUsergroupsGroupIDParamsWithContext creates a new GetUsergroupsGroupIDParams object with the ability to set a context for a request.

func NewGetUsergroupsGroupIDParamsWithHTTPClient ¶

func NewGetUsergroupsGroupIDParamsWithHTTPClient(client *http.Client) *GetUsergroupsGroupIDParams

NewGetUsergroupsGroupIDParamsWithHTTPClient creates a new GetUsergroupsGroupIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetUsergroupsGroupIDParamsWithTimeout ¶

func NewGetUsergroupsGroupIDParamsWithTimeout(timeout time.Duration) *GetUsergroupsGroupIDParams

NewGetUsergroupsGroupIDParamsWithTimeout creates a new GetUsergroupsGroupIDParams object with the ability to set a timeout on a request.

func (*GetUsergroupsGroupIDParams) SetContext ¶

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

SetContext adds the context to the get usergroups group ID params

func (*GetUsergroupsGroupIDParams) SetDefaults ¶

func (o *GetUsergroupsGroupIDParams) SetDefaults()

SetDefaults hydrates default values in the get usergroups group ID params (not the query body).

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

func (*GetUsergroupsGroupIDParams) SetGroupID ¶

func (o *GetUsergroupsGroupIDParams) SetGroupID(groupID int64)

SetGroupID adds the groupId to the get usergroups group ID params

func (*GetUsergroupsGroupIDParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get usergroups group ID params

func (*GetUsergroupsGroupIDParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get usergroups group ID params

func (*GetUsergroupsGroupIDParams) WithContext ¶

WithContext adds the context to the get usergroups group ID params

func (*GetUsergroupsGroupIDParams) WithDefaults ¶

WithDefaults hydrates default values in the get usergroups group ID params (not the query body).

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

func (*GetUsergroupsGroupIDParams) WithGroupID ¶

WithGroupID adds the groupID to the get usergroups group ID params

func (*GetUsergroupsGroupIDParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get usergroups group ID params

func (*GetUsergroupsGroupIDParams) WithTimeout ¶

WithTimeout adds the timeout to the get usergroups group ID params

func (*GetUsergroupsGroupIDParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetUsergroupsGroupIDReader ¶

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

GetUsergroupsGroupIDReader is a Reader for the GetUsergroupsGroupID structure.

func (*GetUsergroupsGroupIDReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetUsergroupsGroupIDUnauthorized ¶

type GetUsergroupsGroupIDUnauthorized struct {
}
GetUsergroupsGroupIDUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetUsergroupsGroupIDUnauthorized ¶

func NewGetUsergroupsGroupIDUnauthorized() *GetUsergroupsGroupIDUnauthorized

NewGetUsergroupsGroupIDUnauthorized creates a GetUsergroupsGroupIDUnauthorized with default headers values

func (*GetUsergroupsGroupIDUnauthorized) Error ¶

type GetUsergroupsInternalServerError ¶

type GetUsergroupsInternalServerError struct {
}
GetUsergroupsInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetUsergroupsInternalServerError ¶

func NewGetUsergroupsInternalServerError() *GetUsergroupsInternalServerError

NewGetUsergroupsInternalServerError creates a GetUsergroupsInternalServerError with default headers values

func (*GetUsergroupsInternalServerError) Error ¶

type GetUsergroupsOK ¶

type GetUsergroupsOK struct {
	Payload []*legacy.UserGroup
}
GetUsergroupsOK describes a response with status code 200, with default header values.

Get user group successfully.

func NewGetUsergroupsOK ¶

func NewGetUsergroupsOK() *GetUsergroupsOK

NewGetUsergroupsOK creates a GetUsergroupsOK with default headers values

func (*GetUsergroupsOK) Error ¶

func (o *GetUsergroupsOK) Error() string

func (*GetUsergroupsOK) GetPayload ¶

func (o *GetUsergroupsOK) GetPayload() []*legacy.UserGroup

type GetUsergroupsParams ¶

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

GetUsergroupsParams contains all the parameters to send to the API endpoint

for the get usergroups operation.

Typically these are written to a http.Request.

func NewGetUsergroupsParams ¶

func NewGetUsergroupsParams() *GetUsergroupsParams

NewGetUsergroupsParams creates a new GetUsergroupsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetUsergroupsParamsWithContext ¶

func NewGetUsergroupsParamsWithContext(ctx context.Context) *GetUsergroupsParams

NewGetUsergroupsParamsWithContext creates a new GetUsergroupsParams object with the ability to set a context for a request.

func NewGetUsergroupsParamsWithHTTPClient ¶

func NewGetUsergroupsParamsWithHTTPClient(client *http.Client) *GetUsergroupsParams

NewGetUsergroupsParamsWithHTTPClient creates a new GetUsergroupsParams object with the ability to set a custom HTTPClient for a request.

func NewGetUsergroupsParamsWithTimeout ¶

func NewGetUsergroupsParamsWithTimeout(timeout time.Duration) *GetUsergroupsParams

NewGetUsergroupsParamsWithTimeout creates a new GetUsergroupsParams object with the ability to set a timeout on a request.

func (*GetUsergroupsParams) SetContext ¶

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

SetContext adds the context to the get usergroups params

func (*GetUsergroupsParams) SetDefaults ¶

func (o *GetUsergroupsParams) SetDefaults()

SetDefaults hydrates default values in the get usergroups params (not the query body).

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

func (*GetUsergroupsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get usergroups params

func (*GetUsergroupsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get usergroups params

func (*GetUsergroupsParams) WithContext ¶

WithContext adds the context to the get usergroups params

func (*GetUsergroupsParams) WithDefaults ¶

func (o *GetUsergroupsParams) WithDefaults() *GetUsergroupsParams

WithDefaults hydrates default values in the get usergroups params (not the query body).

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

func (*GetUsergroupsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get usergroups params

func (*GetUsergroupsParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get usergroups params

func (*GetUsergroupsParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetUsergroupsReader ¶

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

GetUsergroupsReader is a Reader for the GetUsergroups structure.

func (*GetUsergroupsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetUsergroupsUnauthorized ¶

type GetUsergroupsUnauthorized struct {
}
GetUsergroupsUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetUsergroupsUnauthorized ¶

func NewGetUsergroupsUnauthorized() *GetUsergroupsUnauthorized

NewGetUsergroupsUnauthorized creates a GetUsergroupsUnauthorized with default headers values

func (*GetUsergroupsUnauthorized) Error ¶

func (o *GetUsergroupsUnauthorized) Error() string

type GetUsersBadRequest ¶

type GetUsersBadRequest struct {
}
GetUsersBadRequest describes a response with status code 400, 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 GetUsersCurrentOK ¶

type GetUsersCurrentOK struct {
	Payload *legacy.User
}
GetUsersCurrentOK describes a response with status code 200, with default header values.

Get current user information successfully.

func NewGetUsersCurrentOK ¶

func NewGetUsersCurrentOK() *GetUsersCurrentOK

NewGetUsersCurrentOK creates a GetUsersCurrentOK with default headers values

func (*GetUsersCurrentOK) Error ¶

func (o *GetUsersCurrentOK) Error() string

func (*GetUsersCurrentOK) GetPayload ¶

func (o *GetUsersCurrentOK) GetPayload() *legacy.User

type GetUsersCurrentParams ¶

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

GetUsersCurrentParams contains all the parameters to send to the API endpoint

for the get users current operation.

Typically these are written to a http.Request.

func NewGetUsersCurrentParams ¶

func NewGetUsersCurrentParams() *GetUsersCurrentParams

NewGetUsersCurrentParams creates a new GetUsersCurrentParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetUsersCurrentParamsWithContext ¶

func NewGetUsersCurrentParamsWithContext(ctx context.Context) *GetUsersCurrentParams

NewGetUsersCurrentParamsWithContext creates a new GetUsersCurrentParams object with the ability to set a context for a request.

func NewGetUsersCurrentParamsWithHTTPClient ¶

func NewGetUsersCurrentParamsWithHTTPClient(client *http.Client) *GetUsersCurrentParams

NewGetUsersCurrentParamsWithHTTPClient creates a new GetUsersCurrentParams object with the ability to set a custom HTTPClient for a request.

func NewGetUsersCurrentParamsWithTimeout ¶

func NewGetUsersCurrentParamsWithTimeout(timeout time.Duration) *GetUsersCurrentParams

NewGetUsersCurrentParamsWithTimeout creates a new GetUsersCurrentParams object with the ability to set a timeout on a request.

func (*GetUsersCurrentParams) SetContext ¶

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

SetContext adds the context to the get users current params

func (*GetUsersCurrentParams) SetDefaults ¶

func (o *GetUsersCurrentParams) SetDefaults()

SetDefaults hydrates default values in the get users current params (not the query body).

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

func (*GetUsersCurrentParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get users current params

func (*GetUsersCurrentParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get users current params

func (*GetUsersCurrentParams) WithContext ¶

WithContext adds the context to the get users current params

func (*GetUsersCurrentParams) WithDefaults ¶

func (o *GetUsersCurrentParams) WithDefaults() *GetUsersCurrentParams

WithDefaults hydrates default values in the get users current params (not the query body).

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

func (*GetUsersCurrentParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get users current params

func (*GetUsersCurrentParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get users current params

func (*GetUsersCurrentParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetUsersCurrentPermissionsInternalServerError ¶

type GetUsersCurrentPermissionsInternalServerError struct {
}
GetUsersCurrentPermissionsInternalServerError describes a response with status code 500, with default header values.

Internal errors.

func NewGetUsersCurrentPermissionsInternalServerError ¶

func NewGetUsersCurrentPermissionsInternalServerError() *GetUsersCurrentPermissionsInternalServerError

NewGetUsersCurrentPermissionsInternalServerError creates a GetUsersCurrentPermissionsInternalServerError with default headers values

func (*GetUsersCurrentPermissionsInternalServerError) Error ¶

type GetUsersCurrentPermissionsOK ¶

type GetUsersCurrentPermissionsOK struct {
	Payload []*legacy.Permission
}
GetUsersCurrentPermissionsOK describes a response with status code 200, with default header values.

Get current user permission successfully.

func NewGetUsersCurrentPermissionsOK ¶

func NewGetUsersCurrentPermissionsOK() *GetUsersCurrentPermissionsOK

NewGetUsersCurrentPermissionsOK creates a GetUsersCurrentPermissionsOK with default headers values

func (*GetUsersCurrentPermissionsOK) Error ¶

func (*GetUsersCurrentPermissionsOK) GetPayload ¶

func (o *GetUsersCurrentPermissionsOK) GetPayload() []*legacy.Permission

type GetUsersCurrentPermissionsParams ¶

type GetUsersCurrentPermissionsParams struct {

	/* Relative.

	     If true, the resources in the response are relative to the scope,
	eg for resource '/project/1/repository' if relative is 'true' then the resource in response will be 'repository'.

	*/
	Relative *bool

	/* Scope.

	   Get permissions of the scope
	*/
	Scope *string

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

GetUsersCurrentPermissionsParams contains all the parameters to send to the API endpoint

for the get users current permissions operation.

Typically these are written to a http.Request.

func NewGetUsersCurrentPermissionsParams ¶

func NewGetUsersCurrentPermissionsParams() *GetUsersCurrentPermissionsParams

NewGetUsersCurrentPermissionsParams creates a new GetUsersCurrentPermissionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetUsersCurrentPermissionsParamsWithContext ¶

func NewGetUsersCurrentPermissionsParamsWithContext(ctx context.Context) *GetUsersCurrentPermissionsParams

NewGetUsersCurrentPermissionsParamsWithContext creates a new GetUsersCurrentPermissionsParams object with the ability to set a context for a request.

func NewGetUsersCurrentPermissionsParamsWithHTTPClient ¶

func NewGetUsersCurrentPermissionsParamsWithHTTPClient(client *http.Client) *GetUsersCurrentPermissionsParams

NewGetUsersCurrentPermissionsParamsWithHTTPClient creates a new GetUsersCurrentPermissionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetUsersCurrentPermissionsParamsWithTimeout ¶

func NewGetUsersCurrentPermissionsParamsWithTimeout(timeout time.Duration) *GetUsersCurrentPermissionsParams

NewGetUsersCurrentPermissionsParamsWithTimeout creates a new GetUsersCurrentPermissionsParams object with the ability to set a timeout on a request.

func (*GetUsersCurrentPermissionsParams) SetContext ¶

SetContext adds the context to the get users current permissions params

func (*GetUsersCurrentPermissionsParams) SetDefaults ¶

func (o *GetUsersCurrentPermissionsParams) SetDefaults()

SetDefaults hydrates default values in the get users current permissions params (not the query body).

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

func (*GetUsersCurrentPermissionsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get users current permissions params

func (*GetUsersCurrentPermissionsParams) SetRelative ¶

func (o *GetUsersCurrentPermissionsParams) SetRelative(relative *bool)

SetRelative adds the relative to the get users current permissions params

func (*GetUsersCurrentPermissionsParams) SetScope ¶

func (o *GetUsersCurrentPermissionsParams) SetScope(scope *string)

SetScope adds the scope to the get users current permissions params

func (*GetUsersCurrentPermissionsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get users current permissions params

func (*GetUsersCurrentPermissionsParams) WithContext ¶

WithContext adds the context to the get users current permissions params

func (*GetUsersCurrentPermissionsParams) WithDefaults ¶

WithDefaults hydrates default values in the get users current permissions params (not the query body).

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

func (*GetUsersCurrentPermissionsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get users current permissions params

func (*GetUsersCurrentPermissionsParams) WithRelative ¶

WithRelative adds the relative to the get users current permissions params

func (*GetUsersCurrentPermissionsParams) WithScope ¶

WithScope adds the scope to the get users current permissions params

func (*GetUsersCurrentPermissionsParams) WithTimeout ¶

WithTimeout adds the timeout to the get users current permissions params

func (*GetUsersCurrentPermissionsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetUsersCurrentPermissionsReader ¶

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

GetUsersCurrentPermissionsReader is a Reader for the GetUsersCurrentPermissions structure.

func (*GetUsersCurrentPermissionsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetUsersCurrentPermissionsUnauthorized ¶

type GetUsersCurrentPermissionsUnauthorized struct {
}
GetUsersCurrentPermissionsUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetUsersCurrentPermissionsUnauthorized ¶

func NewGetUsersCurrentPermissionsUnauthorized() *GetUsersCurrentPermissionsUnauthorized

NewGetUsersCurrentPermissionsUnauthorized creates a GetUsersCurrentPermissionsUnauthorized with default headers values

func (*GetUsersCurrentPermissionsUnauthorized) Error ¶

type GetUsersCurrentReader ¶

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

GetUsersCurrentReader is a Reader for the GetUsersCurrent structure.

func (*GetUsersCurrentReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetUsersCurrentUnauthorized ¶

type GetUsersCurrentUnauthorized struct {
}
GetUsersCurrentUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetUsersCurrentUnauthorized ¶

func NewGetUsersCurrentUnauthorized() *GetUsersCurrentUnauthorized

NewGetUsersCurrentUnauthorized creates a GetUsersCurrentUnauthorized with default headers values

func (*GetUsersCurrentUnauthorized) Error ¶

type GetUsersForbidden ¶

type GetUsersForbidden struct {
}
GetUsersForbidden describes a response with status code 403, 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 describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetUsersInternalServerError ¶

func NewGetUsersInternalServerError() *GetUsersInternalServerError

NewGetUsersInternalServerError creates a GetUsersInternalServerError with default headers values

func (*GetUsersInternalServerError) Error ¶

type GetUsersOK ¶

type GetUsersOK struct {
	Payload []*legacy.User
}
GetUsersOK describes a response with status code 200, 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() []*legacy.User

type GetUsersParams ¶

type GetUsersParams struct {

	/* Email.

	   Email for filtering results.
	*/
	Email *string

	/* Page.

	   The page number, default is 1.

	   Format: int32
	*/
	Page *int32

	/* PageSize.

	   The size of per page.

	   Format: int32
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetUsersParamsWithContext ¶

func NewGetUsersParamsWithContext(ctx context.Context) *GetUsersParams

NewGetUsersParamsWithContext creates a new GetUsersParams object with 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 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 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) SetDefaults ¶

func (o *GetUsersParams) SetDefaults()

SetDefaults hydrates default values in the get users params (not the query body).

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

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) WithDefaults ¶

func (o *GetUsersParams) WithDefaults() *GetUsersParams

WithDefaults hydrates default values in the get users params (not the query body).

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

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 GetUsersSearchInternalServerError ¶

type GetUsersSearchInternalServerError struct {
}
GetUsersSearchInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetUsersSearchInternalServerError ¶

func NewGetUsersSearchInternalServerError() *GetUsersSearchInternalServerError

NewGetUsersSearchInternalServerError creates a GetUsersSearchInternalServerError with default headers values

func (*GetUsersSearchInternalServerError) Error ¶

type GetUsersSearchOK ¶

type GetUsersSearchOK struct {
	Payload []*legacy.UserSearch
}
GetUsersSearchOK describes a response with status code 200, with default header values.

Search users by username, email successfully.

func NewGetUsersSearchOK ¶

func NewGetUsersSearchOK() *GetUsersSearchOK

NewGetUsersSearchOK creates a GetUsersSearchOK with default headers values

func (*GetUsersSearchOK) Error ¶

func (o *GetUsersSearchOK) Error() string

func (*GetUsersSearchOK) GetPayload ¶

func (o *GetUsersSearchOK) GetPayload() []*legacy.UserSearch

type GetUsersSearchParams ¶

type GetUsersSearchParams struct {

	/* Page.

	   The page number, default is 1.

	   Format: int32
	*/
	Page *int32

	/* PageSize.

	   The size of per page.

	   Format: int32
	*/
	PageSize *int32

	/* Username.

	   Username for filtering results.
	*/
	Username string

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

GetUsersSearchParams contains all the parameters to send to the API endpoint

for the get users search operation.

Typically these are written to a http.Request.

func NewGetUsersSearchParams ¶

func NewGetUsersSearchParams() *GetUsersSearchParams

NewGetUsersSearchParams creates a new GetUsersSearchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetUsersSearchParamsWithContext ¶

func NewGetUsersSearchParamsWithContext(ctx context.Context) *GetUsersSearchParams

NewGetUsersSearchParamsWithContext creates a new GetUsersSearchParams object with the ability to set a context for a request.

func NewGetUsersSearchParamsWithHTTPClient ¶

func NewGetUsersSearchParamsWithHTTPClient(client *http.Client) *GetUsersSearchParams

NewGetUsersSearchParamsWithHTTPClient creates a new GetUsersSearchParams object with the ability to set a custom HTTPClient for a request.

func NewGetUsersSearchParamsWithTimeout ¶

func NewGetUsersSearchParamsWithTimeout(timeout time.Duration) *GetUsersSearchParams

NewGetUsersSearchParamsWithTimeout creates a new GetUsersSearchParams object with the ability to set a timeout on a request.

func (*GetUsersSearchParams) SetContext ¶

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

SetContext adds the context to the get users search params

func (*GetUsersSearchParams) SetDefaults ¶

func (o *GetUsersSearchParams) SetDefaults()

SetDefaults hydrates default values in the get users search params (not the query body).

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

func (*GetUsersSearchParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get users search params

func (*GetUsersSearchParams) SetPage ¶

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

SetPage adds the page to the get users search params

func (*GetUsersSearchParams) SetPageSize ¶

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

SetPageSize adds the pageSize to the get users search params

func (*GetUsersSearchParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get users search params

func (*GetUsersSearchParams) SetUsername ¶

func (o *GetUsersSearchParams) SetUsername(username string)

SetUsername adds the username to the get users search params

func (*GetUsersSearchParams) WithContext ¶

WithContext adds the context to the get users search params

func (*GetUsersSearchParams) WithDefaults ¶

func (o *GetUsersSearchParams) WithDefaults() *GetUsersSearchParams

WithDefaults hydrates default values in the get users search params (not the query body).

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

func (*GetUsersSearchParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get users search params

func (*GetUsersSearchParams) WithPage ¶

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

WithPage adds the page to the get users search params

func (*GetUsersSearchParams) WithPageSize ¶

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

WithPageSize adds the pageSize to the get users search params

func (*GetUsersSearchParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get users search params

func (*GetUsersSearchParams) WithUsername ¶

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

WithUsername adds the username to the get users search params

func (*GetUsersSearchParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetUsersSearchReader ¶

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

GetUsersSearchReader is a Reader for the GetUsersSearch structure.

func (*GetUsersSearchReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetUsersUnauthorized ¶

type GetUsersUnauthorized struct {
}
GetUsersUnauthorized describes a response with status code 401, 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 GetUsersUserIDBadRequest ¶

type GetUsersUserIDBadRequest struct {
}
GetUsersUserIDBadRequest describes a response with status code 400, with default header values.

Invalid user ID.

func NewGetUsersUserIDBadRequest ¶

func NewGetUsersUserIDBadRequest() *GetUsersUserIDBadRequest

NewGetUsersUserIDBadRequest creates a GetUsersUserIDBadRequest with default headers values

func (*GetUsersUserIDBadRequest) Error ¶

func (o *GetUsersUserIDBadRequest) Error() string

type GetUsersUserIDForbidden ¶

type GetUsersUserIDForbidden struct {
}
GetUsersUserIDForbidden describes a response with status code 403, with default header values.

User does not have permission of admin role.

func NewGetUsersUserIDForbidden ¶

func NewGetUsersUserIDForbidden() *GetUsersUserIDForbidden

NewGetUsersUserIDForbidden creates a GetUsersUserIDForbidden with default headers values

func (*GetUsersUserIDForbidden) Error ¶

func (o *GetUsersUserIDForbidden) Error() string

type GetUsersUserIDInternalServerError ¶

type GetUsersUserIDInternalServerError struct {
}
GetUsersUserIDInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewGetUsersUserIDInternalServerError ¶

func NewGetUsersUserIDInternalServerError() *GetUsersUserIDInternalServerError

NewGetUsersUserIDInternalServerError creates a GetUsersUserIDInternalServerError with default headers values

func (*GetUsersUserIDInternalServerError) Error ¶

type GetUsersUserIDNotFound ¶

type GetUsersUserIDNotFound struct {
}
GetUsersUserIDNotFound describes a response with status code 404, with default header values.

User ID does not exist.

func NewGetUsersUserIDNotFound ¶

func NewGetUsersUserIDNotFound() *GetUsersUserIDNotFound

NewGetUsersUserIDNotFound creates a GetUsersUserIDNotFound with default headers values

func (*GetUsersUserIDNotFound) Error ¶

func (o *GetUsersUserIDNotFound) Error() string

type GetUsersUserIDOK ¶

type GetUsersUserIDOK struct {
	Payload *legacy.User
}
GetUsersUserIDOK describes a response with status code 200, with default header values.

Get user's profile successfully.

func NewGetUsersUserIDOK ¶

func NewGetUsersUserIDOK() *GetUsersUserIDOK

NewGetUsersUserIDOK creates a GetUsersUserIDOK with default headers values

func (*GetUsersUserIDOK) Error ¶

func (o *GetUsersUserIDOK) Error() string

func (*GetUsersUserIDOK) GetPayload ¶

func (o *GetUsersUserIDOK) GetPayload() *legacy.User

type GetUsersUserIDParams ¶

type GetUsersUserIDParams struct {

	/* UserID.

	   Registered user ID

	   Format: int
	*/
	UserID int64

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

GetUsersUserIDParams contains all the parameters to send to the API endpoint

for the get users user ID operation.

Typically these are written to a http.Request.

func NewGetUsersUserIDParams ¶

func NewGetUsersUserIDParams() *GetUsersUserIDParams

NewGetUsersUserIDParams creates a new GetUsersUserIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetUsersUserIDParamsWithContext ¶

func NewGetUsersUserIDParamsWithContext(ctx context.Context) *GetUsersUserIDParams

NewGetUsersUserIDParamsWithContext creates a new GetUsersUserIDParams object with the ability to set a context for a request.

func NewGetUsersUserIDParamsWithHTTPClient ¶

func NewGetUsersUserIDParamsWithHTTPClient(client *http.Client) *GetUsersUserIDParams

NewGetUsersUserIDParamsWithHTTPClient creates a new GetUsersUserIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetUsersUserIDParamsWithTimeout ¶

func NewGetUsersUserIDParamsWithTimeout(timeout time.Duration) *GetUsersUserIDParams

NewGetUsersUserIDParamsWithTimeout creates a new GetUsersUserIDParams object with the ability to set a timeout on a request.

func (*GetUsersUserIDParams) SetContext ¶

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

SetContext adds the context to the get users user ID params

func (*GetUsersUserIDParams) SetDefaults ¶

func (o *GetUsersUserIDParams) SetDefaults()

SetDefaults hydrates default values in the get users user ID params (not the query body).

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

func (*GetUsersUserIDParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get users user ID params

func (*GetUsersUserIDParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get users user ID params

func (*GetUsersUserIDParams) SetUserID ¶

func (o *GetUsersUserIDParams) SetUserID(userID int64)

SetUserID adds the userId to the get users user ID params

func (*GetUsersUserIDParams) WithContext ¶

WithContext adds the context to the get users user ID params

func (*GetUsersUserIDParams) WithDefaults ¶

func (o *GetUsersUserIDParams) WithDefaults() *GetUsersUserIDParams

WithDefaults hydrates default values in the get users user ID params (not the query body).

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

func (*GetUsersUserIDParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get users user ID params

func (*GetUsersUserIDParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get users user ID params

func (*GetUsersUserIDParams) WithUserID ¶

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

WithUserID adds the userID to the get users user ID params

func (*GetUsersUserIDParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetUsersUserIDReader ¶

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

GetUsersUserIDReader is a Reader for the GetUsersUserID structure.

func (*GetUsersUserIDReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetUsersUserIDUnauthorized ¶

type GetUsersUserIDUnauthorized struct {
}
GetUsersUserIDUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewGetUsersUserIDUnauthorized ¶

func NewGetUsersUserIDUnauthorized() *GetUsersUserIDUnauthorized

NewGetUsersUserIDUnauthorized creates a GetUsersUserIDUnauthorized with default headers values

func (*GetUsersUserIDUnauthorized) Error ¶

type PatchRetentionsIDExecutionsEidBody ¶

type PatchRetentionsIDExecutionsEidBody struct {

	// action
	Action string `json:"action,omitempty"`
}

PatchRetentionsIDExecutionsEidBody patch retentions ID executions eid body swagger:model PatchRetentionsIDExecutionsEidBody

func (*PatchRetentionsIDExecutionsEidBody) ContextValidate ¶

func (o *PatchRetentionsIDExecutionsEidBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this patch retentions ID executions eid body based on context it is used

func (*PatchRetentionsIDExecutionsEidBody) MarshalBinary ¶

func (o *PatchRetentionsIDExecutionsEidBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PatchRetentionsIDExecutionsEidBody) UnmarshalBinary ¶

func (o *PatchRetentionsIDExecutionsEidBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PatchRetentionsIDExecutionsEidBody) Validate ¶

Validate validates this patch retentions ID executions eid body

type PatchRetentionsIDExecutionsEidForbidden ¶

type PatchRetentionsIDExecutionsEidForbidden struct {
}
PatchRetentionsIDExecutionsEidForbidden describes a response with status code 403, with default header values.

User have no permission.

func NewPatchRetentionsIDExecutionsEidForbidden ¶

func NewPatchRetentionsIDExecutionsEidForbidden() *PatchRetentionsIDExecutionsEidForbidden

NewPatchRetentionsIDExecutionsEidForbidden creates a PatchRetentionsIDExecutionsEidForbidden with default headers values

func (*PatchRetentionsIDExecutionsEidForbidden) Error ¶

type PatchRetentionsIDExecutionsEidInternalServerError ¶

type PatchRetentionsIDExecutionsEidInternalServerError struct {
}
PatchRetentionsIDExecutionsEidInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPatchRetentionsIDExecutionsEidInternalServerError ¶

func NewPatchRetentionsIDExecutionsEidInternalServerError() *PatchRetentionsIDExecutionsEidInternalServerError

NewPatchRetentionsIDExecutionsEidInternalServerError creates a PatchRetentionsIDExecutionsEidInternalServerError with default headers values

func (*PatchRetentionsIDExecutionsEidInternalServerError) Error ¶

type PatchRetentionsIDExecutionsEidOK ¶

type PatchRetentionsIDExecutionsEidOK struct {
}
PatchRetentionsIDExecutionsEidOK describes a response with status code 200, with default header values.

Stop a Retention job successfully.

func NewPatchRetentionsIDExecutionsEidOK ¶

func NewPatchRetentionsIDExecutionsEidOK() *PatchRetentionsIDExecutionsEidOK

NewPatchRetentionsIDExecutionsEidOK creates a PatchRetentionsIDExecutionsEidOK with default headers values

func (*PatchRetentionsIDExecutionsEidOK) Error ¶

type PatchRetentionsIDExecutionsEidParams ¶

type PatchRetentionsIDExecutionsEidParams struct {

	/* Action.

	   The action, only support "stop" now.
	*/
	Action PatchRetentionsIDExecutionsEidBody

	/* Eid.

	   Retention execution ID.

	   Format: int64
	*/
	Eid int64

	/* ID.

	   Retention ID.

	   Format: int64
	*/
	ID int64

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

PatchRetentionsIDExecutionsEidParams contains all the parameters to send to the API endpoint

for the patch retentions ID executions eid operation.

Typically these are written to a http.Request.

func NewPatchRetentionsIDExecutionsEidParams ¶

func NewPatchRetentionsIDExecutionsEidParams() *PatchRetentionsIDExecutionsEidParams

NewPatchRetentionsIDExecutionsEidParams creates a new PatchRetentionsIDExecutionsEidParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchRetentionsIDExecutionsEidParamsWithContext ¶

func NewPatchRetentionsIDExecutionsEidParamsWithContext(ctx context.Context) *PatchRetentionsIDExecutionsEidParams

NewPatchRetentionsIDExecutionsEidParamsWithContext creates a new PatchRetentionsIDExecutionsEidParams object with the ability to set a context for a request.

func NewPatchRetentionsIDExecutionsEidParamsWithHTTPClient ¶

func NewPatchRetentionsIDExecutionsEidParamsWithHTTPClient(client *http.Client) *PatchRetentionsIDExecutionsEidParams

NewPatchRetentionsIDExecutionsEidParamsWithHTTPClient creates a new PatchRetentionsIDExecutionsEidParams object with the ability to set a custom HTTPClient for a request.

func NewPatchRetentionsIDExecutionsEidParamsWithTimeout ¶

func NewPatchRetentionsIDExecutionsEidParamsWithTimeout(timeout time.Duration) *PatchRetentionsIDExecutionsEidParams

NewPatchRetentionsIDExecutionsEidParamsWithTimeout creates a new PatchRetentionsIDExecutionsEidParams object with the ability to set a timeout on a request.

func (*PatchRetentionsIDExecutionsEidParams) SetAction ¶

SetAction adds the action to the patch retentions ID executions eid params

func (*PatchRetentionsIDExecutionsEidParams) SetContext ¶

SetContext adds the context to the patch retentions ID executions eid params

func (*PatchRetentionsIDExecutionsEidParams) SetDefaults ¶

func (o *PatchRetentionsIDExecutionsEidParams) SetDefaults()

SetDefaults hydrates default values in the patch retentions ID executions eid params (not the query body).

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

func (*PatchRetentionsIDExecutionsEidParams) SetEid ¶

SetEid adds the eid to the patch retentions ID executions eid params

func (*PatchRetentionsIDExecutionsEidParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the patch retentions ID executions eid params

func (*PatchRetentionsIDExecutionsEidParams) SetID ¶

SetID adds the id to the patch retentions ID executions eid params

func (*PatchRetentionsIDExecutionsEidParams) SetTimeout ¶

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

SetTimeout adds the timeout to the patch retentions ID executions eid params

func (*PatchRetentionsIDExecutionsEidParams) WithAction ¶

WithAction adds the action to the patch retentions ID executions eid params

func (*PatchRetentionsIDExecutionsEidParams) WithContext ¶

WithContext adds the context to the patch retentions ID executions eid params

func (*PatchRetentionsIDExecutionsEidParams) WithDefaults ¶

WithDefaults hydrates default values in the patch retentions ID executions eid params (not the query body).

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

func (*PatchRetentionsIDExecutionsEidParams) WithEid ¶

WithEid adds the eid to the patch retentions ID executions eid params

func (*PatchRetentionsIDExecutionsEidParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the patch retentions ID executions eid params

func (*PatchRetentionsIDExecutionsEidParams) WithID ¶

WithID adds the id to the patch retentions ID executions eid params

func (*PatchRetentionsIDExecutionsEidParams) WithTimeout ¶

WithTimeout adds the timeout to the patch retentions ID executions eid params

func (*PatchRetentionsIDExecutionsEidParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PatchRetentionsIDExecutionsEidReader ¶

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

PatchRetentionsIDExecutionsEidReader is a Reader for the PatchRetentionsIDExecutionsEid structure.

func (*PatchRetentionsIDExecutionsEidReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type PatchRetentionsIDExecutionsEidUnauthorized ¶

type PatchRetentionsIDExecutionsEidUnauthorized struct {
}
PatchRetentionsIDExecutionsEidUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPatchRetentionsIDExecutionsEidUnauthorized ¶

func NewPatchRetentionsIDExecutionsEidUnauthorized() *PatchRetentionsIDExecutionsEidUnauthorized

NewPatchRetentionsIDExecutionsEidUnauthorized creates a PatchRetentionsIDExecutionsEidUnauthorized with default headers values

func (*PatchRetentionsIDExecutionsEidUnauthorized) Error ¶

type PostChartrepoRepoChartsNameVersionLabelsBadRequest ¶

type PostChartrepoRepoChartsNameVersionLabelsBadRequest struct {
}
PostChartrepoRepoChartsNameVersionLabelsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewPostChartrepoRepoChartsNameVersionLabelsBadRequest ¶

func NewPostChartrepoRepoChartsNameVersionLabelsBadRequest() *PostChartrepoRepoChartsNameVersionLabelsBadRequest

NewPostChartrepoRepoChartsNameVersionLabelsBadRequest creates a PostChartrepoRepoChartsNameVersionLabelsBadRequest with default headers values

func (*PostChartrepoRepoChartsNameVersionLabelsBadRequest) Error ¶

type PostChartrepoRepoChartsNameVersionLabelsConflict ¶

type PostChartrepoRepoChartsNameVersionLabelsConflict struct {
}
PostChartrepoRepoChartsNameVersionLabelsConflict describes a response with status code 409, with default header values.

Conflicts

func NewPostChartrepoRepoChartsNameVersionLabelsConflict ¶

func NewPostChartrepoRepoChartsNameVersionLabelsConflict() *PostChartrepoRepoChartsNameVersionLabelsConflict

NewPostChartrepoRepoChartsNameVersionLabelsConflict creates a PostChartrepoRepoChartsNameVersionLabelsConflict with default headers values

func (*PostChartrepoRepoChartsNameVersionLabelsConflict) Error ¶

type PostChartrepoRepoChartsNameVersionLabelsForbidden ¶

type PostChartrepoRepoChartsNameVersionLabelsForbidden struct {
}
PostChartrepoRepoChartsNameVersionLabelsForbidden describes a response with status code 403, with default header values.

Operation is forbidden or quota exceeded

func NewPostChartrepoRepoChartsNameVersionLabelsForbidden ¶

func NewPostChartrepoRepoChartsNameVersionLabelsForbidden() *PostChartrepoRepoChartsNameVersionLabelsForbidden

NewPostChartrepoRepoChartsNameVersionLabelsForbidden creates a PostChartrepoRepoChartsNameVersionLabelsForbidden with default headers values

func (*PostChartrepoRepoChartsNameVersionLabelsForbidden) Error ¶

type PostChartrepoRepoChartsNameVersionLabelsInternalServerError ¶

type PostChartrepoRepoChartsNameVersionLabelsInternalServerError struct {
}
PostChartrepoRepoChartsNameVersionLabelsInternalServerError describes a response with status code 500, with default header values.

Internal server error occurred

func NewPostChartrepoRepoChartsNameVersionLabelsInternalServerError ¶

func NewPostChartrepoRepoChartsNameVersionLabelsInternalServerError() *PostChartrepoRepoChartsNameVersionLabelsInternalServerError

NewPostChartrepoRepoChartsNameVersionLabelsInternalServerError creates a PostChartrepoRepoChartsNameVersionLabelsInternalServerError with default headers values

func (*PostChartrepoRepoChartsNameVersionLabelsInternalServerError) Error ¶

type PostChartrepoRepoChartsNameVersionLabelsNotFound ¶

type PostChartrepoRepoChartsNameVersionLabelsNotFound struct {
}
PostChartrepoRepoChartsNameVersionLabelsNotFound describes a response with status code 404, with default header values.

Not found

func NewPostChartrepoRepoChartsNameVersionLabelsNotFound ¶

func NewPostChartrepoRepoChartsNameVersionLabelsNotFound() *PostChartrepoRepoChartsNameVersionLabelsNotFound

NewPostChartrepoRepoChartsNameVersionLabelsNotFound creates a PostChartrepoRepoChartsNameVersionLabelsNotFound with default headers values

func (*PostChartrepoRepoChartsNameVersionLabelsNotFound) Error ¶

type PostChartrepoRepoChartsNameVersionLabelsOK ¶

type PostChartrepoRepoChartsNameVersionLabelsOK struct {
}
PostChartrepoRepoChartsNameVersionLabelsOK describes a response with status code 200, with default header values.

The label is successfully marked to the chart version.

func NewPostChartrepoRepoChartsNameVersionLabelsOK ¶

func NewPostChartrepoRepoChartsNameVersionLabelsOK() *PostChartrepoRepoChartsNameVersionLabelsOK

NewPostChartrepoRepoChartsNameVersionLabelsOK creates a PostChartrepoRepoChartsNameVersionLabelsOK with default headers values

func (*PostChartrepoRepoChartsNameVersionLabelsOK) Error ¶

type PostChartrepoRepoChartsNameVersionLabelsParams ¶

type PostChartrepoRepoChartsNameVersionLabelsParams struct {

	/* Label.

	   The label being marked to the chart version
	*/
	Label *legacy.Label

	/* Name.

	   The chart name
	*/
	Name string

	/* Repo.

	   The project name
	*/
	Repo string

	/* Version.

	   The chart version
	*/
	Version string

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

PostChartrepoRepoChartsNameVersionLabelsParams contains all the parameters to send to the API endpoint

for the post chartrepo repo charts name version labels operation.

Typically these are written to a http.Request.

func NewPostChartrepoRepoChartsNameVersionLabelsParams ¶

func NewPostChartrepoRepoChartsNameVersionLabelsParams() *PostChartrepoRepoChartsNameVersionLabelsParams

NewPostChartrepoRepoChartsNameVersionLabelsParams creates a new PostChartrepoRepoChartsNameVersionLabelsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostChartrepoRepoChartsNameVersionLabelsParamsWithContext ¶

func NewPostChartrepoRepoChartsNameVersionLabelsParamsWithContext(ctx context.Context) *PostChartrepoRepoChartsNameVersionLabelsParams

NewPostChartrepoRepoChartsNameVersionLabelsParamsWithContext creates a new PostChartrepoRepoChartsNameVersionLabelsParams object with the ability to set a context for a request.

func NewPostChartrepoRepoChartsNameVersionLabelsParamsWithHTTPClient ¶

func NewPostChartrepoRepoChartsNameVersionLabelsParamsWithHTTPClient(client *http.Client) *PostChartrepoRepoChartsNameVersionLabelsParams

NewPostChartrepoRepoChartsNameVersionLabelsParamsWithHTTPClient creates a new PostChartrepoRepoChartsNameVersionLabelsParams object with the ability to set a custom HTTPClient for a request.

func NewPostChartrepoRepoChartsNameVersionLabelsParamsWithTimeout ¶

func NewPostChartrepoRepoChartsNameVersionLabelsParamsWithTimeout(timeout time.Duration) *PostChartrepoRepoChartsNameVersionLabelsParams

NewPostChartrepoRepoChartsNameVersionLabelsParamsWithTimeout creates a new PostChartrepoRepoChartsNameVersionLabelsParams object with the ability to set a timeout on a request.

func (*PostChartrepoRepoChartsNameVersionLabelsParams) SetContext ¶

SetContext adds the context to the post chartrepo repo charts name version labels params

func (*PostChartrepoRepoChartsNameVersionLabelsParams) SetDefaults ¶

SetDefaults hydrates default values in the post chartrepo repo charts name version labels params (not the query body).

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

func (*PostChartrepoRepoChartsNameVersionLabelsParams) SetHTTPClient ¶

SetHTTPClient adds the HTTPClient to the post chartrepo repo charts name version labels params

func (*PostChartrepoRepoChartsNameVersionLabelsParams) SetLabel ¶

SetLabel adds the label to the post chartrepo repo charts name version labels params

func (*PostChartrepoRepoChartsNameVersionLabelsParams) SetName ¶

SetName adds the name to the post chartrepo repo charts name version labels params

func (*PostChartrepoRepoChartsNameVersionLabelsParams) SetRepo ¶

SetRepo adds the repo to the post chartrepo repo charts name version labels params

func (*PostChartrepoRepoChartsNameVersionLabelsParams) SetTimeout ¶

SetTimeout adds the timeout to the post chartrepo repo charts name version labels params

func (*PostChartrepoRepoChartsNameVersionLabelsParams) SetVersion ¶

SetVersion adds the version to the post chartrepo repo charts name version labels params

func (*PostChartrepoRepoChartsNameVersionLabelsParams) WithContext ¶

WithContext adds the context to the post chartrepo repo charts name version labels params

func (*PostChartrepoRepoChartsNameVersionLabelsParams) WithDefaults ¶

WithDefaults hydrates default values in the post chartrepo repo charts name version labels params (not the query body).

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

func (*PostChartrepoRepoChartsNameVersionLabelsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the post chartrepo repo charts name version labels params

func (*PostChartrepoRepoChartsNameVersionLabelsParams) WithLabel ¶

WithLabel adds the label to the post chartrepo repo charts name version labels params

func (*PostChartrepoRepoChartsNameVersionLabelsParams) WithName ¶

WithName adds the name to the post chartrepo repo charts name version labels params

func (*PostChartrepoRepoChartsNameVersionLabelsParams) WithRepo ¶

WithRepo adds the repo to the post chartrepo repo charts name version labels params

func (*PostChartrepoRepoChartsNameVersionLabelsParams) WithTimeout ¶

WithTimeout adds the timeout to the post chartrepo repo charts name version labels params

func (*PostChartrepoRepoChartsNameVersionLabelsParams) WithVersion ¶

WithVersion adds the version to the post chartrepo repo charts name version labels params

func (*PostChartrepoRepoChartsNameVersionLabelsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PostChartrepoRepoChartsNameVersionLabelsReader ¶

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

PostChartrepoRepoChartsNameVersionLabelsReader is a Reader for the PostChartrepoRepoChartsNameVersionLabels structure.

func (*PostChartrepoRepoChartsNameVersionLabelsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type PostChartrepoRepoChartsNameVersionLabelsUnauthorized ¶

type PostChartrepoRepoChartsNameVersionLabelsUnauthorized struct {
}
PostChartrepoRepoChartsNameVersionLabelsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostChartrepoRepoChartsNameVersionLabelsUnauthorized ¶

func NewPostChartrepoRepoChartsNameVersionLabelsUnauthorized() *PostChartrepoRepoChartsNameVersionLabelsUnauthorized

NewPostChartrepoRepoChartsNameVersionLabelsUnauthorized creates a PostChartrepoRepoChartsNameVersionLabelsUnauthorized with default headers values

func (*PostChartrepoRepoChartsNameVersionLabelsUnauthorized) Error ¶

type PostEmailPingBadRequest ¶

type PostEmailPingBadRequest struct {
}
PostEmailPingBadRequest describes a response with status code 400, with default header values.

Inviald email server settings.

func NewPostEmailPingBadRequest ¶

func NewPostEmailPingBadRequest() *PostEmailPingBadRequest

NewPostEmailPingBadRequest creates a PostEmailPingBadRequest with default headers values

func (*PostEmailPingBadRequest) Error ¶

func (o *PostEmailPingBadRequest) Error() string

type PostEmailPingForbidden ¶

type PostEmailPingForbidden struct {
}
PostEmailPingForbidden describes a response with status code 403, with default header values.

Only admin has this authority.

func NewPostEmailPingForbidden ¶

func NewPostEmailPingForbidden() *PostEmailPingForbidden

NewPostEmailPingForbidden creates a PostEmailPingForbidden with default headers values

func (*PostEmailPingForbidden) Error ¶

func (o *PostEmailPingForbidden) Error() string

type PostEmailPingInternalServerError ¶

type PostEmailPingInternalServerError struct {
}
PostEmailPingInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPostEmailPingInternalServerError ¶

func NewPostEmailPingInternalServerError() *PostEmailPingInternalServerError

NewPostEmailPingInternalServerError creates a PostEmailPingInternalServerError with default headers values

func (*PostEmailPingInternalServerError) Error ¶

type PostEmailPingOK ¶

type PostEmailPingOK struct {
}
PostEmailPingOK describes a response with status code 200, with default header values.

Ping email server successfully.

func NewPostEmailPingOK ¶

func NewPostEmailPingOK() *PostEmailPingOK

NewPostEmailPingOK creates a PostEmailPingOK with default headers values

func (*PostEmailPingOK) Error ¶

func (o *PostEmailPingOK) Error() string

type PostEmailPingParams ¶

type PostEmailPingParams struct {

	/* Settings.

	   Email server settings, if some of the settings are not assigned, they will be read from system configuration.
	*/
	Settings *legacy.EmailServerSetting

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

PostEmailPingParams contains all the parameters to send to the API endpoint

for the post email ping operation.

Typically these are written to a http.Request.

func NewPostEmailPingParams ¶

func NewPostEmailPingParams() *PostEmailPingParams

NewPostEmailPingParams creates a new PostEmailPingParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostEmailPingParamsWithContext ¶

func NewPostEmailPingParamsWithContext(ctx context.Context) *PostEmailPingParams

NewPostEmailPingParamsWithContext creates a new PostEmailPingParams object with the ability to set a context for a request.

func NewPostEmailPingParamsWithHTTPClient ¶

func NewPostEmailPingParamsWithHTTPClient(client *http.Client) *PostEmailPingParams

NewPostEmailPingParamsWithHTTPClient creates a new PostEmailPingParams object with the ability to set a custom HTTPClient for a request.

func NewPostEmailPingParamsWithTimeout ¶

func NewPostEmailPingParamsWithTimeout(timeout time.Duration) *PostEmailPingParams

NewPostEmailPingParamsWithTimeout creates a new PostEmailPingParams object with the ability to set a timeout on a request.

func (*PostEmailPingParams) SetContext ¶

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

SetContext adds the context to the post email ping params

func (*PostEmailPingParams) SetDefaults ¶

func (o *PostEmailPingParams) SetDefaults()

SetDefaults hydrates default values in the post email ping params (not the query body).

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

func (*PostEmailPingParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the post email ping params

func (*PostEmailPingParams) SetSettings ¶

func (o *PostEmailPingParams) SetSettings(settings *legacy.EmailServerSetting)

SetSettings adds the settings to the post email ping params

func (*PostEmailPingParams) SetTimeout ¶

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

SetTimeout adds the timeout to the post email ping params

func (*PostEmailPingParams) WithContext ¶

WithContext adds the context to the post email ping params

func (*PostEmailPingParams) WithDefaults ¶

func (o *PostEmailPingParams) WithDefaults() *PostEmailPingParams

WithDefaults hydrates default values in the post email ping params (not the query body).

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

func (*PostEmailPingParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the post email ping params

func (*PostEmailPingParams) WithSettings ¶

WithSettings adds the settings to the post email ping params

func (*PostEmailPingParams) WithTimeout ¶

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

WithTimeout adds the timeout to the post email ping params

func (*PostEmailPingParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type PostEmailPingReader ¶

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

PostEmailPingReader is a Reader for the PostEmailPing structure.

func (*PostEmailPingReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type PostEmailPingUnauthorized ¶

type PostEmailPingUnauthorized struct {
}
PostEmailPingUnauthorized describes a response with status code 401, with default header values.

User need to login first.

func NewPostEmailPingUnauthorized ¶

func NewPostEmailPingUnauthorized() *PostEmailPingUnauthorized

NewPostEmailPingUnauthorized creates a PostEmailPingUnauthorized with default headers values

func (*PostEmailPingUnauthorized) Error ¶

func (o *PostEmailPingUnauthorized) Error() string

type PostEmailPingUnsupportedMediaType ¶

type PostEmailPingUnsupportedMediaType struct {
}
PostEmailPingUnsupportedMediaType describes a response with status code 415, with default header values.

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

func NewPostEmailPingUnsupportedMediaType ¶

func NewPostEmailPingUnsupportedMediaType() *PostEmailPingUnsupportedMediaType

NewPostEmailPingUnsupportedMediaType creates a PostEmailPingUnsupportedMediaType with default headers values

func (*PostEmailPingUnsupportedMediaType) Error ¶

type PostLabelsBadRequest ¶

type PostLabelsBadRequest struct {
}
PostLabelsBadRequest describes a response with status code 400, with default header values.

Invalid parameters.

func NewPostLabelsBadRequest ¶

func NewPostLabelsBadRequest() *PostLabelsBadRequest

NewPostLabelsBadRequest creates a PostLabelsBadRequest with default headers values

func (*PostLabelsBadRequest) Error ¶

func (o *PostLabelsBadRequest) Error() string

type PostLabelsConflict ¶

type PostLabelsConflict struct {
}
PostLabelsConflict describes a response with status code 409, with default header values.

Label with the same name and same scope already exists.

func NewPostLabelsConflict ¶

func NewPostLabelsConflict() *PostLabelsConflict

NewPostLabelsConflict creates a PostLabelsConflict with default headers values

func (*PostLabelsConflict) Error ¶

func (o *PostLabelsConflict) Error() string

type PostLabelsCreated ¶

type PostLabelsCreated struct {
}
PostLabelsCreated describes a response with status code 201, with default header values.

Create successfully.

func NewPostLabelsCreated ¶

func NewPostLabelsCreated() *PostLabelsCreated

NewPostLabelsCreated creates a PostLabelsCreated with default headers values

func (*PostLabelsCreated) Error ¶

func (o *PostLabelsCreated) Error() string

type PostLabelsInternalServerError ¶

type PostLabelsInternalServerError struct {
}
PostLabelsInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPostLabelsInternalServerError ¶

func NewPostLabelsInternalServerError() *PostLabelsInternalServerError

NewPostLabelsInternalServerError creates a PostLabelsInternalServerError with default headers values

func (*PostLabelsInternalServerError) Error ¶

type PostLabelsParams ¶

type PostLabelsParams struct {

	/* Label.

	   The json object of label.
	*/
	Label *legacy.Label

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

PostLabelsParams contains all the parameters to send to the API endpoint

for the post labels operation.

Typically these are written to a http.Request.

func NewPostLabelsParams ¶

func NewPostLabelsParams() *PostLabelsParams

NewPostLabelsParams creates a new PostLabelsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostLabelsParamsWithContext ¶

func NewPostLabelsParamsWithContext(ctx context.Context) *PostLabelsParams

NewPostLabelsParamsWithContext creates a new PostLabelsParams object with the ability to set a context for a request.

func NewPostLabelsParamsWithHTTPClient ¶

func NewPostLabelsParamsWithHTTPClient(client *http.Client) *PostLabelsParams

NewPostLabelsParamsWithHTTPClient creates a new PostLabelsParams object with the ability to set a custom HTTPClient for a request.

func NewPostLabelsParamsWithTimeout ¶

func NewPostLabelsParamsWithTimeout(timeout time.Duration) *PostLabelsParams

NewPostLabelsParamsWithTimeout creates a new PostLabelsParams object with the ability to set a timeout on a request.

func (*PostLabelsParams) SetContext ¶

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

SetContext adds the context to the post labels params

func (*PostLabelsParams) SetDefaults ¶

func (o *PostLabelsParams) SetDefaults()

SetDefaults hydrates default values in the post labels params (not the query body).

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

func (*PostLabelsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the post labels params

func (*PostLabelsParams) SetLabel ¶

func (o *PostLabelsParams) SetLabel(label *legacy.Label)

SetLabel adds the label to the post labels params

func (*PostLabelsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the post labels params

func (*PostLabelsParams) WithContext ¶

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

WithContext adds the context to the post labels params

func (*PostLabelsParams) WithDefaults ¶

func (o *PostLabelsParams) WithDefaults() *PostLabelsParams

WithDefaults hydrates default values in the post labels params (not the query body).

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

func (*PostLabelsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the post labels params

func (*PostLabelsParams) WithLabel ¶

func (o *PostLabelsParams) WithLabel(label *legacy.Label) *PostLabelsParams

WithLabel adds the label to the post labels params

func (*PostLabelsParams) WithTimeout ¶

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

WithTimeout adds the timeout to the post labels params

func (*PostLabelsParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type PostLabelsReader ¶

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

PostLabelsReader is a Reader for the PostLabels structure.

func (*PostLabelsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type PostLabelsUnauthorized ¶

type PostLabelsUnauthorized struct {
}
PostLabelsUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPostLabelsUnauthorized ¶

func NewPostLabelsUnauthorized() *PostLabelsUnauthorized

NewPostLabelsUnauthorized creates a PostLabelsUnauthorized with default headers values

func (*PostLabelsUnauthorized) Error ¶

func (o *PostLabelsUnauthorized) Error() string

type PostLabelsUnsupportedMediaType ¶

type PostLabelsUnsupportedMediaType struct {
}
PostLabelsUnsupportedMediaType describes a response with status code 415, with default header values.

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

func NewPostLabelsUnsupportedMediaType ¶

func NewPostLabelsUnsupportedMediaType() *PostLabelsUnsupportedMediaType

NewPostLabelsUnsupportedMediaType creates a PostLabelsUnsupportedMediaType with default headers values

func (*PostLabelsUnsupportedMediaType) Error ¶

type PostLdapPingBadRequest ¶

type PostLdapPingBadRequest struct {
}
PostLdapPingBadRequest describes a response with status code 400, with default header values.

Inviald ldap configuration parameters.

func NewPostLdapPingBadRequest ¶

func NewPostLdapPingBadRequest() *PostLdapPingBadRequest

NewPostLdapPingBadRequest creates a PostLdapPingBadRequest with default headers values

func (*PostLdapPingBadRequest) Error ¶

func (o *PostLdapPingBadRequest) Error() string

type PostLdapPingForbidden ¶

type PostLdapPingForbidden struct {
}
PostLdapPingForbidden describes a response with status code 403, with default header values.

Only admin has this authority.

func NewPostLdapPingForbidden ¶

func NewPostLdapPingForbidden() *PostLdapPingForbidden

NewPostLdapPingForbidden creates a PostLdapPingForbidden with default headers values

func (*PostLdapPingForbidden) Error ¶

func (o *PostLdapPingForbidden) Error() string

type PostLdapPingInternalServerError ¶

type PostLdapPingInternalServerError struct {
}
PostLdapPingInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPostLdapPingInternalServerError ¶

func NewPostLdapPingInternalServerError() *PostLdapPingInternalServerError

NewPostLdapPingInternalServerError creates a PostLdapPingInternalServerError with default headers values

func (*PostLdapPingInternalServerError) Error ¶

type PostLdapPingOK ¶

type PostLdapPingOK struct {
}
PostLdapPingOK describes a response with status code 200, with default header values.

Ping ldap service successfully.

func NewPostLdapPingOK ¶

func NewPostLdapPingOK() *PostLdapPingOK

NewPostLdapPingOK creates a PostLdapPingOK with default headers values

func (*PostLdapPingOK) Error ¶

func (o *PostLdapPingOK) Error() string

type PostLdapPingParams ¶

type PostLdapPingParams struct {

	/* Ldapconf.

	   ldap configuration. support input ldap service configuration. If it's a empty request, will load current configuration from the system.
	*/
	Ldapconf *legacy.LdapConf

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

PostLdapPingParams contains all the parameters to send to the API endpoint

for the post ldap ping operation.

Typically these are written to a http.Request.

func NewPostLdapPingParams ¶

func NewPostLdapPingParams() *PostLdapPingParams

NewPostLdapPingParams creates a new PostLdapPingParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostLdapPingParamsWithContext ¶

func NewPostLdapPingParamsWithContext(ctx context.Context) *PostLdapPingParams

NewPostLdapPingParamsWithContext creates a new PostLdapPingParams object with the ability to set a context for a request.

func NewPostLdapPingParamsWithHTTPClient ¶

func NewPostLdapPingParamsWithHTTPClient(client *http.Client) *PostLdapPingParams

NewPostLdapPingParamsWithHTTPClient creates a new PostLdapPingParams object with the ability to set a custom HTTPClient for a request.

func NewPostLdapPingParamsWithTimeout ¶

func NewPostLdapPingParamsWithTimeout(timeout time.Duration) *PostLdapPingParams

NewPostLdapPingParamsWithTimeout creates a new PostLdapPingParams object with the ability to set a timeout on a request.

func (*PostLdapPingParams) SetContext ¶

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

SetContext adds the context to the post ldap ping params

func (*PostLdapPingParams) SetDefaults ¶

func (o *PostLdapPingParams) SetDefaults()

SetDefaults hydrates default values in the post ldap ping params (not the query body).

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

func (*PostLdapPingParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the post ldap ping params

func (*PostLdapPingParams) SetLdapconf ¶

func (o *PostLdapPingParams) SetLdapconf(ldapconf *legacy.LdapConf)

SetLdapconf adds the ldapconf to the post ldap ping params

func (*PostLdapPingParams) SetTimeout ¶

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

SetTimeout adds the timeout to the post ldap ping params

func (*PostLdapPingParams) WithContext ¶

WithContext adds the context to the post ldap ping params

func (*PostLdapPingParams) WithDefaults ¶

func (o *PostLdapPingParams) WithDefaults() *PostLdapPingParams

WithDefaults hydrates default values in the post ldap ping params (not the query body).

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

func (*PostLdapPingParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the post ldap ping params

func (*PostLdapPingParams) WithLdapconf ¶

func (o *PostLdapPingParams) WithLdapconf(ldapconf *legacy.LdapConf) *PostLdapPingParams

WithLdapconf adds the ldapconf to the post ldap ping params

func (*PostLdapPingParams) WithTimeout ¶

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

WithTimeout adds the timeout to the post ldap ping params

func (*PostLdapPingParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type PostLdapPingReader ¶

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

PostLdapPingReader is a Reader for the PostLdapPing structure.

func (*PostLdapPingReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type PostLdapPingUnauthorized ¶

type PostLdapPingUnauthorized struct {
}
PostLdapPingUnauthorized describes a response with status code 401, with default header values.

User need to login first.

func NewPostLdapPingUnauthorized ¶

func NewPostLdapPingUnauthorized() *PostLdapPingUnauthorized

NewPostLdapPingUnauthorized creates a PostLdapPingUnauthorized with default headers values

func (*PostLdapPingUnauthorized) Error ¶

func (o *PostLdapPingUnauthorized) Error() string

type PostLdapPingUnsupportedMediaType ¶

type PostLdapPingUnsupportedMediaType struct {
}
PostLdapPingUnsupportedMediaType describes a response with status code 415, with default header values.

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

func NewPostLdapPingUnsupportedMediaType ¶

func NewPostLdapPingUnsupportedMediaType() *PostLdapPingUnsupportedMediaType

NewPostLdapPingUnsupportedMediaType creates a PostLdapPingUnsupportedMediaType with default headers values

func (*PostLdapPingUnsupportedMediaType) Error ¶

type PostLdapUsersImportForbidden ¶

type PostLdapUsersImportForbidden struct {
}
PostLdapUsersImportForbidden describes a response with status code 403, with default header values.

Only admin has this authority.

func NewPostLdapUsersImportForbidden ¶

func NewPostLdapUsersImportForbidden() *PostLdapUsersImportForbidden

NewPostLdapUsersImportForbidden creates a PostLdapUsersImportForbidden with default headers values

func (*PostLdapUsersImportForbidden) Error ¶

type PostLdapUsersImportNotFound ¶

type PostLdapUsersImportNotFound struct {
	Payload []*legacy.LdapFailedImportUsers
}
PostLdapUsersImportNotFound describes a response with status code 404, with default header values.

Failed import some users.

func NewPostLdapUsersImportNotFound ¶

func NewPostLdapUsersImportNotFound() *PostLdapUsersImportNotFound

NewPostLdapUsersImportNotFound creates a PostLdapUsersImportNotFound with default headers values

func (*PostLdapUsersImportNotFound) Error ¶

func (*PostLdapUsersImportNotFound) GetPayload ¶

type PostLdapUsersImportOK ¶

type PostLdapUsersImportOK struct {
}
PostLdapUsersImportOK describes a response with status code 200, with default header values.

Add ldap users successfully.

func NewPostLdapUsersImportOK ¶

func NewPostLdapUsersImportOK() *PostLdapUsersImportOK

NewPostLdapUsersImportOK creates a PostLdapUsersImportOK with default headers values

func (*PostLdapUsersImportOK) Error ¶

func (o *PostLdapUsersImportOK) Error() string

type PostLdapUsersImportParams ¶

type PostLdapUsersImportParams struct {

	/* UIDList.

	   The uid listed for importing. This list will check users validity of ldap service based on configuration from the system.
	*/
	UIDList *legacy.LdapImportUsers

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

PostLdapUsersImportParams contains all the parameters to send to the API endpoint

for the post ldap users import operation.

Typically these are written to a http.Request.

func NewPostLdapUsersImportParams ¶

func NewPostLdapUsersImportParams() *PostLdapUsersImportParams

NewPostLdapUsersImportParams creates a new PostLdapUsersImportParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostLdapUsersImportParamsWithContext ¶

func NewPostLdapUsersImportParamsWithContext(ctx context.Context) *PostLdapUsersImportParams

NewPostLdapUsersImportParamsWithContext creates a new PostLdapUsersImportParams object with the ability to set a context for a request.

func NewPostLdapUsersImportParamsWithHTTPClient ¶

func NewPostLdapUsersImportParamsWithHTTPClient(client *http.Client) *PostLdapUsersImportParams

NewPostLdapUsersImportParamsWithHTTPClient creates a new PostLdapUsersImportParams object with the ability to set a custom HTTPClient for a request.

func NewPostLdapUsersImportParamsWithTimeout ¶

func NewPostLdapUsersImportParamsWithTimeout(timeout time.Duration) *PostLdapUsersImportParams

NewPostLdapUsersImportParamsWithTimeout creates a new PostLdapUsersImportParams object with the ability to set a timeout on a request.

func (*PostLdapUsersImportParams) SetContext ¶

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

SetContext adds the context to the post ldap users import params

func (*PostLdapUsersImportParams) SetDefaults ¶

func (o *PostLdapUsersImportParams) SetDefaults()

SetDefaults hydrates default values in the post ldap users import params (not the query body).

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

func (*PostLdapUsersImportParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the post ldap users import params

func (*PostLdapUsersImportParams) SetTimeout ¶

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

SetTimeout adds the timeout to the post ldap users import params

func (*PostLdapUsersImportParams) SetUIDList ¶

func (o *PostLdapUsersImportParams) SetUIDList(uIDList *legacy.LdapImportUsers)

SetUIDList adds the uidList to the post ldap users import params

func (*PostLdapUsersImportParams) WithContext ¶

WithContext adds the context to the post ldap users import params

func (*PostLdapUsersImportParams) WithDefaults ¶

WithDefaults hydrates default values in the post ldap users import params (not the query body).

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

func (*PostLdapUsersImportParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the post ldap users import params

func (*PostLdapUsersImportParams) WithTimeout ¶

WithTimeout adds the timeout to the post ldap users import params

func (*PostLdapUsersImportParams) WithUIDList ¶

WithUIDList adds the uIDList to the post ldap users import params

func (*PostLdapUsersImportParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PostLdapUsersImportReader ¶

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

PostLdapUsersImportReader is a Reader for the PostLdapUsersImport structure.

func (*PostLdapUsersImportReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type PostLdapUsersImportUnauthorized ¶

type PostLdapUsersImportUnauthorized struct {
}
PostLdapUsersImportUnauthorized describes a response with status code 401, with default header values.

User need to login first.

func NewPostLdapUsersImportUnauthorized ¶

func NewPostLdapUsersImportUnauthorized() *PostLdapUsersImportUnauthorized

NewPostLdapUsersImportUnauthorized creates a PostLdapUsersImportUnauthorized with default headers values

func (*PostLdapUsersImportUnauthorized) Error ¶

type PostLdapUsersImportUnsupportedMediaType ¶

type PostLdapUsersImportUnsupportedMediaType struct {
}
PostLdapUsersImportUnsupportedMediaType describes a response with status code 415, with default header values.

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

func NewPostLdapUsersImportUnsupportedMediaType ¶

func NewPostLdapUsersImportUnsupportedMediaType() *PostLdapUsersImportUnsupportedMediaType

NewPostLdapUsersImportUnsupportedMediaType creates a PostLdapUsersImportUnsupportedMediaType with default headers values

func (*PostLdapUsersImportUnsupportedMediaType) Error ¶

type PostProjectsProjectIDImmutabletagrulesBadRequest ¶

type PostProjectsProjectIDImmutabletagrulesBadRequest struct {
}
PostProjectsProjectIDImmutabletagrulesBadRequest describes a response with status code 400, with default header values.

Illegal format of provided ID value.

func NewPostProjectsProjectIDImmutabletagrulesBadRequest ¶

func NewPostProjectsProjectIDImmutabletagrulesBadRequest() *PostProjectsProjectIDImmutabletagrulesBadRequest

NewPostProjectsProjectIDImmutabletagrulesBadRequest creates a PostProjectsProjectIDImmutabletagrulesBadRequest with default headers values

func (*PostProjectsProjectIDImmutabletagrulesBadRequest) Error ¶

type PostProjectsProjectIDImmutabletagrulesForbidden ¶

type PostProjectsProjectIDImmutabletagrulesForbidden struct {
}
PostProjectsProjectIDImmutabletagrulesForbidden describes a response with status code 403, with default header values.

User have no permission to get immutable tag rule of the project.

func NewPostProjectsProjectIDImmutabletagrulesForbidden ¶

func NewPostProjectsProjectIDImmutabletagrulesForbidden() *PostProjectsProjectIDImmutabletagrulesForbidden

NewPostProjectsProjectIDImmutabletagrulesForbidden creates a PostProjectsProjectIDImmutabletagrulesForbidden with default headers values

func (*PostProjectsProjectIDImmutabletagrulesForbidden) Error ¶

type PostProjectsProjectIDImmutabletagrulesInternalServerError ¶

type PostProjectsProjectIDImmutabletagrulesInternalServerError struct {
}
PostProjectsProjectIDImmutabletagrulesInternalServerError describes a response with status code 500, with default header values.

Internal server errors.

func NewPostProjectsProjectIDImmutabletagrulesInternalServerError ¶

func NewPostProjectsProjectIDImmutabletagrulesInternalServerError() *PostProjectsProjectIDImmutabletagrulesInternalServerError

NewPostProjectsProjectIDImmutabletagrulesInternalServerError creates a PostProjectsProjectIDImmutabletagrulesInternalServerError with default headers values

func (*PostProjectsProjectIDImmutabletagrulesInternalServerError) Error ¶

type PostProjectsProjectIDImmutabletagrulesOK ¶

type PostProjectsProjectIDImmutabletagrulesOK struct {
}
PostProjectsProjectIDImmutabletagrulesOK describes a response with status code 200, with default header values.

Add the immutable tag rule successfully.

func NewPostProjectsProjectIDImmutabletagrulesOK ¶

func NewPostProjectsProjectIDImmutabletagrulesOK() *PostProjectsProjectIDImmutabletagrulesOK

NewPostProjectsProjectIDImmutabletagrulesOK creates a PostProjectsProjectIDImmutabletagrulesOK with default headers values

func (*PostProjectsProjectIDImmutabletagrulesOK) Error ¶

type PostProjectsProjectIDImmutabletagrulesParams ¶

type PostProjectsProjectIDImmutabletagrulesParams struct {

	// RetentionRule.
	RetentionRule *legacy.RetentionRule

	/* ProjectID.

	   Relevant project ID.

	   Format: int64
	*/
	ProjectID int64

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

PostProjectsProjectIDImmutabletagrulesParams contains all the parameters to send to the API endpoint

for the post projects project ID immutabletagrules operation.

Typically these are written to a http.Request.

func NewPostProjectsProjectIDImmutabletagrulesParams ¶

func NewPostProjectsProjectIDImmutabletagrulesParams() *PostProjectsProjectIDImmutabletagrulesParams

NewPostProjectsProjectIDImmutabletagrulesParams creates a new PostProjectsProjectIDImmutabletagrulesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostProjectsProjectIDImmutabletagrulesParamsWithContext ¶

func NewPostProjectsProjectIDImmutabletagrulesParamsWithContext(ctx context.Context) *PostProjectsProjectIDImmutabletagrulesParams

NewPostProjectsProjectIDImmutabletagrulesParamsWithContext creates a new PostProjectsProjectIDImmutabletagrulesParams object with the ability to set a context for a request.

func NewPostProjectsProjectIDImmutabletagrulesParamsWithHTTPClient ¶

func NewPostProjectsProjectIDImmutabletagrulesParamsWithHTTPClient(client *http.Client) *PostProjectsProjectIDImmutabletagrulesParams

NewPostProjectsProjectIDImmutabletagrulesParamsWithHTTPClient creates a new PostProjectsProjectIDImmutabletagrulesParams object with the ability to set a custom HTTPClient for a request.

func NewPostProjectsProjectIDImmutabletagrulesParamsWithTimeout ¶

func NewPostProjectsProjectIDImmutabletagrulesParamsWithTimeout(timeout time.Duration) *PostProjectsProjectIDImmutabletagrulesParams

NewPostProjectsProjectIDImmutabletagrulesParamsWithTimeout creates a new PostProjectsProjectIDImmutabletagrulesParams object with the ability to set a timeout on a request.

func (*PostProjectsProjectIDImmutabletagrulesParams) SetContext ¶

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

func (*PostProjectsProjectIDImmutabletagrulesParams) SetDefaults ¶

SetDefaults hydrates default values in the post projects project ID immutabletagrules params (not the query body).

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

func (*PostProjectsProjectIDImmutabletagrulesParams) SetHTTPClient ¶

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

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

func (*PostProjectsProjectIDImmutabletagrulesParams) SetProjectID ¶

func (o *PostProjectsProjectIDImmutabletagrulesParams) SetProjectID(projectID int64)

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

func (*PostProjectsProjectIDImmutabletagrulesParams) SetRetentionRule ¶

func (o *PostProjectsProjectIDImmutabletagrulesParams) SetRetentionRule(retentionRule *legacy.RetentionRule)

SetRetentionRule adds the retentionRule to the post projects project ID immutabletagrules params

func (*PostProjectsProjectIDImmutabletagrulesParams) SetTimeout ¶

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

func (*PostProjectsProjectIDImmutabletagrulesParams) WithContext ¶

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

func (*PostProjectsProjectIDImmutabletagrulesParams) WithDefaults ¶

WithDefaults hydrates default values in the post projects project ID immutabletagrules params (not the query body).

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

func (*PostProjectsProjectIDImmutabletagrulesParams) WithHTTPClient ¶

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

func (*PostProjectsProjectIDImmutabletagrulesParams) WithProjectID ¶

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

func (*PostProjectsProjectIDImmutabletagrulesParams) WithRetentionRule ¶

WithRetentionRule adds the retentionRule to the post projects project ID immutabletagrules params

func (*PostProjectsProjectIDImmutabletagrulesParams) WithTimeout ¶

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

func (*PostProjectsProjectIDImmutabletagrulesParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PostProjectsProjectIDImmutabletagrulesReader ¶

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

PostProjectsProjectIDImmutabletagrulesReader is a Reader for the PostProjectsProjectIDImmutabletagrules structure.

func (*PostProjectsProjectIDImmutabletagrulesReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type PostProjectsProjectIDImmutabletagrulesUnauthorized ¶

type PostProjectsProjectIDImmutabletagrulesUnauthorized struct {
}
PostProjectsProjectIDImmutabletagrulesUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPostProjectsProjectIDImmutabletagrulesUnauthorized ¶

func NewPostProjectsProjectIDImmutabletagrulesUnauthorized() *PostProjectsProjectIDImmutabletagrulesUnauthorized

NewPostProjectsProjectIDImmutabletagrulesUnauthorized creates a PostProjectsProjectIDImmutabletagrulesUnauthorized with default headers values

func (*PostProjectsProjectIDImmutabletagrulesUnauthorized) Error ¶

type PostProjectsProjectIDMembersBadRequest ¶

type PostProjectsProjectIDMembersBadRequest struct {
}
PostProjectsProjectIDMembersBadRequest describes a response with status code 400, 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 describes a response with status code 409, 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 describes a response with status code 201, 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 describes a response with status code 403, 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 describes a response with status code 500, with default header values.

Unexpected generate 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.

	   Format: int64
	*/
	ProjectID int64

	// ProjectMember.
	ProjectMember *legacy.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostProjectsProjectIDMembersParamsWithContext ¶

func NewPostProjectsProjectIDMembersParamsWithContext(ctx context.Context) *PostProjectsProjectIDMembersParams

NewPostProjectsProjectIDMembersParamsWithContext creates a new PostProjectsProjectIDMembersParams object with 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 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 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) SetDefaults ¶

func (o *PostProjectsProjectIDMembersParams) SetDefaults()

SetDefaults hydrates default values in the post projects project ID members params (not the query body).

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

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 *legacy.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) WithDefaults ¶

WithDefaults hydrates default values in the post projects project ID members params (not the query body).

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

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 describes a response with status code 401, 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 describes a response with status code 400, 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 describes a response with status code 403, 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 describes a response with status code 500, 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 describes a response with status code 404, 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 describes a response with status code 200, 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 *legacy.ProjectMetadata

	/* ProjectID.

	   Selected project ID.

	   Format: int64
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostProjectsProjectIDMetadatasParamsWithContext ¶

func NewPostProjectsProjectIDMetadatasParamsWithContext(ctx context.Context) *PostProjectsProjectIDMetadatasParams

NewPostProjectsProjectIDMetadatasParamsWithContext creates a new PostProjectsProjectIDMetadatasParams object with 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 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 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) SetDefaults ¶

func (o *PostProjectsProjectIDMetadatasParams) SetDefaults()

SetDefaults hydrates default values in the post projects project ID metadatas params (not the query body).

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

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) WithDefaults ¶

WithDefaults hydrates default values in the post projects project ID metadatas params (not the query body).

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

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 describes a response with status code 401, 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 describes a response with status code 415, 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 PostProjectsProjectIDRobotsBadRequest ¶

type PostProjectsProjectIDRobotsBadRequest struct {
}
PostProjectsProjectIDRobotsBadRequest describes a response with status code 400, with default header values.

Project id is not valid.

func NewPostProjectsProjectIDRobotsBadRequest ¶

func NewPostProjectsProjectIDRobotsBadRequest() *PostProjectsProjectIDRobotsBadRequest

NewPostProjectsProjectIDRobotsBadRequest creates a PostProjectsProjectIDRobotsBadRequest with default headers values

func (*PostProjectsProjectIDRobotsBadRequest) Error ¶

type PostProjectsProjectIDRobotsConflict ¶

type PostProjectsProjectIDRobotsConflict struct {
}
PostProjectsProjectIDRobotsConflict describes a response with status code 409, with default header values.

An robot account with same name already exist in the project.

func NewPostProjectsProjectIDRobotsConflict ¶

func NewPostProjectsProjectIDRobotsConflict() *PostProjectsProjectIDRobotsConflict

NewPostProjectsProjectIDRobotsConflict creates a PostProjectsProjectIDRobotsConflict with default headers values

func (*PostProjectsProjectIDRobotsConflict) Error ¶

type PostProjectsProjectIDRobotsCreated ¶

type PostProjectsProjectIDRobotsCreated struct {
	Payload *legacy.RobotAccountPostRep
}
PostProjectsProjectIDRobotsCreated describes a response with status code 201, with default header values.

Project member created successfully.

func NewPostProjectsProjectIDRobotsCreated ¶

func NewPostProjectsProjectIDRobotsCreated() *PostProjectsProjectIDRobotsCreated

NewPostProjectsProjectIDRobotsCreated creates a PostProjectsProjectIDRobotsCreated with default headers values

func (*PostProjectsProjectIDRobotsCreated) Error ¶

func (*PostProjectsProjectIDRobotsCreated) GetPayload ¶

type PostProjectsProjectIDRobotsForbidden ¶

type PostProjectsProjectIDRobotsForbidden struct {
}
PostProjectsProjectIDRobotsForbidden describes a response with status code 403, with default header values.

User in session does not have permission to the project.

func NewPostProjectsProjectIDRobotsForbidden ¶

func NewPostProjectsProjectIDRobotsForbidden() *PostProjectsProjectIDRobotsForbidden

NewPostProjectsProjectIDRobotsForbidden creates a PostProjectsProjectIDRobotsForbidden with default headers values

func (*PostProjectsProjectIDRobotsForbidden) Error ¶

type PostProjectsProjectIDRobotsInternalServerError ¶

type PostProjectsProjectIDRobotsInternalServerError struct {
}
PostProjectsProjectIDRobotsInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPostProjectsProjectIDRobotsInternalServerError ¶

func NewPostProjectsProjectIDRobotsInternalServerError() *PostProjectsProjectIDRobotsInternalServerError

NewPostProjectsProjectIDRobotsInternalServerError creates a PostProjectsProjectIDRobotsInternalServerError with default headers values

func (*PostProjectsProjectIDRobotsInternalServerError) Error ¶

type PostProjectsProjectIDRobotsParams ¶

type PostProjectsProjectIDRobotsParams struct {

	/* ProjectID.

	   Relevant project ID.

	   Format: int64
	*/
	ProjectID int64

	/* Robot.

	   Request body of creating a robot account.
	*/
	Robot *legacy.RobotAccountCreate

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

PostProjectsProjectIDRobotsParams contains all the parameters to send to the API endpoint

for the post projects project ID robots operation.

Typically these are written to a http.Request.

func NewPostProjectsProjectIDRobotsParams ¶

func NewPostProjectsProjectIDRobotsParams() *PostProjectsProjectIDRobotsParams

NewPostProjectsProjectIDRobotsParams creates a new PostProjectsProjectIDRobotsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostProjectsProjectIDRobotsParamsWithContext ¶

func NewPostProjectsProjectIDRobotsParamsWithContext(ctx context.Context) *PostProjectsProjectIDRobotsParams

NewPostProjectsProjectIDRobotsParamsWithContext creates a new PostProjectsProjectIDRobotsParams object with the ability to set a context for a request.

func NewPostProjectsProjectIDRobotsParamsWithHTTPClient ¶

func NewPostProjectsProjectIDRobotsParamsWithHTTPClient(client *http.Client) *PostProjectsProjectIDRobotsParams

NewPostProjectsProjectIDRobotsParamsWithHTTPClient creates a new PostProjectsProjectIDRobotsParams object with the ability to set a custom HTTPClient for a request.

func NewPostProjectsProjectIDRobotsParamsWithTimeout ¶

func NewPostProjectsProjectIDRobotsParamsWithTimeout(timeout time.Duration) *PostProjectsProjectIDRobotsParams

NewPostProjectsProjectIDRobotsParamsWithTimeout creates a new PostProjectsProjectIDRobotsParams object with the ability to set a timeout on a request.

func (*PostProjectsProjectIDRobotsParams) SetContext ¶

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

func (*PostProjectsProjectIDRobotsParams) SetDefaults ¶

func (o *PostProjectsProjectIDRobotsParams) SetDefaults()

SetDefaults hydrates default values in the post projects project ID robots params (not the query body).

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

func (*PostProjectsProjectIDRobotsParams) SetHTTPClient ¶

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

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

func (*PostProjectsProjectIDRobotsParams) SetProjectID ¶

func (o *PostProjectsProjectIDRobotsParams) SetProjectID(projectID int64)

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

func (*PostProjectsProjectIDRobotsParams) SetRobot ¶

SetRobot adds the robot to the post projects project ID robots params

func (*PostProjectsProjectIDRobotsParams) SetTimeout ¶

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

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

func (*PostProjectsProjectIDRobotsParams) WithContext ¶

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

func (*PostProjectsProjectIDRobotsParams) WithDefaults ¶

WithDefaults hydrates default values in the post projects project ID robots params (not the query body).

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

func (*PostProjectsProjectIDRobotsParams) WithHTTPClient ¶

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

func (*PostProjectsProjectIDRobotsParams) WithProjectID ¶

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

func (*PostProjectsProjectIDRobotsParams) WithRobot ¶

WithRobot adds the robot to the post projects project ID robots params

func (*PostProjectsProjectIDRobotsParams) WithTimeout ¶

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

func (*PostProjectsProjectIDRobotsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PostProjectsProjectIDRobotsReader ¶

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

PostProjectsProjectIDRobotsReader is a Reader for the PostProjectsProjectIDRobots structure.

func (*PostProjectsProjectIDRobotsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type PostProjectsProjectIDRobotsUnauthorized ¶

type PostProjectsProjectIDRobotsUnauthorized struct {
}
PostProjectsProjectIDRobotsUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPostProjectsProjectIDRobotsUnauthorized ¶

func NewPostProjectsProjectIDRobotsUnauthorized() *PostProjectsProjectIDRobotsUnauthorized

NewPostProjectsProjectIDRobotsUnauthorized creates a PostProjectsProjectIDRobotsUnauthorized with default headers values

func (*PostProjectsProjectIDRobotsUnauthorized) Error ¶

type PostProjectsProjectIDWebhookPoliciesBadRequest ¶

type PostProjectsProjectIDWebhookPoliciesBadRequest struct {
}
PostProjectsProjectIDWebhookPoliciesBadRequest describes a response with status code 400, with default header values.

Illegal format of provided ID value.

func NewPostProjectsProjectIDWebhookPoliciesBadRequest ¶

func NewPostProjectsProjectIDWebhookPoliciesBadRequest() *PostProjectsProjectIDWebhookPoliciesBadRequest

NewPostProjectsProjectIDWebhookPoliciesBadRequest creates a PostProjectsProjectIDWebhookPoliciesBadRequest with default headers values

func (*PostProjectsProjectIDWebhookPoliciesBadRequest) Error ¶

type PostProjectsProjectIDWebhookPoliciesCreated ¶

type PostProjectsProjectIDWebhookPoliciesCreated struct {
}
PostProjectsProjectIDWebhookPoliciesCreated describes a response with status code 201, with default header values.

Project webhook policy create successfully.

func NewPostProjectsProjectIDWebhookPoliciesCreated ¶

func NewPostProjectsProjectIDWebhookPoliciesCreated() *PostProjectsProjectIDWebhookPoliciesCreated

NewPostProjectsProjectIDWebhookPoliciesCreated creates a PostProjectsProjectIDWebhookPoliciesCreated with default headers values

func (*PostProjectsProjectIDWebhookPoliciesCreated) Error ¶

type PostProjectsProjectIDWebhookPoliciesForbidden ¶

type PostProjectsProjectIDWebhookPoliciesForbidden struct {
}
PostProjectsProjectIDWebhookPoliciesForbidden describes a response with status code 403, with default header values.

User have no permission to create webhook policy of the project.

func NewPostProjectsProjectIDWebhookPoliciesForbidden ¶

func NewPostProjectsProjectIDWebhookPoliciesForbidden() *PostProjectsProjectIDWebhookPoliciesForbidden

NewPostProjectsProjectIDWebhookPoliciesForbidden creates a PostProjectsProjectIDWebhookPoliciesForbidden with default headers values

func (*PostProjectsProjectIDWebhookPoliciesForbidden) Error ¶

type PostProjectsProjectIDWebhookPoliciesInternalServerError ¶

type PostProjectsProjectIDWebhookPoliciesInternalServerError struct {
}
PostProjectsProjectIDWebhookPoliciesInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPostProjectsProjectIDWebhookPoliciesInternalServerError ¶

func NewPostProjectsProjectIDWebhookPoliciesInternalServerError() *PostProjectsProjectIDWebhookPoliciesInternalServerError

NewPostProjectsProjectIDWebhookPoliciesInternalServerError creates a PostProjectsProjectIDWebhookPoliciesInternalServerError with default headers values

func (*PostProjectsProjectIDWebhookPoliciesInternalServerError) Error ¶

type PostProjectsProjectIDWebhookPoliciesParams ¶

type PostProjectsProjectIDWebhookPoliciesParams struct {

	/* Policy.

	   Properties "targets" and "event_types" needed.
	*/
	Policy *legacy.WebhookPolicy

	/* ProjectID.

	   Relevant project ID

	   Format: int64
	*/
	ProjectID int64

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

PostProjectsProjectIDWebhookPoliciesParams contains all the parameters to send to the API endpoint

for the post projects project ID webhook policies operation.

Typically these are written to a http.Request.

func NewPostProjectsProjectIDWebhookPoliciesParams ¶

func NewPostProjectsProjectIDWebhookPoliciesParams() *PostProjectsProjectIDWebhookPoliciesParams

NewPostProjectsProjectIDWebhookPoliciesParams creates a new PostProjectsProjectIDWebhookPoliciesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostProjectsProjectIDWebhookPoliciesParamsWithContext ¶

func NewPostProjectsProjectIDWebhookPoliciesParamsWithContext(ctx context.Context) *PostProjectsProjectIDWebhookPoliciesParams

NewPostProjectsProjectIDWebhookPoliciesParamsWithContext creates a new PostProjectsProjectIDWebhookPoliciesParams object with the ability to set a context for a request.

func NewPostProjectsProjectIDWebhookPoliciesParamsWithHTTPClient ¶

func NewPostProjectsProjectIDWebhookPoliciesParamsWithHTTPClient(client *http.Client) *PostProjectsProjectIDWebhookPoliciesParams

NewPostProjectsProjectIDWebhookPoliciesParamsWithHTTPClient creates a new PostProjectsProjectIDWebhookPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewPostProjectsProjectIDWebhookPoliciesParamsWithTimeout ¶

func NewPostProjectsProjectIDWebhookPoliciesParamsWithTimeout(timeout time.Duration) *PostProjectsProjectIDWebhookPoliciesParams

NewPostProjectsProjectIDWebhookPoliciesParamsWithTimeout creates a new PostProjectsProjectIDWebhookPoliciesParams object with the ability to set a timeout on a request.

func (*PostProjectsProjectIDWebhookPoliciesParams) SetContext ¶

SetContext adds the context to the post projects project ID webhook policies params

func (*PostProjectsProjectIDWebhookPoliciesParams) SetDefaults ¶

SetDefaults hydrates default values in the post projects project ID webhook policies params (not the query body).

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

func (*PostProjectsProjectIDWebhookPoliciesParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the post projects project ID webhook policies params

func (*PostProjectsProjectIDWebhookPoliciesParams) SetPolicy ¶

SetPolicy adds the policy to the post projects project ID webhook policies params

func (*PostProjectsProjectIDWebhookPoliciesParams) SetProjectID ¶

func (o *PostProjectsProjectIDWebhookPoliciesParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the post projects project ID webhook policies params

func (*PostProjectsProjectIDWebhookPoliciesParams) SetTimeout ¶

SetTimeout adds the timeout to the post projects project ID webhook policies params

func (*PostProjectsProjectIDWebhookPoliciesParams) WithContext ¶

WithContext adds the context to the post projects project ID webhook policies params

func (*PostProjectsProjectIDWebhookPoliciesParams) WithDefaults ¶

WithDefaults hydrates default values in the post projects project ID webhook policies params (not the query body).

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

func (*PostProjectsProjectIDWebhookPoliciesParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the post projects project ID webhook policies params

func (*PostProjectsProjectIDWebhookPoliciesParams) WithPolicy ¶

WithPolicy adds the policy to the post projects project ID webhook policies params

func (*PostProjectsProjectIDWebhookPoliciesParams) WithProjectID ¶

WithProjectID adds the projectID to the post projects project ID webhook policies params

func (*PostProjectsProjectIDWebhookPoliciesParams) WithTimeout ¶

WithTimeout adds the timeout to the post projects project ID webhook policies params

func (*PostProjectsProjectIDWebhookPoliciesParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PostProjectsProjectIDWebhookPoliciesReader ¶

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

PostProjectsProjectIDWebhookPoliciesReader is a Reader for the PostProjectsProjectIDWebhookPolicies structure.

func (*PostProjectsProjectIDWebhookPoliciesReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type PostProjectsProjectIDWebhookPoliciesTestBadRequest ¶

type PostProjectsProjectIDWebhookPoliciesTestBadRequest struct {
}
PostProjectsProjectIDWebhookPoliciesTestBadRequest describes a response with status code 400, with default header values.

Illegal format of provided ID value.

func NewPostProjectsProjectIDWebhookPoliciesTestBadRequest ¶

func NewPostProjectsProjectIDWebhookPoliciesTestBadRequest() *PostProjectsProjectIDWebhookPoliciesTestBadRequest

NewPostProjectsProjectIDWebhookPoliciesTestBadRequest creates a PostProjectsProjectIDWebhookPoliciesTestBadRequest with default headers values

func (*PostProjectsProjectIDWebhookPoliciesTestBadRequest) Error ¶

type PostProjectsProjectIDWebhookPoliciesTestForbidden ¶

type PostProjectsProjectIDWebhookPoliciesTestForbidden struct {
}
PostProjectsProjectIDWebhookPoliciesTestForbidden describes a response with status code 403, with default header values.

User have no permission to get webhook policy of the project.

func NewPostProjectsProjectIDWebhookPoliciesTestForbidden ¶

func NewPostProjectsProjectIDWebhookPoliciesTestForbidden() *PostProjectsProjectIDWebhookPoliciesTestForbidden

NewPostProjectsProjectIDWebhookPoliciesTestForbidden creates a PostProjectsProjectIDWebhookPoliciesTestForbidden with default headers values

func (*PostProjectsProjectIDWebhookPoliciesTestForbidden) Error ¶

type PostProjectsProjectIDWebhookPoliciesTestInternalServerError ¶

type PostProjectsProjectIDWebhookPoliciesTestInternalServerError struct {
}
PostProjectsProjectIDWebhookPoliciesTestInternalServerError describes a response with status code 500, with default header values.

Internal server errors.

func NewPostProjectsProjectIDWebhookPoliciesTestInternalServerError ¶

func NewPostProjectsProjectIDWebhookPoliciesTestInternalServerError() *PostProjectsProjectIDWebhookPoliciesTestInternalServerError

NewPostProjectsProjectIDWebhookPoliciesTestInternalServerError creates a PostProjectsProjectIDWebhookPoliciesTestInternalServerError with default headers values

func (*PostProjectsProjectIDWebhookPoliciesTestInternalServerError) Error ¶

type PostProjectsProjectIDWebhookPoliciesTestOK ¶

type PostProjectsProjectIDWebhookPoliciesTestOK struct {
}
PostProjectsProjectIDWebhookPoliciesTestOK describes a response with status code 200, with default header values.

Test webhook connection successfully.

func NewPostProjectsProjectIDWebhookPoliciesTestOK ¶

func NewPostProjectsProjectIDWebhookPoliciesTestOK() *PostProjectsProjectIDWebhookPoliciesTestOK

NewPostProjectsProjectIDWebhookPoliciesTestOK creates a PostProjectsProjectIDWebhookPoliciesTestOK with default headers values

func (*PostProjectsProjectIDWebhookPoliciesTestOK) Error ¶

type PostProjectsProjectIDWebhookPoliciesTestParams ¶

type PostProjectsProjectIDWebhookPoliciesTestParams struct {

	/* Policy.

	   Only property "targets" needed.
	*/
	Policy *legacy.WebhookPolicy

	/* ProjectID.

	   Relevant project ID.

	   Format: int64
	*/
	ProjectID int64

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

PostProjectsProjectIDWebhookPoliciesTestParams contains all the parameters to send to the API endpoint

for the post projects project ID webhook policies test operation.

Typically these are written to a http.Request.

func NewPostProjectsProjectIDWebhookPoliciesTestParams ¶

func NewPostProjectsProjectIDWebhookPoliciesTestParams() *PostProjectsProjectIDWebhookPoliciesTestParams

NewPostProjectsProjectIDWebhookPoliciesTestParams creates a new PostProjectsProjectIDWebhookPoliciesTestParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostProjectsProjectIDWebhookPoliciesTestParamsWithContext ¶

func NewPostProjectsProjectIDWebhookPoliciesTestParamsWithContext(ctx context.Context) *PostProjectsProjectIDWebhookPoliciesTestParams

NewPostProjectsProjectIDWebhookPoliciesTestParamsWithContext creates a new PostProjectsProjectIDWebhookPoliciesTestParams object with the ability to set a context for a request.

func NewPostProjectsProjectIDWebhookPoliciesTestParamsWithHTTPClient ¶

func NewPostProjectsProjectIDWebhookPoliciesTestParamsWithHTTPClient(client *http.Client) *PostProjectsProjectIDWebhookPoliciesTestParams

NewPostProjectsProjectIDWebhookPoliciesTestParamsWithHTTPClient creates a new PostProjectsProjectIDWebhookPoliciesTestParams object with the ability to set a custom HTTPClient for a request.

func NewPostProjectsProjectIDWebhookPoliciesTestParamsWithTimeout ¶

func NewPostProjectsProjectIDWebhookPoliciesTestParamsWithTimeout(timeout time.Duration) *PostProjectsProjectIDWebhookPoliciesTestParams

NewPostProjectsProjectIDWebhookPoliciesTestParamsWithTimeout creates a new PostProjectsProjectIDWebhookPoliciesTestParams object with the ability to set a timeout on a request.

func (*PostProjectsProjectIDWebhookPoliciesTestParams) SetContext ¶

SetContext adds the context to the post projects project ID webhook policies test params

func (*PostProjectsProjectIDWebhookPoliciesTestParams) SetDefaults ¶

SetDefaults hydrates default values in the post projects project ID webhook policies test params (not the query body).

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

func (*PostProjectsProjectIDWebhookPoliciesTestParams) SetHTTPClient ¶

SetHTTPClient adds the HTTPClient to the post projects project ID webhook policies test params

func (*PostProjectsProjectIDWebhookPoliciesTestParams) SetPolicy ¶

SetPolicy adds the policy to the post projects project ID webhook policies test params

func (*PostProjectsProjectIDWebhookPoliciesTestParams) SetProjectID ¶

func (o *PostProjectsProjectIDWebhookPoliciesTestParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the post projects project ID webhook policies test params

func (*PostProjectsProjectIDWebhookPoliciesTestParams) SetTimeout ¶

SetTimeout adds the timeout to the post projects project ID webhook policies test params

func (*PostProjectsProjectIDWebhookPoliciesTestParams) WithContext ¶

WithContext adds the context to the post projects project ID webhook policies test params

func (*PostProjectsProjectIDWebhookPoliciesTestParams) WithDefaults ¶

WithDefaults hydrates default values in the post projects project ID webhook policies test params (not the query body).

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

func (*PostProjectsProjectIDWebhookPoliciesTestParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the post projects project ID webhook policies test params

func (*PostProjectsProjectIDWebhookPoliciesTestParams) WithPolicy ¶

WithPolicy adds the policy to the post projects project ID webhook policies test params

func (*PostProjectsProjectIDWebhookPoliciesTestParams) WithProjectID ¶

WithProjectID adds the projectID to the post projects project ID webhook policies test params

func (*PostProjectsProjectIDWebhookPoliciesTestParams) WithTimeout ¶

WithTimeout adds the timeout to the post projects project ID webhook policies test params

func (*PostProjectsProjectIDWebhookPoliciesTestParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PostProjectsProjectIDWebhookPoliciesTestReader ¶

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

PostProjectsProjectIDWebhookPoliciesTestReader is a Reader for the PostProjectsProjectIDWebhookPoliciesTest structure.

func (*PostProjectsProjectIDWebhookPoliciesTestReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type PostProjectsProjectIDWebhookPoliciesTestUnauthorized ¶

type PostProjectsProjectIDWebhookPoliciesTestUnauthorized struct {
}
PostProjectsProjectIDWebhookPoliciesTestUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPostProjectsProjectIDWebhookPoliciesTestUnauthorized ¶

func NewPostProjectsProjectIDWebhookPoliciesTestUnauthorized() *PostProjectsProjectIDWebhookPoliciesTestUnauthorized

NewPostProjectsProjectIDWebhookPoliciesTestUnauthorized creates a PostProjectsProjectIDWebhookPoliciesTestUnauthorized with default headers values

func (*PostProjectsProjectIDWebhookPoliciesTestUnauthorized) Error ¶

type PostProjectsProjectIDWebhookPoliciesUnauthorized ¶

type PostProjectsProjectIDWebhookPoliciesUnauthorized struct {
}
PostProjectsProjectIDWebhookPoliciesUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPostProjectsProjectIDWebhookPoliciesUnauthorized ¶

func NewPostProjectsProjectIDWebhookPoliciesUnauthorized() *PostProjectsProjectIDWebhookPoliciesUnauthorized

NewPostProjectsProjectIDWebhookPoliciesUnauthorized creates a PostProjectsProjectIDWebhookPoliciesUnauthorized with default headers values

func (*PostProjectsProjectIDWebhookPoliciesUnauthorized) Error ¶

type PostRegistriesBadRequest ¶

type PostRegistriesBadRequest struct {
}
PostRegistriesBadRequest describes a response with status code 400, 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 describes a response with status code 409, 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 describes a response with status code 201, 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 describes a response with status code 500, with default header values.

Unexpected generate 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 *legacy.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostRegistriesParamsWithContext ¶

func NewPostRegistriesParamsWithContext(ctx context.Context) *PostRegistriesParams

NewPostRegistriesParamsWithContext creates a new PostRegistriesParams object with 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 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 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) SetDefaults ¶

func (o *PostRegistriesParams) SetDefaults()

SetDefaults hydrates default values in the post registries params (not the query body).

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

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 *legacy.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) WithDefaults ¶

func (o *PostRegistriesParams) WithDefaults() *PostRegistriesParams

WithDefaults hydrates default values in the post registries params (not the query body).

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

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 *legacy.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 PostRegistriesPingBadRequest ¶

type PostRegistriesPingBadRequest struct {
}
PostRegistriesPingBadRequest describes a response with status code 400, with default header values.

No proper registry information provided.

func NewPostRegistriesPingBadRequest ¶

func NewPostRegistriesPingBadRequest() *PostRegistriesPingBadRequest

NewPostRegistriesPingBadRequest creates a PostRegistriesPingBadRequest with default headers values

func (*PostRegistriesPingBadRequest) Error ¶

type PostRegistriesPingInternalServerError ¶

type PostRegistriesPingInternalServerError struct {
}
PostRegistriesPingInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPostRegistriesPingInternalServerError ¶

func NewPostRegistriesPingInternalServerError() *PostRegistriesPingInternalServerError

NewPostRegistriesPingInternalServerError creates a PostRegistriesPingInternalServerError with default headers values

func (*PostRegistriesPingInternalServerError) Error ¶

type PostRegistriesPingNotFound ¶

type PostRegistriesPingNotFound struct {
}
PostRegistriesPingNotFound describes a response with status code 404, with default header values.

Registry not found (when registry is provided by ID).

func NewPostRegistriesPingNotFound ¶

func NewPostRegistriesPingNotFound() *PostRegistriesPingNotFound

NewPostRegistriesPingNotFound creates a PostRegistriesPingNotFound with default headers values

func (*PostRegistriesPingNotFound) Error ¶

type PostRegistriesPingOK ¶

type PostRegistriesPingOK struct {
}
PostRegistriesPingOK describes a response with status code 200, with default header values.

Registry is healthy.

func NewPostRegistriesPingOK ¶

func NewPostRegistriesPingOK() *PostRegistriesPingOK

NewPostRegistriesPingOK creates a PostRegistriesPingOK with default headers values

func (*PostRegistriesPingOK) Error ¶

func (o *PostRegistriesPingOK) Error() string

type PostRegistriesPingParams ¶

type PostRegistriesPingParams struct {

	/* Registry.

	   Registry to ping.
	*/
	Registry *legacy.Registry

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

PostRegistriesPingParams contains all the parameters to send to the API endpoint

for the post registries ping operation.

Typically these are written to a http.Request.

func NewPostRegistriesPingParams ¶

func NewPostRegistriesPingParams() *PostRegistriesPingParams

NewPostRegistriesPingParams creates a new PostRegistriesPingParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostRegistriesPingParamsWithContext ¶

func NewPostRegistriesPingParamsWithContext(ctx context.Context) *PostRegistriesPingParams

NewPostRegistriesPingParamsWithContext creates a new PostRegistriesPingParams object with the ability to set a context for a request.

func NewPostRegistriesPingParamsWithHTTPClient ¶

func NewPostRegistriesPingParamsWithHTTPClient(client *http.Client) *PostRegistriesPingParams

NewPostRegistriesPingParamsWithHTTPClient creates a new PostRegistriesPingParams object with the ability to set a custom HTTPClient for a request.

func NewPostRegistriesPingParamsWithTimeout ¶

func NewPostRegistriesPingParamsWithTimeout(timeout time.Duration) *PostRegistriesPingParams

NewPostRegistriesPingParamsWithTimeout creates a new PostRegistriesPingParams object with the ability to set a timeout on a request.

func (*PostRegistriesPingParams) SetContext ¶

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

SetContext adds the context to the post registries ping params

func (*PostRegistriesPingParams) SetDefaults ¶

func (o *PostRegistriesPingParams) SetDefaults()

SetDefaults hydrates default values in the post registries ping params (not the query body).

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

func (*PostRegistriesPingParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the post registries ping params

func (*PostRegistriesPingParams) SetRegistry ¶

func (o *PostRegistriesPingParams) SetRegistry(registry *legacy.Registry)

SetRegistry adds the registry to the post registries ping params

func (*PostRegistriesPingParams) SetTimeout ¶

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

SetTimeout adds the timeout to the post registries ping params

func (*PostRegistriesPingParams) WithContext ¶

WithContext adds the context to the post registries ping params

func (*PostRegistriesPingParams) WithDefaults ¶

WithDefaults hydrates default values in the post registries ping params (not the query body).

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

func (*PostRegistriesPingParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the post registries ping params

func (*PostRegistriesPingParams) WithRegistry ¶

WithRegistry adds the registry to the post registries ping params

func (*PostRegistriesPingParams) WithTimeout ¶

WithTimeout adds the timeout to the post registries ping params

func (*PostRegistriesPingParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PostRegistriesPingReader ¶

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

PostRegistriesPingReader is a Reader for the PostRegistriesPing structure.

func (*PostRegistriesPingReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type PostRegistriesPingUnauthorized ¶

type PostRegistriesPingUnauthorized struct {
}
PostRegistriesPingUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPostRegistriesPingUnauthorized ¶

func NewPostRegistriesPingUnauthorized() *PostRegistriesPingUnauthorized

NewPostRegistriesPingUnauthorized creates a PostRegistriesPingUnauthorized with default headers values

func (*PostRegistriesPingUnauthorized) Error ¶

type PostRegistriesPingUnsupportedMediaType ¶

type PostRegistriesPingUnsupportedMediaType struct {
}
PostRegistriesPingUnsupportedMediaType describes a response with status code 415, with default header values.

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

func NewPostRegistriesPingUnsupportedMediaType ¶

func NewPostRegistriesPingUnsupportedMediaType() *PostRegistriesPingUnsupportedMediaType

NewPostRegistriesPingUnsupportedMediaType creates a PostRegistriesPingUnsupportedMediaType with default headers values

func (*PostRegistriesPingUnsupportedMediaType) Error ¶

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 describes a response with status code 401, 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 describes a response with status code 415, 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 describes a response with status code 400, 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 describes a response with status code 201, 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 describes a response with status code 403, 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 describes a response with status code 500, with default header values.

Unexpected generate 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 *legacy.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostReplicationExecutionsParamsWithContext ¶

func NewPostReplicationExecutionsParamsWithContext(ctx context.Context) *PostReplicationExecutionsParams

NewPostReplicationExecutionsParamsWithContext creates a new PostReplicationExecutionsParams object with 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 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 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) SetDefaults ¶

func (o *PostReplicationExecutionsParams) SetDefaults()

SetDefaults hydrates default values in the post replication executions params (not the query body).

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

func (*PostReplicationExecutionsParams) SetExecution ¶

func (o *PostReplicationExecutionsParams) SetExecution(execution *legacy.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) WithDefaults ¶

WithDefaults hydrates default values in the post replication executions params (not the query body).

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

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 describes a response with status code 401, 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 describes a response with status code 415, 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 describes a response with status code 400, 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 describes a response with status code 409, 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 describes a response with status code 201, 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 describes a response with status code 403, 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 describes a response with status code 500, 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 *legacy.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostReplicationPoliciesParamsWithContext ¶

func NewPostReplicationPoliciesParamsWithContext(ctx context.Context) *PostReplicationPoliciesParams

NewPostReplicationPoliciesParamsWithContext creates a new PostReplicationPoliciesParams object with 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 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 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) SetDefaults ¶

func (o *PostReplicationPoliciesParams) SetDefaults()

SetDefaults hydrates default values in the post replication policies params (not the query body).

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

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) WithDefaults ¶

WithDefaults hydrates default values in the post replication policies params (not the query body).

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

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 describes a response with status code 401, 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 describes a response with status code 415, 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 describes a response with status code 400, 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 describes a response with status code 201, 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 describes a response with status code 403, 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 PostRetentionsIDExecutionsBody ¶

type PostRetentionsIDExecutionsBody struct {

	// dry run
	DryRun bool `json:"dry_run,omitempty"`
}

PostRetentionsIDExecutionsBody post retentions ID executions body swagger:model PostRetentionsIDExecutionsBody

func (*PostRetentionsIDExecutionsBody) ContextValidate ¶

func (o *PostRetentionsIDExecutionsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this post retentions ID executions body based on context it is used

func (*PostRetentionsIDExecutionsBody) MarshalBinary ¶

func (o *PostRetentionsIDExecutionsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostRetentionsIDExecutionsBody) UnmarshalBinary ¶

func (o *PostRetentionsIDExecutionsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostRetentionsIDExecutionsBody) Validate ¶

func (o *PostRetentionsIDExecutionsBody) Validate(formats strfmt.Registry) error

Validate validates this post retentions ID executions body

type PostRetentionsIDExecutionsForbidden ¶

type PostRetentionsIDExecutionsForbidden struct {
}
PostRetentionsIDExecutionsForbidden describes a response with status code 403, with default header values.

User have no permission.

func NewPostRetentionsIDExecutionsForbidden ¶

func NewPostRetentionsIDExecutionsForbidden() *PostRetentionsIDExecutionsForbidden

NewPostRetentionsIDExecutionsForbidden creates a PostRetentionsIDExecutionsForbidden with default headers values

func (*PostRetentionsIDExecutionsForbidden) Error ¶

type PostRetentionsIDExecutionsInternalServerError ¶

type PostRetentionsIDExecutionsInternalServerError struct {
}
PostRetentionsIDExecutionsInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPostRetentionsIDExecutionsInternalServerError ¶

func NewPostRetentionsIDExecutionsInternalServerError() *PostRetentionsIDExecutionsInternalServerError

NewPostRetentionsIDExecutionsInternalServerError creates a PostRetentionsIDExecutionsInternalServerError with default headers values

func (*PostRetentionsIDExecutionsInternalServerError) Error ¶

type PostRetentionsIDExecutionsOK ¶

type PostRetentionsIDExecutionsOK struct {
}
PostRetentionsIDExecutionsOK describes a response with status code 200, with default header values.

Trigger a Retention job successfully.

func NewPostRetentionsIDExecutionsOK ¶

func NewPostRetentionsIDExecutionsOK() *PostRetentionsIDExecutionsOK

NewPostRetentionsIDExecutionsOK creates a PostRetentionsIDExecutionsOK with default headers values

func (*PostRetentionsIDExecutionsOK) Error ¶

type PostRetentionsIDExecutionsParams ¶

type PostRetentionsIDExecutionsParams struct {

	// Action.
	Action PostRetentionsIDExecutionsBody

	/* ID.

	   Retention ID.

	   Format: int64
	*/
	ID int64

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

PostRetentionsIDExecutionsParams contains all the parameters to send to the API endpoint

for the post retentions ID executions operation.

Typically these are written to a http.Request.

func NewPostRetentionsIDExecutionsParams ¶

func NewPostRetentionsIDExecutionsParams() *PostRetentionsIDExecutionsParams

NewPostRetentionsIDExecutionsParams creates a new PostRetentionsIDExecutionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostRetentionsIDExecutionsParamsWithContext ¶

func NewPostRetentionsIDExecutionsParamsWithContext(ctx context.Context) *PostRetentionsIDExecutionsParams

NewPostRetentionsIDExecutionsParamsWithContext creates a new PostRetentionsIDExecutionsParams object with the ability to set a context for a request.

func NewPostRetentionsIDExecutionsParamsWithHTTPClient ¶

func NewPostRetentionsIDExecutionsParamsWithHTTPClient(client *http.Client) *PostRetentionsIDExecutionsParams

NewPostRetentionsIDExecutionsParamsWithHTTPClient creates a new PostRetentionsIDExecutionsParams object with the ability to set a custom HTTPClient for a request.

func NewPostRetentionsIDExecutionsParamsWithTimeout ¶

func NewPostRetentionsIDExecutionsParamsWithTimeout(timeout time.Duration) *PostRetentionsIDExecutionsParams

NewPostRetentionsIDExecutionsParamsWithTimeout creates a new PostRetentionsIDExecutionsParams object with the ability to set a timeout on a request.

func (*PostRetentionsIDExecutionsParams) SetAction ¶

SetAction adds the action to the post retentions ID executions params

func (*PostRetentionsIDExecutionsParams) SetContext ¶

SetContext adds the context to the post retentions ID executions params

func (*PostRetentionsIDExecutionsParams) SetDefaults ¶

func (o *PostRetentionsIDExecutionsParams) SetDefaults()

SetDefaults hydrates default values in the post retentions ID executions params (not the query body).

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

func (*PostRetentionsIDExecutionsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the post retentions ID executions params

func (*PostRetentionsIDExecutionsParams) SetID ¶

SetID adds the id to the post retentions ID executions params

func (*PostRetentionsIDExecutionsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the post retentions ID executions params

func (*PostRetentionsIDExecutionsParams) WithAction ¶

WithAction adds the action to the post retentions ID executions params

func (*PostRetentionsIDExecutionsParams) WithContext ¶

WithContext adds the context to the post retentions ID executions params

func (*PostRetentionsIDExecutionsParams) WithDefaults ¶

WithDefaults hydrates default values in the post retentions ID executions params (not the query body).

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

func (*PostRetentionsIDExecutionsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the post retentions ID executions params

func (*PostRetentionsIDExecutionsParams) WithID ¶

WithID adds the id to the post retentions ID executions params

func (*PostRetentionsIDExecutionsParams) WithTimeout ¶

WithTimeout adds the timeout to the post retentions ID executions params

func (*PostRetentionsIDExecutionsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PostRetentionsIDExecutionsReader ¶

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

PostRetentionsIDExecutionsReader is a Reader for the PostRetentionsIDExecutions structure.

func (*PostRetentionsIDExecutionsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type PostRetentionsIDExecutionsUnauthorized ¶

type PostRetentionsIDExecutionsUnauthorized struct {
}
PostRetentionsIDExecutionsUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPostRetentionsIDExecutionsUnauthorized ¶

func NewPostRetentionsIDExecutionsUnauthorized() *PostRetentionsIDExecutionsUnauthorized

NewPostRetentionsIDExecutionsUnauthorized creates a PostRetentionsIDExecutionsUnauthorized with default headers values

func (*PostRetentionsIDExecutionsUnauthorized) Error ¶

type PostRetentionsInternalServerError ¶

type PostRetentionsInternalServerError struct {
}
PostRetentionsInternalServerError describes a response with status code 500, with default header values.

Unexpected generate 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 *legacy.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostRetentionsParamsWithContext ¶

func NewPostRetentionsParamsWithContext(ctx context.Context) *PostRetentionsParams

NewPostRetentionsParamsWithContext creates a new PostRetentionsParams object with 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 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 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) SetDefaults ¶

func (o *PostRetentionsParams) SetDefaults()

SetDefaults hydrates default values in the post retentions params (not the query body).

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

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 *legacy.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) WithDefaults ¶

func (o *PostRetentionsParams) WithDefaults() *PostRetentionsParams

WithDefaults hydrates default values in the post retentions params (not the query body).

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

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 describes a response with status code 401, 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 PostScannersPingBadRequest ¶

type PostScannersPingBadRequest struct {
}
PostScannersPingBadRequest describes a response with status code 400, with default header values.

Bad registration settings

func NewPostScannersPingBadRequest ¶

func NewPostScannersPingBadRequest() *PostScannersPingBadRequest

NewPostScannersPingBadRequest creates a PostScannersPingBadRequest with default headers values

func (*PostScannersPingBadRequest) Error ¶

type PostScannersPingForbidden ¶

type PostScannersPingForbidden struct {
}
PostScannersPingForbidden describes a response with status code 403, with default header values.

Request is not allowed, system role required

func NewPostScannersPingForbidden ¶

func NewPostScannersPingForbidden() *PostScannersPingForbidden

NewPostScannersPingForbidden creates a PostScannersPingForbidden with default headers values

func (*PostScannersPingForbidden) Error ¶

func (o *PostScannersPingForbidden) Error() string

type PostScannersPingInternalServerError ¶

type PostScannersPingInternalServerError struct {
}
PostScannersPingInternalServerError describes a response with status code 500, with default header values.

Internal server error happened

func NewPostScannersPingInternalServerError ¶

func NewPostScannersPingInternalServerError() *PostScannersPingInternalServerError

NewPostScannersPingInternalServerError creates a PostScannersPingInternalServerError with default headers values

func (*PostScannersPingInternalServerError) Error ¶

type PostScannersPingOK ¶

type PostScannersPingOK struct {
}
PostScannersPingOK describes a response with status code 200, with default header values.

Test succeeded

func NewPostScannersPingOK ¶

func NewPostScannersPingOK() *PostScannersPingOK

NewPostScannersPingOK creates a PostScannersPingOK with default headers values

func (*PostScannersPingOK) Error ¶

func (o *PostScannersPingOK) Error() string

type PostScannersPingParams ¶

type PostScannersPingParams struct {

	/* Settings.

	   A scanner registration settings to be tested.
	*/
	Settings *legacy.ScannerRegistrationSettings

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

PostScannersPingParams contains all the parameters to send to the API endpoint

for the post scanners ping operation.

Typically these are written to a http.Request.

func NewPostScannersPingParams ¶

func NewPostScannersPingParams() *PostScannersPingParams

NewPostScannersPingParams creates a new PostScannersPingParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostScannersPingParamsWithContext ¶

func NewPostScannersPingParamsWithContext(ctx context.Context) *PostScannersPingParams

NewPostScannersPingParamsWithContext creates a new PostScannersPingParams object with the ability to set a context for a request.

func NewPostScannersPingParamsWithHTTPClient ¶

func NewPostScannersPingParamsWithHTTPClient(client *http.Client) *PostScannersPingParams

NewPostScannersPingParamsWithHTTPClient creates a new PostScannersPingParams object with the ability to set a custom HTTPClient for a request.

func NewPostScannersPingParamsWithTimeout ¶

func NewPostScannersPingParamsWithTimeout(timeout time.Duration) *PostScannersPingParams

NewPostScannersPingParamsWithTimeout creates a new PostScannersPingParams object with the ability to set a timeout on a request.

func (*PostScannersPingParams) SetContext ¶

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

SetContext adds the context to the post scanners ping params

func (*PostScannersPingParams) SetDefaults ¶

func (o *PostScannersPingParams) SetDefaults()

SetDefaults hydrates default values in the post scanners ping params (not the query body).

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

func (*PostScannersPingParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the post scanners ping params

func (*PostScannersPingParams) SetSettings ¶

func (o *PostScannersPingParams) SetSettings(settings *legacy.ScannerRegistrationSettings)

SetSettings adds the settings to the post scanners ping params

func (*PostScannersPingParams) SetTimeout ¶

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

SetTimeout adds the timeout to the post scanners ping params

func (*PostScannersPingParams) WithContext ¶

WithContext adds the context to the post scanners ping params

func (*PostScannersPingParams) WithDefaults ¶

WithDefaults hydrates default values in the post scanners ping params (not the query body).

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

func (*PostScannersPingParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the post scanners ping params

func (*PostScannersPingParams) WithSettings ¶

WithSettings adds the settings to the post scanners ping params

func (*PostScannersPingParams) WithTimeout ¶

WithTimeout adds the timeout to the post scanners ping params

func (*PostScannersPingParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PostScannersPingReader ¶

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

PostScannersPingReader is a Reader for the PostScannersPing structure.

func (*PostScannersPingReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type PostScannersPingUnauthorized ¶

type PostScannersPingUnauthorized struct {
}
PostScannersPingUnauthorized describes a response with status code 401, with default header values.

Unauthorized request

func NewPostScannersPingUnauthorized ¶

func NewPostScannersPingUnauthorized() *PostScannersPingUnauthorized

NewPostScannersPingUnauthorized creates a PostScannersPingUnauthorized with default headers values

func (*PostScannersPingUnauthorized) Error ¶

type PostSystemGcScheduleBadRequest ¶

type PostSystemGcScheduleBadRequest struct {
}
PostSystemGcScheduleBadRequest describes a response with status code 400, 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 describes a response with status code 409, 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 describes a response with status code 403, 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 describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPostSystemGcScheduleInternalServerError ¶

func NewPostSystemGcScheduleInternalServerError() *PostSystemGcScheduleInternalServerError

NewPostSystemGcScheduleInternalServerError creates a PostSystemGcScheduleInternalServerError with default headers values

func (*PostSystemGcScheduleInternalServerError) Error ¶

type PostSystemGcScheduleOK ¶

type PostSystemGcScheduleOK struct {
}
PostSystemGcScheduleOK describes a response with status code 200, 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 *legacy.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostSystemGcScheduleParamsWithContext ¶

func NewPostSystemGcScheduleParamsWithContext(ctx context.Context) *PostSystemGcScheduleParams

NewPostSystemGcScheduleParamsWithContext creates a new PostSystemGcScheduleParams object with 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 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 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) SetDefaults ¶

func (o *PostSystemGcScheduleParams) SetDefaults()

SetDefaults hydrates default values in the post system gc schedule params (not the query body).

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

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 *legacy.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) WithDefaults ¶

WithDefaults hydrates default values in the post system gc schedule params (not the query body).

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

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 describes a response with status code 401, 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 PostSystemOidcPingBadRequest ¶

type PostSystemOidcPingBadRequest struct {
}
PostSystemOidcPingBadRequest describes a response with status code 400, with default header values.

The ping failed

func NewPostSystemOidcPingBadRequest ¶

func NewPostSystemOidcPingBadRequest() *PostSystemOidcPingBadRequest

NewPostSystemOidcPingBadRequest creates a PostSystemOidcPingBadRequest with default headers values

func (*PostSystemOidcPingBadRequest) Error ¶

type PostSystemOidcPingBody ¶

type PostSystemOidcPingBody struct {

	// The URL of OIDC endpoint to be tested.
	URL string `json:"url,omitempty"`

	// Whether the certificate should be verified
	VerifyCert bool `json:"verify_cert,omitempty"`
}

PostSystemOidcPingBody post system oidc ping body swagger:model PostSystemOidcPingBody

func (*PostSystemOidcPingBody) ContextValidate ¶

func (o *PostSystemOidcPingBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this post system oidc ping body based on context it is used

func (*PostSystemOidcPingBody) MarshalBinary ¶

func (o *PostSystemOidcPingBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostSystemOidcPingBody) UnmarshalBinary ¶

func (o *PostSystemOidcPingBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostSystemOidcPingBody) Validate ¶

func (o *PostSystemOidcPingBody) Validate(formats strfmt.Registry) error

Validate validates this post system oidc ping body

type PostSystemOidcPingForbidden ¶

type PostSystemOidcPingForbidden struct {
}
PostSystemOidcPingForbidden describes a response with status code 403, with default header values.

User does not have permission to call this API

func NewPostSystemOidcPingForbidden ¶

func NewPostSystemOidcPingForbidden() *PostSystemOidcPingForbidden

NewPostSystemOidcPingForbidden creates a PostSystemOidcPingForbidden with default headers values

func (*PostSystemOidcPingForbidden) Error ¶

type PostSystemOidcPingOK ¶

type PostSystemOidcPingOK struct {
}
PostSystemOidcPingOK describes a response with status code 200, with default header values.

Ping succeeded. The OIDC endpoint is valid.

func NewPostSystemOidcPingOK ¶

func NewPostSystemOidcPingOK() *PostSystemOidcPingOK

NewPostSystemOidcPingOK creates a PostSystemOidcPingOK with default headers values

func (*PostSystemOidcPingOK) Error ¶

func (o *PostSystemOidcPingOK) Error() string

type PostSystemOidcPingParams ¶

type PostSystemOidcPingParams struct {

	/* Endpoint.

	   Request body for OIDC endpoint to be tested.
	*/
	Endpoint PostSystemOidcPingBody

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

PostSystemOidcPingParams contains all the parameters to send to the API endpoint

for the post system oidc ping operation.

Typically these are written to a http.Request.

func NewPostSystemOidcPingParams ¶

func NewPostSystemOidcPingParams() *PostSystemOidcPingParams

NewPostSystemOidcPingParams creates a new PostSystemOidcPingParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostSystemOidcPingParamsWithContext ¶

func NewPostSystemOidcPingParamsWithContext(ctx context.Context) *PostSystemOidcPingParams

NewPostSystemOidcPingParamsWithContext creates a new PostSystemOidcPingParams object with the ability to set a context for a request.

func NewPostSystemOidcPingParamsWithHTTPClient ¶

func NewPostSystemOidcPingParamsWithHTTPClient(client *http.Client) *PostSystemOidcPingParams

NewPostSystemOidcPingParamsWithHTTPClient creates a new PostSystemOidcPingParams object with the ability to set a custom HTTPClient for a request.

func NewPostSystemOidcPingParamsWithTimeout ¶

func NewPostSystemOidcPingParamsWithTimeout(timeout time.Duration) *PostSystemOidcPingParams

NewPostSystemOidcPingParamsWithTimeout creates a new PostSystemOidcPingParams object with the ability to set a timeout on a request.

func (*PostSystemOidcPingParams) SetContext ¶

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

SetContext adds the context to the post system oidc ping params

func (*PostSystemOidcPingParams) SetDefaults ¶

func (o *PostSystemOidcPingParams) SetDefaults()

SetDefaults hydrates default values in the post system oidc ping params (not the query body).

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

func (*PostSystemOidcPingParams) SetEndpoint ¶

func (o *PostSystemOidcPingParams) SetEndpoint(endpoint PostSystemOidcPingBody)

SetEndpoint adds the endpoint to the post system oidc ping params

func (*PostSystemOidcPingParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the post system oidc ping params

func (*PostSystemOidcPingParams) SetTimeout ¶

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

SetTimeout adds the timeout to the post system oidc ping params

func (*PostSystemOidcPingParams) WithContext ¶

WithContext adds the context to the post system oidc ping params

func (*PostSystemOidcPingParams) WithDefaults ¶

WithDefaults hydrates default values in the post system oidc ping params (not the query body).

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

func (*PostSystemOidcPingParams) WithEndpoint ¶

WithEndpoint adds the endpoint to the post system oidc ping params

func (*PostSystemOidcPingParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the post system oidc ping params

func (*PostSystemOidcPingParams) WithTimeout ¶

WithTimeout adds the timeout to the post system oidc ping params

func (*PostSystemOidcPingParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PostSystemOidcPingReader ¶

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

PostSystemOidcPingReader is a Reader for the PostSystemOidcPing structure.

func (*PostSystemOidcPingReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type PostSystemOidcPingUnauthorized ¶

type PostSystemOidcPingUnauthorized struct {
}
PostSystemOidcPingUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPostSystemOidcPingUnauthorized ¶

func NewPostSystemOidcPingUnauthorized() *PostSystemOidcPingUnauthorized

NewPostSystemOidcPingUnauthorized creates a PostSystemOidcPingUnauthorized with default headers values

func (*PostSystemOidcPingUnauthorized) Error ¶

type PostSystemScanAllScheduleBadRequest ¶

type PostSystemScanAllScheduleBadRequest struct {
}
PostSystemScanAllScheduleBadRequest describes a response with status code 400, with default header values.

Invalid schedule type.

func NewPostSystemScanAllScheduleBadRequest ¶

func NewPostSystemScanAllScheduleBadRequest() *PostSystemScanAllScheduleBadRequest

NewPostSystemScanAllScheduleBadRequest creates a PostSystemScanAllScheduleBadRequest with default headers values

func (*PostSystemScanAllScheduleBadRequest) Error ¶

type PostSystemScanAllScheduleConflict ¶

type PostSystemScanAllScheduleConflict struct {
}
PostSystemScanAllScheduleConflict describes a response with status code 409, with default header values.

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

func NewPostSystemScanAllScheduleConflict ¶

func NewPostSystemScanAllScheduleConflict() *PostSystemScanAllScheduleConflict

NewPostSystemScanAllScheduleConflict creates a PostSystemScanAllScheduleConflict with default headers values

func (*PostSystemScanAllScheduleConflict) Error ¶

type PostSystemScanAllScheduleForbidden ¶

type PostSystemScanAllScheduleForbidden struct {
}
PostSystemScanAllScheduleForbidden describes a response with status code 403, with default header values.

User does not have permission of admin role.

func NewPostSystemScanAllScheduleForbidden ¶

func NewPostSystemScanAllScheduleForbidden() *PostSystemScanAllScheduleForbidden

NewPostSystemScanAllScheduleForbidden creates a PostSystemScanAllScheduleForbidden with default headers values

func (*PostSystemScanAllScheduleForbidden) Error ¶

type PostSystemScanAllScheduleInternalServerError ¶

type PostSystemScanAllScheduleInternalServerError struct {
}
PostSystemScanAllScheduleInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPostSystemScanAllScheduleInternalServerError ¶

func NewPostSystemScanAllScheduleInternalServerError() *PostSystemScanAllScheduleInternalServerError

NewPostSystemScanAllScheduleInternalServerError creates a PostSystemScanAllScheduleInternalServerError with default headers values

func (*PostSystemScanAllScheduleInternalServerError) Error ¶

type PostSystemScanAllScheduleOK ¶

type PostSystemScanAllScheduleOK struct {
}
PostSystemScanAllScheduleOK describes a response with status code 200, with default header values.

Updated scan_all's schedule successfully.

func NewPostSystemScanAllScheduleOK ¶

func NewPostSystemScanAllScheduleOK() *PostSystemScanAllScheduleOK

NewPostSystemScanAllScheduleOK creates a PostSystemScanAllScheduleOK with default headers values

func (*PostSystemScanAllScheduleOK) Error ¶

type PostSystemScanAllScheduleParams ¶

type PostSystemScanAllScheduleParams struct {

	/* Schedule.

	   Create a schedule or a manual trigger for the scan all job.
	*/
	Schedule *legacy.AdminJobSchedule

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

PostSystemScanAllScheduleParams contains all the parameters to send to the API endpoint

for the post system scan all schedule operation.

Typically these are written to a http.Request.

func NewPostSystemScanAllScheduleParams ¶

func NewPostSystemScanAllScheduleParams() *PostSystemScanAllScheduleParams

NewPostSystemScanAllScheduleParams creates a new PostSystemScanAllScheduleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostSystemScanAllScheduleParamsWithContext ¶

func NewPostSystemScanAllScheduleParamsWithContext(ctx context.Context) *PostSystemScanAllScheduleParams

NewPostSystemScanAllScheduleParamsWithContext creates a new PostSystemScanAllScheduleParams object with the ability to set a context for a request.

func NewPostSystemScanAllScheduleParamsWithHTTPClient ¶

func NewPostSystemScanAllScheduleParamsWithHTTPClient(client *http.Client) *PostSystemScanAllScheduleParams

NewPostSystemScanAllScheduleParamsWithHTTPClient creates a new PostSystemScanAllScheduleParams object with the ability to set a custom HTTPClient for a request.

func NewPostSystemScanAllScheduleParamsWithTimeout ¶

func NewPostSystemScanAllScheduleParamsWithTimeout(timeout time.Duration) *PostSystemScanAllScheduleParams

NewPostSystemScanAllScheduleParamsWithTimeout creates a new PostSystemScanAllScheduleParams object with the ability to set a timeout on a request.

func (*PostSystemScanAllScheduleParams) SetContext ¶

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

SetContext adds the context to the post system scan all schedule params

func (*PostSystemScanAllScheduleParams) SetDefaults ¶

func (o *PostSystemScanAllScheduleParams) SetDefaults()

SetDefaults hydrates default values in the post system scan all schedule params (not the query body).

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

func (*PostSystemScanAllScheduleParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the post system scan all schedule params

func (*PostSystemScanAllScheduleParams) SetSchedule ¶

func (o *PostSystemScanAllScheduleParams) SetSchedule(schedule *legacy.AdminJobSchedule)

SetSchedule adds the schedule to the post system scan all schedule params

func (*PostSystemScanAllScheduleParams) SetTimeout ¶

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

SetTimeout adds the timeout to the post system scan all schedule params

func (*PostSystemScanAllScheduleParams) WithContext ¶

WithContext adds the context to the post system scan all schedule params

func (*PostSystemScanAllScheduleParams) WithDefaults ¶

WithDefaults hydrates default values in the post system scan all schedule params (not the query body).

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

func (*PostSystemScanAllScheduleParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the post system scan all schedule params

func (*PostSystemScanAllScheduleParams) WithSchedule ¶

WithSchedule adds the schedule to the post system scan all schedule params

func (*PostSystemScanAllScheduleParams) WithTimeout ¶

WithTimeout adds the timeout to the post system scan all schedule params

func (*PostSystemScanAllScheduleParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PostSystemScanAllScheduleReader ¶

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

PostSystemScanAllScheduleReader is a Reader for the PostSystemScanAllSchedule structure.

func (*PostSystemScanAllScheduleReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type PostSystemScanAllScheduleServiceUnavailable ¶

type PostSystemScanAllScheduleServiceUnavailable struct {
}
PostSystemScanAllScheduleServiceUnavailable describes a response with status code 503, with default header values.

Harbor is not deployed with scanners.

func NewPostSystemScanAllScheduleServiceUnavailable ¶

func NewPostSystemScanAllScheduleServiceUnavailable() *PostSystemScanAllScheduleServiceUnavailable

NewPostSystemScanAllScheduleServiceUnavailable creates a PostSystemScanAllScheduleServiceUnavailable with default headers values

func (*PostSystemScanAllScheduleServiceUnavailable) Error ¶

type PostSystemScanAllScheduleUnauthorized ¶

type PostSystemScanAllScheduleUnauthorized struct {
}
PostSystemScanAllScheduleUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPostSystemScanAllScheduleUnauthorized ¶

func NewPostSystemScanAllScheduleUnauthorized() *PostSystemScanAllScheduleUnauthorized

NewPostSystemScanAllScheduleUnauthorized creates a PostSystemScanAllScheduleUnauthorized with default headers values

func (*PostSystemScanAllScheduleUnauthorized) Error ¶

type PostUsergroupsBadRequest ¶

type PostUsergroupsBadRequest struct {
}
PostUsergroupsBadRequest describes a response with status code 400, with default header values.

Invalid LDAP group DN.

func NewPostUsergroupsBadRequest ¶

func NewPostUsergroupsBadRequest() *PostUsergroupsBadRequest

NewPostUsergroupsBadRequest creates a PostUsergroupsBadRequest with default headers values

func (*PostUsergroupsBadRequest) Error ¶

func (o *PostUsergroupsBadRequest) Error() string

type PostUsergroupsConflict ¶

type PostUsergroupsConflict struct {
}
PostUsergroupsConflict describes a response with status code 409, with default header values.

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

func NewPostUsergroupsConflict ¶

func NewPostUsergroupsConflict() *PostUsergroupsConflict

NewPostUsergroupsConflict creates a PostUsergroupsConflict with default headers values

func (*PostUsergroupsConflict) Error ¶

func (o *PostUsergroupsConflict) Error() string

type PostUsergroupsCreated ¶

type PostUsergroupsCreated struct {
}
PostUsergroupsCreated describes a response with status code 201, with default header values.

User group created successfully.

func NewPostUsergroupsCreated ¶

func NewPostUsergroupsCreated() *PostUsergroupsCreated

NewPostUsergroupsCreated creates a PostUsergroupsCreated with default headers values

func (*PostUsergroupsCreated) Error ¶

func (o *PostUsergroupsCreated) Error() string

type PostUsergroupsForbidden ¶

type PostUsergroupsForbidden struct {
}
PostUsergroupsForbidden describes a response with status code 403, with default header values.

User in session does not have permission to the user group.

func NewPostUsergroupsForbidden ¶

func NewPostUsergroupsForbidden() *PostUsergroupsForbidden

NewPostUsergroupsForbidden creates a PostUsergroupsForbidden with default headers values

func (*PostUsergroupsForbidden) Error ¶

func (o *PostUsergroupsForbidden) Error() string

type PostUsergroupsInternalServerError ¶

type PostUsergroupsInternalServerError struct {
}
PostUsergroupsInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPostUsergroupsInternalServerError ¶

func NewPostUsergroupsInternalServerError() *PostUsergroupsInternalServerError

NewPostUsergroupsInternalServerError creates a PostUsergroupsInternalServerError with default headers values

func (*PostUsergroupsInternalServerError) Error ¶

type PostUsergroupsParams ¶

type PostUsergroupsParams struct {

	// Usergroup.
	Usergroup *legacy.UserGroup

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

PostUsergroupsParams contains all the parameters to send to the API endpoint

for the post usergroups operation.

Typically these are written to a http.Request.

func NewPostUsergroupsParams ¶

func NewPostUsergroupsParams() *PostUsergroupsParams

NewPostUsergroupsParams creates a new PostUsergroupsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostUsergroupsParamsWithContext ¶

func NewPostUsergroupsParamsWithContext(ctx context.Context) *PostUsergroupsParams

NewPostUsergroupsParamsWithContext creates a new PostUsergroupsParams object with the ability to set a context for a request.

func NewPostUsergroupsParamsWithHTTPClient ¶

func NewPostUsergroupsParamsWithHTTPClient(client *http.Client) *PostUsergroupsParams

NewPostUsergroupsParamsWithHTTPClient creates a new PostUsergroupsParams object with the ability to set a custom HTTPClient for a request.

func NewPostUsergroupsParamsWithTimeout ¶

func NewPostUsergroupsParamsWithTimeout(timeout time.Duration) *PostUsergroupsParams

NewPostUsergroupsParamsWithTimeout creates a new PostUsergroupsParams object with the ability to set a timeout on a request.

func (*PostUsergroupsParams) SetContext ¶

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

SetContext adds the context to the post usergroups params

func (*PostUsergroupsParams) SetDefaults ¶

func (o *PostUsergroupsParams) SetDefaults()

SetDefaults hydrates default values in the post usergroups params (not the query body).

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

func (*PostUsergroupsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the post usergroups params

func (*PostUsergroupsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the post usergroups params

func (*PostUsergroupsParams) SetUsergroup ¶

func (o *PostUsergroupsParams) SetUsergroup(usergroup *legacy.UserGroup)

SetUsergroup adds the usergroup to the post usergroups params

func (*PostUsergroupsParams) WithContext ¶

WithContext adds the context to the post usergroups params

func (*PostUsergroupsParams) WithDefaults ¶

func (o *PostUsergroupsParams) WithDefaults() *PostUsergroupsParams

WithDefaults hydrates default values in the post usergroups params (not the query body).

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

func (*PostUsergroupsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the post usergroups params

func (*PostUsergroupsParams) WithTimeout ¶

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

WithTimeout adds the timeout to the post usergroups params

func (*PostUsergroupsParams) WithUsergroup ¶

func (o *PostUsergroupsParams) WithUsergroup(usergroup *legacy.UserGroup) *PostUsergroupsParams

WithUsergroup adds the usergroup to the post usergroups params

func (*PostUsergroupsParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type PostUsergroupsReader ¶

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

PostUsergroupsReader is a Reader for the PostUsergroups structure.

func (*PostUsergroupsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type PostUsergroupsUnauthorized ¶

type PostUsergroupsUnauthorized struct {
}
PostUsergroupsUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPostUsergroupsUnauthorized ¶

func NewPostUsergroupsUnauthorized() *PostUsergroupsUnauthorized

NewPostUsergroupsUnauthorized creates a PostUsergroupsUnauthorized with default headers values

func (*PostUsergroupsUnauthorized) Error ¶

type PostUsersBadRequest ¶

type PostUsersBadRequest struct {
}
PostUsersBadRequest describes a response with status code 400, 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 describes a response with status code 201, 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 describes a response with status code 403, 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 describes a response with status code 500, with default header values.

Unexpected generate 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 *legacy.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostUsersParamsWithContext ¶

func NewPostUsersParamsWithContext(ctx context.Context) *PostUsersParams

NewPostUsersParamsWithContext creates a new PostUsersParams object with 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 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 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) SetDefaults ¶

func (o *PostUsersParams) SetDefaults()

SetDefaults hydrates default values in the post users params (not the query body).

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

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 *legacy.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) WithDefaults ¶

func (o *PostUsersParams) WithDefaults() *PostUsersParams

WithDefaults hydrates default values in the post users params (not the query body).

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

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 *legacy.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 describes a response with status code 415, 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 PutConfigurationsForbidden ¶

type PutConfigurationsForbidden struct {
}
PutConfigurationsForbidden describes a response with status code 403, with default header values.

User does not have permission of admin role.

func NewPutConfigurationsForbidden ¶

func NewPutConfigurationsForbidden() *PutConfigurationsForbidden

NewPutConfigurationsForbidden creates a PutConfigurationsForbidden with default headers values

func (*PutConfigurationsForbidden) Error ¶

type PutConfigurationsInternalServerError ¶

type PutConfigurationsInternalServerError struct {
}
PutConfigurationsInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPutConfigurationsInternalServerError ¶

func NewPutConfigurationsInternalServerError() *PutConfigurationsInternalServerError

NewPutConfigurationsInternalServerError creates a PutConfigurationsInternalServerError with default headers values

func (*PutConfigurationsInternalServerError) Error ¶

type PutConfigurationsOK ¶

type PutConfigurationsOK struct {
}
PutConfigurationsOK describes a response with status code 200, with default header values.

Modify system configurations successfully.

func NewPutConfigurationsOK ¶

func NewPutConfigurationsOK() *PutConfigurationsOK

NewPutConfigurationsOK creates a PutConfigurationsOK with default headers values

func (*PutConfigurationsOK) Error ¶

func (o *PutConfigurationsOK) Error() string

type PutConfigurationsParams ¶

type PutConfigurationsParams struct {

	/* Configurations.

	   The configuration map can contain a subset of the attributes of the schema, which are to be updated.
	*/
	Configurations *legacy.Configurations

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

PutConfigurationsParams contains all the parameters to send to the API endpoint

for the put configurations operation.

Typically these are written to a http.Request.

func NewPutConfigurationsParams ¶

func NewPutConfigurationsParams() *PutConfigurationsParams

NewPutConfigurationsParams creates a new PutConfigurationsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutConfigurationsParamsWithContext ¶

func NewPutConfigurationsParamsWithContext(ctx context.Context) *PutConfigurationsParams

NewPutConfigurationsParamsWithContext creates a new PutConfigurationsParams object with the ability to set a context for a request.

func NewPutConfigurationsParamsWithHTTPClient ¶

func NewPutConfigurationsParamsWithHTTPClient(client *http.Client) *PutConfigurationsParams

NewPutConfigurationsParamsWithHTTPClient creates a new PutConfigurationsParams object with the ability to set a custom HTTPClient for a request.

func NewPutConfigurationsParamsWithTimeout ¶

func NewPutConfigurationsParamsWithTimeout(timeout time.Duration) *PutConfigurationsParams

NewPutConfigurationsParamsWithTimeout creates a new PutConfigurationsParams object with the ability to set a timeout on a request.

func (*PutConfigurationsParams) SetConfigurations ¶

func (o *PutConfigurationsParams) SetConfigurations(configurations *legacy.Configurations)

SetConfigurations adds the configurations to the put configurations params

func (*PutConfigurationsParams) SetContext ¶

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

SetContext adds the context to the put configurations params

func (*PutConfigurationsParams) SetDefaults ¶

func (o *PutConfigurationsParams) SetDefaults()

SetDefaults hydrates default values in the put configurations params (not the query body).

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

func (*PutConfigurationsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the put configurations params

func (*PutConfigurationsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the put configurations params

func (*PutConfigurationsParams) WithConfigurations ¶

func (o *PutConfigurationsParams) WithConfigurations(configurations *legacy.Configurations) *PutConfigurationsParams

WithConfigurations adds the configurations to the put configurations params

func (*PutConfigurationsParams) WithContext ¶

WithContext adds the context to the put configurations params

func (*PutConfigurationsParams) WithDefaults ¶

WithDefaults hydrates default values in the put configurations params (not the query body).

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

func (*PutConfigurationsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the put configurations params

func (*PutConfigurationsParams) WithTimeout ¶

WithTimeout adds the timeout to the put configurations params

func (*PutConfigurationsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PutConfigurationsReader ¶

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

PutConfigurationsReader is a Reader for the PutConfigurations structure.

func (*PutConfigurationsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type PutConfigurationsUnauthorized ¶

type PutConfigurationsUnauthorized struct {
}
PutConfigurationsUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPutConfigurationsUnauthorized ¶

func NewPutConfigurationsUnauthorized() *PutConfigurationsUnauthorized

NewPutConfigurationsUnauthorized creates a PutConfigurationsUnauthorized with default headers values

func (*PutConfigurationsUnauthorized) Error ¶

type PutLabelsIDBadRequest ¶

type PutLabelsIDBadRequest struct {
}
PutLabelsIDBadRequest describes a response with status code 400, with default header values.

Invalid parameters.

func NewPutLabelsIDBadRequest ¶

func NewPutLabelsIDBadRequest() *PutLabelsIDBadRequest

NewPutLabelsIDBadRequest creates a PutLabelsIDBadRequest with default headers values

func (*PutLabelsIDBadRequest) Error ¶

func (o *PutLabelsIDBadRequest) Error() string

type PutLabelsIDConflict ¶

type PutLabelsIDConflict struct {
}
PutLabelsIDConflict describes a response with status code 409, with default header values.

The label with the same name already exists.

func NewPutLabelsIDConflict ¶

func NewPutLabelsIDConflict() *PutLabelsIDConflict

NewPutLabelsIDConflict creates a PutLabelsIDConflict with default headers values

func (*PutLabelsIDConflict) Error ¶

func (o *PutLabelsIDConflict) Error() string

type PutLabelsIDInternalServerError ¶

type PutLabelsIDInternalServerError struct {
}
PutLabelsIDInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPutLabelsIDInternalServerError ¶

func NewPutLabelsIDInternalServerError() *PutLabelsIDInternalServerError

NewPutLabelsIDInternalServerError creates a PutLabelsIDInternalServerError with default headers values

func (*PutLabelsIDInternalServerError) Error ¶

type PutLabelsIDNotFound ¶

type PutLabelsIDNotFound struct {
}
PutLabelsIDNotFound describes a response with status code 404, with default header values.

The resource does not exist.

func NewPutLabelsIDNotFound ¶

func NewPutLabelsIDNotFound() *PutLabelsIDNotFound

NewPutLabelsIDNotFound creates a PutLabelsIDNotFound with default headers values

func (*PutLabelsIDNotFound) Error ¶

func (o *PutLabelsIDNotFound) Error() string

type PutLabelsIDOK ¶

type PutLabelsIDOK struct {
}
PutLabelsIDOK describes a response with status code 200, with default header values.

Update successfully.

func NewPutLabelsIDOK ¶

func NewPutLabelsIDOK() *PutLabelsIDOK

NewPutLabelsIDOK creates a PutLabelsIDOK with default headers values

func (*PutLabelsIDOK) Error ¶

func (o *PutLabelsIDOK) Error() string

type PutLabelsIDParams ¶

type PutLabelsIDParams struct {

	/* ID.

	   Label ID

	   Format: int64
	*/
	ID int64

	/* Label.

	   The updated label json object.
	*/
	Label *legacy.Label

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

PutLabelsIDParams contains all the parameters to send to the API endpoint

for the put labels ID operation.

Typically these are written to a http.Request.

func NewPutLabelsIDParams ¶

func NewPutLabelsIDParams() *PutLabelsIDParams

NewPutLabelsIDParams creates a new PutLabelsIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutLabelsIDParamsWithContext ¶

func NewPutLabelsIDParamsWithContext(ctx context.Context) *PutLabelsIDParams

NewPutLabelsIDParamsWithContext creates a new PutLabelsIDParams object with the ability to set a context for a request.

func NewPutLabelsIDParamsWithHTTPClient ¶

func NewPutLabelsIDParamsWithHTTPClient(client *http.Client) *PutLabelsIDParams

NewPutLabelsIDParamsWithHTTPClient creates a new PutLabelsIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutLabelsIDParamsWithTimeout ¶

func NewPutLabelsIDParamsWithTimeout(timeout time.Duration) *PutLabelsIDParams

NewPutLabelsIDParamsWithTimeout creates a new PutLabelsIDParams object with the ability to set a timeout on a request.

func (*PutLabelsIDParams) SetContext ¶

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

SetContext adds the context to the put labels ID params

func (*PutLabelsIDParams) SetDefaults ¶

func (o *PutLabelsIDParams) SetDefaults()

SetDefaults hydrates default values in the put labels ID params (not the query body).

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

func (*PutLabelsIDParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the put labels ID params

func (*PutLabelsIDParams) SetID ¶

func (o *PutLabelsIDParams) SetID(id int64)

SetID adds the id to the put labels ID params

func (*PutLabelsIDParams) SetLabel ¶

func (o *PutLabelsIDParams) SetLabel(label *legacy.Label)

SetLabel adds the label to the put labels ID params

func (*PutLabelsIDParams) SetTimeout ¶

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

SetTimeout adds the timeout to the put labels ID params

func (*PutLabelsIDParams) WithContext ¶

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

WithContext adds the context to the put labels ID params

func (*PutLabelsIDParams) WithDefaults ¶

func (o *PutLabelsIDParams) WithDefaults() *PutLabelsIDParams

WithDefaults hydrates default values in the put labels ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutLabelsIDParams) WithHTTPClient ¶

func (o *PutLabelsIDParams) WithHTTPClient(client *http.Client) *PutLabelsIDParams

WithHTTPClient adds the HTTPClient to the put labels ID params

func (*PutLabelsIDParams) WithID ¶

func (o *PutLabelsIDParams) WithID(id int64) *PutLabelsIDParams

WithID adds the id to the put labels ID params

func (*PutLabelsIDParams) WithLabel ¶

func (o *PutLabelsIDParams) WithLabel(label *legacy.Label) *PutLabelsIDParams

WithLabel adds the label to the put labels ID params

func (*PutLabelsIDParams) WithTimeout ¶

func (o *PutLabelsIDParams) WithTimeout(timeout time.Duration) *PutLabelsIDParams

WithTimeout adds the timeout to the put labels ID params

func (*PutLabelsIDParams) WriteToRequest ¶

func (o *PutLabelsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutLabelsIDReader ¶

type PutLabelsIDReader struct {
	// contains filtered or unexported fields
}

PutLabelsIDReader is a Reader for the PutLabelsID structure.

func (*PutLabelsIDReader) ReadResponse ¶

func (o *PutLabelsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutLabelsIDUnauthorized ¶

type PutLabelsIDUnauthorized struct {
}
PutLabelsIDUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPutLabelsIDUnauthorized ¶

func NewPutLabelsIDUnauthorized() *PutLabelsIDUnauthorized

NewPutLabelsIDUnauthorized creates a PutLabelsIDUnauthorized with default headers values

func (*PutLabelsIDUnauthorized) Error ¶

func (o *PutLabelsIDUnauthorized) Error() string

type PutProjectsProjectIDImmutabletagrulesIDBadRequest ¶

type PutProjectsProjectIDImmutabletagrulesIDBadRequest struct {
}
PutProjectsProjectIDImmutabletagrulesIDBadRequest describes a response with status code 400, with default header values.

Illegal format of provided ID value.

func NewPutProjectsProjectIDImmutabletagrulesIDBadRequest ¶

func NewPutProjectsProjectIDImmutabletagrulesIDBadRequest() *PutProjectsProjectIDImmutabletagrulesIDBadRequest

NewPutProjectsProjectIDImmutabletagrulesIDBadRequest creates a PutProjectsProjectIDImmutabletagrulesIDBadRequest with default headers values

func (*PutProjectsProjectIDImmutabletagrulesIDBadRequest) Error ¶

type PutProjectsProjectIDImmutabletagrulesIDForbidden ¶

type PutProjectsProjectIDImmutabletagrulesIDForbidden struct {
}
PutProjectsProjectIDImmutabletagrulesIDForbidden describes a response with status code 403, with default header values.

User have no permission to update the immutable tag rule of the project.

func NewPutProjectsProjectIDImmutabletagrulesIDForbidden ¶

func NewPutProjectsProjectIDImmutabletagrulesIDForbidden() *PutProjectsProjectIDImmutabletagrulesIDForbidden

NewPutProjectsProjectIDImmutabletagrulesIDForbidden creates a PutProjectsProjectIDImmutabletagrulesIDForbidden with default headers values

func (*PutProjectsProjectIDImmutabletagrulesIDForbidden) Error ¶

type PutProjectsProjectIDImmutabletagrulesIDInternalServerError ¶

type PutProjectsProjectIDImmutabletagrulesIDInternalServerError struct {
}
PutProjectsProjectIDImmutabletagrulesIDInternalServerError describes a response with status code 500, with default header values.

Internal server errors.

func NewPutProjectsProjectIDImmutabletagrulesIDInternalServerError ¶

func NewPutProjectsProjectIDImmutabletagrulesIDInternalServerError() *PutProjectsProjectIDImmutabletagrulesIDInternalServerError

NewPutProjectsProjectIDImmutabletagrulesIDInternalServerError creates a PutProjectsProjectIDImmutabletagrulesIDInternalServerError with default headers values

func (*PutProjectsProjectIDImmutabletagrulesIDInternalServerError) Error ¶

type PutProjectsProjectIDImmutabletagrulesIDOK ¶

type PutProjectsProjectIDImmutabletagrulesIDOK struct {
}
PutProjectsProjectIDImmutabletagrulesIDOK describes a response with status code 200, with default header values.

Update the immutable tag rule successfully.

func NewPutProjectsProjectIDImmutabletagrulesIDOK ¶

func NewPutProjectsProjectIDImmutabletagrulesIDOK() *PutProjectsProjectIDImmutabletagrulesIDOK

NewPutProjectsProjectIDImmutabletagrulesIDOK creates a PutProjectsProjectIDImmutabletagrulesIDOK with default headers values

func (*PutProjectsProjectIDImmutabletagrulesIDOK) Error ¶

type PutProjectsProjectIDImmutabletagrulesIDParams ¶

type PutProjectsProjectIDImmutabletagrulesIDParams struct {

	// RetentionRule.
	RetentionRule *legacy.RetentionRule

	/* ID.

	   Immutable tag rule ID.

	   Format: int64
	*/
	ID int64

	/* ProjectID.

	   Relevant project ID.

	   Format: int64
	*/
	ProjectID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutProjectsProjectIDImmutabletagrulesIDParams contains all the parameters to send to the API endpoint

for the put projects project ID immutabletagrules ID operation.

Typically these are written to a http.Request.

func NewPutProjectsProjectIDImmutabletagrulesIDParams ¶

func NewPutProjectsProjectIDImmutabletagrulesIDParams() *PutProjectsProjectIDImmutabletagrulesIDParams

NewPutProjectsProjectIDImmutabletagrulesIDParams creates a new PutProjectsProjectIDImmutabletagrulesIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutProjectsProjectIDImmutabletagrulesIDParamsWithContext ¶

func NewPutProjectsProjectIDImmutabletagrulesIDParamsWithContext(ctx context.Context) *PutProjectsProjectIDImmutabletagrulesIDParams

NewPutProjectsProjectIDImmutabletagrulesIDParamsWithContext creates a new PutProjectsProjectIDImmutabletagrulesIDParams object with the ability to set a context for a request.

func NewPutProjectsProjectIDImmutabletagrulesIDParamsWithHTTPClient ¶

func NewPutProjectsProjectIDImmutabletagrulesIDParamsWithHTTPClient(client *http.Client) *PutProjectsProjectIDImmutabletagrulesIDParams

NewPutProjectsProjectIDImmutabletagrulesIDParamsWithHTTPClient creates a new PutProjectsProjectIDImmutabletagrulesIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutProjectsProjectIDImmutabletagrulesIDParamsWithTimeout ¶

func NewPutProjectsProjectIDImmutabletagrulesIDParamsWithTimeout(timeout time.Duration) *PutProjectsProjectIDImmutabletagrulesIDParams

NewPutProjectsProjectIDImmutabletagrulesIDParamsWithTimeout creates a new PutProjectsProjectIDImmutabletagrulesIDParams object with the ability to set a timeout on a request.

func (*PutProjectsProjectIDImmutabletagrulesIDParams) SetContext ¶

SetContext adds the context to the put projects project ID immutabletagrules ID params

func (*PutProjectsProjectIDImmutabletagrulesIDParams) SetDefaults ¶

SetDefaults hydrates default values in the put projects project ID immutabletagrules ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutProjectsProjectIDImmutabletagrulesIDParams) SetHTTPClient ¶

func (o *PutProjectsProjectIDImmutabletagrulesIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put projects project ID immutabletagrules ID params

func (*PutProjectsProjectIDImmutabletagrulesIDParams) SetID ¶

SetID adds the id to the put projects project ID immutabletagrules ID params

func (*PutProjectsProjectIDImmutabletagrulesIDParams) SetProjectID ¶

func (o *PutProjectsProjectIDImmutabletagrulesIDParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the put projects project ID immutabletagrules ID params

func (*PutProjectsProjectIDImmutabletagrulesIDParams) SetRetentionRule ¶

func (o *PutProjectsProjectIDImmutabletagrulesIDParams) SetRetentionRule(retentionRule *legacy.RetentionRule)

SetRetentionRule adds the retentionRule to the put projects project ID immutabletagrules ID params

func (*PutProjectsProjectIDImmutabletagrulesIDParams) SetTimeout ¶

SetTimeout adds the timeout to the put projects project ID immutabletagrules ID params

func (*PutProjectsProjectIDImmutabletagrulesIDParams) WithContext ¶

WithContext adds the context to the put projects project ID immutabletagrules ID params

func (*PutProjectsProjectIDImmutabletagrulesIDParams) WithDefaults ¶

WithDefaults hydrates default values in the put projects project ID immutabletagrules ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutProjectsProjectIDImmutabletagrulesIDParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the put projects project ID immutabletagrules ID params

func (*PutProjectsProjectIDImmutabletagrulesIDParams) WithID ¶

WithID adds the id to the put projects project ID immutabletagrules ID params

func (*PutProjectsProjectIDImmutabletagrulesIDParams) WithProjectID ¶

WithProjectID adds the projectID to the put projects project ID immutabletagrules ID params

func (*PutProjectsProjectIDImmutabletagrulesIDParams) WithRetentionRule ¶

WithRetentionRule adds the retentionRule to the put projects project ID immutabletagrules ID params

func (*PutProjectsProjectIDImmutabletagrulesIDParams) WithTimeout ¶

WithTimeout adds the timeout to the put projects project ID immutabletagrules ID params

func (*PutProjectsProjectIDImmutabletagrulesIDParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PutProjectsProjectIDImmutabletagrulesIDReader ¶

type PutProjectsProjectIDImmutabletagrulesIDReader struct {
	// contains filtered or unexported fields
}

PutProjectsProjectIDImmutabletagrulesIDReader is a Reader for the PutProjectsProjectIDImmutabletagrulesID structure.

func (*PutProjectsProjectIDImmutabletagrulesIDReader) ReadResponse ¶

func (o *PutProjectsProjectIDImmutabletagrulesIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutProjectsProjectIDImmutabletagrulesIDUnauthorized ¶

type PutProjectsProjectIDImmutabletagrulesIDUnauthorized struct {
}
PutProjectsProjectIDImmutabletagrulesIDUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPutProjectsProjectIDImmutabletagrulesIDUnauthorized ¶

func NewPutProjectsProjectIDImmutabletagrulesIDUnauthorized() *PutProjectsProjectIDImmutabletagrulesIDUnauthorized

NewPutProjectsProjectIDImmutabletagrulesIDUnauthorized creates a PutProjectsProjectIDImmutabletagrulesIDUnauthorized with default headers values

func (*PutProjectsProjectIDImmutabletagrulesIDUnauthorized) Error ¶

type PutProjectsProjectIDMembersMidBadRequest ¶

type PutProjectsProjectIDMembersMidBadRequest struct {
}
PutProjectsProjectIDMembersMidBadRequest describes a response with status code 400, 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 describes a response with status code 403, 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 describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPutProjectsProjectIDMembersMidInternalServerError ¶

func NewPutProjectsProjectIDMembersMidInternalServerError() *PutProjectsProjectIDMembersMidInternalServerError

NewPutProjectsProjectIDMembersMidInternalServerError creates a PutProjectsProjectIDMembersMidInternalServerError with default headers values

func (*PutProjectsProjectIDMembersMidInternalServerError) Error ¶

type PutProjectsProjectIDMembersMidNotFound ¶

type PutProjectsProjectIDMembersMidNotFound struct {
}
PutProjectsProjectIDMembersMidNotFound describes a response with status code 404, 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 describes a response with status code 200, 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.

	   Format: int64
	*/
	Mid int64

	/* ProjectID.

	   Relevant project ID.

	   Format: int64
	*/
	ProjectID int64

	// Role.
	Role *legacy.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutProjectsProjectIDMembersMidParamsWithContext ¶

func NewPutProjectsProjectIDMembersMidParamsWithContext(ctx context.Context) *PutProjectsProjectIDMembersMidParams

NewPutProjectsProjectIDMembersMidParamsWithContext creates a new PutProjectsProjectIDMembersMidParams object with 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 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 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) SetDefaults ¶

func (o *PutProjectsProjectIDMembersMidParams) SetDefaults()

SetDefaults hydrates default values in the put projects project ID members mid params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults ¶

WithDefaults hydrates default values in the put projects project ID members mid params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, 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 describes a response with status code 400, 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 describes a response with status code 403, 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 describes a response with status code 500, 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 describes a response with status code 404, 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 describes a response with status code 200, 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.

	   Format: int64
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutProjectsProjectIDMetadatasMetaNameParamsWithContext ¶

func NewPutProjectsProjectIDMetadatasMetaNameParamsWithContext(ctx context.Context) *PutProjectsProjectIDMetadatasMetaNameParams

NewPutProjectsProjectIDMetadatasMetaNameParamsWithContext creates a new PutProjectsProjectIDMetadatasMetaNameParams object with 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 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 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) SetDefaults ¶

SetDefaults hydrates default values in the put projects project ID metadatas meta name params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults ¶

WithDefaults hydrates default values in the put projects project ID metadatas meta name params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, 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 PutProjectsProjectIDRobotsRobotIDInternalServerError ¶

type PutProjectsProjectIDRobotsRobotIDInternalServerError struct {
}
PutProjectsProjectIDRobotsRobotIDInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPutProjectsProjectIDRobotsRobotIDInternalServerError ¶

func NewPutProjectsProjectIDRobotsRobotIDInternalServerError() *PutProjectsProjectIDRobotsRobotIDInternalServerError

NewPutProjectsProjectIDRobotsRobotIDInternalServerError creates a PutProjectsProjectIDRobotsRobotIDInternalServerError with default headers values

func (*PutProjectsProjectIDRobotsRobotIDInternalServerError) Error ¶

type PutProjectsProjectIDRobotsRobotIDOK ¶

type PutProjectsProjectIDRobotsRobotIDOK struct {
}
PutProjectsProjectIDRobotsRobotIDOK describes a response with status code 200, with default header values.

Robot account has been modified success.

func NewPutProjectsProjectIDRobotsRobotIDOK ¶

func NewPutProjectsProjectIDRobotsRobotIDOK() *PutProjectsProjectIDRobotsRobotIDOK

NewPutProjectsProjectIDRobotsRobotIDOK creates a PutProjectsProjectIDRobotsRobotIDOK with default headers values

func (*PutProjectsProjectIDRobotsRobotIDOK) Error ¶

type PutProjectsProjectIDRobotsRobotIDParams ¶

type PutProjectsProjectIDRobotsRobotIDParams struct {

	/* ProjectID.

	   Relevant project ID.

	   Format: int64
	*/
	ProjectID int64

	/* Robot.

	   Request body of enable/disable a robot account.
	*/
	Robot *legacy.RobotAccountUpdate

	/* RobotID.

	   The ID of robot account.

	   Format: int64
	*/
	RobotID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutProjectsProjectIDRobotsRobotIDParams contains all the parameters to send to the API endpoint

for the put projects project ID robots robot ID operation.

Typically these are written to a http.Request.

func NewPutProjectsProjectIDRobotsRobotIDParams ¶

func NewPutProjectsProjectIDRobotsRobotIDParams() *PutProjectsProjectIDRobotsRobotIDParams

NewPutProjectsProjectIDRobotsRobotIDParams creates a new PutProjectsProjectIDRobotsRobotIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutProjectsProjectIDRobotsRobotIDParamsWithContext ¶

func NewPutProjectsProjectIDRobotsRobotIDParamsWithContext(ctx context.Context) *PutProjectsProjectIDRobotsRobotIDParams

NewPutProjectsProjectIDRobotsRobotIDParamsWithContext creates a new PutProjectsProjectIDRobotsRobotIDParams object with the ability to set a context for a request.

func NewPutProjectsProjectIDRobotsRobotIDParamsWithHTTPClient ¶

func NewPutProjectsProjectIDRobotsRobotIDParamsWithHTTPClient(client *http.Client) *PutProjectsProjectIDRobotsRobotIDParams

NewPutProjectsProjectIDRobotsRobotIDParamsWithHTTPClient creates a new PutProjectsProjectIDRobotsRobotIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutProjectsProjectIDRobotsRobotIDParamsWithTimeout ¶

func NewPutProjectsProjectIDRobotsRobotIDParamsWithTimeout(timeout time.Duration) *PutProjectsProjectIDRobotsRobotIDParams

NewPutProjectsProjectIDRobotsRobotIDParamsWithTimeout creates a new PutProjectsProjectIDRobotsRobotIDParams object with the ability to set a timeout on a request.

func (*PutProjectsProjectIDRobotsRobotIDParams) SetContext ¶

SetContext adds the context to the put projects project ID robots robot ID params

func (*PutProjectsProjectIDRobotsRobotIDParams) SetDefaults ¶

func (o *PutProjectsProjectIDRobotsRobotIDParams) SetDefaults()

SetDefaults hydrates default values in the put projects project ID robots robot ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutProjectsProjectIDRobotsRobotIDParams) SetHTTPClient ¶

func (o *PutProjectsProjectIDRobotsRobotIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put projects project ID robots robot ID params

func (*PutProjectsProjectIDRobotsRobotIDParams) SetProjectID ¶

func (o *PutProjectsProjectIDRobotsRobotIDParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the put projects project ID robots robot ID params

func (*PutProjectsProjectIDRobotsRobotIDParams) SetRobot ¶

SetRobot adds the robot to the put projects project ID robots robot ID params

func (*PutProjectsProjectIDRobotsRobotIDParams) SetRobotID ¶

func (o *PutProjectsProjectIDRobotsRobotIDParams) SetRobotID(robotID int64)

SetRobotID adds the robotId to the put projects project ID robots robot ID params

func (*PutProjectsProjectIDRobotsRobotIDParams) SetTimeout ¶

func (o *PutProjectsProjectIDRobotsRobotIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put projects project ID robots robot ID params

func (*PutProjectsProjectIDRobotsRobotIDParams) WithContext ¶

WithContext adds the context to the put projects project ID robots robot ID params

func (*PutProjectsProjectIDRobotsRobotIDParams) WithDefaults ¶

WithDefaults hydrates default values in the put projects project ID robots robot ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutProjectsProjectIDRobotsRobotIDParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the put projects project ID robots robot ID params

func (*PutProjectsProjectIDRobotsRobotIDParams) WithProjectID ¶

WithProjectID adds the projectID to the put projects project ID robots robot ID params

func (*PutProjectsProjectIDRobotsRobotIDParams) WithRobot ¶

WithRobot adds the robot to the put projects project ID robots robot ID params

func (*PutProjectsProjectIDRobotsRobotIDParams) WithRobotID ¶

WithRobotID adds the robotID to the put projects project ID robots robot ID params

func (*PutProjectsProjectIDRobotsRobotIDParams) WithTimeout ¶

WithTimeout adds the timeout to the put projects project ID robots robot ID params

func (*PutProjectsProjectIDRobotsRobotIDParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PutProjectsProjectIDRobotsRobotIDReader ¶

type PutProjectsProjectIDRobotsRobotIDReader struct {
	// contains filtered or unexported fields
}

PutProjectsProjectIDRobotsRobotIDReader is a Reader for the PutProjectsProjectIDRobotsRobotID structure.

func (*PutProjectsProjectIDRobotsRobotIDReader) ReadResponse ¶

func (o *PutProjectsProjectIDRobotsRobotIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutProjectsProjectIDWebhookPoliciesPolicyIDBadRequest ¶

type PutProjectsProjectIDWebhookPoliciesPolicyIDBadRequest struct {
}
PutProjectsProjectIDWebhookPoliciesPolicyIDBadRequest describes a response with status code 400, with default header values.

Illegal format of provided ID value.

func NewPutProjectsProjectIDWebhookPoliciesPolicyIDBadRequest ¶

func NewPutProjectsProjectIDWebhookPoliciesPolicyIDBadRequest() *PutProjectsProjectIDWebhookPoliciesPolicyIDBadRequest

NewPutProjectsProjectIDWebhookPoliciesPolicyIDBadRequest creates a PutProjectsProjectIDWebhookPoliciesPolicyIDBadRequest with default headers values

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDBadRequest) Error ¶

type PutProjectsProjectIDWebhookPoliciesPolicyIDForbidden ¶

type PutProjectsProjectIDWebhookPoliciesPolicyIDForbidden struct {
}
PutProjectsProjectIDWebhookPoliciesPolicyIDForbidden describes a response with status code 403, with default header values.

User have no permission to update webhook policy of the project.

func NewPutProjectsProjectIDWebhookPoliciesPolicyIDForbidden ¶

func NewPutProjectsProjectIDWebhookPoliciesPolicyIDForbidden() *PutProjectsProjectIDWebhookPoliciesPolicyIDForbidden

NewPutProjectsProjectIDWebhookPoliciesPolicyIDForbidden creates a PutProjectsProjectIDWebhookPoliciesPolicyIDForbidden with default headers values

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDForbidden) Error ¶

type PutProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError ¶

type PutProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError struct {
}
PutProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError describes a response with status code 500, with default header values.

Internal server errors.

func NewPutProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError ¶

func NewPutProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError() *PutProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError

NewPutProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError creates a PutProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError with default headers values

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDInternalServerError) Error ¶

type PutProjectsProjectIDWebhookPoliciesPolicyIDNotFound ¶

type PutProjectsProjectIDWebhookPoliciesPolicyIDNotFound struct {
}
PutProjectsProjectIDWebhookPoliciesPolicyIDNotFound describes a response with status code 404, with default header values.

Webhook policy ID does not exist.

func NewPutProjectsProjectIDWebhookPoliciesPolicyIDNotFound ¶

func NewPutProjectsProjectIDWebhookPoliciesPolicyIDNotFound() *PutProjectsProjectIDWebhookPoliciesPolicyIDNotFound

NewPutProjectsProjectIDWebhookPoliciesPolicyIDNotFound creates a PutProjectsProjectIDWebhookPoliciesPolicyIDNotFound with default headers values

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDNotFound) Error ¶

type PutProjectsProjectIDWebhookPoliciesPolicyIDOK ¶

type PutProjectsProjectIDWebhookPoliciesPolicyIDOK struct {
}
PutProjectsProjectIDWebhookPoliciesPolicyIDOK describes a response with status code 200, with default header values.

Update webhook policy successfully.

func NewPutProjectsProjectIDWebhookPoliciesPolicyIDOK ¶

func NewPutProjectsProjectIDWebhookPoliciesPolicyIDOK() *PutProjectsProjectIDWebhookPoliciesPolicyIDOK

NewPutProjectsProjectIDWebhookPoliciesPolicyIDOK creates a PutProjectsProjectIDWebhookPoliciesPolicyIDOK with default headers values

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDOK) Error ¶

type PutProjectsProjectIDWebhookPoliciesPolicyIDParams ¶

type PutProjectsProjectIDWebhookPoliciesPolicyIDParams struct {

	/* Policy.

	   All properties needed except "id", "project_id", "creation_time", "update_time".
	*/
	Policy *legacy.WebhookPolicy

	/* PolicyID.

	   The id of webhook policy.

	   Format: int64
	*/
	PolicyID int64

	/* ProjectID.

	   Relevant project ID.

	   Format: int64
	*/
	ProjectID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutProjectsProjectIDWebhookPoliciesPolicyIDParams contains all the parameters to send to the API endpoint

for the put projects project ID webhook policies policy ID operation.

Typically these are written to a http.Request.

func NewPutProjectsProjectIDWebhookPoliciesPolicyIDParams ¶

func NewPutProjectsProjectIDWebhookPoliciesPolicyIDParams() *PutProjectsProjectIDWebhookPoliciesPolicyIDParams

NewPutProjectsProjectIDWebhookPoliciesPolicyIDParams creates a new PutProjectsProjectIDWebhookPoliciesPolicyIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutProjectsProjectIDWebhookPoliciesPolicyIDParamsWithContext ¶

func NewPutProjectsProjectIDWebhookPoliciesPolicyIDParamsWithContext(ctx context.Context) *PutProjectsProjectIDWebhookPoliciesPolicyIDParams

NewPutProjectsProjectIDWebhookPoliciesPolicyIDParamsWithContext creates a new PutProjectsProjectIDWebhookPoliciesPolicyIDParams object with the ability to set a context for a request.

func NewPutProjectsProjectIDWebhookPoliciesPolicyIDParamsWithHTTPClient ¶

func NewPutProjectsProjectIDWebhookPoliciesPolicyIDParamsWithHTTPClient(client *http.Client) *PutProjectsProjectIDWebhookPoliciesPolicyIDParams

NewPutProjectsProjectIDWebhookPoliciesPolicyIDParamsWithHTTPClient creates a new PutProjectsProjectIDWebhookPoliciesPolicyIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutProjectsProjectIDWebhookPoliciesPolicyIDParamsWithTimeout ¶

func NewPutProjectsProjectIDWebhookPoliciesPolicyIDParamsWithTimeout(timeout time.Duration) *PutProjectsProjectIDWebhookPoliciesPolicyIDParams

NewPutProjectsProjectIDWebhookPoliciesPolicyIDParamsWithTimeout creates a new PutProjectsProjectIDWebhookPoliciesPolicyIDParams object with the ability to set a timeout on a request.

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDParams) SetContext ¶

SetContext adds the context to the put projects project ID webhook policies policy ID params

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDParams) SetDefaults ¶

SetDefaults hydrates default values in the put projects project ID webhook policies policy ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDParams) SetHTTPClient ¶

SetHTTPClient adds the HTTPClient to the put projects project ID webhook policies policy ID params

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDParams) SetPolicy ¶

SetPolicy adds the policy to the put projects project ID webhook policies policy ID params

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDParams) SetPolicyID ¶

SetPolicyID adds the policyId to the put projects project ID webhook policies policy ID params

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDParams) SetProjectID ¶

func (o *PutProjectsProjectIDWebhookPoliciesPolicyIDParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the put projects project ID webhook policies policy ID params

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDParams) SetTimeout ¶

SetTimeout adds the timeout to the put projects project ID webhook policies policy ID params

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDParams) WithContext ¶

WithContext adds the context to the put projects project ID webhook policies policy ID params

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDParams) WithDefaults ¶

WithDefaults hydrates default values in the put projects project ID webhook policies policy ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the put projects project ID webhook policies policy ID params

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDParams) WithPolicy ¶

WithPolicy adds the policy to the put projects project ID webhook policies policy ID params

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDParams) WithPolicyID ¶

WithPolicyID adds the policyID to the put projects project ID webhook policies policy ID params

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDParams) WithProjectID ¶

WithProjectID adds the projectID to the put projects project ID webhook policies policy ID params

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDParams) WithTimeout ¶

WithTimeout adds the timeout to the put projects project ID webhook policies policy ID params

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PutProjectsProjectIDWebhookPoliciesPolicyIDReader ¶

type PutProjectsProjectIDWebhookPoliciesPolicyIDReader struct {
	// contains filtered or unexported fields
}

PutProjectsProjectIDWebhookPoliciesPolicyIDReader is a Reader for the PutProjectsProjectIDWebhookPoliciesPolicyID structure.

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDReader) ReadResponse ¶

func (o *PutProjectsProjectIDWebhookPoliciesPolicyIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized ¶

type PutProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized struct {
}
PutProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPutProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized ¶

func NewPutProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized() *PutProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized

NewPutProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized creates a PutProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized with default headers values

func (*PutProjectsProjectIDWebhookPoliciesPolicyIDUnauthorized) Error ¶

type PutQuotasIDBadRequest ¶

type PutQuotasIDBadRequest struct {
}
PutQuotasIDBadRequest describes a response with status code 400, with default header values.

Illegal format of quota update request.

func NewPutQuotasIDBadRequest ¶

func NewPutQuotasIDBadRequest() *PutQuotasIDBadRequest

NewPutQuotasIDBadRequest creates a PutQuotasIDBadRequest with default headers values

func (*PutQuotasIDBadRequest) Error ¶

func (o *PutQuotasIDBadRequest) Error() string

type PutQuotasIDForbidden ¶

type PutQuotasIDForbidden struct {
}
PutQuotasIDForbidden describes a response with status code 403, with default header values.

User does not have permission to the quota.

func NewPutQuotasIDForbidden ¶

func NewPutQuotasIDForbidden() *PutQuotasIDForbidden

NewPutQuotasIDForbidden creates a PutQuotasIDForbidden with default headers values

func (*PutQuotasIDForbidden) Error ¶

func (o *PutQuotasIDForbidden) Error() string

type PutQuotasIDInternalServerError ¶

type PutQuotasIDInternalServerError struct {
}
PutQuotasIDInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPutQuotasIDInternalServerError ¶

func NewPutQuotasIDInternalServerError() *PutQuotasIDInternalServerError

NewPutQuotasIDInternalServerError creates a PutQuotasIDInternalServerError with default headers values

func (*PutQuotasIDInternalServerError) Error ¶

type PutQuotasIDNotFound ¶

type PutQuotasIDNotFound struct {
}
PutQuotasIDNotFound describes a response with status code 404, with default header values.

Quota ID does not exist.

func NewPutQuotasIDNotFound ¶

func NewPutQuotasIDNotFound() *PutQuotasIDNotFound

NewPutQuotasIDNotFound creates a PutQuotasIDNotFound with default headers values

func (*PutQuotasIDNotFound) Error ¶

func (o *PutQuotasIDNotFound) Error() string

type PutQuotasIDOK ¶

type PutQuotasIDOK struct {
}
PutQuotasIDOK describes a response with status code 200, with default header values.

Updated quota hard limits successfully.

func NewPutQuotasIDOK ¶

func NewPutQuotasIDOK() *PutQuotasIDOK

NewPutQuotasIDOK creates a PutQuotasIDOK with default headers values

func (*PutQuotasIDOK) Error ¶

func (o *PutQuotasIDOK) Error() string

type PutQuotasIDParams ¶

type PutQuotasIDParams struct {

	/* Hard.

	   The new hard limits for the quota
	*/
	Hard *legacy.QuotaUpdateReq

	/* ID.

	   Quota ID
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutQuotasIDParams contains all the parameters to send to the API endpoint

for the put quotas ID operation.

Typically these are written to a http.Request.

func NewPutQuotasIDParams ¶

func NewPutQuotasIDParams() *PutQuotasIDParams

NewPutQuotasIDParams creates a new PutQuotasIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutQuotasIDParamsWithContext ¶

func NewPutQuotasIDParamsWithContext(ctx context.Context) *PutQuotasIDParams

NewPutQuotasIDParamsWithContext creates a new PutQuotasIDParams object with the ability to set a context for a request.

func NewPutQuotasIDParamsWithHTTPClient ¶

func NewPutQuotasIDParamsWithHTTPClient(client *http.Client) *PutQuotasIDParams

NewPutQuotasIDParamsWithHTTPClient creates a new PutQuotasIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutQuotasIDParamsWithTimeout ¶

func NewPutQuotasIDParamsWithTimeout(timeout time.Duration) *PutQuotasIDParams

NewPutQuotasIDParamsWithTimeout creates a new PutQuotasIDParams object with the ability to set a timeout on a request.

func (*PutQuotasIDParams) SetContext ¶

func (o *PutQuotasIDParams) SetContext(ctx context.Context)

SetContext adds the context to the put quotas ID params

func (*PutQuotasIDParams) SetDefaults ¶

func (o *PutQuotasIDParams) SetDefaults()

SetDefaults hydrates default values in the put quotas ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutQuotasIDParams) SetHTTPClient ¶

func (o *PutQuotasIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put quotas ID params

func (*PutQuotasIDParams) SetHard ¶

func (o *PutQuotasIDParams) SetHard(hard *legacy.QuotaUpdateReq)

SetHard adds the hard to the put quotas ID params

func (*PutQuotasIDParams) SetID ¶

func (o *PutQuotasIDParams) SetID(id int64)

SetID adds the id to the put quotas ID params

func (*PutQuotasIDParams) SetTimeout ¶

func (o *PutQuotasIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put quotas ID params

func (*PutQuotasIDParams) WithContext ¶

func (o *PutQuotasIDParams) WithContext(ctx context.Context) *PutQuotasIDParams

WithContext adds the context to the put quotas ID params

func (*PutQuotasIDParams) WithDefaults ¶

func (o *PutQuotasIDParams) WithDefaults() *PutQuotasIDParams

WithDefaults hydrates default values in the put quotas ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutQuotasIDParams) WithHTTPClient ¶

func (o *PutQuotasIDParams) WithHTTPClient(client *http.Client) *PutQuotasIDParams

WithHTTPClient adds the HTTPClient to the put quotas ID params

func (*PutQuotasIDParams) WithHard ¶

WithHard adds the hard to the put quotas ID params

func (*PutQuotasIDParams) WithID ¶

func (o *PutQuotasIDParams) WithID(id int64) *PutQuotasIDParams

WithID adds the id to the put quotas ID params

func (*PutQuotasIDParams) WithTimeout ¶

func (o *PutQuotasIDParams) WithTimeout(timeout time.Duration) *PutQuotasIDParams

WithTimeout adds the timeout to the put quotas ID params

func (*PutQuotasIDParams) WriteToRequest ¶

func (o *PutQuotasIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutQuotasIDReader ¶

type PutQuotasIDReader struct {
	// contains filtered or unexported fields
}

PutQuotasIDReader is a Reader for the PutQuotasID structure.

func (*PutQuotasIDReader) ReadResponse ¶

func (o *PutQuotasIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutQuotasIDUnauthorized ¶

type PutQuotasIDUnauthorized struct {
}
PutQuotasIDUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPutQuotasIDUnauthorized ¶

func NewPutQuotasIDUnauthorized() *PutQuotasIDUnauthorized

NewPutQuotasIDUnauthorized creates a PutQuotasIDUnauthorized with default headers values

func (*PutQuotasIDUnauthorized) Error ¶

func (o *PutQuotasIDUnauthorized) Error() string

type PutRegistriesIDBadRequest ¶

type PutRegistriesIDBadRequest struct {
}
PutRegistriesIDBadRequest describes a response with status code 400, 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 describes a response with status code 409, 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 describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPutRegistriesIDInternalServerError ¶

func NewPutRegistriesIDInternalServerError() *PutRegistriesIDInternalServerError

NewPutRegistriesIDInternalServerError creates a PutRegistriesIDInternalServerError with default headers values

func (*PutRegistriesIDInternalServerError) Error ¶

type PutRegistriesIDNotFound ¶

type PutRegistriesIDNotFound struct {
}
PutRegistriesIDNotFound describes a response with status code 404, 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 describes a response with status code 200, 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.

	   Format: int64
	*/
	ID int64

	/* RepoTarget.

	   Updates registry.
	*/
	RepoTarget *legacy.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutRegistriesIDParamsWithContext ¶

func NewPutRegistriesIDParamsWithContext(ctx context.Context) *PutRegistriesIDParams

NewPutRegistriesIDParamsWithContext creates a new PutRegistriesIDParams object with 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 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 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) SetDefaults ¶

func (o *PutRegistriesIDParams) SetDefaults()

SetDefaults hydrates default values in the put registries ID params (not the query body).

All values with no default are reset to their zero value.

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 *legacy.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) WithDefaults ¶

func (o *PutRegistriesIDParams) WithDefaults() *PutRegistriesIDParams

WithDefaults hydrates default values in the put registries ID params (not the query body).

All values with no default are reset to their zero value.

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 *legacy.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 describes a response with status code 401, 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 PutReplicationExecutionsIDBadRequest ¶

type PutReplicationExecutionsIDBadRequest struct {
}
PutReplicationExecutionsIDBadRequest describes a response with status code 400, with default header values.

Bad request.

func NewPutReplicationExecutionsIDBadRequest ¶

func NewPutReplicationExecutionsIDBadRequest() *PutReplicationExecutionsIDBadRequest

NewPutReplicationExecutionsIDBadRequest creates a PutReplicationExecutionsIDBadRequest with default headers values

func (*PutReplicationExecutionsIDBadRequest) Error ¶

type PutReplicationExecutionsIDForbidden ¶

type PutReplicationExecutionsIDForbidden struct {
}
PutReplicationExecutionsIDForbidden describes a response with status code 403, with default header values.

User has no privilege for the operation.

func NewPutReplicationExecutionsIDForbidden ¶

func NewPutReplicationExecutionsIDForbidden() *PutReplicationExecutionsIDForbidden

NewPutReplicationExecutionsIDForbidden creates a PutReplicationExecutionsIDForbidden with default headers values

func (*PutReplicationExecutionsIDForbidden) Error ¶

type PutReplicationExecutionsIDInternalServerError ¶

type PutReplicationExecutionsIDInternalServerError struct {
}
PutReplicationExecutionsIDInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPutReplicationExecutionsIDInternalServerError ¶

func NewPutReplicationExecutionsIDInternalServerError() *PutReplicationExecutionsIDInternalServerError

NewPutReplicationExecutionsIDInternalServerError creates a PutReplicationExecutionsIDInternalServerError with default headers values

func (*PutReplicationExecutionsIDInternalServerError) Error ¶

type PutReplicationExecutionsIDNotFound ¶

type PutReplicationExecutionsIDNotFound struct {
}
PutReplicationExecutionsIDNotFound describes a response with status code 404, with default header values.

Resource requested does not exist.

func NewPutReplicationExecutionsIDNotFound ¶

func NewPutReplicationExecutionsIDNotFound() *PutReplicationExecutionsIDNotFound

NewPutReplicationExecutionsIDNotFound creates a PutReplicationExecutionsIDNotFound with default headers values

func (*PutReplicationExecutionsIDNotFound) Error ¶

type PutReplicationExecutionsIDOK ¶

type PutReplicationExecutionsIDOK struct {
}
PutReplicationExecutionsIDOK describes a response with status code 200, with default header values.

Success.

func NewPutReplicationExecutionsIDOK ¶

func NewPutReplicationExecutionsIDOK() *PutReplicationExecutionsIDOK

NewPutReplicationExecutionsIDOK creates a PutReplicationExecutionsIDOK with default headers values

func (*PutReplicationExecutionsIDOK) Error ¶

type PutReplicationExecutionsIDParams ¶

type PutReplicationExecutionsIDParams struct {

	/* ID.

	   The execution ID.

	   Format: int64
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutReplicationExecutionsIDParams contains all the parameters to send to the API endpoint

for the put replication executions ID operation.

Typically these are written to a http.Request.

func NewPutReplicationExecutionsIDParams ¶

func NewPutReplicationExecutionsIDParams() *PutReplicationExecutionsIDParams

NewPutReplicationExecutionsIDParams creates a new PutReplicationExecutionsIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutReplicationExecutionsIDParamsWithContext ¶

func NewPutReplicationExecutionsIDParamsWithContext(ctx context.Context) *PutReplicationExecutionsIDParams

NewPutReplicationExecutionsIDParamsWithContext creates a new PutReplicationExecutionsIDParams object with the ability to set a context for a request.

func NewPutReplicationExecutionsIDParamsWithHTTPClient ¶

func NewPutReplicationExecutionsIDParamsWithHTTPClient(client *http.Client) *PutReplicationExecutionsIDParams

NewPutReplicationExecutionsIDParamsWithHTTPClient creates a new PutReplicationExecutionsIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutReplicationExecutionsIDParamsWithTimeout ¶

func NewPutReplicationExecutionsIDParamsWithTimeout(timeout time.Duration) *PutReplicationExecutionsIDParams

NewPutReplicationExecutionsIDParamsWithTimeout creates a new PutReplicationExecutionsIDParams object with the ability to set a timeout on a request.

func (*PutReplicationExecutionsIDParams) SetContext ¶

SetContext adds the context to the put replication executions ID params

func (*PutReplicationExecutionsIDParams) SetDefaults ¶

func (o *PutReplicationExecutionsIDParams) SetDefaults()

SetDefaults hydrates default values in the put replication executions ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutReplicationExecutionsIDParams) SetHTTPClient ¶

func (o *PutReplicationExecutionsIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put replication executions ID params

func (*PutReplicationExecutionsIDParams) SetID ¶

SetID adds the id to the put replication executions ID params

func (*PutReplicationExecutionsIDParams) SetTimeout ¶

func (o *PutReplicationExecutionsIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put replication executions ID params

func (*PutReplicationExecutionsIDParams) WithContext ¶

WithContext adds the context to the put replication executions ID params

func (*PutReplicationExecutionsIDParams) WithDefaults ¶

WithDefaults hydrates default values in the put replication executions ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutReplicationExecutionsIDParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the put replication executions ID params

func (*PutReplicationExecutionsIDParams) WithID ¶

WithID adds the id to the put replication executions ID params

func (*PutReplicationExecutionsIDParams) WithTimeout ¶

WithTimeout adds the timeout to the put replication executions ID params

func (*PutReplicationExecutionsIDParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PutReplicationExecutionsIDReader ¶

type PutReplicationExecutionsIDReader struct {
	// contains filtered or unexported fields
}

PutReplicationExecutionsIDReader is a Reader for the PutReplicationExecutionsID structure.

func (*PutReplicationExecutionsIDReader) ReadResponse ¶

func (o *PutReplicationExecutionsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutReplicationExecutionsIDUnauthorized ¶

type PutReplicationExecutionsIDUnauthorized struct {
}
PutReplicationExecutionsIDUnauthorized describes a response with status code 401, with default header values.

User need to login first.

func NewPutReplicationExecutionsIDUnauthorized ¶

func NewPutReplicationExecutionsIDUnauthorized() *PutReplicationExecutionsIDUnauthorized

NewPutReplicationExecutionsIDUnauthorized creates a PutReplicationExecutionsIDUnauthorized with default headers values

func (*PutReplicationExecutionsIDUnauthorized) Error ¶

type PutReplicationExecutionsIDUnsupportedMediaType ¶

type PutReplicationExecutionsIDUnsupportedMediaType struct {
}
PutReplicationExecutionsIDUnsupportedMediaType describes a response with status code 415, with default header values.

The Media Type of the request is not supported, it has to be "application/json"

func NewPutReplicationExecutionsIDUnsupportedMediaType ¶

func NewPutReplicationExecutionsIDUnsupportedMediaType() *PutReplicationExecutionsIDUnsupportedMediaType

NewPutReplicationExecutionsIDUnsupportedMediaType creates a PutReplicationExecutionsIDUnsupportedMediaType with default headers values

func (*PutReplicationExecutionsIDUnsupportedMediaType) Error ¶

type PutReplicationPoliciesIDBadRequest ¶

type PutReplicationPoliciesIDBadRequest struct {
}
PutReplicationPoliciesIDBadRequest describes a response with status code 400, 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 describes a response with status code 409, 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 describes a response with status code 403, 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 describes a response with status code 500, 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 describes a response with status code 404, 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 describes a response with status code 200, 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

	   Format: int64
	*/
	ID int64

	/* Policy.

	   The replication policy model.
	*/
	Policy *legacy.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutReplicationPoliciesIDParamsWithContext ¶

func NewPutReplicationPoliciesIDParamsWithContext(ctx context.Context) *PutReplicationPoliciesIDParams

NewPutReplicationPoliciesIDParamsWithContext creates a new PutReplicationPoliciesIDParams object with 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 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 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) SetDefaults ¶

func (o *PutReplicationPoliciesIDParams) SetDefaults()

SetDefaults hydrates default values in the put replication policies ID params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults ¶

WithDefaults hydrates default values in the put replication policies ID params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, with default header values.

Unauthorized

func NewPutReplicationPoliciesIDUnauthorized ¶

func NewPutReplicationPoliciesIDUnauthorized() *PutReplicationPoliciesIDUnauthorized

NewPutReplicationPoliciesIDUnauthorized creates a PutReplicationPoliciesIDUnauthorized with default headers values

func (*PutReplicationPoliciesIDUnauthorized) Error ¶

type PutRetentionsIDForbidden ¶

type PutRetentionsIDForbidden struct {
}
PutRetentionsIDForbidden describes a response with status code 403, with default header values.

User have no permission.

func NewPutRetentionsIDForbidden ¶

func NewPutRetentionsIDForbidden() *PutRetentionsIDForbidden

NewPutRetentionsIDForbidden creates a PutRetentionsIDForbidden with default headers values

func (*PutRetentionsIDForbidden) Error ¶

func (o *PutRetentionsIDForbidden) Error() string

type PutRetentionsIDInternalServerError ¶

type PutRetentionsIDInternalServerError struct {
}
PutRetentionsIDInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPutRetentionsIDInternalServerError ¶

func NewPutRetentionsIDInternalServerError() *PutRetentionsIDInternalServerError

NewPutRetentionsIDInternalServerError creates a PutRetentionsIDInternalServerError with default headers values

func (*PutRetentionsIDInternalServerError) Error ¶

type PutRetentionsIDOK ¶

type PutRetentionsIDOK struct {
}
PutRetentionsIDOK describes a response with status code 200, with default header values.

Update Retention Policy successfully.

func NewPutRetentionsIDOK ¶

func NewPutRetentionsIDOK() *PutRetentionsIDOK

NewPutRetentionsIDOK creates a PutRetentionsIDOK with default headers values

func (*PutRetentionsIDOK) Error ¶

func (o *PutRetentionsIDOK) Error() string

type PutRetentionsIDParams ¶

type PutRetentionsIDParams struct {

	/* ID.

	   Retention ID.

	   Format: int64
	*/
	ID int64

	// Policy.
	Policy *legacy.RetentionPolicy

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutRetentionsIDParams contains all the parameters to send to the API endpoint

for the put retentions ID operation.

Typically these are written to a http.Request.

func NewPutRetentionsIDParams ¶

func NewPutRetentionsIDParams() *PutRetentionsIDParams

NewPutRetentionsIDParams creates a new PutRetentionsIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutRetentionsIDParamsWithContext ¶

func NewPutRetentionsIDParamsWithContext(ctx context.Context) *PutRetentionsIDParams

NewPutRetentionsIDParamsWithContext creates a new PutRetentionsIDParams object with the ability to set a context for a request.

func NewPutRetentionsIDParamsWithHTTPClient ¶

func NewPutRetentionsIDParamsWithHTTPClient(client *http.Client) *PutRetentionsIDParams

NewPutRetentionsIDParamsWithHTTPClient creates a new PutRetentionsIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutRetentionsIDParamsWithTimeout ¶

func NewPutRetentionsIDParamsWithTimeout(timeout time.Duration) *PutRetentionsIDParams

NewPutRetentionsIDParamsWithTimeout creates a new PutRetentionsIDParams object with the ability to set a timeout on a request.

func (*PutRetentionsIDParams) SetContext ¶

func (o *PutRetentionsIDParams) SetContext(ctx context.Context)

SetContext adds the context to the put retentions ID params

func (*PutRetentionsIDParams) SetDefaults ¶

func (o *PutRetentionsIDParams) SetDefaults()

SetDefaults hydrates default values in the put retentions ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutRetentionsIDParams) SetHTTPClient ¶

func (o *PutRetentionsIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put retentions ID params

func (*PutRetentionsIDParams) SetID ¶

func (o *PutRetentionsIDParams) SetID(id int64)

SetID adds the id to the put retentions ID params

func (*PutRetentionsIDParams) SetPolicy ¶

func (o *PutRetentionsIDParams) SetPolicy(policy *legacy.RetentionPolicy)

SetPolicy adds the policy to the put retentions ID params

func (*PutRetentionsIDParams) SetTimeout ¶

func (o *PutRetentionsIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put retentions ID params

func (*PutRetentionsIDParams) WithContext ¶

WithContext adds the context to the put retentions ID params

func (*PutRetentionsIDParams) WithDefaults ¶

func (o *PutRetentionsIDParams) WithDefaults() *PutRetentionsIDParams

WithDefaults hydrates default values in the put retentions ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutRetentionsIDParams) WithHTTPClient ¶

func (o *PutRetentionsIDParams) WithHTTPClient(client *http.Client) *PutRetentionsIDParams

WithHTTPClient adds the HTTPClient to the put retentions ID params

func (*PutRetentionsIDParams) WithID ¶

WithID adds the id to the put retentions ID params

func (*PutRetentionsIDParams) WithPolicy ¶

WithPolicy adds the policy to the put retentions ID params

func (*PutRetentionsIDParams) WithTimeout ¶

func (o *PutRetentionsIDParams) WithTimeout(timeout time.Duration) *PutRetentionsIDParams

WithTimeout adds the timeout to the put retentions ID params

func (*PutRetentionsIDParams) WriteToRequest ¶

func (o *PutRetentionsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutRetentionsIDReader ¶

type PutRetentionsIDReader struct {
	// contains filtered or unexported fields
}

PutRetentionsIDReader is a Reader for the PutRetentionsID structure.

func (*PutRetentionsIDReader) ReadResponse ¶

func (o *PutRetentionsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutRetentionsIDUnauthorized ¶

type PutRetentionsIDUnauthorized struct {
}
PutRetentionsIDUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPutRetentionsIDUnauthorized ¶

func NewPutRetentionsIDUnauthorized() *PutRetentionsIDUnauthorized

NewPutRetentionsIDUnauthorized creates a PutRetentionsIDUnauthorized with default headers values

func (*PutRetentionsIDUnauthorized) Error ¶

type PutSystemCVEAllowlistForbidden ¶

type PutSystemCVEAllowlistForbidden struct {
}
PutSystemCVEAllowlistForbidden describes a response with status code 403, with default header values.

User does not have permission to call this API.

func NewPutSystemCVEAllowlistForbidden ¶

func NewPutSystemCVEAllowlistForbidden() *PutSystemCVEAllowlistForbidden

NewPutSystemCVEAllowlistForbidden creates a PutSystemCVEAllowlistForbidden with default headers values

func (*PutSystemCVEAllowlistForbidden) Error ¶

type PutSystemCVEAllowlistInternalServerError ¶

type PutSystemCVEAllowlistInternalServerError struct {
}
PutSystemCVEAllowlistInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPutSystemCVEAllowlistInternalServerError ¶

func NewPutSystemCVEAllowlistInternalServerError() *PutSystemCVEAllowlistInternalServerError

NewPutSystemCVEAllowlistInternalServerError creates a PutSystemCVEAllowlistInternalServerError with default headers values

func (*PutSystemCVEAllowlistInternalServerError) Error ¶

type PutSystemCVEAllowlistOK ¶

type PutSystemCVEAllowlistOK struct {
}
PutSystemCVEAllowlistOK describes a response with status code 200, with default header values.

Successfully updated the CVE allowlist.

func NewPutSystemCVEAllowlistOK ¶

func NewPutSystemCVEAllowlistOK() *PutSystemCVEAllowlistOK

NewPutSystemCVEAllowlistOK creates a PutSystemCVEAllowlistOK with default headers values

func (*PutSystemCVEAllowlistOK) Error ¶

func (o *PutSystemCVEAllowlistOK) Error() string

type PutSystemCVEAllowlistParams ¶

type PutSystemCVEAllowlistParams struct {

	/* Allowlist.

	   The allowlist with new content
	*/
	Allowlist *legacy.CVEAllowlist

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutSystemCVEAllowlistParams contains all the parameters to send to the API endpoint

for the put system c v e allowlist operation.

Typically these are written to a http.Request.

func NewPutSystemCVEAllowlistParams ¶

func NewPutSystemCVEAllowlistParams() *PutSystemCVEAllowlistParams

NewPutSystemCVEAllowlistParams creates a new PutSystemCVEAllowlistParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutSystemCVEAllowlistParamsWithContext ¶

func NewPutSystemCVEAllowlistParamsWithContext(ctx context.Context) *PutSystemCVEAllowlistParams

NewPutSystemCVEAllowlistParamsWithContext creates a new PutSystemCVEAllowlistParams object with the ability to set a context for a request.

func NewPutSystemCVEAllowlistParamsWithHTTPClient ¶

func NewPutSystemCVEAllowlistParamsWithHTTPClient(client *http.Client) *PutSystemCVEAllowlistParams

NewPutSystemCVEAllowlistParamsWithHTTPClient creates a new PutSystemCVEAllowlistParams object with the ability to set a custom HTTPClient for a request.

func NewPutSystemCVEAllowlistParamsWithTimeout ¶

func NewPutSystemCVEAllowlistParamsWithTimeout(timeout time.Duration) *PutSystemCVEAllowlistParams

NewPutSystemCVEAllowlistParamsWithTimeout creates a new PutSystemCVEAllowlistParams object with the ability to set a timeout on a request.

func (*PutSystemCVEAllowlistParams) SetAllowlist ¶

func (o *PutSystemCVEAllowlistParams) SetAllowlist(allowlist *legacy.CVEAllowlist)

SetAllowlist adds the allowlist to the put system c v e allowlist params

func (*PutSystemCVEAllowlistParams) SetContext ¶

func (o *PutSystemCVEAllowlistParams) SetContext(ctx context.Context)

SetContext adds the context to the put system c v e allowlist params

func (*PutSystemCVEAllowlistParams) SetDefaults ¶

func (o *PutSystemCVEAllowlistParams) SetDefaults()

SetDefaults hydrates default values in the put system c v e allowlist params (not the query body).

All values with no default are reset to their zero value.

func (*PutSystemCVEAllowlistParams) SetHTTPClient ¶

func (o *PutSystemCVEAllowlistParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put system c v e allowlist params

func (*PutSystemCVEAllowlistParams) SetTimeout ¶

func (o *PutSystemCVEAllowlistParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put system c v e allowlist params

func (*PutSystemCVEAllowlistParams) WithAllowlist ¶

WithAllowlist adds the allowlist to the put system c v e allowlist params

func (*PutSystemCVEAllowlistParams) WithContext ¶

WithContext adds the context to the put system c v e allowlist params

func (*PutSystemCVEAllowlistParams) WithDefaults ¶

WithDefaults hydrates default values in the put system c v e allowlist params (not the query body).

All values with no default are reset to their zero value.

func (*PutSystemCVEAllowlistParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the put system c v e allowlist params

func (*PutSystemCVEAllowlistParams) WithTimeout ¶

WithTimeout adds the timeout to the put system c v e allowlist params

func (*PutSystemCVEAllowlistParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PutSystemCVEAllowlistReader ¶

type PutSystemCVEAllowlistReader struct {
	// contains filtered or unexported fields
}

PutSystemCVEAllowlistReader is a Reader for the PutSystemCVEAllowlist structure.

func (*PutSystemCVEAllowlistReader) ReadResponse ¶

func (o *PutSystemCVEAllowlistReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutSystemCVEAllowlistUnauthorized ¶

type PutSystemCVEAllowlistUnauthorized struct {
}
PutSystemCVEAllowlistUnauthorized describes a response with status code 401, with default header values.

User is not authenticated.

func NewPutSystemCVEAllowlistUnauthorized ¶

func NewPutSystemCVEAllowlistUnauthorized() *PutSystemCVEAllowlistUnauthorized

NewPutSystemCVEAllowlistUnauthorized creates a PutSystemCVEAllowlistUnauthorized with default headers values

func (*PutSystemCVEAllowlistUnauthorized) Error ¶

type PutSystemGcScheduleBadRequest ¶

type PutSystemGcScheduleBadRequest struct {
}
PutSystemGcScheduleBadRequest describes a response with status code 400, 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 describes a response with status code 403, 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 describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPutSystemGcScheduleInternalServerError ¶

func NewPutSystemGcScheduleInternalServerError() *PutSystemGcScheduleInternalServerError

NewPutSystemGcScheduleInternalServerError creates a PutSystemGcScheduleInternalServerError with default headers values

func (*PutSystemGcScheduleInternalServerError) Error ¶

type PutSystemGcScheduleOK ¶

type PutSystemGcScheduleOK struct {
}
PutSystemGcScheduleOK describes a response with status code 200, 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 *legacy.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutSystemGcScheduleParamsWithContext ¶

func NewPutSystemGcScheduleParamsWithContext(ctx context.Context) *PutSystemGcScheduleParams

NewPutSystemGcScheduleParamsWithContext creates a new PutSystemGcScheduleParams object with 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 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 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) SetDefaults ¶

func (o *PutSystemGcScheduleParams) SetDefaults()

SetDefaults hydrates default values in the put system gc schedule params (not the query body).

All values with no default are reset to their zero value.

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 *legacy.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) WithDefaults ¶

WithDefaults hydrates default values in the put system gc schedule params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, 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 PutSystemScanAllScheduleBadRequest ¶

type PutSystemScanAllScheduleBadRequest struct {
}
PutSystemScanAllScheduleBadRequest describes a response with status code 400, with default header values.

Invalid schedule type.

func NewPutSystemScanAllScheduleBadRequest ¶

func NewPutSystemScanAllScheduleBadRequest() *PutSystemScanAllScheduleBadRequest

NewPutSystemScanAllScheduleBadRequest creates a PutSystemScanAllScheduleBadRequest with default headers values

func (*PutSystemScanAllScheduleBadRequest) Error ¶

type PutSystemScanAllScheduleForbidden ¶

type PutSystemScanAllScheduleForbidden struct {
}
PutSystemScanAllScheduleForbidden describes a response with status code 403, with default header values.

User does not have permission of admin role.

func NewPutSystemScanAllScheduleForbidden ¶

func NewPutSystemScanAllScheduleForbidden() *PutSystemScanAllScheduleForbidden

NewPutSystemScanAllScheduleForbidden creates a PutSystemScanAllScheduleForbidden with default headers values

func (*PutSystemScanAllScheduleForbidden) Error ¶

type PutSystemScanAllScheduleInternalServerError ¶

type PutSystemScanAllScheduleInternalServerError struct {
}
PutSystemScanAllScheduleInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPutSystemScanAllScheduleInternalServerError ¶

func NewPutSystemScanAllScheduleInternalServerError() *PutSystemScanAllScheduleInternalServerError

NewPutSystemScanAllScheduleInternalServerError creates a PutSystemScanAllScheduleInternalServerError with default headers values

func (*PutSystemScanAllScheduleInternalServerError) Error ¶

type PutSystemScanAllScheduleOK ¶

type PutSystemScanAllScheduleOK struct {
}
PutSystemScanAllScheduleOK describes a response with status code 200, with default header values.

Updated scan_all's schedule successfully.

func NewPutSystemScanAllScheduleOK ¶

func NewPutSystemScanAllScheduleOK() *PutSystemScanAllScheduleOK

NewPutSystemScanAllScheduleOK creates a PutSystemScanAllScheduleOK with default headers values

func (*PutSystemScanAllScheduleOK) Error ¶

type PutSystemScanAllScheduleParams ¶

type PutSystemScanAllScheduleParams struct {

	/* Schedule.

	   Updates the schedule of scan all job, which scans all of images in Harbor.
	*/
	Schedule *legacy.AdminJobSchedule

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutSystemScanAllScheduleParams contains all the parameters to send to the API endpoint

for the put system scan all schedule operation.

Typically these are written to a http.Request.

func NewPutSystemScanAllScheduleParams ¶

func NewPutSystemScanAllScheduleParams() *PutSystemScanAllScheduleParams

NewPutSystemScanAllScheduleParams creates a new PutSystemScanAllScheduleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutSystemScanAllScheduleParamsWithContext ¶

func NewPutSystemScanAllScheduleParamsWithContext(ctx context.Context) *PutSystemScanAllScheduleParams

NewPutSystemScanAllScheduleParamsWithContext creates a new PutSystemScanAllScheduleParams object with the ability to set a context for a request.

func NewPutSystemScanAllScheduleParamsWithHTTPClient ¶

func NewPutSystemScanAllScheduleParamsWithHTTPClient(client *http.Client) *PutSystemScanAllScheduleParams

NewPutSystemScanAllScheduleParamsWithHTTPClient creates a new PutSystemScanAllScheduleParams object with the ability to set a custom HTTPClient for a request.

func NewPutSystemScanAllScheduleParamsWithTimeout ¶

func NewPutSystemScanAllScheduleParamsWithTimeout(timeout time.Duration) *PutSystemScanAllScheduleParams

NewPutSystemScanAllScheduleParamsWithTimeout creates a new PutSystemScanAllScheduleParams object with the ability to set a timeout on a request.

func (*PutSystemScanAllScheduleParams) SetContext ¶

func (o *PutSystemScanAllScheduleParams) SetContext(ctx context.Context)

SetContext adds the context to the put system scan all schedule params

func (*PutSystemScanAllScheduleParams) SetDefaults ¶

func (o *PutSystemScanAllScheduleParams) SetDefaults()

SetDefaults hydrates default values in the put system scan all schedule params (not the query body).

All values with no default are reset to their zero value.

func (*PutSystemScanAllScheduleParams) SetHTTPClient ¶

func (o *PutSystemScanAllScheduleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put system scan all schedule params

func (*PutSystemScanAllScheduleParams) SetSchedule ¶

func (o *PutSystemScanAllScheduleParams) SetSchedule(schedule *legacy.AdminJobSchedule)

SetSchedule adds the schedule to the put system scan all schedule params

func (*PutSystemScanAllScheduleParams) SetTimeout ¶

func (o *PutSystemScanAllScheduleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put system scan all schedule params

func (*PutSystemScanAllScheduleParams) WithContext ¶

WithContext adds the context to the put system scan all schedule params

func (*PutSystemScanAllScheduleParams) WithDefaults ¶

WithDefaults hydrates default values in the put system scan all schedule params (not the query body).

All values with no default are reset to their zero value.

func (*PutSystemScanAllScheduleParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the put system scan all schedule params

func (*PutSystemScanAllScheduleParams) WithSchedule ¶

WithSchedule adds the schedule to the put system scan all schedule params

func (*PutSystemScanAllScheduleParams) WithTimeout ¶

WithTimeout adds the timeout to the put system scan all schedule params

func (*PutSystemScanAllScheduleParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PutSystemScanAllScheduleReader ¶

type PutSystemScanAllScheduleReader struct {
	// contains filtered or unexported fields
}

PutSystemScanAllScheduleReader is a Reader for the PutSystemScanAllSchedule structure.

func (*PutSystemScanAllScheduleReader) ReadResponse ¶

func (o *PutSystemScanAllScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutSystemScanAllScheduleUnauthorized ¶

type PutSystemScanAllScheduleUnauthorized struct {
}
PutSystemScanAllScheduleUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPutSystemScanAllScheduleUnauthorized ¶

func NewPutSystemScanAllScheduleUnauthorized() *PutSystemScanAllScheduleUnauthorized

NewPutSystemScanAllScheduleUnauthorized creates a PutSystemScanAllScheduleUnauthorized with default headers values

func (*PutSystemScanAllScheduleUnauthorized) Error ¶

type PutUsergroupsGroupIDBadRequest ¶

type PutUsergroupsGroupIDBadRequest struct {
}
PutUsergroupsGroupIDBadRequest describes a response with status code 400, with default header values.

The user group id is invalid.

func NewPutUsergroupsGroupIDBadRequest ¶

func NewPutUsergroupsGroupIDBadRequest() *PutUsergroupsGroupIDBadRequest

NewPutUsergroupsGroupIDBadRequest creates a PutUsergroupsGroupIDBadRequest with default headers values

func (*PutUsergroupsGroupIDBadRequest) Error ¶

type PutUsergroupsGroupIDForbidden ¶

type PutUsergroupsGroupIDForbidden struct {
}
PutUsergroupsGroupIDForbidden describes a response with status code 403, with default header values.

Only admin has this authority.

func NewPutUsergroupsGroupIDForbidden ¶

func NewPutUsergroupsGroupIDForbidden() *PutUsergroupsGroupIDForbidden

NewPutUsergroupsGroupIDForbidden creates a PutUsergroupsGroupIDForbidden with default headers values

func (*PutUsergroupsGroupIDForbidden) Error ¶

type PutUsergroupsGroupIDInternalServerError ¶

type PutUsergroupsGroupIDInternalServerError struct {
}
PutUsergroupsGroupIDInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPutUsergroupsGroupIDInternalServerError ¶

func NewPutUsergroupsGroupIDInternalServerError() *PutUsergroupsGroupIDInternalServerError

NewPutUsergroupsGroupIDInternalServerError creates a PutUsergroupsGroupIDInternalServerError with default headers values

func (*PutUsergroupsGroupIDInternalServerError) Error ¶

type PutUsergroupsGroupIDNotFound ¶

type PutUsergroupsGroupIDNotFound struct {
}
PutUsergroupsGroupIDNotFound describes a response with status code 404, with default header values.

User group does not exist.

func NewPutUsergroupsGroupIDNotFound ¶

func NewPutUsergroupsGroupIDNotFound() *PutUsergroupsGroupIDNotFound

NewPutUsergroupsGroupIDNotFound creates a PutUsergroupsGroupIDNotFound with default headers values

func (*PutUsergroupsGroupIDNotFound) Error ¶

type PutUsergroupsGroupIDOK ¶

type PutUsergroupsGroupIDOK struct {
}
PutUsergroupsGroupIDOK describes a response with status code 200, with default header values.

User group updated successfully.

func NewPutUsergroupsGroupIDOK ¶

func NewPutUsergroupsGroupIDOK() *PutUsergroupsGroupIDOK

NewPutUsergroupsGroupIDOK creates a PutUsergroupsGroupIDOK with default headers values

func (*PutUsergroupsGroupIDOK) Error ¶

func (o *PutUsergroupsGroupIDOK) Error() string

type PutUsergroupsGroupIDParams ¶

type PutUsergroupsGroupIDParams struct {

	/* GroupID.

	   Group ID

	   Format: int64
	*/
	GroupID int64

	// Usergroup.
	Usergroup *legacy.UserGroup

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutUsergroupsGroupIDParams contains all the parameters to send to the API endpoint

for the put usergroups group ID operation.

Typically these are written to a http.Request.

func NewPutUsergroupsGroupIDParams ¶

func NewPutUsergroupsGroupIDParams() *PutUsergroupsGroupIDParams

NewPutUsergroupsGroupIDParams creates a new PutUsergroupsGroupIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutUsergroupsGroupIDParamsWithContext ¶

func NewPutUsergroupsGroupIDParamsWithContext(ctx context.Context) *PutUsergroupsGroupIDParams

NewPutUsergroupsGroupIDParamsWithContext creates a new PutUsergroupsGroupIDParams object with the ability to set a context for a request.

func NewPutUsergroupsGroupIDParamsWithHTTPClient ¶

func NewPutUsergroupsGroupIDParamsWithHTTPClient(client *http.Client) *PutUsergroupsGroupIDParams

NewPutUsergroupsGroupIDParamsWithHTTPClient creates a new PutUsergroupsGroupIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutUsergroupsGroupIDParamsWithTimeout ¶

func NewPutUsergroupsGroupIDParamsWithTimeout(timeout time.Duration) *PutUsergroupsGroupIDParams

NewPutUsergroupsGroupIDParamsWithTimeout creates a new PutUsergroupsGroupIDParams object with the ability to set a timeout on a request.

func (*PutUsergroupsGroupIDParams) SetContext ¶

func (o *PutUsergroupsGroupIDParams) SetContext(ctx context.Context)

SetContext adds the context to the put usergroups group ID params

func (*PutUsergroupsGroupIDParams) SetDefaults ¶

func (o *PutUsergroupsGroupIDParams) SetDefaults()

SetDefaults hydrates default values in the put usergroups group ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutUsergroupsGroupIDParams) SetGroupID ¶

func (o *PutUsergroupsGroupIDParams) SetGroupID(groupID int64)

SetGroupID adds the groupId to the put usergroups group ID params

func (*PutUsergroupsGroupIDParams) SetHTTPClient ¶

func (o *PutUsergroupsGroupIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put usergroups group ID params

func (*PutUsergroupsGroupIDParams) SetTimeout ¶

func (o *PutUsergroupsGroupIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put usergroups group ID params

func (*PutUsergroupsGroupIDParams) SetUsergroup ¶

func (o *PutUsergroupsGroupIDParams) SetUsergroup(usergroup *legacy.UserGroup)

SetUsergroup adds the usergroup to the put usergroups group ID params

func (*PutUsergroupsGroupIDParams) WithContext ¶

WithContext adds the context to the put usergroups group ID params

func (*PutUsergroupsGroupIDParams) WithDefaults ¶

WithDefaults hydrates default values in the put usergroups group ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutUsergroupsGroupIDParams) WithGroupID ¶

WithGroupID adds the groupID to the put usergroups group ID params

func (*PutUsergroupsGroupIDParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the put usergroups group ID params

func (*PutUsergroupsGroupIDParams) WithTimeout ¶

WithTimeout adds the timeout to the put usergroups group ID params

func (*PutUsergroupsGroupIDParams) WithUsergroup ¶

WithUsergroup adds the usergroup to the put usergroups group ID params

func (*PutUsergroupsGroupIDParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PutUsergroupsGroupIDReader ¶

type PutUsergroupsGroupIDReader struct {
	// contains filtered or unexported fields
}

PutUsergroupsGroupIDReader is a Reader for the PutUsergroupsGroupID structure.

func (*PutUsergroupsGroupIDReader) ReadResponse ¶

func (o *PutUsergroupsGroupIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutUsergroupsGroupIDUnauthorized ¶

type PutUsergroupsGroupIDUnauthorized struct {
}
PutUsergroupsGroupIDUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPutUsergroupsGroupIDUnauthorized ¶

func NewPutUsergroupsGroupIDUnauthorized() *PutUsergroupsGroupIDUnauthorized

NewPutUsergroupsGroupIDUnauthorized creates a PutUsergroupsGroupIDUnauthorized with default headers values

func (*PutUsergroupsGroupIDUnauthorized) Error ¶

type PutUsersUserIDBadRequest ¶

type PutUsersUserIDBadRequest struct {
}
PutUsersUserIDBadRequest describes a response with status code 400, 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 PutUsersUserIDCliSecretBadRequest ¶

type PutUsersUserIDCliSecretBadRequest struct {
}
PutUsersUserIDCliSecretBadRequest describes a response with status code 400, with default header values.

Invalid user ID. Or user is not onboarded via OIDC authentication. Or the secret does not meet the standard.

func NewPutUsersUserIDCliSecretBadRequest ¶

func NewPutUsersUserIDCliSecretBadRequest() *PutUsersUserIDCliSecretBadRequest

NewPutUsersUserIDCliSecretBadRequest creates a PutUsersUserIDCliSecretBadRequest with default headers values

func (*PutUsersUserIDCliSecretBadRequest) Error ¶

type PutUsersUserIDCliSecretBody ¶

type PutUsersUserIDCliSecretBody struct {

	// The new secret
	Secret string `json:"secret,omitempty"`
}

PutUsersUserIDCliSecretBody put users user ID cli secret body swagger:model PutUsersUserIDCliSecretBody

func (*PutUsersUserIDCliSecretBody) ContextValidate ¶

func (o *PutUsersUserIDCliSecretBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this put users user ID cli secret body based on context it is used

func (*PutUsersUserIDCliSecretBody) MarshalBinary ¶

func (o *PutUsersUserIDCliSecretBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PutUsersUserIDCliSecretBody) UnmarshalBinary ¶

func (o *PutUsersUserIDCliSecretBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PutUsersUserIDCliSecretBody) Validate ¶

func (o *PutUsersUserIDCliSecretBody) Validate(formats strfmt.Registry) error

Validate validates this put users user ID cli secret body

type PutUsersUserIDCliSecretForbidden ¶

type PutUsersUserIDCliSecretForbidden struct {
}
PutUsersUserIDCliSecretForbidden describes a response with status code 403, with default header values.

Non-admin user can only generate the cli secret of himself.

func NewPutUsersUserIDCliSecretForbidden ¶

func NewPutUsersUserIDCliSecretForbidden() *PutUsersUserIDCliSecretForbidden

NewPutUsersUserIDCliSecretForbidden creates a PutUsersUserIDCliSecretForbidden with default headers values

func (*PutUsersUserIDCliSecretForbidden) Error ¶

type PutUsersUserIDCliSecretInternalServerError ¶

type PutUsersUserIDCliSecretInternalServerError struct {
}
PutUsersUserIDCliSecretInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPutUsersUserIDCliSecretInternalServerError ¶

func NewPutUsersUserIDCliSecretInternalServerError() *PutUsersUserIDCliSecretInternalServerError

NewPutUsersUserIDCliSecretInternalServerError creates a PutUsersUserIDCliSecretInternalServerError with default headers values

func (*PutUsersUserIDCliSecretInternalServerError) Error ¶

type PutUsersUserIDCliSecretNotFound ¶

type PutUsersUserIDCliSecretNotFound struct {
}
PutUsersUserIDCliSecretNotFound describes a response with status code 404, with default header values.

User ID does not exist.

func NewPutUsersUserIDCliSecretNotFound ¶

func NewPutUsersUserIDCliSecretNotFound() *PutUsersUserIDCliSecretNotFound

NewPutUsersUserIDCliSecretNotFound creates a PutUsersUserIDCliSecretNotFound with default headers values

func (*PutUsersUserIDCliSecretNotFound) Error ¶

type PutUsersUserIDCliSecretOK ¶

type PutUsersUserIDCliSecretOK struct {
}
PutUsersUserIDCliSecretOK describes a response with status code 200, with default header values.

The secret is successfully updated

func NewPutUsersUserIDCliSecretOK ¶

func NewPutUsersUserIDCliSecretOK() *PutUsersUserIDCliSecretOK

NewPutUsersUserIDCliSecretOK creates a PutUsersUserIDCliSecretOK with default headers values

func (*PutUsersUserIDCliSecretOK) Error ¶

func (o *PutUsersUserIDCliSecretOK) Error() string

type PutUsersUserIDCliSecretParams ¶

type PutUsersUserIDCliSecretParams struct {

	/* InputSecret.

	   JSON object that includes the new secret
	*/
	InputSecret PutUsersUserIDCliSecretBody

	/* UserID.

	   User ID

	   Format: int
	*/
	UserID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutUsersUserIDCliSecretParams contains all the parameters to send to the API endpoint

for the put users user ID cli secret operation.

Typically these are written to a http.Request.

func NewPutUsersUserIDCliSecretParams ¶

func NewPutUsersUserIDCliSecretParams() *PutUsersUserIDCliSecretParams

NewPutUsersUserIDCliSecretParams creates a new PutUsersUserIDCliSecretParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutUsersUserIDCliSecretParamsWithContext ¶

func NewPutUsersUserIDCliSecretParamsWithContext(ctx context.Context) *PutUsersUserIDCliSecretParams

NewPutUsersUserIDCliSecretParamsWithContext creates a new PutUsersUserIDCliSecretParams object with the ability to set a context for a request.

func NewPutUsersUserIDCliSecretParamsWithHTTPClient ¶

func NewPutUsersUserIDCliSecretParamsWithHTTPClient(client *http.Client) *PutUsersUserIDCliSecretParams

NewPutUsersUserIDCliSecretParamsWithHTTPClient creates a new PutUsersUserIDCliSecretParams object with the ability to set a custom HTTPClient for a request.

func NewPutUsersUserIDCliSecretParamsWithTimeout ¶

func NewPutUsersUserIDCliSecretParamsWithTimeout(timeout time.Duration) *PutUsersUserIDCliSecretParams

NewPutUsersUserIDCliSecretParamsWithTimeout creates a new PutUsersUserIDCliSecretParams object with the ability to set a timeout on a request.

func (*PutUsersUserIDCliSecretParams) SetContext ¶

func (o *PutUsersUserIDCliSecretParams) SetContext(ctx context.Context)

SetContext adds the context to the put users user ID cli secret params

func (*PutUsersUserIDCliSecretParams) SetDefaults ¶

func (o *PutUsersUserIDCliSecretParams) SetDefaults()

SetDefaults hydrates default values in the put users user ID cli secret params (not the query body).

All values with no default are reset to their zero value.

func (*PutUsersUserIDCliSecretParams) SetHTTPClient ¶

func (o *PutUsersUserIDCliSecretParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put users user ID cli secret params

func (*PutUsersUserIDCliSecretParams) SetInputSecret ¶

func (o *PutUsersUserIDCliSecretParams) SetInputSecret(inputSecret PutUsersUserIDCliSecretBody)

SetInputSecret adds the inputSecret to the put users user ID cli secret params

func (*PutUsersUserIDCliSecretParams) SetTimeout ¶

func (o *PutUsersUserIDCliSecretParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put users user ID cli secret params

func (*PutUsersUserIDCliSecretParams) SetUserID ¶

func (o *PutUsersUserIDCliSecretParams) SetUserID(userID int64)

SetUserID adds the userId to the put users user ID cli secret params

func (*PutUsersUserIDCliSecretParams) WithContext ¶

WithContext adds the context to the put users user ID cli secret params

func (*PutUsersUserIDCliSecretParams) WithDefaults ¶

WithDefaults hydrates default values in the put users user ID cli secret params (not the query body).

All values with no default are reset to their zero value.

func (*PutUsersUserIDCliSecretParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the put users user ID cli secret params

func (*PutUsersUserIDCliSecretParams) WithInputSecret ¶

WithInputSecret adds the inputSecret to the put users user ID cli secret params

func (*PutUsersUserIDCliSecretParams) WithTimeout ¶

WithTimeout adds the timeout to the put users user ID cli secret params

func (*PutUsersUserIDCliSecretParams) WithUserID ¶

WithUserID adds the userID to the put users user ID cli secret params

func (*PutUsersUserIDCliSecretParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PutUsersUserIDCliSecretPreconditionFailed ¶

type PutUsersUserIDCliSecretPreconditionFailed struct {
}
PutUsersUserIDCliSecretPreconditionFailed describes a response with status code 412, with default header values.

The auth mode of the system is not "oidc_auth", or the user is not onboarded via OIDC AuthN.

func NewPutUsersUserIDCliSecretPreconditionFailed ¶

func NewPutUsersUserIDCliSecretPreconditionFailed() *PutUsersUserIDCliSecretPreconditionFailed

NewPutUsersUserIDCliSecretPreconditionFailed creates a PutUsersUserIDCliSecretPreconditionFailed with default headers values

func (*PutUsersUserIDCliSecretPreconditionFailed) Error ¶

type PutUsersUserIDCliSecretReader ¶

type PutUsersUserIDCliSecretReader struct {
	// contains filtered or unexported fields
}

PutUsersUserIDCliSecretReader is a Reader for the PutUsersUserIDCliSecret structure.

func (*PutUsersUserIDCliSecretReader) ReadResponse ¶

func (o *PutUsersUserIDCliSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutUsersUserIDCliSecretUnauthorized ¶

type PutUsersUserIDCliSecretUnauthorized struct {
}
PutUsersUserIDCliSecretUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPutUsersUserIDCliSecretUnauthorized ¶

func NewPutUsersUserIDCliSecretUnauthorized() *PutUsersUserIDCliSecretUnauthorized

NewPutUsersUserIDCliSecretUnauthorized creates a PutUsersUserIDCliSecretUnauthorized with default headers values

func (*PutUsersUserIDCliSecretUnauthorized) Error ¶

type PutUsersUserIDForbidden ¶

type PutUsersUserIDForbidden struct {
}
PutUsersUserIDForbidden describes a response with status code 403, 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 describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPutUsersUserIDInternalServerError ¶

func NewPutUsersUserIDInternalServerError() *PutUsersUserIDInternalServerError

NewPutUsersUserIDInternalServerError creates a PutUsersUserIDInternalServerError with default headers values

func (*PutUsersUserIDInternalServerError) Error ¶

type PutUsersUserIDNotFound ¶

type PutUsersUserIDNotFound struct {
}
PutUsersUserIDNotFound describes a response with status code 404, 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 describes a response with status code 200, 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 *legacy.UserProfile

	/* UserID.

	   Registered user ID

	   Format: int
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutUsersUserIDParamsWithContext ¶

func NewPutUsersUserIDParamsWithContext(ctx context.Context) *PutUsersUserIDParams

NewPutUsersUserIDParamsWithContext creates a new PutUsersUserIDParams object with 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 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 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) SetDefaults ¶

func (o *PutUsersUserIDParams) SetDefaults()

SetDefaults hydrates default values in the put users user ID params (not the query body).

All values with no default are reset to their zero value.

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 *legacy.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) WithDefaults ¶

func (o *PutUsersUserIDParams) WithDefaults() *PutUsersUserIDParams

WithDefaults hydrates default values in the put users user ID params (not the query body).

All values with no default are reset to their zero value.

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 *legacy.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 describes a response with status code 400, 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 describes a response with status code 403, 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 describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPutUsersUserIDPasswordInternalServerError ¶

func NewPutUsersUserIDPasswordInternalServerError() *PutUsersUserIDPasswordInternalServerError

NewPutUsersUserIDPasswordInternalServerError creates a PutUsersUserIDPasswordInternalServerError with default headers values

func (*PutUsersUserIDPasswordInternalServerError) Error ¶

type PutUsersUserIDPasswordOK ¶

type PutUsersUserIDPasswordOK struct {
}
PutUsersUserIDPasswordOK describes a response with status code 200, 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 *legacy.Password

	/* UserID.

	   Registered user ID.

	   Format: int
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutUsersUserIDPasswordParamsWithContext ¶

func NewPutUsersUserIDPasswordParamsWithContext(ctx context.Context) *PutUsersUserIDPasswordParams

NewPutUsersUserIDPasswordParamsWithContext creates a new PutUsersUserIDPasswordParams object with 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 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 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) SetDefaults ¶

func (o *PutUsersUserIDPasswordParams) SetDefaults()

SetDefaults hydrates default values in the put users user ID password params (not the query body).

All values with no default are reset to their zero value.

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 *legacy.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) WithDefaults ¶

WithDefaults hydrates default values in the put users user ID password params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, 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 PutUsersUserIDSysadminBadRequest ¶

type PutUsersUserIDSysadminBadRequest struct {
}
PutUsersUserIDSysadminBadRequest describes a response with status code 400, with default header values.

Invalid user ID.

func NewPutUsersUserIDSysadminBadRequest ¶

func NewPutUsersUserIDSysadminBadRequest() *PutUsersUserIDSysadminBadRequest

NewPutUsersUserIDSysadminBadRequest creates a PutUsersUserIDSysadminBadRequest with default headers values

func (*PutUsersUserIDSysadminBadRequest) Error ¶

type PutUsersUserIDSysadminForbidden ¶

type PutUsersUserIDSysadminForbidden struct {
}
PutUsersUserIDSysadminForbidden describes a response with status code 403, with default header values.

User does not have permission of admin role.

func NewPutUsersUserIDSysadminForbidden ¶

func NewPutUsersUserIDSysadminForbidden() *PutUsersUserIDSysadminForbidden

NewPutUsersUserIDSysadminForbidden creates a PutUsersUserIDSysadminForbidden with default headers values

func (*PutUsersUserIDSysadminForbidden) Error ¶

type PutUsersUserIDSysadminInternalServerError ¶

type PutUsersUserIDSysadminInternalServerError struct {
}
PutUsersUserIDSysadminInternalServerError describes a response with status code 500, with default header values.

Unexpected generate errors.

func NewPutUsersUserIDSysadminInternalServerError ¶

func NewPutUsersUserIDSysadminInternalServerError() *PutUsersUserIDSysadminInternalServerError

NewPutUsersUserIDSysadminInternalServerError creates a PutUsersUserIDSysadminInternalServerError with default headers values

func (*PutUsersUserIDSysadminInternalServerError) Error ¶

type PutUsersUserIDSysadminNotFound ¶

type PutUsersUserIDSysadminNotFound struct {
}
PutUsersUserIDSysadminNotFound describes a response with status code 404, with default header values.

User ID does not exist.

func NewPutUsersUserIDSysadminNotFound ¶

func NewPutUsersUserIDSysadminNotFound() *PutUsersUserIDSysadminNotFound

NewPutUsersUserIDSysadminNotFound creates a PutUsersUserIDSysadminNotFound with default headers values

func (*PutUsersUserIDSysadminNotFound) Error ¶

type PutUsersUserIDSysadminOK ¶

type PutUsersUserIDSysadminOK struct {
}
PutUsersUserIDSysadminOK describes a response with status code 200, with default header values.

Updated user's admin role successfully.

func NewPutUsersUserIDSysadminOK ¶

func NewPutUsersUserIDSysadminOK() *PutUsersUserIDSysadminOK

NewPutUsersUserIDSysadminOK creates a PutUsersUserIDSysadminOK with default headers values

func (*PutUsersUserIDSysadminOK) Error ¶

func (o *PutUsersUserIDSysadminOK) Error() string

type PutUsersUserIDSysadminParams ¶

type PutUsersUserIDSysadminParams struct {

	/* SysadminFlag.

	   Toggle a user to admin or not.
	*/
	SysadminFlag *legacy.SysAdminFlag

	/* UserID.

	   Registered user ID

	   Format: int
	*/
	UserID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutUsersUserIDSysadminParams contains all the parameters to send to the API endpoint

for the put users user ID sysadmin operation.

Typically these are written to a http.Request.

func NewPutUsersUserIDSysadminParams ¶

func NewPutUsersUserIDSysadminParams() *PutUsersUserIDSysadminParams

NewPutUsersUserIDSysadminParams creates a new PutUsersUserIDSysadminParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutUsersUserIDSysadminParamsWithContext ¶

func NewPutUsersUserIDSysadminParamsWithContext(ctx context.Context) *PutUsersUserIDSysadminParams

NewPutUsersUserIDSysadminParamsWithContext creates a new PutUsersUserIDSysadminParams object with the ability to set a context for a request.

func NewPutUsersUserIDSysadminParamsWithHTTPClient ¶

func NewPutUsersUserIDSysadminParamsWithHTTPClient(client *http.Client) *PutUsersUserIDSysadminParams

NewPutUsersUserIDSysadminParamsWithHTTPClient creates a new PutUsersUserIDSysadminParams object with the ability to set a custom HTTPClient for a request.

func NewPutUsersUserIDSysadminParamsWithTimeout ¶

func NewPutUsersUserIDSysadminParamsWithTimeout(timeout time.Duration) *PutUsersUserIDSysadminParams

NewPutUsersUserIDSysadminParamsWithTimeout creates a new PutUsersUserIDSysadminParams object with the ability to set a timeout on a request.

func (*PutUsersUserIDSysadminParams) SetContext ¶

func (o *PutUsersUserIDSysadminParams) SetContext(ctx context.Context)

SetContext adds the context to the put users user ID sysadmin params

func (*PutUsersUserIDSysadminParams) SetDefaults ¶

func (o *PutUsersUserIDSysadminParams) SetDefaults()

SetDefaults hydrates default values in the put users user ID sysadmin params (not the query body).

All values with no default are reset to their zero value.

func (*PutUsersUserIDSysadminParams) SetHTTPClient ¶

func (o *PutUsersUserIDSysadminParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put users user ID sysadmin params

func (*PutUsersUserIDSysadminParams) SetSysadminFlag ¶

func (o *PutUsersUserIDSysadminParams) SetSysadminFlag(sysadminFlag *legacy.SysAdminFlag)

SetSysadminFlag adds the sysadminFlag to the put users user ID sysadmin params

func (*PutUsersUserIDSysadminParams) SetTimeout ¶

func (o *PutUsersUserIDSysadminParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put users user ID sysadmin params

func (*PutUsersUserIDSysadminParams) SetUserID ¶

func (o *PutUsersUserIDSysadminParams) SetUserID(userID int64)

SetUserID adds the userId to the put users user ID sysadmin params

func (*PutUsersUserIDSysadminParams) WithContext ¶

WithContext adds the context to the put users user ID sysadmin params

func (*PutUsersUserIDSysadminParams) WithDefaults ¶

WithDefaults hydrates default values in the put users user ID sysadmin params (not the query body).

All values with no default are reset to their zero value.

func (*PutUsersUserIDSysadminParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the put users user ID sysadmin params

func (*PutUsersUserIDSysadminParams) WithSysadminFlag ¶

WithSysadminFlag adds the sysadminFlag to the put users user ID sysadmin params

func (*PutUsersUserIDSysadminParams) WithTimeout ¶

WithTimeout adds the timeout to the put users user ID sysadmin params

func (*PutUsersUserIDSysadminParams) WithUserID ¶

WithUserID adds the userID to the put users user ID sysadmin params

func (*PutUsersUserIDSysadminParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type PutUsersUserIDSysadminReader ¶

type PutUsersUserIDSysadminReader struct {
	// contains filtered or unexported fields
}

PutUsersUserIDSysadminReader is a Reader for the PutUsersUserIDSysadmin structure.

func (*PutUsersUserIDSysadminReader) ReadResponse ¶

func (o *PutUsersUserIDSysadminReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutUsersUserIDSysadminUnauthorized ¶

type PutUsersUserIDSysadminUnauthorized struct {
}
PutUsersUserIDSysadminUnauthorized describes a response with status code 401, with default header values.

User need to log in first.

func NewPutUsersUserIDSysadminUnauthorized ¶

func NewPutUsersUserIDSysadminUnauthorized() *PutUsersUserIDSysadminUnauthorized

NewPutUsersUserIDSysadminUnauthorized creates a PutUsersUserIDSysadminUnauthorized with default headers values

func (*PutUsersUserIDSysadminUnauthorized) Error ¶

type PutUsersUserIDUnauthorized ¶

type PutUsersUserIDUnauthorized struct {
}
PutUsersUserIDUnauthorized describes a response with status code 401, 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