Documentation ¶
Index ¶
- type ArchiveProjectDefault
- type ArchiveProjectForbidden
- type ArchiveProjectNoContent
- type ArchiveProjectNotFound
- type ArchiveProjectOK
- type ArchiveProjectParams
- func NewArchiveProjectParams() *ArchiveProjectParams
- func NewArchiveProjectParamsWithContext(ctx context.Context) *ArchiveProjectParams
- func NewArchiveProjectParamsWithHTTPClient(client *http.Client) *ArchiveProjectParams
- func NewArchiveProjectParamsWithTimeout(timeout time.Duration) *ArchiveProjectParams
- func (o *ArchiveProjectParams) SetContext(ctx context.Context)
- func (o *ArchiveProjectParams) SetDefaults()
- func (o *ArchiveProjectParams) SetHTTPClient(client *http.Client)
- func (o *ArchiveProjectParams) SetName(name string)
- func (o *ArchiveProjectParams) SetOwner(owner string)
- func (o *ArchiveProjectParams) SetTimeout(timeout time.Duration)
- func (o *ArchiveProjectParams) WithContext(ctx context.Context) *ArchiveProjectParams
- func (o *ArchiveProjectParams) WithDefaults() *ArchiveProjectParams
- func (o *ArchiveProjectParams) WithHTTPClient(client *http.Client) *ArchiveProjectParams
- func (o *ArchiveProjectParams) WithName(name string) *ArchiveProjectParams
- func (o *ArchiveProjectParams) WithOwner(owner string) *ArchiveProjectParams
- func (o *ArchiveProjectParams) WithTimeout(timeout time.Duration) *ArchiveProjectParams
- func (o *ArchiveProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ArchiveProjectReader
- type BookmarkProjectDefault
- type BookmarkProjectForbidden
- type BookmarkProjectNoContent
- type BookmarkProjectNotFound
- type BookmarkProjectOK
- type BookmarkProjectParams
- func NewBookmarkProjectParams() *BookmarkProjectParams
- func NewBookmarkProjectParamsWithContext(ctx context.Context) *BookmarkProjectParams
- func NewBookmarkProjectParamsWithHTTPClient(client *http.Client) *BookmarkProjectParams
- func NewBookmarkProjectParamsWithTimeout(timeout time.Duration) *BookmarkProjectParams
- func (o *BookmarkProjectParams) SetContext(ctx context.Context)
- func (o *BookmarkProjectParams) SetDefaults()
- func (o *BookmarkProjectParams) SetHTTPClient(client *http.Client)
- func (o *BookmarkProjectParams) SetName(name string)
- func (o *BookmarkProjectParams) SetOwner(owner string)
- func (o *BookmarkProjectParams) SetTimeout(timeout time.Duration)
- func (o *BookmarkProjectParams) WithContext(ctx context.Context) *BookmarkProjectParams
- func (o *BookmarkProjectParams) WithDefaults() *BookmarkProjectParams
- func (o *BookmarkProjectParams) WithHTTPClient(client *http.Client) *BookmarkProjectParams
- func (o *BookmarkProjectParams) WithName(name string) *BookmarkProjectParams
- func (o *BookmarkProjectParams) WithOwner(owner string) *BookmarkProjectParams
- func (o *BookmarkProjectParams) WithTimeout(timeout time.Duration) *BookmarkProjectParams
- func (o *BookmarkProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BookmarkProjectReader
- type Client
- func (a *Client) ArchiveProject(params *ArchiveProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ArchiveProjectOK, *ArchiveProjectNoContent, error)
- func (a *Client) BookmarkProject(params *BookmarkProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BookmarkProjectOK, *BookmarkProjectNoContent, error)
- func (a *Client) CreateProject(params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateProjectOK, *CreateProjectNoContent, error)
- func (a *Client) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteProjectOK, *DeleteProjectNoContent, error)
- func (a *Client) DisableProjectCI(params *DisableProjectCIParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DisableProjectCIOK, *DisableProjectCINoContent, error)
- func (a *Client) EnableProjectCI(params *EnableProjectCIParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EnableProjectCIOK, *EnableProjectCINoContent, error)
- func (a *Client) GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetProjectOK, *GetProjectNoContent, error)
- func (a *Client) GetProjectActivities(params *GetProjectActivitiesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetProjectActivitiesOK, *GetProjectActivitiesNoContent, error)
- func (a *Client) GetProjectSettings(params *GetProjectSettingsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetProjectSettingsOK, *GetProjectSettingsNoContent, error)
- func (a *Client) GetProjectStats(params *GetProjectStatsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetProjectStatsOK, *GetProjectStatsNoContent, error)
- func (a *Client) ListArchivedProjects(params *ListArchivedProjectsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListArchivedProjectsOK, *ListArchivedProjectsNoContent, error)
- func (a *Client) ListBookmarkedProjects(params *ListBookmarkedProjectsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListBookmarkedProjectsOK, *ListBookmarkedProjectsNoContent, error)
- func (a *Client) ListProjectNames(params *ListProjectNamesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListProjectNamesOK, *ListProjectNamesNoContent, error)
- func (a *Client) ListProjects(params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListProjectsOK, *ListProjectsNoContent, error)
- func (a *Client) PatchProject(params *PatchProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchProjectOK, *PatchProjectNoContent, error)
- func (a *Client) PatchProjectSettings(params *PatchProjectSettingsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchProjectSettingsOK, *PatchProjectSettingsNoContent, error)
- func (a *Client) RestoreProject(params *RestoreProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RestoreProjectOK, *RestoreProjectNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UnbookmarkProject(params *UnbookmarkProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UnbookmarkProjectOK, *UnbookmarkProjectNoContent, error)
- func (a *Client) UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateProjectOK, *UpdateProjectNoContent, error)
- func (a *Client) UpdateProjectSettings(params *UpdateProjectSettingsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateProjectSettingsOK, *UpdateProjectSettingsNoContent, error)
- func (a *Client) UploadProjectArtifact(params *UploadProjectArtifactParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UploadProjectArtifactOK, *UploadProjectArtifactNoContent, error)
- type ClientOption
- type ClientService
- type CreateProjectDefault
- type CreateProjectForbidden
- type CreateProjectNoContent
- type CreateProjectNotFound
- type CreateProjectOK
- type CreateProjectParams
- func (o *CreateProjectParams) SetBody(body *service_model.V1Project)
- func (o *CreateProjectParams) SetContext(ctx context.Context)
- func (o *CreateProjectParams) SetDefaults()
- func (o *CreateProjectParams) SetHTTPClient(client *http.Client)
- func (o *CreateProjectParams) SetOwner(owner string)
- func (o *CreateProjectParams) SetTimeout(timeout time.Duration)
- func (o *CreateProjectParams) WithBody(body *service_model.V1Project) *CreateProjectParams
- func (o *CreateProjectParams) WithContext(ctx context.Context) *CreateProjectParams
- func (o *CreateProjectParams) WithDefaults() *CreateProjectParams
- func (o *CreateProjectParams) WithHTTPClient(client *http.Client) *CreateProjectParams
- func (o *CreateProjectParams) WithOwner(owner string) *CreateProjectParams
- func (o *CreateProjectParams) WithTimeout(timeout time.Duration) *CreateProjectParams
- func (o *CreateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateProjectReader
- type DeleteProjectDefault
- type DeleteProjectForbidden
- type DeleteProjectNoContent
- type DeleteProjectNotFound
- type DeleteProjectOK
- type DeleteProjectParams
- func (o *DeleteProjectParams) SetContext(ctx context.Context)
- func (o *DeleteProjectParams) SetDefaults()
- func (o *DeleteProjectParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProjectParams) SetName(name string)
- func (o *DeleteProjectParams) SetOwner(owner string)
- func (o *DeleteProjectParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProjectParams) WithContext(ctx context.Context) *DeleteProjectParams
- func (o *DeleteProjectParams) WithDefaults() *DeleteProjectParams
- func (o *DeleteProjectParams) WithHTTPClient(client *http.Client) *DeleteProjectParams
- func (o *DeleteProjectParams) WithName(name string) *DeleteProjectParams
- func (o *DeleteProjectParams) WithOwner(owner string) *DeleteProjectParams
- func (o *DeleteProjectParams) WithTimeout(timeout time.Duration) *DeleteProjectParams
- func (o *DeleteProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProjectReader
- type DisableProjectCIDefault
- type DisableProjectCIForbidden
- type DisableProjectCINoContent
- type DisableProjectCINotFound
- type DisableProjectCIOK
- type DisableProjectCIParams
- func NewDisableProjectCIParams() *DisableProjectCIParams
- func NewDisableProjectCIParamsWithContext(ctx context.Context) *DisableProjectCIParams
- func NewDisableProjectCIParamsWithHTTPClient(client *http.Client) *DisableProjectCIParams
- func NewDisableProjectCIParamsWithTimeout(timeout time.Duration) *DisableProjectCIParams
- func (o *DisableProjectCIParams) SetContext(ctx context.Context)
- func (o *DisableProjectCIParams) SetDefaults()
- func (o *DisableProjectCIParams) SetHTTPClient(client *http.Client)
- func (o *DisableProjectCIParams) SetName(name string)
- func (o *DisableProjectCIParams) SetOwner(owner string)
- func (o *DisableProjectCIParams) SetTimeout(timeout time.Duration)
- func (o *DisableProjectCIParams) WithContext(ctx context.Context) *DisableProjectCIParams
- func (o *DisableProjectCIParams) WithDefaults() *DisableProjectCIParams
- func (o *DisableProjectCIParams) WithHTTPClient(client *http.Client) *DisableProjectCIParams
- func (o *DisableProjectCIParams) WithName(name string) *DisableProjectCIParams
- func (o *DisableProjectCIParams) WithOwner(owner string) *DisableProjectCIParams
- func (o *DisableProjectCIParams) WithTimeout(timeout time.Duration) *DisableProjectCIParams
- func (o *DisableProjectCIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DisableProjectCIReader
- type EnableProjectCIDefault
- type EnableProjectCIForbidden
- type EnableProjectCINoContent
- type EnableProjectCINotFound
- type EnableProjectCIOK
- type EnableProjectCIParams
- func NewEnableProjectCIParams() *EnableProjectCIParams
- func NewEnableProjectCIParamsWithContext(ctx context.Context) *EnableProjectCIParams
- func NewEnableProjectCIParamsWithHTTPClient(client *http.Client) *EnableProjectCIParams
- func NewEnableProjectCIParamsWithTimeout(timeout time.Duration) *EnableProjectCIParams
- func (o *EnableProjectCIParams) SetContext(ctx context.Context)
- func (o *EnableProjectCIParams) SetDefaults()
- func (o *EnableProjectCIParams) SetHTTPClient(client *http.Client)
- func (o *EnableProjectCIParams) SetName(name string)
- func (o *EnableProjectCIParams) SetOwner(owner string)
- func (o *EnableProjectCIParams) SetTimeout(timeout time.Duration)
- func (o *EnableProjectCIParams) WithContext(ctx context.Context) *EnableProjectCIParams
- func (o *EnableProjectCIParams) WithDefaults() *EnableProjectCIParams
- func (o *EnableProjectCIParams) WithHTTPClient(client *http.Client) *EnableProjectCIParams
- func (o *EnableProjectCIParams) WithName(name string) *EnableProjectCIParams
- func (o *EnableProjectCIParams) WithOwner(owner string) *EnableProjectCIParams
- func (o *EnableProjectCIParams) WithTimeout(timeout time.Duration) *EnableProjectCIParams
- func (o *EnableProjectCIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnableProjectCIReader
- type GetProjectActivitiesDefault
- type GetProjectActivitiesForbidden
- type GetProjectActivitiesNoContent
- type GetProjectActivitiesNotFound
- type GetProjectActivitiesOK
- type GetProjectActivitiesParams
- func NewGetProjectActivitiesParams() *GetProjectActivitiesParams
- func NewGetProjectActivitiesParamsWithContext(ctx context.Context) *GetProjectActivitiesParams
- func NewGetProjectActivitiesParamsWithHTTPClient(client *http.Client) *GetProjectActivitiesParams
- func NewGetProjectActivitiesParamsWithTimeout(timeout time.Duration) *GetProjectActivitiesParams
- func (o *GetProjectActivitiesParams) SetContext(ctx context.Context)
- func (o *GetProjectActivitiesParams) SetDefaults()
- func (o *GetProjectActivitiesParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectActivitiesParams) SetLimit(limit *int32)
- func (o *GetProjectActivitiesParams) SetMode(mode *string)
- func (o *GetProjectActivitiesParams) SetName(name string)
- func (o *GetProjectActivitiesParams) SetNoPage(noPage *bool)
- func (o *GetProjectActivitiesParams) SetOffset(offset *int32)
- func (o *GetProjectActivitiesParams) SetOwner(owner string)
- func (o *GetProjectActivitiesParams) SetQuery(query *string)
- func (o *GetProjectActivitiesParams) SetSort(sort *string)
- func (o *GetProjectActivitiesParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectActivitiesParams) WithContext(ctx context.Context) *GetProjectActivitiesParams
- func (o *GetProjectActivitiesParams) WithDefaults() *GetProjectActivitiesParams
- func (o *GetProjectActivitiesParams) WithHTTPClient(client *http.Client) *GetProjectActivitiesParams
- func (o *GetProjectActivitiesParams) WithLimit(limit *int32) *GetProjectActivitiesParams
- func (o *GetProjectActivitiesParams) WithMode(mode *string) *GetProjectActivitiesParams
- func (o *GetProjectActivitiesParams) WithName(name string) *GetProjectActivitiesParams
- func (o *GetProjectActivitiesParams) WithNoPage(noPage *bool) *GetProjectActivitiesParams
- func (o *GetProjectActivitiesParams) WithOffset(offset *int32) *GetProjectActivitiesParams
- func (o *GetProjectActivitiesParams) WithOwner(owner string) *GetProjectActivitiesParams
- func (o *GetProjectActivitiesParams) WithQuery(query *string) *GetProjectActivitiesParams
- func (o *GetProjectActivitiesParams) WithSort(sort *string) *GetProjectActivitiesParams
- func (o *GetProjectActivitiesParams) WithTimeout(timeout time.Duration) *GetProjectActivitiesParams
- func (o *GetProjectActivitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectActivitiesReader
- type GetProjectDefault
- type GetProjectForbidden
- type GetProjectNoContent
- type GetProjectNotFound
- type GetProjectOK
- type GetProjectParams
- func (o *GetProjectParams) SetContext(ctx context.Context)
- func (o *GetProjectParams) SetDefaults()
- func (o *GetProjectParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectParams) SetName(name string)
- func (o *GetProjectParams) SetOwner(owner string)
- func (o *GetProjectParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectParams) WithContext(ctx context.Context) *GetProjectParams
- func (o *GetProjectParams) WithDefaults() *GetProjectParams
- func (o *GetProjectParams) WithHTTPClient(client *http.Client) *GetProjectParams
- func (o *GetProjectParams) WithName(name string) *GetProjectParams
- func (o *GetProjectParams) WithOwner(owner string) *GetProjectParams
- func (o *GetProjectParams) WithTimeout(timeout time.Duration) *GetProjectParams
- func (o *GetProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectReader
- type GetProjectSettingsDefault
- type GetProjectSettingsForbidden
- type GetProjectSettingsNoContent
- type GetProjectSettingsNotFound
- type GetProjectSettingsOK
- type GetProjectSettingsParams
- func NewGetProjectSettingsParams() *GetProjectSettingsParams
- func NewGetProjectSettingsParamsWithContext(ctx context.Context) *GetProjectSettingsParams
- func NewGetProjectSettingsParamsWithHTTPClient(client *http.Client) *GetProjectSettingsParams
- func NewGetProjectSettingsParamsWithTimeout(timeout time.Duration) *GetProjectSettingsParams
- func (o *GetProjectSettingsParams) SetContext(ctx context.Context)
- func (o *GetProjectSettingsParams) SetDefaults()
- func (o *GetProjectSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectSettingsParams) SetName(name string)
- func (o *GetProjectSettingsParams) SetOwner(owner string)
- func (o *GetProjectSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectSettingsParams) WithContext(ctx context.Context) *GetProjectSettingsParams
- func (o *GetProjectSettingsParams) WithDefaults() *GetProjectSettingsParams
- func (o *GetProjectSettingsParams) WithHTTPClient(client *http.Client) *GetProjectSettingsParams
- func (o *GetProjectSettingsParams) WithName(name string) *GetProjectSettingsParams
- func (o *GetProjectSettingsParams) WithOwner(owner string) *GetProjectSettingsParams
- func (o *GetProjectSettingsParams) WithTimeout(timeout time.Duration) *GetProjectSettingsParams
- func (o *GetProjectSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectSettingsReader
- type GetProjectStatsDefault
- type GetProjectStatsForbidden
- type GetProjectStatsNoContent
- type GetProjectStatsNotFound
- type GetProjectStatsOK
- type GetProjectStatsParams
- func NewGetProjectStatsParams() *GetProjectStatsParams
- func NewGetProjectStatsParamsWithContext(ctx context.Context) *GetProjectStatsParams
- func NewGetProjectStatsParamsWithHTTPClient(client *http.Client) *GetProjectStatsParams
- func NewGetProjectStatsParamsWithTimeout(timeout time.Duration) *GetProjectStatsParams
- func (o *GetProjectStatsParams) SetAggregate(aggregate *string)
- func (o *GetProjectStatsParams) SetContext(ctx context.Context)
- func (o *GetProjectStatsParams) SetDefaults()
- func (o *GetProjectStatsParams) SetGroupby(groupby *string)
- func (o *GetProjectStatsParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectStatsParams) SetKind(kind *string)
- func (o *GetProjectStatsParams) SetLimit(limit *int32)
- func (o *GetProjectStatsParams) SetName(name string)
- func (o *GetProjectStatsParams) SetOffset(offset *int32)
- func (o *GetProjectStatsParams) SetOwner(owner string)
- func (o *GetProjectStatsParams) SetQuery(query *string)
- func (o *GetProjectStatsParams) SetSort(sort *string)
- func (o *GetProjectStatsParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectStatsParams) SetTrunc(trunc *string)
- func (o *GetProjectStatsParams) WithAggregate(aggregate *string) *GetProjectStatsParams
- func (o *GetProjectStatsParams) WithContext(ctx context.Context) *GetProjectStatsParams
- func (o *GetProjectStatsParams) WithDefaults() *GetProjectStatsParams
- func (o *GetProjectStatsParams) WithGroupby(groupby *string) *GetProjectStatsParams
- func (o *GetProjectStatsParams) WithHTTPClient(client *http.Client) *GetProjectStatsParams
- func (o *GetProjectStatsParams) WithKind(kind *string) *GetProjectStatsParams
- func (o *GetProjectStatsParams) WithLimit(limit *int32) *GetProjectStatsParams
- func (o *GetProjectStatsParams) WithName(name string) *GetProjectStatsParams
- func (o *GetProjectStatsParams) WithOffset(offset *int32) *GetProjectStatsParams
- func (o *GetProjectStatsParams) WithOwner(owner string) *GetProjectStatsParams
- func (o *GetProjectStatsParams) WithQuery(query *string) *GetProjectStatsParams
- func (o *GetProjectStatsParams) WithSort(sort *string) *GetProjectStatsParams
- func (o *GetProjectStatsParams) WithTimeout(timeout time.Duration) *GetProjectStatsParams
- func (o *GetProjectStatsParams) WithTrunc(trunc *string) *GetProjectStatsParams
- func (o *GetProjectStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectStatsReader
- type ListArchivedProjectsDefault
- type ListArchivedProjectsForbidden
- type ListArchivedProjectsNoContent
- type ListArchivedProjectsNotFound
- type ListArchivedProjectsOK
- type ListArchivedProjectsParams
- func NewListArchivedProjectsParams() *ListArchivedProjectsParams
- func NewListArchivedProjectsParamsWithContext(ctx context.Context) *ListArchivedProjectsParams
- func NewListArchivedProjectsParamsWithHTTPClient(client *http.Client) *ListArchivedProjectsParams
- func NewListArchivedProjectsParamsWithTimeout(timeout time.Duration) *ListArchivedProjectsParams
- func (o *ListArchivedProjectsParams) SetContext(ctx context.Context)
- func (o *ListArchivedProjectsParams) SetDefaults()
- func (o *ListArchivedProjectsParams) SetHTTPClient(client *http.Client)
- func (o *ListArchivedProjectsParams) SetLimit(limit *int32)
- func (o *ListArchivedProjectsParams) SetNoPage(noPage *bool)
- func (o *ListArchivedProjectsParams) SetOffset(offset *int32)
- func (o *ListArchivedProjectsParams) SetQuery(query *string)
- func (o *ListArchivedProjectsParams) SetSort(sort *string)
- func (o *ListArchivedProjectsParams) SetTimeout(timeout time.Duration)
- func (o *ListArchivedProjectsParams) SetUser(user string)
- func (o *ListArchivedProjectsParams) WithContext(ctx context.Context) *ListArchivedProjectsParams
- func (o *ListArchivedProjectsParams) WithDefaults() *ListArchivedProjectsParams
- func (o *ListArchivedProjectsParams) WithHTTPClient(client *http.Client) *ListArchivedProjectsParams
- func (o *ListArchivedProjectsParams) WithLimit(limit *int32) *ListArchivedProjectsParams
- func (o *ListArchivedProjectsParams) WithNoPage(noPage *bool) *ListArchivedProjectsParams
- func (o *ListArchivedProjectsParams) WithOffset(offset *int32) *ListArchivedProjectsParams
- func (o *ListArchivedProjectsParams) WithQuery(query *string) *ListArchivedProjectsParams
- func (o *ListArchivedProjectsParams) WithSort(sort *string) *ListArchivedProjectsParams
- func (o *ListArchivedProjectsParams) WithTimeout(timeout time.Duration) *ListArchivedProjectsParams
- func (o *ListArchivedProjectsParams) WithUser(user string) *ListArchivedProjectsParams
- func (o *ListArchivedProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListArchivedProjectsReader
- type ListBookmarkedProjectsDefault
- type ListBookmarkedProjectsForbidden
- type ListBookmarkedProjectsNoContent
- type ListBookmarkedProjectsNotFound
- type ListBookmarkedProjectsOK
- type ListBookmarkedProjectsParams
- func NewListBookmarkedProjectsParams() *ListBookmarkedProjectsParams
- func NewListBookmarkedProjectsParamsWithContext(ctx context.Context) *ListBookmarkedProjectsParams
- func NewListBookmarkedProjectsParamsWithHTTPClient(client *http.Client) *ListBookmarkedProjectsParams
- func NewListBookmarkedProjectsParamsWithTimeout(timeout time.Duration) *ListBookmarkedProjectsParams
- func (o *ListBookmarkedProjectsParams) SetContext(ctx context.Context)
- func (o *ListBookmarkedProjectsParams) SetDefaults()
- func (o *ListBookmarkedProjectsParams) SetHTTPClient(client *http.Client)
- func (o *ListBookmarkedProjectsParams) SetLimit(limit *int32)
- func (o *ListBookmarkedProjectsParams) SetNoPage(noPage *bool)
- func (o *ListBookmarkedProjectsParams) SetOffset(offset *int32)
- func (o *ListBookmarkedProjectsParams) SetQuery(query *string)
- func (o *ListBookmarkedProjectsParams) SetSort(sort *string)
- func (o *ListBookmarkedProjectsParams) SetTimeout(timeout time.Duration)
- func (o *ListBookmarkedProjectsParams) SetUser(user string)
- func (o *ListBookmarkedProjectsParams) WithContext(ctx context.Context) *ListBookmarkedProjectsParams
- func (o *ListBookmarkedProjectsParams) WithDefaults() *ListBookmarkedProjectsParams
- func (o *ListBookmarkedProjectsParams) WithHTTPClient(client *http.Client) *ListBookmarkedProjectsParams
- func (o *ListBookmarkedProjectsParams) WithLimit(limit *int32) *ListBookmarkedProjectsParams
- func (o *ListBookmarkedProjectsParams) WithNoPage(noPage *bool) *ListBookmarkedProjectsParams
- func (o *ListBookmarkedProjectsParams) WithOffset(offset *int32) *ListBookmarkedProjectsParams
- func (o *ListBookmarkedProjectsParams) WithQuery(query *string) *ListBookmarkedProjectsParams
- func (o *ListBookmarkedProjectsParams) WithSort(sort *string) *ListBookmarkedProjectsParams
- func (o *ListBookmarkedProjectsParams) WithTimeout(timeout time.Duration) *ListBookmarkedProjectsParams
- func (o *ListBookmarkedProjectsParams) WithUser(user string) *ListBookmarkedProjectsParams
- func (o *ListBookmarkedProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListBookmarkedProjectsReader
- type ListProjectNamesDefault
- type ListProjectNamesForbidden
- type ListProjectNamesNoContent
- type ListProjectNamesNotFound
- type ListProjectNamesOK
- type ListProjectNamesParams
- func NewListProjectNamesParams() *ListProjectNamesParams
- func NewListProjectNamesParamsWithContext(ctx context.Context) *ListProjectNamesParams
- func NewListProjectNamesParamsWithHTTPClient(client *http.Client) *ListProjectNamesParams
- func NewListProjectNamesParamsWithTimeout(timeout time.Duration) *ListProjectNamesParams
- func (o *ListProjectNamesParams) SetContext(ctx context.Context)
- func (o *ListProjectNamesParams) SetDefaults()
- func (o *ListProjectNamesParams) SetHTTPClient(client *http.Client)
- func (o *ListProjectNamesParams) SetLimit(limit *int32)
- func (o *ListProjectNamesParams) SetNoPage(noPage *bool)
- func (o *ListProjectNamesParams) SetOffset(offset *int32)
- func (o *ListProjectNamesParams) SetOwner(owner string)
- func (o *ListProjectNamesParams) SetQuery(query *string)
- func (o *ListProjectNamesParams) SetSort(sort *string)
- func (o *ListProjectNamesParams) SetTimeout(timeout time.Duration)
- func (o *ListProjectNamesParams) WithContext(ctx context.Context) *ListProjectNamesParams
- func (o *ListProjectNamesParams) WithDefaults() *ListProjectNamesParams
- func (o *ListProjectNamesParams) WithHTTPClient(client *http.Client) *ListProjectNamesParams
- func (o *ListProjectNamesParams) WithLimit(limit *int32) *ListProjectNamesParams
- func (o *ListProjectNamesParams) WithNoPage(noPage *bool) *ListProjectNamesParams
- func (o *ListProjectNamesParams) WithOffset(offset *int32) *ListProjectNamesParams
- func (o *ListProjectNamesParams) WithOwner(owner string) *ListProjectNamesParams
- func (o *ListProjectNamesParams) WithQuery(query *string) *ListProjectNamesParams
- func (o *ListProjectNamesParams) WithSort(sort *string) *ListProjectNamesParams
- func (o *ListProjectNamesParams) WithTimeout(timeout time.Duration) *ListProjectNamesParams
- func (o *ListProjectNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProjectNamesReader
- type ListProjectsDefault
- type ListProjectsForbidden
- type ListProjectsNoContent
- type ListProjectsNotFound
- type ListProjectsOK
- type ListProjectsParams
- func (o *ListProjectsParams) SetContext(ctx context.Context)
- func (o *ListProjectsParams) SetDefaults()
- func (o *ListProjectsParams) SetHTTPClient(client *http.Client)
- func (o *ListProjectsParams) SetLimit(limit *int32)
- func (o *ListProjectsParams) SetNoPage(noPage *bool)
- func (o *ListProjectsParams) SetOffset(offset *int32)
- func (o *ListProjectsParams) SetOwner(owner string)
- func (o *ListProjectsParams) SetQuery(query *string)
- func (o *ListProjectsParams) SetSort(sort *string)
- func (o *ListProjectsParams) SetTimeout(timeout time.Duration)
- func (o *ListProjectsParams) WithContext(ctx context.Context) *ListProjectsParams
- func (o *ListProjectsParams) WithDefaults() *ListProjectsParams
- func (o *ListProjectsParams) WithHTTPClient(client *http.Client) *ListProjectsParams
- func (o *ListProjectsParams) WithLimit(limit *int32) *ListProjectsParams
- func (o *ListProjectsParams) WithNoPage(noPage *bool) *ListProjectsParams
- func (o *ListProjectsParams) WithOffset(offset *int32) *ListProjectsParams
- func (o *ListProjectsParams) WithOwner(owner string) *ListProjectsParams
- func (o *ListProjectsParams) WithQuery(query *string) *ListProjectsParams
- func (o *ListProjectsParams) WithSort(sort *string) *ListProjectsParams
- func (o *ListProjectsParams) WithTimeout(timeout time.Duration) *ListProjectsParams
- func (o *ListProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProjectsReader
- type PatchProjectDefault
- type PatchProjectForbidden
- type PatchProjectNoContent
- type PatchProjectNotFound
- type PatchProjectOK
- type PatchProjectParams
- func (o *PatchProjectParams) SetBody(body *service_model.V1Project)
- func (o *PatchProjectParams) SetContext(ctx context.Context)
- func (o *PatchProjectParams) SetDefaults()
- func (o *PatchProjectParams) SetHTTPClient(client *http.Client)
- func (o *PatchProjectParams) SetOwner(owner string)
- func (o *PatchProjectParams) SetProjectName(projectName string)
- func (o *PatchProjectParams) SetTimeout(timeout time.Duration)
- func (o *PatchProjectParams) WithBody(body *service_model.V1Project) *PatchProjectParams
- func (o *PatchProjectParams) WithContext(ctx context.Context) *PatchProjectParams
- func (o *PatchProjectParams) WithDefaults() *PatchProjectParams
- func (o *PatchProjectParams) WithHTTPClient(client *http.Client) *PatchProjectParams
- func (o *PatchProjectParams) WithOwner(owner string) *PatchProjectParams
- func (o *PatchProjectParams) WithProjectName(projectName string) *PatchProjectParams
- func (o *PatchProjectParams) WithTimeout(timeout time.Duration) *PatchProjectParams
- func (o *PatchProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchProjectReader
- type PatchProjectSettingsDefault
- type PatchProjectSettingsForbidden
- type PatchProjectSettingsNoContent
- type PatchProjectSettingsNotFound
- type PatchProjectSettingsOK
- type PatchProjectSettingsParams
- func NewPatchProjectSettingsParams() *PatchProjectSettingsParams
- func NewPatchProjectSettingsParamsWithContext(ctx context.Context) *PatchProjectSettingsParams
- func NewPatchProjectSettingsParamsWithHTTPClient(client *http.Client) *PatchProjectSettingsParams
- func NewPatchProjectSettingsParamsWithTimeout(timeout time.Duration) *PatchProjectSettingsParams
- func (o *PatchProjectSettingsParams) SetBody(body *service_model.V1ProjectSettings)
- func (o *PatchProjectSettingsParams) SetContext(ctx context.Context)
- func (o *PatchProjectSettingsParams) SetDefaults()
- func (o *PatchProjectSettingsParams) SetHTTPClient(client *http.Client)
- func (o *PatchProjectSettingsParams) SetOwner(owner string)
- func (o *PatchProjectSettingsParams) SetProject(project string)
- func (o *PatchProjectSettingsParams) SetTimeout(timeout time.Duration)
- func (o *PatchProjectSettingsParams) WithBody(body *service_model.V1ProjectSettings) *PatchProjectSettingsParams
- func (o *PatchProjectSettingsParams) WithContext(ctx context.Context) *PatchProjectSettingsParams
- func (o *PatchProjectSettingsParams) WithDefaults() *PatchProjectSettingsParams
- func (o *PatchProjectSettingsParams) WithHTTPClient(client *http.Client) *PatchProjectSettingsParams
- func (o *PatchProjectSettingsParams) WithOwner(owner string) *PatchProjectSettingsParams
- func (o *PatchProjectSettingsParams) WithProject(project string) *PatchProjectSettingsParams
- func (o *PatchProjectSettingsParams) WithTimeout(timeout time.Duration) *PatchProjectSettingsParams
- func (o *PatchProjectSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchProjectSettingsReader
- type RestoreProjectDefault
- type RestoreProjectForbidden
- type RestoreProjectNoContent
- type RestoreProjectNotFound
- type RestoreProjectOK
- type RestoreProjectParams
- func NewRestoreProjectParams() *RestoreProjectParams
- func NewRestoreProjectParamsWithContext(ctx context.Context) *RestoreProjectParams
- func NewRestoreProjectParamsWithHTTPClient(client *http.Client) *RestoreProjectParams
- func NewRestoreProjectParamsWithTimeout(timeout time.Duration) *RestoreProjectParams
- func (o *RestoreProjectParams) SetContext(ctx context.Context)
- func (o *RestoreProjectParams) SetDefaults()
- func (o *RestoreProjectParams) SetHTTPClient(client *http.Client)
- func (o *RestoreProjectParams) SetName(name string)
- func (o *RestoreProjectParams) SetOwner(owner string)
- func (o *RestoreProjectParams) SetTimeout(timeout time.Duration)
- func (o *RestoreProjectParams) WithContext(ctx context.Context) *RestoreProjectParams
- func (o *RestoreProjectParams) WithDefaults() *RestoreProjectParams
- func (o *RestoreProjectParams) WithHTTPClient(client *http.Client) *RestoreProjectParams
- func (o *RestoreProjectParams) WithName(name string) *RestoreProjectParams
- func (o *RestoreProjectParams) WithOwner(owner string) *RestoreProjectParams
- func (o *RestoreProjectParams) WithTimeout(timeout time.Duration) *RestoreProjectParams
- func (o *RestoreProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestoreProjectReader
- type UnbookmarkProjectDefault
- type UnbookmarkProjectForbidden
- type UnbookmarkProjectNoContent
- type UnbookmarkProjectNotFound
- type UnbookmarkProjectOK
- type UnbookmarkProjectParams
- func NewUnbookmarkProjectParams() *UnbookmarkProjectParams
- func NewUnbookmarkProjectParamsWithContext(ctx context.Context) *UnbookmarkProjectParams
- func NewUnbookmarkProjectParamsWithHTTPClient(client *http.Client) *UnbookmarkProjectParams
- func NewUnbookmarkProjectParamsWithTimeout(timeout time.Duration) *UnbookmarkProjectParams
- func (o *UnbookmarkProjectParams) SetContext(ctx context.Context)
- func (o *UnbookmarkProjectParams) SetDefaults()
- func (o *UnbookmarkProjectParams) SetHTTPClient(client *http.Client)
- func (o *UnbookmarkProjectParams) SetName(name string)
- func (o *UnbookmarkProjectParams) SetOwner(owner string)
- func (o *UnbookmarkProjectParams) SetTimeout(timeout time.Duration)
- func (o *UnbookmarkProjectParams) WithContext(ctx context.Context) *UnbookmarkProjectParams
- func (o *UnbookmarkProjectParams) WithDefaults() *UnbookmarkProjectParams
- func (o *UnbookmarkProjectParams) WithHTTPClient(client *http.Client) *UnbookmarkProjectParams
- func (o *UnbookmarkProjectParams) WithName(name string) *UnbookmarkProjectParams
- func (o *UnbookmarkProjectParams) WithOwner(owner string) *UnbookmarkProjectParams
- func (o *UnbookmarkProjectParams) WithTimeout(timeout time.Duration) *UnbookmarkProjectParams
- func (o *UnbookmarkProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnbookmarkProjectReader
- type UpdateProjectDefault
- type UpdateProjectForbidden
- type UpdateProjectNoContent
- type UpdateProjectNotFound
- type UpdateProjectOK
- type UpdateProjectParams
- func (o *UpdateProjectParams) SetBody(body *service_model.V1Project)
- func (o *UpdateProjectParams) SetContext(ctx context.Context)
- func (o *UpdateProjectParams) SetDefaults()
- func (o *UpdateProjectParams) SetHTTPClient(client *http.Client)
- func (o *UpdateProjectParams) SetOwner(owner string)
- func (o *UpdateProjectParams) SetProjectName(projectName string)
- func (o *UpdateProjectParams) SetTimeout(timeout time.Duration)
- func (o *UpdateProjectParams) WithBody(body *service_model.V1Project) *UpdateProjectParams
- func (o *UpdateProjectParams) WithContext(ctx context.Context) *UpdateProjectParams
- func (o *UpdateProjectParams) WithDefaults() *UpdateProjectParams
- func (o *UpdateProjectParams) WithHTTPClient(client *http.Client) *UpdateProjectParams
- func (o *UpdateProjectParams) WithOwner(owner string) *UpdateProjectParams
- func (o *UpdateProjectParams) WithProjectName(projectName string) *UpdateProjectParams
- func (o *UpdateProjectParams) WithTimeout(timeout time.Duration) *UpdateProjectParams
- func (o *UpdateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateProjectReader
- type UpdateProjectSettingsDefault
- type UpdateProjectSettingsForbidden
- type UpdateProjectSettingsNoContent
- type UpdateProjectSettingsNotFound
- type UpdateProjectSettingsOK
- type UpdateProjectSettingsParams
- func NewUpdateProjectSettingsParams() *UpdateProjectSettingsParams
- func NewUpdateProjectSettingsParamsWithContext(ctx context.Context) *UpdateProjectSettingsParams
- func NewUpdateProjectSettingsParamsWithHTTPClient(client *http.Client) *UpdateProjectSettingsParams
- func NewUpdateProjectSettingsParamsWithTimeout(timeout time.Duration) *UpdateProjectSettingsParams
- func (o *UpdateProjectSettingsParams) SetBody(body *service_model.V1ProjectSettings)
- func (o *UpdateProjectSettingsParams) SetContext(ctx context.Context)
- func (o *UpdateProjectSettingsParams) SetDefaults()
- func (o *UpdateProjectSettingsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateProjectSettingsParams) SetOwner(owner string)
- func (o *UpdateProjectSettingsParams) SetProject(project string)
- func (o *UpdateProjectSettingsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateProjectSettingsParams) WithBody(body *service_model.V1ProjectSettings) *UpdateProjectSettingsParams
- func (o *UpdateProjectSettingsParams) WithContext(ctx context.Context) *UpdateProjectSettingsParams
- func (o *UpdateProjectSettingsParams) WithDefaults() *UpdateProjectSettingsParams
- func (o *UpdateProjectSettingsParams) WithHTTPClient(client *http.Client) *UpdateProjectSettingsParams
- func (o *UpdateProjectSettingsParams) WithOwner(owner string) *UpdateProjectSettingsParams
- func (o *UpdateProjectSettingsParams) WithProject(project string) *UpdateProjectSettingsParams
- func (o *UpdateProjectSettingsParams) WithTimeout(timeout time.Duration) *UpdateProjectSettingsParams
- func (o *UpdateProjectSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateProjectSettingsReader
- type UploadProjectArtifactForbidden
- type UploadProjectArtifactNoContent
- type UploadProjectArtifactNotFound
- type UploadProjectArtifactOK
- type UploadProjectArtifactParams
- func NewUploadProjectArtifactParams() *UploadProjectArtifactParams
- func NewUploadProjectArtifactParamsWithContext(ctx context.Context) *UploadProjectArtifactParams
- func NewUploadProjectArtifactParamsWithHTTPClient(client *http.Client) *UploadProjectArtifactParams
- func NewUploadProjectArtifactParamsWithTimeout(timeout time.Duration) *UploadProjectArtifactParams
- func (o *UploadProjectArtifactParams) SetContext(ctx context.Context)
- func (o *UploadProjectArtifactParams) SetDefaults()
- func (o *UploadProjectArtifactParams) SetHTTPClient(client *http.Client)
- func (o *UploadProjectArtifactParams) SetOverwrite(overwrite *bool)
- func (o *UploadProjectArtifactParams) SetOwner(owner string)
- func (o *UploadProjectArtifactParams) SetPath(path *string)
- func (o *UploadProjectArtifactParams) SetProject(project string)
- func (o *UploadProjectArtifactParams) SetTimeout(timeout time.Duration)
- func (o *UploadProjectArtifactParams) SetUUID(uuid string)
- func (o *UploadProjectArtifactParams) SetUploadfile(uploadfile runtime.NamedReadCloser)
- func (o *UploadProjectArtifactParams) WithContext(ctx context.Context) *UploadProjectArtifactParams
- func (o *UploadProjectArtifactParams) WithDefaults() *UploadProjectArtifactParams
- func (o *UploadProjectArtifactParams) WithHTTPClient(client *http.Client) *UploadProjectArtifactParams
- func (o *UploadProjectArtifactParams) WithOverwrite(overwrite *bool) *UploadProjectArtifactParams
- func (o *UploadProjectArtifactParams) WithOwner(owner string) *UploadProjectArtifactParams
- func (o *UploadProjectArtifactParams) WithPath(path *string) *UploadProjectArtifactParams
- func (o *UploadProjectArtifactParams) WithProject(project string) *UploadProjectArtifactParams
- func (o *UploadProjectArtifactParams) WithTimeout(timeout time.Duration) *UploadProjectArtifactParams
- func (o *UploadProjectArtifactParams) WithUUID(uuid string) *UploadProjectArtifactParams
- func (o *UploadProjectArtifactParams) WithUploadfile(uploadfile runtime.NamedReadCloser) *UploadProjectArtifactParams
- func (o *UploadProjectArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadProjectArtifactReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveProjectDefault ¶
type ArchiveProjectDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
ArchiveProjectDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewArchiveProjectDefault ¶
func NewArchiveProjectDefault(code int) *ArchiveProjectDefault
NewArchiveProjectDefault creates a ArchiveProjectDefault with default headers values
func (*ArchiveProjectDefault) Code ¶
func (o *ArchiveProjectDefault) Code() int
Code gets the status code for the archive project default response
func (*ArchiveProjectDefault) Error ¶
func (o *ArchiveProjectDefault) Error() string
func (*ArchiveProjectDefault) GetPayload ¶
func (o *ArchiveProjectDefault) GetPayload() *service_model.RuntimeError
type ArchiveProjectForbidden ¶
type ArchiveProjectForbidden struct {
Payload interface{}
}
ArchiveProjectForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewArchiveProjectForbidden ¶
func NewArchiveProjectForbidden() *ArchiveProjectForbidden
NewArchiveProjectForbidden creates a ArchiveProjectForbidden with default headers values
func (*ArchiveProjectForbidden) Error ¶
func (o *ArchiveProjectForbidden) Error() string
func (*ArchiveProjectForbidden) GetPayload ¶
func (o *ArchiveProjectForbidden) GetPayload() interface{}
type ArchiveProjectNoContent ¶
type ArchiveProjectNoContent struct {
Payload interface{}
}
ArchiveProjectNoContent describes a response with status code 204, with default header values.
No content.
func NewArchiveProjectNoContent ¶
func NewArchiveProjectNoContent() *ArchiveProjectNoContent
NewArchiveProjectNoContent creates a ArchiveProjectNoContent with default headers values
func (*ArchiveProjectNoContent) Error ¶
func (o *ArchiveProjectNoContent) Error() string
func (*ArchiveProjectNoContent) GetPayload ¶
func (o *ArchiveProjectNoContent) GetPayload() interface{}
type ArchiveProjectNotFound ¶
type ArchiveProjectNotFound struct {
Payload interface{}
}
ArchiveProjectNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewArchiveProjectNotFound ¶
func NewArchiveProjectNotFound() *ArchiveProjectNotFound
NewArchiveProjectNotFound creates a ArchiveProjectNotFound with default headers values
func (*ArchiveProjectNotFound) Error ¶
func (o *ArchiveProjectNotFound) Error() string
func (*ArchiveProjectNotFound) GetPayload ¶
func (o *ArchiveProjectNotFound) GetPayload() interface{}
type ArchiveProjectOK ¶
type ArchiveProjectOK struct { }
ArchiveProjectOK describes a response with status code 200, with default header values.
A successful response.
func NewArchiveProjectOK ¶
func NewArchiveProjectOK() *ArchiveProjectOK
NewArchiveProjectOK creates a ArchiveProjectOK with default headers values
func (*ArchiveProjectOK) Error ¶
func (o *ArchiveProjectOK) Error() string
type ArchiveProjectParams ¶
type ArchiveProjectParams struct { /* Name. Component under namesapce */ Name string /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ArchiveProjectParams contains all the parameters to send to the API endpoint
for the archive project operation. Typically these are written to a http.Request.
func NewArchiveProjectParams ¶
func NewArchiveProjectParams() *ArchiveProjectParams
NewArchiveProjectParams creates a new ArchiveProjectParams 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 NewArchiveProjectParamsWithContext ¶
func NewArchiveProjectParamsWithContext(ctx context.Context) *ArchiveProjectParams
NewArchiveProjectParamsWithContext creates a new ArchiveProjectParams object with the ability to set a context for a request.
func NewArchiveProjectParamsWithHTTPClient ¶
func NewArchiveProjectParamsWithHTTPClient(client *http.Client) *ArchiveProjectParams
NewArchiveProjectParamsWithHTTPClient creates a new ArchiveProjectParams object with the ability to set a custom HTTPClient for a request.
func NewArchiveProjectParamsWithTimeout ¶
func NewArchiveProjectParamsWithTimeout(timeout time.Duration) *ArchiveProjectParams
NewArchiveProjectParamsWithTimeout creates a new ArchiveProjectParams object with the ability to set a timeout on a request.
func (*ArchiveProjectParams) SetContext ¶
func (o *ArchiveProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the archive project params
func (*ArchiveProjectParams) SetDefaults ¶
func (o *ArchiveProjectParams) SetDefaults()
SetDefaults hydrates default values in the archive project params (not the query body).
All values with no default are reset to their zero value.
func (*ArchiveProjectParams) SetHTTPClient ¶
func (o *ArchiveProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the archive project params
func (*ArchiveProjectParams) SetName ¶
func (o *ArchiveProjectParams) SetName(name string)
SetName adds the name to the archive project params
func (*ArchiveProjectParams) SetOwner ¶
func (o *ArchiveProjectParams) SetOwner(owner string)
SetOwner adds the owner to the archive project params
func (*ArchiveProjectParams) SetTimeout ¶
func (o *ArchiveProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the archive project params
func (*ArchiveProjectParams) WithContext ¶
func (o *ArchiveProjectParams) WithContext(ctx context.Context) *ArchiveProjectParams
WithContext adds the context to the archive project params
func (*ArchiveProjectParams) WithDefaults ¶
func (o *ArchiveProjectParams) WithDefaults() *ArchiveProjectParams
WithDefaults hydrates default values in the archive project params (not the query body).
All values with no default are reset to their zero value.
func (*ArchiveProjectParams) WithHTTPClient ¶
func (o *ArchiveProjectParams) WithHTTPClient(client *http.Client) *ArchiveProjectParams
WithHTTPClient adds the HTTPClient to the archive project params
func (*ArchiveProjectParams) WithName ¶
func (o *ArchiveProjectParams) WithName(name string) *ArchiveProjectParams
WithName adds the name to the archive project params
func (*ArchiveProjectParams) WithOwner ¶
func (o *ArchiveProjectParams) WithOwner(owner string) *ArchiveProjectParams
WithOwner adds the owner to the archive project params
func (*ArchiveProjectParams) WithTimeout ¶
func (o *ArchiveProjectParams) WithTimeout(timeout time.Duration) *ArchiveProjectParams
WithTimeout adds the timeout to the archive project params
func (*ArchiveProjectParams) WriteToRequest ¶
func (o *ArchiveProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ArchiveProjectReader ¶
type ArchiveProjectReader struct {
// contains filtered or unexported fields
}
ArchiveProjectReader is a Reader for the ArchiveProject structure.
func (*ArchiveProjectReader) ReadResponse ¶
func (o *ArchiveProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BookmarkProjectDefault ¶
type BookmarkProjectDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
BookmarkProjectDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewBookmarkProjectDefault ¶
func NewBookmarkProjectDefault(code int) *BookmarkProjectDefault
NewBookmarkProjectDefault creates a BookmarkProjectDefault with default headers values
func (*BookmarkProjectDefault) Code ¶
func (o *BookmarkProjectDefault) Code() int
Code gets the status code for the bookmark project default response
func (*BookmarkProjectDefault) Error ¶
func (o *BookmarkProjectDefault) Error() string
func (*BookmarkProjectDefault) GetPayload ¶
func (o *BookmarkProjectDefault) GetPayload() *service_model.RuntimeError
type BookmarkProjectForbidden ¶
type BookmarkProjectForbidden struct {
Payload interface{}
}
BookmarkProjectForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewBookmarkProjectForbidden ¶
func NewBookmarkProjectForbidden() *BookmarkProjectForbidden
NewBookmarkProjectForbidden creates a BookmarkProjectForbidden with default headers values
func (*BookmarkProjectForbidden) Error ¶
func (o *BookmarkProjectForbidden) Error() string
func (*BookmarkProjectForbidden) GetPayload ¶
func (o *BookmarkProjectForbidden) GetPayload() interface{}
type BookmarkProjectNoContent ¶
type BookmarkProjectNoContent struct {
Payload interface{}
}
BookmarkProjectNoContent describes a response with status code 204, with default header values.
No content.
func NewBookmarkProjectNoContent ¶
func NewBookmarkProjectNoContent() *BookmarkProjectNoContent
NewBookmarkProjectNoContent creates a BookmarkProjectNoContent with default headers values
func (*BookmarkProjectNoContent) Error ¶
func (o *BookmarkProjectNoContent) Error() string
func (*BookmarkProjectNoContent) GetPayload ¶
func (o *BookmarkProjectNoContent) GetPayload() interface{}
type BookmarkProjectNotFound ¶
type BookmarkProjectNotFound struct {
Payload interface{}
}
BookmarkProjectNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewBookmarkProjectNotFound ¶
func NewBookmarkProjectNotFound() *BookmarkProjectNotFound
NewBookmarkProjectNotFound creates a BookmarkProjectNotFound with default headers values
func (*BookmarkProjectNotFound) Error ¶
func (o *BookmarkProjectNotFound) Error() string
func (*BookmarkProjectNotFound) GetPayload ¶
func (o *BookmarkProjectNotFound) GetPayload() interface{}
type BookmarkProjectOK ¶
type BookmarkProjectOK struct { }
BookmarkProjectOK describes a response with status code 200, with default header values.
A successful response.
func NewBookmarkProjectOK ¶
func NewBookmarkProjectOK() *BookmarkProjectOK
NewBookmarkProjectOK creates a BookmarkProjectOK with default headers values
func (*BookmarkProjectOK) Error ¶
func (o *BookmarkProjectOK) Error() string
type BookmarkProjectParams ¶
type BookmarkProjectParams struct { /* Name. Component under namesapce */ Name string /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BookmarkProjectParams contains all the parameters to send to the API endpoint
for the bookmark project operation. Typically these are written to a http.Request.
func NewBookmarkProjectParams ¶
func NewBookmarkProjectParams() *BookmarkProjectParams
NewBookmarkProjectParams creates a new BookmarkProjectParams 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 NewBookmarkProjectParamsWithContext ¶
func NewBookmarkProjectParamsWithContext(ctx context.Context) *BookmarkProjectParams
NewBookmarkProjectParamsWithContext creates a new BookmarkProjectParams object with the ability to set a context for a request.
func NewBookmarkProjectParamsWithHTTPClient ¶
func NewBookmarkProjectParamsWithHTTPClient(client *http.Client) *BookmarkProjectParams
NewBookmarkProjectParamsWithHTTPClient creates a new BookmarkProjectParams object with the ability to set a custom HTTPClient for a request.
func NewBookmarkProjectParamsWithTimeout ¶
func NewBookmarkProjectParamsWithTimeout(timeout time.Duration) *BookmarkProjectParams
NewBookmarkProjectParamsWithTimeout creates a new BookmarkProjectParams object with the ability to set a timeout on a request.
func (*BookmarkProjectParams) SetContext ¶
func (o *BookmarkProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the bookmark project params
func (*BookmarkProjectParams) SetDefaults ¶
func (o *BookmarkProjectParams) SetDefaults()
SetDefaults hydrates default values in the bookmark project params (not the query body).
All values with no default are reset to their zero value.
func (*BookmarkProjectParams) SetHTTPClient ¶
func (o *BookmarkProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bookmark project params
func (*BookmarkProjectParams) SetName ¶
func (o *BookmarkProjectParams) SetName(name string)
SetName adds the name to the bookmark project params
func (*BookmarkProjectParams) SetOwner ¶
func (o *BookmarkProjectParams) SetOwner(owner string)
SetOwner adds the owner to the bookmark project params
func (*BookmarkProjectParams) SetTimeout ¶
func (o *BookmarkProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bookmark project params
func (*BookmarkProjectParams) WithContext ¶
func (o *BookmarkProjectParams) WithContext(ctx context.Context) *BookmarkProjectParams
WithContext adds the context to the bookmark project params
func (*BookmarkProjectParams) WithDefaults ¶
func (o *BookmarkProjectParams) WithDefaults() *BookmarkProjectParams
WithDefaults hydrates default values in the bookmark project params (not the query body).
All values with no default are reset to their zero value.
func (*BookmarkProjectParams) WithHTTPClient ¶
func (o *BookmarkProjectParams) WithHTTPClient(client *http.Client) *BookmarkProjectParams
WithHTTPClient adds the HTTPClient to the bookmark project params
func (*BookmarkProjectParams) WithName ¶
func (o *BookmarkProjectParams) WithName(name string) *BookmarkProjectParams
WithName adds the name to the bookmark project params
func (*BookmarkProjectParams) WithOwner ¶
func (o *BookmarkProjectParams) WithOwner(owner string) *BookmarkProjectParams
WithOwner adds the owner to the bookmark project params
func (*BookmarkProjectParams) WithTimeout ¶
func (o *BookmarkProjectParams) WithTimeout(timeout time.Duration) *BookmarkProjectParams
WithTimeout adds the timeout to the bookmark project params
func (*BookmarkProjectParams) WriteToRequest ¶
func (o *BookmarkProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BookmarkProjectReader ¶
type BookmarkProjectReader struct {
// contains filtered or unexported fields
}
BookmarkProjectReader is a Reader for the BookmarkProject structure.
func (*BookmarkProjectReader) ReadResponse ¶
func (o *BookmarkProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for projects v1 API
func (*Client) ArchiveProject ¶
func (a *Client) ArchiveProject(params *ArchiveProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ArchiveProjectOK, *ArchiveProjectNoContent, error)
ArchiveProject archives project
func (*Client) BookmarkProject ¶
func (a *Client) BookmarkProject(params *BookmarkProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BookmarkProjectOK, *BookmarkProjectNoContent, error)
BookmarkProject bookmarks project
func (*Client) CreateProject ¶
func (a *Client) CreateProject(params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProjectOK, *CreateProjectNoContent, error)
CreateProject creates new project
func (*Client) DeleteProject ¶
func (a *Client) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectOK, *DeleteProjectNoContent, error)
DeleteProject deletes project
func (*Client) DisableProjectCI ¶
func (a *Client) DisableProjectCI(params *DisableProjectCIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisableProjectCIOK, *DisableProjectCINoContent, error)
DisableProjectCI disbales project c i
func (*Client) EnableProjectCI ¶
func (a *Client) EnableProjectCI(params *EnableProjectCIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableProjectCIOK, *EnableProjectCINoContent, error)
EnableProjectCI enables project c i
func (*Client) GetProject ¶
func (a *Client) GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectOK, *GetProjectNoContent, error)
GetProject gets project
func (*Client) GetProjectActivities ¶
func (a *Client) GetProjectActivities(params *GetProjectActivitiesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectActivitiesOK, *GetProjectActivitiesNoContent, error)
GetProjectActivities gets project activities
func (*Client) GetProjectSettings ¶
func (a *Client) GetProjectSettings(params *GetProjectSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectSettingsOK, *GetProjectSettingsNoContent, error)
GetProjectSettings gets project settings
func (*Client) GetProjectStats ¶
func (a *Client) GetProjectStats(params *GetProjectStatsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectStatsOK, *GetProjectStatsNoContent, error)
GetProjectStats gets project stats
func (*Client) ListArchivedProjects ¶
func (a *Client) ListArchivedProjects(params *ListArchivedProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListArchivedProjectsOK, *ListArchivedProjectsNoContent, error)
ListArchivedProjects lists archived projects for user
func (*Client) ListBookmarkedProjects ¶
func (a *Client) ListBookmarkedProjects(params *ListBookmarkedProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListBookmarkedProjectsOK, *ListBookmarkedProjectsNoContent, error)
ListBookmarkedProjects lists bookmarked projects for user
func (*Client) ListProjectNames ¶
func (a *Client) ListProjectNames(params *ListProjectNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectNamesOK, *ListProjectNamesNoContent, error)
ListProjectNames lists project names
func (*Client) ListProjects ¶
func (a *Client) ListProjects(params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectsOK, *ListProjectsNoContent, error)
ListProjects lists projects
func (*Client) PatchProject ¶
func (a *Client) PatchProject(params *PatchProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchProjectOK, *PatchProjectNoContent, error)
PatchProject patches project
func (*Client) PatchProjectSettings ¶
func (a *Client) PatchProjectSettings(params *PatchProjectSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchProjectSettingsOK, *PatchProjectSettingsNoContent, error)
PatchProjectSettings patches project settings
func (*Client) RestoreProject ¶
func (a *Client) RestoreProject(params *RestoreProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreProjectOK, *RestoreProjectNoContent, error)
RestoreProject restores project
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UnbookmarkProject ¶
func (a *Client) UnbookmarkProject(params *UnbookmarkProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnbookmarkProjectOK, *UnbookmarkProjectNoContent, error)
UnbookmarkProject unbookmarks project
func (*Client) UpdateProject ¶
func (a *Client) UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectOK, *UpdateProjectNoContent, error)
UpdateProject updates project
func (*Client) UpdateProjectSettings ¶
func (a *Client) UpdateProjectSettings(params *UpdateProjectSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectSettingsOK, *UpdateProjectSettingsNoContent, error)
UpdateProjectSettings updates project settings
func (*Client) UploadProjectArtifact ¶
func (a *Client) UploadProjectArtifact(params *UploadProjectArtifactParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadProjectArtifactOK, *UploadProjectArtifactNoContent, error)
UploadProjectArtifact uploads artifact to a store via project access
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ArchiveProject(params *ArchiveProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ArchiveProjectOK, *ArchiveProjectNoContent, error) BookmarkProject(params *BookmarkProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BookmarkProjectOK, *BookmarkProjectNoContent, error) CreateProject(params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProjectOK, *CreateProjectNoContent, error) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectOK, *DeleteProjectNoContent, error) DisableProjectCI(params *DisableProjectCIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisableProjectCIOK, *DisableProjectCINoContent, error) EnableProjectCI(params *EnableProjectCIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableProjectCIOK, *EnableProjectCINoContent, error) GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectOK, *GetProjectNoContent, error) GetProjectActivities(params *GetProjectActivitiesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectActivitiesOK, *GetProjectActivitiesNoContent, error) GetProjectSettings(params *GetProjectSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectSettingsOK, *GetProjectSettingsNoContent, error) GetProjectStats(params *GetProjectStatsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectStatsOK, *GetProjectStatsNoContent, error) ListArchivedProjects(params *ListArchivedProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListArchivedProjectsOK, *ListArchivedProjectsNoContent, error) ListBookmarkedProjects(params *ListBookmarkedProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListBookmarkedProjectsOK, *ListBookmarkedProjectsNoContent, error) ListProjectNames(params *ListProjectNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectNamesOK, *ListProjectNamesNoContent, error) ListProjects(params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectsOK, *ListProjectsNoContent, error) PatchProject(params *PatchProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchProjectOK, *PatchProjectNoContent, error) PatchProjectSettings(params *PatchProjectSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchProjectSettingsOK, *PatchProjectSettingsNoContent, error) RestoreProject(params *RestoreProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreProjectOK, *RestoreProjectNoContent, error) UnbookmarkProject(params *UnbookmarkProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnbookmarkProjectOK, *UnbookmarkProjectNoContent, error) UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectOK, *UpdateProjectNoContent, error) UpdateProjectSettings(params *UpdateProjectSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectSettingsOK, *UpdateProjectSettingsNoContent, error) UploadProjectArtifact(params *UploadProjectArtifactParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadProjectArtifactOK, *UploadProjectArtifactNoContent, 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 projects v1 API client.
type CreateProjectDefault ¶
type CreateProjectDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
CreateProjectDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateProjectDefault ¶
func NewCreateProjectDefault(code int) *CreateProjectDefault
NewCreateProjectDefault creates a CreateProjectDefault with default headers values
func (*CreateProjectDefault) Code ¶
func (o *CreateProjectDefault) Code() int
Code gets the status code for the create project default response
func (*CreateProjectDefault) Error ¶
func (o *CreateProjectDefault) Error() string
func (*CreateProjectDefault) GetPayload ¶
func (o *CreateProjectDefault) GetPayload() *service_model.RuntimeError
type CreateProjectForbidden ¶
type CreateProjectForbidden struct {
Payload interface{}
}
CreateProjectForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewCreateProjectForbidden ¶
func NewCreateProjectForbidden() *CreateProjectForbidden
NewCreateProjectForbidden creates a CreateProjectForbidden with default headers values
func (*CreateProjectForbidden) Error ¶
func (o *CreateProjectForbidden) Error() string
func (*CreateProjectForbidden) GetPayload ¶
func (o *CreateProjectForbidden) GetPayload() interface{}
type CreateProjectNoContent ¶
type CreateProjectNoContent struct {
Payload interface{}
}
CreateProjectNoContent describes a response with status code 204, with default header values.
No content.
func NewCreateProjectNoContent ¶
func NewCreateProjectNoContent() *CreateProjectNoContent
NewCreateProjectNoContent creates a CreateProjectNoContent with default headers values
func (*CreateProjectNoContent) Error ¶
func (o *CreateProjectNoContent) Error() string
func (*CreateProjectNoContent) GetPayload ¶
func (o *CreateProjectNoContent) GetPayload() interface{}
type CreateProjectNotFound ¶
type CreateProjectNotFound struct {
Payload interface{}
}
CreateProjectNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewCreateProjectNotFound ¶
func NewCreateProjectNotFound() *CreateProjectNotFound
NewCreateProjectNotFound creates a CreateProjectNotFound with default headers values
func (*CreateProjectNotFound) Error ¶
func (o *CreateProjectNotFound) Error() string
func (*CreateProjectNotFound) GetPayload ¶
func (o *CreateProjectNotFound) GetPayload() interface{}
type CreateProjectOK ¶
type CreateProjectOK struct {
Payload *service_model.V1Project
}
CreateProjectOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateProjectOK ¶
func NewCreateProjectOK() *CreateProjectOK
NewCreateProjectOK creates a CreateProjectOK with default headers values
func (*CreateProjectOK) Error ¶
func (o *CreateProjectOK) Error() string
func (*CreateProjectOK) GetPayload ¶
func (o *CreateProjectOK) GetPayload() *service_model.V1Project
type CreateProjectParams ¶
type CreateProjectParams struct { /* Body. Project body */ Body *service_model.V1Project /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateProjectParams contains all the parameters to send to the API endpoint
for the create project operation. Typically these are written to a http.Request.
func NewCreateProjectParams ¶
func NewCreateProjectParams() *CreateProjectParams
NewCreateProjectParams creates a new CreateProjectParams object, with the default 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 NewCreateProjectParamsWithContext ¶
func NewCreateProjectParamsWithContext(ctx context.Context) *CreateProjectParams
NewCreateProjectParamsWithContext creates a new CreateProjectParams object with the ability to set a context for a request.
func NewCreateProjectParamsWithHTTPClient ¶
func NewCreateProjectParamsWithHTTPClient(client *http.Client) *CreateProjectParams
NewCreateProjectParamsWithHTTPClient creates a new CreateProjectParams object with the ability to set a custom HTTPClient for a request.
func NewCreateProjectParamsWithTimeout ¶
func NewCreateProjectParamsWithTimeout(timeout time.Duration) *CreateProjectParams
NewCreateProjectParamsWithTimeout creates a new CreateProjectParams object with the ability to set a timeout on a request.
func (*CreateProjectParams) SetBody ¶
func (o *CreateProjectParams) SetBody(body *service_model.V1Project)
SetBody adds the body to the create project params
func (*CreateProjectParams) SetContext ¶
func (o *CreateProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the create project params
func (*CreateProjectParams) SetDefaults ¶
func (o *CreateProjectParams) SetDefaults()
SetDefaults hydrates default values in the create project params (not the query body).
All values with no default are reset to their zero value.
func (*CreateProjectParams) SetHTTPClient ¶
func (o *CreateProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create project params
func (*CreateProjectParams) SetOwner ¶
func (o *CreateProjectParams) SetOwner(owner string)
SetOwner adds the owner to the create project params
func (*CreateProjectParams) SetTimeout ¶
func (o *CreateProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create project params
func (*CreateProjectParams) WithBody ¶
func (o *CreateProjectParams) WithBody(body *service_model.V1Project) *CreateProjectParams
WithBody adds the body to the create project params
func (*CreateProjectParams) WithContext ¶
func (o *CreateProjectParams) WithContext(ctx context.Context) *CreateProjectParams
WithContext adds the context to the create project params
func (*CreateProjectParams) WithDefaults ¶
func (o *CreateProjectParams) WithDefaults() *CreateProjectParams
WithDefaults hydrates default values in the create project params (not the query body).
All values with no default are reset to their zero value.
func (*CreateProjectParams) WithHTTPClient ¶
func (o *CreateProjectParams) WithHTTPClient(client *http.Client) *CreateProjectParams
WithHTTPClient adds the HTTPClient to the create project params
func (*CreateProjectParams) WithOwner ¶
func (o *CreateProjectParams) WithOwner(owner string) *CreateProjectParams
WithOwner adds the owner to the create project params
func (*CreateProjectParams) WithTimeout ¶
func (o *CreateProjectParams) WithTimeout(timeout time.Duration) *CreateProjectParams
WithTimeout adds the timeout to the create project params
func (*CreateProjectParams) WriteToRequest ¶
func (o *CreateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateProjectReader ¶
type CreateProjectReader struct {
// contains filtered or unexported fields
}
CreateProjectReader is a Reader for the CreateProject structure.
func (*CreateProjectReader) ReadResponse ¶
func (o *CreateProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteProjectDefault ¶
type DeleteProjectDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
DeleteProjectDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeleteProjectDefault ¶
func NewDeleteProjectDefault(code int) *DeleteProjectDefault
NewDeleteProjectDefault creates a DeleteProjectDefault with default headers values
func (*DeleteProjectDefault) Code ¶
func (o *DeleteProjectDefault) Code() int
Code gets the status code for the delete project default response
func (*DeleteProjectDefault) Error ¶
func (o *DeleteProjectDefault) Error() string
func (*DeleteProjectDefault) GetPayload ¶
func (o *DeleteProjectDefault) GetPayload() *service_model.RuntimeError
type DeleteProjectForbidden ¶
type DeleteProjectForbidden struct {
Payload interface{}
}
DeleteProjectForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewDeleteProjectForbidden ¶
func NewDeleteProjectForbidden() *DeleteProjectForbidden
NewDeleteProjectForbidden creates a DeleteProjectForbidden with default headers values
func (*DeleteProjectForbidden) Error ¶
func (o *DeleteProjectForbidden) Error() string
func (*DeleteProjectForbidden) GetPayload ¶
func (o *DeleteProjectForbidden) GetPayload() interface{}
type DeleteProjectNoContent ¶
type DeleteProjectNoContent struct {
Payload interface{}
}
DeleteProjectNoContent describes a response with status code 204, with default header values.
No content.
func NewDeleteProjectNoContent ¶
func NewDeleteProjectNoContent() *DeleteProjectNoContent
NewDeleteProjectNoContent creates a DeleteProjectNoContent with default headers values
func (*DeleteProjectNoContent) Error ¶
func (o *DeleteProjectNoContent) Error() string
func (*DeleteProjectNoContent) GetPayload ¶
func (o *DeleteProjectNoContent) GetPayload() interface{}
type DeleteProjectNotFound ¶
type DeleteProjectNotFound struct {
Payload interface{}
}
DeleteProjectNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewDeleteProjectNotFound ¶
func NewDeleteProjectNotFound() *DeleteProjectNotFound
NewDeleteProjectNotFound creates a DeleteProjectNotFound with default headers values
func (*DeleteProjectNotFound) Error ¶
func (o *DeleteProjectNotFound) Error() string
func (*DeleteProjectNotFound) GetPayload ¶
func (o *DeleteProjectNotFound) GetPayload() interface{}
type DeleteProjectOK ¶
type DeleteProjectOK struct { }
DeleteProjectOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteProjectOK ¶
func NewDeleteProjectOK() *DeleteProjectOK
NewDeleteProjectOK creates a DeleteProjectOK with default headers values
func (*DeleteProjectOK) Error ¶
func (o *DeleteProjectOK) Error() string
type DeleteProjectParams ¶
type DeleteProjectParams struct { /* Name. Component under namesapce */ Name string /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteProjectParams contains all the parameters to send to the API endpoint
for the delete project operation. Typically these are written to a http.Request.
func NewDeleteProjectParams ¶
func NewDeleteProjectParams() *DeleteProjectParams
NewDeleteProjectParams creates a new DeleteProjectParams object, with the default 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 NewDeleteProjectParamsWithContext ¶
func NewDeleteProjectParamsWithContext(ctx context.Context) *DeleteProjectParams
NewDeleteProjectParamsWithContext creates a new DeleteProjectParams object with the ability to set a context for a request.
func NewDeleteProjectParamsWithHTTPClient ¶
func NewDeleteProjectParamsWithHTTPClient(client *http.Client) *DeleteProjectParams
NewDeleteProjectParamsWithHTTPClient creates a new DeleteProjectParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteProjectParamsWithTimeout ¶
func NewDeleteProjectParamsWithTimeout(timeout time.Duration) *DeleteProjectParams
NewDeleteProjectParamsWithTimeout creates a new DeleteProjectParams object with the ability to set a timeout on a request.
func (*DeleteProjectParams) SetContext ¶
func (o *DeleteProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the delete project params
func (*DeleteProjectParams) SetDefaults ¶
func (o *DeleteProjectParams) SetDefaults()
SetDefaults hydrates default values in the delete project params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteProjectParams) SetHTTPClient ¶
func (o *DeleteProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete project params
func (*DeleteProjectParams) SetName ¶
func (o *DeleteProjectParams) SetName(name string)
SetName adds the name to the delete project params
func (*DeleteProjectParams) SetOwner ¶
func (o *DeleteProjectParams) SetOwner(owner string)
SetOwner adds the owner to the delete project params
func (*DeleteProjectParams) SetTimeout ¶
func (o *DeleteProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete project params
func (*DeleteProjectParams) WithContext ¶
func (o *DeleteProjectParams) WithContext(ctx context.Context) *DeleteProjectParams
WithContext adds the context to the delete project params
func (*DeleteProjectParams) WithDefaults ¶
func (o *DeleteProjectParams) WithDefaults() *DeleteProjectParams
WithDefaults hydrates default values in the delete project params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteProjectParams) WithHTTPClient ¶
func (o *DeleteProjectParams) WithHTTPClient(client *http.Client) *DeleteProjectParams
WithHTTPClient adds the HTTPClient to the delete project params
func (*DeleteProjectParams) WithName ¶
func (o *DeleteProjectParams) WithName(name string) *DeleteProjectParams
WithName adds the name to the delete project params
func (*DeleteProjectParams) WithOwner ¶
func (o *DeleteProjectParams) WithOwner(owner string) *DeleteProjectParams
WithOwner adds the owner to the delete project params
func (*DeleteProjectParams) WithTimeout ¶
func (o *DeleteProjectParams) WithTimeout(timeout time.Duration) *DeleteProjectParams
WithTimeout adds the timeout to the delete project params
func (*DeleteProjectParams) WriteToRequest ¶
func (o *DeleteProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteProjectReader ¶
type DeleteProjectReader struct {
// contains filtered or unexported fields
}
DeleteProjectReader is a Reader for the DeleteProject structure.
func (*DeleteProjectReader) ReadResponse ¶
func (o *DeleteProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DisableProjectCIDefault ¶
type DisableProjectCIDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
DisableProjectCIDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDisableProjectCIDefault ¶
func NewDisableProjectCIDefault(code int) *DisableProjectCIDefault
NewDisableProjectCIDefault creates a DisableProjectCIDefault with default headers values
func (*DisableProjectCIDefault) Code ¶
func (o *DisableProjectCIDefault) Code() int
Code gets the status code for the disable project c i default response
func (*DisableProjectCIDefault) Error ¶
func (o *DisableProjectCIDefault) Error() string
func (*DisableProjectCIDefault) GetPayload ¶
func (o *DisableProjectCIDefault) GetPayload() *service_model.RuntimeError
type DisableProjectCIForbidden ¶
type DisableProjectCIForbidden struct {
Payload interface{}
}
DisableProjectCIForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewDisableProjectCIForbidden ¶
func NewDisableProjectCIForbidden() *DisableProjectCIForbidden
NewDisableProjectCIForbidden creates a DisableProjectCIForbidden with default headers values
func (*DisableProjectCIForbidden) Error ¶
func (o *DisableProjectCIForbidden) Error() string
func (*DisableProjectCIForbidden) GetPayload ¶
func (o *DisableProjectCIForbidden) GetPayload() interface{}
type DisableProjectCINoContent ¶
type DisableProjectCINoContent struct {
Payload interface{}
}
DisableProjectCINoContent describes a response with status code 204, with default header values.
No content.
func NewDisableProjectCINoContent ¶
func NewDisableProjectCINoContent() *DisableProjectCINoContent
NewDisableProjectCINoContent creates a DisableProjectCINoContent with default headers values
func (*DisableProjectCINoContent) Error ¶
func (o *DisableProjectCINoContent) Error() string
func (*DisableProjectCINoContent) GetPayload ¶
func (o *DisableProjectCINoContent) GetPayload() interface{}
type DisableProjectCINotFound ¶
type DisableProjectCINotFound struct {
Payload interface{}
}
DisableProjectCINotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewDisableProjectCINotFound ¶
func NewDisableProjectCINotFound() *DisableProjectCINotFound
NewDisableProjectCINotFound creates a DisableProjectCINotFound with default headers values
func (*DisableProjectCINotFound) Error ¶
func (o *DisableProjectCINotFound) Error() string
func (*DisableProjectCINotFound) GetPayload ¶
func (o *DisableProjectCINotFound) GetPayload() interface{}
type DisableProjectCIOK ¶
type DisableProjectCIOK struct { }
DisableProjectCIOK describes a response with status code 200, with default header values.
A successful response.
func NewDisableProjectCIOK ¶
func NewDisableProjectCIOK() *DisableProjectCIOK
NewDisableProjectCIOK creates a DisableProjectCIOK with default headers values
func (*DisableProjectCIOK) Error ¶
func (o *DisableProjectCIOK) Error() string
type DisableProjectCIParams ¶
type DisableProjectCIParams struct { /* Name. Component under namesapce */ Name string /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DisableProjectCIParams contains all the parameters to send to the API endpoint
for the disable project c i operation. Typically these are written to a http.Request.
func NewDisableProjectCIParams ¶
func NewDisableProjectCIParams() *DisableProjectCIParams
NewDisableProjectCIParams creates a new DisableProjectCIParams 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 NewDisableProjectCIParamsWithContext ¶
func NewDisableProjectCIParamsWithContext(ctx context.Context) *DisableProjectCIParams
NewDisableProjectCIParamsWithContext creates a new DisableProjectCIParams object with the ability to set a context for a request.
func NewDisableProjectCIParamsWithHTTPClient ¶
func NewDisableProjectCIParamsWithHTTPClient(client *http.Client) *DisableProjectCIParams
NewDisableProjectCIParamsWithHTTPClient creates a new DisableProjectCIParams object with the ability to set a custom HTTPClient for a request.
func NewDisableProjectCIParamsWithTimeout ¶
func NewDisableProjectCIParamsWithTimeout(timeout time.Duration) *DisableProjectCIParams
NewDisableProjectCIParamsWithTimeout creates a new DisableProjectCIParams object with the ability to set a timeout on a request.
func (*DisableProjectCIParams) SetContext ¶
func (o *DisableProjectCIParams) SetContext(ctx context.Context)
SetContext adds the context to the disable project c i params
func (*DisableProjectCIParams) SetDefaults ¶
func (o *DisableProjectCIParams) SetDefaults()
SetDefaults hydrates default values in the disable project c i params (not the query body).
All values with no default are reset to their zero value.
func (*DisableProjectCIParams) SetHTTPClient ¶
func (o *DisableProjectCIParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the disable project c i params
func (*DisableProjectCIParams) SetName ¶
func (o *DisableProjectCIParams) SetName(name string)
SetName adds the name to the disable project c i params
func (*DisableProjectCIParams) SetOwner ¶
func (o *DisableProjectCIParams) SetOwner(owner string)
SetOwner adds the owner to the disable project c i params
func (*DisableProjectCIParams) SetTimeout ¶
func (o *DisableProjectCIParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the disable project c i params
func (*DisableProjectCIParams) WithContext ¶
func (o *DisableProjectCIParams) WithContext(ctx context.Context) *DisableProjectCIParams
WithContext adds the context to the disable project c i params
func (*DisableProjectCIParams) WithDefaults ¶
func (o *DisableProjectCIParams) WithDefaults() *DisableProjectCIParams
WithDefaults hydrates default values in the disable project c i params (not the query body).
All values with no default are reset to their zero value.
func (*DisableProjectCIParams) WithHTTPClient ¶
func (o *DisableProjectCIParams) WithHTTPClient(client *http.Client) *DisableProjectCIParams
WithHTTPClient adds the HTTPClient to the disable project c i params
func (*DisableProjectCIParams) WithName ¶
func (o *DisableProjectCIParams) WithName(name string) *DisableProjectCIParams
WithName adds the name to the disable project c i params
func (*DisableProjectCIParams) WithOwner ¶
func (o *DisableProjectCIParams) WithOwner(owner string) *DisableProjectCIParams
WithOwner adds the owner to the disable project c i params
func (*DisableProjectCIParams) WithTimeout ¶
func (o *DisableProjectCIParams) WithTimeout(timeout time.Duration) *DisableProjectCIParams
WithTimeout adds the timeout to the disable project c i params
func (*DisableProjectCIParams) WriteToRequest ¶
func (o *DisableProjectCIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DisableProjectCIReader ¶
type DisableProjectCIReader struct {
// contains filtered or unexported fields
}
DisableProjectCIReader is a Reader for the DisableProjectCI structure.
func (*DisableProjectCIReader) ReadResponse ¶
func (o *DisableProjectCIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EnableProjectCIDefault ¶
type EnableProjectCIDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
EnableProjectCIDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewEnableProjectCIDefault ¶
func NewEnableProjectCIDefault(code int) *EnableProjectCIDefault
NewEnableProjectCIDefault creates a EnableProjectCIDefault with default headers values
func (*EnableProjectCIDefault) Code ¶
func (o *EnableProjectCIDefault) Code() int
Code gets the status code for the enable project c i default response
func (*EnableProjectCIDefault) Error ¶
func (o *EnableProjectCIDefault) Error() string
func (*EnableProjectCIDefault) GetPayload ¶
func (o *EnableProjectCIDefault) GetPayload() *service_model.RuntimeError
type EnableProjectCIForbidden ¶
type EnableProjectCIForbidden struct {
Payload interface{}
}
EnableProjectCIForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewEnableProjectCIForbidden ¶
func NewEnableProjectCIForbidden() *EnableProjectCIForbidden
NewEnableProjectCIForbidden creates a EnableProjectCIForbidden with default headers values
func (*EnableProjectCIForbidden) Error ¶
func (o *EnableProjectCIForbidden) Error() string
func (*EnableProjectCIForbidden) GetPayload ¶
func (o *EnableProjectCIForbidden) GetPayload() interface{}
type EnableProjectCINoContent ¶
type EnableProjectCINoContent struct {
Payload interface{}
}
EnableProjectCINoContent describes a response with status code 204, with default header values.
No content.
func NewEnableProjectCINoContent ¶
func NewEnableProjectCINoContent() *EnableProjectCINoContent
NewEnableProjectCINoContent creates a EnableProjectCINoContent with default headers values
func (*EnableProjectCINoContent) Error ¶
func (o *EnableProjectCINoContent) Error() string
func (*EnableProjectCINoContent) GetPayload ¶
func (o *EnableProjectCINoContent) GetPayload() interface{}
type EnableProjectCINotFound ¶
type EnableProjectCINotFound struct {
Payload interface{}
}
EnableProjectCINotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewEnableProjectCINotFound ¶
func NewEnableProjectCINotFound() *EnableProjectCINotFound
NewEnableProjectCINotFound creates a EnableProjectCINotFound with default headers values
func (*EnableProjectCINotFound) Error ¶
func (o *EnableProjectCINotFound) Error() string
func (*EnableProjectCINotFound) GetPayload ¶
func (o *EnableProjectCINotFound) GetPayload() interface{}
type EnableProjectCIOK ¶
type EnableProjectCIOK struct { }
EnableProjectCIOK describes a response with status code 200, with default header values.
A successful response.
func NewEnableProjectCIOK ¶
func NewEnableProjectCIOK() *EnableProjectCIOK
NewEnableProjectCIOK creates a EnableProjectCIOK with default headers values
func (*EnableProjectCIOK) Error ¶
func (o *EnableProjectCIOK) Error() string
type EnableProjectCIParams ¶
type EnableProjectCIParams struct { /* Name. Component under namesapce */ Name string /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EnableProjectCIParams contains all the parameters to send to the API endpoint
for the enable project c i operation. Typically these are written to a http.Request.
func NewEnableProjectCIParams ¶
func NewEnableProjectCIParams() *EnableProjectCIParams
NewEnableProjectCIParams creates a new EnableProjectCIParams 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 NewEnableProjectCIParamsWithContext ¶
func NewEnableProjectCIParamsWithContext(ctx context.Context) *EnableProjectCIParams
NewEnableProjectCIParamsWithContext creates a new EnableProjectCIParams object with the ability to set a context for a request.
func NewEnableProjectCIParamsWithHTTPClient ¶
func NewEnableProjectCIParamsWithHTTPClient(client *http.Client) *EnableProjectCIParams
NewEnableProjectCIParamsWithHTTPClient creates a new EnableProjectCIParams object with the ability to set a custom HTTPClient for a request.
func NewEnableProjectCIParamsWithTimeout ¶
func NewEnableProjectCIParamsWithTimeout(timeout time.Duration) *EnableProjectCIParams
NewEnableProjectCIParamsWithTimeout creates a new EnableProjectCIParams object with the ability to set a timeout on a request.
func (*EnableProjectCIParams) SetContext ¶
func (o *EnableProjectCIParams) SetContext(ctx context.Context)
SetContext adds the context to the enable project c i params
func (*EnableProjectCIParams) SetDefaults ¶
func (o *EnableProjectCIParams) SetDefaults()
SetDefaults hydrates default values in the enable project c i params (not the query body).
All values with no default are reset to their zero value.
func (*EnableProjectCIParams) SetHTTPClient ¶
func (o *EnableProjectCIParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enable project c i params
func (*EnableProjectCIParams) SetName ¶
func (o *EnableProjectCIParams) SetName(name string)
SetName adds the name to the enable project c i params
func (*EnableProjectCIParams) SetOwner ¶
func (o *EnableProjectCIParams) SetOwner(owner string)
SetOwner adds the owner to the enable project c i params
func (*EnableProjectCIParams) SetTimeout ¶
func (o *EnableProjectCIParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enable project c i params
func (*EnableProjectCIParams) WithContext ¶
func (o *EnableProjectCIParams) WithContext(ctx context.Context) *EnableProjectCIParams
WithContext adds the context to the enable project c i params
func (*EnableProjectCIParams) WithDefaults ¶
func (o *EnableProjectCIParams) WithDefaults() *EnableProjectCIParams
WithDefaults hydrates default values in the enable project c i params (not the query body).
All values with no default are reset to their zero value.
func (*EnableProjectCIParams) WithHTTPClient ¶
func (o *EnableProjectCIParams) WithHTTPClient(client *http.Client) *EnableProjectCIParams
WithHTTPClient adds the HTTPClient to the enable project c i params
func (*EnableProjectCIParams) WithName ¶
func (o *EnableProjectCIParams) WithName(name string) *EnableProjectCIParams
WithName adds the name to the enable project c i params
func (*EnableProjectCIParams) WithOwner ¶
func (o *EnableProjectCIParams) WithOwner(owner string) *EnableProjectCIParams
WithOwner adds the owner to the enable project c i params
func (*EnableProjectCIParams) WithTimeout ¶
func (o *EnableProjectCIParams) WithTimeout(timeout time.Duration) *EnableProjectCIParams
WithTimeout adds the timeout to the enable project c i params
func (*EnableProjectCIParams) WriteToRequest ¶
func (o *EnableProjectCIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnableProjectCIReader ¶
type EnableProjectCIReader struct {
// contains filtered or unexported fields
}
EnableProjectCIReader is a Reader for the EnableProjectCI structure.
func (*EnableProjectCIReader) ReadResponse ¶
func (o *EnableProjectCIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjectActivitiesDefault ¶
type GetProjectActivitiesDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
GetProjectActivitiesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetProjectActivitiesDefault ¶
func NewGetProjectActivitiesDefault(code int) *GetProjectActivitiesDefault
NewGetProjectActivitiesDefault creates a GetProjectActivitiesDefault with default headers values
func (*GetProjectActivitiesDefault) Code ¶
func (o *GetProjectActivitiesDefault) Code() int
Code gets the status code for the get project activities default response
func (*GetProjectActivitiesDefault) Error ¶
func (o *GetProjectActivitiesDefault) Error() string
func (*GetProjectActivitiesDefault) GetPayload ¶
func (o *GetProjectActivitiesDefault) GetPayload() *service_model.RuntimeError
type GetProjectActivitiesForbidden ¶
type GetProjectActivitiesForbidden struct {
Payload interface{}
}
GetProjectActivitiesForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewGetProjectActivitiesForbidden ¶
func NewGetProjectActivitiesForbidden() *GetProjectActivitiesForbidden
NewGetProjectActivitiesForbidden creates a GetProjectActivitiesForbidden with default headers values
func (*GetProjectActivitiesForbidden) Error ¶
func (o *GetProjectActivitiesForbidden) Error() string
func (*GetProjectActivitiesForbidden) GetPayload ¶
func (o *GetProjectActivitiesForbidden) GetPayload() interface{}
type GetProjectActivitiesNoContent ¶
type GetProjectActivitiesNoContent struct {
Payload interface{}
}
GetProjectActivitiesNoContent describes a response with status code 204, with default header values.
No content.
func NewGetProjectActivitiesNoContent ¶
func NewGetProjectActivitiesNoContent() *GetProjectActivitiesNoContent
NewGetProjectActivitiesNoContent creates a GetProjectActivitiesNoContent with default headers values
func (*GetProjectActivitiesNoContent) Error ¶
func (o *GetProjectActivitiesNoContent) Error() string
func (*GetProjectActivitiesNoContent) GetPayload ¶
func (o *GetProjectActivitiesNoContent) GetPayload() interface{}
type GetProjectActivitiesNotFound ¶
type GetProjectActivitiesNotFound struct {
Payload interface{}
}
GetProjectActivitiesNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewGetProjectActivitiesNotFound ¶
func NewGetProjectActivitiesNotFound() *GetProjectActivitiesNotFound
NewGetProjectActivitiesNotFound creates a GetProjectActivitiesNotFound with default headers values
func (*GetProjectActivitiesNotFound) Error ¶
func (o *GetProjectActivitiesNotFound) Error() string
func (*GetProjectActivitiesNotFound) GetPayload ¶
func (o *GetProjectActivitiesNotFound) GetPayload() interface{}
type GetProjectActivitiesOK ¶
type GetProjectActivitiesOK struct {
Payload *service_model.V1ListActivitiesResponse
}
GetProjectActivitiesOK describes a response with status code 200, with default header values.
A successful response.
func NewGetProjectActivitiesOK ¶
func NewGetProjectActivitiesOK() *GetProjectActivitiesOK
NewGetProjectActivitiesOK creates a GetProjectActivitiesOK with default headers values
func (*GetProjectActivitiesOK) Error ¶
func (o *GetProjectActivitiesOK) Error() string
func (*GetProjectActivitiesOK) GetPayload ¶
func (o *GetProjectActivitiesOK) GetPayload() *service_model.V1ListActivitiesResponse
type GetProjectActivitiesParams ¶
type GetProjectActivitiesParams struct { /* Limit. Limit size. Format: int32 */ Limit *int32 /* Mode. Mode of the search. */ Mode *string /* Name. Entity managing the resource */ Name string /* NoPage. No pagination. */ NoPage *bool /* Offset. Pagination offset. Format: int32 */ Offset *int32 /* Owner. Owner of the namespace */ Owner string /* Query. Query filter the search. */ Query *string /* Sort. Sort to order the search. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProjectActivitiesParams contains all the parameters to send to the API endpoint
for the get project activities operation. Typically these are written to a http.Request.
func NewGetProjectActivitiesParams ¶
func NewGetProjectActivitiesParams() *GetProjectActivitiesParams
NewGetProjectActivitiesParams creates a new GetProjectActivitiesParams 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 NewGetProjectActivitiesParamsWithContext ¶
func NewGetProjectActivitiesParamsWithContext(ctx context.Context) *GetProjectActivitiesParams
NewGetProjectActivitiesParamsWithContext creates a new GetProjectActivitiesParams object with the ability to set a context for a request.
func NewGetProjectActivitiesParamsWithHTTPClient ¶
func NewGetProjectActivitiesParamsWithHTTPClient(client *http.Client) *GetProjectActivitiesParams
NewGetProjectActivitiesParamsWithHTTPClient creates a new GetProjectActivitiesParams object with the ability to set a custom HTTPClient for a request.
func NewGetProjectActivitiesParamsWithTimeout ¶
func NewGetProjectActivitiesParamsWithTimeout(timeout time.Duration) *GetProjectActivitiesParams
NewGetProjectActivitiesParamsWithTimeout creates a new GetProjectActivitiesParams object with the ability to set a timeout on a request.
func (*GetProjectActivitiesParams) SetContext ¶
func (o *GetProjectActivitiesParams) SetContext(ctx context.Context)
SetContext adds the context to the get project activities params
func (*GetProjectActivitiesParams) SetDefaults ¶
func (o *GetProjectActivitiesParams) SetDefaults()
SetDefaults hydrates default values in the get project activities params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectActivitiesParams) SetHTTPClient ¶
func (o *GetProjectActivitiesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get project activities params
func (*GetProjectActivitiesParams) SetLimit ¶
func (o *GetProjectActivitiesParams) SetLimit(limit *int32)
SetLimit adds the limit to the get project activities params
func (*GetProjectActivitiesParams) SetMode ¶
func (o *GetProjectActivitiesParams) SetMode(mode *string)
SetMode adds the mode to the get project activities params
func (*GetProjectActivitiesParams) SetName ¶
func (o *GetProjectActivitiesParams) SetName(name string)
SetName adds the name to the get project activities params
func (*GetProjectActivitiesParams) SetNoPage ¶
func (o *GetProjectActivitiesParams) SetNoPage(noPage *bool)
SetNoPage adds the noPage to the get project activities params
func (*GetProjectActivitiesParams) SetOffset ¶
func (o *GetProjectActivitiesParams) SetOffset(offset *int32)
SetOffset adds the offset to the get project activities params
func (*GetProjectActivitiesParams) SetOwner ¶
func (o *GetProjectActivitiesParams) SetOwner(owner string)
SetOwner adds the owner to the get project activities params
func (*GetProjectActivitiesParams) SetQuery ¶
func (o *GetProjectActivitiesParams) SetQuery(query *string)
SetQuery adds the query to the get project activities params
func (*GetProjectActivitiesParams) SetSort ¶
func (o *GetProjectActivitiesParams) SetSort(sort *string)
SetSort adds the sort to the get project activities params
func (*GetProjectActivitiesParams) SetTimeout ¶
func (o *GetProjectActivitiesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get project activities params
func (*GetProjectActivitiesParams) WithContext ¶
func (o *GetProjectActivitiesParams) WithContext(ctx context.Context) *GetProjectActivitiesParams
WithContext adds the context to the get project activities params
func (*GetProjectActivitiesParams) WithDefaults ¶
func (o *GetProjectActivitiesParams) WithDefaults() *GetProjectActivitiesParams
WithDefaults hydrates default values in the get project activities params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectActivitiesParams) WithHTTPClient ¶
func (o *GetProjectActivitiesParams) WithHTTPClient(client *http.Client) *GetProjectActivitiesParams
WithHTTPClient adds the HTTPClient to the get project activities params
func (*GetProjectActivitiesParams) WithLimit ¶
func (o *GetProjectActivitiesParams) WithLimit(limit *int32) *GetProjectActivitiesParams
WithLimit adds the limit to the get project activities params
func (*GetProjectActivitiesParams) WithMode ¶
func (o *GetProjectActivitiesParams) WithMode(mode *string) *GetProjectActivitiesParams
WithMode adds the mode to the get project activities params
func (*GetProjectActivitiesParams) WithName ¶
func (o *GetProjectActivitiesParams) WithName(name string) *GetProjectActivitiesParams
WithName adds the name to the get project activities params
func (*GetProjectActivitiesParams) WithNoPage ¶
func (o *GetProjectActivitiesParams) WithNoPage(noPage *bool) *GetProjectActivitiesParams
WithNoPage adds the noPage to the get project activities params
func (*GetProjectActivitiesParams) WithOffset ¶
func (o *GetProjectActivitiesParams) WithOffset(offset *int32) *GetProjectActivitiesParams
WithOffset adds the offset to the get project activities params
func (*GetProjectActivitiesParams) WithOwner ¶
func (o *GetProjectActivitiesParams) WithOwner(owner string) *GetProjectActivitiesParams
WithOwner adds the owner to the get project activities params
func (*GetProjectActivitiesParams) WithQuery ¶
func (o *GetProjectActivitiesParams) WithQuery(query *string) *GetProjectActivitiesParams
WithQuery adds the query to the get project activities params
func (*GetProjectActivitiesParams) WithSort ¶
func (o *GetProjectActivitiesParams) WithSort(sort *string) *GetProjectActivitiesParams
WithSort adds the sort to the get project activities params
func (*GetProjectActivitiesParams) WithTimeout ¶
func (o *GetProjectActivitiesParams) WithTimeout(timeout time.Duration) *GetProjectActivitiesParams
WithTimeout adds the timeout to the get project activities params
func (*GetProjectActivitiesParams) WriteToRequest ¶
func (o *GetProjectActivitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjectActivitiesReader ¶
type GetProjectActivitiesReader struct {
// contains filtered or unexported fields
}
GetProjectActivitiesReader is a Reader for the GetProjectActivities structure.
func (*GetProjectActivitiesReader) ReadResponse ¶
func (o *GetProjectActivitiesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjectDefault ¶
type GetProjectDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
GetProjectDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetProjectDefault ¶
func NewGetProjectDefault(code int) *GetProjectDefault
NewGetProjectDefault creates a GetProjectDefault with default headers values
func (*GetProjectDefault) Code ¶
func (o *GetProjectDefault) Code() int
Code gets the status code for the get project default response
func (*GetProjectDefault) Error ¶
func (o *GetProjectDefault) Error() string
func (*GetProjectDefault) GetPayload ¶
func (o *GetProjectDefault) GetPayload() *service_model.RuntimeError
type GetProjectForbidden ¶
type GetProjectForbidden struct {
Payload interface{}
}
GetProjectForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewGetProjectForbidden ¶
func NewGetProjectForbidden() *GetProjectForbidden
NewGetProjectForbidden creates a GetProjectForbidden with default headers values
func (*GetProjectForbidden) Error ¶
func (o *GetProjectForbidden) Error() string
func (*GetProjectForbidden) GetPayload ¶
func (o *GetProjectForbidden) GetPayload() interface{}
type GetProjectNoContent ¶
type GetProjectNoContent struct {
Payload interface{}
}
GetProjectNoContent describes a response with status code 204, with default header values.
No content.
func NewGetProjectNoContent ¶
func NewGetProjectNoContent() *GetProjectNoContent
NewGetProjectNoContent creates a GetProjectNoContent with default headers values
func (*GetProjectNoContent) Error ¶
func (o *GetProjectNoContent) Error() string
func (*GetProjectNoContent) GetPayload ¶
func (o *GetProjectNoContent) GetPayload() interface{}
type GetProjectNotFound ¶
type GetProjectNotFound struct {
Payload interface{}
}
GetProjectNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewGetProjectNotFound ¶
func NewGetProjectNotFound() *GetProjectNotFound
NewGetProjectNotFound creates a GetProjectNotFound with default headers values
func (*GetProjectNotFound) Error ¶
func (o *GetProjectNotFound) Error() string
func (*GetProjectNotFound) GetPayload ¶
func (o *GetProjectNotFound) GetPayload() interface{}
type GetProjectOK ¶
type GetProjectOK struct {
Payload *service_model.V1Project
}
GetProjectOK describes a response with status code 200, with default header values.
A successful response.
func NewGetProjectOK ¶
func NewGetProjectOK() *GetProjectOK
NewGetProjectOK creates a GetProjectOK with default headers values
func (*GetProjectOK) Error ¶
func (o *GetProjectOK) Error() string
func (*GetProjectOK) GetPayload ¶
func (o *GetProjectOK) GetPayload() *service_model.V1Project
type GetProjectParams ¶
type GetProjectParams struct { /* Name. Component under namesapce */ Name string /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProjectParams contains all the parameters to send to the API endpoint
for the get project operation. Typically these are written to a http.Request.
func NewGetProjectParams ¶
func NewGetProjectParams() *GetProjectParams
NewGetProjectParams creates a new GetProjectParams object, with the default 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 NewGetProjectParamsWithContext ¶
func NewGetProjectParamsWithContext(ctx context.Context) *GetProjectParams
NewGetProjectParamsWithContext creates a new GetProjectParams object with the ability to set a context for a request.
func NewGetProjectParamsWithHTTPClient ¶
func NewGetProjectParamsWithHTTPClient(client *http.Client) *GetProjectParams
NewGetProjectParamsWithHTTPClient creates a new GetProjectParams object with the ability to set a custom HTTPClient for a request.
func NewGetProjectParamsWithTimeout ¶
func NewGetProjectParamsWithTimeout(timeout time.Duration) *GetProjectParams
NewGetProjectParamsWithTimeout creates a new GetProjectParams object with the ability to set a timeout on a request.
func (*GetProjectParams) SetContext ¶
func (o *GetProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the get project params
func (*GetProjectParams) SetDefaults ¶
func (o *GetProjectParams) SetDefaults()
SetDefaults hydrates default values in the get project params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectParams) SetHTTPClient ¶
func (o *GetProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get project params
func (*GetProjectParams) SetName ¶
func (o *GetProjectParams) SetName(name string)
SetName adds the name to the get project params
func (*GetProjectParams) SetOwner ¶
func (o *GetProjectParams) SetOwner(owner string)
SetOwner adds the owner to the get project params
func (*GetProjectParams) SetTimeout ¶
func (o *GetProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get project params
func (*GetProjectParams) WithContext ¶
func (o *GetProjectParams) WithContext(ctx context.Context) *GetProjectParams
WithContext adds the context to the get project params
func (*GetProjectParams) WithDefaults ¶
func (o *GetProjectParams) WithDefaults() *GetProjectParams
WithDefaults hydrates default values in the get project params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectParams) WithHTTPClient ¶
func (o *GetProjectParams) WithHTTPClient(client *http.Client) *GetProjectParams
WithHTTPClient adds the HTTPClient to the get project params
func (*GetProjectParams) WithName ¶
func (o *GetProjectParams) WithName(name string) *GetProjectParams
WithName adds the name to the get project params
func (*GetProjectParams) WithOwner ¶
func (o *GetProjectParams) WithOwner(owner string) *GetProjectParams
WithOwner adds the owner to the get project params
func (*GetProjectParams) WithTimeout ¶
func (o *GetProjectParams) WithTimeout(timeout time.Duration) *GetProjectParams
WithTimeout adds the timeout to the get project params
func (*GetProjectParams) WriteToRequest ¶
func (o *GetProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjectReader ¶
type GetProjectReader struct {
// contains filtered or unexported fields
}
GetProjectReader is a Reader for the GetProject structure.
func (*GetProjectReader) ReadResponse ¶
func (o *GetProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjectSettingsDefault ¶
type GetProjectSettingsDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
GetProjectSettingsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetProjectSettingsDefault ¶
func NewGetProjectSettingsDefault(code int) *GetProjectSettingsDefault
NewGetProjectSettingsDefault creates a GetProjectSettingsDefault with default headers values
func (*GetProjectSettingsDefault) Code ¶
func (o *GetProjectSettingsDefault) Code() int
Code gets the status code for the get project settings default response
func (*GetProjectSettingsDefault) Error ¶
func (o *GetProjectSettingsDefault) Error() string
func (*GetProjectSettingsDefault) GetPayload ¶
func (o *GetProjectSettingsDefault) GetPayload() *service_model.RuntimeError
type GetProjectSettingsForbidden ¶
type GetProjectSettingsForbidden struct {
Payload interface{}
}
GetProjectSettingsForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewGetProjectSettingsForbidden ¶
func NewGetProjectSettingsForbidden() *GetProjectSettingsForbidden
NewGetProjectSettingsForbidden creates a GetProjectSettingsForbidden with default headers values
func (*GetProjectSettingsForbidden) Error ¶
func (o *GetProjectSettingsForbidden) Error() string
func (*GetProjectSettingsForbidden) GetPayload ¶
func (o *GetProjectSettingsForbidden) GetPayload() interface{}
type GetProjectSettingsNoContent ¶
type GetProjectSettingsNoContent struct {
Payload interface{}
}
GetProjectSettingsNoContent describes a response with status code 204, with default header values.
No content.
func NewGetProjectSettingsNoContent ¶
func NewGetProjectSettingsNoContent() *GetProjectSettingsNoContent
NewGetProjectSettingsNoContent creates a GetProjectSettingsNoContent with default headers values
func (*GetProjectSettingsNoContent) Error ¶
func (o *GetProjectSettingsNoContent) Error() string
func (*GetProjectSettingsNoContent) GetPayload ¶
func (o *GetProjectSettingsNoContent) GetPayload() interface{}
type GetProjectSettingsNotFound ¶
type GetProjectSettingsNotFound struct {
Payload interface{}
}
GetProjectSettingsNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewGetProjectSettingsNotFound ¶
func NewGetProjectSettingsNotFound() *GetProjectSettingsNotFound
NewGetProjectSettingsNotFound creates a GetProjectSettingsNotFound with default headers values
func (*GetProjectSettingsNotFound) Error ¶
func (o *GetProjectSettingsNotFound) Error() string
func (*GetProjectSettingsNotFound) GetPayload ¶
func (o *GetProjectSettingsNotFound) GetPayload() interface{}
type GetProjectSettingsOK ¶
type GetProjectSettingsOK struct {
Payload *service_model.V1ProjectSettings
}
GetProjectSettingsOK describes a response with status code 200, with default header values.
A successful response.
func NewGetProjectSettingsOK ¶
func NewGetProjectSettingsOK() *GetProjectSettingsOK
NewGetProjectSettingsOK creates a GetProjectSettingsOK with default headers values
func (*GetProjectSettingsOK) Error ¶
func (o *GetProjectSettingsOK) Error() string
func (*GetProjectSettingsOK) GetPayload ¶
func (o *GetProjectSettingsOK) GetPayload() *service_model.V1ProjectSettings
type GetProjectSettingsParams ¶
type GetProjectSettingsParams struct { /* Name. Component under namesapce */ Name string /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProjectSettingsParams contains all the parameters to send to the API endpoint
for the get project settings operation. Typically these are written to a http.Request.
func NewGetProjectSettingsParams ¶
func NewGetProjectSettingsParams() *GetProjectSettingsParams
NewGetProjectSettingsParams creates a new GetProjectSettingsParams 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 NewGetProjectSettingsParamsWithContext ¶
func NewGetProjectSettingsParamsWithContext(ctx context.Context) *GetProjectSettingsParams
NewGetProjectSettingsParamsWithContext creates a new GetProjectSettingsParams object with the ability to set a context for a request.
func NewGetProjectSettingsParamsWithHTTPClient ¶
func NewGetProjectSettingsParamsWithHTTPClient(client *http.Client) *GetProjectSettingsParams
NewGetProjectSettingsParamsWithHTTPClient creates a new GetProjectSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewGetProjectSettingsParamsWithTimeout ¶
func NewGetProjectSettingsParamsWithTimeout(timeout time.Duration) *GetProjectSettingsParams
NewGetProjectSettingsParamsWithTimeout creates a new GetProjectSettingsParams object with the ability to set a timeout on a request.
func (*GetProjectSettingsParams) SetContext ¶
func (o *GetProjectSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get project settings params
func (*GetProjectSettingsParams) SetDefaults ¶
func (o *GetProjectSettingsParams) SetDefaults()
SetDefaults hydrates default values in the get project settings params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectSettingsParams) SetHTTPClient ¶
func (o *GetProjectSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get project settings params
func (*GetProjectSettingsParams) SetName ¶
func (o *GetProjectSettingsParams) SetName(name string)
SetName adds the name to the get project settings params
func (*GetProjectSettingsParams) SetOwner ¶
func (o *GetProjectSettingsParams) SetOwner(owner string)
SetOwner adds the owner to the get project settings params
func (*GetProjectSettingsParams) SetTimeout ¶
func (o *GetProjectSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get project settings params
func (*GetProjectSettingsParams) WithContext ¶
func (o *GetProjectSettingsParams) WithContext(ctx context.Context) *GetProjectSettingsParams
WithContext adds the context to the get project settings params
func (*GetProjectSettingsParams) WithDefaults ¶
func (o *GetProjectSettingsParams) WithDefaults() *GetProjectSettingsParams
WithDefaults hydrates default values in the get project settings params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectSettingsParams) WithHTTPClient ¶
func (o *GetProjectSettingsParams) WithHTTPClient(client *http.Client) *GetProjectSettingsParams
WithHTTPClient adds the HTTPClient to the get project settings params
func (*GetProjectSettingsParams) WithName ¶
func (o *GetProjectSettingsParams) WithName(name string) *GetProjectSettingsParams
WithName adds the name to the get project settings params
func (*GetProjectSettingsParams) WithOwner ¶
func (o *GetProjectSettingsParams) WithOwner(owner string) *GetProjectSettingsParams
WithOwner adds the owner to the get project settings params
func (*GetProjectSettingsParams) WithTimeout ¶
func (o *GetProjectSettingsParams) WithTimeout(timeout time.Duration) *GetProjectSettingsParams
WithTimeout adds the timeout to the get project settings params
func (*GetProjectSettingsParams) WriteToRequest ¶
func (o *GetProjectSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjectSettingsReader ¶
type GetProjectSettingsReader struct {
// contains filtered or unexported fields
}
GetProjectSettingsReader is a Reader for the GetProjectSettings structure.
func (*GetProjectSettingsReader) ReadResponse ¶
func (o *GetProjectSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjectStatsDefault ¶
type GetProjectStatsDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
GetProjectStatsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetProjectStatsDefault ¶
func NewGetProjectStatsDefault(code int) *GetProjectStatsDefault
NewGetProjectStatsDefault creates a GetProjectStatsDefault with default headers values
func (*GetProjectStatsDefault) Code ¶
func (o *GetProjectStatsDefault) Code() int
Code gets the status code for the get project stats default response
func (*GetProjectStatsDefault) Error ¶
func (o *GetProjectStatsDefault) Error() string
func (*GetProjectStatsDefault) GetPayload ¶
func (o *GetProjectStatsDefault) GetPayload() *service_model.RuntimeError
type GetProjectStatsForbidden ¶
type GetProjectStatsForbidden struct {
Payload interface{}
}
GetProjectStatsForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewGetProjectStatsForbidden ¶
func NewGetProjectStatsForbidden() *GetProjectStatsForbidden
NewGetProjectStatsForbidden creates a GetProjectStatsForbidden with default headers values
func (*GetProjectStatsForbidden) Error ¶
func (o *GetProjectStatsForbidden) Error() string
func (*GetProjectStatsForbidden) GetPayload ¶
func (o *GetProjectStatsForbidden) GetPayload() interface{}
type GetProjectStatsNoContent ¶
type GetProjectStatsNoContent struct {
Payload interface{}
}
GetProjectStatsNoContent describes a response with status code 204, with default header values.
No content.
func NewGetProjectStatsNoContent ¶
func NewGetProjectStatsNoContent() *GetProjectStatsNoContent
NewGetProjectStatsNoContent creates a GetProjectStatsNoContent with default headers values
func (*GetProjectStatsNoContent) Error ¶
func (o *GetProjectStatsNoContent) Error() string
func (*GetProjectStatsNoContent) GetPayload ¶
func (o *GetProjectStatsNoContent) GetPayload() interface{}
type GetProjectStatsNotFound ¶
type GetProjectStatsNotFound struct {
Payload interface{}
}
GetProjectStatsNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewGetProjectStatsNotFound ¶
func NewGetProjectStatsNotFound() *GetProjectStatsNotFound
NewGetProjectStatsNotFound creates a GetProjectStatsNotFound with default headers values
func (*GetProjectStatsNotFound) Error ¶
func (o *GetProjectStatsNotFound) Error() string
func (*GetProjectStatsNotFound) GetPayload ¶
func (o *GetProjectStatsNotFound) GetPayload() interface{}
type GetProjectStatsOK ¶
type GetProjectStatsOK struct {
Payload interface{}
}
GetProjectStatsOK describes a response with status code 200, with default header values.
A successful response.
func NewGetProjectStatsOK ¶
func NewGetProjectStatsOK() *GetProjectStatsOK
NewGetProjectStatsOK creates a GetProjectStatsOK with default headers values
func (*GetProjectStatsOK) Error ¶
func (o *GetProjectStatsOK) Error() string
func (*GetProjectStatsOK) GetPayload ¶
func (o *GetProjectStatsOK) GetPayload() interface{}
type GetProjectStatsParams ¶
type GetProjectStatsParams struct { /* Aggregate. Stats aggregate. */ Aggregate *string /* Groupby. Stats group. */ Groupby *string /* Kind. Stats Kind. */ Kind *string /* Limit. Limit size. Format: int32 */ Limit *int32 /* Name. Entity managing the resource */ Name string /* Offset. Pagination offset. Format: int32 */ Offset *int32 /* Owner. Owner of the namespace */ Owner string /* Query. Query filter the search. */ Query *string /* Sort. Sort to order the search. */ Sort *string /* Trunc. Stats trunc. */ Trunc *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProjectStatsParams contains all the parameters to send to the API endpoint
for the get project stats operation. Typically these are written to a http.Request.
func NewGetProjectStatsParams ¶
func NewGetProjectStatsParams() *GetProjectStatsParams
NewGetProjectStatsParams creates a new GetProjectStatsParams 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 NewGetProjectStatsParamsWithContext ¶
func NewGetProjectStatsParamsWithContext(ctx context.Context) *GetProjectStatsParams
NewGetProjectStatsParamsWithContext creates a new GetProjectStatsParams object with the ability to set a context for a request.
func NewGetProjectStatsParamsWithHTTPClient ¶
func NewGetProjectStatsParamsWithHTTPClient(client *http.Client) *GetProjectStatsParams
NewGetProjectStatsParamsWithHTTPClient creates a new GetProjectStatsParams object with the ability to set a custom HTTPClient for a request.
func NewGetProjectStatsParamsWithTimeout ¶
func NewGetProjectStatsParamsWithTimeout(timeout time.Duration) *GetProjectStatsParams
NewGetProjectStatsParamsWithTimeout creates a new GetProjectStatsParams object with the ability to set a timeout on a request.
func (*GetProjectStatsParams) SetAggregate ¶
func (o *GetProjectStatsParams) SetAggregate(aggregate *string)
SetAggregate adds the aggregate to the get project stats params
func (*GetProjectStatsParams) SetContext ¶
func (o *GetProjectStatsParams) SetContext(ctx context.Context)
SetContext adds the context to the get project stats params
func (*GetProjectStatsParams) SetDefaults ¶
func (o *GetProjectStatsParams) SetDefaults()
SetDefaults hydrates default values in the get project stats params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectStatsParams) SetGroupby ¶
func (o *GetProjectStatsParams) SetGroupby(groupby *string)
SetGroupby adds the groupby to the get project stats params
func (*GetProjectStatsParams) SetHTTPClient ¶
func (o *GetProjectStatsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get project stats params
func (*GetProjectStatsParams) SetKind ¶
func (o *GetProjectStatsParams) SetKind(kind *string)
SetKind adds the kind to the get project stats params
func (*GetProjectStatsParams) SetLimit ¶
func (o *GetProjectStatsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get project stats params
func (*GetProjectStatsParams) SetName ¶
func (o *GetProjectStatsParams) SetName(name string)
SetName adds the name to the get project stats params
func (*GetProjectStatsParams) SetOffset ¶
func (o *GetProjectStatsParams) SetOffset(offset *int32)
SetOffset adds the offset to the get project stats params
func (*GetProjectStatsParams) SetOwner ¶
func (o *GetProjectStatsParams) SetOwner(owner string)
SetOwner adds the owner to the get project stats params
func (*GetProjectStatsParams) SetQuery ¶
func (o *GetProjectStatsParams) SetQuery(query *string)
SetQuery adds the query to the get project stats params
func (*GetProjectStatsParams) SetSort ¶
func (o *GetProjectStatsParams) SetSort(sort *string)
SetSort adds the sort to the get project stats params
func (*GetProjectStatsParams) SetTimeout ¶
func (o *GetProjectStatsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get project stats params
func (*GetProjectStatsParams) SetTrunc ¶
func (o *GetProjectStatsParams) SetTrunc(trunc *string)
SetTrunc adds the trunc to the get project stats params
func (*GetProjectStatsParams) WithAggregate ¶
func (o *GetProjectStatsParams) WithAggregate(aggregate *string) *GetProjectStatsParams
WithAggregate adds the aggregate to the get project stats params
func (*GetProjectStatsParams) WithContext ¶
func (o *GetProjectStatsParams) WithContext(ctx context.Context) *GetProjectStatsParams
WithContext adds the context to the get project stats params
func (*GetProjectStatsParams) WithDefaults ¶
func (o *GetProjectStatsParams) WithDefaults() *GetProjectStatsParams
WithDefaults hydrates default values in the get project stats params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectStatsParams) WithGroupby ¶
func (o *GetProjectStatsParams) WithGroupby(groupby *string) *GetProjectStatsParams
WithGroupby adds the groupby to the get project stats params
func (*GetProjectStatsParams) WithHTTPClient ¶
func (o *GetProjectStatsParams) WithHTTPClient(client *http.Client) *GetProjectStatsParams
WithHTTPClient adds the HTTPClient to the get project stats params
func (*GetProjectStatsParams) WithKind ¶
func (o *GetProjectStatsParams) WithKind(kind *string) *GetProjectStatsParams
WithKind adds the kind to the get project stats params
func (*GetProjectStatsParams) WithLimit ¶
func (o *GetProjectStatsParams) WithLimit(limit *int32) *GetProjectStatsParams
WithLimit adds the limit to the get project stats params
func (*GetProjectStatsParams) WithName ¶
func (o *GetProjectStatsParams) WithName(name string) *GetProjectStatsParams
WithName adds the name to the get project stats params
func (*GetProjectStatsParams) WithOffset ¶
func (o *GetProjectStatsParams) WithOffset(offset *int32) *GetProjectStatsParams
WithOffset adds the offset to the get project stats params
func (*GetProjectStatsParams) WithOwner ¶
func (o *GetProjectStatsParams) WithOwner(owner string) *GetProjectStatsParams
WithOwner adds the owner to the get project stats params
func (*GetProjectStatsParams) WithQuery ¶
func (o *GetProjectStatsParams) WithQuery(query *string) *GetProjectStatsParams
WithQuery adds the query to the get project stats params
func (*GetProjectStatsParams) WithSort ¶
func (o *GetProjectStatsParams) WithSort(sort *string) *GetProjectStatsParams
WithSort adds the sort to the get project stats params
func (*GetProjectStatsParams) WithTimeout ¶
func (o *GetProjectStatsParams) WithTimeout(timeout time.Duration) *GetProjectStatsParams
WithTimeout adds the timeout to the get project stats params
func (*GetProjectStatsParams) WithTrunc ¶
func (o *GetProjectStatsParams) WithTrunc(trunc *string) *GetProjectStatsParams
WithTrunc adds the trunc to the get project stats params
func (*GetProjectStatsParams) WriteToRequest ¶
func (o *GetProjectStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjectStatsReader ¶
type GetProjectStatsReader struct {
// contains filtered or unexported fields
}
GetProjectStatsReader is a Reader for the GetProjectStats structure.
func (*GetProjectStatsReader) ReadResponse ¶
func (o *GetProjectStatsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListArchivedProjectsDefault ¶
type ListArchivedProjectsDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
ListArchivedProjectsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListArchivedProjectsDefault ¶
func NewListArchivedProjectsDefault(code int) *ListArchivedProjectsDefault
NewListArchivedProjectsDefault creates a ListArchivedProjectsDefault with default headers values
func (*ListArchivedProjectsDefault) Code ¶
func (o *ListArchivedProjectsDefault) Code() int
Code gets the status code for the list archived projects default response
func (*ListArchivedProjectsDefault) Error ¶
func (o *ListArchivedProjectsDefault) Error() string
func (*ListArchivedProjectsDefault) GetPayload ¶
func (o *ListArchivedProjectsDefault) GetPayload() *service_model.RuntimeError
type ListArchivedProjectsForbidden ¶
type ListArchivedProjectsForbidden struct {
Payload interface{}
}
ListArchivedProjectsForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewListArchivedProjectsForbidden ¶
func NewListArchivedProjectsForbidden() *ListArchivedProjectsForbidden
NewListArchivedProjectsForbidden creates a ListArchivedProjectsForbidden with default headers values
func (*ListArchivedProjectsForbidden) Error ¶
func (o *ListArchivedProjectsForbidden) Error() string
func (*ListArchivedProjectsForbidden) GetPayload ¶
func (o *ListArchivedProjectsForbidden) GetPayload() interface{}
type ListArchivedProjectsNoContent ¶
type ListArchivedProjectsNoContent struct {
Payload interface{}
}
ListArchivedProjectsNoContent describes a response with status code 204, with default header values.
No content.
func NewListArchivedProjectsNoContent ¶
func NewListArchivedProjectsNoContent() *ListArchivedProjectsNoContent
NewListArchivedProjectsNoContent creates a ListArchivedProjectsNoContent with default headers values
func (*ListArchivedProjectsNoContent) Error ¶
func (o *ListArchivedProjectsNoContent) Error() string
func (*ListArchivedProjectsNoContent) GetPayload ¶
func (o *ListArchivedProjectsNoContent) GetPayload() interface{}
type ListArchivedProjectsNotFound ¶
type ListArchivedProjectsNotFound struct {
Payload interface{}
}
ListArchivedProjectsNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewListArchivedProjectsNotFound ¶
func NewListArchivedProjectsNotFound() *ListArchivedProjectsNotFound
NewListArchivedProjectsNotFound creates a ListArchivedProjectsNotFound with default headers values
func (*ListArchivedProjectsNotFound) Error ¶
func (o *ListArchivedProjectsNotFound) Error() string
func (*ListArchivedProjectsNotFound) GetPayload ¶
func (o *ListArchivedProjectsNotFound) GetPayload() interface{}
type ListArchivedProjectsOK ¶
type ListArchivedProjectsOK struct {
Payload *service_model.V1ListProjectsResponse
}
ListArchivedProjectsOK describes a response with status code 200, with default header values.
A successful response.
func NewListArchivedProjectsOK ¶
func NewListArchivedProjectsOK() *ListArchivedProjectsOK
NewListArchivedProjectsOK creates a ListArchivedProjectsOK with default headers values
func (*ListArchivedProjectsOK) Error ¶
func (o *ListArchivedProjectsOK) Error() string
func (*ListArchivedProjectsOK) GetPayload ¶
func (o *ListArchivedProjectsOK) GetPayload() *service_model.V1ListProjectsResponse
type ListArchivedProjectsParams ¶
type ListArchivedProjectsParams struct { /* Limit. Limit size. Format: int32 */ Limit *int32 /* NoPage. No pagination. */ NoPage *bool /* Offset. Pagination offset. Format: int32 */ Offset *int32 /* Query. Query filter the search. */ Query *string /* Sort. Sort to order the search. */ Sort *string /* User. User */ User string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListArchivedProjectsParams contains all the parameters to send to the API endpoint
for the list archived projects operation. Typically these are written to a http.Request.
func NewListArchivedProjectsParams ¶
func NewListArchivedProjectsParams() *ListArchivedProjectsParams
NewListArchivedProjectsParams creates a new ListArchivedProjectsParams 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 NewListArchivedProjectsParamsWithContext ¶
func NewListArchivedProjectsParamsWithContext(ctx context.Context) *ListArchivedProjectsParams
NewListArchivedProjectsParamsWithContext creates a new ListArchivedProjectsParams object with the ability to set a context for a request.
func NewListArchivedProjectsParamsWithHTTPClient ¶
func NewListArchivedProjectsParamsWithHTTPClient(client *http.Client) *ListArchivedProjectsParams
NewListArchivedProjectsParamsWithHTTPClient creates a new ListArchivedProjectsParams object with the ability to set a custom HTTPClient for a request.
func NewListArchivedProjectsParamsWithTimeout ¶
func NewListArchivedProjectsParamsWithTimeout(timeout time.Duration) *ListArchivedProjectsParams
NewListArchivedProjectsParamsWithTimeout creates a new ListArchivedProjectsParams object with the ability to set a timeout on a request.
func (*ListArchivedProjectsParams) SetContext ¶
func (o *ListArchivedProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the list archived projects params
func (*ListArchivedProjectsParams) SetDefaults ¶
func (o *ListArchivedProjectsParams) SetDefaults()
SetDefaults hydrates default values in the list archived projects params (not the query body).
All values with no default are reset to their zero value.
func (*ListArchivedProjectsParams) SetHTTPClient ¶
func (o *ListArchivedProjectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list archived projects params
func (*ListArchivedProjectsParams) SetLimit ¶
func (o *ListArchivedProjectsParams) SetLimit(limit *int32)
SetLimit adds the limit to the list archived projects params
func (*ListArchivedProjectsParams) SetNoPage ¶
func (o *ListArchivedProjectsParams) SetNoPage(noPage *bool)
SetNoPage adds the noPage to the list archived projects params
func (*ListArchivedProjectsParams) SetOffset ¶
func (o *ListArchivedProjectsParams) SetOffset(offset *int32)
SetOffset adds the offset to the list archived projects params
func (*ListArchivedProjectsParams) SetQuery ¶
func (o *ListArchivedProjectsParams) SetQuery(query *string)
SetQuery adds the query to the list archived projects params
func (*ListArchivedProjectsParams) SetSort ¶
func (o *ListArchivedProjectsParams) SetSort(sort *string)
SetSort adds the sort to the list archived projects params
func (*ListArchivedProjectsParams) SetTimeout ¶
func (o *ListArchivedProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list archived projects params
func (*ListArchivedProjectsParams) SetUser ¶
func (o *ListArchivedProjectsParams) SetUser(user string)
SetUser adds the user to the list archived projects params
func (*ListArchivedProjectsParams) WithContext ¶
func (o *ListArchivedProjectsParams) WithContext(ctx context.Context) *ListArchivedProjectsParams
WithContext adds the context to the list archived projects params
func (*ListArchivedProjectsParams) WithDefaults ¶
func (o *ListArchivedProjectsParams) WithDefaults() *ListArchivedProjectsParams
WithDefaults hydrates default values in the list archived projects params (not the query body).
All values with no default are reset to their zero value.
func (*ListArchivedProjectsParams) WithHTTPClient ¶
func (o *ListArchivedProjectsParams) WithHTTPClient(client *http.Client) *ListArchivedProjectsParams
WithHTTPClient adds the HTTPClient to the list archived projects params
func (*ListArchivedProjectsParams) WithLimit ¶
func (o *ListArchivedProjectsParams) WithLimit(limit *int32) *ListArchivedProjectsParams
WithLimit adds the limit to the list archived projects params
func (*ListArchivedProjectsParams) WithNoPage ¶
func (o *ListArchivedProjectsParams) WithNoPage(noPage *bool) *ListArchivedProjectsParams
WithNoPage adds the noPage to the list archived projects params
func (*ListArchivedProjectsParams) WithOffset ¶
func (o *ListArchivedProjectsParams) WithOffset(offset *int32) *ListArchivedProjectsParams
WithOffset adds the offset to the list archived projects params
func (*ListArchivedProjectsParams) WithQuery ¶
func (o *ListArchivedProjectsParams) WithQuery(query *string) *ListArchivedProjectsParams
WithQuery adds the query to the list archived projects params
func (*ListArchivedProjectsParams) WithSort ¶
func (o *ListArchivedProjectsParams) WithSort(sort *string) *ListArchivedProjectsParams
WithSort adds the sort to the list archived projects params
func (*ListArchivedProjectsParams) WithTimeout ¶
func (o *ListArchivedProjectsParams) WithTimeout(timeout time.Duration) *ListArchivedProjectsParams
WithTimeout adds the timeout to the list archived projects params
func (*ListArchivedProjectsParams) WithUser ¶
func (o *ListArchivedProjectsParams) WithUser(user string) *ListArchivedProjectsParams
WithUser adds the user to the list archived projects params
func (*ListArchivedProjectsParams) WriteToRequest ¶
func (o *ListArchivedProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListArchivedProjectsReader ¶
type ListArchivedProjectsReader struct {
// contains filtered or unexported fields
}
ListArchivedProjectsReader is a Reader for the ListArchivedProjects structure.
func (*ListArchivedProjectsReader) ReadResponse ¶
func (o *ListArchivedProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListBookmarkedProjectsDefault ¶
type ListBookmarkedProjectsDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
ListBookmarkedProjectsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListBookmarkedProjectsDefault ¶
func NewListBookmarkedProjectsDefault(code int) *ListBookmarkedProjectsDefault
NewListBookmarkedProjectsDefault creates a ListBookmarkedProjectsDefault with default headers values
func (*ListBookmarkedProjectsDefault) Code ¶
func (o *ListBookmarkedProjectsDefault) Code() int
Code gets the status code for the list bookmarked projects default response
func (*ListBookmarkedProjectsDefault) Error ¶
func (o *ListBookmarkedProjectsDefault) Error() string
func (*ListBookmarkedProjectsDefault) GetPayload ¶
func (o *ListBookmarkedProjectsDefault) GetPayload() *service_model.RuntimeError
type ListBookmarkedProjectsForbidden ¶
type ListBookmarkedProjectsForbidden struct {
Payload interface{}
}
ListBookmarkedProjectsForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewListBookmarkedProjectsForbidden ¶
func NewListBookmarkedProjectsForbidden() *ListBookmarkedProjectsForbidden
NewListBookmarkedProjectsForbidden creates a ListBookmarkedProjectsForbidden with default headers values
func (*ListBookmarkedProjectsForbidden) Error ¶
func (o *ListBookmarkedProjectsForbidden) Error() string
func (*ListBookmarkedProjectsForbidden) GetPayload ¶
func (o *ListBookmarkedProjectsForbidden) GetPayload() interface{}
type ListBookmarkedProjectsNoContent ¶
type ListBookmarkedProjectsNoContent struct {
Payload interface{}
}
ListBookmarkedProjectsNoContent describes a response with status code 204, with default header values.
No content.
func NewListBookmarkedProjectsNoContent ¶
func NewListBookmarkedProjectsNoContent() *ListBookmarkedProjectsNoContent
NewListBookmarkedProjectsNoContent creates a ListBookmarkedProjectsNoContent with default headers values
func (*ListBookmarkedProjectsNoContent) Error ¶
func (o *ListBookmarkedProjectsNoContent) Error() string
func (*ListBookmarkedProjectsNoContent) GetPayload ¶
func (o *ListBookmarkedProjectsNoContent) GetPayload() interface{}
type ListBookmarkedProjectsNotFound ¶
type ListBookmarkedProjectsNotFound struct {
Payload interface{}
}
ListBookmarkedProjectsNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewListBookmarkedProjectsNotFound ¶
func NewListBookmarkedProjectsNotFound() *ListBookmarkedProjectsNotFound
NewListBookmarkedProjectsNotFound creates a ListBookmarkedProjectsNotFound with default headers values
func (*ListBookmarkedProjectsNotFound) Error ¶
func (o *ListBookmarkedProjectsNotFound) Error() string
func (*ListBookmarkedProjectsNotFound) GetPayload ¶
func (o *ListBookmarkedProjectsNotFound) GetPayload() interface{}
type ListBookmarkedProjectsOK ¶
type ListBookmarkedProjectsOK struct {
Payload *service_model.V1ListBookmarksResponse
}
ListBookmarkedProjectsOK describes a response with status code 200, with default header values.
A successful response.
func NewListBookmarkedProjectsOK ¶
func NewListBookmarkedProjectsOK() *ListBookmarkedProjectsOK
NewListBookmarkedProjectsOK creates a ListBookmarkedProjectsOK with default headers values
func (*ListBookmarkedProjectsOK) Error ¶
func (o *ListBookmarkedProjectsOK) Error() string
func (*ListBookmarkedProjectsOK) GetPayload ¶
func (o *ListBookmarkedProjectsOK) GetPayload() *service_model.V1ListBookmarksResponse
type ListBookmarkedProjectsParams ¶
type ListBookmarkedProjectsParams struct { /* Limit. Limit size. Format: int32 */ Limit *int32 /* NoPage. No pagination. */ NoPage *bool /* Offset. Pagination offset. Format: int32 */ Offset *int32 /* Query. Query filter the search. */ Query *string /* Sort. Sort to order the search. */ Sort *string /* User. User */ User string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListBookmarkedProjectsParams contains all the parameters to send to the API endpoint
for the list bookmarked projects operation. Typically these are written to a http.Request.
func NewListBookmarkedProjectsParams ¶
func NewListBookmarkedProjectsParams() *ListBookmarkedProjectsParams
NewListBookmarkedProjectsParams creates a new ListBookmarkedProjectsParams 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 NewListBookmarkedProjectsParamsWithContext ¶
func NewListBookmarkedProjectsParamsWithContext(ctx context.Context) *ListBookmarkedProjectsParams
NewListBookmarkedProjectsParamsWithContext creates a new ListBookmarkedProjectsParams object with the ability to set a context for a request.
func NewListBookmarkedProjectsParamsWithHTTPClient ¶
func NewListBookmarkedProjectsParamsWithHTTPClient(client *http.Client) *ListBookmarkedProjectsParams
NewListBookmarkedProjectsParamsWithHTTPClient creates a new ListBookmarkedProjectsParams object with the ability to set a custom HTTPClient for a request.
func NewListBookmarkedProjectsParamsWithTimeout ¶
func NewListBookmarkedProjectsParamsWithTimeout(timeout time.Duration) *ListBookmarkedProjectsParams
NewListBookmarkedProjectsParamsWithTimeout creates a new ListBookmarkedProjectsParams object with the ability to set a timeout on a request.
func (*ListBookmarkedProjectsParams) SetContext ¶
func (o *ListBookmarkedProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the list bookmarked projects params
func (*ListBookmarkedProjectsParams) SetDefaults ¶
func (o *ListBookmarkedProjectsParams) SetDefaults()
SetDefaults hydrates default values in the list bookmarked projects params (not the query body).
All values with no default are reset to their zero value.
func (*ListBookmarkedProjectsParams) SetHTTPClient ¶
func (o *ListBookmarkedProjectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list bookmarked projects params
func (*ListBookmarkedProjectsParams) SetLimit ¶
func (o *ListBookmarkedProjectsParams) SetLimit(limit *int32)
SetLimit adds the limit to the list bookmarked projects params
func (*ListBookmarkedProjectsParams) SetNoPage ¶
func (o *ListBookmarkedProjectsParams) SetNoPage(noPage *bool)
SetNoPage adds the noPage to the list bookmarked projects params
func (*ListBookmarkedProjectsParams) SetOffset ¶
func (o *ListBookmarkedProjectsParams) SetOffset(offset *int32)
SetOffset adds the offset to the list bookmarked projects params
func (*ListBookmarkedProjectsParams) SetQuery ¶
func (o *ListBookmarkedProjectsParams) SetQuery(query *string)
SetQuery adds the query to the list bookmarked projects params
func (*ListBookmarkedProjectsParams) SetSort ¶
func (o *ListBookmarkedProjectsParams) SetSort(sort *string)
SetSort adds the sort to the list bookmarked projects params
func (*ListBookmarkedProjectsParams) SetTimeout ¶
func (o *ListBookmarkedProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list bookmarked projects params
func (*ListBookmarkedProjectsParams) SetUser ¶
func (o *ListBookmarkedProjectsParams) SetUser(user string)
SetUser adds the user to the list bookmarked projects params
func (*ListBookmarkedProjectsParams) WithContext ¶
func (o *ListBookmarkedProjectsParams) WithContext(ctx context.Context) *ListBookmarkedProjectsParams
WithContext adds the context to the list bookmarked projects params
func (*ListBookmarkedProjectsParams) WithDefaults ¶
func (o *ListBookmarkedProjectsParams) WithDefaults() *ListBookmarkedProjectsParams
WithDefaults hydrates default values in the list bookmarked projects params (not the query body).
All values with no default are reset to their zero value.
func (*ListBookmarkedProjectsParams) WithHTTPClient ¶
func (o *ListBookmarkedProjectsParams) WithHTTPClient(client *http.Client) *ListBookmarkedProjectsParams
WithHTTPClient adds the HTTPClient to the list bookmarked projects params
func (*ListBookmarkedProjectsParams) WithLimit ¶
func (o *ListBookmarkedProjectsParams) WithLimit(limit *int32) *ListBookmarkedProjectsParams
WithLimit adds the limit to the list bookmarked projects params
func (*ListBookmarkedProjectsParams) WithNoPage ¶
func (o *ListBookmarkedProjectsParams) WithNoPage(noPage *bool) *ListBookmarkedProjectsParams
WithNoPage adds the noPage to the list bookmarked projects params
func (*ListBookmarkedProjectsParams) WithOffset ¶
func (o *ListBookmarkedProjectsParams) WithOffset(offset *int32) *ListBookmarkedProjectsParams
WithOffset adds the offset to the list bookmarked projects params
func (*ListBookmarkedProjectsParams) WithQuery ¶
func (o *ListBookmarkedProjectsParams) WithQuery(query *string) *ListBookmarkedProjectsParams
WithQuery adds the query to the list bookmarked projects params
func (*ListBookmarkedProjectsParams) WithSort ¶
func (o *ListBookmarkedProjectsParams) WithSort(sort *string) *ListBookmarkedProjectsParams
WithSort adds the sort to the list bookmarked projects params
func (*ListBookmarkedProjectsParams) WithTimeout ¶
func (o *ListBookmarkedProjectsParams) WithTimeout(timeout time.Duration) *ListBookmarkedProjectsParams
WithTimeout adds the timeout to the list bookmarked projects params
func (*ListBookmarkedProjectsParams) WithUser ¶
func (o *ListBookmarkedProjectsParams) WithUser(user string) *ListBookmarkedProjectsParams
WithUser adds the user to the list bookmarked projects params
func (*ListBookmarkedProjectsParams) WriteToRequest ¶
func (o *ListBookmarkedProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListBookmarkedProjectsReader ¶
type ListBookmarkedProjectsReader struct {
// contains filtered or unexported fields
}
ListBookmarkedProjectsReader is a Reader for the ListBookmarkedProjects structure.
func (*ListBookmarkedProjectsReader) ReadResponse ¶
func (o *ListBookmarkedProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListProjectNamesDefault ¶
type ListProjectNamesDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
ListProjectNamesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListProjectNamesDefault ¶
func NewListProjectNamesDefault(code int) *ListProjectNamesDefault
NewListProjectNamesDefault creates a ListProjectNamesDefault with default headers values
func (*ListProjectNamesDefault) Code ¶
func (o *ListProjectNamesDefault) Code() int
Code gets the status code for the list project names default response
func (*ListProjectNamesDefault) Error ¶
func (o *ListProjectNamesDefault) Error() string
func (*ListProjectNamesDefault) GetPayload ¶
func (o *ListProjectNamesDefault) GetPayload() *service_model.RuntimeError
type ListProjectNamesForbidden ¶
type ListProjectNamesForbidden struct {
Payload interface{}
}
ListProjectNamesForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewListProjectNamesForbidden ¶
func NewListProjectNamesForbidden() *ListProjectNamesForbidden
NewListProjectNamesForbidden creates a ListProjectNamesForbidden with default headers values
func (*ListProjectNamesForbidden) Error ¶
func (o *ListProjectNamesForbidden) Error() string
func (*ListProjectNamesForbidden) GetPayload ¶
func (o *ListProjectNamesForbidden) GetPayload() interface{}
type ListProjectNamesNoContent ¶
type ListProjectNamesNoContent struct {
Payload interface{}
}
ListProjectNamesNoContent describes a response with status code 204, with default header values.
No content.
func NewListProjectNamesNoContent ¶
func NewListProjectNamesNoContent() *ListProjectNamesNoContent
NewListProjectNamesNoContent creates a ListProjectNamesNoContent with default headers values
func (*ListProjectNamesNoContent) Error ¶
func (o *ListProjectNamesNoContent) Error() string
func (*ListProjectNamesNoContent) GetPayload ¶
func (o *ListProjectNamesNoContent) GetPayload() interface{}
type ListProjectNamesNotFound ¶
type ListProjectNamesNotFound struct {
Payload interface{}
}
ListProjectNamesNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewListProjectNamesNotFound ¶
func NewListProjectNamesNotFound() *ListProjectNamesNotFound
NewListProjectNamesNotFound creates a ListProjectNamesNotFound with default headers values
func (*ListProjectNamesNotFound) Error ¶
func (o *ListProjectNamesNotFound) Error() string
func (*ListProjectNamesNotFound) GetPayload ¶
func (o *ListProjectNamesNotFound) GetPayload() interface{}
type ListProjectNamesOK ¶
type ListProjectNamesOK struct {
Payload *service_model.V1ListProjectsResponse
}
ListProjectNamesOK describes a response with status code 200, with default header values.
A successful response.
func NewListProjectNamesOK ¶
func NewListProjectNamesOK() *ListProjectNamesOK
NewListProjectNamesOK creates a ListProjectNamesOK with default headers values
func (*ListProjectNamesOK) Error ¶
func (o *ListProjectNamesOK) Error() string
func (*ListProjectNamesOK) GetPayload ¶
func (o *ListProjectNamesOK) GetPayload() *service_model.V1ListProjectsResponse
type ListProjectNamesParams ¶
type ListProjectNamesParams struct { /* Limit. Limit size. Format: int32 */ Limit *int32 /* NoPage. No pagination. */ NoPage *bool /* Offset. Pagination offset. Format: int32 */ Offset *int32 /* Owner. Owner of the namespace */ Owner string /* Query. Query filter the search. */ Query *string /* Sort. Sort to order the search. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListProjectNamesParams contains all the parameters to send to the API endpoint
for the list project names operation. Typically these are written to a http.Request.
func NewListProjectNamesParams ¶
func NewListProjectNamesParams() *ListProjectNamesParams
NewListProjectNamesParams creates a new ListProjectNamesParams 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 NewListProjectNamesParamsWithContext ¶
func NewListProjectNamesParamsWithContext(ctx context.Context) *ListProjectNamesParams
NewListProjectNamesParamsWithContext creates a new ListProjectNamesParams object with the ability to set a context for a request.
func NewListProjectNamesParamsWithHTTPClient ¶
func NewListProjectNamesParamsWithHTTPClient(client *http.Client) *ListProjectNamesParams
NewListProjectNamesParamsWithHTTPClient creates a new ListProjectNamesParams object with the ability to set a custom HTTPClient for a request.
func NewListProjectNamesParamsWithTimeout ¶
func NewListProjectNamesParamsWithTimeout(timeout time.Duration) *ListProjectNamesParams
NewListProjectNamesParamsWithTimeout creates a new ListProjectNamesParams object with the ability to set a timeout on a request.
func (*ListProjectNamesParams) SetContext ¶
func (o *ListProjectNamesParams) SetContext(ctx context.Context)
SetContext adds the context to the list project names params
func (*ListProjectNamesParams) SetDefaults ¶
func (o *ListProjectNamesParams) SetDefaults()
SetDefaults hydrates default values in the list project names params (not the query body).
All values with no default are reset to their zero value.
func (*ListProjectNamesParams) SetHTTPClient ¶
func (o *ListProjectNamesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list project names params
func (*ListProjectNamesParams) SetLimit ¶
func (o *ListProjectNamesParams) SetLimit(limit *int32)
SetLimit adds the limit to the list project names params
func (*ListProjectNamesParams) SetNoPage ¶
func (o *ListProjectNamesParams) SetNoPage(noPage *bool)
SetNoPage adds the noPage to the list project names params
func (*ListProjectNamesParams) SetOffset ¶
func (o *ListProjectNamesParams) SetOffset(offset *int32)
SetOffset adds the offset to the list project names params
func (*ListProjectNamesParams) SetOwner ¶
func (o *ListProjectNamesParams) SetOwner(owner string)
SetOwner adds the owner to the list project names params
func (*ListProjectNamesParams) SetQuery ¶
func (o *ListProjectNamesParams) SetQuery(query *string)
SetQuery adds the query to the list project names params
func (*ListProjectNamesParams) SetSort ¶
func (o *ListProjectNamesParams) SetSort(sort *string)
SetSort adds the sort to the list project names params
func (*ListProjectNamesParams) SetTimeout ¶
func (o *ListProjectNamesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list project names params
func (*ListProjectNamesParams) WithContext ¶
func (o *ListProjectNamesParams) WithContext(ctx context.Context) *ListProjectNamesParams
WithContext adds the context to the list project names params
func (*ListProjectNamesParams) WithDefaults ¶
func (o *ListProjectNamesParams) WithDefaults() *ListProjectNamesParams
WithDefaults hydrates default values in the list project names params (not the query body).
All values with no default are reset to their zero value.
func (*ListProjectNamesParams) WithHTTPClient ¶
func (o *ListProjectNamesParams) WithHTTPClient(client *http.Client) *ListProjectNamesParams
WithHTTPClient adds the HTTPClient to the list project names params
func (*ListProjectNamesParams) WithLimit ¶
func (o *ListProjectNamesParams) WithLimit(limit *int32) *ListProjectNamesParams
WithLimit adds the limit to the list project names params
func (*ListProjectNamesParams) WithNoPage ¶
func (o *ListProjectNamesParams) WithNoPage(noPage *bool) *ListProjectNamesParams
WithNoPage adds the noPage to the list project names params
func (*ListProjectNamesParams) WithOffset ¶
func (o *ListProjectNamesParams) WithOffset(offset *int32) *ListProjectNamesParams
WithOffset adds the offset to the list project names params
func (*ListProjectNamesParams) WithOwner ¶
func (o *ListProjectNamesParams) WithOwner(owner string) *ListProjectNamesParams
WithOwner adds the owner to the list project names params
func (*ListProjectNamesParams) WithQuery ¶
func (o *ListProjectNamesParams) WithQuery(query *string) *ListProjectNamesParams
WithQuery adds the query to the list project names params
func (*ListProjectNamesParams) WithSort ¶
func (o *ListProjectNamesParams) WithSort(sort *string) *ListProjectNamesParams
WithSort adds the sort to the list project names params
func (*ListProjectNamesParams) WithTimeout ¶
func (o *ListProjectNamesParams) WithTimeout(timeout time.Duration) *ListProjectNamesParams
WithTimeout adds the timeout to the list project names params
func (*ListProjectNamesParams) WriteToRequest ¶
func (o *ListProjectNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListProjectNamesReader ¶
type ListProjectNamesReader struct {
// contains filtered or unexported fields
}
ListProjectNamesReader is a Reader for the ListProjectNames structure.
func (*ListProjectNamesReader) ReadResponse ¶
func (o *ListProjectNamesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListProjectsDefault ¶
type ListProjectsDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
ListProjectsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListProjectsDefault ¶
func NewListProjectsDefault(code int) *ListProjectsDefault
NewListProjectsDefault creates a ListProjectsDefault with default headers values
func (*ListProjectsDefault) Code ¶
func (o *ListProjectsDefault) Code() int
Code gets the status code for the list projects default response
func (*ListProjectsDefault) Error ¶
func (o *ListProjectsDefault) Error() string
func (*ListProjectsDefault) GetPayload ¶
func (o *ListProjectsDefault) GetPayload() *service_model.RuntimeError
type ListProjectsForbidden ¶
type ListProjectsForbidden struct {
Payload interface{}
}
ListProjectsForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewListProjectsForbidden ¶
func NewListProjectsForbidden() *ListProjectsForbidden
NewListProjectsForbidden creates a ListProjectsForbidden with default headers values
func (*ListProjectsForbidden) Error ¶
func (o *ListProjectsForbidden) Error() string
func (*ListProjectsForbidden) GetPayload ¶
func (o *ListProjectsForbidden) GetPayload() interface{}
type ListProjectsNoContent ¶
type ListProjectsNoContent struct {
Payload interface{}
}
ListProjectsNoContent describes a response with status code 204, with default header values.
No content.
func NewListProjectsNoContent ¶
func NewListProjectsNoContent() *ListProjectsNoContent
NewListProjectsNoContent creates a ListProjectsNoContent with default headers values
func (*ListProjectsNoContent) Error ¶
func (o *ListProjectsNoContent) Error() string
func (*ListProjectsNoContent) GetPayload ¶
func (o *ListProjectsNoContent) GetPayload() interface{}
type ListProjectsNotFound ¶
type ListProjectsNotFound struct {
Payload interface{}
}
ListProjectsNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewListProjectsNotFound ¶
func NewListProjectsNotFound() *ListProjectsNotFound
NewListProjectsNotFound creates a ListProjectsNotFound with default headers values
func (*ListProjectsNotFound) Error ¶
func (o *ListProjectsNotFound) Error() string
func (*ListProjectsNotFound) GetPayload ¶
func (o *ListProjectsNotFound) GetPayload() interface{}
type ListProjectsOK ¶
type ListProjectsOK struct {
Payload *service_model.V1ListProjectsResponse
}
ListProjectsOK describes a response with status code 200, with default header values.
A successful response.
func NewListProjectsOK ¶
func NewListProjectsOK() *ListProjectsOK
NewListProjectsOK creates a ListProjectsOK with default headers values
func (*ListProjectsOK) Error ¶
func (o *ListProjectsOK) Error() string
func (*ListProjectsOK) GetPayload ¶
func (o *ListProjectsOK) GetPayload() *service_model.V1ListProjectsResponse
type ListProjectsParams ¶
type ListProjectsParams struct { /* Limit. Limit size. Format: int32 */ Limit *int32 /* NoPage. No pagination. */ NoPage *bool /* Offset. Pagination offset. Format: int32 */ Offset *int32 /* Owner. Owner of the namespace */ Owner string /* Query. Query filter the search. */ Query *string /* Sort. Sort to order the search. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListProjectsParams contains all the parameters to send to the API endpoint
for the list projects operation. Typically these are written to a http.Request.
func NewListProjectsParams ¶
func NewListProjectsParams() *ListProjectsParams
NewListProjectsParams creates a new ListProjectsParams object, with the default 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 NewListProjectsParamsWithContext ¶
func NewListProjectsParamsWithContext(ctx context.Context) *ListProjectsParams
NewListProjectsParamsWithContext creates a new ListProjectsParams object with the ability to set a context for a request.
func NewListProjectsParamsWithHTTPClient ¶
func NewListProjectsParamsWithHTTPClient(client *http.Client) *ListProjectsParams
NewListProjectsParamsWithHTTPClient creates a new ListProjectsParams object with the ability to set a custom HTTPClient for a request.
func NewListProjectsParamsWithTimeout ¶
func NewListProjectsParamsWithTimeout(timeout time.Duration) *ListProjectsParams
NewListProjectsParamsWithTimeout creates a new ListProjectsParams object with the ability to set a timeout on a request.
func (*ListProjectsParams) SetContext ¶
func (o *ListProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the list projects params
func (*ListProjectsParams) SetDefaults ¶
func (o *ListProjectsParams) SetDefaults()
SetDefaults hydrates default values in the list projects params (not the query body).
All values with no default are reset to their zero value.
func (*ListProjectsParams) SetHTTPClient ¶
func (o *ListProjectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list projects params
func (*ListProjectsParams) SetLimit ¶
func (o *ListProjectsParams) SetLimit(limit *int32)
SetLimit adds the limit to the list projects params
func (*ListProjectsParams) SetNoPage ¶
func (o *ListProjectsParams) SetNoPage(noPage *bool)
SetNoPage adds the noPage to the list projects params
func (*ListProjectsParams) SetOffset ¶
func (o *ListProjectsParams) SetOffset(offset *int32)
SetOffset adds the offset to the list projects params
func (*ListProjectsParams) SetOwner ¶
func (o *ListProjectsParams) SetOwner(owner string)
SetOwner adds the owner to the list projects params
func (*ListProjectsParams) SetQuery ¶
func (o *ListProjectsParams) SetQuery(query *string)
SetQuery adds the query to the list projects params
func (*ListProjectsParams) SetSort ¶
func (o *ListProjectsParams) SetSort(sort *string)
SetSort adds the sort to the list projects params
func (*ListProjectsParams) SetTimeout ¶
func (o *ListProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list projects params
func (*ListProjectsParams) WithContext ¶
func (o *ListProjectsParams) WithContext(ctx context.Context) *ListProjectsParams
WithContext adds the context to the list projects params
func (*ListProjectsParams) WithDefaults ¶
func (o *ListProjectsParams) WithDefaults() *ListProjectsParams
WithDefaults hydrates default values in the list projects params (not the query body).
All values with no default are reset to their zero value.
func (*ListProjectsParams) WithHTTPClient ¶
func (o *ListProjectsParams) WithHTTPClient(client *http.Client) *ListProjectsParams
WithHTTPClient adds the HTTPClient to the list projects params
func (*ListProjectsParams) WithLimit ¶
func (o *ListProjectsParams) WithLimit(limit *int32) *ListProjectsParams
WithLimit adds the limit to the list projects params
func (*ListProjectsParams) WithNoPage ¶
func (o *ListProjectsParams) WithNoPage(noPage *bool) *ListProjectsParams
WithNoPage adds the noPage to the list projects params
func (*ListProjectsParams) WithOffset ¶
func (o *ListProjectsParams) WithOffset(offset *int32) *ListProjectsParams
WithOffset adds the offset to the list projects params
func (*ListProjectsParams) WithOwner ¶
func (o *ListProjectsParams) WithOwner(owner string) *ListProjectsParams
WithOwner adds the owner to the list projects params
func (*ListProjectsParams) WithQuery ¶
func (o *ListProjectsParams) WithQuery(query *string) *ListProjectsParams
WithQuery adds the query to the list projects params
func (*ListProjectsParams) WithSort ¶
func (o *ListProjectsParams) WithSort(sort *string) *ListProjectsParams
WithSort adds the sort to the list projects params
func (*ListProjectsParams) WithTimeout ¶
func (o *ListProjectsParams) WithTimeout(timeout time.Duration) *ListProjectsParams
WithTimeout adds the timeout to the list projects params
func (*ListProjectsParams) WriteToRequest ¶
func (o *ListProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListProjectsReader ¶
type ListProjectsReader struct {
// contains filtered or unexported fields
}
ListProjectsReader is a Reader for the ListProjects structure.
func (*ListProjectsReader) ReadResponse ¶
func (o *ListProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchProjectDefault ¶
type PatchProjectDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
PatchProjectDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPatchProjectDefault ¶
func NewPatchProjectDefault(code int) *PatchProjectDefault
NewPatchProjectDefault creates a PatchProjectDefault with default headers values
func (*PatchProjectDefault) Code ¶
func (o *PatchProjectDefault) Code() int
Code gets the status code for the patch project default response
func (*PatchProjectDefault) Error ¶
func (o *PatchProjectDefault) Error() string
func (*PatchProjectDefault) GetPayload ¶
func (o *PatchProjectDefault) GetPayload() *service_model.RuntimeError
type PatchProjectForbidden ¶
type PatchProjectForbidden struct {
Payload interface{}
}
PatchProjectForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewPatchProjectForbidden ¶
func NewPatchProjectForbidden() *PatchProjectForbidden
NewPatchProjectForbidden creates a PatchProjectForbidden with default headers values
func (*PatchProjectForbidden) Error ¶
func (o *PatchProjectForbidden) Error() string
func (*PatchProjectForbidden) GetPayload ¶
func (o *PatchProjectForbidden) GetPayload() interface{}
type PatchProjectNoContent ¶
type PatchProjectNoContent struct {
Payload interface{}
}
PatchProjectNoContent describes a response with status code 204, with default header values.
No content.
func NewPatchProjectNoContent ¶
func NewPatchProjectNoContent() *PatchProjectNoContent
NewPatchProjectNoContent creates a PatchProjectNoContent with default headers values
func (*PatchProjectNoContent) Error ¶
func (o *PatchProjectNoContent) Error() string
func (*PatchProjectNoContent) GetPayload ¶
func (o *PatchProjectNoContent) GetPayload() interface{}
type PatchProjectNotFound ¶
type PatchProjectNotFound struct {
Payload interface{}
}
PatchProjectNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewPatchProjectNotFound ¶
func NewPatchProjectNotFound() *PatchProjectNotFound
NewPatchProjectNotFound creates a PatchProjectNotFound with default headers values
func (*PatchProjectNotFound) Error ¶
func (o *PatchProjectNotFound) Error() string
func (*PatchProjectNotFound) GetPayload ¶
func (o *PatchProjectNotFound) GetPayload() interface{}
type PatchProjectOK ¶
type PatchProjectOK struct {
Payload *service_model.V1Project
}
PatchProjectOK describes a response with status code 200, with default header values.
A successful response.
func NewPatchProjectOK ¶
func NewPatchProjectOK() *PatchProjectOK
NewPatchProjectOK creates a PatchProjectOK with default headers values
func (*PatchProjectOK) Error ¶
func (o *PatchProjectOK) Error() string
func (*PatchProjectOK) GetPayload ¶
func (o *PatchProjectOK) GetPayload() *service_model.V1Project
type PatchProjectParams ¶
type PatchProjectParams struct { /* Body. Project body */ Body *service_model.V1Project /* Owner. Owner of the namespace */ Owner string /* ProjectName. Required name */ ProjectName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchProjectParams contains all the parameters to send to the API endpoint
for the patch project operation. Typically these are written to a http.Request.
func NewPatchProjectParams ¶
func NewPatchProjectParams() *PatchProjectParams
NewPatchProjectParams creates a new PatchProjectParams 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 NewPatchProjectParamsWithContext ¶
func NewPatchProjectParamsWithContext(ctx context.Context) *PatchProjectParams
NewPatchProjectParamsWithContext creates a new PatchProjectParams object with the ability to set a context for a request.
func NewPatchProjectParamsWithHTTPClient ¶
func NewPatchProjectParamsWithHTTPClient(client *http.Client) *PatchProjectParams
NewPatchProjectParamsWithHTTPClient creates a new PatchProjectParams object with the ability to set a custom HTTPClient for a request.
func NewPatchProjectParamsWithTimeout ¶
func NewPatchProjectParamsWithTimeout(timeout time.Duration) *PatchProjectParams
NewPatchProjectParamsWithTimeout creates a new PatchProjectParams object with the ability to set a timeout on a request.
func (*PatchProjectParams) SetBody ¶
func (o *PatchProjectParams) SetBody(body *service_model.V1Project)
SetBody adds the body to the patch project params
func (*PatchProjectParams) SetContext ¶
func (o *PatchProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the patch project params
func (*PatchProjectParams) SetDefaults ¶
func (o *PatchProjectParams) SetDefaults()
SetDefaults hydrates default values in the patch project params (not the query body).
All values with no default are reset to their zero value.
func (*PatchProjectParams) SetHTTPClient ¶
func (o *PatchProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch project params
func (*PatchProjectParams) SetOwner ¶
func (o *PatchProjectParams) SetOwner(owner string)
SetOwner adds the owner to the patch project params
func (*PatchProjectParams) SetProjectName ¶
func (o *PatchProjectParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the patch project params
func (*PatchProjectParams) SetTimeout ¶
func (o *PatchProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch project params
func (*PatchProjectParams) WithBody ¶
func (o *PatchProjectParams) WithBody(body *service_model.V1Project) *PatchProjectParams
WithBody adds the body to the patch project params
func (*PatchProjectParams) WithContext ¶
func (o *PatchProjectParams) WithContext(ctx context.Context) *PatchProjectParams
WithContext adds the context to the patch project params
func (*PatchProjectParams) WithDefaults ¶
func (o *PatchProjectParams) WithDefaults() *PatchProjectParams
WithDefaults hydrates default values in the patch project params (not the query body).
All values with no default are reset to their zero value.
func (*PatchProjectParams) WithHTTPClient ¶
func (o *PatchProjectParams) WithHTTPClient(client *http.Client) *PatchProjectParams
WithHTTPClient adds the HTTPClient to the patch project params
func (*PatchProjectParams) WithOwner ¶
func (o *PatchProjectParams) WithOwner(owner string) *PatchProjectParams
WithOwner adds the owner to the patch project params
func (*PatchProjectParams) WithProjectName ¶
func (o *PatchProjectParams) WithProjectName(projectName string) *PatchProjectParams
WithProjectName adds the projectName to the patch project params
func (*PatchProjectParams) WithTimeout ¶
func (o *PatchProjectParams) WithTimeout(timeout time.Duration) *PatchProjectParams
WithTimeout adds the timeout to the patch project params
func (*PatchProjectParams) WriteToRequest ¶
func (o *PatchProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchProjectReader ¶
type PatchProjectReader struct {
// contains filtered or unexported fields
}
PatchProjectReader is a Reader for the PatchProject structure.
func (*PatchProjectReader) ReadResponse ¶
func (o *PatchProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchProjectSettingsDefault ¶
type PatchProjectSettingsDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
PatchProjectSettingsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPatchProjectSettingsDefault ¶
func NewPatchProjectSettingsDefault(code int) *PatchProjectSettingsDefault
NewPatchProjectSettingsDefault creates a PatchProjectSettingsDefault with default headers values
func (*PatchProjectSettingsDefault) Code ¶
func (o *PatchProjectSettingsDefault) Code() int
Code gets the status code for the patch project settings default response
func (*PatchProjectSettingsDefault) Error ¶
func (o *PatchProjectSettingsDefault) Error() string
func (*PatchProjectSettingsDefault) GetPayload ¶
func (o *PatchProjectSettingsDefault) GetPayload() *service_model.RuntimeError
type PatchProjectSettingsForbidden ¶
type PatchProjectSettingsForbidden struct {
Payload interface{}
}
PatchProjectSettingsForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewPatchProjectSettingsForbidden ¶
func NewPatchProjectSettingsForbidden() *PatchProjectSettingsForbidden
NewPatchProjectSettingsForbidden creates a PatchProjectSettingsForbidden with default headers values
func (*PatchProjectSettingsForbidden) Error ¶
func (o *PatchProjectSettingsForbidden) Error() string
func (*PatchProjectSettingsForbidden) GetPayload ¶
func (o *PatchProjectSettingsForbidden) GetPayload() interface{}
type PatchProjectSettingsNoContent ¶
type PatchProjectSettingsNoContent struct {
Payload interface{}
}
PatchProjectSettingsNoContent describes a response with status code 204, with default header values.
No content.
func NewPatchProjectSettingsNoContent ¶
func NewPatchProjectSettingsNoContent() *PatchProjectSettingsNoContent
NewPatchProjectSettingsNoContent creates a PatchProjectSettingsNoContent with default headers values
func (*PatchProjectSettingsNoContent) Error ¶
func (o *PatchProjectSettingsNoContent) Error() string
func (*PatchProjectSettingsNoContent) GetPayload ¶
func (o *PatchProjectSettingsNoContent) GetPayload() interface{}
type PatchProjectSettingsNotFound ¶
type PatchProjectSettingsNotFound struct {
Payload interface{}
}
PatchProjectSettingsNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewPatchProjectSettingsNotFound ¶
func NewPatchProjectSettingsNotFound() *PatchProjectSettingsNotFound
NewPatchProjectSettingsNotFound creates a PatchProjectSettingsNotFound with default headers values
func (*PatchProjectSettingsNotFound) Error ¶
func (o *PatchProjectSettingsNotFound) Error() string
func (*PatchProjectSettingsNotFound) GetPayload ¶
func (o *PatchProjectSettingsNotFound) GetPayload() interface{}
type PatchProjectSettingsOK ¶
type PatchProjectSettingsOK struct {
Payload *service_model.V1ProjectSettings
}
PatchProjectSettingsOK describes a response with status code 200, with default header values.
A successful response.
func NewPatchProjectSettingsOK ¶
func NewPatchProjectSettingsOK() *PatchProjectSettingsOK
NewPatchProjectSettingsOK creates a PatchProjectSettingsOK with default headers values
func (*PatchProjectSettingsOK) Error ¶
func (o *PatchProjectSettingsOK) Error() string
func (*PatchProjectSettingsOK) GetPayload ¶
func (o *PatchProjectSettingsOK) GetPayload() *service_model.V1ProjectSettings
type PatchProjectSettingsParams ¶
type PatchProjectSettingsParams struct { /* Body. Project settings body */ Body *service_model.V1ProjectSettings /* Owner. Owner of the namespace */ Owner string /* Project. Project name */ Project string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchProjectSettingsParams contains all the parameters to send to the API endpoint
for the patch project settings operation. Typically these are written to a http.Request.
func NewPatchProjectSettingsParams ¶
func NewPatchProjectSettingsParams() *PatchProjectSettingsParams
NewPatchProjectSettingsParams creates a new PatchProjectSettingsParams 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 NewPatchProjectSettingsParamsWithContext ¶
func NewPatchProjectSettingsParamsWithContext(ctx context.Context) *PatchProjectSettingsParams
NewPatchProjectSettingsParamsWithContext creates a new PatchProjectSettingsParams object with the ability to set a context for a request.
func NewPatchProjectSettingsParamsWithHTTPClient ¶
func NewPatchProjectSettingsParamsWithHTTPClient(client *http.Client) *PatchProjectSettingsParams
NewPatchProjectSettingsParamsWithHTTPClient creates a new PatchProjectSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewPatchProjectSettingsParamsWithTimeout ¶
func NewPatchProjectSettingsParamsWithTimeout(timeout time.Duration) *PatchProjectSettingsParams
NewPatchProjectSettingsParamsWithTimeout creates a new PatchProjectSettingsParams object with the ability to set a timeout on a request.
func (*PatchProjectSettingsParams) SetBody ¶
func (o *PatchProjectSettingsParams) SetBody(body *service_model.V1ProjectSettings)
SetBody adds the body to the patch project settings params
func (*PatchProjectSettingsParams) SetContext ¶
func (o *PatchProjectSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the patch project settings params
func (*PatchProjectSettingsParams) SetDefaults ¶
func (o *PatchProjectSettingsParams) SetDefaults()
SetDefaults hydrates default values in the patch project settings params (not the query body).
All values with no default are reset to their zero value.
func (*PatchProjectSettingsParams) SetHTTPClient ¶
func (o *PatchProjectSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch project settings params
func (*PatchProjectSettingsParams) SetOwner ¶
func (o *PatchProjectSettingsParams) SetOwner(owner string)
SetOwner adds the owner to the patch project settings params
func (*PatchProjectSettingsParams) SetProject ¶
func (o *PatchProjectSettingsParams) SetProject(project string)
SetProject adds the project to the patch project settings params
func (*PatchProjectSettingsParams) SetTimeout ¶
func (o *PatchProjectSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch project settings params
func (*PatchProjectSettingsParams) WithBody ¶
func (o *PatchProjectSettingsParams) WithBody(body *service_model.V1ProjectSettings) *PatchProjectSettingsParams
WithBody adds the body to the patch project settings params
func (*PatchProjectSettingsParams) WithContext ¶
func (o *PatchProjectSettingsParams) WithContext(ctx context.Context) *PatchProjectSettingsParams
WithContext adds the context to the patch project settings params
func (*PatchProjectSettingsParams) WithDefaults ¶
func (o *PatchProjectSettingsParams) WithDefaults() *PatchProjectSettingsParams
WithDefaults hydrates default values in the patch project settings params (not the query body).
All values with no default are reset to their zero value.
func (*PatchProjectSettingsParams) WithHTTPClient ¶
func (o *PatchProjectSettingsParams) WithHTTPClient(client *http.Client) *PatchProjectSettingsParams
WithHTTPClient adds the HTTPClient to the patch project settings params
func (*PatchProjectSettingsParams) WithOwner ¶
func (o *PatchProjectSettingsParams) WithOwner(owner string) *PatchProjectSettingsParams
WithOwner adds the owner to the patch project settings params
func (*PatchProjectSettingsParams) WithProject ¶
func (o *PatchProjectSettingsParams) WithProject(project string) *PatchProjectSettingsParams
WithProject adds the project to the patch project settings params
func (*PatchProjectSettingsParams) WithTimeout ¶
func (o *PatchProjectSettingsParams) WithTimeout(timeout time.Duration) *PatchProjectSettingsParams
WithTimeout adds the timeout to the patch project settings params
func (*PatchProjectSettingsParams) WriteToRequest ¶
func (o *PatchProjectSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchProjectSettingsReader ¶
type PatchProjectSettingsReader struct {
// contains filtered or unexported fields
}
PatchProjectSettingsReader is a Reader for the PatchProjectSettings structure.
func (*PatchProjectSettingsReader) ReadResponse ¶
func (o *PatchProjectSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RestoreProjectDefault ¶
type RestoreProjectDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
RestoreProjectDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewRestoreProjectDefault ¶
func NewRestoreProjectDefault(code int) *RestoreProjectDefault
NewRestoreProjectDefault creates a RestoreProjectDefault with default headers values
func (*RestoreProjectDefault) Code ¶
func (o *RestoreProjectDefault) Code() int
Code gets the status code for the restore project default response
func (*RestoreProjectDefault) Error ¶
func (o *RestoreProjectDefault) Error() string
func (*RestoreProjectDefault) GetPayload ¶
func (o *RestoreProjectDefault) GetPayload() *service_model.RuntimeError
type RestoreProjectForbidden ¶
type RestoreProjectForbidden struct {
Payload interface{}
}
RestoreProjectForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewRestoreProjectForbidden ¶
func NewRestoreProjectForbidden() *RestoreProjectForbidden
NewRestoreProjectForbidden creates a RestoreProjectForbidden with default headers values
func (*RestoreProjectForbidden) Error ¶
func (o *RestoreProjectForbidden) Error() string
func (*RestoreProjectForbidden) GetPayload ¶
func (o *RestoreProjectForbidden) GetPayload() interface{}
type RestoreProjectNoContent ¶
type RestoreProjectNoContent struct {
Payload interface{}
}
RestoreProjectNoContent describes a response with status code 204, with default header values.
No content.
func NewRestoreProjectNoContent ¶
func NewRestoreProjectNoContent() *RestoreProjectNoContent
NewRestoreProjectNoContent creates a RestoreProjectNoContent with default headers values
func (*RestoreProjectNoContent) Error ¶
func (o *RestoreProjectNoContent) Error() string
func (*RestoreProjectNoContent) GetPayload ¶
func (o *RestoreProjectNoContent) GetPayload() interface{}
type RestoreProjectNotFound ¶
type RestoreProjectNotFound struct {
Payload interface{}
}
RestoreProjectNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewRestoreProjectNotFound ¶
func NewRestoreProjectNotFound() *RestoreProjectNotFound
NewRestoreProjectNotFound creates a RestoreProjectNotFound with default headers values
func (*RestoreProjectNotFound) Error ¶
func (o *RestoreProjectNotFound) Error() string
func (*RestoreProjectNotFound) GetPayload ¶
func (o *RestoreProjectNotFound) GetPayload() interface{}
type RestoreProjectOK ¶
type RestoreProjectOK struct { }
RestoreProjectOK describes a response with status code 200, with default header values.
A successful response.
func NewRestoreProjectOK ¶
func NewRestoreProjectOK() *RestoreProjectOK
NewRestoreProjectOK creates a RestoreProjectOK with default headers values
func (*RestoreProjectOK) Error ¶
func (o *RestoreProjectOK) Error() string
type RestoreProjectParams ¶
type RestoreProjectParams struct { /* Name. Component under namesapce */ Name string /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RestoreProjectParams contains all the parameters to send to the API endpoint
for the restore project operation. Typically these are written to a http.Request.
func NewRestoreProjectParams ¶
func NewRestoreProjectParams() *RestoreProjectParams
NewRestoreProjectParams creates a new RestoreProjectParams 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 NewRestoreProjectParamsWithContext ¶
func NewRestoreProjectParamsWithContext(ctx context.Context) *RestoreProjectParams
NewRestoreProjectParamsWithContext creates a new RestoreProjectParams object with the ability to set a context for a request.
func NewRestoreProjectParamsWithHTTPClient ¶
func NewRestoreProjectParamsWithHTTPClient(client *http.Client) *RestoreProjectParams
NewRestoreProjectParamsWithHTTPClient creates a new RestoreProjectParams object with the ability to set a custom HTTPClient for a request.
func NewRestoreProjectParamsWithTimeout ¶
func NewRestoreProjectParamsWithTimeout(timeout time.Duration) *RestoreProjectParams
NewRestoreProjectParamsWithTimeout creates a new RestoreProjectParams object with the ability to set a timeout on a request.
func (*RestoreProjectParams) SetContext ¶
func (o *RestoreProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the restore project params
func (*RestoreProjectParams) SetDefaults ¶
func (o *RestoreProjectParams) SetDefaults()
SetDefaults hydrates default values in the restore project params (not the query body).
All values with no default are reset to their zero value.
func (*RestoreProjectParams) SetHTTPClient ¶
func (o *RestoreProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the restore project params
func (*RestoreProjectParams) SetName ¶
func (o *RestoreProjectParams) SetName(name string)
SetName adds the name to the restore project params
func (*RestoreProjectParams) SetOwner ¶
func (o *RestoreProjectParams) SetOwner(owner string)
SetOwner adds the owner to the restore project params
func (*RestoreProjectParams) SetTimeout ¶
func (o *RestoreProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the restore project params
func (*RestoreProjectParams) WithContext ¶
func (o *RestoreProjectParams) WithContext(ctx context.Context) *RestoreProjectParams
WithContext adds the context to the restore project params
func (*RestoreProjectParams) WithDefaults ¶
func (o *RestoreProjectParams) WithDefaults() *RestoreProjectParams
WithDefaults hydrates default values in the restore project params (not the query body).
All values with no default are reset to their zero value.
func (*RestoreProjectParams) WithHTTPClient ¶
func (o *RestoreProjectParams) WithHTTPClient(client *http.Client) *RestoreProjectParams
WithHTTPClient adds the HTTPClient to the restore project params
func (*RestoreProjectParams) WithName ¶
func (o *RestoreProjectParams) WithName(name string) *RestoreProjectParams
WithName adds the name to the restore project params
func (*RestoreProjectParams) WithOwner ¶
func (o *RestoreProjectParams) WithOwner(owner string) *RestoreProjectParams
WithOwner adds the owner to the restore project params
func (*RestoreProjectParams) WithTimeout ¶
func (o *RestoreProjectParams) WithTimeout(timeout time.Duration) *RestoreProjectParams
WithTimeout adds the timeout to the restore project params
func (*RestoreProjectParams) WriteToRequest ¶
func (o *RestoreProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RestoreProjectReader ¶
type RestoreProjectReader struct {
// contains filtered or unexported fields
}
RestoreProjectReader is a Reader for the RestoreProject structure.
func (*RestoreProjectReader) ReadResponse ¶
func (o *RestoreProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UnbookmarkProjectDefault ¶
type UnbookmarkProjectDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
UnbookmarkProjectDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewUnbookmarkProjectDefault ¶
func NewUnbookmarkProjectDefault(code int) *UnbookmarkProjectDefault
NewUnbookmarkProjectDefault creates a UnbookmarkProjectDefault with default headers values
func (*UnbookmarkProjectDefault) Code ¶
func (o *UnbookmarkProjectDefault) Code() int
Code gets the status code for the unbookmark project default response
func (*UnbookmarkProjectDefault) Error ¶
func (o *UnbookmarkProjectDefault) Error() string
func (*UnbookmarkProjectDefault) GetPayload ¶
func (o *UnbookmarkProjectDefault) GetPayload() *service_model.RuntimeError
type UnbookmarkProjectForbidden ¶
type UnbookmarkProjectForbidden struct {
Payload interface{}
}
UnbookmarkProjectForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewUnbookmarkProjectForbidden ¶
func NewUnbookmarkProjectForbidden() *UnbookmarkProjectForbidden
NewUnbookmarkProjectForbidden creates a UnbookmarkProjectForbidden with default headers values
func (*UnbookmarkProjectForbidden) Error ¶
func (o *UnbookmarkProjectForbidden) Error() string
func (*UnbookmarkProjectForbidden) GetPayload ¶
func (o *UnbookmarkProjectForbidden) GetPayload() interface{}
type UnbookmarkProjectNoContent ¶
type UnbookmarkProjectNoContent struct {
Payload interface{}
}
UnbookmarkProjectNoContent describes a response with status code 204, with default header values.
No content.
func NewUnbookmarkProjectNoContent ¶
func NewUnbookmarkProjectNoContent() *UnbookmarkProjectNoContent
NewUnbookmarkProjectNoContent creates a UnbookmarkProjectNoContent with default headers values
func (*UnbookmarkProjectNoContent) Error ¶
func (o *UnbookmarkProjectNoContent) Error() string
func (*UnbookmarkProjectNoContent) GetPayload ¶
func (o *UnbookmarkProjectNoContent) GetPayload() interface{}
type UnbookmarkProjectNotFound ¶
type UnbookmarkProjectNotFound struct {
Payload interface{}
}
UnbookmarkProjectNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewUnbookmarkProjectNotFound ¶
func NewUnbookmarkProjectNotFound() *UnbookmarkProjectNotFound
NewUnbookmarkProjectNotFound creates a UnbookmarkProjectNotFound with default headers values
func (*UnbookmarkProjectNotFound) Error ¶
func (o *UnbookmarkProjectNotFound) Error() string
func (*UnbookmarkProjectNotFound) GetPayload ¶
func (o *UnbookmarkProjectNotFound) GetPayload() interface{}
type UnbookmarkProjectOK ¶
type UnbookmarkProjectOK struct { }
UnbookmarkProjectOK describes a response with status code 200, with default header values.
A successful response.
func NewUnbookmarkProjectOK ¶
func NewUnbookmarkProjectOK() *UnbookmarkProjectOK
NewUnbookmarkProjectOK creates a UnbookmarkProjectOK with default headers values
func (*UnbookmarkProjectOK) Error ¶
func (o *UnbookmarkProjectOK) Error() string
type UnbookmarkProjectParams ¶
type UnbookmarkProjectParams struct { /* Name. Component under namesapce */ Name string /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UnbookmarkProjectParams contains all the parameters to send to the API endpoint
for the unbookmark project operation. Typically these are written to a http.Request.
func NewUnbookmarkProjectParams ¶
func NewUnbookmarkProjectParams() *UnbookmarkProjectParams
NewUnbookmarkProjectParams creates a new UnbookmarkProjectParams 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 NewUnbookmarkProjectParamsWithContext ¶
func NewUnbookmarkProjectParamsWithContext(ctx context.Context) *UnbookmarkProjectParams
NewUnbookmarkProjectParamsWithContext creates a new UnbookmarkProjectParams object with the ability to set a context for a request.
func NewUnbookmarkProjectParamsWithHTTPClient ¶
func NewUnbookmarkProjectParamsWithHTTPClient(client *http.Client) *UnbookmarkProjectParams
NewUnbookmarkProjectParamsWithHTTPClient creates a new UnbookmarkProjectParams object with the ability to set a custom HTTPClient for a request.
func NewUnbookmarkProjectParamsWithTimeout ¶
func NewUnbookmarkProjectParamsWithTimeout(timeout time.Duration) *UnbookmarkProjectParams
NewUnbookmarkProjectParamsWithTimeout creates a new UnbookmarkProjectParams object with the ability to set a timeout on a request.
func (*UnbookmarkProjectParams) SetContext ¶
func (o *UnbookmarkProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the unbookmark project params
func (*UnbookmarkProjectParams) SetDefaults ¶
func (o *UnbookmarkProjectParams) SetDefaults()
SetDefaults hydrates default values in the unbookmark project params (not the query body).
All values with no default are reset to their zero value.
func (*UnbookmarkProjectParams) SetHTTPClient ¶
func (o *UnbookmarkProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the unbookmark project params
func (*UnbookmarkProjectParams) SetName ¶
func (o *UnbookmarkProjectParams) SetName(name string)
SetName adds the name to the unbookmark project params
func (*UnbookmarkProjectParams) SetOwner ¶
func (o *UnbookmarkProjectParams) SetOwner(owner string)
SetOwner adds the owner to the unbookmark project params
func (*UnbookmarkProjectParams) SetTimeout ¶
func (o *UnbookmarkProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the unbookmark project params
func (*UnbookmarkProjectParams) WithContext ¶
func (o *UnbookmarkProjectParams) WithContext(ctx context.Context) *UnbookmarkProjectParams
WithContext adds the context to the unbookmark project params
func (*UnbookmarkProjectParams) WithDefaults ¶
func (o *UnbookmarkProjectParams) WithDefaults() *UnbookmarkProjectParams
WithDefaults hydrates default values in the unbookmark project params (not the query body).
All values with no default are reset to their zero value.
func (*UnbookmarkProjectParams) WithHTTPClient ¶
func (o *UnbookmarkProjectParams) WithHTTPClient(client *http.Client) *UnbookmarkProjectParams
WithHTTPClient adds the HTTPClient to the unbookmark project params
func (*UnbookmarkProjectParams) WithName ¶
func (o *UnbookmarkProjectParams) WithName(name string) *UnbookmarkProjectParams
WithName adds the name to the unbookmark project params
func (*UnbookmarkProjectParams) WithOwner ¶
func (o *UnbookmarkProjectParams) WithOwner(owner string) *UnbookmarkProjectParams
WithOwner adds the owner to the unbookmark project params
func (*UnbookmarkProjectParams) WithTimeout ¶
func (o *UnbookmarkProjectParams) WithTimeout(timeout time.Duration) *UnbookmarkProjectParams
WithTimeout adds the timeout to the unbookmark project params
func (*UnbookmarkProjectParams) WriteToRequest ¶
func (o *UnbookmarkProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UnbookmarkProjectReader ¶
type UnbookmarkProjectReader struct {
// contains filtered or unexported fields
}
UnbookmarkProjectReader is a Reader for the UnbookmarkProject structure.
func (*UnbookmarkProjectReader) ReadResponse ¶
func (o *UnbookmarkProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateProjectDefault ¶
type UpdateProjectDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
UpdateProjectDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewUpdateProjectDefault ¶
func NewUpdateProjectDefault(code int) *UpdateProjectDefault
NewUpdateProjectDefault creates a UpdateProjectDefault with default headers values
func (*UpdateProjectDefault) Code ¶
func (o *UpdateProjectDefault) Code() int
Code gets the status code for the update project default response
func (*UpdateProjectDefault) Error ¶
func (o *UpdateProjectDefault) Error() string
func (*UpdateProjectDefault) GetPayload ¶
func (o *UpdateProjectDefault) GetPayload() *service_model.RuntimeError
type UpdateProjectForbidden ¶
type UpdateProjectForbidden struct {
Payload interface{}
}
UpdateProjectForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewUpdateProjectForbidden ¶
func NewUpdateProjectForbidden() *UpdateProjectForbidden
NewUpdateProjectForbidden creates a UpdateProjectForbidden with default headers values
func (*UpdateProjectForbidden) Error ¶
func (o *UpdateProjectForbidden) Error() string
func (*UpdateProjectForbidden) GetPayload ¶
func (o *UpdateProjectForbidden) GetPayload() interface{}
type UpdateProjectNoContent ¶
type UpdateProjectNoContent struct {
Payload interface{}
}
UpdateProjectNoContent describes a response with status code 204, with default header values.
No content.
func NewUpdateProjectNoContent ¶
func NewUpdateProjectNoContent() *UpdateProjectNoContent
NewUpdateProjectNoContent creates a UpdateProjectNoContent with default headers values
func (*UpdateProjectNoContent) Error ¶
func (o *UpdateProjectNoContent) Error() string
func (*UpdateProjectNoContent) GetPayload ¶
func (o *UpdateProjectNoContent) GetPayload() interface{}
type UpdateProjectNotFound ¶
type UpdateProjectNotFound struct {
Payload interface{}
}
UpdateProjectNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewUpdateProjectNotFound ¶
func NewUpdateProjectNotFound() *UpdateProjectNotFound
NewUpdateProjectNotFound creates a UpdateProjectNotFound with default headers values
func (*UpdateProjectNotFound) Error ¶
func (o *UpdateProjectNotFound) Error() string
func (*UpdateProjectNotFound) GetPayload ¶
func (o *UpdateProjectNotFound) GetPayload() interface{}
type UpdateProjectOK ¶
type UpdateProjectOK struct {
Payload *service_model.V1Project
}
UpdateProjectOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateProjectOK ¶
func NewUpdateProjectOK() *UpdateProjectOK
NewUpdateProjectOK creates a UpdateProjectOK with default headers values
func (*UpdateProjectOK) Error ¶
func (o *UpdateProjectOK) Error() string
func (*UpdateProjectOK) GetPayload ¶
func (o *UpdateProjectOK) GetPayload() *service_model.V1Project
type UpdateProjectParams ¶
type UpdateProjectParams struct { /* Body. Project body */ Body *service_model.V1Project /* Owner. Owner of the namespace */ Owner string /* ProjectName. Required name */ ProjectName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateProjectParams contains all the parameters to send to the API endpoint
for the update project operation. Typically these are written to a http.Request.
func NewUpdateProjectParams ¶
func NewUpdateProjectParams() *UpdateProjectParams
NewUpdateProjectParams creates a new UpdateProjectParams object, with the default 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 NewUpdateProjectParamsWithContext ¶
func NewUpdateProjectParamsWithContext(ctx context.Context) *UpdateProjectParams
NewUpdateProjectParamsWithContext creates a new UpdateProjectParams object with the ability to set a context for a request.
func NewUpdateProjectParamsWithHTTPClient ¶
func NewUpdateProjectParamsWithHTTPClient(client *http.Client) *UpdateProjectParams
NewUpdateProjectParamsWithHTTPClient creates a new UpdateProjectParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateProjectParamsWithTimeout ¶
func NewUpdateProjectParamsWithTimeout(timeout time.Duration) *UpdateProjectParams
NewUpdateProjectParamsWithTimeout creates a new UpdateProjectParams object with the ability to set a timeout on a request.
func (*UpdateProjectParams) SetBody ¶
func (o *UpdateProjectParams) SetBody(body *service_model.V1Project)
SetBody adds the body to the update project params
func (*UpdateProjectParams) SetContext ¶
func (o *UpdateProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the update project params
func (*UpdateProjectParams) SetDefaults ¶
func (o *UpdateProjectParams) SetDefaults()
SetDefaults hydrates default values in the update project params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateProjectParams) SetHTTPClient ¶
func (o *UpdateProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update project params
func (*UpdateProjectParams) SetOwner ¶
func (o *UpdateProjectParams) SetOwner(owner string)
SetOwner adds the owner to the update project params
func (*UpdateProjectParams) SetProjectName ¶
func (o *UpdateProjectParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the update project params
func (*UpdateProjectParams) SetTimeout ¶
func (o *UpdateProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update project params
func (*UpdateProjectParams) WithBody ¶
func (o *UpdateProjectParams) WithBody(body *service_model.V1Project) *UpdateProjectParams
WithBody adds the body to the update project params
func (*UpdateProjectParams) WithContext ¶
func (o *UpdateProjectParams) WithContext(ctx context.Context) *UpdateProjectParams
WithContext adds the context to the update project params
func (*UpdateProjectParams) WithDefaults ¶
func (o *UpdateProjectParams) WithDefaults() *UpdateProjectParams
WithDefaults hydrates default values in the update project params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateProjectParams) WithHTTPClient ¶
func (o *UpdateProjectParams) WithHTTPClient(client *http.Client) *UpdateProjectParams
WithHTTPClient adds the HTTPClient to the update project params
func (*UpdateProjectParams) WithOwner ¶
func (o *UpdateProjectParams) WithOwner(owner string) *UpdateProjectParams
WithOwner adds the owner to the update project params
func (*UpdateProjectParams) WithProjectName ¶
func (o *UpdateProjectParams) WithProjectName(projectName string) *UpdateProjectParams
WithProjectName adds the projectName to the update project params
func (*UpdateProjectParams) WithTimeout ¶
func (o *UpdateProjectParams) WithTimeout(timeout time.Duration) *UpdateProjectParams
WithTimeout adds the timeout to the update project params
func (*UpdateProjectParams) WriteToRequest ¶
func (o *UpdateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateProjectReader ¶
type UpdateProjectReader struct {
// contains filtered or unexported fields
}
UpdateProjectReader is a Reader for the UpdateProject structure.
func (*UpdateProjectReader) ReadResponse ¶
func (o *UpdateProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateProjectSettingsDefault ¶
type UpdateProjectSettingsDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
UpdateProjectSettingsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewUpdateProjectSettingsDefault ¶
func NewUpdateProjectSettingsDefault(code int) *UpdateProjectSettingsDefault
NewUpdateProjectSettingsDefault creates a UpdateProjectSettingsDefault with default headers values
func (*UpdateProjectSettingsDefault) Code ¶
func (o *UpdateProjectSettingsDefault) Code() int
Code gets the status code for the update project settings default response
func (*UpdateProjectSettingsDefault) Error ¶
func (o *UpdateProjectSettingsDefault) Error() string
func (*UpdateProjectSettingsDefault) GetPayload ¶
func (o *UpdateProjectSettingsDefault) GetPayload() *service_model.RuntimeError
type UpdateProjectSettingsForbidden ¶
type UpdateProjectSettingsForbidden struct {
Payload interface{}
}
UpdateProjectSettingsForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewUpdateProjectSettingsForbidden ¶
func NewUpdateProjectSettingsForbidden() *UpdateProjectSettingsForbidden
NewUpdateProjectSettingsForbidden creates a UpdateProjectSettingsForbidden with default headers values
func (*UpdateProjectSettingsForbidden) Error ¶
func (o *UpdateProjectSettingsForbidden) Error() string
func (*UpdateProjectSettingsForbidden) GetPayload ¶
func (o *UpdateProjectSettingsForbidden) GetPayload() interface{}
type UpdateProjectSettingsNoContent ¶
type UpdateProjectSettingsNoContent struct {
Payload interface{}
}
UpdateProjectSettingsNoContent describes a response with status code 204, with default header values.
No content.
func NewUpdateProjectSettingsNoContent ¶
func NewUpdateProjectSettingsNoContent() *UpdateProjectSettingsNoContent
NewUpdateProjectSettingsNoContent creates a UpdateProjectSettingsNoContent with default headers values
func (*UpdateProjectSettingsNoContent) Error ¶
func (o *UpdateProjectSettingsNoContent) Error() string
func (*UpdateProjectSettingsNoContent) GetPayload ¶
func (o *UpdateProjectSettingsNoContent) GetPayload() interface{}
type UpdateProjectSettingsNotFound ¶
type UpdateProjectSettingsNotFound struct {
Payload interface{}
}
UpdateProjectSettingsNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewUpdateProjectSettingsNotFound ¶
func NewUpdateProjectSettingsNotFound() *UpdateProjectSettingsNotFound
NewUpdateProjectSettingsNotFound creates a UpdateProjectSettingsNotFound with default headers values
func (*UpdateProjectSettingsNotFound) Error ¶
func (o *UpdateProjectSettingsNotFound) Error() string
func (*UpdateProjectSettingsNotFound) GetPayload ¶
func (o *UpdateProjectSettingsNotFound) GetPayload() interface{}
type UpdateProjectSettingsOK ¶
type UpdateProjectSettingsOK struct {
Payload *service_model.V1ProjectSettings
}
UpdateProjectSettingsOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateProjectSettingsOK ¶
func NewUpdateProjectSettingsOK() *UpdateProjectSettingsOK
NewUpdateProjectSettingsOK creates a UpdateProjectSettingsOK with default headers values
func (*UpdateProjectSettingsOK) Error ¶
func (o *UpdateProjectSettingsOK) Error() string
func (*UpdateProjectSettingsOK) GetPayload ¶
func (o *UpdateProjectSettingsOK) GetPayload() *service_model.V1ProjectSettings
type UpdateProjectSettingsParams ¶
type UpdateProjectSettingsParams struct { /* Body. Project settings body */ Body *service_model.V1ProjectSettings /* Owner. Owner of the namespace */ Owner string /* Project. Project name */ Project string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateProjectSettingsParams contains all the parameters to send to the API endpoint
for the update project settings operation. Typically these are written to a http.Request.
func NewUpdateProjectSettingsParams ¶
func NewUpdateProjectSettingsParams() *UpdateProjectSettingsParams
NewUpdateProjectSettingsParams creates a new UpdateProjectSettingsParams 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 NewUpdateProjectSettingsParamsWithContext ¶
func NewUpdateProjectSettingsParamsWithContext(ctx context.Context) *UpdateProjectSettingsParams
NewUpdateProjectSettingsParamsWithContext creates a new UpdateProjectSettingsParams object with the ability to set a context for a request.
func NewUpdateProjectSettingsParamsWithHTTPClient ¶
func NewUpdateProjectSettingsParamsWithHTTPClient(client *http.Client) *UpdateProjectSettingsParams
NewUpdateProjectSettingsParamsWithHTTPClient creates a new UpdateProjectSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateProjectSettingsParamsWithTimeout ¶
func NewUpdateProjectSettingsParamsWithTimeout(timeout time.Duration) *UpdateProjectSettingsParams
NewUpdateProjectSettingsParamsWithTimeout creates a new UpdateProjectSettingsParams object with the ability to set a timeout on a request.
func (*UpdateProjectSettingsParams) SetBody ¶
func (o *UpdateProjectSettingsParams) SetBody(body *service_model.V1ProjectSettings)
SetBody adds the body to the update project settings params
func (*UpdateProjectSettingsParams) SetContext ¶
func (o *UpdateProjectSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the update project settings params
func (*UpdateProjectSettingsParams) SetDefaults ¶
func (o *UpdateProjectSettingsParams) SetDefaults()
SetDefaults hydrates default values in the update project settings params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateProjectSettingsParams) SetHTTPClient ¶
func (o *UpdateProjectSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update project settings params
func (*UpdateProjectSettingsParams) SetOwner ¶
func (o *UpdateProjectSettingsParams) SetOwner(owner string)
SetOwner adds the owner to the update project settings params
func (*UpdateProjectSettingsParams) SetProject ¶
func (o *UpdateProjectSettingsParams) SetProject(project string)
SetProject adds the project to the update project settings params
func (*UpdateProjectSettingsParams) SetTimeout ¶
func (o *UpdateProjectSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update project settings params
func (*UpdateProjectSettingsParams) WithBody ¶
func (o *UpdateProjectSettingsParams) WithBody(body *service_model.V1ProjectSettings) *UpdateProjectSettingsParams
WithBody adds the body to the update project settings params
func (*UpdateProjectSettingsParams) WithContext ¶
func (o *UpdateProjectSettingsParams) WithContext(ctx context.Context) *UpdateProjectSettingsParams
WithContext adds the context to the update project settings params
func (*UpdateProjectSettingsParams) WithDefaults ¶
func (o *UpdateProjectSettingsParams) WithDefaults() *UpdateProjectSettingsParams
WithDefaults hydrates default values in the update project settings params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateProjectSettingsParams) WithHTTPClient ¶
func (o *UpdateProjectSettingsParams) WithHTTPClient(client *http.Client) *UpdateProjectSettingsParams
WithHTTPClient adds the HTTPClient to the update project settings params
func (*UpdateProjectSettingsParams) WithOwner ¶
func (o *UpdateProjectSettingsParams) WithOwner(owner string) *UpdateProjectSettingsParams
WithOwner adds the owner to the update project settings params
func (*UpdateProjectSettingsParams) WithProject ¶
func (o *UpdateProjectSettingsParams) WithProject(project string) *UpdateProjectSettingsParams
WithProject adds the project to the update project settings params
func (*UpdateProjectSettingsParams) WithTimeout ¶
func (o *UpdateProjectSettingsParams) WithTimeout(timeout time.Duration) *UpdateProjectSettingsParams
WithTimeout adds the timeout to the update project settings params
func (*UpdateProjectSettingsParams) WriteToRequest ¶
func (o *UpdateProjectSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateProjectSettingsReader ¶
type UpdateProjectSettingsReader struct {
// contains filtered or unexported fields
}
UpdateProjectSettingsReader is a Reader for the UpdateProjectSettings structure.
func (*UpdateProjectSettingsReader) ReadResponse ¶
func (o *UpdateProjectSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UploadProjectArtifactForbidden ¶
type UploadProjectArtifactForbidden struct {
Payload interface{}
}
UploadProjectArtifactForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewUploadProjectArtifactForbidden ¶
func NewUploadProjectArtifactForbidden() *UploadProjectArtifactForbidden
NewUploadProjectArtifactForbidden creates a UploadProjectArtifactForbidden with default headers values
func (*UploadProjectArtifactForbidden) Error ¶
func (o *UploadProjectArtifactForbidden) Error() string
func (*UploadProjectArtifactForbidden) GetPayload ¶
func (o *UploadProjectArtifactForbidden) GetPayload() interface{}
type UploadProjectArtifactNoContent ¶
type UploadProjectArtifactNoContent struct {
Payload interface{}
}
UploadProjectArtifactNoContent describes a response with status code 204, with default header values.
No content.
func NewUploadProjectArtifactNoContent ¶
func NewUploadProjectArtifactNoContent() *UploadProjectArtifactNoContent
NewUploadProjectArtifactNoContent creates a UploadProjectArtifactNoContent with default headers values
func (*UploadProjectArtifactNoContent) Error ¶
func (o *UploadProjectArtifactNoContent) Error() string
func (*UploadProjectArtifactNoContent) GetPayload ¶
func (o *UploadProjectArtifactNoContent) GetPayload() interface{}
type UploadProjectArtifactNotFound ¶
type UploadProjectArtifactNotFound struct {
Payload interface{}
}
UploadProjectArtifactNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewUploadProjectArtifactNotFound ¶
func NewUploadProjectArtifactNotFound() *UploadProjectArtifactNotFound
NewUploadProjectArtifactNotFound creates a UploadProjectArtifactNotFound with default headers values
func (*UploadProjectArtifactNotFound) Error ¶
func (o *UploadProjectArtifactNotFound) Error() string
func (*UploadProjectArtifactNotFound) GetPayload ¶
func (o *UploadProjectArtifactNotFound) GetPayload() interface{}
type UploadProjectArtifactOK ¶
type UploadProjectArtifactOK struct { }
UploadProjectArtifactOK describes a response with status code 200, with default header values.
A successful response.
func NewUploadProjectArtifactOK ¶
func NewUploadProjectArtifactOK() *UploadProjectArtifactOK
NewUploadProjectArtifactOK creates a UploadProjectArtifactOK with default headers values
func (*UploadProjectArtifactOK) Error ¶
func (o *UploadProjectArtifactOK) Error() string
type UploadProjectArtifactParams ¶
type UploadProjectArtifactParams struct { /* Overwrite. File path query params. */ Overwrite *bool /* Owner. Owner of the namespace */ Owner string /* Path. File path query params. */ Path *string /* Project. Project having access to the store */ Project string /* Uploadfile. The file to upload. */ Uploadfile runtime.NamedReadCloser /* UUID. Unique integer identifier of the entity */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UploadProjectArtifactParams contains all the parameters to send to the API endpoint
for the upload project artifact operation. Typically these are written to a http.Request.
func NewUploadProjectArtifactParams ¶
func NewUploadProjectArtifactParams() *UploadProjectArtifactParams
NewUploadProjectArtifactParams creates a new UploadProjectArtifactParams 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 NewUploadProjectArtifactParamsWithContext ¶
func NewUploadProjectArtifactParamsWithContext(ctx context.Context) *UploadProjectArtifactParams
NewUploadProjectArtifactParamsWithContext creates a new UploadProjectArtifactParams object with the ability to set a context for a request.
func NewUploadProjectArtifactParamsWithHTTPClient ¶
func NewUploadProjectArtifactParamsWithHTTPClient(client *http.Client) *UploadProjectArtifactParams
NewUploadProjectArtifactParamsWithHTTPClient creates a new UploadProjectArtifactParams object with the ability to set a custom HTTPClient for a request.
func NewUploadProjectArtifactParamsWithTimeout ¶
func NewUploadProjectArtifactParamsWithTimeout(timeout time.Duration) *UploadProjectArtifactParams
NewUploadProjectArtifactParamsWithTimeout creates a new UploadProjectArtifactParams object with the ability to set a timeout on a request.
func (*UploadProjectArtifactParams) SetContext ¶
func (o *UploadProjectArtifactParams) SetContext(ctx context.Context)
SetContext adds the context to the upload project artifact params
func (*UploadProjectArtifactParams) SetDefaults ¶
func (o *UploadProjectArtifactParams) SetDefaults()
SetDefaults hydrates default values in the upload project artifact params (not the query body).
All values with no default are reset to their zero value.
func (*UploadProjectArtifactParams) SetHTTPClient ¶
func (o *UploadProjectArtifactParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload project artifact params
func (*UploadProjectArtifactParams) SetOverwrite ¶
func (o *UploadProjectArtifactParams) SetOverwrite(overwrite *bool)
SetOverwrite adds the overwrite to the upload project artifact params
func (*UploadProjectArtifactParams) SetOwner ¶
func (o *UploadProjectArtifactParams) SetOwner(owner string)
SetOwner adds the owner to the upload project artifact params
func (*UploadProjectArtifactParams) SetPath ¶
func (o *UploadProjectArtifactParams) SetPath(path *string)
SetPath adds the path to the upload project artifact params
func (*UploadProjectArtifactParams) SetProject ¶
func (o *UploadProjectArtifactParams) SetProject(project string)
SetProject adds the project to the upload project artifact params
func (*UploadProjectArtifactParams) SetTimeout ¶
func (o *UploadProjectArtifactParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload project artifact params
func (*UploadProjectArtifactParams) SetUUID ¶
func (o *UploadProjectArtifactParams) SetUUID(uuid string)
SetUUID adds the uuid to the upload project artifact params
func (*UploadProjectArtifactParams) SetUploadfile ¶
func (o *UploadProjectArtifactParams) SetUploadfile(uploadfile runtime.NamedReadCloser)
SetUploadfile adds the uploadfile to the upload project artifact params
func (*UploadProjectArtifactParams) WithContext ¶
func (o *UploadProjectArtifactParams) WithContext(ctx context.Context) *UploadProjectArtifactParams
WithContext adds the context to the upload project artifact params
func (*UploadProjectArtifactParams) WithDefaults ¶
func (o *UploadProjectArtifactParams) WithDefaults() *UploadProjectArtifactParams
WithDefaults hydrates default values in the upload project artifact params (not the query body).
All values with no default are reset to their zero value.
func (*UploadProjectArtifactParams) WithHTTPClient ¶
func (o *UploadProjectArtifactParams) WithHTTPClient(client *http.Client) *UploadProjectArtifactParams
WithHTTPClient adds the HTTPClient to the upload project artifact params
func (*UploadProjectArtifactParams) WithOverwrite ¶
func (o *UploadProjectArtifactParams) WithOverwrite(overwrite *bool) *UploadProjectArtifactParams
WithOverwrite adds the overwrite to the upload project artifact params
func (*UploadProjectArtifactParams) WithOwner ¶
func (o *UploadProjectArtifactParams) WithOwner(owner string) *UploadProjectArtifactParams
WithOwner adds the owner to the upload project artifact params
func (*UploadProjectArtifactParams) WithPath ¶
func (o *UploadProjectArtifactParams) WithPath(path *string) *UploadProjectArtifactParams
WithPath adds the path to the upload project artifact params
func (*UploadProjectArtifactParams) WithProject ¶
func (o *UploadProjectArtifactParams) WithProject(project string) *UploadProjectArtifactParams
WithProject adds the project to the upload project artifact params
func (*UploadProjectArtifactParams) WithTimeout ¶
func (o *UploadProjectArtifactParams) WithTimeout(timeout time.Duration) *UploadProjectArtifactParams
WithTimeout adds the timeout to the upload project artifact params
func (*UploadProjectArtifactParams) WithUUID ¶
func (o *UploadProjectArtifactParams) WithUUID(uuid string) *UploadProjectArtifactParams
WithUUID adds the uuid to the upload project artifact params
func (*UploadProjectArtifactParams) WithUploadfile ¶
func (o *UploadProjectArtifactParams) WithUploadfile(uploadfile runtime.NamedReadCloser) *UploadProjectArtifactParams
WithUploadfile adds the uploadfile to the upload project artifact params
func (*UploadProjectArtifactParams) WriteToRequest ¶
func (o *UploadProjectArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadProjectArtifactReader ¶
type UploadProjectArtifactReader struct {
// contains filtered or unexported fields
}
UploadProjectArtifactReader is a Reader for the UploadProjectArtifact structure.
func (*UploadProjectArtifactReader) ReadResponse ¶
func (o *UploadProjectArtifactReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- archive_project_parameters.go
- archive_project_responses.go
- bookmark_project_parameters.go
- bookmark_project_responses.go
- create_project_parameters.go
- create_project_responses.go
- delete_project_parameters.go
- delete_project_responses.go
- disable_project_c_i_parameters.go
- disable_project_c_i_responses.go
- enable_project_c_i_parameters.go
- enable_project_c_i_responses.go
- get_project_activities_parameters.go
- get_project_activities_responses.go
- get_project_parameters.go
- get_project_responses.go
- get_project_settings_parameters.go
- get_project_settings_responses.go
- get_project_stats_parameters.go
- get_project_stats_responses.go
- list_archived_projects_parameters.go
- list_archived_projects_responses.go
- list_bookmarked_projects_parameters.go
- list_bookmarked_projects_responses.go
- list_project_names_parameters.go
- list_project_names_responses.go
- list_projects_parameters.go
- list_projects_responses.go
- patch_project_parameters.go
- patch_project_responses.go
- patch_project_settings_parameters.go
- patch_project_settings_responses.go
- projects_v1_client.go
- restore_project_parameters.go
- restore_project_responses.go
- unbookmark_project_parameters.go
- unbookmark_project_responses.go
- update_project_parameters.go
- update_project_responses.go
- update_project_settings_parameters.go
- update_project_settings_responses.go
- upload_project_artifact_parameters.go
- upload_project_artifact_responses.go