Documentation ¶
Index ¶
- type ChangeTeamPermissionsBadRequest
- type ChangeTeamPermissionsForbidden
- type ChangeTeamPermissionsNotFound
- type ChangeTeamPermissionsOK
- type ChangeTeamPermissionsParams
- func NewChangeTeamPermissionsParams() *ChangeTeamPermissionsParams
- func NewChangeTeamPermissionsParamsWithContext(ctx context.Context) *ChangeTeamPermissionsParams
- func NewChangeTeamPermissionsParamsWithHTTPClient(client *http.Client) *ChangeTeamPermissionsParams
- func NewChangeTeamPermissionsParamsWithTimeout(timeout time.Duration) *ChangeTeamPermissionsParams
- func (o *ChangeTeamPermissionsParams) SetBody(body *models.TeamPermission)
- func (o *ChangeTeamPermissionsParams) SetContext(ctx context.Context)
- func (o *ChangeTeamPermissionsParams) SetHTTPClient(client *http.Client)
- func (o *ChangeTeamPermissionsParams) SetRepository(repository string)
- func (o *ChangeTeamPermissionsParams) SetTeamname(teamname string)
- func (o *ChangeTeamPermissionsParams) SetTimeout(timeout time.Duration)
- func (o *ChangeTeamPermissionsParams) WithBody(body *models.TeamPermission) *ChangeTeamPermissionsParams
- func (o *ChangeTeamPermissionsParams) WithContext(ctx context.Context) *ChangeTeamPermissionsParams
- func (o *ChangeTeamPermissionsParams) WithHTTPClient(client *http.Client) *ChangeTeamPermissionsParams
- func (o *ChangeTeamPermissionsParams) WithRepository(repository string) *ChangeTeamPermissionsParams
- func (o *ChangeTeamPermissionsParams) WithTeamname(teamname string) *ChangeTeamPermissionsParams
- func (o *ChangeTeamPermissionsParams) WithTimeout(timeout time.Duration) *ChangeTeamPermissionsParams
- func (o *ChangeTeamPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeTeamPermissionsReader
- type ChangeTeamPermissionsUnauthorized
- type ChangeUserPermissionsBadRequest
- type ChangeUserPermissionsForbidden
- type ChangeUserPermissionsNotFound
- type ChangeUserPermissionsOK
- type ChangeUserPermissionsParams
- func NewChangeUserPermissionsParams() *ChangeUserPermissionsParams
- func NewChangeUserPermissionsParamsWithContext(ctx context.Context) *ChangeUserPermissionsParams
- func NewChangeUserPermissionsParamsWithHTTPClient(client *http.Client) *ChangeUserPermissionsParams
- func NewChangeUserPermissionsParamsWithTimeout(timeout time.Duration) *ChangeUserPermissionsParams
- func (o *ChangeUserPermissionsParams) SetBody(body *models.UserPermission)
- func (o *ChangeUserPermissionsParams) SetContext(ctx context.Context)
- func (o *ChangeUserPermissionsParams) SetHTTPClient(client *http.Client)
- func (o *ChangeUserPermissionsParams) SetRepository(repository string)
- func (o *ChangeUserPermissionsParams) SetTimeout(timeout time.Duration)
- func (o *ChangeUserPermissionsParams) SetUsername(username string)
- func (o *ChangeUserPermissionsParams) WithBody(body *models.UserPermission) *ChangeUserPermissionsParams
- func (o *ChangeUserPermissionsParams) WithContext(ctx context.Context) *ChangeUserPermissionsParams
- func (o *ChangeUserPermissionsParams) WithHTTPClient(client *http.Client) *ChangeUserPermissionsParams
- func (o *ChangeUserPermissionsParams) WithRepository(repository string) *ChangeUserPermissionsParams
- func (o *ChangeUserPermissionsParams) WithTimeout(timeout time.Duration) *ChangeUserPermissionsParams
- func (o *ChangeUserPermissionsParams) WithUsername(username string) *ChangeUserPermissionsParams
- func (o *ChangeUserPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeUserPermissionsReader
- type ChangeUserPermissionsUnauthorized
- type Client
- func (a *Client) ChangeTeamPermissions(params *ChangeTeamPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeTeamPermissionsOK, error)
- func (a *Client) ChangeUserPermissions(params *ChangeUserPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeUserPermissionsOK, error)
- func (a *Client) DeleteTeamPermissions(params *DeleteTeamPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTeamPermissionsNoContent, error)
- func (a *Client) DeleteUserPermissions(params *DeleteUserPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserPermissionsNoContent, error)
- func (a *Client) GetTeamPermissions(params *GetTeamPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetTeamPermissionsOK, error)
- func (a *Client) GetUserPermissions(params *GetUserPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserPermissionsOK, error)
- func (a *Client) GetUserTransitivePermission(params *GetUserTransitivePermissionParams, ...) (*GetUserTransitivePermissionOK, error)
- func (a *Client) ListRepoTeamPermissions(params *ListRepoTeamPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListRepoTeamPermissionsOK, error)
- func (a *Client) ListRepoUserPermissions(params *ListRepoUserPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListRepoUserPermissionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteTeamPermissionsBadRequest
- type DeleteTeamPermissionsForbidden
- type DeleteTeamPermissionsNoContent
- type DeleteTeamPermissionsNotFound
- type DeleteTeamPermissionsParams
- func NewDeleteTeamPermissionsParams() *DeleteTeamPermissionsParams
- func NewDeleteTeamPermissionsParamsWithContext(ctx context.Context) *DeleteTeamPermissionsParams
- func NewDeleteTeamPermissionsParamsWithHTTPClient(client *http.Client) *DeleteTeamPermissionsParams
- func NewDeleteTeamPermissionsParamsWithTimeout(timeout time.Duration) *DeleteTeamPermissionsParams
- func (o *DeleteTeamPermissionsParams) SetContext(ctx context.Context)
- func (o *DeleteTeamPermissionsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTeamPermissionsParams) SetRepository(repository string)
- func (o *DeleteTeamPermissionsParams) SetTeamname(teamname string)
- func (o *DeleteTeamPermissionsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTeamPermissionsParams) WithContext(ctx context.Context) *DeleteTeamPermissionsParams
- func (o *DeleteTeamPermissionsParams) WithHTTPClient(client *http.Client) *DeleteTeamPermissionsParams
- func (o *DeleteTeamPermissionsParams) WithRepository(repository string) *DeleteTeamPermissionsParams
- func (o *DeleteTeamPermissionsParams) WithTeamname(teamname string) *DeleteTeamPermissionsParams
- func (o *DeleteTeamPermissionsParams) WithTimeout(timeout time.Duration) *DeleteTeamPermissionsParams
- func (o *DeleteTeamPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTeamPermissionsReader
- type DeleteTeamPermissionsUnauthorized
- type DeleteUserPermissionsBadRequest
- type DeleteUserPermissionsForbidden
- type DeleteUserPermissionsNoContent
- type DeleteUserPermissionsNotFound
- type DeleteUserPermissionsParams
- func NewDeleteUserPermissionsParams() *DeleteUserPermissionsParams
- func NewDeleteUserPermissionsParamsWithContext(ctx context.Context) *DeleteUserPermissionsParams
- func NewDeleteUserPermissionsParamsWithHTTPClient(client *http.Client) *DeleteUserPermissionsParams
- func NewDeleteUserPermissionsParamsWithTimeout(timeout time.Duration) *DeleteUserPermissionsParams
- func (o *DeleteUserPermissionsParams) SetContext(ctx context.Context)
- func (o *DeleteUserPermissionsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserPermissionsParams) SetRepository(repository string)
- func (o *DeleteUserPermissionsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserPermissionsParams) SetUsername(username string)
- func (o *DeleteUserPermissionsParams) WithContext(ctx context.Context) *DeleteUserPermissionsParams
- func (o *DeleteUserPermissionsParams) WithHTTPClient(client *http.Client) *DeleteUserPermissionsParams
- func (o *DeleteUserPermissionsParams) WithRepository(repository string) *DeleteUserPermissionsParams
- func (o *DeleteUserPermissionsParams) WithTimeout(timeout time.Duration) *DeleteUserPermissionsParams
- func (o *DeleteUserPermissionsParams) WithUsername(username string) *DeleteUserPermissionsParams
- func (o *DeleteUserPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserPermissionsReader
- type DeleteUserPermissionsUnauthorized
- type GetTeamPermissionsBadRequest
- type GetTeamPermissionsForbidden
- type GetTeamPermissionsNotFound
- type GetTeamPermissionsOK
- type GetTeamPermissionsParams
- func NewGetTeamPermissionsParams() *GetTeamPermissionsParams
- func NewGetTeamPermissionsParamsWithContext(ctx context.Context) *GetTeamPermissionsParams
- func NewGetTeamPermissionsParamsWithHTTPClient(client *http.Client) *GetTeamPermissionsParams
- func NewGetTeamPermissionsParamsWithTimeout(timeout time.Duration) *GetTeamPermissionsParams
- func (o *GetTeamPermissionsParams) SetContext(ctx context.Context)
- func (o *GetTeamPermissionsParams) SetHTTPClient(client *http.Client)
- func (o *GetTeamPermissionsParams) SetRepository(repository string)
- func (o *GetTeamPermissionsParams) SetTeamname(teamname string)
- func (o *GetTeamPermissionsParams) SetTimeout(timeout time.Duration)
- func (o *GetTeamPermissionsParams) WithContext(ctx context.Context) *GetTeamPermissionsParams
- func (o *GetTeamPermissionsParams) WithHTTPClient(client *http.Client) *GetTeamPermissionsParams
- func (o *GetTeamPermissionsParams) WithRepository(repository string) *GetTeamPermissionsParams
- func (o *GetTeamPermissionsParams) WithTeamname(teamname string) *GetTeamPermissionsParams
- func (o *GetTeamPermissionsParams) WithTimeout(timeout time.Duration) *GetTeamPermissionsParams
- func (o *GetTeamPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTeamPermissionsReader
- type GetTeamPermissionsUnauthorized
- type GetUserPermissionsBadRequest
- type GetUserPermissionsForbidden
- type GetUserPermissionsNotFound
- type GetUserPermissionsOK
- type GetUserPermissionsParams
- func NewGetUserPermissionsParams() *GetUserPermissionsParams
- func NewGetUserPermissionsParamsWithContext(ctx context.Context) *GetUserPermissionsParams
- func NewGetUserPermissionsParamsWithHTTPClient(client *http.Client) *GetUserPermissionsParams
- func NewGetUserPermissionsParamsWithTimeout(timeout time.Duration) *GetUserPermissionsParams
- func (o *GetUserPermissionsParams) SetContext(ctx context.Context)
- func (o *GetUserPermissionsParams) SetHTTPClient(client *http.Client)
- func (o *GetUserPermissionsParams) SetRepository(repository string)
- func (o *GetUserPermissionsParams) SetTimeout(timeout time.Duration)
- func (o *GetUserPermissionsParams) SetUsername(username string)
- func (o *GetUserPermissionsParams) WithContext(ctx context.Context) *GetUserPermissionsParams
- func (o *GetUserPermissionsParams) WithHTTPClient(client *http.Client) *GetUserPermissionsParams
- func (o *GetUserPermissionsParams) WithRepository(repository string) *GetUserPermissionsParams
- func (o *GetUserPermissionsParams) WithTimeout(timeout time.Duration) *GetUserPermissionsParams
- func (o *GetUserPermissionsParams) WithUsername(username string) *GetUserPermissionsParams
- func (o *GetUserPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserPermissionsReader
- type GetUserPermissionsUnauthorized
- type GetUserTransitivePermissionBadRequest
- type GetUserTransitivePermissionForbidden
- type GetUserTransitivePermissionNotFound
- type GetUserTransitivePermissionOK
- type GetUserTransitivePermissionParams
- func NewGetUserTransitivePermissionParams() *GetUserTransitivePermissionParams
- func NewGetUserTransitivePermissionParamsWithContext(ctx context.Context) *GetUserTransitivePermissionParams
- func NewGetUserTransitivePermissionParamsWithHTTPClient(client *http.Client) *GetUserTransitivePermissionParams
- func NewGetUserTransitivePermissionParamsWithTimeout(timeout time.Duration) *GetUserTransitivePermissionParams
- func (o *GetUserTransitivePermissionParams) SetContext(ctx context.Context)
- func (o *GetUserTransitivePermissionParams) SetHTTPClient(client *http.Client)
- func (o *GetUserTransitivePermissionParams) SetRepository(repository string)
- func (o *GetUserTransitivePermissionParams) SetTimeout(timeout time.Duration)
- func (o *GetUserTransitivePermissionParams) SetUsername(username string)
- func (o *GetUserTransitivePermissionParams) WithContext(ctx context.Context) *GetUserTransitivePermissionParams
- func (o *GetUserTransitivePermissionParams) WithHTTPClient(client *http.Client) *GetUserTransitivePermissionParams
- func (o *GetUserTransitivePermissionParams) WithRepository(repository string) *GetUserTransitivePermissionParams
- func (o *GetUserTransitivePermissionParams) WithTimeout(timeout time.Duration) *GetUserTransitivePermissionParams
- func (o *GetUserTransitivePermissionParams) WithUsername(username string) *GetUserTransitivePermissionParams
- func (o *GetUserTransitivePermissionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserTransitivePermissionReader
- type GetUserTransitivePermissionUnauthorized
- type ListRepoTeamPermissionsBadRequest
- type ListRepoTeamPermissionsForbidden
- type ListRepoTeamPermissionsNotFound
- type ListRepoTeamPermissionsOK
- type ListRepoTeamPermissionsParams
- func NewListRepoTeamPermissionsParams() *ListRepoTeamPermissionsParams
- func NewListRepoTeamPermissionsParamsWithContext(ctx context.Context) *ListRepoTeamPermissionsParams
- func NewListRepoTeamPermissionsParamsWithHTTPClient(client *http.Client) *ListRepoTeamPermissionsParams
- func NewListRepoTeamPermissionsParamsWithTimeout(timeout time.Duration) *ListRepoTeamPermissionsParams
- func (o *ListRepoTeamPermissionsParams) SetContext(ctx context.Context)
- func (o *ListRepoTeamPermissionsParams) SetHTTPClient(client *http.Client)
- func (o *ListRepoTeamPermissionsParams) SetRepository(repository string)
- func (o *ListRepoTeamPermissionsParams) SetTimeout(timeout time.Duration)
- func (o *ListRepoTeamPermissionsParams) WithContext(ctx context.Context) *ListRepoTeamPermissionsParams
- func (o *ListRepoTeamPermissionsParams) WithHTTPClient(client *http.Client) *ListRepoTeamPermissionsParams
- func (o *ListRepoTeamPermissionsParams) WithRepository(repository string) *ListRepoTeamPermissionsParams
- func (o *ListRepoTeamPermissionsParams) WithTimeout(timeout time.Duration) *ListRepoTeamPermissionsParams
- func (o *ListRepoTeamPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRepoTeamPermissionsReader
- type ListRepoTeamPermissionsUnauthorized
- type ListRepoUserPermissionsBadRequest
- type ListRepoUserPermissionsForbidden
- type ListRepoUserPermissionsNotFound
- type ListRepoUserPermissionsOK
- type ListRepoUserPermissionsParams
- func NewListRepoUserPermissionsParams() *ListRepoUserPermissionsParams
- func NewListRepoUserPermissionsParamsWithContext(ctx context.Context) *ListRepoUserPermissionsParams
- func NewListRepoUserPermissionsParamsWithHTTPClient(client *http.Client) *ListRepoUserPermissionsParams
- func NewListRepoUserPermissionsParamsWithTimeout(timeout time.Duration) *ListRepoUserPermissionsParams
- func (o *ListRepoUserPermissionsParams) SetContext(ctx context.Context)
- func (o *ListRepoUserPermissionsParams) SetHTTPClient(client *http.Client)
- func (o *ListRepoUserPermissionsParams) SetRepository(repository string)
- func (o *ListRepoUserPermissionsParams) SetTimeout(timeout time.Duration)
- func (o *ListRepoUserPermissionsParams) WithContext(ctx context.Context) *ListRepoUserPermissionsParams
- func (o *ListRepoUserPermissionsParams) WithHTTPClient(client *http.Client) *ListRepoUserPermissionsParams
- func (o *ListRepoUserPermissionsParams) WithRepository(repository string) *ListRepoUserPermissionsParams
- func (o *ListRepoUserPermissionsParams) WithTimeout(timeout time.Duration) *ListRepoUserPermissionsParams
- func (o *ListRepoUserPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRepoUserPermissionsReader
- type ListRepoUserPermissionsUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeTeamPermissionsBadRequest ¶
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 (o *ChangeTeamPermissionsBadRequest) Error() string
func (*ChangeTeamPermissionsBadRequest) GetPayload ¶
func (o *ChangeTeamPermissionsBadRequest) GetPayload() *models.APIError
type ChangeTeamPermissionsForbidden ¶
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 (o *ChangeTeamPermissionsForbidden) Error() string
func (*ChangeTeamPermissionsForbidden) GetPayload ¶
func (o *ChangeTeamPermissionsForbidden) GetPayload() *models.APIError
type ChangeTeamPermissionsNotFound ¶
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 (o *ChangeTeamPermissionsNotFound) Error() string
func (*ChangeTeamPermissionsNotFound) GetPayload ¶
func (o *ChangeTeamPermissionsNotFound) GetPayload() *models.APIError
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 ¶
func (o *ChangeTeamPermissionsParams) SetBody(body *models.TeamPermission)
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 ¶
func (o *ChangeTeamPermissionsParams) WithBody(body *models.TeamPermission) *ChangeTeamPermissionsParams
WithBody adds the body to the change team permissions params
func (*ChangeTeamPermissionsParams) WithContext ¶
func (o *ChangeTeamPermissionsParams) WithContext(ctx context.Context) *ChangeTeamPermissionsParams
WithContext adds the context to the change team permissions params
func (*ChangeTeamPermissionsParams) WithHTTPClient ¶
func (o *ChangeTeamPermissionsParams) WithHTTPClient(client *http.Client) *ChangeTeamPermissionsParams
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 ¶
func (o *ChangeTeamPermissionsParams) WithTeamname(teamname string) *ChangeTeamPermissionsParams
WithTeamname adds the teamname to the change team permissions params
func (*ChangeTeamPermissionsParams) WithTimeout ¶
func (o *ChangeTeamPermissionsParams) WithTimeout(timeout time.Duration) *ChangeTeamPermissionsParams
WithTimeout adds the timeout to the change team permissions params
func (*ChangeTeamPermissionsParams) WriteToRequest ¶
func (o *ChangeTeamPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *ChangeTeamPermissionsUnauthorized) Error() string
func (*ChangeTeamPermissionsUnauthorized) GetPayload ¶
func (o *ChangeTeamPermissionsUnauthorized) GetPayload() *models.APIError
type ChangeUserPermissionsBadRequest ¶
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 (o *ChangeUserPermissionsBadRequest) Error() string
func (*ChangeUserPermissionsBadRequest) GetPayload ¶
func (o *ChangeUserPermissionsBadRequest) GetPayload() *models.APIError
type ChangeUserPermissionsForbidden ¶
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 (o *ChangeUserPermissionsForbidden) Error() string
func (*ChangeUserPermissionsForbidden) GetPayload ¶
func (o *ChangeUserPermissionsForbidden) GetPayload() *models.APIError
type ChangeUserPermissionsNotFound ¶
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 (o *ChangeUserPermissionsNotFound) Error() string
func (*ChangeUserPermissionsNotFound) GetPayload ¶
func (o *ChangeUserPermissionsNotFound) GetPayload() *models.APIError
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 ¶
func (o *ChangeUserPermissionsParams) SetBody(body *models.UserPermission)
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 ¶
func (o *ChangeUserPermissionsParams) WithBody(body *models.UserPermission) *ChangeUserPermissionsParams
WithBody adds the body to the change user permissions params
func (*ChangeUserPermissionsParams) WithContext ¶
func (o *ChangeUserPermissionsParams) WithContext(ctx context.Context) *ChangeUserPermissionsParams
WithContext adds the context to the change user permissions params
func (*ChangeUserPermissionsParams) WithHTTPClient ¶
func (o *ChangeUserPermissionsParams) WithHTTPClient(client *http.Client) *ChangeUserPermissionsParams
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 ¶
func (o *ChangeUserPermissionsParams) WithTimeout(timeout time.Duration) *ChangeUserPermissionsParams
WithTimeout adds the timeout to the change user permissions params
func (*ChangeUserPermissionsParams) WithUsername ¶
func (o *ChangeUserPermissionsParams) WithUsername(username string) *ChangeUserPermissionsParams
WithUsername adds the username to the change user permissions params
func (*ChangeUserPermissionsParams) WriteToRequest ¶
func (o *ChangeUserPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *ChangeUserPermissionsUnauthorized) Error() string
func (*ChangeUserPermissionsUnauthorized) GetPayload ¶
func (o *ChangeUserPermissionsUnauthorized) GetPayload() *models.APIError
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 ¶
func (a *Client) DeleteTeamPermissions(params *DeleteTeamPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTeamPermissionsNoContent, error)
DeleteTeamPermissions Delete the permission for the specified team.
func (*Client) DeleteUserPermissions ¶
func (a *Client) DeleteUserPermissions(params *DeleteUserPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserPermissionsNoContent, error)
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 ¶
type ClientService interface { ChangeTeamPermissions(params *ChangeTeamPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeTeamPermissionsOK, error) ChangeUserPermissions(params *ChangeUserPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeUserPermissionsOK, error) DeleteTeamPermissions(params *DeleteTeamPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTeamPermissionsNoContent, error) DeleteUserPermissions(params *DeleteUserPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserPermissionsNoContent, error) GetTeamPermissions(params *GetTeamPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetTeamPermissionsOK, error) GetUserPermissions(params *GetUserPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserPermissionsOK, error) GetUserTransitivePermission(params *GetUserTransitivePermissionParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserTransitivePermissionOK, error) ListRepoTeamPermissions(params *ListRepoTeamPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListRepoTeamPermissionsOK, error) ListRepoUserPermissions(params *ListRepoUserPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListRepoUserPermissionsOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new permission API client.
type DeleteTeamPermissionsBadRequest ¶
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 (o *DeleteTeamPermissionsBadRequest) Error() string
func (*DeleteTeamPermissionsBadRequest) GetPayload ¶
func (o *DeleteTeamPermissionsBadRequest) GetPayload() *models.APIError
type DeleteTeamPermissionsForbidden ¶
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 (o *DeleteTeamPermissionsForbidden) Error() string
func (*DeleteTeamPermissionsForbidden) GetPayload ¶
func (o *DeleteTeamPermissionsForbidden) GetPayload() *models.APIError
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 ¶
func (o *DeleteTeamPermissionsNoContent) Error() string
type DeleteTeamPermissionsNotFound ¶
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 (o *DeleteTeamPermissionsNotFound) Error() string
func (*DeleteTeamPermissionsNotFound) GetPayload ¶
func (o *DeleteTeamPermissionsNotFound) GetPayload() *models.APIError
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 ¶
func (o *DeleteTeamPermissionsParams) WithContext(ctx context.Context) *DeleteTeamPermissionsParams
WithContext adds the context to the delete team permissions params
func (*DeleteTeamPermissionsParams) WithHTTPClient ¶
func (o *DeleteTeamPermissionsParams) WithHTTPClient(client *http.Client) *DeleteTeamPermissionsParams
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 ¶
func (o *DeleteTeamPermissionsParams) WithTeamname(teamname string) *DeleteTeamPermissionsParams
WithTeamname adds the teamname to the delete team permissions params
func (*DeleteTeamPermissionsParams) WithTimeout ¶
func (o *DeleteTeamPermissionsParams) WithTimeout(timeout time.Duration) *DeleteTeamPermissionsParams
WithTimeout adds the timeout to the delete team permissions params
func (*DeleteTeamPermissionsParams) WriteToRequest ¶
func (o *DeleteTeamPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *DeleteTeamPermissionsUnauthorized) Error() string
func (*DeleteTeamPermissionsUnauthorized) GetPayload ¶
func (o *DeleteTeamPermissionsUnauthorized) GetPayload() *models.APIError
type DeleteUserPermissionsBadRequest ¶
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 (o *DeleteUserPermissionsBadRequest) Error() string
func (*DeleteUserPermissionsBadRequest) GetPayload ¶
func (o *DeleteUserPermissionsBadRequest) GetPayload() *models.APIError
type DeleteUserPermissionsForbidden ¶
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 (o *DeleteUserPermissionsForbidden) Error() string
func (*DeleteUserPermissionsForbidden) GetPayload ¶
func (o *DeleteUserPermissionsForbidden) GetPayload() *models.APIError
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 ¶
func (o *DeleteUserPermissionsNoContent) Error() string
type DeleteUserPermissionsNotFound ¶
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 (o *DeleteUserPermissionsNotFound) Error() string
func (*DeleteUserPermissionsNotFound) GetPayload ¶
func (o *DeleteUserPermissionsNotFound) GetPayload() *models.APIError
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 ¶
func (o *DeleteUserPermissionsParams) WithContext(ctx context.Context) *DeleteUserPermissionsParams
WithContext adds the context to the delete user permissions params
func (*DeleteUserPermissionsParams) WithHTTPClient ¶
func (o *DeleteUserPermissionsParams) WithHTTPClient(client *http.Client) *DeleteUserPermissionsParams
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 ¶
func (o *DeleteUserPermissionsParams) WithTimeout(timeout time.Duration) *DeleteUserPermissionsParams
WithTimeout adds the timeout to the delete user permissions params
func (*DeleteUserPermissionsParams) WithUsername ¶
func (o *DeleteUserPermissionsParams) WithUsername(username string) *DeleteUserPermissionsParams
WithUsername adds the username to the delete user permissions params
func (*DeleteUserPermissionsParams) WriteToRequest ¶
func (o *DeleteUserPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *DeleteUserPermissionsUnauthorized) Error() string
func (*DeleteUserPermissionsUnauthorized) GetPayload ¶
func (o *DeleteUserPermissionsUnauthorized) GetPayload() *models.APIError
type GetTeamPermissionsBadRequest ¶
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 (o *GetTeamPermissionsBadRequest) Error() string
func (*GetTeamPermissionsBadRequest) GetPayload ¶
func (o *GetTeamPermissionsBadRequest) GetPayload() *models.APIError
type GetTeamPermissionsForbidden ¶
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 (o *GetTeamPermissionsForbidden) Error() string
func (*GetTeamPermissionsForbidden) GetPayload ¶
func (o *GetTeamPermissionsForbidden) GetPayload() *models.APIError
type GetTeamPermissionsNotFound ¶
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 (o *GetTeamPermissionsNotFound) Error() string
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 ¶
func (o *GetTeamPermissionsParams) WithContext(ctx context.Context) *GetTeamPermissionsParams
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 ¶
func (o *GetTeamPermissionsParams) WithTimeout(timeout time.Duration) *GetTeamPermissionsParams
WithTimeout adds the timeout to the get team permissions params
func (*GetTeamPermissionsParams) WriteToRequest ¶
func (o *GetTeamPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetTeamPermissionsUnauthorized) Error() string
func (*GetTeamPermissionsUnauthorized) GetPayload ¶
func (o *GetTeamPermissionsUnauthorized) GetPayload() *models.APIError
type GetUserPermissionsBadRequest ¶
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 (o *GetUserPermissionsBadRequest) Error() string
func (*GetUserPermissionsBadRequest) GetPayload ¶
func (o *GetUserPermissionsBadRequest) GetPayload() *models.APIError
type GetUserPermissionsForbidden ¶
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 (o *GetUserPermissionsForbidden) Error() string
func (*GetUserPermissionsForbidden) GetPayload ¶
func (o *GetUserPermissionsForbidden) GetPayload() *models.APIError
type GetUserPermissionsNotFound ¶
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 (o *GetUserPermissionsNotFound) Error() string
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 ¶
func (o *GetUserPermissionsParams) WithContext(ctx context.Context) *GetUserPermissionsParams
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 ¶
func (o *GetUserPermissionsParams) WithTimeout(timeout time.Duration) *GetUserPermissionsParams
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 ¶
func (o *GetUserPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetUserPermissionsUnauthorized) Error() string
func (*GetUserPermissionsUnauthorized) GetPayload ¶
func (o *GetUserPermissionsUnauthorized) GetPayload() *models.APIError
type GetUserTransitivePermissionBadRequest ¶
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 (o *GetUserTransitivePermissionBadRequest) Error() string
func (*GetUserTransitivePermissionBadRequest) GetPayload ¶
func (o *GetUserTransitivePermissionBadRequest) GetPayload() *models.APIError
type GetUserTransitivePermissionForbidden ¶
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 (o *GetUserTransitivePermissionForbidden) Error() string
func (*GetUserTransitivePermissionForbidden) GetPayload ¶
func (o *GetUserTransitivePermissionForbidden) GetPayload() *models.APIError
type GetUserTransitivePermissionNotFound ¶
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 (o *GetUserTransitivePermissionNotFound) Error() string
func (*GetUserTransitivePermissionNotFound) GetPayload ¶
func (o *GetUserTransitivePermissionNotFound) GetPayload() *models.APIError
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 ¶
func (o *GetUserTransitivePermissionOK) Error() string
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 ¶
func (o *GetUserTransitivePermissionParams) SetContext(ctx context.Context)
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 ¶
func (o *GetUserTransitivePermissionParams) WithContext(ctx context.Context) *GetUserTransitivePermissionParams
WithContext adds the context to the get user transitive permission params
func (*GetUserTransitivePermissionParams) WithHTTPClient ¶
func (o *GetUserTransitivePermissionParams) WithHTTPClient(client *http.Client) *GetUserTransitivePermissionParams
WithHTTPClient adds the HTTPClient to the get user transitive permission params
func (*GetUserTransitivePermissionParams) WithRepository ¶
func (o *GetUserTransitivePermissionParams) WithRepository(repository string) *GetUserTransitivePermissionParams
WithRepository adds the repository to the get user transitive permission params
func (*GetUserTransitivePermissionParams) WithTimeout ¶
func (o *GetUserTransitivePermissionParams) WithTimeout(timeout time.Duration) *GetUserTransitivePermissionParams
WithTimeout adds the timeout to the get user transitive permission params
func (*GetUserTransitivePermissionParams) WithUsername ¶
func (o *GetUserTransitivePermissionParams) WithUsername(username string) *GetUserTransitivePermissionParams
WithUsername adds the username to the get user transitive permission params
func (*GetUserTransitivePermissionParams) WriteToRequest ¶
func (o *GetUserTransitivePermissionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetUserTransitivePermissionUnauthorized) Error() string
func (*GetUserTransitivePermissionUnauthorized) GetPayload ¶
func (o *GetUserTransitivePermissionUnauthorized) GetPayload() *models.APIError
type ListRepoTeamPermissionsBadRequest ¶
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 (o *ListRepoTeamPermissionsBadRequest) Error() string
func (*ListRepoTeamPermissionsBadRequest) GetPayload ¶
func (o *ListRepoTeamPermissionsBadRequest) GetPayload() *models.APIError
type ListRepoTeamPermissionsForbidden ¶
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 (o *ListRepoTeamPermissionsForbidden) Error() string
func (*ListRepoTeamPermissionsForbidden) GetPayload ¶
func (o *ListRepoTeamPermissionsForbidden) GetPayload() *models.APIError
type ListRepoTeamPermissionsNotFound ¶
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 (o *ListRepoTeamPermissionsNotFound) Error() string
func (*ListRepoTeamPermissionsNotFound) GetPayload ¶
func (o *ListRepoTeamPermissionsNotFound) GetPayload() *models.APIError
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 ¶
func (o *ListRepoTeamPermissionsParams) WithContext(ctx context.Context) *ListRepoTeamPermissionsParams
WithContext adds the context to the list repo team permissions params
func (*ListRepoTeamPermissionsParams) WithHTTPClient ¶
func (o *ListRepoTeamPermissionsParams) WithHTTPClient(client *http.Client) *ListRepoTeamPermissionsParams
WithHTTPClient adds the HTTPClient to the list repo team permissions params
func (*ListRepoTeamPermissionsParams) WithRepository ¶
func (o *ListRepoTeamPermissionsParams) WithRepository(repository string) *ListRepoTeamPermissionsParams
WithRepository adds the repository to the list repo team permissions params
func (*ListRepoTeamPermissionsParams) WithTimeout ¶
func (o *ListRepoTeamPermissionsParams) WithTimeout(timeout time.Duration) *ListRepoTeamPermissionsParams
WithTimeout adds the timeout to the list repo team permissions params
func (*ListRepoTeamPermissionsParams) WriteToRequest ¶
func (o *ListRepoTeamPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *ListRepoTeamPermissionsUnauthorized) Error() string
func (*ListRepoTeamPermissionsUnauthorized) GetPayload ¶
func (o *ListRepoTeamPermissionsUnauthorized) GetPayload() *models.APIError
type ListRepoUserPermissionsBadRequest ¶
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 (o *ListRepoUserPermissionsBadRequest) Error() string
func (*ListRepoUserPermissionsBadRequest) GetPayload ¶
func (o *ListRepoUserPermissionsBadRequest) GetPayload() *models.APIError
type ListRepoUserPermissionsForbidden ¶
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 (o *ListRepoUserPermissionsForbidden) Error() string
func (*ListRepoUserPermissionsForbidden) GetPayload ¶
func (o *ListRepoUserPermissionsForbidden) GetPayload() *models.APIError
type ListRepoUserPermissionsNotFound ¶
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 (o *ListRepoUserPermissionsNotFound) Error() string
func (*ListRepoUserPermissionsNotFound) GetPayload ¶
func (o *ListRepoUserPermissionsNotFound) GetPayload() *models.APIError
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 ¶
func (o *ListRepoUserPermissionsParams) WithContext(ctx context.Context) *ListRepoUserPermissionsParams
WithContext adds the context to the list repo user permissions params
func (*ListRepoUserPermissionsParams) WithHTTPClient ¶
func (o *ListRepoUserPermissionsParams) WithHTTPClient(client *http.Client) *ListRepoUserPermissionsParams
WithHTTPClient adds the HTTPClient to the list repo user permissions params
func (*ListRepoUserPermissionsParams) WithRepository ¶
func (o *ListRepoUserPermissionsParams) WithRepository(repository string) *ListRepoUserPermissionsParams
WithRepository adds the repository to the list repo user permissions params
func (*ListRepoUserPermissionsParams) WithTimeout ¶
func (o *ListRepoUserPermissionsParams) WithTimeout(timeout time.Duration) *ListRepoUserPermissionsParams
WithTimeout adds the timeout to the list repo user permissions params
func (*ListRepoUserPermissionsParams) WriteToRequest ¶
func (o *ListRepoUserPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *ListRepoUserPermissionsUnauthorized) Error() string
func (*ListRepoUserPermissionsUnauthorized) GetPayload ¶
func (o *ListRepoUserPermissionsUnauthorized) GetPayload() *models.APIError
Source Files ¶
- change_team_permissions_parameters.go
- change_team_permissions_responses.go
- change_user_permissions_parameters.go
- change_user_permissions_responses.go
- delete_team_permissions_parameters.go
- delete_team_permissions_responses.go
- delete_user_permissions_parameters.go
- delete_user_permissions_responses.go
- get_team_permissions_parameters.go
- get_team_permissions_responses.go
- get_user_permissions_parameters.go
- get_user_permissions_responses.go
- get_user_transitive_permission_parameters.go
- get_user_transitive_permission_responses.go
- list_repo_team_permissions_parameters.go
- list_repo_team_permissions_responses.go
- list_repo_user_permissions_parameters.go
- list_repo_user_permissions_responses.go
- permission_client.go