Documentation ¶
Index ¶
- type Client
- type DeleteACLOK
- type DeleteACLParams
- func (o *DeleteACLParams) SetBody(body *models.IdmACL)
- func (o *DeleteACLParams) SetContext(ctx context.Context)
- 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) 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 PutACLOK
- type PutACLParams
- func (o *PutACLParams) SetBody(body *models.IdmACL)
- func (o *PutACLParams) SetContext(ctx context.Context)
- 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) 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 SearchAclsOK
- type SearchAclsParams
- func (o *SearchAclsParams) SetBody(body *models.RestSearchACLRequest)
- func (o *SearchAclsParams) SetContext(ctx context.Context)
- 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) 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
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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new acl service API client.
func (*Client) DeleteACL ¶
func (a *Client) DeleteACL(params *DeleteACLParams) (*DeleteACLOK, error)
DeleteACL deletes one or more acls
func (*Client) PutACL ¶
func (a *Client) PutACL(params *PutACLParams) (*PutACLOK, error)
PutACL stores an ACL
func (*Client) SearchAcls ¶
func (a *Client) SearchAcls(params *SearchAclsParams) (*SearchAclsOK, error)
SearchAcls searches acls
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteACLOK ¶
type DeleteACLOK struct {
Payload *models.RestDeleteResponse
}
DeleteACLOK handles this case with default header values.
DeleteACLOK delete Acl o k
func NewDeleteACLOK ¶
func NewDeleteACLOK() *DeleteACLOK
NewDeleteACLOK creates a DeleteACLOK with default headers values
func (*DeleteACLOK) Error ¶
func (o *DeleteACLOK) Error() string
type DeleteACLParams ¶
type DeleteACLParams struct { /*Body*/ 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 values initialized.
func NewDeleteACLParamsWithContext ¶
func NewDeleteACLParamsWithContext(ctx context.Context) *DeleteACLParams
NewDeleteACLParamsWithContext creates a new DeleteACLParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PutACLOK ¶
PutACLOK handles this case with default header values.
PutACLOK put Acl o k
func NewPutACLOK ¶
func NewPutACLOK() *PutACLOK
NewPutACLOK creates a PutACLOK with default headers values
type PutACLParams ¶
type PutACLParams struct { /*Body*/ 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 values initialized.
func NewPutACLParamsWithContext ¶
func NewPutACLParamsWithContext(ctx context.Context) *PutACLParams
NewPutACLParamsWithContext creates a new PutACLParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 SearchAclsOK ¶
type SearchAclsOK struct {
Payload *models.RestACLCollection
}
SearchAclsOK handles this case with default header values.
SearchAclsOK search acls o k
func NewSearchAclsOK ¶
func NewSearchAclsOK() *SearchAclsOK
NewSearchAclsOK creates a SearchAclsOK with default headers values
func (*SearchAclsOK) Error ¶
func (o *SearchAclsOK) Error() 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 values initialized.
func NewSearchAclsParamsWithContext ¶
func NewSearchAclsParamsWithContext(ctx context.Context) *SearchAclsParams
NewSearchAclsParamsWithContext creates a new SearchAclsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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.