permission

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 ChangeTeamPermissionsBadRequest

type ChangeTeamPermissionsBadRequest struct {
	Payload *models.APIError
}

ChangeTeamPermissionsBadRequest handles this case with default header values.

Bad Request

func NewChangeTeamPermissionsBadRequest

func NewChangeTeamPermissionsBadRequest() *ChangeTeamPermissionsBadRequest

NewChangeTeamPermissionsBadRequest creates a ChangeTeamPermissionsBadRequest with default headers values

func (*ChangeTeamPermissionsBadRequest) Error

func (*ChangeTeamPermissionsBadRequest) GetPayload

type ChangeTeamPermissionsForbidden

type ChangeTeamPermissionsForbidden struct {
	Payload *models.APIError
}

ChangeTeamPermissionsForbidden handles this case with default header values.

Unauthorized access

func NewChangeTeamPermissionsForbidden

func NewChangeTeamPermissionsForbidden() *ChangeTeamPermissionsForbidden

NewChangeTeamPermissionsForbidden creates a ChangeTeamPermissionsForbidden with default headers values

func (*ChangeTeamPermissionsForbidden) Error

func (*ChangeTeamPermissionsForbidden) GetPayload

type ChangeTeamPermissionsNotFound

type ChangeTeamPermissionsNotFound struct {
	Payload *models.APIError
}

ChangeTeamPermissionsNotFound handles this case with default header values.

Not found

func NewChangeTeamPermissionsNotFound

func NewChangeTeamPermissionsNotFound() *ChangeTeamPermissionsNotFound

NewChangeTeamPermissionsNotFound creates a ChangeTeamPermissionsNotFound with default headers values

func (*ChangeTeamPermissionsNotFound) Error

func (*ChangeTeamPermissionsNotFound) GetPayload

type ChangeTeamPermissionsOK

type ChangeTeamPermissionsOK struct {
}

ChangeTeamPermissionsOK handles this case with default header values.

Successful invocation

func NewChangeTeamPermissionsOK

func NewChangeTeamPermissionsOK() *ChangeTeamPermissionsOK

NewChangeTeamPermissionsOK creates a ChangeTeamPermissionsOK with default headers values

func (*ChangeTeamPermissionsOK) Error

func (o *ChangeTeamPermissionsOK) Error() string

type ChangeTeamPermissionsParams

type ChangeTeamPermissionsParams struct {

	/*Body
	  Request body contents.

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

	*/
	Repository string
	/*Teamname
	  The name of the team to which the permission applies

	*/
	Teamname string

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

ChangeTeamPermissionsParams contains all the parameters to send to the API endpoint for the change team permissions operation typically these are written to a http.Request

func NewChangeTeamPermissionsParams

func NewChangeTeamPermissionsParams() *ChangeTeamPermissionsParams

NewChangeTeamPermissionsParams creates a new ChangeTeamPermissionsParams object with the default values initialized.

func NewChangeTeamPermissionsParamsWithContext

func NewChangeTeamPermissionsParamsWithContext(ctx context.Context) *ChangeTeamPermissionsParams

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

func NewChangeTeamPermissionsParamsWithHTTPClient

func NewChangeTeamPermissionsParamsWithHTTPClient(client *http.Client) *ChangeTeamPermissionsParams

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

func NewChangeTeamPermissionsParamsWithTimeout

func NewChangeTeamPermissionsParamsWithTimeout(timeout time.Duration) *ChangeTeamPermissionsParams

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

func (*ChangeTeamPermissionsParams) SetBody

SetBody adds the body to the change team permissions params

func (*ChangeTeamPermissionsParams) SetContext

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

SetContext adds the context to the change team permissions params

func (*ChangeTeamPermissionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change team permissions params

func (*ChangeTeamPermissionsParams) SetRepository

func (o *ChangeTeamPermissionsParams) SetRepository(repository string)

SetRepository adds the repository to the change team permissions params

func (*ChangeTeamPermissionsParams) SetTeamname

func (o *ChangeTeamPermissionsParams) SetTeamname(teamname string)

SetTeamname adds the teamname to the change team permissions params

func (*ChangeTeamPermissionsParams) SetTimeout

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

SetTimeout adds the timeout to the change team permissions params

func (*ChangeTeamPermissionsParams) WithBody

WithBody adds the body to the change team permissions params

func (*ChangeTeamPermissionsParams) WithContext

WithContext adds the context to the change team permissions params

func (*ChangeTeamPermissionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the change team permissions params

func (*ChangeTeamPermissionsParams) WithRepository

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

WithRepository adds the repository to the change team permissions params

func (*ChangeTeamPermissionsParams) WithTeamname

WithTeamname adds the teamname to the change team permissions params

func (*ChangeTeamPermissionsParams) WithTimeout

WithTimeout adds the timeout to the change team permissions params

func (*ChangeTeamPermissionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangeTeamPermissionsReader

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

ChangeTeamPermissionsReader is a Reader for the ChangeTeamPermissions structure.

func (*ChangeTeamPermissionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeTeamPermissionsUnauthorized

type ChangeTeamPermissionsUnauthorized struct {
	Payload *models.APIError
}

ChangeTeamPermissionsUnauthorized handles this case with default header values.

Session required

func NewChangeTeamPermissionsUnauthorized

func NewChangeTeamPermissionsUnauthorized() *ChangeTeamPermissionsUnauthorized

NewChangeTeamPermissionsUnauthorized creates a ChangeTeamPermissionsUnauthorized with default headers values

func (*ChangeTeamPermissionsUnauthorized) Error

func (*ChangeTeamPermissionsUnauthorized) GetPayload

type ChangeUserPermissionsBadRequest

type ChangeUserPermissionsBadRequest struct {
	Payload *models.APIError
}

ChangeUserPermissionsBadRequest handles this case with default header values.

Bad Request

func NewChangeUserPermissionsBadRequest

func NewChangeUserPermissionsBadRequest() *ChangeUserPermissionsBadRequest

NewChangeUserPermissionsBadRequest creates a ChangeUserPermissionsBadRequest with default headers values

func (*ChangeUserPermissionsBadRequest) Error

func (*ChangeUserPermissionsBadRequest) GetPayload

type ChangeUserPermissionsForbidden

type ChangeUserPermissionsForbidden struct {
	Payload *models.APIError
}

ChangeUserPermissionsForbidden handles this case with default header values.

Unauthorized access

func NewChangeUserPermissionsForbidden

func NewChangeUserPermissionsForbidden() *ChangeUserPermissionsForbidden

NewChangeUserPermissionsForbidden creates a ChangeUserPermissionsForbidden with default headers values

func (*ChangeUserPermissionsForbidden) Error

func (*ChangeUserPermissionsForbidden) GetPayload

type ChangeUserPermissionsNotFound

type ChangeUserPermissionsNotFound struct {
	Payload *models.APIError
}

ChangeUserPermissionsNotFound handles this case with default header values.

Not found

func NewChangeUserPermissionsNotFound

func NewChangeUserPermissionsNotFound() *ChangeUserPermissionsNotFound

NewChangeUserPermissionsNotFound creates a ChangeUserPermissionsNotFound with default headers values

func (*ChangeUserPermissionsNotFound) Error

func (*ChangeUserPermissionsNotFound) GetPayload

type ChangeUserPermissionsOK

type ChangeUserPermissionsOK struct {
}

ChangeUserPermissionsOK handles this case with default header values.

Successful invocation

func NewChangeUserPermissionsOK

func NewChangeUserPermissionsOK() *ChangeUserPermissionsOK

NewChangeUserPermissionsOK creates a ChangeUserPermissionsOK with default headers values

func (*ChangeUserPermissionsOK) Error

func (o *ChangeUserPermissionsOK) Error() string

type ChangeUserPermissionsParams

type ChangeUserPermissionsParams struct {

	/*Body
	  Request body contents.

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

	*/
	Repository string
	/*Username
	  The username of the user to which the permission applies

	*/
	Username string

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

ChangeUserPermissionsParams contains all the parameters to send to the API endpoint for the change user permissions operation typically these are written to a http.Request

func NewChangeUserPermissionsParams

func NewChangeUserPermissionsParams() *ChangeUserPermissionsParams

NewChangeUserPermissionsParams creates a new ChangeUserPermissionsParams object with the default values initialized.

func NewChangeUserPermissionsParamsWithContext

func NewChangeUserPermissionsParamsWithContext(ctx context.Context) *ChangeUserPermissionsParams

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

func NewChangeUserPermissionsParamsWithHTTPClient

func NewChangeUserPermissionsParamsWithHTTPClient(client *http.Client) *ChangeUserPermissionsParams

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

func NewChangeUserPermissionsParamsWithTimeout

func NewChangeUserPermissionsParamsWithTimeout(timeout time.Duration) *ChangeUserPermissionsParams

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

func (*ChangeUserPermissionsParams) SetBody

SetBody adds the body to the change user permissions params

func (*ChangeUserPermissionsParams) SetContext

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

SetContext adds the context to the change user permissions params

func (*ChangeUserPermissionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change user permissions params

func (*ChangeUserPermissionsParams) SetRepository

func (o *ChangeUserPermissionsParams) SetRepository(repository string)

SetRepository adds the repository to the change user permissions params

func (*ChangeUserPermissionsParams) SetTimeout

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

SetTimeout adds the timeout to the change user permissions params

func (*ChangeUserPermissionsParams) SetUsername

func (o *ChangeUserPermissionsParams) SetUsername(username string)

SetUsername adds the username to the change user permissions params

func (*ChangeUserPermissionsParams) WithBody

WithBody adds the body to the change user permissions params

func (*ChangeUserPermissionsParams) WithContext

WithContext adds the context to the change user permissions params

func (*ChangeUserPermissionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the change user permissions params

func (*ChangeUserPermissionsParams) WithRepository

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

WithRepository adds the repository to the change user permissions params

func (*ChangeUserPermissionsParams) WithTimeout

WithTimeout adds the timeout to the change user permissions params

func (*ChangeUserPermissionsParams) WithUsername

WithUsername adds the username to the change user permissions params

func (*ChangeUserPermissionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangeUserPermissionsReader

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

ChangeUserPermissionsReader is a Reader for the ChangeUserPermissions structure.

func (*ChangeUserPermissionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeUserPermissionsUnauthorized

type ChangeUserPermissionsUnauthorized struct {
	Payload *models.APIError
}

ChangeUserPermissionsUnauthorized handles this case with default header values.

Session required

func NewChangeUserPermissionsUnauthorized

func NewChangeUserPermissionsUnauthorized() *ChangeUserPermissionsUnauthorized

NewChangeUserPermissionsUnauthorized creates a ChangeUserPermissionsUnauthorized with default headers values

func (*ChangeUserPermissionsUnauthorized) Error

func (*ChangeUserPermissionsUnauthorized) GetPayload

type Client

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

Client for permission API

func (*Client) ChangeTeamPermissions

func (a *Client) ChangeTeamPermissions(params *ChangeTeamPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeTeamPermissionsOK, error)

ChangeTeamPermissions Update the existing team permission.

func (*Client) ChangeUserPermissions

func (a *Client) ChangeUserPermissions(params *ChangeUserPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeUserPermissionsOK, error)

ChangeUserPermissions Update the perimssions for an existing repository.

func (*Client) DeleteTeamPermissions

DeleteTeamPermissions Delete the permission for the specified team.

func (*Client) DeleteUserPermissions

DeleteUserPermissions Delete the permission for the user.

func (*Client) GetTeamPermissions

func (a *Client) GetTeamPermissions(params *GetTeamPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetTeamPermissionsOK, error)

GetTeamPermissions Fetch the permission for the specified team.

func (*Client) GetUserPermissions

func (a *Client) GetUserPermissions(params *GetUserPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserPermissionsOK, error)

GetUserPermissions Get the permission for the specified user.

func (*Client) GetUserTransitivePermission

func (a *Client) GetUserTransitivePermission(params *GetUserTransitivePermissionParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserTransitivePermissionOK, error)

GetUserTransitivePermission Get the fetch the permission for the specified user.

func (*Client) ListRepoTeamPermissions

func (a *Client) ListRepoTeamPermissions(params *ListRepoTeamPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListRepoTeamPermissionsOK, error)

ListRepoTeamPermissions List all team permission.

func (*Client) ListRepoUserPermissions

func (a *Client) ListRepoUserPermissions(params *ListRepoUserPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListRepoUserPermissionsOK, error)

ListRepoUserPermissions List all user permissions.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

ClientService is the interface for Client methods

func New

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

New creates a new permission API client.

type DeleteTeamPermissionsBadRequest

type DeleteTeamPermissionsBadRequest struct {
	Payload *models.APIError
}

DeleteTeamPermissionsBadRequest handles this case with default header values.

Bad Request

func NewDeleteTeamPermissionsBadRequest

func NewDeleteTeamPermissionsBadRequest() *DeleteTeamPermissionsBadRequest

NewDeleteTeamPermissionsBadRequest creates a DeleteTeamPermissionsBadRequest with default headers values

func (*DeleteTeamPermissionsBadRequest) Error

func (*DeleteTeamPermissionsBadRequest) GetPayload

type DeleteTeamPermissionsForbidden

type DeleteTeamPermissionsForbidden struct {
	Payload *models.APIError
}

DeleteTeamPermissionsForbidden handles this case with default header values.

Unauthorized access

func NewDeleteTeamPermissionsForbidden

func NewDeleteTeamPermissionsForbidden() *DeleteTeamPermissionsForbidden

NewDeleteTeamPermissionsForbidden creates a DeleteTeamPermissionsForbidden with default headers values

func (*DeleteTeamPermissionsForbidden) Error

func (*DeleteTeamPermissionsForbidden) GetPayload

type DeleteTeamPermissionsNoContent

type DeleteTeamPermissionsNoContent struct {
}

DeleteTeamPermissionsNoContent handles this case with default header values.

Deleted

func NewDeleteTeamPermissionsNoContent

func NewDeleteTeamPermissionsNoContent() *DeleteTeamPermissionsNoContent

NewDeleteTeamPermissionsNoContent creates a DeleteTeamPermissionsNoContent with default headers values

func (*DeleteTeamPermissionsNoContent) Error

type DeleteTeamPermissionsNotFound

type DeleteTeamPermissionsNotFound struct {
	Payload *models.APIError
}

DeleteTeamPermissionsNotFound handles this case with default header values.

Not found

func NewDeleteTeamPermissionsNotFound

func NewDeleteTeamPermissionsNotFound() *DeleteTeamPermissionsNotFound

NewDeleteTeamPermissionsNotFound creates a DeleteTeamPermissionsNotFound with default headers values

func (*DeleteTeamPermissionsNotFound) Error

func (*DeleteTeamPermissionsNotFound) GetPayload

type DeleteTeamPermissionsParams

type DeleteTeamPermissionsParams struct {

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

	*/
	Repository string
	/*Teamname
	  The name of the team to which the permission applies

	*/
	Teamname string

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

DeleteTeamPermissionsParams contains all the parameters to send to the API endpoint for the delete team permissions operation typically these are written to a http.Request

func NewDeleteTeamPermissionsParams

func NewDeleteTeamPermissionsParams() *DeleteTeamPermissionsParams

NewDeleteTeamPermissionsParams creates a new DeleteTeamPermissionsParams object with the default values initialized.

func NewDeleteTeamPermissionsParamsWithContext

func NewDeleteTeamPermissionsParamsWithContext(ctx context.Context) *DeleteTeamPermissionsParams

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

func NewDeleteTeamPermissionsParamsWithHTTPClient

func NewDeleteTeamPermissionsParamsWithHTTPClient(client *http.Client) *DeleteTeamPermissionsParams

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

func NewDeleteTeamPermissionsParamsWithTimeout

func NewDeleteTeamPermissionsParamsWithTimeout(timeout time.Duration) *DeleteTeamPermissionsParams

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

func (*DeleteTeamPermissionsParams) SetContext

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

SetContext adds the context to the delete team permissions params

func (*DeleteTeamPermissionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete team permissions params

func (*DeleteTeamPermissionsParams) SetRepository

func (o *DeleteTeamPermissionsParams) SetRepository(repository string)

SetRepository adds the repository to the delete team permissions params

func (*DeleteTeamPermissionsParams) SetTeamname

func (o *DeleteTeamPermissionsParams) SetTeamname(teamname string)

SetTeamname adds the teamname to the delete team permissions params

func (*DeleteTeamPermissionsParams) SetTimeout

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

SetTimeout adds the timeout to the delete team permissions params

func (*DeleteTeamPermissionsParams) WithContext

WithContext adds the context to the delete team permissions params

func (*DeleteTeamPermissionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete team permissions params

func (*DeleteTeamPermissionsParams) WithRepository

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

WithRepository adds the repository to the delete team permissions params

func (*DeleteTeamPermissionsParams) WithTeamname

WithTeamname adds the teamname to the delete team permissions params

func (*DeleteTeamPermissionsParams) WithTimeout

WithTimeout adds the timeout to the delete team permissions params

func (*DeleteTeamPermissionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTeamPermissionsReader

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

DeleteTeamPermissionsReader is a Reader for the DeleteTeamPermissions structure.

func (*DeleteTeamPermissionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteTeamPermissionsUnauthorized

type DeleteTeamPermissionsUnauthorized struct {
	Payload *models.APIError
}

DeleteTeamPermissionsUnauthorized handles this case with default header values.

Session required

func NewDeleteTeamPermissionsUnauthorized

func NewDeleteTeamPermissionsUnauthorized() *DeleteTeamPermissionsUnauthorized

NewDeleteTeamPermissionsUnauthorized creates a DeleteTeamPermissionsUnauthorized with default headers values

func (*DeleteTeamPermissionsUnauthorized) Error

func (*DeleteTeamPermissionsUnauthorized) GetPayload

type DeleteUserPermissionsBadRequest

type DeleteUserPermissionsBadRequest struct {
	Payload *models.APIError
}

DeleteUserPermissionsBadRequest handles this case with default header values.

Bad Request

func NewDeleteUserPermissionsBadRequest

func NewDeleteUserPermissionsBadRequest() *DeleteUserPermissionsBadRequest

NewDeleteUserPermissionsBadRequest creates a DeleteUserPermissionsBadRequest with default headers values

func (*DeleteUserPermissionsBadRequest) Error

func (*DeleteUserPermissionsBadRequest) GetPayload

type DeleteUserPermissionsForbidden

type DeleteUserPermissionsForbidden struct {
	Payload *models.APIError
}

DeleteUserPermissionsForbidden handles this case with default header values.

Unauthorized access

func NewDeleteUserPermissionsForbidden

func NewDeleteUserPermissionsForbidden() *DeleteUserPermissionsForbidden

NewDeleteUserPermissionsForbidden creates a DeleteUserPermissionsForbidden with default headers values

func (*DeleteUserPermissionsForbidden) Error

func (*DeleteUserPermissionsForbidden) GetPayload

type DeleteUserPermissionsNoContent

type DeleteUserPermissionsNoContent struct {
}

DeleteUserPermissionsNoContent handles this case with default header values.

Deleted

func NewDeleteUserPermissionsNoContent

func NewDeleteUserPermissionsNoContent() *DeleteUserPermissionsNoContent

NewDeleteUserPermissionsNoContent creates a DeleteUserPermissionsNoContent with default headers values

func (*DeleteUserPermissionsNoContent) Error

type DeleteUserPermissionsNotFound

type DeleteUserPermissionsNotFound struct {
	Payload *models.APIError
}

DeleteUserPermissionsNotFound handles this case with default header values.

Not found

func NewDeleteUserPermissionsNotFound

func NewDeleteUserPermissionsNotFound() *DeleteUserPermissionsNotFound

NewDeleteUserPermissionsNotFound creates a DeleteUserPermissionsNotFound with default headers values

func (*DeleteUserPermissionsNotFound) Error

func (*DeleteUserPermissionsNotFound) GetPayload

type DeleteUserPermissionsParams

type DeleteUserPermissionsParams struct {

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

	*/
	Repository string
	/*Username
	  The username of the user to which the permission applies

	*/
	Username string

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

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

func NewDeleteUserPermissionsParams

func NewDeleteUserPermissionsParams() *DeleteUserPermissionsParams

NewDeleteUserPermissionsParams creates a new DeleteUserPermissionsParams object with the default values initialized.

func NewDeleteUserPermissionsParamsWithContext

func NewDeleteUserPermissionsParamsWithContext(ctx context.Context) *DeleteUserPermissionsParams

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

func NewDeleteUserPermissionsParamsWithHTTPClient

func NewDeleteUserPermissionsParamsWithHTTPClient(client *http.Client) *DeleteUserPermissionsParams

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

func NewDeleteUserPermissionsParamsWithTimeout

func NewDeleteUserPermissionsParamsWithTimeout(timeout time.Duration) *DeleteUserPermissionsParams

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

func (*DeleteUserPermissionsParams) SetContext

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

SetContext adds the context to the delete user permissions params

func (*DeleteUserPermissionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete user permissions params

func (*DeleteUserPermissionsParams) SetRepository

func (o *DeleteUserPermissionsParams) SetRepository(repository string)

SetRepository adds the repository to the delete user permissions params

func (*DeleteUserPermissionsParams) SetTimeout

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

SetTimeout adds the timeout to the delete user permissions params

func (*DeleteUserPermissionsParams) SetUsername

func (o *DeleteUserPermissionsParams) SetUsername(username string)

SetUsername adds the username to the delete user permissions params

func (*DeleteUserPermissionsParams) WithContext

WithContext adds the context to the delete user permissions params

func (*DeleteUserPermissionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete user permissions params

func (*DeleteUserPermissionsParams) WithRepository

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

WithRepository adds the repository to the delete user permissions params

func (*DeleteUserPermissionsParams) WithTimeout

WithTimeout adds the timeout to the delete user permissions params

func (*DeleteUserPermissionsParams) WithUsername

WithUsername adds the username to the delete user permissions params

func (*DeleteUserPermissionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUserPermissionsReader

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

DeleteUserPermissionsReader is a Reader for the DeleteUserPermissions structure.

func (*DeleteUserPermissionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserPermissionsUnauthorized

type DeleteUserPermissionsUnauthorized struct {
	Payload *models.APIError
}

DeleteUserPermissionsUnauthorized handles this case with default header values.

Session required

func NewDeleteUserPermissionsUnauthorized

func NewDeleteUserPermissionsUnauthorized() *DeleteUserPermissionsUnauthorized

NewDeleteUserPermissionsUnauthorized creates a DeleteUserPermissionsUnauthorized with default headers values

func (*DeleteUserPermissionsUnauthorized) Error

func (*DeleteUserPermissionsUnauthorized) GetPayload

type GetTeamPermissionsBadRequest

type GetTeamPermissionsBadRequest struct {
	Payload *models.APIError
}

GetTeamPermissionsBadRequest handles this case with default header values.

Bad Request

func NewGetTeamPermissionsBadRequest

func NewGetTeamPermissionsBadRequest() *GetTeamPermissionsBadRequest

NewGetTeamPermissionsBadRequest creates a GetTeamPermissionsBadRequest with default headers values

func (*GetTeamPermissionsBadRequest) Error

func (*GetTeamPermissionsBadRequest) GetPayload

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

type GetTeamPermissionsForbidden

type GetTeamPermissionsForbidden struct {
	Payload *models.APIError
}

GetTeamPermissionsForbidden handles this case with default header values.

Unauthorized access

func NewGetTeamPermissionsForbidden

func NewGetTeamPermissionsForbidden() *GetTeamPermissionsForbidden

NewGetTeamPermissionsForbidden creates a GetTeamPermissionsForbidden with default headers values

func (*GetTeamPermissionsForbidden) Error

func (*GetTeamPermissionsForbidden) GetPayload

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

type GetTeamPermissionsNotFound

type GetTeamPermissionsNotFound struct {
	Payload *models.APIError
}

GetTeamPermissionsNotFound handles this case with default header values.

Not found

func NewGetTeamPermissionsNotFound

func NewGetTeamPermissionsNotFound() *GetTeamPermissionsNotFound

NewGetTeamPermissionsNotFound creates a GetTeamPermissionsNotFound with default headers values

func (*GetTeamPermissionsNotFound) Error

func (*GetTeamPermissionsNotFound) GetPayload

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

type GetTeamPermissionsOK

type GetTeamPermissionsOK struct {
}

GetTeamPermissionsOK handles this case with default header values.

Successful invocation

func NewGetTeamPermissionsOK

func NewGetTeamPermissionsOK() *GetTeamPermissionsOK

NewGetTeamPermissionsOK creates a GetTeamPermissionsOK with default headers values

func (*GetTeamPermissionsOK) Error

func (o *GetTeamPermissionsOK) Error() string

type GetTeamPermissionsParams

type GetTeamPermissionsParams struct {

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

	*/
	Repository string
	/*Teamname
	  The name of the team to which the permission applies

	*/
	Teamname string

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

GetTeamPermissionsParams contains all the parameters to send to the API endpoint for the get team permissions operation typically these are written to a http.Request

func NewGetTeamPermissionsParams

func NewGetTeamPermissionsParams() *GetTeamPermissionsParams

NewGetTeamPermissionsParams creates a new GetTeamPermissionsParams object with the default values initialized.

func NewGetTeamPermissionsParamsWithContext

func NewGetTeamPermissionsParamsWithContext(ctx context.Context) *GetTeamPermissionsParams

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

func NewGetTeamPermissionsParamsWithHTTPClient

func NewGetTeamPermissionsParamsWithHTTPClient(client *http.Client) *GetTeamPermissionsParams

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

func NewGetTeamPermissionsParamsWithTimeout

func NewGetTeamPermissionsParamsWithTimeout(timeout time.Duration) *GetTeamPermissionsParams

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

func (*GetTeamPermissionsParams) SetContext

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

SetContext adds the context to the get team permissions params

func (*GetTeamPermissionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get team permissions params

func (*GetTeamPermissionsParams) SetRepository

func (o *GetTeamPermissionsParams) SetRepository(repository string)

SetRepository adds the repository to the get team permissions params

func (*GetTeamPermissionsParams) SetTeamname

func (o *GetTeamPermissionsParams) SetTeamname(teamname string)

SetTeamname adds the teamname to the get team permissions params

func (*GetTeamPermissionsParams) SetTimeout

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

SetTimeout adds the timeout to the get team permissions params

func (*GetTeamPermissionsParams) WithContext

WithContext adds the context to the get team permissions params

func (*GetTeamPermissionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get team permissions params

func (*GetTeamPermissionsParams) WithRepository

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

WithRepository adds the repository to the get team permissions params

func (*GetTeamPermissionsParams) WithTeamname

func (o *GetTeamPermissionsParams) WithTeamname(teamname string) *GetTeamPermissionsParams

WithTeamname adds the teamname to the get team permissions params

func (*GetTeamPermissionsParams) WithTimeout

WithTimeout adds the timeout to the get team permissions params

func (*GetTeamPermissionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTeamPermissionsReader

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

GetTeamPermissionsReader is a Reader for the GetTeamPermissions structure.

func (*GetTeamPermissionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTeamPermissionsUnauthorized

type GetTeamPermissionsUnauthorized struct {
	Payload *models.APIError
}

GetTeamPermissionsUnauthorized handles this case with default header values.

Session required

func NewGetTeamPermissionsUnauthorized

func NewGetTeamPermissionsUnauthorized() *GetTeamPermissionsUnauthorized

NewGetTeamPermissionsUnauthorized creates a GetTeamPermissionsUnauthorized with default headers values

func (*GetTeamPermissionsUnauthorized) Error

func (*GetTeamPermissionsUnauthorized) GetPayload

type GetUserPermissionsBadRequest

type GetUserPermissionsBadRequest struct {
	Payload *models.APIError
}

GetUserPermissionsBadRequest handles this case with default header values.

Bad Request

func NewGetUserPermissionsBadRequest

func NewGetUserPermissionsBadRequest() *GetUserPermissionsBadRequest

NewGetUserPermissionsBadRequest creates a GetUserPermissionsBadRequest with default headers values

func (*GetUserPermissionsBadRequest) Error

func (*GetUserPermissionsBadRequest) GetPayload

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

type GetUserPermissionsForbidden

type GetUserPermissionsForbidden struct {
	Payload *models.APIError
}

GetUserPermissionsForbidden handles this case with default header values.

Unauthorized access

func NewGetUserPermissionsForbidden

func NewGetUserPermissionsForbidden() *GetUserPermissionsForbidden

NewGetUserPermissionsForbidden creates a GetUserPermissionsForbidden with default headers values

func (*GetUserPermissionsForbidden) Error

func (*GetUserPermissionsForbidden) GetPayload

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

type GetUserPermissionsNotFound

type GetUserPermissionsNotFound struct {
	Payload *models.APIError
}

GetUserPermissionsNotFound handles this case with default header values.

Not found

func NewGetUserPermissionsNotFound

func NewGetUserPermissionsNotFound() *GetUserPermissionsNotFound

NewGetUserPermissionsNotFound creates a GetUserPermissionsNotFound with default headers values

func (*GetUserPermissionsNotFound) Error

func (*GetUserPermissionsNotFound) GetPayload

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

type GetUserPermissionsOK

type GetUserPermissionsOK struct {
}

GetUserPermissionsOK handles this case with default header values.

Successful invocation

func NewGetUserPermissionsOK

func NewGetUserPermissionsOK() *GetUserPermissionsOK

NewGetUserPermissionsOK creates a GetUserPermissionsOK with default headers values

func (*GetUserPermissionsOK) Error

func (o *GetUserPermissionsOK) Error() string

type GetUserPermissionsParams

type GetUserPermissionsParams struct {

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

	*/
	Repository string
	/*Username
	  The username of the user to which the permission applies

	*/
	Username string

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

GetUserPermissionsParams contains all the parameters to send to the API endpoint for the get user permissions operation typically these are written to a http.Request

func NewGetUserPermissionsParams

func NewGetUserPermissionsParams() *GetUserPermissionsParams

NewGetUserPermissionsParams creates a new GetUserPermissionsParams object with the default values initialized.

func NewGetUserPermissionsParamsWithContext

func NewGetUserPermissionsParamsWithContext(ctx context.Context) *GetUserPermissionsParams

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

func NewGetUserPermissionsParamsWithHTTPClient

func NewGetUserPermissionsParamsWithHTTPClient(client *http.Client) *GetUserPermissionsParams

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

func NewGetUserPermissionsParamsWithTimeout

func NewGetUserPermissionsParamsWithTimeout(timeout time.Duration) *GetUserPermissionsParams

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

func (*GetUserPermissionsParams) SetContext

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

SetContext adds the context to the get user permissions params

func (*GetUserPermissionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user permissions params

func (*GetUserPermissionsParams) SetRepository

func (o *GetUserPermissionsParams) SetRepository(repository string)

SetRepository adds the repository to the get user permissions params

func (*GetUserPermissionsParams) SetTimeout

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

SetTimeout adds the timeout to the get user permissions params

func (*GetUserPermissionsParams) SetUsername

func (o *GetUserPermissionsParams) SetUsername(username string)

SetUsername adds the username to the get user permissions params

func (*GetUserPermissionsParams) WithContext

WithContext adds the context to the get user permissions params

func (*GetUserPermissionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user permissions params

func (*GetUserPermissionsParams) WithRepository

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

WithRepository adds the repository to the get user permissions params

func (*GetUserPermissionsParams) WithTimeout

WithTimeout adds the timeout to the get user permissions params

func (*GetUserPermissionsParams) WithUsername

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

WithUsername adds the username to the get user permissions params

func (*GetUserPermissionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserPermissionsReader

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

GetUserPermissionsReader is a Reader for the GetUserPermissions structure.

func (*GetUserPermissionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserPermissionsUnauthorized

type GetUserPermissionsUnauthorized struct {
	Payload *models.APIError
}

GetUserPermissionsUnauthorized handles this case with default header values.

Session required

func NewGetUserPermissionsUnauthorized

func NewGetUserPermissionsUnauthorized() *GetUserPermissionsUnauthorized

NewGetUserPermissionsUnauthorized creates a GetUserPermissionsUnauthorized with default headers values

func (*GetUserPermissionsUnauthorized) Error

func (*GetUserPermissionsUnauthorized) GetPayload

type GetUserTransitivePermissionBadRequest

type GetUserTransitivePermissionBadRequest struct {
	Payload *models.APIError
}

GetUserTransitivePermissionBadRequest handles this case with default header values.

Bad Request

func NewGetUserTransitivePermissionBadRequest

func NewGetUserTransitivePermissionBadRequest() *GetUserTransitivePermissionBadRequest

NewGetUserTransitivePermissionBadRequest creates a GetUserTransitivePermissionBadRequest with default headers values

func (*GetUserTransitivePermissionBadRequest) Error

func (*GetUserTransitivePermissionBadRequest) GetPayload

type GetUserTransitivePermissionForbidden

type GetUserTransitivePermissionForbidden struct {
	Payload *models.APIError
}

GetUserTransitivePermissionForbidden handles this case with default header values.

Unauthorized access

func NewGetUserTransitivePermissionForbidden

func NewGetUserTransitivePermissionForbidden() *GetUserTransitivePermissionForbidden

NewGetUserTransitivePermissionForbidden creates a GetUserTransitivePermissionForbidden with default headers values

func (*GetUserTransitivePermissionForbidden) Error

func (*GetUserTransitivePermissionForbidden) GetPayload

type GetUserTransitivePermissionNotFound

type GetUserTransitivePermissionNotFound struct {
	Payload *models.APIError
}

GetUserTransitivePermissionNotFound handles this case with default header values.

Not found

func NewGetUserTransitivePermissionNotFound

func NewGetUserTransitivePermissionNotFound() *GetUserTransitivePermissionNotFound

NewGetUserTransitivePermissionNotFound creates a GetUserTransitivePermissionNotFound with default headers values

func (*GetUserTransitivePermissionNotFound) Error

func (*GetUserTransitivePermissionNotFound) GetPayload

type GetUserTransitivePermissionOK

type GetUserTransitivePermissionOK struct {
}

GetUserTransitivePermissionOK handles this case with default header values.

Successful invocation

func NewGetUserTransitivePermissionOK

func NewGetUserTransitivePermissionOK() *GetUserTransitivePermissionOK

NewGetUserTransitivePermissionOK creates a GetUserTransitivePermissionOK with default headers values

func (*GetUserTransitivePermissionOK) Error

type GetUserTransitivePermissionParams

type GetUserTransitivePermissionParams struct {

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

	*/
	Repository string
	/*Username
	  The username of the user to which the permissions apply

	*/
	Username string

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

GetUserTransitivePermissionParams contains all the parameters to send to the API endpoint for the get user transitive permission operation typically these are written to a http.Request

func NewGetUserTransitivePermissionParams

func NewGetUserTransitivePermissionParams() *GetUserTransitivePermissionParams

NewGetUserTransitivePermissionParams creates a new GetUserTransitivePermissionParams object with the default values initialized.

func NewGetUserTransitivePermissionParamsWithContext

func NewGetUserTransitivePermissionParamsWithContext(ctx context.Context) *GetUserTransitivePermissionParams

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

func NewGetUserTransitivePermissionParamsWithHTTPClient

func NewGetUserTransitivePermissionParamsWithHTTPClient(client *http.Client) *GetUserTransitivePermissionParams

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

func NewGetUserTransitivePermissionParamsWithTimeout

func NewGetUserTransitivePermissionParamsWithTimeout(timeout time.Duration) *GetUserTransitivePermissionParams

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

func (*GetUserTransitivePermissionParams) SetContext

SetContext adds the context to the get user transitive permission params

func (*GetUserTransitivePermissionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user transitive permission params

func (*GetUserTransitivePermissionParams) SetRepository

func (o *GetUserTransitivePermissionParams) SetRepository(repository string)

SetRepository adds the repository to the get user transitive permission params

func (*GetUserTransitivePermissionParams) SetTimeout

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

SetTimeout adds the timeout to the get user transitive permission params

func (*GetUserTransitivePermissionParams) SetUsername

func (o *GetUserTransitivePermissionParams) SetUsername(username string)

SetUsername adds the username to the get user transitive permission params

func (*GetUserTransitivePermissionParams) WithContext

WithContext adds the context to the get user transitive permission params

func (*GetUserTransitivePermissionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user transitive permission params

func (*GetUserTransitivePermissionParams) WithRepository

WithRepository adds the repository to the get user transitive permission params

func (*GetUserTransitivePermissionParams) WithTimeout

WithTimeout adds the timeout to the get user transitive permission params

func (*GetUserTransitivePermissionParams) WithUsername

WithUsername adds the username to the get user transitive permission params

func (*GetUserTransitivePermissionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserTransitivePermissionReader

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

GetUserTransitivePermissionReader is a Reader for the GetUserTransitivePermission structure.

func (*GetUserTransitivePermissionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserTransitivePermissionUnauthorized

type GetUserTransitivePermissionUnauthorized struct {
	Payload *models.APIError
}

GetUserTransitivePermissionUnauthorized handles this case with default header values.

Session required

func NewGetUserTransitivePermissionUnauthorized

func NewGetUserTransitivePermissionUnauthorized() *GetUserTransitivePermissionUnauthorized

NewGetUserTransitivePermissionUnauthorized creates a GetUserTransitivePermissionUnauthorized with default headers values

func (*GetUserTransitivePermissionUnauthorized) Error

func (*GetUserTransitivePermissionUnauthorized) GetPayload

type ListRepoTeamPermissionsBadRequest

type ListRepoTeamPermissionsBadRequest struct {
	Payload *models.APIError
}

ListRepoTeamPermissionsBadRequest handles this case with default header values.

Bad Request

func NewListRepoTeamPermissionsBadRequest

func NewListRepoTeamPermissionsBadRequest() *ListRepoTeamPermissionsBadRequest

NewListRepoTeamPermissionsBadRequest creates a ListRepoTeamPermissionsBadRequest with default headers values

func (*ListRepoTeamPermissionsBadRequest) Error

func (*ListRepoTeamPermissionsBadRequest) GetPayload

type ListRepoTeamPermissionsForbidden

type ListRepoTeamPermissionsForbidden struct {
	Payload *models.APIError
}

ListRepoTeamPermissionsForbidden handles this case with default header values.

Unauthorized access

func NewListRepoTeamPermissionsForbidden

func NewListRepoTeamPermissionsForbidden() *ListRepoTeamPermissionsForbidden

NewListRepoTeamPermissionsForbidden creates a ListRepoTeamPermissionsForbidden with default headers values

func (*ListRepoTeamPermissionsForbidden) Error

func (*ListRepoTeamPermissionsForbidden) GetPayload

type ListRepoTeamPermissionsNotFound

type ListRepoTeamPermissionsNotFound struct {
	Payload *models.APIError
}

ListRepoTeamPermissionsNotFound handles this case with default header values.

Not found

func NewListRepoTeamPermissionsNotFound

func NewListRepoTeamPermissionsNotFound() *ListRepoTeamPermissionsNotFound

NewListRepoTeamPermissionsNotFound creates a ListRepoTeamPermissionsNotFound with default headers values

func (*ListRepoTeamPermissionsNotFound) Error

func (*ListRepoTeamPermissionsNotFound) GetPayload

type ListRepoTeamPermissionsOK

type ListRepoTeamPermissionsOK struct {
}

ListRepoTeamPermissionsOK handles this case with default header values.

Successful invocation

func NewListRepoTeamPermissionsOK

func NewListRepoTeamPermissionsOK() *ListRepoTeamPermissionsOK

NewListRepoTeamPermissionsOK creates a ListRepoTeamPermissionsOK with default headers values

func (*ListRepoTeamPermissionsOK) Error

func (o *ListRepoTeamPermissionsOK) Error() string

type ListRepoTeamPermissionsParams

type ListRepoTeamPermissionsParams 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
}

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

func NewListRepoTeamPermissionsParams

func NewListRepoTeamPermissionsParams() *ListRepoTeamPermissionsParams

NewListRepoTeamPermissionsParams creates a new ListRepoTeamPermissionsParams object with the default values initialized.

func NewListRepoTeamPermissionsParamsWithContext

func NewListRepoTeamPermissionsParamsWithContext(ctx context.Context) *ListRepoTeamPermissionsParams

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

func NewListRepoTeamPermissionsParamsWithHTTPClient

func NewListRepoTeamPermissionsParamsWithHTTPClient(client *http.Client) *ListRepoTeamPermissionsParams

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

func NewListRepoTeamPermissionsParamsWithTimeout

func NewListRepoTeamPermissionsParamsWithTimeout(timeout time.Duration) *ListRepoTeamPermissionsParams

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

func (*ListRepoTeamPermissionsParams) SetContext

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

SetContext adds the context to the list repo team permissions params

func (*ListRepoTeamPermissionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list repo team permissions params

func (*ListRepoTeamPermissionsParams) SetRepository

func (o *ListRepoTeamPermissionsParams) SetRepository(repository string)

SetRepository adds the repository to the list repo team permissions params

func (*ListRepoTeamPermissionsParams) SetTimeout

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

SetTimeout adds the timeout to the list repo team permissions params

func (*ListRepoTeamPermissionsParams) WithContext

WithContext adds the context to the list repo team permissions params

func (*ListRepoTeamPermissionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list repo team permissions params

func (*ListRepoTeamPermissionsParams) WithRepository

WithRepository adds the repository to the list repo team permissions params

func (*ListRepoTeamPermissionsParams) WithTimeout

WithTimeout adds the timeout to the list repo team permissions params

func (*ListRepoTeamPermissionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListRepoTeamPermissionsReader

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

ListRepoTeamPermissionsReader is a Reader for the ListRepoTeamPermissions structure.

func (*ListRepoTeamPermissionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListRepoTeamPermissionsUnauthorized

type ListRepoTeamPermissionsUnauthorized struct {
	Payload *models.APIError
}

ListRepoTeamPermissionsUnauthorized handles this case with default header values.

Session required

func NewListRepoTeamPermissionsUnauthorized

func NewListRepoTeamPermissionsUnauthorized() *ListRepoTeamPermissionsUnauthorized

NewListRepoTeamPermissionsUnauthorized creates a ListRepoTeamPermissionsUnauthorized with default headers values

func (*ListRepoTeamPermissionsUnauthorized) Error

func (*ListRepoTeamPermissionsUnauthorized) GetPayload

type ListRepoUserPermissionsBadRequest

type ListRepoUserPermissionsBadRequest struct {
	Payload *models.APIError
}

ListRepoUserPermissionsBadRequest handles this case with default header values.

Bad Request

func NewListRepoUserPermissionsBadRequest

func NewListRepoUserPermissionsBadRequest() *ListRepoUserPermissionsBadRequest

NewListRepoUserPermissionsBadRequest creates a ListRepoUserPermissionsBadRequest with default headers values

func (*ListRepoUserPermissionsBadRequest) Error

func (*ListRepoUserPermissionsBadRequest) GetPayload

type ListRepoUserPermissionsForbidden

type ListRepoUserPermissionsForbidden struct {
	Payload *models.APIError
}

ListRepoUserPermissionsForbidden handles this case with default header values.

Unauthorized access

func NewListRepoUserPermissionsForbidden

func NewListRepoUserPermissionsForbidden() *ListRepoUserPermissionsForbidden

NewListRepoUserPermissionsForbidden creates a ListRepoUserPermissionsForbidden with default headers values

func (*ListRepoUserPermissionsForbidden) Error

func (*ListRepoUserPermissionsForbidden) GetPayload

type ListRepoUserPermissionsNotFound

type ListRepoUserPermissionsNotFound struct {
	Payload *models.APIError
}

ListRepoUserPermissionsNotFound handles this case with default header values.

Not found

func NewListRepoUserPermissionsNotFound

func NewListRepoUserPermissionsNotFound() *ListRepoUserPermissionsNotFound

NewListRepoUserPermissionsNotFound creates a ListRepoUserPermissionsNotFound with default headers values

func (*ListRepoUserPermissionsNotFound) Error

func (*ListRepoUserPermissionsNotFound) GetPayload

type ListRepoUserPermissionsOK

type ListRepoUserPermissionsOK struct {
}

ListRepoUserPermissionsOK handles this case with default header values.

Successful invocation

func NewListRepoUserPermissionsOK

func NewListRepoUserPermissionsOK() *ListRepoUserPermissionsOK

NewListRepoUserPermissionsOK creates a ListRepoUserPermissionsOK with default headers values

func (*ListRepoUserPermissionsOK) Error

func (o *ListRepoUserPermissionsOK) Error() string

type ListRepoUserPermissionsParams

type ListRepoUserPermissionsParams 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
}

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

func NewListRepoUserPermissionsParams

func NewListRepoUserPermissionsParams() *ListRepoUserPermissionsParams

NewListRepoUserPermissionsParams creates a new ListRepoUserPermissionsParams object with the default values initialized.

func NewListRepoUserPermissionsParamsWithContext

func NewListRepoUserPermissionsParamsWithContext(ctx context.Context) *ListRepoUserPermissionsParams

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

func NewListRepoUserPermissionsParamsWithHTTPClient

func NewListRepoUserPermissionsParamsWithHTTPClient(client *http.Client) *ListRepoUserPermissionsParams

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

func NewListRepoUserPermissionsParamsWithTimeout

func NewListRepoUserPermissionsParamsWithTimeout(timeout time.Duration) *ListRepoUserPermissionsParams

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

func (*ListRepoUserPermissionsParams) SetContext

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

SetContext adds the context to the list repo user permissions params

func (*ListRepoUserPermissionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list repo user permissions params

func (*ListRepoUserPermissionsParams) SetRepository

func (o *ListRepoUserPermissionsParams) SetRepository(repository string)

SetRepository adds the repository to the list repo user permissions params

func (*ListRepoUserPermissionsParams) SetTimeout

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

SetTimeout adds the timeout to the list repo user permissions params

func (*ListRepoUserPermissionsParams) WithContext

WithContext adds the context to the list repo user permissions params

func (*ListRepoUserPermissionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list repo user permissions params

func (*ListRepoUserPermissionsParams) WithRepository

WithRepository adds the repository to the list repo user permissions params

func (*ListRepoUserPermissionsParams) WithTimeout

WithTimeout adds the timeout to the list repo user permissions params

func (*ListRepoUserPermissionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListRepoUserPermissionsReader

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

ListRepoUserPermissionsReader is a Reader for the ListRepoUserPermissions structure.

func (*ListRepoUserPermissionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListRepoUserPermissionsUnauthorized

type ListRepoUserPermissionsUnauthorized struct {
	Payload *models.APIError
}

ListRepoUserPermissionsUnauthorized handles this case with default header values.

Session required

func NewListRepoUserPermissionsUnauthorized

func NewListRepoUserPermissionsUnauthorized() *ListRepoUserPermissionsUnauthorized

NewListRepoUserPermissionsUnauthorized creates a ListRepoUserPermissionsUnauthorized with default headers values

func (*ListRepoUserPermissionsUnauthorized) Error

func (*ListRepoUserPermissionsUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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