Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateGitRepo(params *CreateGitRepoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateGitRepoOK, *CreateGitRepoCreated, error)
- func (a *Client) DeleteGitRepo(params *DeleteGitRepoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteGitRepoOK, error)
- func (a *Client) GetGitRepo(params *GetGitRepoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGitRepoOK, error)
- func (a *Client) ListGitRepos(params *ListGitReposParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListGitReposOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateGitRepo(params *UpdateGitRepoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateGitRepoOK, error)
- type ClientOption
- type ClientService
- type CreateGitRepoBadRequest
- func (o *CreateGitRepoBadRequest) Code() int
- func (o *CreateGitRepoBadRequest) Error() string
- func (o *CreateGitRepoBadRequest) GetPayload() *models.ZsrvResponse
- func (o *CreateGitRepoBadRequest) IsClientError() bool
- func (o *CreateGitRepoBadRequest) IsCode(code int) bool
- func (o *CreateGitRepoBadRequest) IsRedirect() bool
- func (o *CreateGitRepoBadRequest) IsServerError() bool
- func (o *CreateGitRepoBadRequest) IsSuccess() bool
- func (o *CreateGitRepoBadRequest) String() string
- type CreateGitRepoConflict
- func (o *CreateGitRepoConflict) Code() int
- func (o *CreateGitRepoConflict) Error() string
- func (o *CreateGitRepoConflict) GetPayload() *models.ZsrvResponse
- func (o *CreateGitRepoConflict) IsClientError() bool
- func (o *CreateGitRepoConflict) IsCode(code int) bool
- func (o *CreateGitRepoConflict) IsRedirect() bool
- func (o *CreateGitRepoConflict) IsServerError() bool
- func (o *CreateGitRepoConflict) IsSuccess() bool
- func (o *CreateGitRepoConflict) String() string
- type CreateGitRepoCreated
- func (o *CreateGitRepoCreated) Code() int
- func (o *CreateGitRepoCreated) Error() string
- func (o *CreateGitRepoCreated) GetPayload() *models.ZsrvResponse
- func (o *CreateGitRepoCreated) IsClientError() bool
- func (o *CreateGitRepoCreated) IsCode(code int) bool
- func (o *CreateGitRepoCreated) IsRedirect() bool
- func (o *CreateGitRepoCreated) IsServerError() bool
- func (o *CreateGitRepoCreated) IsSuccess() bool
- func (o *CreateGitRepoCreated) String() string
- type CreateGitRepoDefault
- func (o *CreateGitRepoDefault) Code() int
- func (o *CreateGitRepoDefault) Error() string
- func (o *CreateGitRepoDefault) GetPayload() *models.GooglerpcStatus
- func (o *CreateGitRepoDefault) IsClientError() bool
- func (o *CreateGitRepoDefault) IsCode(code int) bool
- func (o *CreateGitRepoDefault) IsRedirect() bool
- func (o *CreateGitRepoDefault) IsServerError() bool
- func (o *CreateGitRepoDefault) IsSuccess() bool
- func (o *CreateGitRepoDefault) String() string
- type CreateGitRepoForbidden
- func (o *CreateGitRepoForbidden) Code() int
- func (o *CreateGitRepoForbidden) Error() string
- func (o *CreateGitRepoForbidden) GetPayload() *models.ZsrvResponse
- func (o *CreateGitRepoForbidden) IsClientError() bool
- func (o *CreateGitRepoForbidden) IsCode(code int) bool
- func (o *CreateGitRepoForbidden) IsRedirect() bool
- func (o *CreateGitRepoForbidden) IsServerError() bool
- func (o *CreateGitRepoForbidden) IsSuccess() bool
- func (o *CreateGitRepoForbidden) String() string
- type CreateGitRepoInternalServerError
- func (o *CreateGitRepoInternalServerError) Code() int
- func (o *CreateGitRepoInternalServerError) Error() string
- func (o *CreateGitRepoInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *CreateGitRepoInternalServerError) IsClientError() bool
- func (o *CreateGitRepoInternalServerError) IsCode(code int) bool
- func (o *CreateGitRepoInternalServerError) IsRedirect() bool
- func (o *CreateGitRepoInternalServerError) IsServerError() bool
- func (o *CreateGitRepoInternalServerError) IsSuccess() bool
- func (o *CreateGitRepoInternalServerError) String() string
- type CreateGitRepoOK
- func (o *CreateGitRepoOK) Code() int
- func (o *CreateGitRepoOK) Error() string
- func (o *CreateGitRepoOK) GetPayload() *models.ZsrvResponse
- func (o *CreateGitRepoOK) IsClientError() bool
- func (o *CreateGitRepoOK) IsCode(code int) bool
- func (o *CreateGitRepoOK) IsRedirect() bool
- func (o *CreateGitRepoOK) IsServerError() bool
- func (o *CreateGitRepoOK) IsSuccess() bool
- func (o *CreateGitRepoOK) String() string
- type CreateGitRepoParams
- func (o *CreateGitRepoParams) SetBody(body *models.GitRepoRequest)
- func (o *CreateGitRepoParams) SetContext(ctx context.Context)
- func (o *CreateGitRepoParams) SetDefaults()
- func (o *CreateGitRepoParams) SetHTTPClient(client *http.Client)
- func (o *CreateGitRepoParams) SetTimeout(timeout time.Duration)
- func (o *CreateGitRepoParams) SetXRequestID(xRequestID *string)
- func (o *CreateGitRepoParams) WithBody(body *models.GitRepoRequest) *CreateGitRepoParams
- func (o *CreateGitRepoParams) WithContext(ctx context.Context) *CreateGitRepoParams
- func (o *CreateGitRepoParams) WithDefaults() *CreateGitRepoParams
- func (o *CreateGitRepoParams) WithHTTPClient(client *http.Client) *CreateGitRepoParams
- func (o *CreateGitRepoParams) WithTimeout(timeout time.Duration) *CreateGitRepoParams
- func (o *CreateGitRepoParams) WithXRequestID(xRequestID *string) *CreateGitRepoParams
- func (o *CreateGitRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateGitRepoReader
- type CreateGitRepoUnauthorized
- func (o *CreateGitRepoUnauthorized) Code() int
- func (o *CreateGitRepoUnauthorized) Error() string
- func (o *CreateGitRepoUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *CreateGitRepoUnauthorized) IsClientError() bool
- func (o *CreateGitRepoUnauthorized) IsCode(code int) bool
- func (o *CreateGitRepoUnauthorized) IsRedirect() bool
- func (o *CreateGitRepoUnauthorized) IsServerError() bool
- func (o *CreateGitRepoUnauthorized) IsSuccess() bool
- func (o *CreateGitRepoUnauthorized) String() string
- type DeleteGitRepoBadRequest
- func (o *DeleteGitRepoBadRequest) Code() int
- func (o *DeleteGitRepoBadRequest) Error() string
- func (o *DeleteGitRepoBadRequest) GetPayload() *models.ZsrvResponse
- func (o *DeleteGitRepoBadRequest) IsClientError() bool
- func (o *DeleteGitRepoBadRequest) IsCode(code int) bool
- func (o *DeleteGitRepoBadRequest) IsRedirect() bool
- func (o *DeleteGitRepoBadRequest) IsServerError() bool
- func (o *DeleteGitRepoBadRequest) IsSuccess() bool
- func (o *DeleteGitRepoBadRequest) String() string
- type DeleteGitRepoConflict
- func (o *DeleteGitRepoConflict) Code() int
- func (o *DeleteGitRepoConflict) Error() string
- func (o *DeleteGitRepoConflict) GetPayload() *models.ZsrvResponse
- func (o *DeleteGitRepoConflict) IsClientError() bool
- func (o *DeleteGitRepoConflict) IsCode(code int) bool
- func (o *DeleteGitRepoConflict) IsRedirect() bool
- func (o *DeleteGitRepoConflict) IsServerError() bool
- func (o *DeleteGitRepoConflict) IsSuccess() bool
- func (o *DeleteGitRepoConflict) String() string
- type DeleteGitRepoDefault
- func (o *DeleteGitRepoDefault) Code() int
- func (o *DeleteGitRepoDefault) Error() string
- func (o *DeleteGitRepoDefault) GetPayload() *models.GooglerpcStatus
- func (o *DeleteGitRepoDefault) IsClientError() bool
- func (o *DeleteGitRepoDefault) IsCode(code int) bool
- func (o *DeleteGitRepoDefault) IsRedirect() bool
- func (o *DeleteGitRepoDefault) IsServerError() bool
- func (o *DeleteGitRepoDefault) IsSuccess() bool
- func (o *DeleteGitRepoDefault) String() string
- type DeleteGitRepoForbidden
- func (o *DeleteGitRepoForbidden) Code() int
- func (o *DeleteGitRepoForbidden) Error() string
- func (o *DeleteGitRepoForbidden) GetPayload() *models.ZsrvResponse
- func (o *DeleteGitRepoForbidden) IsClientError() bool
- func (o *DeleteGitRepoForbidden) IsCode(code int) bool
- func (o *DeleteGitRepoForbidden) IsRedirect() bool
- func (o *DeleteGitRepoForbidden) IsServerError() bool
- func (o *DeleteGitRepoForbidden) IsSuccess() bool
- func (o *DeleteGitRepoForbidden) String() string
- type DeleteGitRepoInternalServerError
- func (o *DeleteGitRepoInternalServerError) Code() int
- func (o *DeleteGitRepoInternalServerError) Error() string
- func (o *DeleteGitRepoInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *DeleteGitRepoInternalServerError) IsClientError() bool
- func (o *DeleteGitRepoInternalServerError) IsCode(code int) bool
- func (o *DeleteGitRepoInternalServerError) IsRedirect() bool
- func (o *DeleteGitRepoInternalServerError) IsServerError() bool
- func (o *DeleteGitRepoInternalServerError) IsSuccess() bool
- func (o *DeleteGitRepoInternalServerError) String() string
- type DeleteGitRepoNotFound
- func (o *DeleteGitRepoNotFound) Code() int
- func (o *DeleteGitRepoNotFound) Error() string
- func (o *DeleteGitRepoNotFound) GetPayload() *models.ZsrvResponse
- func (o *DeleteGitRepoNotFound) IsClientError() bool
- func (o *DeleteGitRepoNotFound) IsCode(code int) bool
- func (o *DeleteGitRepoNotFound) IsRedirect() bool
- func (o *DeleteGitRepoNotFound) IsServerError() bool
- func (o *DeleteGitRepoNotFound) IsSuccess() bool
- func (o *DeleteGitRepoNotFound) String() string
- type DeleteGitRepoOK
- func (o *DeleteGitRepoOK) Code() int
- func (o *DeleteGitRepoOK) Error() string
- func (o *DeleteGitRepoOK) GetPayload() *models.ZsrvResponse
- func (o *DeleteGitRepoOK) IsClientError() bool
- func (o *DeleteGitRepoOK) IsCode(code int) bool
- func (o *DeleteGitRepoOK) IsRedirect() bool
- func (o *DeleteGitRepoOK) IsServerError() bool
- func (o *DeleteGitRepoOK) IsSuccess() bool
- func (o *DeleteGitRepoOK) String() string
- type DeleteGitRepoParams
- func (o *DeleteGitRepoParams) SetContext(ctx context.Context)
- func (o *DeleteGitRepoParams) SetDefaults()
- func (o *DeleteGitRepoParams) SetGitrepoID(gitrepoID string)
- func (o *DeleteGitRepoParams) SetHTTPClient(client *http.Client)
- func (o *DeleteGitRepoParams) SetTimeout(timeout time.Duration)
- func (o *DeleteGitRepoParams) SetXRequestID(xRequestID *string)
- func (o *DeleteGitRepoParams) WithContext(ctx context.Context) *DeleteGitRepoParams
- func (o *DeleteGitRepoParams) WithDefaults() *DeleteGitRepoParams
- func (o *DeleteGitRepoParams) WithGitrepoID(gitrepoID string) *DeleteGitRepoParams
- func (o *DeleteGitRepoParams) WithHTTPClient(client *http.Client) *DeleteGitRepoParams
- func (o *DeleteGitRepoParams) WithTimeout(timeout time.Duration) *DeleteGitRepoParams
- func (o *DeleteGitRepoParams) WithXRequestID(xRequestID *string) *DeleteGitRepoParams
- func (o *DeleteGitRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteGitRepoReader
- type DeleteGitRepoUnauthorized
- func (o *DeleteGitRepoUnauthorized) Code() int
- func (o *DeleteGitRepoUnauthorized) Error() string
- func (o *DeleteGitRepoUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *DeleteGitRepoUnauthorized) IsClientError() bool
- func (o *DeleteGitRepoUnauthorized) IsCode(code int) bool
- func (o *DeleteGitRepoUnauthorized) IsRedirect() bool
- func (o *DeleteGitRepoUnauthorized) IsServerError() bool
- func (o *DeleteGitRepoUnauthorized) IsSuccess() bool
- func (o *DeleteGitRepoUnauthorized) String() string
- type GetGitRepoBadRequest
- func (o *GetGitRepoBadRequest) Code() int
- func (o *GetGitRepoBadRequest) Error() string
- func (o *GetGitRepoBadRequest) GetPayload() *models.ZsrvResponse
- func (o *GetGitRepoBadRequest) IsClientError() bool
- func (o *GetGitRepoBadRequest) IsCode(code int) bool
- func (o *GetGitRepoBadRequest) IsRedirect() bool
- func (o *GetGitRepoBadRequest) IsServerError() bool
- func (o *GetGitRepoBadRequest) IsSuccess() bool
- func (o *GetGitRepoBadRequest) String() string
- type GetGitRepoDefault
- func (o *GetGitRepoDefault) Code() int
- func (o *GetGitRepoDefault) Error() string
- func (o *GetGitRepoDefault) GetPayload() *models.GooglerpcStatus
- func (o *GetGitRepoDefault) IsClientError() bool
- func (o *GetGitRepoDefault) IsCode(code int) bool
- func (o *GetGitRepoDefault) IsRedirect() bool
- func (o *GetGitRepoDefault) IsServerError() bool
- func (o *GetGitRepoDefault) IsSuccess() bool
- func (o *GetGitRepoDefault) String() string
- type GetGitRepoForbidden
- func (o *GetGitRepoForbidden) Code() int
- func (o *GetGitRepoForbidden) Error() string
- func (o *GetGitRepoForbidden) GetPayload() *models.ZsrvResponse
- func (o *GetGitRepoForbidden) IsClientError() bool
- func (o *GetGitRepoForbidden) IsCode(code int) bool
- func (o *GetGitRepoForbidden) IsRedirect() bool
- func (o *GetGitRepoForbidden) IsServerError() bool
- func (o *GetGitRepoForbidden) IsSuccess() bool
- func (o *GetGitRepoForbidden) String() string
- type GetGitRepoInternalServerError
- func (o *GetGitRepoInternalServerError) Code() int
- func (o *GetGitRepoInternalServerError) Error() string
- func (o *GetGitRepoInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *GetGitRepoInternalServerError) IsClientError() bool
- func (o *GetGitRepoInternalServerError) IsCode(code int) bool
- func (o *GetGitRepoInternalServerError) IsRedirect() bool
- func (o *GetGitRepoInternalServerError) IsServerError() bool
- func (o *GetGitRepoInternalServerError) IsSuccess() bool
- func (o *GetGitRepoInternalServerError) String() string
- type GetGitRepoNotFound
- func (o *GetGitRepoNotFound) Code() int
- func (o *GetGitRepoNotFound) Error() string
- func (o *GetGitRepoNotFound) GetPayload() *models.ZsrvResponse
- func (o *GetGitRepoNotFound) IsClientError() bool
- func (o *GetGitRepoNotFound) IsCode(code int) bool
- func (o *GetGitRepoNotFound) IsRedirect() bool
- func (o *GetGitRepoNotFound) IsServerError() bool
- func (o *GetGitRepoNotFound) IsSuccess() bool
- func (o *GetGitRepoNotFound) String() string
- type GetGitRepoOK
- func (o *GetGitRepoOK) Code() int
- func (o *GetGitRepoOK) Error() string
- func (o *GetGitRepoOK) GetPayload() *models.GitRepoGetResponse
- func (o *GetGitRepoOK) IsClientError() bool
- func (o *GetGitRepoOK) IsCode(code int) bool
- func (o *GetGitRepoOK) IsRedirect() bool
- func (o *GetGitRepoOK) IsServerError() bool
- func (o *GetGitRepoOK) IsSuccess() bool
- func (o *GetGitRepoOK) String() string
- type GetGitRepoParams
- func (o *GetGitRepoParams) SetContext(ctx context.Context)
- func (o *GetGitRepoParams) SetDefaults()
- func (o *GetGitRepoParams) SetGitrepoID(gitrepoID string)
- func (o *GetGitRepoParams) SetHTTPClient(client *http.Client)
- func (o *GetGitRepoParams) SetTimeout(timeout time.Duration)
- func (o *GetGitRepoParams) SetXRequestID(xRequestID *string)
- func (o *GetGitRepoParams) WithContext(ctx context.Context) *GetGitRepoParams
- func (o *GetGitRepoParams) WithDefaults() *GetGitRepoParams
- func (o *GetGitRepoParams) WithGitrepoID(gitrepoID string) *GetGitRepoParams
- func (o *GetGitRepoParams) WithHTTPClient(client *http.Client) *GetGitRepoParams
- func (o *GetGitRepoParams) WithTimeout(timeout time.Duration) *GetGitRepoParams
- func (o *GetGitRepoParams) WithXRequestID(xRequestID *string) *GetGitRepoParams
- func (o *GetGitRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGitRepoReader
- type GetGitRepoUnauthorized
- func (o *GetGitRepoUnauthorized) Code() int
- func (o *GetGitRepoUnauthorized) Error() string
- func (o *GetGitRepoUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *GetGitRepoUnauthorized) IsClientError() bool
- func (o *GetGitRepoUnauthorized) IsCode(code int) bool
- func (o *GetGitRepoUnauthorized) IsRedirect() bool
- func (o *GetGitRepoUnauthorized) IsServerError() bool
- func (o *GetGitRepoUnauthorized) IsSuccess() bool
- func (o *GetGitRepoUnauthorized) String() string
- type ListGitReposBadRequest
- func (o *ListGitReposBadRequest) Code() int
- func (o *ListGitReposBadRequest) Error() string
- func (o *ListGitReposBadRequest) GetPayload() *models.ZsrvResponse
- func (o *ListGitReposBadRequest) IsClientError() bool
- func (o *ListGitReposBadRequest) IsCode(code int) bool
- func (o *ListGitReposBadRequest) IsRedirect() bool
- func (o *ListGitReposBadRequest) IsServerError() bool
- func (o *ListGitReposBadRequest) IsSuccess() bool
- func (o *ListGitReposBadRequest) String() string
- type ListGitReposDefault
- func (o *ListGitReposDefault) Code() int
- func (o *ListGitReposDefault) Error() string
- func (o *ListGitReposDefault) GetPayload() *models.GooglerpcStatus
- func (o *ListGitReposDefault) IsClientError() bool
- func (o *ListGitReposDefault) IsCode(code int) bool
- func (o *ListGitReposDefault) IsRedirect() bool
- func (o *ListGitReposDefault) IsServerError() bool
- func (o *ListGitReposDefault) IsSuccess() bool
- func (o *ListGitReposDefault) String() string
- type ListGitReposForbidden
- func (o *ListGitReposForbidden) Code() int
- func (o *ListGitReposForbidden) Error() string
- func (o *ListGitReposForbidden) GetPayload() *models.ZsrvResponse
- func (o *ListGitReposForbidden) IsClientError() bool
- func (o *ListGitReposForbidden) IsCode(code int) bool
- func (o *ListGitReposForbidden) IsRedirect() bool
- func (o *ListGitReposForbidden) IsServerError() bool
- func (o *ListGitReposForbidden) IsSuccess() bool
- func (o *ListGitReposForbidden) String() string
- type ListGitReposInternalServerError
- func (o *ListGitReposInternalServerError) Code() int
- func (o *ListGitReposInternalServerError) Error() string
- func (o *ListGitReposInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *ListGitReposInternalServerError) IsClientError() bool
- func (o *ListGitReposInternalServerError) IsCode(code int) bool
- func (o *ListGitReposInternalServerError) IsRedirect() bool
- func (o *ListGitReposInternalServerError) IsServerError() bool
- func (o *ListGitReposInternalServerError) IsSuccess() bool
- func (o *ListGitReposInternalServerError) String() string
- type ListGitReposOK
- func (o *ListGitReposOK) Code() int
- func (o *ListGitReposOK) Error() string
- func (o *ListGitReposOK) GetPayload() *models.GitRepoListResponse
- func (o *ListGitReposOK) IsClientError() bool
- func (o *ListGitReposOK) IsCode(code int) bool
- func (o *ListGitReposOK) IsRedirect() bool
- func (o *ListGitReposOK) IsServerError() bool
- func (o *ListGitReposOK) IsSuccess() bool
- func (o *ListGitReposOK) String() string
- type ListGitReposParams
- func (o *ListGitReposParams) SetContext(ctx context.Context)
- func (o *ListGitReposParams) SetDefaults()
- func (o *ListGitReposParams) SetHTTPClient(client *http.Client)
- func (o *ListGitReposParams) SetTimeout(timeout time.Duration)
- func (o *ListGitReposParams) SetXRequestID(xRequestID *string)
- func (o *ListGitReposParams) WithContext(ctx context.Context) *ListGitReposParams
- func (o *ListGitReposParams) WithDefaults() *ListGitReposParams
- func (o *ListGitReposParams) WithHTTPClient(client *http.Client) *ListGitReposParams
- func (o *ListGitReposParams) WithTimeout(timeout time.Duration) *ListGitReposParams
- func (o *ListGitReposParams) WithXRequestID(xRequestID *string) *ListGitReposParams
- func (o *ListGitReposParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListGitReposReader
- type ListGitReposUnauthorized
- func (o *ListGitReposUnauthorized) Code() int
- func (o *ListGitReposUnauthorized) Error() string
- func (o *ListGitReposUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *ListGitReposUnauthorized) IsClientError() bool
- func (o *ListGitReposUnauthorized) IsCode(code int) bool
- func (o *ListGitReposUnauthorized) IsRedirect() bool
- func (o *ListGitReposUnauthorized) IsServerError() bool
- func (o *ListGitReposUnauthorized) IsSuccess() bool
- func (o *ListGitReposUnauthorized) String() string
- type UpdateGitRepoBadRequest
- func (o *UpdateGitRepoBadRequest) Code() int
- func (o *UpdateGitRepoBadRequest) Error() string
- func (o *UpdateGitRepoBadRequest) GetPayload() *models.ZsrvResponse
- func (o *UpdateGitRepoBadRequest) IsClientError() bool
- func (o *UpdateGitRepoBadRequest) IsCode(code int) bool
- func (o *UpdateGitRepoBadRequest) IsRedirect() bool
- func (o *UpdateGitRepoBadRequest) IsServerError() bool
- func (o *UpdateGitRepoBadRequest) IsSuccess() bool
- func (o *UpdateGitRepoBadRequest) String() string
- type UpdateGitRepoBody
- type UpdateGitRepoConflict
- func (o *UpdateGitRepoConflict) Code() int
- func (o *UpdateGitRepoConflict) Error() string
- func (o *UpdateGitRepoConflict) GetPayload() *models.ZsrvResponse
- func (o *UpdateGitRepoConflict) IsClientError() bool
- func (o *UpdateGitRepoConflict) IsCode(code int) bool
- func (o *UpdateGitRepoConflict) IsRedirect() bool
- func (o *UpdateGitRepoConflict) IsServerError() bool
- func (o *UpdateGitRepoConflict) IsSuccess() bool
- func (o *UpdateGitRepoConflict) String() string
- type UpdateGitRepoDefault
- func (o *UpdateGitRepoDefault) Code() int
- func (o *UpdateGitRepoDefault) Error() string
- func (o *UpdateGitRepoDefault) GetPayload() *models.GooglerpcStatus
- func (o *UpdateGitRepoDefault) IsClientError() bool
- func (o *UpdateGitRepoDefault) IsCode(code int) bool
- func (o *UpdateGitRepoDefault) IsRedirect() bool
- func (o *UpdateGitRepoDefault) IsServerError() bool
- func (o *UpdateGitRepoDefault) IsSuccess() bool
- func (o *UpdateGitRepoDefault) String() string
- type UpdateGitRepoForbidden
- func (o *UpdateGitRepoForbidden) Code() int
- func (o *UpdateGitRepoForbidden) Error() string
- func (o *UpdateGitRepoForbidden) GetPayload() *models.ZsrvResponse
- func (o *UpdateGitRepoForbidden) IsClientError() bool
- func (o *UpdateGitRepoForbidden) IsCode(code int) bool
- func (o *UpdateGitRepoForbidden) IsRedirect() bool
- func (o *UpdateGitRepoForbidden) IsServerError() bool
- func (o *UpdateGitRepoForbidden) IsSuccess() bool
- func (o *UpdateGitRepoForbidden) String() string
- type UpdateGitRepoInternalServerError
- func (o *UpdateGitRepoInternalServerError) Code() int
- func (o *UpdateGitRepoInternalServerError) Error() string
- func (o *UpdateGitRepoInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *UpdateGitRepoInternalServerError) IsClientError() bool
- func (o *UpdateGitRepoInternalServerError) IsCode(code int) bool
- func (o *UpdateGitRepoInternalServerError) IsRedirect() bool
- func (o *UpdateGitRepoInternalServerError) IsServerError() bool
- func (o *UpdateGitRepoInternalServerError) IsSuccess() bool
- func (o *UpdateGitRepoInternalServerError) String() string
- type UpdateGitRepoNotFound
- func (o *UpdateGitRepoNotFound) Code() int
- func (o *UpdateGitRepoNotFound) Error() string
- func (o *UpdateGitRepoNotFound) GetPayload() *models.ZsrvResponse
- func (o *UpdateGitRepoNotFound) IsClientError() bool
- func (o *UpdateGitRepoNotFound) IsCode(code int) bool
- func (o *UpdateGitRepoNotFound) IsRedirect() bool
- func (o *UpdateGitRepoNotFound) IsServerError() bool
- func (o *UpdateGitRepoNotFound) IsSuccess() bool
- func (o *UpdateGitRepoNotFound) String() string
- type UpdateGitRepoOK
- func (o *UpdateGitRepoOK) Code() int
- func (o *UpdateGitRepoOK) Error() string
- func (o *UpdateGitRepoOK) GetPayload() *models.ZsrvResponse
- func (o *UpdateGitRepoOK) IsClientError() bool
- func (o *UpdateGitRepoOK) IsCode(code int) bool
- func (o *UpdateGitRepoOK) IsRedirect() bool
- func (o *UpdateGitRepoOK) IsServerError() bool
- func (o *UpdateGitRepoOK) IsSuccess() bool
- func (o *UpdateGitRepoOK) String() string
- type UpdateGitRepoParams
- func (o *UpdateGitRepoParams) SetBody(body UpdateGitRepoBody)
- func (o *UpdateGitRepoParams) SetContext(ctx context.Context)
- func (o *UpdateGitRepoParams) SetDefaults()
- func (o *UpdateGitRepoParams) SetGitrepoID(gitrepoID string)
- func (o *UpdateGitRepoParams) SetHTTPClient(client *http.Client)
- func (o *UpdateGitRepoParams) SetTimeout(timeout time.Duration)
- func (o *UpdateGitRepoParams) SetXRequestID(xRequestID *string)
- func (o *UpdateGitRepoParams) WithBody(body UpdateGitRepoBody) *UpdateGitRepoParams
- func (o *UpdateGitRepoParams) WithContext(ctx context.Context) *UpdateGitRepoParams
- func (o *UpdateGitRepoParams) WithDefaults() *UpdateGitRepoParams
- func (o *UpdateGitRepoParams) WithGitrepoID(gitrepoID string) *UpdateGitRepoParams
- func (o *UpdateGitRepoParams) WithHTTPClient(client *http.Client) *UpdateGitRepoParams
- func (o *UpdateGitRepoParams) WithTimeout(timeout time.Duration) *UpdateGitRepoParams
- func (o *UpdateGitRepoParams) WithXRequestID(xRequestID *string) *UpdateGitRepoParams
- func (o *UpdateGitRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateGitRepoReader
- type UpdateGitRepoUnauthorized
- func (o *UpdateGitRepoUnauthorized) Code() int
- func (o *UpdateGitRepoUnauthorized) Error() string
- func (o *UpdateGitRepoUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *UpdateGitRepoUnauthorized) IsClientError() bool
- func (o *UpdateGitRepoUnauthorized) IsCode(code int) bool
- func (o *UpdateGitRepoUnauthorized) IsRedirect() bool
- func (o *UpdateGitRepoUnauthorized) IsServerError() bool
- func (o *UpdateGitRepoUnauthorized) IsSuccess() bool
- func (o *UpdateGitRepoUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for kubernetes git ops API
func (*Client) CreateGitRepo ¶
func (a *Client) CreateGitRepo(params *CreateGitRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGitRepoOK, *CreateGitRepoCreated, error)
CreateGitRepo creates a new git repo configuration Create a new GitRepo configuration to enable continuous deployment from a Git repository. This allows automatic synchronization of Kubernetes manifests or Helm charts from a Git repository to target clusters.
**Example Request:** ```json
{
"metadata": {
"name": "app-manifests",
"title": "Application Manifests Repository",
"description": "Git repository containing production application manifests"
},
"data": {
"project_id": "proj-12345",
"repo_details": {
"url": "https://github.com/myorg/k8s-manifests.git",
"branch": "main",
"path_list": ["applications/", "ingress/"]
},
"auth": {
"git": {
"secret": {
"type": "SECRET_TYPE_OPAQUE",
"name": "git-credentials"
}
}
},
"target": {
"type": "GIT_REPO_TARGET_TYPE_CLUSTER",
"value": "cluster-abc123"
}
}
}
```
**Example Response:** ```json
{
"operationType": "OPS_TYPE_UNSPECIFIED",
"operationStatus": "OPS_STATUS_UNSPECIFIED",
"objectKind": "",
"objectId": "gitrepo-abc123",
"objectName": "app-manifests",
"objectRevision": "",
"objectType": "OBJECT_TYPE_UNSPECIFIED",
"operationTime": "",
"startTime": "",
"endTime": "",
"user": "",
"httpStatusCode": 201,
"httpStatusMsg": "",
"jobId": "",
"error": [
{
"ec": "zMsgSucess",
"location": "",
"details": ""
}
]
}
```
func (*Client) DeleteGitRepo ¶
func (a *Client) DeleteGitRepo(params *DeleteGitRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteGitRepoOK, error)
DeleteGitRepo deletes git repo configuration Delete a GitRepo configuration. This will stop the synchronization from the Git repository and remove all associated resources from the target clusters. This action is irreversible.
**Example Request:** ``` DELETE /v1/cluster/instances/kubernetes/gitrepos/id/gitrepo-abc123 ```
**Example Response:** ```json
{
"operationType": "OPS_TYPE_UNSPECIFIED",
"operationStatus": "OPS_STATUS_UNSPECIFIED",
"objectKind": "",
"objectId": "gitrepo-abc123",
"objectName": "app-manifests",
"objectRevision": "",
"objectType": "OBJECT_TYPE_UNSPECIFIED",
"operationTime": "",
"startTime": "",
"endTime": "",
"user": "",
"httpStatusCode": 200,
"httpStatusMsg": "",
"jobId": "",
"error": [
{
"ec": "zMsgSucess",
"location": "",
"details": ""
}
]
}
```
**Warning:** This operation will remove the GitRepo configuration and stop synchronization. All resources deployed through this GitRepo will be removed from target clusters.
**Note:** The gitrepo_id parameter is **required** and must be a valid GitRepo identifier.
func (*Client) GetGitRepo ¶
func (a *Client) GetGitRepo(params *GetGitRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGitRepoOK, error)
GetGitRepo gets git repo configuration by ID Retrieve detailed information about a specific GitRepo configuration including its current status, sync information, and metadata.
**Example Request:** ``` GET /v1/cluster/instances/kubernetes/gitrepos/id/gitrepo-abc123 ```
**Example Response:** ```json
{
"id": "gitrepo-abc123",
"name": "app-manifests",
"title": "Application Manifests Repository",
"description": "Git repository containing production application manifests",
"workspace": "default",
"data": {
"project_id": "proj-12345",
"repo_details": {
"url": "https://github.com/myorg/k8s-manifests.git",
"branch": "main",
"commit": "a1b2c3d4e5f6",
"path_list": ["applications/", "ingress/"]
},
"target": {
"type": "GIT_REPO_TARGET_TYPE_CLUSTER",
"value": "cluster-abc123"
}
},
"status": {
"display": {
"ready_bundle_deployments": "3/3",
"state": "Active"
},
"conditions": [
{
"type": "Ready",
"status": "True",
"message": "GitRepo is ready and syncing"
}
],
"resource_counts": {
"ready": 3,
"desired_ready": 3
}
},
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T11:00:00Z",
"created_by": "user@example.com",
"updated_by": "user@example.com"
}
```
func (*Client) ListGitRepos ¶
func (a *Client) ListGitRepos(params *ListGitReposParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGitReposOK, error)
ListGitRepos lists all git repo configurations Retrieve a list of all GitRepo configurations with their status and summary information. Includes statistics about sync status and resource counts.
**Example Request:** ``` GET /v1/cluster/instances/kubernetes/gitrepos ```
**Example Response:** ```json
{
"totalCount": 2,
"stateSummary": {
"description": "GitRepo Status Summary",
"total": 2,
"values": {
"Active": 1,
"Pending": 1
}
},
"gitrepos": [
{
"id": "gitrepo-abc123",
"name": "app-manifests",
"title": "Application Manifests Repository",
"description": "Git repository containing production application manifests",
"workspace": "default",
"status": {
"display": {
"ready_bundle_deployments": "3/3",
"state": "Active"
}
},
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T11:00:00Z"
},
{
"id": "gitrepo-def456",
"name": "helm-charts",
"title": "Helm Charts Repository",
"description": "Repository containing Helm chart definitions",
"workspace": "default",
"status": {
"display": {
"ready_bundle_deployments": "0/2",
"state": "Pending"
}
},
"created_at": "2024-01-14T15:20:00Z",
"updated_at": "2024-01-14T15:25:00Z"
}
]
}
```
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateGitRepo ¶
func (a *Client) UpdateGitRepo(params *UpdateGitRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGitRepoOK, error)
UpdateGitRepo updates git repo configuration Update an existing GitRepo configuration. This allows modification of repository details, authentication settings, and target configuration. The GitRepo name cannot be changed after creation.
**Example Request:** ```json
{
"gitrepo_id": "gitrepo-abc123",
"metadata": {
"name": "app-manifests",
"title": "Updated Application Manifests Repository",
"description": "Updated Git repository containing production application manifests"
},
"data": {
"project_id": "proj-12345",
"repo_details": {
"url": "https://github.com/myorg/k8s-manifests.git",
"branch": "production",
"path_list": ["applications/", "ingress/", "monitoring/"]
},
"auth": {
"git": {
"secret": {
"type": "SECRET_TYPE_OPAQUE",
"name": "updated-git-credentials"
}
}
},
"target": {
"type": "GIT_REPO_TARGET_TYPE_CLUSTER_GROUP",
"value": "production-clusters"
}
}
}
```
**Example Response:** ```json
{
"operationType": "OPS_TYPE_UNSPECIFIED",
"operationStatus": "OPS_STATUS_UNSPECIFIED",
"objectKind": "",
"objectId": "gitrepo-abc123",
"objectName": "app-manifests",
"objectRevision": "",
"objectType": "OBJECT_TYPE_UNSPECIFIED",
"operationTime": "",
"startTime": "",
"endTime": "",
"user": "",
"httpStatusCode": 200,
"httpStatusMsg": "",
"jobId": "",
"error": [
{
"ec": "zMsgSucess",
"location": "",
"details": ""
}
]
}
```
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
CreateGitRepo(params *CreateGitRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGitRepoOK, *CreateGitRepoCreated, error)
DeleteGitRepo(params *DeleteGitRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteGitRepoOK, error)
GetGitRepo(params *GetGitRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGitRepoOK, error)
ListGitRepos(params *ListGitReposParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGitReposOK, error)
UpdateGitRepo(params *UpdateGitRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGitRepoOK, 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 kubernetes git ops API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new kubernetes git ops API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new kubernetes git ops API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateGitRepoBadRequest ¶
type CreateGitRepoBadRequest struct {
Payload *models.ZsrvResponse
}
CreateGitRepoBadRequest describes a response with status code 400, with default header values.
Bad Request. Invalid GitRepo configuration or missing required fields.
func NewCreateGitRepoBadRequest ¶
func NewCreateGitRepoBadRequest() *CreateGitRepoBadRequest
NewCreateGitRepoBadRequest creates a CreateGitRepoBadRequest with default headers values
func (*CreateGitRepoBadRequest) Code ¶
func (o *CreateGitRepoBadRequest) Code() int
Code gets the status code for the kubernetes git ops create git repo bad request response
func (*CreateGitRepoBadRequest) Error ¶
func (o *CreateGitRepoBadRequest) Error() string
func (*CreateGitRepoBadRequest) GetPayload ¶
func (o *CreateGitRepoBadRequest) GetPayload() *models.ZsrvResponse
func (*CreateGitRepoBadRequest) IsClientError ¶
func (o *CreateGitRepoBadRequest) IsClientError() bool
IsClientError returns true when this kubernetes git ops create git repo bad request response has a 4xx status code
func (*CreateGitRepoBadRequest) IsCode ¶
func (o *CreateGitRepoBadRequest) IsCode(code int) bool
IsCode returns true when this kubernetes git ops create git repo bad request response a status code equal to that given
func (*CreateGitRepoBadRequest) IsRedirect ¶
func (o *CreateGitRepoBadRequest) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops create git repo bad request response has a 3xx status code
func (*CreateGitRepoBadRequest) IsServerError ¶
func (o *CreateGitRepoBadRequest) IsServerError() bool
IsServerError returns true when this kubernetes git ops create git repo bad request response has a 5xx status code
func (*CreateGitRepoBadRequest) IsSuccess ¶
func (o *CreateGitRepoBadRequest) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops create git repo bad request response has a 2xx status code
func (*CreateGitRepoBadRequest) String ¶
func (o *CreateGitRepoBadRequest) String() string
type CreateGitRepoConflict ¶
type CreateGitRepoConflict struct {
Payload *models.ZsrvResponse
}
CreateGitRepoConflict describes a response with status code 409, with default header values.
Conflict. GitRepo configuration with the same name already exists.
func NewCreateGitRepoConflict ¶
func NewCreateGitRepoConflict() *CreateGitRepoConflict
NewCreateGitRepoConflict creates a CreateGitRepoConflict with default headers values
func (*CreateGitRepoConflict) Code ¶
func (o *CreateGitRepoConflict) Code() int
Code gets the status code for the kubernetes git ops create git repo conflict response
func (*CreateGitRepoConflict) Error ¶
func (o *CreateGitRepoConflict) Error() string
func (*CreateGitRepoConflict) GetPayload ¶
func (o *CreateGitRepoConflict) GetPayload() *models.ZsrvResponse
func (*CreateGitRepoConflict) IsClientError ¶
func (o *CreateGitRepoConflict) IsClientError() bool
IsClientError returns true when this kubernetes git ops create git repo conflict response has a 4xx status code
func (*CreateGitRepoConflict) IsCode ¶
func (o *CreateGitRepoConflict) IsCode(code int) bool
IsCode returns true when this kubernetes git ops create git repo conflict response a status code equal to that given
func (*CreateGitRepoConflict) IsRedirect ¶
func (o *CreateGitRepoConflict) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops create git repo conflict response has a 3xx status code
func (*CreateGitRepoConflict) IsServerError ¶
func (o *CreateGitRepoConflict) IsServerError() bool
IsServerError returns true when this kubernetes git ops create git repo conflict response has a 5xx status code
func (*CreateGitRepoConflict) IsSuccess ¶
func (o *CreateGitRepoConflict) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops create git repo conflict response has a 2xx status code
func (*CreateGitRepoConflict) String ¶
func (o *CreateGitRepoConflict) String() string
type CreateGitRepoCreated ¶
type CreateGitRepoCreated struct {
Payload *models.ZsrvResponse
}
CreateGitRepoCreated describes a response with status code 201, with default header values.
Successfully created GitRepo configuration
func NewCreateGitRepoCreated ¶
func NewCreateGitRepoCreated() *CreateGitRepoCreated
NewCreateGitRepoCreated creates a CreateGitRepoCreated with default headers values
func (*CreateGitRepoCreated) Code ¶
func (o *CreateGitRepoCreated) Code() int
Code gets the status code for the kubernetes git ops create git repo created response
func (*CreateGitRepoCreated) Error ¶
func (o *CreateGitRepoCreated) Error() string
func (*CreateGitRepoCreated) GetPayload ¶
func (o *CreateGitRepoCreated) GetPayload() *models.ZsrvResponse
func (*CreateGitRepoCreated) IsClientError ¶
func (o *CreateGitRepoCreated) IsClientError() bool
IsClientError returns true when this kubernetes git ops create git repo created response has a 4xx status code
func (*CreateGitRepoCreated) IsCode ¶
func (o *CreateGitRepoCreated) IsCode(code int) bool
IsCode returns true when this kubernetes git ops create git repo created response a status code equal to that given
func (*CreateGitRepoCreated) IsRedirect ¶
func (o *CreateGitRepoCreated) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops create git repo created response has a 3xx status code
func (*CreateGitRepoCreated) IsServerError ¶
func (o *CreateGitRepoCreated) IsServerError() bool
IsServerError returns true when this kubernetes git ops create git repo created response has a 5xx status code
func (*CreateGitRepoCreated) IsSuccess ¶
func (o *CreateGitRepoCreated) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops create git repo created response has a 2xx status code
func (*CreateGitRepoCreated) String ¶
func (o *CreateGitRepoCreated) String() string
type CreateGitRepoDefault ¶
type CreateGitRepoDefault struct {
Payload *models.GooglerpcStatus
// contains filtered or unexported fields
}
CreateGitRepoDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateGitRepoDefault ¶
func NewCreateGitRepoDefault(code int) *CreateGitRepoDefault
NewCreateGitRepoDefault creates a CreateGitRepoDefault with default headers values
func (*CreateGitRepoDefault) Code ¶
func (o *CreateGitRepoDefault) Code() int
Code gets the status code for the kubernetes git ops create git repo default response
func (*CreateGitRepoDefault) Error ¶
func (o *CreateGitRepoDefault) Error() string
func (*CreateGitRepoDefault) GetPayload ¶
func (o *CreateGitRepoDefault) GetPayload() *models.GooglerpcStatus
func (*CreateGitRepoDefault) IsClientError ¶
func (o *CreateGitRepoDefault) IsClientError() bool
IsClientError returns true when this kubernetes git ops create git repo default response has a 4xx status code
func (*CreateGitRepoDefault) IsCode ¶
func (o *CreateGitRepoDefault) IsCode(code int) bool
IsCode returns true when this kubernetes git ops create git repo default response a status code equal to that given
func (*CreateGitRepoDefault) IsRedirect ¶
func (o *CreateGitRepoDefault) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops create git repo default response has a 3xx status code
func (*CreateGitRepoDefault) IsServerError ¶
func (o *CreateGitRepoDefault) IsServerError() bool
IsServerError returns true when this kubernetes git ops create git repo default response has a 5xx status code
func (*CreateGitRepoDefault) IsSuccess ¶
func (o *CreateGitRepoDefault) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops create git repo default response has a 2xx status code
func (*CreateGitRepoDefault) String ¶
func (o *CreateGitRepoDefault) String() string
type CreateGitRepoForbidden ¶
type CreateGitRepoForbidden struct {
Payload *models.ZsrvResponse
}
CreateGitRepoForbidden describes a response with status code 403, with default header values.
Forbidden. User does not have permission to create GitRepo configurations.
func NewCreateGitRepoForbidden ¶
func NewCreateGitRepoForbidden() *CreateGitRepoForbidden
NewCreateGitRepoForbidden creates a CreateGitRepoForbidden with default headers values
func (*CreateGitRepoForbidden) Code ¶
func (o *CreateGitRepoForbidden) Code() int
Code gets the status code for the kubernetes git ops create git repo forbidden response
func (*CreateGitRepoForbidden) Error ¶
func (o *CreateGitRepoForbidden) Error() string
func (*CreateGitRepoForbidden) GetPayload ¶
func (o *CreateGitRepoForbidden) GetPayload() *models.ZsrvResponse
func (*CreateGitRepoForbidden) IsClientError ¶
func (o *CreateGitRepoForbidden) IsClientError() bool
IsClientError returns true when this kubernetes git ops create git repo forbidden response has a 4xx status code
func (*CreateGitRepoForbidden) IsCode ¶
func (o *CreateGitRepoForbidden) IsCode(code int) bool
IsCode returns true when this kubernetes git ops create git repo forbidden response a status code equal to that given
func (*CreateGitRepoForbidden) IsRedirect ¶
func (o *CreateGitRepoForbidden) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops create git repo forbidden response has a 3xx status code
func (*CreateGitRepoForbidden) IsServerError ¶
func (o *CreateGitRepoForbidden) IsServerError() bool
IsServerError returns true when this kubernetes git ops create git repo forbidden response has a 5xx status code
func (*CreateGitRepoForbidden) IsSuccess ¶
func (o *CreateGitRepoForbidden) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops create git repo forbidden response has a 2xx status code
func (*CreateGitRepoForbidden) String ¶
func (o *CreateGitRepoForbidden) String() string
type CreateGitRepoInternalServerError ¶
type CreateGitRepoInternalServerError struct {
Payload *models.ZsrvResponse
}
CreateGitRepoInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. Failed to create GitRepo configuration due to server error.
func NewCreateGitRepoInternalServerError ¶
func NewCreateGitRepoInternalServerError() *CreateGitRepoInternalServerError
NewCreateGitRepoInternalServerError creates a CreateGitRepoInternalServerError with default headers values
func (*CreateGitRepoInternalServerError) Code ¶
func (o *CreateGitRepoInternalServerError) Code() int
Code gets the status code for the kubernetes git ops create git repo internal server error response
func (*CreateGitRepoInternalServerError) Error ¶
func (o *CreateGitRepoInternalServerError) Error() string
func (*CreateGitRepoInternalServerError) GetPayload ¶
func (o *CreateGitRepoInternalServerError) GetPayload() *models.ZsrvResponse
func (*CreateGitRepoInternalServerError) IsClientError ¶
func (o *CreateGitRepoInternalServerError) IsClientError() bool
IsClientError returns true when this kubernetes git ops create git repo internal server error response has a 4xx status code
func (*CreateGitRepoInternalServerError) IsCode ¶
func (o *CreateGitRepoInternalServerError) IsCode(code int) bool
IsCode returns true when this kubernetes git ops create git repo internal server error response a status code equal to that given
func (*CreateGitRepoInternalServerError) IsRedirect ¶
func (o *CreateGitRepoInternalServerError) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops create git repo internal server error response has a 3xx status code
func (*CreateGitRepoInternalServerError) IsServerError ¶
func (o *CreateGitRepoInternalServerError) IsServerError() bool
IsServerError returns true when this kubernetes git ops create git repo internal server error response has a 5xx status code
func (*CreateGitRepoInternalServerError) IsSuccess ¶
func (o *CreateGitRepoInternalServerError) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops create git repo internal server error response has a 2xx status code
func (*CreateGitRepoInternalServerError) String ¶
func (o *CreateGitRepoInternalServerError) String() string
type CreateGitRepoOK ¶
type CreateGitRepoOK struct {
Payload *models.ZsrvResponse
}
CreateGitRepoOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateGitRepoOK ¶
func NewCreateGitRepoOK() *CreateGitRepoOK
NewCreateGitRepoOK creates a CreateGitRepoOK with default headers values
func (*CreateGitRepoOK) Code ¶
func (o *CreateGitRepoOK) Code() int
Code gets the status code for the kubernetes git ops create git repo o k response
func (*CreateGitRepoOK) Error ¶
func (o *CreateGitRepoOK) Error() string
func (*CreateGitRepoOK) GetPayload ¶
func (o *CreateGitRepoOK) GetPayload() *models.ZsrvResponse
func (*CreateGitRepoOK) IsClientError ¶
func (o *CreateGitRepoOK) IsClientError() bool
IsClientError returns true when this kubernetes git ops create git repo o k response has a 4xx status code
func (*CreateGitRepoOK) IsCode ¶
func (o *CreateGitRepoOK) IsCode(code int) bool
IsCode returns true when this kubernetes git ops create git repo o k response a status code equal to that given
func (*CreateGitRepoOK) IsRedirect ¶
func (o *CreateGitRepoOK) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops create git repo o k response has a 3xx status code
func (*CreateGitRepoOK) IsServerError ¶
func (o *CreateGitRepoOK) IsServerError() bool
IsServerError returns true when this kubernetes git ops create git repo o k response has a 5xx status code
func (*CreateGitRepoOK) IsSuccess ¶
func (o *CreateGitRepoOK) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops create git repo o k response has a 2xx status code
func (*CreateGitRepoOK) String ¶
func (o *CreateGitRepoOK) String() string
type CreateGitRepoParams ¶
type CreateGitRepoParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
// Body.
Body *models.GitRepoRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateGitRepoParams contains all the parameters to send to the API endpoint
for the kubernetes git ops create git repo operation. Typically these are written to a http.Request.
func NewCreateGitRepoParams ¶
func NewCreateGitRepoParams() *CreateGitRepoParams
NewCreateGitRepoParams creates a new CreateGitRepoParams 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 NewCreateGitRepoParamsWithContext ¶
func NewCreateGitRepoParamsWithContext(ctx context.Context) *CreateGitRepoParams
NewCreateGitRepoParamsWithContext creates a new CreateGitRepoParams object with the ability to set a context for a request.
func NewCreateGitRepoParamsWithHTTPClient ¶
func NewCreateGitRepoParamsWithHTTPClient(client *http.Client) *CreateGitRepoParams
NewCreateGitRepoParamsWithHTTPClient creates a new CreateGitRepoParams object with the ability to set a custom HTTPClient for a request.
func NewCreateGitRepoParamsWithTimeout ¶
func NewCreateGitRepoParamsWithTimeout(timeout time.Duration) *CreateGitRepoParams
NewCreateGitRepoParamsWithTimeout creates a new CreateGitRepoParams object with the ability to set a timeout on a request.
func (*CreateGitRepoParams) SetBody ¶
func (o *CreateGitRepoParams) SetBody(body *models.GitRepoRequest)
SetBody adds the body to the kubernetes git ops create git repo params
func (*CreateGitRepoParams) SetContext ¶
func (o *CreateGitRepoParams) SetContext(ctx context.Context)
SetContext adds the context to the kubernetes git ops create git repo params
func (*CreateGitRepoParams) SetDefaults ¶
func (o *CreateGitRepoParams) SetDefaults()
SetDefaults hydrates default values in the kubernetes git ops create git repo params (not the query body).
All values with no default are reset to their zero value.
func (*CreateGitRepoParams) SetHTTPClient ¶
func (o *CreateGitRepoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the kubernetes git ops create git repo params
func (*CreateGitRepoParams) SetTimeout ¶
func (o *CreateGitRepoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the kubernetes git ops create git repo params
func (*CreateGitRepoParams) SetXRequestID ¶
func (o *CreateGitRepoParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the kubernetes git ops create git repo params
func (*CreateGitRepoParams) WithBody ¶
func (o *CreateGitRepoParams) WithBody(body *models.GitRepoRequest) *CreateGitRepoParams
WithBody adds the body to the kubernetes git ops create git repo params
func (*CreateGitRepoParams) WithContext ¶
func (o *CreateGitRepoParams) WithContext(ctx context.Context) *CreateGitRepoParams
WithContext adds the context to the kubernetes git ops create git repo params
func (*CreateGitRepoParams) WithDefaults ¶
func (o *CreateGitRepoParams) WithDefaults() *CreateGitRepoParams
WithDefaults hydrates default values in the kubernetes git ops create git repo params (not the query body).
All values with no default are reset to their zero value.
func (*CreateGitRepoParams) WithHTTPClient ¶
func (o *CreateGitRepoParams) WithHTTPClient(client *http.Client) *CreateGitRepoParams
WithHTTPClient adds the HTTPClient to the kubernetes git ops create git repo params
func (*CreateGitRepoParams) WithTimeout ¶
func (o *CreateGitRepoParams) WithTimeout(timeout time.Duration) *CreateGitRepoParams
WithTimeout adds the timeout to the kubernetes git ops create git repo params
func (*CreateGitRepoParams) WithXRequestID ¶
func (o *CreateGitRepoParams) WithXRequestID(xRequestID *string) *CreateGitRepoParams
WithXRequestID adds the xRequestID to the kubernetes git ops create git repo params
func (*CreateGitRepoParams) WriteToRequest ¶
func (o *CreateGitRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateGitRepoReader ¶
type CreateGitRepoReader struct {
// contains filtered or unexported fields
}
CreateGitRepoReader is a Reader for the CreateGitRepo structure.
func (*CreateGitRepoReader) ReadResponse ¶
func (o *CreateGitRepoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type CreateGitRepoUnauthorized ¶
type CreateGitRepoUnauthorized struct {
}
CreateGitRepoUnauthorized describes a response with status code 401, with default header values.
Unauthorized. Authentication credentials are missing or invalid.
func NewCreateGitRepoUnauthorized ¶
func NewCreateGitRepoUnauthorized() *CreateGitRepoUnauthorized
NewCreateGitRepoUnauthorized creates a CreateGitRepoUnauthorized with default headers values
func (*CreateGitRepoUnauthorized) Code ¶
func (o *CreateGitRepoUnauthorized) Code() int
Code gets the status code for the kubernetes git ops create git repo unauthorized response
func (*CreateGitRepoUnauthorized) Error ¶
func (o *CreateGitRepoUnauthorized) Error() string
func (*CreateGitRepoUnauthorized) GetPayload ¶
func (o *CreateGitRepoUnauthorized) GetPayload() *models.ZsrvResponse
func (*CreateGitRepoUnauthorized) IsClientError ¶
func (o *CreateGitRepoUnauthorized) IsClientError() bool
IsClientError returns true when this kubernetes git ops create git repo unauthorized response has a 4xx status code
func (*CreateGitRepoUnauthorized) IsCode ¶
func (o *CreateGitRepoUnauthorized) IsCode(code int) bool
IsCode returns true when this kubernetes git ops create git repo unauthorized response a status code equal to that given
func (*CreateGitRepoUnauthorized) IsRedirect ¶
func (o *CreateGitRepoUnauthorized) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops create git repo unauthorized response has a 3xx status code
func (*CreateGitRepoUnauthorized) IsServerError ¶
func (o *CreateGitRepoUnauthorized) IsServerError() bool
IsServerError returns true when this kubernetes git ops create git repo unauthorized response has a 5xx status code
func (*CreateGitRepoUnauthorized) IsSuccess ¶
func (o *CreateGitRepoUnauthorized) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops create git repo unauthorized response has a 2xx status code
func (*CreateGitRepoUnauthorized) String ¶
func (o *CreateGitRepoUnauthorized) String() string
type DeleteGitRepoBadRequest ¶
type DeleteGitRepoBadRequest struct {
Payload *models.ZsrvResponse
}
DeleteGitRepoBadRequest describes a response with status code 400, with default header values.
Bad Request. Invalid GitRepo ID format.
func NewDeleteGitRepoBadRequest ¶
func NewDeleteGitRepoBadRequest() *DeleteGitRepoBadRequest
NewDeleteGitRepoBadRequest creates a DeleteGitRepoBadRequest with default headers values
func (*DeleteGitRepoBadRequest) Code ¶
func (o *DeleteGitRepoBadRequest) Code() int
Code gets the status code for the kubernetes git ops delete git repo bad request response
func (*DeleteGitRepoBadRequest) Error ¶
func (o *DeleteGitRepoBadRequest) Error() string
func (*DeleteGitRepoBadRequest) GetPayload ¶
func (o *DeleteGitRepoBadRequest) GetPayload() *models.ZsrvResponse
func (*DeleteGitRepoBadRequest) IsClientError ¶
func (o *DeleteGitRepoBadRequest) IsClientError() bool
IsClientError returns true when this kubernetes git ops delete git repo bad request response has a 4xx status code
func (*DeleteGitRepoBadRequest) IsCode ¶
func (o *DeleteGitRepoBadRequest) IsCode(code int) bool
IsCode returns true when this kubernetes git ops delete git repo bad request response a status code equal to that given
func (*DeleteGitRepoBadRequest) IsRedirect ¶
func (o *DeleteGitRepoBadRequest) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops delete git repo bad request response has a 3xx status code
func (*DeleteGitRepoBadRequest) IsServerError ¶
func (o *DeleteGitRepoBadRequest) IsServerError() bool
IsServerError returns true when this kubernetes git ops delete git repo bad request response has a 5xx status code
func (*DeleteGitRepoBadRequest) IsSuccess ¶
func (o *DeleteGitRepoBadRequest) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops delete git repo bad request response has a 2xx status code
func (*DeleteGitRepoBadRequest) String ¶
func (o *DeleteGitRepoBadRequest) String() string
type DeleteGitRepoConflict ¶
type DeleteGitRepoConflict struct {
Payload *models.ZsrvResponse
}
DeleteGitRepoConflict describes a response with status code 409, with default header values.
Conflict. Cannot delete GitRepo configuration because it is currently in use or in a transitioning state.
func NewDeleteGitRepoConflict ¶
func NewDeleteGitRepoConflict() *DeleteGitRepoConflict
NewDeleteGitRepoConflict creates a DeleteGitRepoConflict with default headers values
func (*DeleteGitRepoConflict) Code ¶
func (o *DeleteGitRepoConflict) Code() int
Code gets the status code for the kubernetes git ops delete git repo conflict response
func (*DeleteGitRepoConflict) Error ¶
func (o *DeleteGitRepoConflict) Error() string
func (*DeleteGitRepoConflict) GetPayload ¶
func (o *DeleteGitRepoConflict) GetPayload() *models.ZsrvResponse
func (*DeleteGitRepoConflict) IsClientError ¶
func (o *DeleteGitRepoConflict) IsClientError() bool
IsClientError returns true when this kubernetes git ops delete git repo conflict response has a 4xx status code
func (*DeleteGitRepoConflict) IsCode ¶
func (o *DeleteGitRepoConflict) IsCode(code int) bool
IsCode returns true when this kubernetes git ops delete git repo conflict response a status code equal to that given
func (*DeleteGitRepoConflict) IsRedirect ¶
func (o *DeleteGitRepoConflict) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops delete git repo conflict response has a 3xx status code
func (*DeleteGitRepoConflict) IsServerError ¶
func (o *DeleteGitRepoConflict) IsServerError() bool
IsServerError returns true when this kubernetes git ops delete git repo conflict response has a 5xx status code
func (*DeleteGitRepoConflict) IsSuccess ¶
func (o *DeleteGitRepoConflict) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops delete git repo conflict response has a 2xx status code
func (*DeleteGitRepoConflict) String ¶
func (o *DeleteGitRepoConflict) String() string
type DeleteGitRepoDefault ¶
type DeleteGitRepoDefault struct {
Payload *models.GooglerpcStatus
// contains filtered or unexported fields
}
DeleteGitRepoDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeleteGitRepoDefault ¶
func NewDeleteGitRepoDefault(code int) *DeleteGitRepoDefault
NewDeleteGitRepoDefault creates a DeleteGitRepoDefault with default headers values
func (*DeleteGitRepoDefault) Code ¶
func (o *DeleteGitRepoDefault) Code() int
Code gets the status code for the kubernetes git ops delete git repo default response
func (*DeleteGitRepoDefault) Error ¶
func (o *DeleteGitRepoDefault) Error() string
func (*DeleteGitRepoDefault) GetPayload ¶
func (o *DeleteGitRepoDefault) GetPayload() *models.GooglerpcStatus
func (*DeleteGitRepoDefault) IsClientError ¶
func (o *DeleteGitRepoDefault) IsClientError() bool
IsClientError returns true when this kubernetes git ops delete git repo default response has a 4xx status code
func (*DeleteGitRepoDefault) IsCode ¶
func (o *DeleteGitRepoDefault) IsCode(code int) bool
IsCode returns true when this kubernetes git ops delete git repo default response a status code equal to that given
func (*DeleteGitRepoDefault) IsRedirect ¶
func (o *DeleteGitRepoDefault) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops delete git repo default response has a 3xx status code
func (*DeleteGitRepoDefault) IsServerError ¶
func (o *DeleteGitRepoDefault) IsServerError() bool
IsServerError returns true when this kubernetes git ops delete git repo default response has a 5xx status code
func (*DeleteGitRepoDefault) IsSuccess ¶
func (o *DeleteGitRepoDefault) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops delete git repo default response has a 2xx status code
func (*DeleteGitRepoDefault) String ¶
func (o *DeleteGitRepoDefault) String() string
type DeleteGitRepoForbidden ¶
type DeleteGitRepoForbidden struct {
Payload *models.ZsrvResponse
}
DeleteGitRepoForbidden describes a response with status code 403, with default header values.
Forbidden. User does not have permission to delete this GitRepo configuration.
func NewDeleteGitRepoForbidden ¶
func NewDeleteGitRepoForbidden() *DeleteGitRepoForbidden
NewDeleteGitRepoForbidden creates a DeleteGitRepoForbidden with default headers values
func (*DeleteGitRepoForbidden) Code ¶
func (o *DeleteGitRepoForbidden) Code() int
Code gets the status code for the kubernetes git ops delete git repo forbidden response
func (*DeleteGitRepoForbidden) Error ¶
func (o *DeleteGitRepoForbidden) Error() string
func (*DeleteGitRepoForbidden) GetPayload ¶
func (o *DeleteGitRepoForbidden) GetPayload() *models.ZsrvResponse
func (*DeleteGitRepoForbidden) IsClientError ¶
func (o *DeleteGitRepoForbidden) IsClientError() bool
IsClientError returns true when this kubernetes git ops delete git repo forbidden response has a 4xx status code
func (*DeleteGitRepoForbidden) IsCode ¶
func (o *DeleteGitRepoForbidden) IsCode(code int) bool
IsCode returns true when this kubernetes git ops delete git repo forbidden response a status code equal to that given
func (*DeleteGitRepoForbidden) IsRedirect ¶
func (o *DeleteGitRepoForbidden) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops delete git repo forbidden response has a 3xx status code
func (*DeleteGitRepoForbidden) IsServerError ¶
func (o *DeleteGitRepoForbidden) IsServerError() bool
IsServerError returns true when this kubernetes git ops delete git repo forbidden response has a 5xx status code
func (*DeleteGitRepoForbidden) IsSuccess ¶
func (o *DeleteGitRepoForbidden) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops delete git repo forbidden response has a 2xx status code
func (*DeleteGitRepoForbidden) String ¶
func (o *DeleteGitRepoForbidden) String() string
type DeleteGitRepoInternalServerError ¶
type DeleteGitRepoInternalServerError struct {
Payload *models.ZsrvResponse
}
DeleteGitRepoInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. Failed to delete GitRepo configuration due to server error.
func NewDeleteGitRepoInternalServerError ¶
func NewDeleteGitRepoInternalServerError() *DeleteGitRepoInternalServerError
NewDeleteGitRepoInternalServerError creates a DeleteGitRepoInternalServerError with default headers values
func (*DeleteGitRepoInternalServerError) Code ¶
func (o *DeleteGitRepoInternalServerError) Code() int
Code gets the status code for the kubernetes git ops delete git repo internal server error response
func (*DeleteGitRepoInternalServerError) Error ¶
func (o *DeleteGitRepoInternalServerError) Error() string
func (*DeleteGitRepoInternalServerError) GetPayload ¶
func (o *DeleteGitRepoInternalServerError) GetPayload() *models.ZsrvResponse
func (*DeleteGitRepoInternalServerError) IsClientError ¶
func (o *DeleteGitRepoInternalServerError) IsClientError() bool
IsClientError returns true when this kubernetes git ops delete git repo internal server error response has a 4xx status code
func (*DeleteGitRepoInternalServerError) IsCode ¶
func (o *DeleteGitRepoInternalServerError) IsCode(code int) bool
IsCode returns true when this kubernetes git ops delete git repo internal server error response a status code equal to that given
func (*DeleteGitRepoInternalServerError) IsRedirect ¶
func (o *DeleteGitRepoInternalServerError) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops delete git repo internal server error response has a 3xx status code
func (*DeleteGitRepoInternalServerError) IsServerError ¶
func (o *DeleteGitRepoInternalServerError) IsServerError() bool
IsServerError returns true when this kubernetes git ops delete git repo internal server error response has a 5xx status code
func (*DeleteGitRepoInternalServerError) IsSuccess ¶
func (o *DeleteGitRepoInternalServerError) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops delete git repo internal server error response has a 2xx status code
func (*DeleteGitRepoInternalServerError) String ¶
func (o *DeleteGitRepoInternalServerError) String() string
type DeleteGitRepoNotFound ¶
type DeleteGitRepoNotFound struct {
Payload *models.ZsrvResponse
}
DeleteGitRepoNotFound describes a response with status code 404, with default header values.
Not Found. GitRepo configuration with the specified ID does not exist.
func NewDeleteGitRepoNotFound ¶
func NewDeleteGitRepoNotFound() *DeleteGitRepoNotFound
NewDeleteGitRepoNotFound creates a DeleteGitRepoNotFound with default headers values
func (*DeleteGitRepoNotFound) Code ¶
func (o *DeleteGitRepoNotFound) Code() int
Code gets the status code for the kubernetes git ops delete git repo not found response
func (*DeleteGitRepoNotFound) Error ¶
func (o *DeleteGitRepoNotFound) Error() string
func (*DeleteGitRepoNotFound) GetPayload ¶
func (o *DeleteGitRepoNotFound) GetPayload() *models.ZsrvResponse
func (*DeleteGitRepoNotFound) IsClientError ¶
func (o *DeleteGitRepoNotFound) IsClientError() bool
IsClientError returns true when this kubernetes git ops delete git repo not found response has a 4xx status code
func (*DeleteGitRepoNotFound) IsCode ¶
func (o *DeleteGitRepoNotFound) IsCode(code int) bool
IsCode returns true when this kubernetes git ops delete git repo not found response a status code equal to that given
func (*DeleteGitRepoNotFound) IsRedirect ¶
func (o *DeleteGitRepoNotFound) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops delete git repo not found response has a 3xx status code
func (*DeleteGitRepoNotFound) IsServerError ¶
func (o *DeleteGitRepoNotFound) IsServerError() bool
IsServerError returns true when this kubernetes git ops delete git repo not found response has a 5xx status code
func (*DeleteGitRepoNotFound) IsSuccess ¶
func (o *DeleteGitRepoNotFound) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops delete git repo not found response has a 2xx status code
func (*DeleteGitRepoNotFound) String ¶
func (o *DeleteGitRepoNotFound) String() string
type DeleteGitRepoOK ¶
type DeleteGitRepoOK struct {
Payload *models.ZsrvResponse
}
DeleteGitRepoOK describes a response with status code 200, with default header values.
Successfully deleted GitRepo configuration
func NewDeleteGitRepoOK ¶
func NewDeleteGitRepoOK() *DeleteGitRepoOK
NewDeleteGitRepoOK creates a DeleteGitRepoOK with default headers values
func (*DeleteGitRepoOK) Code ¶
func (o *DeleteGitRepoOK) Code() int
Code gets the status code for the kubernetes git ops delete git repo o k response
func (*DeleteGitRepoOK) Error ¶
func (o *DeleteGitRepoOK) Error() string
func (*DeleteGitRepoOK) GetPayload ¶
func (o *DeleteGitRepoOK) GetPayload() *models.ZsrvResponse
func (*DeleteGitRepoOK) IsClientError ¶
func (o *DeleteGitRepoOK) IsClientError() bool
IsClientError returns true when this kubernetes git ops delete git repo o k response has a 4xx status code
func (*DeleteGitRepoOK) IsCode ¶
func (o *DeleteGitRepoOK) IsCode(code int) bool
IsCode returns true when this kubernetes git ops delete git repo o k response a status code equal to that given
func (*DeleteGitRepoOK) IsRedirect ¶
func (o *DeleteGitRepoOK) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops delete git repo o k response has a 3xx status code
func (*DeleteGitRepoOK) IsServerError ¶
func (o *DeleteGitRepoOK) IsServerError() bool
IsServerError returns true when this kubernetes git ops delete git repo o k response has a 5xx status code
func (*DeleteGitRepoOK) IsSuccess ¶
func (o *DeleteGitRepoOK) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops delete git repo o k response has a 2xx status code
func (*DeleteGitRepoOK) String ¶
func (o *DeleteGitRepoOK) String() string
type DeleteGitRepoParams ¶
type DeleteGitRepoParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
/* GitrepoID.
Unique identifier of the GitRepo (required). Example: 'gitrepo-abc123'
*/
GitrepoID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteGitRepoParams contains all the parameters to send to the API endpoint
for the kubernetes git ops delete git repo operation. Typically these are written to a http.Request.
func NewDeleteGitRepoParams ¶
func NewDeleteGitRepoParams() *DeleteGitRepoParams
NewDeleteGitRepoParams creates a new DeleteGitRepoParams 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 NewDeleteGitRepoParamsWithContext ¶
func NewDeleteGitRepoParamsWithContext(ctx context.Context) *DeleteGitRepoParams
NewDeleteGitRepoParamsWithContext creates a new DeleteGitRepoParams object with the ability to set a context for a request.
func NewDeleteGitRepoParamsWithHTTPClient ¶
func NewDeleteGitRepoParamsWithHTTPClient(client *http.Client) *DeleteGitRepoParams
NewDeleteGitRepoParamsWithHTTPClient creates a new DeleteGitRepoParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteGitRepoParamsWithTimeout ¶
func NewDeleteGitRepoParamsWithTimeout(timeout time.Duration) *DeleteGitRepoParams
NewDeleteGitRepoParamsWithTimeout creates a new DeleteGitRepoParams object with the ability to set a timeout on a request.
func (*DeleteGitRepoParams) SetContext ¶
func (o *DeleteGitRepoParams) SetContext(ctx context.Context)
SetContext adds the context to the kubernetes git ops delete git repo params
func (*DeleteGitRepoParams) SetDefaults ¶
func (o *DeleteGitRepoParams) SetDefaults()
SetDefaults hydrates default values in the kubernetes git ops delete git repo params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteGitRepoParams) SetGitrepoID ¶
func (o *DeleteGitRepoParams) SetGitrepoID(gitrepoID string)
SetGitrepoID adds the gitrepoId to the kubernetes git ops delete git repo params
func (*DeleteGitRepoParams) SetHTTPClient ¶
func (o *DeleteGitRepoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the kubernetes git ops delete git repo params
func (*DeleteGitRepoParams) SetTimeout ¶
func (o *DeleteGitRepoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the kubernetes git ops delete git repo params
func (*DeleteGitRepoParams) SetXRequestID ¶
func (o *DeleteGitRepoParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the kubernetes git ops delete git repo params
func (*DeleteGitRepoParams) WithContext ¶
func (o *DeleteGitRepoParams) WithContext(ctx context.Context) *DeleteGitRepoParams
WithContext adds the context to the kubernetes git ops delete git repo params
func (*DeleteGitRepoParams) WithDefaults ¶
func (o *DeleteGitRepoParams) WithDefaults() *DeleteGitRepoParams
WithDefaults hydrates default values in the kubernetes git ops delete git repo params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteGitRepoParams) WithGitrepoID ¶
func (o *DeleteGitRepoParams) WithGitrepoID(gitrepoID string) *DeleteGitRepoParams
WithGitrepoID adds the gitrepoID to the kubernetes git ops delete git repo params
func (*DeleteGitRepoParams) WithHTTPClient ¶
func (o *DeleteGitRepoParams) WithHTTPClient(client *http.Client) *DeleteGitRepoParams
WithHTTPClient adds the HTTPClient to the kubernetes git ops delete git repo params
func (*DeleteGitRepoParams) WithTimeout ¶
func (o *DeleteGitRepoParams) WithTimeout(timeout time.Duration) *DeleteGitRepoParams
WithTimeout adds the timeout to the kubernetes git ops delete git repo params
func (*DeleteGitRepoParams) WithXRequestID ¶
func (o *DeleteGitRepoParams) WithXRequestID(xRequestID *string) *DeleteGitRepoParams
WithXRequestID adds the xRequestID to the kubernetes git ops delete git repo params
func (*DeleteGitRepoParams) WriteToRequest ¶
func (o *DeleteGitRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteGitRepoReader ¶
type DeleteGitRepoReader struct {
// contains filtered or unexported fields
}
DeleteGitRepoReader is a Reader for the DeleteGitRepo structure.
func (*DeleteGitRepoReader) ReadResponse ¶
func (o *DeleteGitRepoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DeleteGitRepoUnauthorized ¶
type DeleteGitRepoUnauthorized struct {
}
DeleteGitRepoUnauthorized describes a response with status code 401, with default header values.
Unauthorized. Authentication credentials are missing or invalid.
func NewDeleteGitRepoUnauthorized ¶
func NewDeleteGitRepoUnauthorized() *DeleteGitRepoUnauthorized
NewDeleteGitRepoUnauthorized creates a DeleteGitRepoUnauthorized with default headers values
func (*DeleteGitRepoUnauthorized) Code ¶
func (o *DeleteGitRepoUnauthorized) Code() int
Code gets the status code for the kubernetes git ops delete git repo unauthorized response
func (*DeleteGitRepoUnauthorized) Error ¶
func (o *DeleteGitRepoUnauthorized) Error() string
func (*DeleteGitRepoUnauthorized) GetPayload ¶
func (o *DeleteGitRepoUnauthorized) GetPayload() *models.ZsrvResponse
func (*DeleteGitRepoUnauthorized) IsClientError ¶
func (o *DeleteGitRepoUnauthorized) IsClientError() bool
IsClientError returns true when this kubernetes git ops delete git repo unauthorized response has a 4xx status code
func (*DeleteGitRepoUnauthorized) IsCode ¶
func (o *DeleteGitRepoUnauthorized) IsCode(code int) bool
IsCode returns true when this kubernetes git ops delete git repo unauthorized response a status code equal to that given
func (*DeleteGitRepoUnauthorized) IsRedirect ¶
func (o *DeleteGitRepoUnauthorized) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops delete git repo unauthorized response has a 3xx status code
func (*DeleteGitRepoUnauthorized) IsServerError ¶
func (o *DeleteGitRepoUnauthorized) IsServerError() bool
IsServerError returns true when this kubernetes git ops delete git repo unauthorized response has a 5xx status code
func (*DeleteGitRepoUnauthorized) IsSuccess ¶
func (o *DeleteGitRepoUnauthorized) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops delete git repo unauthorized response has a 2xx status code
func (*DeleteGitRepoUnauthorized) String ¶
func (o *DeleteGitRepoUnauthorized) String() string
type GetGitRepoBadRequest ¶
type GetGitRepoBadRequest struct {
Payload *models.ZsrvResponse
}
GetGitRepoBadRequest describes a response with status code 400, with default header values.
Bad Request. Invalid GitRepo ID format.
func NewGetGitRepoBadRequest ¶
func NewGetGitRepoBadRequest() *GetGitRepoBadRequest
NewGetGitRepoBadRequest creates a GetGitRepoBadRequest with default headers values
func (*GetGitRepoBadRequest) Code ¶
func (o *GetGitRepoBadRequest) Code() int
Code gets the status code for the kubernetes git ops get git repo bad request response
func (*GetGitRepoBadRequest) Error ¶
func (o *GetGitRepoBadRequest) Error() string
func (*GetGitRepoBadRequest) GetPayload ¶
func (o *GetGitRepoBadRequest) GetPayload() *models.ZsrvResponse
func (*GetGitRepoBadRequest) IsClientError ¶
func (o *GetGitRepoBadRequest) IsClientError() bool
IsClientError returns true when this kubernetes git ops get git repo bad request response has a 4xx status code
func (*GetGitRepoBadRequest) IsCode ¶
func (o *GetGitRepoBadRequest) IsCode(code int) bool
IsCode returns true when this kubernetes git ops get git repo bad request response a status code equal to that given
func (*GetGitRepoBadRequest) IsRedirect ¶
func (o *GetGitRepoBadRequest) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops get git repo bad request response has a 3xx status code
func (*GetGitRepoBadRequest) IsServerError ¶
func (o *GetGitRepoBadRequest) IsServerError() bool
IsServerError returns true when this kubernetes git ops get git repo bad request response has a 5xx status code
func (*GetGitRepoBadRequest) IsSuccess ¶
func (o *GetGitRepoBadRequest) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops get git repo bad request response has a 2xx status code
func (*GetGitRepoBadRequest) String ¶
func (o *GetGitRepoBadRequest) String() string
type GetGitRepoDefault ¶
type GetGitRepoDefault struct {
Payload *models.GooglerpcStatus
// contains filtered or unexported fields
}
GetGitRepoDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetGitRepoDefault ¶
func NewGetGitRepoDefault(code int) *GetGitRepoDefault
NewGetGitRepoDefault creates a GetGitRepoDefault with default headers values
func (*GetGitRepoDefault) Code ¶
func (o *GetGitRepoDefault) Code() int
Code gets the status code for the kubernetes git ops get git repo default response
func (*GetGitRepoDefault) Error ¶
func (o *GetGitRepoDefault) Error() string
func (*GetGitRepoDefault) GetPayload ¶
func (o *GetGitRepoDefault) GetPayload() *models.GooglerpcStatus
func (*GetGitRepoDefault) IsClientError ¶
func (o *GetGitRepoDefault) IsClientError() bool
IsClientError returns true when this kubernetes git ops get git repo default response has a 4xx status code
func (*GetGitRepoDefault) IsCode ¶
func (o *GetGitRepoDefault) IsCode(code int) bool
IsCode returns true when this kubernetes git ops get git repo default response a status code equal to that given
func (*GetGitRepoDefault) IsRedirect ¶
func (o *GetGitRepoDefault) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops get git repo default response has a 3xx status code
func (*GetGitRepoDefault) IsServerError ¶
func (o *GetGitRepoDefault) IsServerError() bool
IsServerError returns true when this kubernetes git ops get git repo default response has a 5xx status code
func (*GetGitRepoDefault) IsSuccess ¶
func (o *GetGitRepoDefault) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops get git repo default response has a 2xx status code
func (*GetGitRepoDefault) String ¶
func (o *GetGitRepoDefault) String() string
type GetGitRepoForbidden ¶
type GetGitRepoForbidden struct {
Payload *models.ZsrvResponse
}
GetGitRepoForbidden describes a response with status code 403, with default header values.
Forbidden. User does not have permission to view this GitRepo configuration.
func NewGetGitRepoForbidden ¶
func NewGetGitRepoForbidden() *GetGitRepoForbidden
NewGetGitRepoForbidden creates a GetGitRepoForbidden with default headers values
func (*GetGitRepoForbidden) Code ¶
func (o *GetGitRepoForbidden) Code() int
Code gets the status code for the kubernetes git ops get git repo forbidden response
func (*GetGitRepoForbidden) Error ¶
func (o *GetGitRepoForbidden) Error() string
func (*GetGitRepoForbidden) GetPayload ¶
func (o *GetGitRepoForbidden) GetPayload() *models.ZsrvResponse
func (*GetGitRepoForbidden) IsClientError ¶
func (o *GetGitRepoForbidden) IsClientError() bool
IsClientError returns true when this kubernetes git ops get git repo forbidden response has a 4xx status code
func (*GetGitRepoForbidden) IsCode ¶
func (o *GetGitRepoForbidden) IsCode(code int) bool
IsCode returns true when this kubernetes git ops get git repo forbidden response a status code equal to that given
func (*GetGitRepoForbidden) IsRedirect ¶
func (o *GetGitRepoForbidden) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops get git repo forbidden response has a 3xx status code
func (*GetGitRepoForbidden) IsServerError ¶
func (o *GetGitRepoForbidden) IsServerError() bool
IsServerError returns true when this kubernetes git ops get git repo forbidden response has a 5xx status code
func (*GetGitRepoForbidden) IsSuccess ¶
func (o *GetGitRepoForbidden) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops get git repo forbidden response has a 2xx status code
func (*GetGitRepoForbidden) String ¶
func (o *GetGitRepoForbidden) String() string
type GetGitRepoInternalServerError ¶
type GetGitRepoInternalServerError struct {
Payload *models.ZsrvResponse
}
GetGitRepoInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. Failed to retrieve GitRepo configuration due to server error.
func NewGetGitRepoInternalServerError ¶
func NewGetGitRepoInternalServerError() *GetGitRepoInternalServerError
NewGetGitRepoInternalServerError creates a GetGitRepoInternalServerError with default headers values
func (*GetGitRepoInternalServerError) Code ¶
func (o *GetGitRepoInternalServerError) Code() int
Code gets the status code for the kubernetes git ops get git repo internal server error response
func (*GetGitRepoInternalServerError) Error ¶
func (o *GetGitRepoInternalServerError) Error() string
func (*GetGitRepoInternalServerError) GetPayload ¶
func (o *GetGitRepoInternalServerError) GetPayload() *models.ZsrvResponse
func (*GetGitRepoInternalServerError) IsClientError ¶
func (o *GetGitRepoInternalServerError) IsClientError() bool
IsClientError returns true when this kubernetes git ops get git repo internal server error response has a 4xx status code
func (*GetGitRepoInternalServerError) IsCode ¶
func (o *GetGitRepoInternalServerError) IsCode(code int) bool
IsCode returns true when this kubernetes git ops get git repo internal server error response a status code equal to that given
func (*GetGitRepoInternalServerError) IsRedirect ¶
func (o *GetGitRepoInternalServerError) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops get git repo internal server error response has a 3xx status code
func (*GetGitRepoInternalServerError) IsServerError ¶
func (o *GetGitRepoInternalServerError) IsServerError() bool
IsServerError returns true when this kubernetes git ops get git repo internal server error response has a 5xx status code
func (*GetGitRepoInternalServerError) IsSuccess ¶
func (o *GetGitRepoInternalServerError) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops get git repo internal server error response has a 2xx status code
func (*GetGitRepoInternalServerError) String ¶
func (o *GetGitRepoInternalServerError) String() string
type GetGitRepoNotFound ¶
type GetGitRepoNotFound struct {
Payload *models.ZsrvResponse
}
GetGitRepoNotFound describes a response with status code 404, with default header values.
Not Found. GitRepo configuration with the specified ID does not exist.
func NewGetGitRepoNotFound ¶
func NewGetGitRepoNotFound() *GetGitRepoNotFound
NewGetGitRepoNotFound creates a GetGitRepoNotFound with default headers values
func (*GetGitRepoNotFound) Code ¶
func (o *GetGitRepoNotFound) Code() int
Code gets the status code for the kubernetes git ops get git repo not found response
func (*GetGitRepoNotFound) Error ¶
func (o *GetGitRepoNotFound) Error() string
func (*GetGitRepoNotFound) GetPayload ¶
func (o *GetGitRepoNotFound) GetPayload() *models.ZsrvResponse
func (*GetGitRepoNotFound) IsClientError ¶
func (o *GetGitRepoNotFound) IsClientError() bool
IsClientError returns true when this kubernetes git ops get git repo not found response has a 4xx status code
func (*GetGitRepoNotFound) IsCode ¶
func (o *GetGitRepoNotFound) IsCode(code int) bool
IsCode returns true when this kubernetes git ops get git repo not found response a status code equal to that given
func (*GetGitRepoNotFound) IsRedirect ¶
func (o *GetGitRepoNotFound) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops get git repo not found response has a 3xx status code
func (*GetGitRepoNotFound) IsServerError ¶
func (o *GetGitRepoNotFound) IsServerError() bool
IsServerError returns true when this kubernetes git ops get git repo not found response has a 5xx status code
func (*GetGitRepoNotFound) IsSuccess ¶
func (o *GetGitRepoNotFound) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops get git repo not found response has a 2xx status code
func (*GetGitRepoNotFound) String ¶
func (o *GetGitRepoNotFound) String() string
type GetGitRepoOK ¶
type GetGitRepoOK struct {
Payload *models.GitRepoGetResponse
}
GetGitRepoOK describes a response with status code 200, with default header values.
Successfully retrieved GitRepo configuration
func NewGetGitRepoOK ¶
func NewGetGitRepoOK() *GetGitRepoOK
NewGetGitRepoOK creates a GetGitRepoOK with default headers values
func (*GetGitRepoOK) Code ¶
func (o *GetGitRepoOK) Code() int
Code gets the status code for the kubernetes git ops get git repo o k response
func (*GetGitRepoOK) Error ¶
func (o *GetGitRepoOK) Error() string
func (*GetGitRepoOK) GetPayload ¶
func (o *GetGitRepoOK) GetPayload() *models.GitRepoGetResponse
func (*GetGitRepoOK) IsClientError ¶
func (o *GetGitRepoOK) IsClientError() bool
IsClientError returns true when this kubernetes git ops get git repo o k response has a 4xx status code
func (*GetGitRepoOK) IsCode ¶
func (o *GetGitRepoOK) IsCode(code int) bool
IsCode returns true when this kubernetes git ops get git repo o k response a status code equal to that given
func (*GetGitRepoOK) IsRedirect ¶
func (o *GetGitRepoOK) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops get git repo o k response has a 3xx status code
func (*GetGitRepoOK) IsServerError ¶
func (o *GetGitRepoOK) IsServerError() bool
IsServerError returns true when this kubernetes git ops get git repo o k response has a 5xx status code
func (*GetGitRepoOK) IsSuccess ¶
func (o *GetGitRepoOK) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops get git repo o k response has a 2xx status code
func (*GetGitRepoOK) String ¶
func (o *GetGitRepoOK) String() string
type GetGitRepoParams ¶
type GetGitRepoParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
/* GitrepoID.
Unique identifier of the GitRepo (required). Example: 'gitrepo-abc123'
*/
GitrepoID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetGitRepoParams contains all the parameters to send to the API endpoint
for the kubernetes git ops get git repo operation. Typically these are written to a http.Request.
func NewGetGitRepoParams ¶
func NewGetGitRepoParams() *GetGitRepoParams
NewGetGitRepoParams creates a new GetGitRepoParams 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 NewGetGitRepoParamsWithContext ¶
func NewGetGitRepoParamsWithContext(ctx context.Context) *GetGitRepoParams
NewGetGitRepoParamsWithContext creates a new GetGitRepoParams object with the ability to set a context for a request.
func NewGetGitRepoParamsWithHTTPClient ¶
func NewGetGitRepoParamsWithHTTPClient(client *http.Client) *GetGitRepoParams
NewGetGitRepoParamsWithHTTPClient creates a new GetGitRepoParams object with the ability to set a custom HTTPClient for a request.
func NewGetGitRepoParamsWithTimeout ¶
func NewGetGitRepoParamsWithTimeout(timeout time.Duration) *GetGitRepoParams
NewGetGitRepoParamsWithTimeout creates a new GetGitRepoParams object with the ability to set a timeout on a request.
func (*GetGitRepoParams) SetContext ¶
func (o *GetGitRepoParams) SetContext(ctx context.Context)
SetContext adds the context to the kubernetes git ops get git repo params
func (*GetGitRepoParams) SetDefaults ¶
func (o *GetGitRepoParams) SetDefaults()
SetDefaults hydrates default values in the kubernetes git ops get git repo params (not the query body).
All values with no default are reset to their zero value.
func (*GetGitRepoParams) SetGitrepoID ¶
func (o *GetGitRepoParams) SetGitrepoID(gitrepoID string)
SetGitrepoID adds the gitrepoId to the kubernetes git ops get git repo params
func (*GetGitRepoParams) SetHTTPClient ¶
func (o *GetGitRepoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the kubernetes git ops get git repo params
func (*GetGitRepoParams) SetTimeout ¶
func (o *GetGitRepoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the kubernetes git ops get git repo params
func (*GetGitRepoParams) SetXRequestID ¶
func (o *GetGitRepoParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the kubernetes git ops get git repo params
func (*GetGitRepoParams) WithContext ¶
func (o *GetGitRepoParams) WithContext(ctx context.Context) *GetGitRepoParams
WithContext adds the context to the kubernetes git ops get git repo params
func (*GetGitRepoParams) WithDefaults ¶
func (o *GetGitRepoParams) WithDefaults() *GetGitRepoParams
WithDefaults hydrates default values in the kubernetes git ops get git repo params (not the query body).
All values with no default are reset to their zero value.
func (*GetGitRepoParams) WithGitrepoID ¶
func (o *GetGitRepoParams) WithGitrepoID(gitrepoID string) *GetGitRepoParams
WithGitrepoID adds the gitrepoID to the kubernetes git ops get git repo params
func (*GetGitRepoParams) WithHTTPClient ¶
func (o *GetGitRepoParams) WithHTTPClient(client *http.Client) *GetGitRepoParams
WithHTTPClient adds the HTTPClient to the kubernetes git ops get git repo params
func (*GetGitRepoParams) WithTimeout ¶
func (o *GetGitRepoParams) WithTimeout(timeout time.Duration) *GetGitRepoParams
WithTimeout adds the timeout to the kubernetes git ops get git repo params
func (*GetGitRepoParams) WithXRequestID ¶
func (o *GetGitRepoParams) WithXRequestID(xRequestID *string) *GetGitRepoParams
WithXRequestID adds the xRequestID to the kubernetes git ops get git repo params
func (*GetGitRepoParams) WriteToRequest ¶
func (o *GetGitRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGitRepoReader ¶
type GetGitRepoReader struct {
// contains filtered or unexported fields
}
GetGitRepoReader is a Reader for the GetGitRepo structure.
func (*GetGitRepoReader) ReadResponse ¶
func (o *GetGitRepoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetGitRepoUnauthorized ¶
type GetGitRepoUnauthorized struct {
}
GetGitRepoUnauthorized describes a response with status code 401, with default header values.
Unauthorized. Authentication credentials are missing or invalid.
func NewGetGitRepoUnauthorized ¶
func NewGetGitRepoUnauthorized() *GetGitRepoUnauthorized
NewGetGitRepoUnauthorized creates a GetGitRepoUnauthorized with default headers values
func (*GetGitRepoUnauthorized) Code ¶
func (o *GetGitRepoUnauthorized) Code() int
Code gets the status code for the kubernetes git ops get git repo unauthorized response
func (*GetGitRepoUnauthorized) Error ¶
func (o *GetGitRepoUnauthorized) Error() string
func (*GetGitRepoUnauthorized) GetPayload ¶
func (o *GetGitRepoUnauthorized) GetPayload() *models.ZsrvResponse
func (*GetGitRepoUnauthorized) IsClientError ¶
func (o *GetGitRepoUnauthorized) IsClientError() bool
IsClientError returns true when this kubernetes git ops get git repo unauthorized response has a 4xx status code
func (*GetGitRepoUnauthorized) IsCode ¶
func (o *GetGitRepoUnauthorized) IsCode(code int) bool
IsCode returns true when this kubernetes git ops get git repo unauthorized response a status code equal to that given
func (*GetGitRepoUnauthorized) IsRedirect ¶
func (o *GetGitRepoUnauthorized) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops get git repo unauthorized response has a 3xx status code
func (*GetGitRepoUnauthorized) IsServerError ¶
func (o *GetGitRepoUnauthorized) IsServerError() bool
IsServerError returns true when this kubernetes git ops get git repo unauthorized response has a 5xx status code
func (*GetGitRepoUnauthorized) IsSuccess ¶
func (o *GetGitRepoUnauthorized) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops get git repo unauthorized response has a 2xx status code
func (*GetGitRepoUnauthorized) String ¶
func (o *GetGitRepoUnauthorized) String() string
type ListGitReposBadRequest ¶
type ListGitReposBadRequest struct {
Payload *models.ZsrvResponse
}
ListGitReposBadRequest describes a response with status code 400, with default header values.
Bad Request. The API gateway did not process the request because of invalid value of filter parameters.
func NewListGitReposBadRequest ¶
func NewListGitReposBadRequest() *ListGitReposBadRequest
NewListGitReposBadRequest creates a ListGitReposBadRequest with default headers values
func (*ListGitReposBadRequest) Code ¶
func (o *ListGitReposBadRequest) Code() int
Code gets the status code for the kubernetes git ops list git repos bad request response
func (*ListGitReposBadRequest) Error ¶
func (o *ListGitReposBadRequest) Error() string
func (*ListGitReposBadRequest) GetPayload ¶
func (o *ListGitReposBadRequest) GetPayload() *models.ZsrvResponse
func (*ListGitReposBadRequest) IsClientError ¶
func (o *ListGitReposBadRequest) IsClientError() bool
IsClientError returns true when this kubernetes git ops list git repos bad request response has a 4xx status code
func (*ListGitReposBadRequest) IsCode ¶
func (o *ListGitReposBadRequest) IsCode(code int) bool
IsCode returns true when this kubernetes git ops list git repos bad request response a status code equal to that given
func (*ListGitReposBadRequest) IsRedirect ¶
func (o *ListGitReposBadRequest) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops list git repos bad request response has a 3xx status code
func (*ListGitReposBadRequest) IsServerError ¶
func (o *ListGitReposBadRequest) IsServerError() bool
IsServerError returns true when this kubernetes git ops list git repos bad request response has a 5xx status code
func (*ListGitReposBadRequest) IsSuccess ¶
func (o *ListGitReposBadRequest) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops list git repos bad request response has a 2xx status code
func (*ListGitReposBadRequest) String ¶
func (o *ListGitReposBadRequest) String() string
type ListGitReposDefault ¶
type ListGitReposDefault struct {
Payload *models.GooglerpcStatus
// contains filtered or unexported fields
}
ListGitReposDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListGitReposDefault ¶
func NewListGitReposDefault(code int) *ListGitReposDefault
NewListGitReposDefault creates a ListGitReposDefault with default headers values
func (*ListGitReposDefault) Code ¶
func (o *ListGitReposDefault) Code() int
Code gets the status code for the kubernetes git ops list git repos default response
func (*ListGitReposDefault) Error ¶
func (o *ListGitReposDefault) Error() string
func (*ListGitReposDefault) GetPayload ¶
func (o *ListGitReposDefault) GetPayload() *models.GooglerpcStatus
func (*ListGitReposDefault) IsClientError ¶
func (o *ListGitReposDefault) IsClientError() bool
IsClientError returns true when this kubernetes git ops list git repos default response has a 4xx status code
func (*ListGitReposDefault) IsCode ¶
func (o *ListGitReposDefault) IsCode(code int) bool
IsCode returns true when this kubernetes git ops list git repos default response a status code equal to that given
func (*ListGitReposDefault) IsRedirect ¶
func (o *ListGitReposDefault) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops list git repos default response has a 3xx status code
func (*ListGitReposDefault) IsServerError ¶
func (o *ListGitReposDefault) IsServerError() bool
IsServerError returns true when this kubernetes git ops list git repos default response has a 5xx status code
func (*ListGitReposDefault) IsSuccess ¶
func (o *ListGitReposDefault) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops list git repos default response has a 2xx status code
func (*ListGitReposDefault) String ¶
func (o *ListGitReposDefault) String() string
type ListGitReposForbidden ¶
type ListGitReposForbidden struct {
Payload *models.ZsrvResponse
}
ListGitReposForbidden describes a response with status code 403, with default header values.
Forbidden. User does not have permission to list GitRepo configurations.
func NewListGitReposForbidden ¶
func NewListGitReposForbidden() *ListGitReposForbidden
NewListGitReposForbidden creates a ListGitReposForbidden with default headers values
func (*ListGitReposForbidden) Code ¶
func (o *ListGitReposForbidden) Code() int
Code gets the status code for the kubernetes git ops list git repos forbidden response
func (*ListGitReposForbidden) Error ¶
func (o *ListGitReposForbidden) Error() string
func (*ListGitReposForbidden) GetPayload ¶
func (o *ListGitReposForbidden) GetPayload() *models.ZsrvResponse
func (*ListGitReposForbidden) IsClientError ¶
func (o *ListGitReposForbidden) IsClientError() bool
IsClientError returns true when this kubernetes git ops list git repos forbidden response has a 4xx status code
func (*ListGitReposForbidden) IsCode ¶
func (o *ListGitReposForbidden) IsCode(code int) bool
IsCode returns true when this kubernetes git ops list git repos forbidden response a status code equal to that given
func (*ListGitReposForbidden) IsRedirect ¶
func (o *ListGitReposForbidden) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops list git repos forbidden response has a 3xx status code
func (*ListGitReposForbidden) IsServerError ¶
func (o *ListGitReposForbidden) IsServerError() bool
IsServerError returns true when this kubernetes git ops list git repos forbidden response has a 5xx status code
func (*ListGitReposForbidden) IsSuccess ¶
func (o *ListGitReposForbidden) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops list git repos forbidden response has a 2xx status code
func (*ListGitReposForbidden) String ¶
func (o *ListGitReposForbidden) String() string
type ListGitReposInternalServerError ¶
type ListGitReposInternalServerError struct {
Payload *models.ZsrvResponse
}
ListGitReposInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. Failed to retrieve GitRepo list due to server error.
func NewListGitReposInternalServerError ¶
func NewListGitReposInternalServerError() *ListGitReposInternalServerError
NewListGitReposInternalServerError creates a ListGitReposInternalServerError with default headers values
func (*ListGitReposInternalServerError) Code ¶
func (o *ListGitReposInternalServerError) Code() int
Code gets the status code for the kubernetes git ops list git repos internal server error response
func (*ListGitReposInternalServerError) Error ¶
func (o *ListGitReposInternalServerError) Error() string
func (*ListGitReposInternalServerError) GetPayload ¶
func (o *ListGitReposInternalServerError) GetPayload() *models.ZsrvResponse
func (*ListGitReposInternalServerError) IsClientError ¶
func (o *ListGitReposInternalServerError) IsClientError() bool
IsClientError returns true when this kubernetes git ops list git repos internal server error response has a 4xx status code
func (*ListGitReposInternalServerError) IsCode ¶
func (o *ListGitReposInternalServerError) IsCode(code int) bool
IsCode returns true when this kubernetes git ops list git repos internal server error response a status code equal to that given
func (*ListGitReposInternalServerError) IsRedirect ¶
func (o *ListGitReposInternalServerError) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops list git repos internal server error response has a 3xx status code
func (*ListGitReposInternalServerError) IsServerError ¶
func (o *ListGitReposInternalServerError) IsServerError() bool
IsServerError returns true when this kubernetes git ops list git repos internal server error response has a 5xx status code
func (*ListGitReposInternalServerError) IsSuccess ¶
func (o *ListGitReposInternalServerError) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops list git repos internal server error response has a 2xx status code
func (*ListGitReposInternalServerError) String ¶
func (o *ListGitReposInternalServerError) String() string
type ListGitReposOK ¶
type ListGitReposOK struct {
Payload *models.GitRepoListResponse
}
ListGitReposOK describes a response with status code 200, with default header values.
Successfully retrieved GitRepo configuration list
func NewListGitReposOK ¶
func NewListGitReposOK() *ListGitReposOK
NewListGitReposOK creates a ListGitReposOK with default headers values
func (*ListGitReposOK) Code ¶
func (o *ListGitReposOK) Code() int
Code gets the status code for the kubernetes git ops list git repos o k response
func (*ListGitReposOK) Error ¶
func (o *ListGitReposOK) Error() string
func (*ListGitReposOK) GetPayload ¶
func (o *ListGitReposOK) GetPayload() *models.GitRepoListResponse
func (*ListGitReposOK) IsClientError ¶
func (o *ListGitReposOK) IsClientError() bool
IsClientError returns true when this kubernetes git ops list git repos o k response has a 4xx status code
func (*ListGitReposOK) IsCode ¶
func (o *ListGitReposOK) IsCode(code int) bool
IsCode returns true when this kubernetes git ops list git repos o k response a status code equal to that given
func (*ListGitReposOK) IsRedirect ¶
func (o *ListGitReposOK) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops list git repos o k response has a 3xx status code
func (*ListGitReposOK) IsServerError ¶
func (o *ListGitReposOK) IsServerError() bool
IsServerError returns true when this kubernetes git ops list git repos o k response has a 5xx status code
func (*ListGitReposOK) IsSuccess ¶
func (o *ListGitReposOK) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops list git repos o k response has a 2xx status code
func (*ListGitReposOK) String ¶
func (o *ListGitReposOK) String() string
type ListGitReposParams ¶
type ListGitReposParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListGitReposParams contains all the parameters to send to the API endpoint
for the kubernetes git ops list git repos operation. Typically these are written to a http.Request.
func NewListGitReposParams ¶
func NewListGitReposParams() *ListGitReposParams
NewListGitReposParams creates a new ListGitReposParams 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 NewListGitReposParamsWithContext ¶
func NewListGitReposParamsWithContext(ctx context.Context) *ListGitReposParams
NewListGitReposParamsWithContext creates a new ListGitReposParams object with the ability to set a context for a request.
func NewListGitReposParamsWithHTTPClient ¶
func NewListGitReposParamsWithHTTPClient(client *http.Client) *ListGitReposParams
NewListGitReposParamsWithHTTPClient creates a new ListGitReposParams object with the ability to set a custom HTTPClient for a request.
func NewListGitReposParamsWithTimeout ¶
func NewListGitReposParamsWithTimeout(timeout time.Duration) *ListGitReposParams
NewListGitReposParamsWithTimeout creates a new ListGitReposParams object with the ability to set a timeout on a request.
func (*ListGitReposParams) SetContext ¶
func (o *ListGitReposParams) SetContext(ctx context.Context)
SetContext adds the context to the kubernetes git ops list git repos params
func (*ListGitReposParams) SetDefaults ¶
func (o *ListGitReposParams) SetDefaults()
SetDefaults hydrates default values in the kubernetes git ops list git repos params (not the query body).
All values with no default are reset to their zero value.
func (*ListGitReposParams) SetHTTPClient ¶
func (o *ListGitReposParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the kubernetes git ops list git repos params
func (*ListGitReposParams) SetTimeout ¶
func (o *ListGitReposParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the kubernetes git ops list git repos params
func (*ListGitReposParams) SetXRequestID ¶
func (o *ListGitReposParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the kubernetes git ops list git repos params
func (*ListGitReposParams) WithContext ¶
func (o *ListGitReposParams) WithContext(ctx context.Context) *ListGitReposParams
WithContext adds the context to the kubernetes git ops list git repos params
func (*ListGitReposParams) WithDefaults ¶
func (o *ListGitReposParams) WithDefaults() *ListGitReposParams
WithDefaults hydrates default values in the kubernetes git ops list git repos params (not the query body).
All values with no default are reset to their zero value.
func (*ListGitReposParams) WithHTTPClient ¶
func (o *ListGitReposParams) WithHTTPClient(client *http.Client) *ListGitReposParams
WithHTTPClient adds the HTTPClient to the kubernetes git ops list git repos params
func (*ListGitReposParams) WithTimeout ¶
func (o *ListGitReposParams) WithTimeout(timeout time.Duration) *ListGitReposParams
WithTimeout adds the timeout to the kubernetes git ops list git repos params
func (*ListGitReposParams) WithXRequestID ¶
func (o *ListGitReposParams) WithXRequestID(xRequestID *string) *ListGitReposParams
WithXRequestID adds the xRequestID to the kubernetes git ops list git repos params
func (*ListGitReposParams) WriteToRequest ¶
func (o *ListGitReposParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListGitReposReader ¶
type ListGitReposReader struct {
// contains filtered or unexported fields
}
ListGitReposReader is a Reader for the ListGitRepos structure.
func (*ListGitReposReader) ReadResponse ¶
func (o *ListGitReposReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ListGitReposUnauthorized ¶
type ListGitReposUnauthorized struct {
}
ListGitReposUnauthorized describes a response with status code 401, with default header values.
Unauthorized. Authentication credentials are missing or invalid.
func NewListGitReposUnauthorized ¶
func NewListGitReposUnauthorized() *ListGitReposUnauthorized
NewListGitReposUnauthorized creates a ListGitReposUnauthorized with default headers values
func (*ListGitReposUnauthorized) Code ¶
func (o *ListGitReposUnauthorized) Code() int
Code gets the status code for the kubernetes git ops list git repos unauthorized response
func (*ListGitReposUnauthorized) Error ¶
func (o *ListGitReposUnauthorized) Error() string
func (*ListGitReposUnauthorized) GetPayload ¶
func (o *ListGitReposUnauthorized) GetPayload() *models.ZsrvResponse
func (*ListGitReposUnauthorized) IsClientError ¶
func (o *ListGitReposUnauthorized) IsClientError() bool
IsClientError returns true when this kubernetes git ops list git repos unauthorized response has a 4xx status code
func (*ListGitReposUnauthorized) IsCode ¶
func (o *ListGitReposUnauthorized) IsCode(code int) bool
IsCode returns true when this kubernetes git ops list git repos unauthorized response a status code equal to that given
func (*ListGitReposUnauthorized) IsRedirect ¶
func (o *ListGitReposUnauthorized) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops list git repos unauthorized response has a 3xx status code
func (*ListGitReposUnauthorized) IsServerError ¶
func (o *ListGitReposUnauthorized) IsServerError() bool
IsServerError returns true when this kubernetes git ops list git repos unauthorized response has a 5xx status code
func (*ListGitReposUnauthorized) IsSuccess ¶
func (o *ListGitReposUnauthorized) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops list git repos unauthorized response has a 2xx status code
func (*ListGitReposUnauthorized) String ¶
func (o *ListGitReposUnauthorized) String() string
type UpdateGitRepoBadRequest ¶
type UpdateGitRepoBadRequest struct {
Payload *models.ZsrvResponse
}
UpdateGitRepoBadRequest describes a response with status code 400, with default header values.
Bad Request. Invalid GitRepo configuration or missing required fields.
func NewUpdateGitRepoBadRequest ¶
func NewUpdateGitRepoBadRequest() *UpdateGitRepoBadRequest
NewUpdateGitRepoBadRequest creates a UpdateGitRepoBadRequest with default headers values
func (*UpdateGitRepoBadRequest) Code ¶
func (o *UpdateGitRepoBadRequest) Code() int
Code gets the status code for the kubernetes git ops update git repo bad request response
func (*UpdateGitRepoBadRequest) Error ¶
func (o *UpdateGitRepoBadRequest) Error() string
func (*UpdateGitRepoBadRequest) GetPayload ¶
func (o *UpdateGitRepoBadRequest) GetPayload() *models.ZsrvResponse
func (*UpdateGitRepoBadRequest) IsClientError ¶
func (o *UpdateGitRepoBadRequest) IsClientError() bool
IsClientError returns true when this kubernetes git ops update git repo bad request response has a 4xx status code
func (*UpdateGitRepoBadRequest) IsCode ¶
func (o *UpdateGitRepoBadRequest) IsCode(code int) bool
IsCode returns true when this kubernetes git ops update git repo bad request response a status code equal to that given
func (*UpdateGitRepoBadRequest) IsRedirect ¶
func (o *UpdateGitRepoBadRequest) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops update git repo bad request response has a 3xx status code
func (*UpdateGitRepoBadRequest) IsServerError ¶
func (o *UpdateGitRepoBadRequest) IsServerError() bool
IsServerError returns true when this kubernetes git ops update git repo bad request response has a 5xx status code
func (*UpdateGitRepoBadRequest) IsSuccess ¶
func (o *UpdateGitRepoBadRequest) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops update git repo bad request response has a 2xx status code
func (*UpdateGitRepoBadRequest) String ¶
func (o *UpdateGitRepoBadRequest) String() string
type UpdateGitRepoBody ¶
type UpdateGitRepoBody struct {
// Data specification for the GitRepo (required)
// Required: true
Data *models.GitRepoData `json:"data"`
// Metadata for the GitRepo (name cannot be updated, required)
// Required: true
Metadata *models.GitRepoMetadata `json:"metadata"`
}
UpdateGitRepoBody GitRepo update request // // Request message for updating an existing GitRepo configuration swagger:model UpdateGitRepoBody
func (*UpdateGitRepoBody) ContextValidate ¶
ContextValidate validate this kubernetes git ops update git repo body based on the context it is used
func (*UpdateGitRepoBody) MarshalBinary ¶
func (o *UpdateGitRepoBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateGitRepoBody) UnmarshalBinary ¶
func (o *UpdateGitRepoBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateGitRepoConflict ¶
type UpdateGitRepoConflict struct {
Payload *models.ZsrvResponse
}
UpdateGitRepoConflict describes a response with status code 409, with default header values.
Conflict. Cannot update GitRepo configuration due to conflicting state.
func NewUpdateGitRepoConflict ¶
func NewUpdateGitRepoConflict() *UpdateGitRepoConflict
NewUpdateGitRepoConflict creates a UpdateGitRepoConflict with default headers values
func (*UpdateGitRepoConflict) Code ¶
func (o *UpdateGitRepoConflict) Code() int
Code gets the status code for the kubernetes git ops update git repo conflict response
func (*UpdateGitRepoConflict) Error ¶
func (o *UpdateGitRepoConflict) Error() string
func (*UpdateGitRepoConflict) GetPayload ¶
func (o *UpdateGitRepoConflict) GetPayload() *models.ZsrvResponse
func (*UpdateGitRepoConflict) IsClientError ¶
func (o *UpdateGitRepoConflict) IsClientError() bool
IsClientError returns true when this kubernetes git ops update git repo conflict response has a 4xx status code
func (*UpdateGitRepoConflict) IsCode ¶
func (o *UpdateGitRepoConflict) IsCode(code int) bool
IsCode returns true when this kubernetes git ops update git repo conflict response a status code equal to that given
func (*UpdateGitRepoConflict) IsRedirect ¶
func (o *UpdateGitRepoConflict) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops update git repo conflict response has a 3xx status code
func (*UpdateGitRepoConflict) IsServerError ¶
func (o *UpdateGitRepoConflict) IsServerError() bool
IsServerError returns true when this kubernetes git ops update git repo conflict response has a 5xx status code
func (*UpdateGitRepoConflict) IsSuccess ¶
func (o *UpdateGitRepoConflict) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops update git repo conflict response has a 2xx status code
func (*UpdateGitRepoConflict) String ¶
func (o *UpdateGitRepoConflict) String() string
type UpdateGitRepoDefault ¶
type UpdateGitRepoDefault struct {
Payload *models.GooglerpcStatus
// contains filtered or unexported fields
}
UpdateGitRepoDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewUpdateGitRepoDefault ¶
func NewUpdateGitRepoDefault(code int) *UpdateGitRepoDefault
NewUpdateGitRepoDefault creates a UpdateGitRepoDefault with default headers values
func (*UpdateGitRepoDefault) Code ¶
func (o *UpdateGitRepoDefault) Code() int
Code gets the status code for the kubernetes git ops update git repo default response
func (*UpdateGitRepoDefault) Error ¶
func (o *UpdateGitRepoDefault) Error() string
func (*UpdateGitRepoDefault) GetPayload ¶
func (o *UpdateGitRepoDefault) GetPayload() *models.GooglerpcStatus
func (*UpdateGitRepoDefault) IsClientError ¶
func (o *UpdateGitRepoDefault) IsClientError() bool
IsClientError returns true when this kubernetes git ops update git repo default response has a 4xx status code
func (*UpdateGitRepoDefault) IsCode ¶
func (o *UpdateGitRepoDefault) IsCode(code int) bool
IsCode returns true when this kubernetes git ops update git repo default response a status code equal to that given
func (*UpdateGitRepoDefault) IsRedirect ¶
func (o *UpdateGitRepoDefault) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops update git repo default response has a 3xx status code
func (*UpdateGitRepoDefault) IsServerError ¶
func (o *UpdateGitRepoDefault) IsServerError() bool
IsServerError returns true when this kubernetes git ops update git repo default response has a 5xx status code
func (*UpdateGitRepoDefault) IsSuccess ¶
func (o *UpdateGitRepoDefault) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops update git repo default response has a 2xx status code
func (*UpdateGitRepoDefault) String ¶
func (o *UpdateGitRepoDefault) String() string
type UpdateGitRepoForbidden ¶
type UpdateGitRepoForbidden struct {
Payload *models.ZsrvResponse
}
UpdateGitRepoForbidden describes a response with status code 403, with default header values.
Forbidden. User does not have permission to update this GitRepo configuration.
func NewUpdateGitRepoForbidden ¶
func NewUpdateGitRepoForbidden() *UpdateGitRepoForbidden
NewUpdateGitRepoForbidden creates a UpdateGitRepoForbidden with default headers values
func (*UpdateGitRepoForbidden) Code ¶
func (o *UpdateGitRepoForbidden) Code() int
Code gets the status code for the kubernetes git ops update git repo forbidden response
func (*UpdateGitRepoForbidden) Error ¶
func (o *UpdateGitRepoForbidden) Error() string
func (*UpdateGitRepoForbidden) GetPayload ¶
func (o *UpdateGitRepoForbidden) GetPayload() *models.ZsrvResponse
func (*UpdateGitRepoForbidden) IsClientError ¶
func (o *UpdateGitRepoForbidden) IsClientError() bool
IsClientError returns true when this kubernetes git ops update git repo forbidden response has a 4xx status code
func (*UpdateGitRepoForbidden) IsCode ¶
func (o *UpdateGitRepoForbidden) IsCode(code int) bool
IsCode returns true when this kubernetes git ops update git repo forbidden response a status code equal to that given
func (*UpdateGitRepoForbidden) IsRedirect ¶
func (o *UpdateGitRepoForbidden) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops update git repo forbidden response has a 3xx status code
func (*UpdateGitRepoForbidden) IsServerError ¶
func (o *UpdateGitRepoForbidden) IsServerError() bool
IsServerError returns true when this kubernetes git ops update git repo forbidden response has a 5xx status code
func (*UpdateGitRepoForbidden) IsSuccess ¶
func (o *UpdateGitRepoForbidden) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops update git repo forbidden response has a 2xx status code
func (*UpdateGitRepoForbidden) String ¶
func (o *UpdateGitRepoForbidden) String() string
type UpdateGitRepoInternalServerError ¶
type UpdateGitRepoInternalServerError struct {
Payload *models.ZsrvResponse
}
UpdateGitRepoInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. Failed to update GitRepo configuration due to server error.
func NewUpdateGitRepoInternalServerError ¶
func NewUpdateGitRepoInternalServerError() *UpdateGitRepoInternalServerError
NewUpdateGitRepoInternalServerError creates a UpdateGitRepoInternalServerError with default headers values
func (*UpdateGitRepoInternalServerError) Code ¶
func (o *UpdateGitRepoInternalServerError) Code() int
Code gets the status code for the kubernetes git ops update git repo internal server error response
func (*UpdateGitRepoInternalServerError) Error ¶
func (o *UpdateGitRepoInternalServerError) Error() string
func (*UpdateGitRepoInternalServerError) GetPayload ¶
func (o *UpdateGitRepoInternalServerError) GetPayload() *models.ZsrvResponse
func (*UpdateGitRepoInternalServerError) IsClientError ¶
func (o *UpdateGitRepoInternalServerError) IsClientError() bool
IsClientError returns true when this kubernetes git ops update git repo internal server error response has a 4xx status code
func (*UpdateGitRepoInternalServerError) IsCode ¶
func (o *UpdateGitRepoInternalServerError) IsCode(code int) bool
IsCode returns true when this kubernetes git ops update git repo internal server error response a status code equal to that given
func (*UpdateGitRepoInternalServerError) IsRedirect ¶
func (o *UpdateGitRepoInternalServerError) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops update git repo internal server error response has a 3xx status code
func (*UpdateGitRepoInternalServerError) IsServerError ¶
func (o *UpdateGitRepoInternalServerError) IsServerError() bool
IsServerError returns true when this kubernetes git ops update git repo internal server error response has a 5xx status code
func (*UpdateGitRepoInternalServerError) IsSuccess ¶
func (o *UpdateGitRepoInternalServerError) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops update git repo internal server error response has a 2xx status code
func (*UpdateGitRepoInternalServerError) String ¶
func (o *UpdateGitRepoInternalServerError) String() string
type UpdateGitRepoNotFound ¶
type UpdateGitRepoNotFound struct {
Payload *models.ZsrvResponse
}
UpdateGitRepoNotFound describes a response with status code 404, with default header values.
Not Found. GitRepo configuration with the specified ID does not exist.
func NewUpdateGitRepoNotFound ¶
func NewUpdateGitRepoNotFound() *UpdateGitRepoNotFound
NewUpdateGitRepoNotFound creates a UpdateGitRepoNotFound with default headers values
func (*UpdateGitRepoNotFound) Code ¶
func (o *UpdateGitRepoNotFound) Code() int
Code gets the status code for the kubernetes git ops update git repo not found response
func (*UpdateGitRepoNotFound) Error ¶
func (o *UpdateGitRepoNotFound) Error() string
func (*UpdateGitRepoNotFound) GetPayload ¶
func (o *UpdateGitRepoNotFound) GetPayload() *models.ZsrvResponse
func (*UpdateGitRepoNotFound) IsClientError ¶
func (o *UpdateGitRepoNotFound) IsClientError() bool
IsClientError returns true when this kubernetes git ops update git repo not found response has a 4xx status code
func (*UpdateGitRepoNotFound) IsCode ¶
func (o *UpdateGitRepoNotFound) IsCode(code int) bool
IsCode returns true when this kubernetes git ops update git repo not found response a status code equal to that given
func (*UpdateGitRepoNotFound) IsRedirect ¶
func (o *UpdateGitRepoNotFound) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops update git repo not found response has a 3xx status code
func (*UpdateGitRepoNotFound) IsServerError ¶
func (o *UpdateGitRepoNotFound) IsServerError() bool
IsServerError returns true when this kubernetes git ops update git repo not found response has a 5xx status code
func (*UpdateGitRepoNotFound) IsSuccess ¶
func (o *UpdateGitRepoNotFound) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops update git repo not found response has a 2xx status code
func (*UpdateGitRepoNotFound) String ¶
func (o *UpdateGitRepoNotFound) String() string
type UpdateGitRepoOK ¶
type UpdateGitRepoOK struct {
Payload *models.ZsrvResponse
}
UpdateGitRepoOK describes a response with status code 200, with default header values.
Successfully updated GitRepo configuration
func NewUpdateGitRepoOK ¶
func NewUpdateGitRepoOK() *UpdateGitRepoOK
NewUpdateGitRepoOK creates a UpdateGitRepoOK with default headers values
func (*UpdateGitRepoOK) Code ¶
func (o *UpdateGitRepoOK) Code() int
Code gets the status code for the kubernetes git ops update git repo o k response
func (*UpdateGitRepoOK) Error ¶
func (o *UpdateGitRepoOK) Error() string
func (*UpdateGitRepoOK) GetPayload ¶
func (o *UpdateGitRepoOK) GetPayload() *models.ZsrvResponse
func (*UpdateGitRepoOK) IsClientError ¶
func (o *UpdateGitRepoOK) IsClientError() bool
IsClientError returns true when this kubernetes git ops update git repo o k response has a 4xx status code
func (*UpdateGitRepoOK) IsCode ¶
func (o *UpdateGitRepoOK) IsCode(code int) bool
IsCode returns true when this kubernetes git ops update git repo o k response a status code equal to that given
func (*UpdateGitRepoOK) IsRedirect ¶
func (o *UpdateGitRepoOK) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops update git repo o k response has a 3xx status code
func (*UpdateGitRepoOK) IsServerError ¶
func (o *UpdateGitRepoOK) IsServerError() bool
IsServerError returns true when this kubernetes git ops update git repo o k response has a 5xx status code
func (*UpdateGitRepoOK) IsSuccess ¶
func (o *UpdateGitRepoOK) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops update git repo o k response has a 2xx status code
func (*UpdateGitRepoOK) String ¶
func (o *UpdateGitRepoOK) String() string
type UpdateGitRepoParams ¶
type UpdateGitRepoParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
// Body.
Body UpdateGitRepoBody
/* GitrepoID.
Unique identifier of the GitRepo to update (required). Example: 'gitrepo-abc123'
*/
GitrepoID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateGitRepoParams contains all the parameters to send to the API endpoint
for the kubernetes git ops update git repo operation. Typically these are written to a http.Request.
func NewUpdateGitRepoParams ¶
func NewUpdateGitRepoParams() *UpdateGitRepoParams
NewUpdateGitRepoParams creates a new UpdateGitRepoParams 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 NewUpdateGitRepoParamsWithContext ¶
func NewUpdateGitRepoParamsWithContext(ctx context.Context) *UpdateGitRepoParams
NewUpdateGitRepoParamsWithContext creates a new UpdateGitRepoParams object with the ability to set a context for a request.
func NewUpdateGitRepoParamsWithHTTPClient ¶
func NewUpdateGitRepoParamsWithHTTPClient(client *http.Client) *UpdateGitRepoParams
NewUpdateGitRepoParamsWithHTTPClient creates a new UpdateGitRepoParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateGitRepoParamsWithTimeout ¶
func NewUpdateGitRepoParamsWithTimeout(timeout time.Duration) *UpdateGitRepoParams
NewUpdateGitRepoParamsWithTimeout creates a new UpdateGitRepoParams object with the ability to set a timeout on a request.
func (*UpdateGitRepoParams) SetBody ¶
func (o *UpdateGitRepoParams) SetBody(body UpdateGitRepoBody)
SetBody adds the body to the kubernetes git ops update git repo params
func (*UpdateGitRepoParams) SetContext ¶
func (o *UpdateGitRepoParams) SetContext(ctx context.Context)
SetContext adds the context to the kubernetes git ops update git repo params
func (*UpdateGitRepoParams) SetDefaults ¶
func (o *UpdateGitRepoParams) SetDefaults()
SetDefaults hydrates default values in the kubernetes git ops update git repo params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateGitRepoParams) SetGitrepoID ¶
func (o *UpdateGitRepoParams) SetGitrepoID(gitrepoID string)
SetGitrepoID adds the gitrepoId to the kubernetes git ops update git repo params
func (*UpdateGitRepoParams) SetHTTPClient ¶
func (o *UpdateGitRepoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the kubernetes git ops update git repo params
func (*UpdateGitRepoParams) SetTimeout ¶
func (o *UpdateGitRepoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the kubernetes git ops update git repo params
func (*UpdateGitRepoParams) SetXRequestID ¶
func (o *UpdateGitRepoParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the kubernetes git ops update git repo params
func (*UpdateGitRepoParams) WithBody ¶
func (o *UpdateGitRepoParams) WithBody(body UpdateGitRepoBody) *UpdateGitRepoParams
WithBody adds the body to the kubernetes git ops update git repo params
func (*UpdateGitRepoParams) WithContext ¶
func (o *UpdateGitRepoParams) WithContext(ctx context.Context) *UpdateGitRepoParams
WithContext adds the context to the kubernetes git ops update git repo params
func (*UpdateGitRepoParams) WithDefaults ¶
func (o *UpdateGitRepoParams) WithDefaults() *UpdateGitRepoParams
WithDefaults hydrates default values in the kubernetes git ops update git repo params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateGitRepoParams) WithGitrepoID ¶
func (o *UpdateGitRepoParams) WithGitrepoID(gitrepoID string) *UpdateGitRepoParams
WithGitrepoID adds the gitrepoID to the kubernetes git ops update git repo params
func (*UpdateGitRepoParams) WithHTTPClient ¶
func (o *UpdateGitRepoParams) WithHTTPClient(client *http.Client) *UpdateGitRepoParams
WithHTTPClient adds the HTTPClient to the kubernetes git ops update git repo params
func (*UpdateGitRepoParams) WithTimeout ¶
func (o *UpdateGitRepoParams) WithTimeout(timeout time.Duration) *UpdateGitRepoParams
WithTimeout adds the timeout to the kubernetes git ops update git repo params
func (*UpdateGitRepoParams) WithXRequestID ¶
func (o *UpdateGitRepoParams) WithXRequestID(xRequestID *string) *UpdateGitRepoParams
WithXRequestID adds the xRequestID to the kubernetes git ops update git repo params
func (*UpdateGitRepoParams) WriteToRequest ¶
func (o *UpdateGitRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateGitRepoReader ¶
type UpdateGitRepoReader struct {
// contains filtered or unexported fields
}
UpdateGitRepoReader is a Reader for the UpdateGitRepo structure.
func (*UpdateGitRepoReader) ReadResponse ¶
func (o *UpdateGitRepoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type UpdateGitRepoUnauthorized ¶
type UpdateGitRepoUnauthorized struct {
}
UpdateGitRepoUnauthorized describes a response with status code 401, with default header values.
Unauthorized. Authentication credentials are missing or invalid.
func NewUpdateGitRepoUnauthorized ¶
func NewUpdateGitRepoUnauthorized() *UpdateGitRepoUnauthorized
NewUpdateGitRepoUnauthorized creates a UpdateGitRepoUnauthorized with default headers values
func (*UpdateGitRepoUnauthorized) Code ¶
func (o *UpdateGitRepoUnauthorized) Code() int
Code gets the status code for the kubernetes git ops update git repo unauthorized response
func (*UpdateGitRepoUnauthorized) Error ¶
func (o *UpdateGitRepoUnauthorized) Error() string
func (*UpdateGitRepoUnauthorized) GetPayload ¶
func (o *UpdateGitRepoUnauthorized) GetPayload() *models.ZsrvResponse
func (*UpdateGitRepoUnauthorized) IsClientError ¶
func (o *UpdateGitRepoUnauthorized) IsClientError() bool
IsClientError returns true when this kubernetes git ops update git repo unauthorized response has a 4xx status code
func (*UpdateGitRepoUnauthorized) IsCode ¶
func (o *UpdateGitRepoUnauthorized) IsCode(code int) bool
IsCode returns true when this kubernetes git ops update git repo unauthorized response a status code equal to that given
func (*UpdateGitRepoUnauthorized) IsRedirect ¶
func (o *UpdateGitRepoUnauthorized) IsRedirect() bool
IsRedirect returns true when this kubernetes git ops update git repo unauthorized response has a 3xx status code
func (*UpdateGitRepoUnauthorized) IsServerError ¶
func (o *UpdateGitRepoUnauthorized) IsServerError() bool
IsServerError returns true when this kubernetes git ops update git repo unauthorized response has a 5xx status code
func (*UpdateGitRepoUnauthorized) IsSuccess ¶
func (o *UpdateGitRepoUnauthorized) IsSuccess() bool
IsSuccess returns true when this kubernetes git ops update git repo unauthorized response has a 2xx status code
func (*UpdateGitRepoUnauthorized) String ¶
func (o *UpdateGitRepoUnauthorized) String() string