Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteACL(params *DeleteACLParams, opts ...ClientOption) (*DeleteACLOK, error)
- func (a *Client) PutACL(params *PutACLParams, opts ...ClientOption) (*PutACLOK, error)
- func (a *Client) SearchAcls(params *SearchAclsParams, opts ...ClientOption) (*SearchAclsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteACLForbidden
- func (o *DeleteACLForbidden) Code() int
- func (o *DeleteACLForbidden) Error() string
- func (o *DeleteACLForbidden) GetPayload() *models.RestError
- func (o *DeleteACLForbidden) IsClientError() bool
- func (o *DeleteACLForbidden) IsCode(code int) bool
- func (o *DeleteACLForbidden) IsRedirect() bool
- func (o *DeleteACLForbidden) IsServerError() bool
- func (o *DeleteACLForbidden) IsSuccess() bool
- func (o *DeleteACLForbidden) String() string
- type DeleteACLInternalServerError
- func (o *DeleteACLInternalServerError) Code() int
- func (o *DeleteACLInternalServerError) Error() string
- func (o *DeleteACLInternalServerError) GetPayload() *models.RestError
- func (o *DeleteACLInternalServerError) IsClientError() bool
- func (o *DeleteACLInternalServerError) IsCode(code int) bool
- func (o *DeleteACLInternalServerError) IsRedirect() bool
- func (o *DeleteACLInternalServerError) IsServerError() bool
- func (o *DeleteACLInternalServerError) IsSuccess() bool
- func (o *DeleteACLInternalServerError) String() string
- type DeleteACLNotFound
- func (o *DeleteACLNotFound) Code() int
- func (o *DeleteACLNotFound) Error() string
- func (o *DeleteACLNotFound) GetPayload() *models.RestError
- func (o *DeleteACLNotFound) IsClientError() bool
- func (o *DeleteACLNotFound) IsCode(code int) bool
- func (o *DeleteACLNotFound) IsRedirect() bool
- func (o *DeleteACLNotFound) IsServerError() bool
- func (o *DeleteACLNotFound) IsSuccess() bool
- func (o *DeleteACLNotFound) String() string
- type DeleteACLOK
- func (o *DeleteACLOK) Code() int
- func (o *DeleteACLOK) Error() string
- func (o *DeleteACLOK) GetPayload() *models.RestDeleteResponse
- func (o *DeleteACLOK) IsClientError() bool
- func (o *DeleteACLOK) IsCode(code int) bool
- func (o *DeleteACLOK) IsRedirect() bool
- func (o *DeleteACLOK) IsServerError() bool
- func (o *DeleteACLOK) IsSuccess() bool
- func (o *DeleteACLOK) String() string
- type DeleteACLParams
- func (o *DeleteACLParams) SetBody(body *models.IdmACL)
- func (o *DeleteACLParams) SetContext(ctx context.Context)
- func (o *DeleteACLParams) SetDefaults()
- func (o *DeleteACLParams) SetHTTPClient(client *http.Client)
- func (o *DeleteACLParams) SetTimeout(timeout time.Duration)
- func (o *DeleteACLParams) WithBody(body *models.IdmACL) *DeleteACLParams
- func (o *DeleteACLParams) WithContext(ctx context.Context) *DeleteACLParams
- func (o *DeleteACLParams) WithDefaults() *DeleteACLParams
- func (o *DeleteACLParams) WithHTTPClient(client *http.Client) *DeleteACLParams
- func (o *DeleteACLParams) WithTimeout(timeout time.Duration) *DeleteACLParams
- func (o *DeleteACLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteACLReader
- type DeleteACLUnauthorized
- func (o *DeleteACLUnauthorized) Code() int
- func (o *DeleteACLUnauthorized) Error() string
- func (o *DeleteACLUnauthorized) IsClientError() bool
- func (o *DeleteACLUnauthorized) IsCode(code int) bool
- func (o *DeleteACLUnauthorized) IsRedirect() bool
- func (o *DeleteACLUnauthorized) IsServerError() bool
- func (o *DeleteACLUnauthorized) IsSuccess() bool
- func (o *DeleteACLUnauthorized) String() string
- type PutACLForbidden
- func (o *PutACLForbidden) Code() int
- func (o *PutACLForbidden) Error() string
- func (o *PutACLForbidden) GetPayload() *models.RestError
- func (o *PutACLForbidden) IsClientError() bool
- func (o *PutACLForbidden) IsCode(code int) bool
- func (o *PutACLForbidden) IsRedirect() bool
- func (o *PutACLForbidden) IsServerError() bool
- func (o *PutACLForbidden) IsSuccess() bool
- func (o *PutACLForbidden) String() string
- type PutACLInternalServerError
- func (o *PutACLInternalServerError) Code() int
- func (o *PutACLInternalServerError) Error() string
- func (o *PutACLInternalServerError) GetPayload() *models.RestError
- func (o *PutACLInternalServerError) IsClientError() bool
- func (o *PutACLInternalServerError) IsCode(code int) bool
- func (o *PutACLInternalServerError) IsRedirect() bool
- func (o *PutACLInternalServerError) IsServerError() bool
- func (o *PutACLInternalServerError) IsSuccess() bool
- func (o *PutACLInternalServerError) String() string
- type PutACLNotFound
- func (o *PutACLNotFound) Code() int
- func (o *PutACLNotFound) Error() string
- func (o *PutACLNotFound) GetPayload() *models.RestError
- func (o *PutACLNotFound) IsClientError() bool
- func (o *PutACLNotFound) IsCode(code int) bool
- func (o *PutACLNotFound) IsRedirect() bool
- func (o *PutACLNotFound) IsServerError() bool
- func (o *PutACLNotFound) IsSuccess() bool
- func (o *PutACLNotFound) String() string
- type PutACLOK
- func (o *PutACLOK) Code() int
- func (o *PutACLOK) Error() string
- func (o *PutACLOK) GetPayload() *models.IdmACL
- func (o *PutACLOK) IsClientError() bool
- func (o *PutACLOK) IsCode(code int) bool
- func (o *PutACLOK) IsRedirect() bool
- func (o *PutACLOK) IsServerError() bool
- func (o *PutACLOK) IsSuccess() bool
- func (o *PutACLOK) String() string
- type PutACLParams
- func (o *PutACLParams) SetBody(body *models.IdmACL)
- func (o *PutACLParams) SetContext(ctx context.Context)
- func (o *PutACLParams) SetDefaults()
- func (o *PutACLParams) SetHTTPClient(client *http.Client)
- func (o *PutACLParams) SetTimeout(timeout time.Duration)
- func (o *PutACLParams) WithBody(body *models.IdmACL) *PutACLParams
- func (o *PutACLParams) WithContext(ctx context.Context) *PutACLParams
- func (o *PutACLParams) WithDefaults() *PutACLParams
- func (o *PutACLParams) WithHTTPClient(client *http.Client) *PutACLParams
- func (o *PutACLParams) WithTimeout(timeout time.Duration) *PutACLParams
- func (o *PutACLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutACLReader
- type PutACLUnauthorized
- func (o *PutACLUnauthorized) Code() int
- func (o *PutACLUnauthorized) Error() string
- func (o *PutACLUnauthorized) IsClientError() bool
- func (o *PutACLUnauthorized) IsCode(code int) bool
- func (o *PutACLUnauthorized) IsRedirect() bool
- func (o *PutACLUnauthorized) IsServerError() bool
- func (o *PutACLUnauthorized) IsSuccess() bool
- func (o *PutACLUnauthorized) String() string
- type SearchAclsForbidden
- func (o *SearchAclsForbidden) Code() int
- func (o *SearchAclsForbidden) Error() string
- func (o *SearchAclsForbidden) GetPayload() *models.RestError
- func (o *SearchAclsForbidden) IsClientError() bool
- func (o *SearchAclsForbidden) IsCode(code int) bool
- func (o *SearchAclsForbidden) IsRedirect() bool
- func (o *SearchAclsForbidden) IsServerError() bool
- func (o *SearchAclsForbidden) IsSuccess() bool
- func (o *SearchAclsForbidden) String() string
- type SearchAclsInternalServerError
- func (o *SearchAclsInternalServerError) Code() int
- func (o *SearchAclsInternalServerError) Error() string
- func (o *SearchAclsInternalServerError) GetPayload() *models.RestError
- func (o *SearchAclsInternalServerError) IsClientError() bool
- func (o *SearchAclsInternalServerError) IsCode(code int) bool
- func (o *SearchAclsInternalServerError) IsRedirect() bool
- func (o *SearchAclsInternalServerError) IsServerError() bool
- func (o *SearchAclsInternalServerError) IsSuccess() bool
- func (o *SearchAclsInternalServerError) String() string
- type SearchAclsNotFound
- func (o *SearchAclsNotFound) Code() int
- func (o *SearchAclsNotFound) Error() string
- func (o *SearchAclsNotFound) GetPayload() *models.RestError
- func (o *SearchAclsNotFound) IsClientError() bool
- func (o *SearchAclsNotFound) IsCode(code int) bool
- func (o *SearchAclsNotFound) IsRedirect() bool
- func (o *SearchAclsNotFound) IsServerError() bool
- func (o *SearchAclsNotFound) IsSuccess() bool
- func (o *SearchAclsNotFound) String() string
- type SearchAclsOK
- func (o *SearchAclsOK) Code() int
- func (o *SearchAclsOK) Error() string
- func (o *SearchAclsOK) GetPayload() *models.RestACLCollection
- func (o *SearchAclsOK) IsClientError() bool
- func (o *SearchAclsOK) IsCode(code int) bool
- func (o *SearchAclsOK) IsRedirect() bool
- func (o *SearchAclsOK) IsServerError() bool
- func (o *SearchAclsOK) IsSuccess() bool
- func (o *SearchAclsOK) String() string
- type SearchAclsParams
- func (o *SearchAclsParams) SetBody(body *models.RestSearchACLRequest)
- func (o *SearchAclsParams) SetContext(ctx context.Context)
- func (o *SearchAclsParams) SetDefaults()
- func (o *SearchAclsParams) SetHTTPClient(client *http.Client)
- func (o *SearchAclsParams) SetTimeout(timeout time.Duration)
- func (o *SearchAclsParams) WithBody(body *models.RestSearchACLRequest) *SearchAclsParams
- func (o *SearchAclsParams) WithContext(ctx context.Context) *SearchAclsParams
- func (o *SearchAclsParams) WithDefaults() *SearchAclsParams
- func (o *SearchAclsParams) WithHTTPClient(client *http.Client) *SearchAclsParams
- func (o *SearchAclsParams) WithTimeout(timeout time.Duration) *SearchAclsParams
- func (o *SearchAclsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchAclsReader
- type SearchAclsUnauthorized
- func (o *SearchAclsUnauthorized) Code() int
- func (o *SearchAclsUnauthorized) Error() string
- func (o *SearchAclsUnauthorized) IsClientError() bool
- func (o *SearchAclsUnauthorized) IsCode(code int) bool
- func (o *SearchAclsUnauthorized) IsRedirect() bool
- func (o *SearchAclsUnauthorized) IsServerError() bool
- func (o *SearchAclsUnauthorized) IsSuccess() bool
- func (o *SearchAclsUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for acl service API
func (*Client) DeleteACL ¶
func (a *Client) DeleteACL(params *DeleteACLParams, opts ...ClientOption) (*DeleteACLOK, error)
DeleteACL deletes one or more a c ls
func (*Client) PutACL ¶
func (a *Client) PutACL(params *PutACLParams, opts ...ClientOption) (*PutACLOK, error)
PutACL stores an ACL
func (*Client) SearchAcls ¶
func (a *Client) SearchAcls(params *SearchAclsParams, opts ...ClientOption) (*SearchAclsOK, error)
SearchAcls searches acls
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteACL(params *DeleteACLParams, opts ...ClientOption) (*DeleteACLOK, error) PutACL(params *PutACLParams, opts ...ClientOption) (*PutACLOK, error) SearchAcls(params *SearchAclsParams, opts ...ClientOption) (*SearchAclsOK, 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 acl service API client.
type DeleteACLForbidden ¶
DeleteACLForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewDeleteACLForbidden ¶
func NewDeleteACLForbidden() *DeleteACLForbidden
NewDeleteACLForbidden creates a DeleteACLForbidden with default headers values
func (*DeleteACLForbidden) Code ¶
func (o *DeleteACLForbidden) Code() int
Code gets the status code for the delete Acl forbidden response
func (*DeleteACLForbidden) Error ¶
func (o *DeleteACLForbidden) Error() string
func (*DeleteACLForbidden) GetPayload ¶
func (o *DeleteACLForbidden) GetPayload() *models.RestError
func (*DeleteACLForbidden) IsClientError ¶
func (o *DeleteACLForbidden) IsClientError() bool
IsClientError returns true when this delete Acl forbidden response has a 4xx status code
func (*DeleteACLForbidden) IsCode ¶
func (o *DeleteACLForbidden) IsCode(code int) bool
IsCode returns true when this delete Acl forbidden response a status code equal to that given
func (*DeleteACLForbidden) IsRedirect ¶
func (o *DeleteACLForbidden) IsRedirect() bool
IsRedirect returns true when this delete Acl forbidden response has a 3xx status code
func (*DeleteACLForbidden) IsServerError ¶
func (o *DeleteACLForbidden) IsServerError() bool
IsServerError returns true when this delete Acl forbidden response has a 5xx status code
func (*DeleteACLForbidden) IsSuccess ¶
func (o *DeleteACLForbidden) IsSuccess() bool
IsSuccess returns true when this delete Acl forbidden response has a 2xx status code
func (*DeleteACLForbidden) String ¶
func (o *DeleteACLForbidden) String() string
type DeleteACLInternalServerError ¶
DeleteACLInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewDeleteACLInternalServerError ¶
func NewDeleteACLInternalServerError() *DeleteACLInternalServerError
NewDeleteACLInternalServerError creates a DeleteACLInternalServerError with default headers values
func (*DeleteACLInternalServerError) Code ¶
func (o *DeleteACLInternalServerError) Code() int
Code gets the status code for the delete Acl internal server error response
func (*DeleteACLInternalServerError) Error ¶
func (o *DeleteACLInternalServerError) Error() string
func (*DeleteACLInternalServerError) GetPayload ¶
func (o *DeleteACLInternalServerError) GetPayload() *models.RestError
func (*DeleteACLInternalServerError) IsClientError ¶
func (o *DeleteACLInternalServerError) IsClientError() bool
IsClientError returns true when this delete Acl internal server error response has a 4xx status code
func (*DeleteACLInternalServerError) IsCode ¶
func (o *DeleteACLInternalServerError) IsCode(code int) bool
IsCode returns true when this delete Acl internal server error response a status code equal to that given
func (*DeleteACLInternalServerError) IsRedirect ¶
func (o *DeleteACLInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete Acl internal server error response has a 3xx status code
func (*DeleteACLInternalServerError) IsServerError ¶
func (o *DeleteACLInternalServerError) IsServerError() bool
IsServerError returns true when this delete Acl internal server error response has a 5xx status code
func (*DeleteACLInternalServerError) IsSuccess ¶
func (o *DeleteACLInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete Acl internal server error response has a 2xx status code
func (*DeleteACLInternalServerError) String ¶
func (o *DeleteACLInternalServerError) String() string
type DeleteACLNotFound ¶
DeleteACLNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewDeleteACLNotFound ¶
func NewDeleteACLNotFound() *DeleteACLNotFound
NewDeleteACLNotFound creates a DeleteACLNotFound with default headers values
func (*DeleteACLNotFound) Code ¶
func (o *DeleteACLNotFound) Code() int
Code gets the status code for the delete Acl not found response
func (*DeleteACLNotFound) Error ¶
func (o *DeleteACLNotFound) Error() string
func (*DeleteACLNotFound) GetPayload ¶
func (o *DeleteACLNotFound) GetPayload() *models.RestError
func (*DeleteACLNotFound) IsClientError ¶
func (o *DeleteACLNotFound) IsClientError() bool
IsClientError returns true when this delete Acl not found response has a 4xx status code
func (*DeleteACLNotFound) IsCode ¶
func (o *DeleteACLNotFound) IsCode(code int) bool
IsCode returns true when this delete Acl not found response a status code equal to that given
func (*DeleteACLNotFound) IsRedirect ¶
func (o *DeleteACLNotFound) IsRedirect() bool
IsRedirect returns true when this delete Acl not found response has a 3xx status code
func (*DeleteACLNotFound) IsServerError ¶
func (o *DeleteACLNotFound) IsServerError() bool
IsServerError returns true when this delete Acl not found response has a 5xx status code
func (*DeleteACLNotFound) IsSuccess ¶
func (o *DeleteACLNotFound) IsSuccess() bool
IsSuccess returns true when this delete Acl not found response has a 2xx status code
func (*DeleteACLNotFound) String ¶
func (o *DeleteACLNotFound) String() string
type DeleteACLOK ¶
type DeleteACLOK struct {
Payload *models.RestDeleteResponse
}
DeleteACLOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteACLOK ¶
func NewDeleteACLOK() *DeleteACLOK
NewDeleteACLOK creates a DeleteACLOK with default headers values
func (*DeleteACLOK) Code ¶
func (o *DeleteACLOK) Code() int
Code gets the status code for the delete Acl o k response
func (*DeleteACLOK) Error ¶
func (o *DeleteACLOK) Error() string
func (*DeleteACLOK) GetPayload ¶
func (o *DeleteACLOK) GetPayload() *models.RestDeleteResponse
func (*DeleteACLOK) IsClientError ¶
func (o *DeleteACLOK) IsClientError() bool
IsClientError returns true when this delete Acl o k response has a 4xx status code
func (*DeleteACLOK) IsCode ¶
func (o *DeleteACLOK) IsCode(code int) bool
IsCode returns true when this delete Acl o k response a status code equal to that given
func (*DeleteACLOK) IsRedirect ¶
func (o *DeleteACLOK) IsRedirect() bool
IsRedirect returns true when this delete Acl o k response has a 3xx status code
func (*DeleteACLOK) IsServerError ¶
func (o *DeleteACLOK) IsServerError() bool
IsServerError returns true when this delete Acl o k response has a 5xx status code
func (*DeleteACLOK) IsSuccess ¶
func (o *DeleteACLOK) IsSuccess() bool
IsSuccess returns true when this delete Acl o k response has a 2xx status code
func (*DeleteACLOK) String ¶
func (o *DeleteACLOK) String() string
type DeleteACLParams ¶
type DeleteACLParams struct { /* Body. ACL are the basic flags that can be put anywhere in the tree to provide some specific rights to a given role. The context of how they apply can be fine-tuned by workspace. */ Body *models.IdmACL Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteACLParams contains all the parameters to send to the API endpoint
for the delete Acl operation. Typically these are written to a http.Request.
func NewDeleteACLParams ¶
func NewDeleteACLParams() *DeleteACLParams
NewDeleteACLParams creates a new DeleteACLParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteACLParamsWithContext ¶
func NewDeleteACLParamsWithContext(ctx context.Context) *DeleteACLParams
NewDeleteACLParamsWithContext creates a new DeleteACLParams object with the ability to set a context for a request.
func NewDeleteACLParamsWithHTTPClient ¶
func NewDeleteACLParamsWithHTTPClient(client *http.Client) *DeleteACLParams
NewDeleteACLParamsWithHTTPClient creates a new DeleteACLParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteACLParamsWithTimeout ¶
func NewDeleteACLParamsWithTimeout(timeout time.Duration) *DeleteACLParams
NewDeleteACLParamsWithTimeout creates a new DeleteACLParams object with the ability to set a timeout on a request.
func (*DeleteACLParams) SetBody ¶
func (o *DeleteACLParams) SetBody(body *models.IdmACL)
SetBody adds the body to the delete Acl params
func (*DeleteACLParams) SetContext ¶
func (o *DeleteACLParams) SetContext(ctx context.Context)
SetContext adds the context to the delete Acl params
func (*DeleteACLParams) SetDefaults ¶
func (o *DeleteACLParams) SetDefaults()
SetDefaults hydrates default values in the delete Acl params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteACLParams) SetHTTPClient ¶
func (o *DeleteACLParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete Acl params
func (*DeleteACLParams) SetTimeout ¶
func (o *DeleteACLParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete Acl params
func (*DeleteACLParams) WithBody ¶
func (o *DeleteACLParams) WithBody(body *models.IdmACL) *DeleteACLParams
WithBody adds the body to the delete Acl params
func (*DeleteACLParams) WithContext ¶
func (o *DeleteACLParams) WithContext(ctx context.Context) *DeleteACLParams
WithContext adds the context to the delete Acl params
func (*DeleteACLParams) WithDefaults ¶
func (o *DeleteACLParams) WithDefaults() *DeleteACLParams
WithDefaults hydrates default values in the delete Acl params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteACLParams) WithHTTPClient ¶
func (o *DeleteACLParams) WithHTTPClient(client *http.Client) *DeleteACLParams
WithHTTPClient adds the HTTPClient to the delete Acl params
func (*DeleteACLParams) WithTimeout ¶
func (o *DeleteACLParams) WithTimeout(timeout time.Duration) *DeleteACLParams
WithTimeout adds the timeout to the delete Acl params
func (*DeleteACLParams) WriteToRequest ¶
func (o *DeleteACLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteACLReader ¶
type DeleteACLReader struct {
// contains filtered or unexported fields
}
DeleteACLReader is a Reader for the DeleteACL structure.
func (*DeleteACLReader) ReadResponse ¶
func (o *DeleteACLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteACLUnauthorized ¶
type DeleteACLUnauthorized struct { }
DeleteACLUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewDeleteACLUnauthorized ¶
func NewDeleteACLUnauthorized() *DeleteACLUnauthorized
NewDeleteACLUnauthorized creates a DeleteACLUnauthorized with default headers values
func (*DeleteACLUnauthorized) Code ¶
func (o *DeleteACLUnauthorized) Code() int
Code gets the status code for the delete Acl unauthorized response
func (*DeleteACLUnauthorized) Error ¶
func (o *DeleteACLUnauthorized) Error() string
func (*DeleteACLUnauthorized) IsClientError ¶
func (o *DeleteACLUnauthorized) IsClientError() bool
IsClientError returns true when this delete Acl unauthorized response has a 4xx status code
func (*DeleteACLUnauthorized) IsCode ¶
func (o *DeleteACLUnauthorized) IsCode(code int) bool
IsCode returns true when this delete Acl unauthorized response a status code equal to that given
func (*DeleteACLUnauthorized) IsRedirect ¶
func (o *DeleteACLUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete Acl unauthorized response has a 3xx status code
func (*DeleteACLUnauthorized) IsServerError ¶
func (o *DeleteACLUnauthorized) IsServerError() bool
IsServerError returns true when this delete Acl unauthorized response has a 5xx status code
func (*DeleteACLUnauthorized) IsSuccess ¶
func (o *DeleteACLUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete Acl unauthorized response has a 2xx status code
func (*DeleteACLUnauthorized) String ¶
func (o *DeleteACLUnauthorized) String() string
type PutACLForbidden ¶
PutACLForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewPutACLForbidden ¶
func NewPutACLForbidden() *PutACLForbidden
NewPutACLForbidden creates a PutACLForbidden with default headers values
func (*PutACLForbidden) Code ¶
func (o *PutACLForbidden) Code() int
Code gets the status code for the put Acl forbidden response
func (*PutACLForbidden) Error ¶
func (o *PutACLForbidden) Error() string
func (*PutACLForbidden) GetPayload ¶
func (o *PutACLForbidden) GetPayload() *models.RestError
func (*PutACLForbidden) IsClientError ¶
func (o *PutACLForbidden) IsClientError() bool
IsClientError returns true when this put Acl forbidden response has a 4xx status code
func (*PutACLForbidden) IsCode ¶
func (o *PutACLForbidden) IsCode(code int) bool
IsCode returns true when this put Acl forbidden response a status code equal to that given
func (*PutACLForbidden) IsRedirect ¶
func (o *PutACLForbidden) IsRedirect() bool
IsRedirect returns true when this put Acl forbidden response has a 3xx status code
func (*PutACLForbidden) IsServerError ¶
func (o *PutACLForbidden) IsServerError() bool
IsServerError returns true when this put Acl forbidden response has a 5xx status code
func (*PutACLForbidden) IsSuccess ¶
func (o *PutACLForbidden) IsSuccess() bool
IsSuccess returns true when this put Acl forbidden response has a 2xx status code
func (*PutACLForbidden) String ¶
func (o *PutACLForbidden) String() string
type PutACLInternalServerError ¶
PutACLInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewPutACLInternalServerError ¶
func NewPutACLInternalServerError() *PutACLInternalServerError
NewPutACLInternalServerError creates a PutACLInternalServerError with default headers values
func (*PutACLInternalServerError) Code ¶
func (o *PutACLInternalServerError) Code() int
Code gets the status code for the put Acl internal server error response
func (*PutACLInternalServerError) Error ¶
func (o *PutACLInternalServerError) Error() string
func (*PutACLInternalServerError) GetPayload ¶
func (o *PutACLInternalServerError) GetPayload() *models.RestError
func (*PutACLInternalServerError) IsClientError ¶
func (o *PutACLInternalServerError) IsClientError() bool
IsClientError returns true when this put Acl internal server error response has a 4xx status code
func (*PutACLInternalServerError) IsCode ¶
func (o *PutACLInternalServerError) IsCode(code int) bool
IsCode returns true when this put Acl internal server error response a status code equal to that given
func (*PutACLInternalServerError) IsRedirect ¶
func (o *PutACLInternalServerError) IsRedirect() bool
IsRedirect returns true when this put Acl internal server error response has a 3xx status code
func (*PutACLInternalServerError) IsServerError ¶
func (o *PutACLInternalServerError) IsServerError() bool
IsServerError returns true when this put Acl internal server error response has a 5xx status code
func (*PutACLInternalServerError) IsSuccess ¶
func (o *PutACLInternalServerError) IsSuccess() bool
IsSuccess returns true when this put Acl internal server error response has a 2xx status code
func (*PutACLInternalServerError) String ¶
func (o *PutACLInternalServerError) String() string
type PutACLNotFound ¶
PutACLNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewPutACLNotFound ¶
func NewPutACLNotFound() *PutACLNotFound
NewPutACLNotFound creates a PutACLNotFound with default headers values
func (*PutACLNotFound) Code ¶
func (o *PutACLNotFound) Code() int
Code gets the status code for the put Acl not found response
func (*PutACLNotFound) Error ¶
func (o *PutACLNotFound) Error() string
func (*PutACLNotFound) GetPayload ¶
func (o *PutACLNotFound) GetPayload() *models.RestError
func (*PutACLNotFound) IsClientError ¶
func (o *PutACLNotFound) IsClientError() bool
IsClientError returns true when this put Acl not found response has a 4xx status code
func (*PutACLNotFound) IsCode ¶
func (o *PutACLNotFound) IsCode(code int) bool
IsCode returns true when this put Acl not found response a status code equal to that given
func (*PutACLNotFound) IsRedirect ¶
func (o *PutACLNotFound) IsRedirect() bool
IsRedirect returns true when this put Acl not found response has a 3xx status code
func (*PutACLNotFound) IsServerError ¶
func (o *PutACLNotFound) IsServerError() bool
IsServerError returns true when this put Acl not found response has a 5xx status code
func (*PutACLNotFound) IsSuccess ¶
func (o *PutACLNotFound) IsSuccess() bool
IsSuccess returns true when this put Acl not found response has a 2xx status code
func (*PutACLNotFound) String ¶
func (o *PutACLNotFound) String() string
type PutACLOK ¶
PutACLOK describes a response with status code 200, with default header values.
A successful response.
func NewPutACLOK ¶
func NewPutACLOK() *PutACLOK
NewPutACLOK creates a PutACLOK with default headers values
func (*PutACLOK) GetPayload ¶
func (*PutACLOK) IsClientError ¶
IsClientError returns true when this put Acl o k response has a 4xx status code
func (*PutACLOK) IsCode ¶
IsCode returns true when this put Acl o k response a status code equal to that given
func (*PutACLOK) IsRedirect ¶
IsRedirect returns true when this put Acl o k response has a 3xx status code
func (*PutACLOK) IsServerError ¶
IsServerError returns true when this put Acl o k response has a 5xx status code
type PutACLParams ¶
type PutACLParams struct { /* Body. ACL are the basic flags that can be put anywhere in the tree to provide some specific rights to a given role. The context of how they apply can be fine-tuned by workspace. */ Body *models.IdmACL Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutACLParams contains all the parameters to send to the API endpoint
for the put Acl operation. Typically these are written to a http.Request.
func NewPutACLParams ¶
func NewPutACLParams() *PutACLParams
NewPutACLParams creates a new PutACLParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutACLParamsWithContext ¶
func NewPutACLParamsWithContext(ctx context.Context) *PutACLParams
NewPutACLParamsWithContext creates a new PutACLParams object with the ability to set a context for a request.
func NewPutACLParamsWithHTTPClient ¶
func NewPutACLParamsWithHTTPClient(client *http.Client) *PutACLParams
NewPutACLParamsWithHTTPClient creates a new PutACLParams object with the ability to set a custom HTTPClient for a request.
func NewPutACLParamsWithTimeout ¶
func NewPutACLParamsWithTimeout(timeout time.Duration) *PutACLParams
NewPutACLParamsWithTimeout creates a new PutACLParams object with the ability to set a timeout on a request.
func (*PutACLParams) SetBody ¶
func (o *PutACLParams) SetBody(body *models.IdmACL)
SetBody adds the body to the put Acl params
func (*PutACLParams) SetContext ¶
func (o *PutACLParams) SetContext(ctx context.Context)
SetContext adds the context to the put Acl params
func (*PutACLParams) SetDefaults ¶
func (o *PutACLParams) SetDefaults()
SetDefaults hydrates default values in the put Acl params (not the query body).
All values with no default are reset to their zero value.
func (*PutACLParams) SetHTTPClient ¶
func (o *PutACLParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put Acl params
func (*PutACLParams) SetTimeout ¶
func (o *PutACLParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put Acl params
func (*PutACLParams) WithBody ¶
func (o *PutACLParams) WithBody(body *models.IdmACL) *PutACLParams
WithBody adds the body to the put Acl params
func (*PutACLParams) WithContext ¶
func (o *PutACLParams) WithContext(ctx context.Context) *PutACLParams
WithContext adds the context to the put Acl params
func (*PutACLParams) WithDefaults ¶
func (o *PutACLParams) WithDefaults() *PutACLParams
WithDefaults hydrates default values in the put Acl params (not the query body).
All values with no default are reset to their zero value.
func (*PutACLParams) WithHTTPClient ¶
func (o *PutACLParams) WithHTTPClient(client *http.Client) *PutACLParams
WithHTTPClient adds the HTTPClient to the put Acl params
func (*PutACLParams) WithTimeout ¶
func (o *PutACLParams) WithTimeout(timeout time.Duration) *PutACLParams
WithTimeout adds the timeout to the put Acl params
func (*PutACLParams) WriteToRequest ¶
func (o *PutACLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutACLReader ¶
type PutACLReader struct {
// contains filtered or unexported fields
}
PutACLReader is a Reader for the PutACL structure.
func (*PutACLReader) ReadResponse ¶
func (o *PutACLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutACLUnauthorized ¶
type PutACLUnauthorized struct { }
PutACLUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewPutACLUnauthorized ¶
func NewPutACLUnauthorized() *PutACLUnauthorized
NewPutACLUnauthorized creates a PutACLUnauthorized with default headers values
func (*PutACLUnauthorized) Code ¶
func (o *PutACLUnauthorized) Code() int
Code gets the status code for the put Acl unauthorized response
func (*PutACLUnauthorized) Error ¶
func (o *PutACLUnauthorized) Error() string
func (*PutACLUnauthorized) IsClientError ¶
func (o *PutACLUnauthorized) IsClientError() bool
IsClientError returns true when this put Acl unauthorized response has a 4xx status code
func (*PutACLUnauthorized) IsCode ¶
func (o *PutACLUnauthorized) IsCode(code int) bool
IsCode returns true when this put Acl unauthorized response a status code equal to that given
func (*PutACLUnauthorized) IsRedirect ¶
func (o *PutACLUnauthorized) IsRedirect() bool
IsRedirect returns true when this put Acl unauthorized response has a 3xx status code
func (*PutACLUnauthorized) IsServerError ¶
func (o *PutACLUnauthorized) IsServerError() bool
IsServerError returns true when this put Acl unauthorized response has a 5xx status code
func (*PutACLUnauthorized) IsSuccess ¶
func (o *PutACLUnauthorized) IsSuccess() bool
IsSuccess returns true when this put Acl unauthorized response has a 2xx status code
func (*PutACLUnauthorized) String ¶
func (o *PutACLUnauthorized) String() string
type SearchAclsForbidden ¶
SearchAclsForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewSearchAclsForbidden ¶
func NewSearchAclsForbidden() *SearchAclsForbidden
NewSearchAclsForbidden creates a SearchAclsForbidden with default headers values
func (*SearchAclsForbidden) Code ¶
func (o *SearchAclsForbidden) Code() int
Code gets the status code for the search acls forbidden response
func (*SearchAclsForbidden) Error ¶
func (o *SearchAclsForbidden) Error() string
func (*SearchAclsForbidden) GetPayload ¶
func (o *SearchAclsForbidden) GetPayload() *models.RestError
func (*SearchAclsForbidden) IsClientError ¶
func (o *SearchAclsForbidden) IsClientError() bool
IsClientError returns true when this search acls forbidden response has a 4xx status code
func (*SearchAclsForbidden) IsCode ¶
func (o *SearchAclsForbidden) IsCode(code int) bool
IsCode returns true when this search acls forbidden response a status code equal to that given
func (*SearchAclsForbidden) IsRedirect ¶
func (o *SearchAclsForbidden) IsRedirect() bool
IsRedirect returns true when this search acls forbidden response has a 3xx status code
func (*SearchAclsForbidden) IsServerError ¶
func (o *SearchAclsForbidden) IsServerError() bool
IsServerError returns true when this search acls forbidden response has a 5xx status code
func (*SearchAclsForbidden) IsSuccess ¶
func (o *SearchAclsForbidden) IsSuccess() bool
IsSuccess returns true when this search acls forbidden response has a 2xx status code
func (*SearchAclsForbidden) String ¶
func (o *SearchAclsForbidden) String() string
type SearchAclsInternalServerError ¶
SearchAclsInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewSearchAclsInternalServerError ¶
func NewSearchAclsInternalServerError() *SearchAclsInternalServerError
NewSearchAclsInternalServerError creates a SearchAclsInternalServerError with default headers values
func (*SearchAclsInternalServerError) Code ¶
func (o *SearchAclsInternalServerError) Code() int
Code gets the status code for the search acls internal server error response
func (*SearchAclsInternalServerError) Error ¶
func (o *SearchAclsInternalServerError) Error() string
func (*SearchAclsInternalServerError) GetPayload ¶
func (o *SearchAclsInternalServerError) GetPayload() *models.RestError
func (*SearchAclsInternalServerError) IsClientError ¶
func (o *SearchAclsInternalServerError) IsClientError() bool
IsClientError returns true when this search acls internal server error response has a 4xx status code
func (*SearchAclsInternalServerError) IsCode ¶
func (o *SearchAclsInternalServerError) IsCode(code int) bool
IsCode returns true when this search acls internal server error response a status code equal to that given
func (*SearchAclsInternalServerError) IsRedirect ¶
func (o *SearchAclsInternalServerError) IsRedirect() bool
IsRedirect returns true when this search acls internal server error response has a 3xx status code
func (*SearchAclsInternalServerError) IsServerError ¶
func (o *SearchAclsInternalServerError) IsServerError() bool
IsServerError returns true when this search acls internal server error response has a 5xx status code
func (*SearchAclsInternalServerError) IsSuccess ¶
func (o *SearchAclsInternalServerError) IsSuccess() bool
IsSuccess returns true when this search acls internal server error response has a 2xx status code
func (*SearchAclsInternalServerError) String ¶
func (o *SearchAclsInternalServerError) String() string
type SearchAclsNotFound ¶
SearchAclsNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewSearchAclsNotFound ¶
func NewSearchAclsNotFound() *SearchAclsNotFound
NewSearchAclsNotFound creates a SearchAclsNotFound with default headers values
func (*SearchAclsNotFound) Code ¶
func (o *SearchAclsNotFound) Code() int
Code gets the status code for the search acls not found response
func (*SearchAclsNotFound) Error ¶
func (o *SearchAclsNotFound) Error() string
func (*SearchAclsNotFound) GetPayload ¶
func (o *SearchAclsNotFound) GetPayload() *models.RestError
func (*SearchAclsNotFound) IsClientError ¶
func (o *SearchAclsNotFound) IsClientError() bool
IsClientError returns true when this search acls not found response has a 4xx status code
func (*SearchAclsNotFound) IsCode ¶
func (o *SearchAclsNotFound) IsCode(code int) bool
IsCode returns true when this search acls not found response a status code equal to that given
func (*SearchAclsNotFound) IsRedirect ¶
func (o *SearchAclsNotFound) IsRedirect() bool
IsRedirect returns true when this search acls not found response has a 3xx status code
func (*SearchAclsNotFound) IsServerError ¶
func (o *SearchAclsNotFound) IsServerError() bool
IsServerError returns true when this search acls not found response has a 5xx status code
func (*SearchAclsNotFound) IsSuccess ¶
func (o *SearchAclsNotFound) IsSuccess() bool
IsSuccess returns true when this search acls not found response has a 2xx status code
func (*SearchAclsNotFound) String ¶
func (o *SearchAclsNotFound) String() string
type SearchAclsOK ¶
type SearchAclsOK struct {
Payload *models.RestACLCollection
}
SearchAclsOK describes a response with status code 200, with default header values.
A successful response.
func NewSearchAclsOK ¶
func NewSearchAclsOK() *SearchAclsOK
NewSearchAclsOK creates a SearchAclsOK with default headers values
func (*SearchAclsOK) Code ¶
func (o *SearchAclsOK) Code() int
Code gets the status code for the search acls o k response
func (*SearchAclsOK) Error ¶
func (o *SearchAclsOK) Error() string
func (*SearchAclsOK) GetPayload ¶
func (o *SearchAclsOK) GetPayload() *models.RestACLCollection
func (*SearchAclsOK) IsClientError ¶
func (o *SearchAclsOK) IsClientError() bool
IsClientError returns true when this search acls o k response has a 4xx status code
func (*SearchAclsOK) IsCode ¶
func (o *SearchAclsOK) IsCode(code int) bool
IsCode returns true when this search acls o k response a status code equal to that given
func (*SearchAclsOK) IsRedirect ¶
func (o *SearchAclsOK) IsRedirect() bool
IsRedirect returns true when this search acls o k response has a 3xx status code
func (*SearchAclsOK) IsServerError ¶
func (o *SearchAclsOK) IsServerError() bool
IsServerError returns true when this search acls o k response has a 5xx status code
func (*SearchAclsOK) IsSuccess ¶
func (o *SearchAclsOK) IsSuccess() bool
IsSuccess returns true when this search acls o k response has a 2xx status code
func (*SearchAclsOK) String ¶
func (o *SearchAclsOK) String() string
type SearchAclsParams ¶
type SearchAclsParams struct { // Body. Body *models.RestSearchACLRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchAclsParams contains all the parameters to send to the API endpoint
for the search acls operation. Typically these are written to a http.Request.
func NewSearchAclsParams ¶
func NewSearchAclsParams() *SearchAclsParams
NewSearchAclsParams creates a new SearchAclsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSearchAclsParamsWithContext ¶
func NewSearchAclsParamsWithContext(ctx context.Context) *SearchAclsParams
NewSearchAclsParamsWithContext creates a new SearchAclsParams object with the ability to set a context for a request.
func NewSearchAclsParamsWithHTTPClient ¶
func NewSearchAclsParamsWithHTTPClient(client *http.Client) *SearchAclsParams
NewSearchAclsParamsWithHTTPClient creates a new SearchAclsParams object with the ability to set a custom HTTPClient for a request.
func NewSearchAclsParamsWithTimeout ¶
func NewSearchAclsParamsWithTimeout(timeout time.Duration) *SearchAclsParams
NewSearchAclsParamsWithTimeout creates a new SearchAclsParams object with the ability to set a timeout on a request.
func (*SearchAclsParams) SetBody ¶
func (o *SearchAclsParams) SetBody(body *models.RestSearchACLRequest)
SetBody adds the body to the search acls params
func (*SearchAclsParams) SetContext ¶
func (o *SearchAclsParams) SetContext(ctx context.Context)
SetContext adds the context to the search acls params
func (*SearchAclsParams) SetDefaults ¶
func (o *SearchAclsParams) SetDefaults()
SetDefaults hydrates default values in the search acls params (not the query body).
All values with no default are reset to their zero value.
func (*SearchAclsParams) SetHTTPClient ¶
func (o *SearchAclsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search acls params
func (*SearchAclsParams) SetTimeout ¶
func (o *SearchAclsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search acls params
func (*SearchAclsParams) WithBody ¶
func (o *SearchAclsParams) WithBody(body *models.RestSearchACLRequest) *SearchAclsParams
WithBody adds the body to the search acls params
func (*SearchAclsParams) WithContext ¶
func (o *SearchAclsParams) WithContext(ctx context.Context) *SearchAclsParams
WithContext adds the context to the search acls params
func (*SearchAclsParams) WithDefaults ¶
func (o *SearchAclsParams) WithDefaults() *SearchAclsParams
WithDefaults hydrates default values in the search acls params (not the query body).
All values with no default are reset to their zero value.
func (*SearchAclsParams) WithHTTPClient ¶
func (o *SearchAclsParams) WithHTTPClient(client *http.Client) *SearchAclsParams
WithHTTPClient adds the HTTPClient to the search acls params
func (*SearchAclsParams) WithTimeout ¶
func (o *SearchAclsParams) WithTimeout(timeout time.Duration) *SearchAclsParams
WithTimeout adds the timeout to the search acls params
func (*SearchAclsParams) WriteToRequest ¶
func (o *SearchAclsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchAclsReader ¶
type SearchAclsReader struct {
// contains filtered or unexported fields
}
SearchAclsReader is a Reader for the SearchAcls structure.
func (*SearchAclsReader) ReadResponse ¶
func (o *SearchAclsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchAclsUnauthorized ¶
type SearchAclsUnauthorized struct { }
SearchAclsUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewSearchAclsUnauthorized ¶
func NewSearchAclsUnauthorized() *SearchAclsUnauthorized
NewSearchAclsUnauthorized creates a SearchAclsUnauthorized with default headers values
func (*SearchAclsUnauthorized) Code ¶
func (o *SearchAclsUnauthorized) Code() int
Code gets the status code for the search acls unauthorized response
func (*SearchAclsUnauthorized) Error ¶
func (o *SearchAclsUnauthorized) Error() string
func (*SearchAclsUnauthorized) IsClientError ¶
func (o *SearchAclsUnauthorized) IsClientError() bool
IsClientError returns true when this search acls unauthorized response has a 4xx status code
func (*SearchAclsUnauthorized) IsCode ¶
func (o *SearchAclsUnauthorized) IsCode(code int) bool
IsCode returns true when this search acls unauthorized response a status code equal to that given
func (*SearchAclsUnauthorized) IsRedirect ¶
func (o *SearchAclsUnauthorized) IsRedirect() bool
IsRedirect returns true when this search acls unauthorized response has a 3xx status code
func (*SearchAclsUnauthorized) IsServerError ¶
func (o *SearchAclsUnauthorized) IsServerError() bool
IsServerError returns true when this search acls unauthorized response has a 5xx status code
func (*SearchAclsUnauthorized) IsSuccess ¶
func (o *SearchAclsUnauthorized) IsSuccess() bool
IsSuccess returns true when this search acls unauthorized response has a 2xx status code
func (*SearchAclsUnauthorized) String ¶
func (o *SearchAclsUnauthorized) String() string