Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for users API
func (*Client) EvictUserDetails ¶
func (a *Client) EvictUserDetails(params *EvictUserDetailsParams) (*EvictUserDetailsOK, error)
EvictUserDetails removes user from cache by username
Users can be invited under an account by the administrator, and all resources (e.g. resources, networks, blueprints, credentials, clusters) can be shared across account users
func (*Client) HasResources ¶
func (a *Client) HasResources(params *HasResourcesParams) (*HasResourcesOK, error)
HasResources checks that account user has any resources
Users can be invited under an account by the administrator, and all resources (e.g. resources, networks, blueprints, credentials, clusters) can be shared across account users
func (*Client) SetTransport ¶
SetTransport changes the transport on the client
type EvictUserDetailsOK ¶
type EvictUserDetailsOK struct {
Payload string
}
EvictUserDetailsOK handles this case with default header values.
successful operation
func NewEvictUserDetailsOK ¶
func NewEvictUserDetailsOK() *EvictUserDetailsOK
NewEvictUserDetailsOK creates a EvictUserDetailsOK with default headers values
func (*EvictUserDetailsOK) Error ¶
func (o *EvictUserDetailsOK) Error() string
type EvictUserDetailsParams ¶
EvictUserDetailsParams contains all the parameters to send to the API endpoint for the evict user details operation typically these are written to a http.Request
func NewEvictUserDetailsParams ¶
func NewEvictUserDetailsParams() *EvictUserDetailsParams
NewEvictUserDetailsParams creates a new EvictUserDetailsParams object with the default values initialized.
func (*EvictUserDetailsParams) WithBody ¶
func (o *EvictUserDetailsParams) WithBody(body *models.User) *EvictUserDetailsParams
WithBody adds the body to the evict user details params
func (*EvictUserDetailsParams) WithID ¶
func (o *EvictUserDetailsParams) WithID(id string) *EvictUserDetailsParams
WithID adds the id to the evict user details params
func (*EvictUserDetailsParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type EvictUserDetailsReader ¶
type EvictUserDetailsReader struct {
// contains filtered or unexported fields
}
EvictUserDetailsReader is a Reader for the EvictUserDetails structure.
func (*EvictUserDetailsReader) ReadResponse ¶
func (o *EvictUserDetailsReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type HasResourcesOK ¶
type HasResourcesOK struct {
Payload bool
}
HasResourcesOK handles this case with default header values.
successful operation
func NewHasResourcesOK ¶
func NewHasResourcesOK() *HasResourcesOK
NewHasResourcesOK creates a HasResourcesOK with default headers values
func (*HasResourcesOK) Error ¶
func (o *HasResourcesOK) Error() string
type HasResourcesParams ¶
type HasResourcesParams struct { /*ID*/ ID string }
HasResourcesParams contains all the parameters to send to the API endpoint for the has resources operation typically these are written to a http.Request
func NewHasResourcesParams ¶
func NewHasResourcesParams() *HasResourcesParams
NewHasResourcesParams creates a new HasResourcesParams object with the default values initialized.
func (*HasResourcesParams) WithID ¶
func (o *HasResourcesParams) WithID(id string) *HasResourcesParams
WithID adds the id to the has resources params
func (*HasResourcesParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type HasResourcesReader ¶
type HasResourcesReader struct {
// contains filtered or unexported fields
}
HasResourcesReader is a Reader for the HasResources structure.
func (*HasResourcesReader) ReadResponse ¶
func (o *HasResourcesReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.