Documentation ¶
Index ¶
- type Client
- type CreateAceCreated
- type CreateAceReader
- type CreateAceRequest
- func (a *CreateAceRequest) Do() (*CreateAceCreated, error)
- func (o *CreateAceRequest) FromJson(j string) (*CreateAceRequest, error)
- func (a *CreateAceRequest) MustDo() *CreateAceCreated
- func (o *CreateAceRequest) WithACECreationRequest(aCECreationRequest models.AceCreation) *CreateAceRequest
- func (o *CreateAceRequest) WithContext(ctx context.Context) *CreateAceRequest
- func (o *CreateAceRequest) WithHTTPClient(client *http.Client) *CreateAceRequest
- func (o *CreateAceRequest) WithRoleID(roleID strfmt.UUID) *CreateAceRequest
- func (o *CreateAceRequest) WithoutACECreationRequest() *CreateAceRequest
- func (o *CreateAceRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAceNoContent
- type DeleteAceReader
- type DeleteAceRequest
- func (a *DeleteAceRequest) Do() (*DeleteAceNoContent, error)
- func (o *DeleteAceRequest) FromJson(j string) (*DeleteAceRequest, error)
- func (a *DeleteAceRequest) MustDo() *DeleteAceNoContent
- func (o *DeleteAceRequest) WithAceID(aceID strfmt.UUID) *DeleteAceRequest
- func (o *DeleteAceRequest) WithContext(ctx context.Context) *DeleteAceRequest
- func (o *DeleteAceRequest) WithHTTPClient(client *http.Client) *DeleteAceRequest
- func (o *DeleteAceRequest) WithRoleID(roleID strfmt.UUID) *DeleteAceRequest
- func (o *DeleteAceRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAceOK
- type GetAceReader
- type GetAceRequest
- func (a *GetAceRequest) Do() (*GetAceOK, error)
- func (o *GetAceRequest) FromJson(j string) (*GetAceRequest, error)
- func (a *GetAceRequest) MustDo() *GetAceOK
- func (o *GetAceRequest) WithAceID(aceID strfmt.UUID) *GetAceRequest
- func (o *GetAceRequest) WithContext(ctx context.Context) *GetAceRequest
- func (o *GetAceRequest) WithHTTPClient(client *http.Client) *GetAceRequest
- func (o *GetAceRequest) WithRoleID(roleID strfmt.UUID) *GetAceRequest
- func (o *GetAceRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAcesOK
- type ListAcesReader
- type ListAcesRequest
- func (a *ListAcesRequest) Do() (*ListAcesOK, error)
- func (o *ListAcesRequest) FromJson(j string) (*ListAcesRequest, error)
- func (a *ListAcesRequest) MustDo() *ListAcesOK
- func (o *ListAcesRequest) WithContext(ctx context.Context) *ListAcesRequest
- func (o *ListAcesRequest) WithHTTPClient(client *http.Client) *ListAcesRequest
- func (o *ListAcesRequest) WithRoleID(roleID strfmt.UUID) *ListAcesRequest
- func (o *ListAcesRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client for a c e API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, defaults client.Defaults) *Client
New creates a new a c e API client.
func (*Client) CreateAce ¶
func (c *Client) CreateAce() *CreateAceRequest
Client.CreateAce creates a new CreateAceRequest object with the default values initialized.
func (*Client) DeleteAce ¶
func (c *Client) DeleteAce() *DeleteAceRequest
Client.DeleteAce creates a new DeleteAceRequest object with the default values initialized.
func (*Client) GetAce ¶
func (c *Client) GetAce() *GetAceRequest
Client.GetAce creates a new GetAceRequest object with the default values initialized.
func (*Client) ListAces ¶
func (c *Client) ListAces() *ListAcesRequest
Client.ListAces creates a new ListAcesRequest object with the default values initialized.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateAceCreated ¶
type CreateAceCreated struct { // isStream: false *models.AceCreationResponse }
CreateAceCreated handles this case with default header values.
ACE creation response
func NewCreateAceCreated ¶
func NewCreateAceCreated() *CreateAceCreated
NewCreateAceCreated creates a CreateAceCreated with default headers values
func (*CreateAceCreated) Error ¶
func (o *CreateAceCreated) Error() string
type CreateAceReader ¶
type CreateAceReader struct {
// contains filtered or unexported fields
}
CreateAceReader is a Reader for the CreateAce structure.
func (*CreateAceReader) ReadResponse ¶
func (o *CreateAceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateAceRequest ¶
type CreateAceRequest struct { *models.AceCreation RoleID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*CreateAceRequest) Do ¶
func (a *CreateAceRequest) Do() (*CreateAceCreated, error)
create ace API
func (*CreateAceRequest) FromJson ¶
func (o *CreateAceRequest) FromJson(j string) (*CreateAceRequest, error)
func (*CreateAceRequest) MustDo ¶
func (a *CreateAceRequest) MustDo() *CreateAceCreated
func (*CreateAceRequest) WithACECreationRequest ¶
func (o *CreateAceRequest) WithACECreationRequest(aCECreationRequest models.AceCreation) *CreateAceRequest
func (*CreateAceRequest) WithContext ¶
func (o *CreateAceRequest) WithContext(ctx context.Context) *CreateAceRequest
//////////////// WithContext adds the context to the create ace Request
func (*CreateAceRequest) WithHTTPClient ¶
func (o *CreateAceRequest) WithHTTPClient(client *http.Client) *CreateAceRequest
WithHTTPClient adds the HTTPClient to the create ace Request
func (*CreateAceRequest) WithRoleID ¶
func (o *CreateAceRequest) WithRoleID(roleID strfmt.UUID) *CreateAceRequest
func (*CreateAceRequest) WithoutACECreationRequest ¶
func (o *CreateAceRequest) WithoutACECreationRequest() *CreateAceRequest
func (*CreateAceRequest) WriteToRequest ¶
func (o *CreateAceRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type DeleteAceNoContent ¶
type DeleteAceNoContent struct { }
DeleteAceNoContent handles this case with default header values.
ACE deleted OK
func NewDeleteAceNoContent ¶
func NewDeleteAceNoContent() *DeleteAceNoContent
NewDeleteAceNoContent creates a DeleteAceNoContent with default headers values
func (*DeleteAceNoContent) Error ¶
func (o *DeleteAceNoContent) Error() string
type DeleteAceReader ¶
type DeleteAceReader struct {
// contains filtered or unexported fields
}
DeleteAceReader is a Reader for the DeleteAce structure.
func (*DeleteAceReader) ReadResponse ¶
func (o *DeleteAceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAceRequest ¶
type DeleteAceRequest struct { AceID strfmt.UUID RoleID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*DeleteAceRequest) Do ¶
func (a *DeleteAceRequest) Do() (*DeleteAceNoContent, error)
delete ace API
func (*DeleteAceRequest) FromJson ¶
func (o *DeleteAceRequest) FromJson(j string) (*DeleteAceRequest, error)
func (*DeleteAceRequest) MustDo ¶
func (a *DeleteAceRequest) MustDo() *DeleteAceNoContent
func (*DeleteAceRequest) WithAceID ¶
func (o *DeleteAceRequest) WithAceID(aceID strfmt.UUID) *DeleteAceRequest
func (*DeleteAceRequest) WithContext ¶
func (o *DeleteAceRequest) WithContext(ctx context.Context) *DeleteAceRequest
//////////////// WithContext adds the context to the delete ace Request
func (*DeleteAceRequest) WithHTTPClient ¶
func (o *DeleteAceRequest) WithHTTPClient(client *http.Client) *DeleteAceRequest
WithHTTPClient adds the HTTPClient to the delete ace Request
func (*DeleteAceRequest) WithRoleID ¶
func (o *DeleteAceRequest) WithRoleID(roleID strfmt.UUID) *DeleteAceRequest
func (*DeleteAceRequest) WriteToRequest ¶
func (o *DeleteAceRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type GetAceOK ¶
type GetAceOK struct { // isStream: false *models.AceDetailsResponse }
GetAceOK handles this case with default header values.
ACE details
func NewGetAceOK ¶
func NewGetAceOK() *GetAceOK
NewGetAceOK creates a GetAceOK with default headers values
type GetAceReader ¶
type GetAceReader struct {
// contains filtered or unexported fields
}
GetAceReader is a Reader for the GetAce structure.
func (*GetAceReader) ReadResponse ¶
func (o *GetAceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAceRequest ¶
type GetAceRequest struct { AceID strfmt.UUID RoleID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*GetAceRequest) FromJson ¶
func (o *GetAceRequest) FromJson(j string) (*GetAceRequest, error)
func (*GetAceRequest) MustDo ¶
func (a *GetAceRequest) MustDo() *GetAceOK
func (*GetAceRequest) WithAceID ¶
func (o *GetAceRequest) WithAceID(aceID strfmt.UUID) *GetAceRequest
func (*GetAceRequest) WithContext ¶
func (o *GetAceRequest) WithContext(ctx context.Context) *GetAceRequest
//////////////// WithContext adds the context to the get ace Request
func (*GetAceRequest) WithHTTPClient ¶
func (o *GetAceRequest) WithHTTPClient(client *http.Client) *GetAceRequest
WithHTTPClient adds the HTTPClient to the get ace Request
func (*GetAceRequest) WithRoleID ¶
func (o *GetAceRequest) WithRoleID(roleID strfmt.UUID) *GetAceRequest
func (*GetAceRequest) WriteToRequest ¶
func (o *GetAceRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type ListAcesOK ¶
type ListAcesOK struct { // isStream: false *models.AceDetailsListResponse }
ListAcesOK handles this case with default header values.
List of ACE details
func NewListAcesOK ¶
func NewListAcesOK() *ListAcesOK
NewListAcesOK creates a ListAcesOK with default headers values
func (*ListAcesOK) Error ¶
func (o *ListAcesOK) Error() string
type ListAcesReader ¶
type ListAcesReader struct {
// contains filtered or unexported fields
}
ListAcesReader is a Reader for the ListAces structure.
func (*ListAcesReader) ReadResponse ¶
func (o *ListAcesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAcesRequest ¶
type ListAcesRequest struct { RoleID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*ListAcesRequest) FromJson ¶
func (o *ListAcesRequest) FromJson(j string) (*ListAcesRequest, error)
func (*ListAcesRequest) MustDo ¶
func (a *ListAcesRequest) MustDo() *ListAcesOK
func (*ListAcesRequest) WithContext ¶
func (o *ListAcesRequest) WithContext(ctx context.Context) *ListAcesRequest
//////////////// WithContext adds the context to the list aces Request
func (*ListAcesRequest) WithHTTPClient ¶
func (o *ListAcesRequest) WithHTTPClient(client *http.Client) *ListAcesRequest
WithHTTPClient adds the HTTPClient to the list aces Request
func (*ListAcesRequest) WithRoleID ¶
func (o *ListAcesRequest) WithRoleID(roleID strfmt.UUID) *ListAcesRequest
func (*ListAcesRequest) WriteToRequest ¶
func (o *ListAcesRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request