repositorynotification

package
v0.0.0-...-eff1da9 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for repositorynotification API

func (*Client) CreateRepoNotification

CreateRepoNotification create repo notification API

func (*Client) DeleteRepoNotification

DeleteRepoNotification Deletes the specified notification.

func (*Client) GetRepoNotification

func (a *Client) GetRepoNotification(params *GetRepoNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoNotificationOK, error)

GetRepoNotification Get information for the specified notification.

func (*Client) ListRepoNotifications

func (a *Client) ListRepoNotifications(params *ListRepoNotificationsParams, authInfo runtime.ClientAuthInfoWriter) (*ListRepoNotificationsOK, error)

ListRepoNotifications List the notifications for the specified repository.

func (*Client) ResetRepositoryNotificationFailures

ResetRepositoryNotificationFailures Resets repository notification to 0 failures.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TestRepoNotification

func (a *Client) TestRepoNotification(params *TestRepoNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*TestRepoNotificationCreated, error)

TestRepoNotification Queues a test notification for this repository.

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new repositorynotification API client.

type CreateRepoNotificationBadRequest

type CreateRepoNotificationBadRequest struct {
	Payload *models.APIError
}

CreateRepoNotificationBadRequest handles this case with default header values.

Bad Request

func NewCreateRepoNotificationBadRequest

func NewCreateRepoNotificationBadRequest() *CreateRepoNotificationBadRequest

NewCreateRepoNotificationBadRequest creates a CreateRepoNotificationBadRequest with default headers values

func (*CreateRepoNotificationBadRequest) Error

func (*CreateRepoNotificationBadRequest) GetPayload

type CreateRepoNotificationCreated

type CreateRepoNotificationCreated struct {
}

CreateRepoNotificationCreated handles this case with default header values.

Successful creation

func NewCreateRepoNotificationCreated

func NewCreateRepoNotificationCreated() *CreateRepoNotificationCreated

NewCreateRepoNotificationCreated creates a CreateRepoNotificationCreated with default headers values

func (*CreateRepoNotificationCreated) Error

type CreateRepoNotificationForbidden

type CreateRepoNotificationForbidden struct {
	Payload *models.APIError
}

CreateRepoNotificationForbidden handles this case with default header values.

Unauthorized access

func NewCreateRepoNotificationForbidden

func NewCreateRepoNotificationForbidden() *CreateRepoNotificationForbidden

NewCreateRepoNotificationForbidden creates a CreateRepoNotificationForbidden with default headers values

func (*CreateRepoNotificationForbidden) Error

func (*CreateRepoNotificationForbidden) GetPayload

type CreateRepoNotificationNotFound

type CreateRepoNotificationNotFound struct {
	Payload *models.APIError
}

CreateRepoNotificationNotFound handles this case with default header values.

Not found

func NewCreateRepoNotificationNotFound

func NewCreateRepoNotificationNotFound() *CreateRepoNotificationNotFound

NewCreateRepoNotificationNotFound creates a CreateRepoNotificationNotFound with default headers values

func (*CreateRepoNotificationNotFound) Error

func (*CreateRepoNotificationNotFound) GetPayload

type CreateRepoNotificationParams

type CreateRepoNotificationParams struct {

	/*Body
	  Request body contents.

	*/
	Body *models.NotificationCreateRequest
	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string

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

CreateRepoNotificationParams contains all the parameters to send to the API endpoint for the create repo notification operation typically these are written to a http.Request

func NewCreateRepoNotificationParams

func NewCreateRepoNotificationParams() *CreateRepoNotificationParams

NewCreateRepoNotificationParams creates a new CreateRepoNotificationParams object with the default values initialized.

func NewCreateRepoNotificationParamsWithContext

func NewCreateRepoNotificationParamsWithContext(ctx context.Context) *CreateRepoNotificationParams

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

func NewCreateRepoNotificationParamsWithHTTPClient

func NewCreateRepoNotificationParamsWithHTTPClient(client *http.Client) *CreateRepoNotificationParams

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

func NewCreateRepoNotificationParamsWithTimeout

func NewCreateRepoNotificationParamsWithTimeout(timeout time.Duration) *CreateRepoNotificationParams

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

func (*CreateRepoNotificationParams) SetBody

SetBody adds the body to the create repo notification params

func (*CreateRepoNotificationParams) SetContext

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

SetContext adds the context to the create repo notification params

func (*CreateRepoNotificationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create repo notification params

func (*CreateRepoNotificationParams) SetRepository

func (o *CreateRepoNotificationParams) SetRepository(repository string)

SetRepository adds the repository to the create repo notification params

func (*CreateRepoNotificationParams) SetTimeout

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

SetTimeout adds the timeout to the create repo notification params

func (*CreateRepoNotificationParams) WithBody

WithBody adds the body to the create repo notification params

func (*CreateRepoNotificationParams) WithContext

WithContext adds the context to the create repo notification params

func (*CreateRepoNotificationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create repo notification params

func (*CreateRepoNotificationParams) WithRepository

func (o *CreateRepoNotificationParams) WithRepository(repository string) *CreateRepoNotificationParams

WithRepository adds the repository to the create repo notification params

func (*CreateRepoNotificationParams) WithTimeout

WithTimeout adds the timeout to the create repo notification params

func (*CreateRepoNotificationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateRepoNotificationReader

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

CreateRepoNotificationReader is a Reader for the CreateRepoNotification structure.

func (*CreateRepoNotificationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateRepoNotificationUnauthorized

type CreateRepoNotificationUnauthorized struct {
	Payload *models.APIError
}

CreateRepoNotificationUnauthorized handles this case with default header values.

Session required

func NewCreateRepoNotificationUnauthorized

func NewCreateRepoNotificationUnauthorized() *CreateRepoNotificationUnauthorized

NewCreateRepoNotificationUnauthorized creates a CreateRepoNotificationUnauthorized with default headers values

func (*CreateRepoNotificationUnauthorized) Error

func (*CreateRepoNotificationUnauthorized) GetPayload

type DeleteRepoNotificationBadRequest

type DeleteRepoNotificationBadRequest struct {
	Payload *models.APIError
}

DeleteRepoNotificationBadRequest handles this case with default header values.

Bad Request

func NewDeleteRepoNotificationBadRequest

func NewDeleteRepoNotificationBadRequest() *DeleteRepoNotificationBadRequest

NewDeleteRepoNotificationBadRequest creates a DeleteRepoNotificationBadRequest with default headers values

func (*DeleteRepoNotificationBadRequest) Error

func (*DeleteRepoNotificationBadRequest) GetPayload

type DeleteRepoNotificationForbidden

type DeleteRepoNotificationForbidden struct {
	Payload *models.APIError
}

DeleteRepoNotificationForbidden handles this case with default header values.

Unauthorized access

func NewDeleteRepoNotificationForbidden

func NewDeleteRepoNotificationForbidden() *DeleteRepoNotificationForbidden

NewDeleteRepoNotificationForbidden creates a DeleteRepoNotificationForbidden with default headers values

func (*DeleteRepoNotificationForbidden) Error

func (*DeleteRepoNotificationForbidden) GetPayload

type DeleteRepoNotificationNoContent

type DeleteRepoNotificationNoContent struct {
}

DeleteRepoNotificationNoContent handles this case with default header values.

Deleted

func NewDeleteRepoNotificationNoContent

func NewDeleteRepoNotificationNoContent() *DeleteRepoNotificationNoContent

NewDeleteRepoNotificationNoContent creates a DeleteRepoNotificationNoContent with default headers values

func (*DeleteRepoNotificationNoContent) Error

type DeleteRepoNotificationNotFound

type DeleteRepoNotificationNotFound struct {
	Payload *models.APIError
}

DeleteRepoNotificationNotFound handles this case with default header values.

Not found

func NewDeleteRepoNotificationNotFound

func NewDeleteRepoNotificationNotFound() *DeleteRepoNotificationNotFound

NewDeleteRepoNotificationNotFound creates a DeleteRepoNotificationNotFound with default headers values

func (*DeleteRepoNotificationNotFound) Error

func (*DeleteRepoNotificationNotFound) GetPayload

type DeleteRepoNotificationParams

type DeleteRepoNotificationParams struct {

	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string
	/*UUID
	  The UUID of the notification

	*/
	UUID string

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

DeleteRepoNotificationParams contains all the parameters to send to the API endpoint for the delete repo notification operation typically these are written to a http.Request

func NewDeleteRepoNotificationParams

func NewDeleteRepoNotificationParams() *DeleteRepoNotificationParams

NewDeleteRepoNotificationParams creates a new DeleteRepoNotificationParams object with the default values initialized.

func NewDeleteRepoNotificationParamsWithContext

func NewDeleteRepoNotificationParamsWithContext(ctx context.Context) *DeleteRepoNotificationParams

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

func NewDeleteRepoNotificationParamsWithHTTPClient

func NewDeleteRepoNotificationParamsWithHTTPClient(client *http.Client) *DeleteRepoNotificationParams

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

func NewDeleteRepoNotificationParamsWithTimeout

func NewDeleteRepoNotificationParamsWithTimeout(timeout time.Duration) *DeleteRepoNotificationParams

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

func (*DeleteRepoNotificationParams) SetContext

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

SetContext adds the context to the delete repo notification params

func (*DeleteRepoNotificationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete repo notification params

func (*DeleteRepoNotificationParams) SetRepository

func (o *DeleteRepoNotificationParams) SetRepository(repository string)

SetRepository adds the repository to the delete repo notification params

func (*DeleteRepoNotificationParams) SetTimeout

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

SetTimeout adds the timeout to the delete repo notification params

func (*DeleteRepoNotificationParams) SetUUID

func (o *DeleteRepoNotificationParams) SetUUID(uuid string)

SetUUID adds the uuid to the delete repo notification params

func (*DeleteRepoNotificationParams) WithContext

WithContext adds the context to the delete repo notification params

func (*DeleteRepoNotificationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete repo notification params

func (*DeleteRepoNotificationParams) WithRepository

func (o *DeleteRepoNotificationParams) WithRepository(repository string) *DeleteRepoNotificationParams

WithRepository adds the repository to the delete repo notification params

func (*DeleteRepoNotificationParams) WithTimeout

WithTimeout adds the timeout to the delete repo notification params

func (*DeleteRepoNotificationParams) WithUUID

WithUUID adds the uuid to the delete repo notification params

func (*DeleteRepoNotificationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRepoNotificationReader

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

DeleteRepoNotificationReader is a Reader for the DeleteRepoNotification structure.

func (*DeleteRepoNotificationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRepoNotificationUnauthorized

type DeleteRepoNotificationUnauthorized struct {
	Payload *models.APIError
}

DeleteRepoNotificationUnauthorized handles this case with default header values.

Session required

func NewDeleteRepoNotificationUnauthorized

func NewDeleteRepoNotificationUnauthorized() *DeleteRepoNotificationUnauthorized

NewDeleteRepoNotificationUnauthorized creates a DeleteRepoNotificationUnauthorized with default headers values

func (*DeleteRepoNotificationUnauthorized) Error

func (*DeleteRepoNotificationUnauthorized) GetPayload

type GetRepoNotificationBadRequest

type GetRepoNotificationBadRequest struct {
	Payload *models.APIError
}

GetRepoNotificationBadRequest handles this case with default header values.

Bad Request

func NewGetRepoNotificationBadRequest

func NewGetRepoNotificationBadRequest() *GetRepoNotificationBadRequest

NewGetRepoNotificationBadRequest creates a GetRepoNotificationBadRequest with default headers values

func (*GetRepoNotificationBadRequest) Error

func (*GetRepoNotificationBadRequest) GetPayload

type GetRepoNotificationForbidden

type GetRepoNotificationForbidden struct {
	Payload *models.APIError
}

GetRepoNotificationForbidden handles this case with default header values.

Unauthorized access

func NewGetRepoNotificationForbidden

func NewGetRepoNotificationForbidden() *GetRepoNotificationForbidden

NewGetRepoNotificationForbidden creates a GetRepoNotificationForbidden with default headers values

func (*GetRepoNotificationForbidden) Error

func (*GetRepoNotificationForbidden) GetPayload

func (o *GetRepoNotificationForbidden) GetPayload() *models.APIError

type GetRepoNotificationNotFound

type GetRepoNotificationNotFound struct {
	Payload *models.APIError
}

GetRepoNotificationNotFound handles this case with default header values.

Not found

func NewGetRepoNotificationNotFound

func NewGetRepoNotificationNotFound() *GetRepoNotificationNotFound

NewGetRepoNotificationNotFound creates a GetRepoNotificationNotFound with default headers values

func (*GetRepoNotificationNotFound) Error

func (*GetRepoNotificationNotFound) GetPayload

func (o *GetRepoNotificationNotFound) GetPayload() *models.APIError

type GetRepoNotificationOK

type GetRepoNotificationOK struct {
}

GetRepoNotificationOK handles this case with default header values.

Successful invocation

func NewGetRepoNotificationOK

func NewGetRepoNotificationOK() *GetRepoNotificationOK

NewGetRepoNotificationOK creates a GetRepoNotificationOK with default headers values

func (*GetRepoNotificationOK) Error

func (o *GetRepoNotificationOK) Error() string

type GetRepoNotificationParams

type GetRepoNotificationParams struct {

	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string
	/*UUID
	  The UUID of the notification

	*/
	UUID string

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

GetRepoNotificationParams contains all the parameters to send to the API endpoint for the get repo notification operation typically these are written to a http.Request

func NewGetRepoNotificationParams

func NewGetRepoNotificationParams() *GetRepoNotificationParams

NewGetRepoNotificationParams creates a new GetRepoNotificationParams object with the default values initialized.

func NewGetRepoNotificationParamsWithContext

func NewGetRepoNotificationParamsWithContext(ctx context.Context) *GetRepoNotificationParams

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

func NewGetRepoNotificationParamsWithHTTPClient

func NewGetRepoNotificationParamsWithHTTPClient(client *http.Client) *GetRepoNotificationParams

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

func NewGetRepoNotificationParamsWithTimeout

func NewGetRepoNotificationParamsWithTimeout(timeout time.Duration) *GetRepoNotificationParams

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

func (*GetRepoNotificationParams) SetContext

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

SetContext adds the context to the get repo notification params

func (*GetRepoNotificationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get repo notification params

func (*GetRepoNotificationParams) SetRepository

func (o *GetRepoNotificationParams) SetRepository(repository string)

SetRepository adds the repository to the get repo notification params

func (*GetRepoNotificationParams) SetTimeout

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

SetTimeout adds the timeout to the get repo notification params

func (*GetRepoNotificationParams) SetUUID

func (o *GetRepoNotificationParams) SetUUID(uuid string)

SetUUID adds the uuid to the get repo notification params

func (*GetRepoNotificationParams) WithContext

WithContext adds the context to the get repo notification params

func (*GetRepoNotificationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get repo notification params

func (*GetRepoNotificationParams) WithRepository

func (o *GetRepoNotificationParams) WithRepository(repository string) *GetRepoNotificationParams

WithRepository adds the repository to the get repo notification params

func (*GetRepoNotificationParams) WithTimeout

WithTimeout adds the timeout to the get repo notification params

func (*GetRepoNotificationParams) WithUUID

WithUUID adds the uuid to the get repo notification params

func (*GetRepoNotificationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRepoNotificationReader

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

GetRepoNotificationReader is a Reader for the GetRepoNotification structure.

func (*GetRepoNotificationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRepoNotificationUnauthorized

type GetRepoNotificationUnauthorized struct {
	Payload *models.APIError
}

GetRepoNotificationUnauthorized handles this case with default header values.

Session required

func NewGetRepoNotificationUnauthorized

func NewGetRepoNotificationUnauthorized() *GetRepoNotificationUnauthorized

NewGetRepoNotificationUnauthorized creates a GetRepoNotificationUnauthorized with default headers values

func (*GetRepoNotificationUnauthorized) Error

func (*GetRepoNotificationUnauthorized) GetPayload

type ListRepoNotificationsBadRequest

type ListRepoNotificationsBadRequest struct {
	Payload *models.APIError
}

ListRepoNotificationsBadRequest handles this case with default header values.

Bad Request

func NewListRepoNotificationsBadRequest

func NewListRepoNotificationsBadRequest() *ListRepoNotificationsBadRequest

NewListRepoNotificationsBadRequest creates a ListRepoNotificationsBadRequest with default headers values

func (*ListRepoNotificationsBadRequest) Error

func (*ListRepoNotificationsBadRequest) GetPayload

type ListRepoNotificationsForbidden

type ListRepoNotificationsForbidden struct {
	Payload *models.APIError
}

ListRepoNotificationsForbidden handles this case with default header values.

Unauthorized access

func NewListRepoNotificationsForbidden

func NewListRepoNotificationsForbidden() *ListRepoNotificationsForbidden

NewListRepoNotificationsForbidden creates a ListRepoNotificationsForbidden with default headers values

func (*ListRepoNotificationsForbidden) Error

func (*ListRepoNotificationsForbidden) GetPayload

type ListRepoNotificationsNotFound

type ListRepoNotificationsNotFound struct {
	Payload *models.APIError
}

ListRepoNotificationsNotFound handles this case with default header values.

Not found

func NewListRepoNotificationsNotFound

func NewListRepoNotificationsNotFound() *ListRepoNotificationsNotFound

NewListRepoNotificationsNotFound creates a ListRepoNotificationsNotFound with default headers values

func (*ListRepoNotificationsNotFound) Error

func (*ListRepoNotificationsNotFound) GetPayload

type ListRepoNotificationsOK

type ListRepoNotificationsOK struct {
}

ListRepoNotificationsOK handles this case with default header values.

Successful invocation

func NewListRepoNotificationsOK

func NewListRepoNotificationsOK() *ListRepoNotificationsOK

NewListRepoNotificationsOK creates a ListRepoNotificationsOK with default headers values

func (*ListRepoNotificationsOK) Error

func (o *ListRepoNotificationsOK) Error() string

type ListRepoNotificationsParams

type ListRepoNotificationsParams struct {

	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string

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

ListRepoNotificationsParams contains all the parameters to send to the API endpoint for the list repo notifications operation typically these are written to a http.Request

func NewListRepoNotificationsParams

func NewListRepoNotificationsParams() *ListRepoNotificationsParams

NewListRepoNotificationsParams creates a new ListRepoNotificationsParams object with the default values initialized.

func NewListRepoNotificationsParamsWithContext

func NewListRepoNotificationsParamsWithContext(ctx context.Context) *ListRepoNotificationsParams

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

func NewListRepoNotificationsParamsWithHTTPClient

func NewListRepoNotificationsParamsWithHTTPClient(client *http.Client) *ListRepoNotificationsParams

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

func NewListRepoNotificationsParamsWithTimeout

func NewListRepoNotificationsParamsWithTimeout(timeout time.Duration) *ListRepoNotificationsParams

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

func (*ListRepoNotificationsParams) SetContext

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

SetContext adds the context to the list repo notifications params

func (*ListRepoNotificationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list repo notifications params

func (*ListRepoNotificationsParams) SetRepository

func (o *ListRepoNotificationsParams) SetRepository(repository string)

SetRepository adds the repository to the list repo notifications params

func (*ListRepoNotificationsParams) SetTimeout

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

SetTimeout adds the timeout to the list repo notifications params

func (*ListRepoNotificationsParams) WithContext

WithContext adds the context to the list repo notifications params

func (*ListRepoNotificationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list repo notifications params

func (*ListRepoNotificationsParams) WithRepository

func (o *ListRepoNotificationsParams) WithRepository(repository string) *ListRepoNotificationsParams

WithRepository adds the repository to the list repo notifications params

func (*ListRepoNotificationsParams) WithTimeout

WithTimeout adds the timeout to the list repo notifications params

func (*ListRepoNotificationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListRepoNotificationsReader

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

ListRepoNotificationsReader is a Reader for the ListRepoNotifications structure.

func (*ListRepoNotificationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListRepoNotificationsUnauthorized

type ListRepoNotificationsUnauthorized struct {
	Payload *models.APIError
}

ListRepoNotificationsUnauthorized handles this case with default header values.

Session required

func NewListRepoNotificationsUnauthorized

func NewListRepoNotificationsUnauthorized() *ListRepoNotificationsUnauthorized

NewListRepoNotificationsUnauthorized creates a ListRepoNotificationsUnauthorized with default headers values

func (*ListRepoNotificationsUnauthorized) Error

func (*ListRepoNotificationsUnauthorized) GetPayload

type ResetRepositoryNotificationFailuresBadRequest

type ResetRepositoryNotificationFailuresBadRequest struct {
	Payload *models.APIError
}

ResetRepositoryNotificationFailuresBadRequest handles this case with default header values.

Bad Request

func NewResetRepositoryNotificationFailuresBadRequest

func NewResetRepositoryNotificationFailuresBadRequest() *ResetRepositoryNotificationFailuresBadRequest

NewResetRepositoryNotificationFailuresBadRequest creates a ResetRepositoryNotificationFailuresBadRequest with default headers values

func (*ResetRepositoryNotificationFailuresBadRequest) Error

func (*ResetRepositoryNotificationFailuresBadRequest) GetPayload

type ResetRepositoryNotificationFailuresCreated

type ResetRepositoryNotificationFailuresCreated struct {
}

ResetRepositoryNotificationFailuresCreated handles this case with default header values.

Successful creation

func NewResetRepositoryNotificationFailuresCreated

func NewResetRepositoryNotificationFailuresCreated() *ResetRepositoryNotificationFailuresCreated

NewResetRepositoryNotificationFailuresCreated creates a ResetRepositoryNotificationFailuresCreated with default headers values

func (*ResetRepositoryNotificationFailuresCreated) Error

type ResetRepositoryNotificationFailuresForbidden

type ResetRepositoryNotificationFailuresForbidden struct {
	Payload *models.APIError
}

ResetRepositoryNotificationFailuresForbidden handles this case with default header values.

Unauthorized access

func NewResetRepositoryNotificationFailuresForbidden

func NewResetRepositoryNotificationFailuresForbidden() *ResetRepositoryNotificationFailuresForbidden

NewResetRepositoryNotificationFailuresForbidden creates a ResetRepositoryNotificationFailuresForbidden with default headers values

func (*ResetRepositoryNotificationFailuresForbidden) Error

func (*ResetRepositoryNotificationFailuresForbidden) GetPayload

type ResetRepositoryNotificationFailuresNotFound

type ResetRepositoryNotificationFailuresNotFound struct {
	Payload *models.APIError
}

ResetRepositoryNotificationFailuresNotFound handles this case with default header values.

Not found

func NewResetRepositoryNotificationFailuresNotFound

func NewResetRepositoryNotificationFailuresNotFound() *ResetRepositoryNotificationFailuresNotFound

NewResetRepositoryNotificationFailuresNotFound creates a ResetRepositoryNotificationFailuresNotFound with default headers values

func (*ResetRepositoryNotificationFailuresNotFound) Error

func (*ResetRepositoryNotificationFailuresNotFound) GetPayload

type ResetRepositoryNotificationFailuresParams

type ResetRepositoryNotificationFailuresParams struct {

	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string
	/*UUID
	  The UUID of the notification

	*/
	UUID string

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

ResetRepositoryNotificationFailuresParams contains all the parameters to send to the API endpoint for the reset repository notification failures operation typically these are written to a http.Request

func NewResetRepositoryNotificationFailuresParams

func NewResetRepositoryNotificationFailuresParams() *ResetRepositoryNotificationFailuresParams

NewResetRepositoryNotificationFailuresParams creates a new ResetRepositoryNotificationFailuresParams object with the default values initialized.

func NewResetRepositoryNotificationFailuresParamsWithContext

func NewResetRepositoryNotificationFailuresParamsWithContext(ctx context.Context) *ResetRepositoryNotificationFailuresParams

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

func NewResetRepositoryNotificationFailuresParamsWithHTTPClient

func NewResetRepositoryNotificationFailuresParamsWithHTTPClient(client *http.Client) *ResetRepositoryNotificationFailuresParams

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

func NewResetRepositoryNotificationFailuresParamsWithTimeout

func NewResetRepositoryNotificationFailuresParamsWithTimeout(timeout time.Duration) *ResetRepositoryNotificationFailuresParams

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

func (*ResetRepositoryNotificationFailuresParams) SetContext

SetContext adds the context to the reset repository notification failures params

func (*ResetRepositoryNotificationFailuresParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reset repository notification failures params

func (*ResetRepositoryNotificationFailuresParams) SetRepository

func (o *ResetRepositoryNotificationFailuresParams) SetRepository(repository string)

SetRepository adds the repository to the reset repository notification failures params

func (*ResetRepositoryNotificationFailuresParams) SetTimeout

SetTimeout adds the timeout to the reset repository notification failures params

func (*ResetRepositoryNotificationFailuresParams) SetUUID

SetUUID adds the uuid to the reset repository notification failures params

func (*ResetRepositoryNotificationFailuresParams) WithContext

WithContext adds the context to the reset repository notification failures params

func (*ResetRepositoryNotificationFailuresParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the reset repository notification failures params

func (*ResetRepositoryNotificationFailuresParams) WithRepository

WithRepository adds the repository to the reset repository notification failures params

func (*ResetRepositoryNotificationFailuresParams) WithTimeout

WithTimeout adds the timeout to the reset repository notification failures params

func (*ResetRepositoryNotificationFailuresParams) WithUUID

WithUUID adds the uuid to the reset repository notification failures params

func (*ResetRepositoryNotificationFailuresParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResetRepositoryNotificationFailuresReader

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

ResetRepositoryNotificationFailuresReader is a Reader for the ResetRepositoryNotificationFailures structure.

func (*ResetRepositoryNotificationFailuresReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResetRepositoryNotificationFailuresUnauthorized

type ResetRepositoryNotificationFailuresUnauthorized struct {
	Payload *models.APIError
}

ResetRepositoryNotificationFailuresUnauthorized handles this case with default header values.

Session required

func NewResetRepositoryNotificationFailuresUnauthorized

func NewResetRepositoryNotificationFailuresUnauthorized() *ResetRepositoryNotificationFailuresUnauthorized

NewResetRepositoryNotificationFailuresUnauthorized creates a ResetRepositoryNotificationFailuresUnauthorized with default headers values

func (*ResetRepositoryNotificationFailuresUnauthorized) Error

func (*ResetRepositoryNotificationFailuresUnauthorized) GetPayload

type TestRepoNotificationBadRequest

type TestRepoNotificationBadRequest struct {
	Payload *models.APIError
}

TestRepoNotificationBadRequest handles this case with default header values.

Bad Request

func NewTestRepoNotificationBadRequest

func NewTestRepoNotificationBadRequest() *TestRepoNotificationBadRequest

NewTestRepoNotificationBadRequest creates a TestRepoNotificationBadRequest with default headers values

func (*TestRepoNotificationBadRequest) Error

func (*TestRepoNotificationBadRequest) GetPayload

type TestRepoNotificationCreated

type TestRepoNotificationCreated struct {
}

TestRepoNotificationCreated handles this case with default header values.

Successful creation

func NewTestRepoNotificationCreated

func NewTestRepoNotificationCreated() *TestRepoNotificationCreated

NewTestRepoNotificationCreated creates a TestRepoNotificationCreated with default headers values

func (*TestRepoNotificationCreated) Error

type TestRepoNotificationForbidden

type TestRepoNotificationForbidden struct {
	Payload *models.APIError
}

TestRepoNotificationForbidden handles this case with default header values.

Unauthorized access

func NewTestRepoNotificationForbidden

func NewTestRepoNotificationForbidden() *TestRepoNotificationForbidden

NewTestRepoNotificationForbidden creates a TestRepoNotificationForbidden with default headers values

func (*TestRepoNotificationForbidden) Error

func (*TestRepoNotificationForbidden) GetPayload

type TestRepoNotificationNotFound

type TestRepoNotificationNotFound struct {
	Payload *models.APIError
}

TestRepoNotificationNotFound handles this case with default header values.

Not found

func NewTestRepoNotificationNotFound

func NewTestRepoNotificationNotFound() *TestRepoNotificationNotFound

NewTestRepoNotificationNotFound creates a TestRepoNotificationNotFound with default headers values

func (*TestRepoNotificationNotFound) Error

func (*TestRepoNotificationNotFound) GetPayload

func (o *TestRepoNotificationNotFound) GetPayload() *models.APIError

type TestRepoNotificationParams

type TestRepoNotificationParams struct {

	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string
	/*UUID
	  The UUID of the notification

	*/
	UUID string

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

TestRepoNotificationParams contains all the parameters to send to the API endpoint for the test repo notification operation typically these are written to a http.Request

func NewTestRepoNotificationParams

func NewTestRepoNotificationParams() *TestRepoNotificationParams

NewTestRepoNotificationParams creates a new TestRepoNotificationParams object with the default values initialized.

func NewTestRepoNotificationParamsWithContext

func NewTestRepoNotificationParamsWithContext(ctx context.Context) *TestRepoNotificationParams

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

func NewTestRepoNotificationParamsWithHTTPClient

func NewTestRepoNotificationParamsWithHTTPClient(client *http.Client) *TestRepoNotificationParams

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

func NewTestRepoNotificationParamsWithTimeout

func NewTestRepoNotificationParamsWithTimeout(timeout time.Duration) *TestRepoNotificationParams

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

func (*TestRepoNotificationParams) SetContext

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

SetContext adds the context to the test repo notification params

func (*TestRepoNotificationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the test repo notification params

func (*TestRepoNotificationParams) SetRepository

func (o *TestRepoNotificationParams) SetRepository(repository string)

SetRepository adds the repository to the test repo notification params

func (*TestRepoNotificationParams) SetTimeout

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

SetTimeout adds the timeout to the test repo notification params

func (*TestRepoNotificationParams) SetUUID

func (o *TestRepoNotificationParams) SetUUID(uuid string)

SetUUID adds the uuid to the test repo notification params

func (*TestRepoNotificationParams) WithContext

WithContext adds the context to the test repo notification params

func (*TestRepoNotificationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the test repo notification params

func (*TestRepoNotificationParams) WithRepository

func (o *TestRepoNotificationParams) WithRepository(repository string) *TestRepoNotificationParams

WithRepository adds the repository to the test repo notification params

func (*TestRepoNotificationParams) WithTimeout

WithTimeout adds the timeout to the test repo notification params

func (*TestRepoNotificationParams) WithUUID

WithUUID adds the uuid to the test repo notification params

func (*TestRepoNotificationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TestRepoNotificationReader

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

TestRepoNotificationReader is a Reader for the TestRepoNotification structure.

func (*TestRepoNotificationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TestRepoNotificationUnauthorized

type TestRepoNotificationUnauthorized struct {
	Payload *models.APIError
}

TestRepoNotificationUnauthorized handles this case with default header values.

Session required

func NewTestRepoNotificationUnauthorized

func NewTestRepoNotificationUnauthorized() *TestRepoNotificationUnauthorized

NewTestRepoNotificationUnauthorized creates a TestRepoNotificationUnauthorized with default headers values

func (*TestRepoNotificationUnauthorized) Error

func (*TestRepoNotificationUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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