ace

package
v0.36.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

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 ace API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new ace API client.

func (*Client) DeleteRolesRoleIDAcesAceID

func (a *Client) DeleteRolesRoleIDAcesAceID(params *DeleteRolesRoleIDAcesAceIDParams) (*DeleteRolesRoleIDAcesAceIDNoContent, error)

DeleteRolesRoleIDAcesAceID deletes access control entry

func (*Client) GetRolesRoleIDAces

func (a *Client) GetRolesRoleIDAces(params *GetRolesRoleIDAcesParams) (*GetRolesRoleIDAcesOK, error)

GetRolesRoleIDAces lists all access controls for role

func (*Client) GetRolesRoleIDAcesAceID

func (a *Client) GetRolesRoleIDAcesAceID(params *GetRolesRoleIDAcesAceIDParams) (*GetRolesRoleIDAcesAceIDOK, error)

GetRolesRoleIDAcesAceID fetches access control entry

func (*Client) PostRolesRoleIDAces

func (a *Client) PostRolesRoleIDAces(params *PostRolesRoleIDAcesParams) (*PostRolesRoleIDAcesCreated, error)

PostRolesRoleIDAces creates access control entry

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type DeleteRolesRoleIDAcesAceIDNoContent

type DeleteRolesRoleIDAcesAceIDNoContent struct {
}

DeleteRolesRoleIDAcesAceIDNoContent handles this case with default header values.

Ace deleted OK

func NewDeleteRolesRoleIDAcesAceIDNoContent

func NewDeleteRolesRoleIDAcesAceIDNoContent() *DeleteRolesRoleIDAcesAceIDNoContent

NewDeleteRolesRoleIDAcesAceIDNoContent creates a DeleteRolesRoleIDAcesAceIDNoContent with default headers values

func (*DeleteRolesRoleIDAcesAceIDNoContent) Error

type DeleteRolesRoleIDAcesAceIDParams

type DeleteRolesRoleIDAcesAceIDParams struct {

	/*AceID
	  Ace Id

	*/
	AceID strfmt.UUID
	/*RoleID
	  Role Id

	*/
	RoleID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteRolesRoleIDAcesAceIDParams contains all the parameters to send to the API endpoint for the delete roles role ID aces ace ID operation typically these are written to a http.Request

func NewDeleteRolesRoleIDAcesAceIDParams

func NewDeleteRolesRoleIDAcesAceIDParams() *DeleteRolesRoleIDAcesAceIDParams

NewDeleteRolesRoleIDAcesAceIDParams creates a new DeleteRolesRoleIDAcesAceIDParams object with the default values initialized.

func NewDeleteRolesRoleIDAcesAceIDParamsWithContext

func NewDeleteRolesRoleIDAcesAceIDParamsWithContext(ctx context.Context) *DeleteRolesRoleIDAcesAceIDParams

NewDeleteRolesRoleIDAcesAceIDParamsWithContext creates a new DeleteRolesRoleIDAcesAceIDParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteRolesRoleIDAcesAceIDParamsWithHTTPClient

func NewDeleteRolesRoleIDAcesAceIDParamsWithHTTPClient(client *http.Client) *DeleteRolesRoleIDAcesAceIDParams

NewDeleteRolesRoleIDAcesAceIDParamsWithHTTPClient creates a new DeleteRolesRoleIDAcesAceIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteRolesRoleIDAcesAceIDParamsWithTimeout

func NewDeleteRolesRoleIDAcesAceIDParamsWithTimeout(timeout time.Duration) *DeleteRolesRoleIDAcesAceIDParams

NewDeleteRolesRoleIDAcesAceIDParamsWithTimeout creates a new DeleteRolesRoleIDAcesAceIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteRolesRoleIDAcesAceIDParams) SetAceID

func (o *DeleteRolesRoleIDAcesAceIDParams) SetAceID(aceID strfmt.UUID)

SetAceID adds the aceId to the delete roles role ID aces ace ID params

func (*DeleteRolesRoleIDAcesAceIDParams) SetContext

SetContext adds the context to the delete roles role ID aces ace ID params

func (*DeleteRolesRoleIDAcesAceIDParams) SetHTTPClient

func (o *DeleteRolesRoleIDAcesAceIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete roles role ID aces ace ID params

func (*DeleteRolesRoleIDAcesAceIDParams) SetRoleID

func (o *DeleteRolesRoleIDAcesAceIDParams) SetRoleID(roleID strfmt.UUID)

SetRoleID adds the roleId to the delete roles role ID aces ace ID params

func (*DeleteRolesRoleIDAcesAceIDParams) SetTimeout

func (o *DeleteRolesRoleIDAcesAceIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete roles role ID aces ace ID params

func (*DeleteRolesRoleIDAcesAceIDParams) WithAceID

WithAceID adds the aceID to the delete roles role ID aces ace ID params

func (*DeleteRolesRoleIDAcesAceIDParams) WithContext

WithContext adds the context to the delete roles role ID aces ace ID params

func (*DeleteRolesRoleIDAcesAceIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete roles role ID aces ace ID params

func (*DeleteRolesRoleIDAcesAceIDParams) WithRoleID

WithRoleID adds the roleID to the delete roles role ID aces ace ID params

func (*DeleteRolesRoleIDAcesAceIDParams) WithTimeout

WithTimeout adds the timeout to the delete roles role ID aces ace ID params

func (*DeleteRolesRoleIDAcesAceIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRolesRoleIDAcesAceIDReader

type DeleteRolesRoleIDAcesAceIDReader struct {
	// contains filtered or unexported fields
}

DeleteRolesRoleIDAcesAceIDReader is a Reader for the DeleteRolesRoleIDAcesAceID structure.

func (*DeleteRolesRoleIDAcesAceIDReader) ReadResponse

func (o *DeleteRolesRoleIDAcesAceIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetRolesRoleIDAcesAceIDOK

type GetRolesRoleIDAcesAceIDOK struct {
	Payload *models.AceDetailsResponse
}

GetRolesRoleIDAcesAceIDOK handles this case with default header values.

Ace details

func NewGetRolesRoleIDAcesAceIDOK

func NewGetRolesRoleIDAcesAceIDOK() *GetRolesRoleIDAcesAceIDOK

NewGetRolesRoleIDAcesAceIDOK creates a GetRolesRoleIDAcesAceIDOK with default headers values

func (*GetRolesRoleIDAcesAceIDOK) Error

func (o *GetRolesRoleIDAcesAceIDOK) Error() string

type GetRolesRoleIDAcesAceIDParams

type GetRolesRoleIDAcesAceIDParams struct {

	/*AceID
	  Ace Id

	*/
	AceID strfmt.UUID
	/*RoleID
	  Role Id

	*/
	RoleID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetRolesRoleIDAcesAceIDParams contains all the parameters to send to the API endpoint for the get roles role ID aces ace ID operation typically these are written to a http.Request

func NewGetRolesRoleIDAcesAceIDParams

func NewGetRolesRoleIDAcesAceIDParams() *GetRolesRoleIDAcesAceIDParams

NewGetRolesRoleIDAcesAceIDParams creates a new GetRolesRoleIDAcesAceIDParams object with the default values initialized.

func NewGetRolesRoleIDAcesAceIDParamsWithContext

func NewGetRolesRoleIDAcesAceIDParamsWithContext(ctx context.Context) *GetRolesRoleIDAcesAceIDParams

NewGetRolesRoleIDAcesAceIDParamsWithContext creates a new GetRolesRoleIDAcesAceIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetRolesRoleIDAcesAceIDParamsWithHTTPClient

func NewGetRolesRoleIDAcesAceIDParamsWithHTTPClient(client *http.Client) *GetRolesRoleIDAcesAceIDParams

NewGetRolesRoleIDAcesAceIDParamsWithHTTPClient creates a new GetRolesRoleIDAcesAceIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRolesRoleIDAcesAceIDParamsWithTimeout

func NewGetRolesRoleIDAcesAceIDParamsWithTimeout(timeout time.Duration) *GetRolesRoleIDAcesAceIDParams

NewGetRolesRoleIDAcesAceIDParamsWithTimeout creates a new GetRolesRoleIDAcesAceIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRolesRoleIDAcesAceIDParams) SetAceID

func (o *GetRolesRoleIDAcesAceIDParams) SetAceID(aceID strfmt.UUID)

SetAceID adds the aceId to the get roles role ID aces ace ID params

func (*GetRolesRoleIDAcesAceIDParams) SetContext

func (o *GetRolesRoleIDAcesAceIDParams) SetContext(ctx context.Context)

SetContext adds the context to the get roles role ID aces ace ID params

func (*GetRolesRoleIDAcesAceIDParams) SetHTTPClient

func (o *GetRolesRoleIDAcesAceIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get roles role ID aces ace ID params

func (*GetRolesRoleIDAcesAceIDParams) SetRoleID

func (o *GetRolesRoleIDAcesAceIDParams) SetRoleID(roleID strfmt.UUID)

SetRoleID adds the roleId to the get roles role ID aces ace ID params

func (*GetRolesRoleIDAcesAceIDParams) SetTimeout

func (o *GetRolesRoleIDAcesAceIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get roles role ID aces ace ID params

func (*GetRolesRoleIDAcesAceIDParams) WithAceID

WithAceID adds the aceID to the get roles role ID aces ace ID params

func (*GetRolesRoleIDAcesAceIDParams) WithContext

WithContext adds the context to the get roles role ID aces ace ID params

func (*GetRolesRoleIDAcesAceIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get roles role ID aces ace ID params

func (*GetRolesRoleIDAcesAceIDParams) WithRoleID

WithRoleID adds the roleID to the get roles role ID aces ace ID params

func (*GetRolesRoleIDAcesAceIDParams) WithTimeout

WithTimeout adds the timeout to the get roles role ID aces ace ID params

func (*GetRolesRoleIDAcesAceIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRolesRoleIDAcesAceIDReader

type GetRolesRoleIDAcesAceIDReader struct {
	// contains filtered or unexported fields
}

GetRolesRoleIDAcesAceIDReader is a Reader for the GetRolesRoleIDAcesAceID structure.

func (*GetRolesRoleIDAcesAceIDReader) ReadResponse

func (o *GetRolesRoleIDAcesAceIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetRolesRoleIDAcesOK

type GetRolesRoleIDAcesOK struct {
	Payload *models.AceDetailsListResponse
}

GetRolesRoleIDAcesOK handles this case with default header values.

List of Ace details

func NewGetRolesRoleIDAcesOK

func NewGetRolesRoleIDAcesOK() *GetRolesRoleIDAcesOK

NewGetRolesRoleIDAcesOK creates a GetRolesRoleIDAcesOK with default headers values

func (*GetRolesRoleIDAcesOK) Error

func (o *GetRolesRoleIDAcesOK) Error() string

type GetRolesRoleIDAcesParams

type GetRolesRoleIDAcesParams struct {

	/*RoleID
	  Role Id

	*/
	RoleID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetRolesRoleIDAcesParams contains all the parameters to send to the API endpoint for the get roles role ID aces operation typically these are written to a http.Request

func NewGetRolesRoleIDAcesParams

func NewGetRolesRoleIDAcesParams() *GetRolesRoleIDAcesParams

NewGetRolesRoleIDAcesParams creates a new GetRolesRoleIDAcesParams object with the default values initialized.

func NewGetRolesRoleIDAcesParamsWithContext

func NewGetRolesRoleIDAcesParamsWithContext(ctx context.Context) *GetRolesRoleIDAcesParams

NewGetRolesRoleIDAcesParamsWithContext creates a new GetRolesRoleIDAcesParams object with the default values initialized, and the ability to set a context for a request

func NewGetRolesRoleIDAcesParamsWithHTTPClient

func NewGetRolesRoleIDAcesParamsWithHTTPClient(client *http.Client) *GetRolesRoleIDAcesParams

NewGetRolesRoleIDAcesParamsWithHTTPClient creates a new GetRolesRoleIDAcesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRolesRoleIDAcesParamsWithTimeout

func NewGetRolesRoleIDAcesParamsWithTimeout(timeout time.Duration) *GetRolesRoleIDAcesParams

NewGetRolesRoleIDAcesParamsWithTimeout creates a new GetRolesRoleIDAcesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRolesRoleIDAcesParams) SetContext

func (o *GetRolesRoleIDAcesParams) SetContext(ctx context.Context)

SetContext adds the context to the get roles role ID aces params

func (*GetRolesRoleIDAcesParams) SetHTTPClient

func (o *GetRolesRoleIDAcesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get roles role ID aces params

func (*GetRolesRoleIDAcesParams) SetRoleID

func (o *GetRolesRoleIDAcesParams) SetRoleID(roleID strfmt.UUID)

SetRoleID adds the roleId to the get roles role ID aces params

func (*GetRolesRoleIDAcesParams) SetTimeout

func (o *GetRolesRoleIDAcesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get roles role ID aces params

func (*GetRolesRoleIDAcesParams) WithContext

WithContext adds the context to the get roles role ID aces params

func (*GetRolesRoleIDAcesParams) WithHTTPClient

func (o *GetRolesRoleIDAcesParams) WithHTTPClient(client *http.Client) *GetRolesRoleIDAcesParams

WithHTTPClient adds the HTTPClient to the get roles role ID aces params

func (*GetRolesRoleIDAcesParams) WithRoleID

WithRoleID adds the roleID to the get roles role ID aces params

func (*GetRolesRoleIDAcesParams) WithTimeout

WithTimeout adds the timeout to the get roles role ID aces params

func (*GetRolesRoleIDAcesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRolesRoleIDAcesReader

type GetRolesRoleIDAcesReader struct {
	// contains filtered or unexported fields
}

GetRolesRoleIDAcesReader is a Reader for the GetRolesRoleIDAces structure.

func (*GetRolesRoleIDAcesReader) ReadResponse

func (o *GetRolesRoleIDAcesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostRolesRoleIDAcesCreated

type PostRolesRoleIDAcesCreated struct {
	Payload *models.AceCreationResponse
}

PostRolesRoleIDAcesCreated handles this case with default header values.

Ace creation response

func NewPostRolesRoleIDAcesCreated

func NewPostRolesRoleIDAcesCreated() *PostRolesRoleIDAcesCreated

NewPostRolesRoleIDAcesCreated creates a PostRolesRoleIDAcesCreated with default headers values

func (*PostRolesRoleIDAcesCreated) Error

type PostRolesRoleIDAcesParams

type PostRolesRoleIDAcesParams struct {

	/*AceCreationRequest*/
	AceCreationRequest *models.AceCreation
	/*RoleID
	  Role Id

	*/
	RoleID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostRolesRoleIDAcesParams contains all the parameters to send to the API endpoint for the post roles role ID aces operation typically these are written to a http.Request

func NewPostRolesRoleIDAcesParams

func NewPostRolesRoleIDAcesParams() *PostRolesRoleIDAcesParams

NewPostRolesRoleIDAcesParams creates a new PostRolesRoleIDAcesParams object with the default values initialized.

func NewPostRolesRoleIDAcesParamsWithContext

func NewPostRolesRoleIDAcesParamsWithContext(ctx context.Context) *PostRolesRoleIDAcesParams

NewPostRolesRoleIDAcesParamsWithContext creates a new PostRolesRoleIDAcesParams object with the default values initialized, and the ability to set a context for a request

func NewPostRolesRoleIDAcesParamsWithHTTPClient

func NewPostRolesRoleIDAcesParamsWithHTTPClient(client *http.Client) *PostRolesRoleIDAcesParams

NewPostRolesRoleIDAcesParamsWithHTTPClient creates a new PostRolesRoleIDAcesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostRolesRoleIDAcesParamsWithTimeout

func NewPostRolesRoleIDAcesParamsWithTimeout(timeout time.Duration) *PostRolesRoleIDAcesParams

NewPostRolesRoleIDAcesParamsWithTimeout creates a new PostRolesRoleIDAcesParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostRolesRoleIDAcesParams) SetAceCreationRequest

func (o *PostRolesRoleIDAcesParams) SetAceCreationRequest(aceCreationRequest *models.AceCreation)

SetAceCreationRequest adds the aceCreationRequest to the post roles role ID aces params

func (*PostRolesRoleIDAcesParams) SetContext

func (o *PostRolesRoleIDAcesParams) SetContext(ctx context.Context)

SetContext adds the context to the post roles role ID aces params

func (*PostRolesRoleIDAcesParams) SetHTTPClient

func (o *PostRolesRoleIDAcesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post roles role ID aces params

func (*PostRolesRoleIDAcesParams) SetRoleID

func (o *PostRolesRoleIDAcesParams) SetRoleID(roleID strfmt.UUID)

SetRoleID adds the roleId to the post roles role ID aces params

func (*PostRolesRoleIDAcesParams) SetTimeout

func (o *PostRolesRoleIDAcesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post roles role ID aces params

func (*PostRolesRoleIDAcesParams) WithAceCreationRequest

func (o *PostRolesRoleIDAcesParams) WithAceCreationRequest(aceCreationRequest *models.AceCreation) *PostRolesRoleIDAcesParams

WithAceCreationRequest adds the aceCreationRequest to the post roles role ID aces params

func (*PostRolesRoleIDAcesParams) WithContext

WithContext adds the context to the post roles role ID aces params

func (*PostRolesRoleIDAcesParams) WithHTTPClient

func (o *PostRolesRoleIDAcesParams) WithHTTPClient(client *http.Client) *PostRolesRoleIDAcesParams

WithHTTPClient adds the HTTPClient to the post roles role ID aces params

func (*PostRolesRoleIDAcesParams) WithRoleID

WithRoleID adds the roleID to the post roles role ID aces params

func (*PostRolesRoleIDAcesParams) WithTimeout

WithTimeout adds the timeout to the post roles role ID aces params

func (*PostRolesRoleIDAcesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostRolesRoleIDAcesReader

type PostRolesRoleIDAcesReader struct {
	// contains filtered or unexported fields
}

PostRolesRoleIDAcesReader is a Reader for the PostRolesRoleIDAces structure.

func (*PostRolesRoleIDAcesReader) ReadResponse

func (o *PostRolesRoleIDAcesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL