system_permissions

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AvailableOK

type AvailableOK struct {
	Payload AvailableOKBody
}

AvailableOK handles this case with default header values.

No response was specified

func NewAvailableOK

func NewAvailableOK() *AvailableOK

NewAvailableOK creates a AvailableOK with default headers values

func (*AvailableOK) Error

func (o *AvailableOK) Error() string

type AvailableOKBody

type AvailableOKBody interface{}

AvailableOKBody available o k body swagger:model AvailableOKBody

type AvailableParams

type AvailableParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AvailableParams contains all the parameters to send to the API endpoint for the available operation typically these are written to a http.Request

func NewAvailableParams

func NewAvailableParams() *AvailableParams

NewAvailableParams creates a new AvailableParams object with the default values initialized.

func NewAvailableParamsWithContext

func NewAvailableParamsWithContext(ctx context.Context) *AvailableParams

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

func NewAvailableParamsWithHTTPClient

func NewAvailableParamsWithHTTPClient(client *http.Client) *AvailableParams

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

func NewAvailableParamsWithTimeout

func NewAvailableParamsWithTimeout(timeout time.Duration) *AvailableParams

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

func (*AvailableParams) SetContext

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

SetContext adds the context to the available params

func (*AvailableParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the available params

func (*AvailableParams) SetTimeout

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

SetTimeout adds the timeout to the available params

func (*AvailableParams) WithContext

func (o *AvailableParams) WithContext(ctx context.Context) *AvailableParams

WithContext adds the context to the available params

func (*AvailableParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the available params

func (*AvailableParams) WithTimeout

func (o *AvailableParams) WithTimeout(timeout time.Duration) *AvailableParams

WithTimeout adds the timeout to the available params

func (*AvailableParams) WriteToRequest

func (o *AvailableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AvailableReader

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

AvailableReader is a Reader for the Available structure.

func (*AvailableReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for system permissions API

func New

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

New creates a new system permissions API client.

func (*Client) Available

func (a *Client) Available(params *AvailableParams, authInfo runtime.ClientAuthInfoWriter) (*AvailableOK, error)

Available gets all available output modules

func (*Client) Get

func (a *Client) Get(params *GetParams, authInfo runtime.ClientAuthInfoWriter) (*GetOK, error)

Get gets specific output

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeleteNotFound

type DeleteNotFound struct {
}

DeleteNotFound handles this case with default header values.

No such stream/output on this node.

func NewDeleteNotFound

func NewDeleteNotFound() *DeleteNotFound

NewDeleteNotFound creates a DeleteNotFound with default headers values

func (*DeleteNotFound) Error

func (o *DeleteNotFound) Error() string

type DeleteOK

type DeleteOK struct {
}

DeleteOK handles this case with default header values.

No response was specified

func NewDeleteOK

func NewDeleteOK() *DeleteOK

NewDeleteOK creates a DeleteOK with default headers values

func (*DeleteOK) Error

func (o *DeleteOK) Error() string

type DeleteParams

type DeleteParams struct {

	/*OutputID
	  The id of the output that should be deleted

	*/
	OutputID string

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

DeleteParams contains all the parameters to send to the API endpoint for the delete operation typically these are written to a http.Request

func NewDeleteParams

func NewDeleteParams() *DeleteParams

NewDeleteParams creates a new DeleteParams object with the default values initialized.

func NewDeleteParamsWithContext

func NewDeleteParamsWithContext(ctx context.Context) *DeleteParams

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

func NewDeleteParamsWithHTTPClient

func NewDeleteParamsWithHTTPClient(client *http.Client) *DeleteParams

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

func NewDeleteParamsWithTimeout

func NewDeleteParamsWithTimeout(timeout time.Duration) *DeleteParams

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

func (*DeleteParams) SetContext

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

SetContext adds the context to the delete params

func (*DeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete params

func (*DeleteParams) SetOutputID

func (o *DeleteParams) SetOutputID(outputID string)

SetOutputID adds the outputId to the delete params

func (*DeleteParams) SetTimeout

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

SetTimeout adds the timeout to the delete params

func (*DeleteParams) WithContext

func (o *DeleteParams) WithContext(ctx context.Context) *DeleteParams

WithContext adds the context to the delete params

func (*DeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete params

func (*DeleteParams) WithOutputID

func (o *DeleteParams) WithOutputID(outputID string) *DeleteParams

WithOutputID adds the outputID to the delete params

func (*DeleteParams) WithTimeout

func (o *DeleteParams) WithTimeout(timeout time.Duration) *DeleteParams

WithTimeout adds the timeout to the delete params

func (*DeleteParams) WriteToRequest

func (o *DeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteReader

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

DeleteReader is a Reader for the Delete structure.

func (*DeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNotFound

type GetNotFound struct {
}

GetNotFound handles this case with default header values.

No such output on this node.

func NewGetNotFound

func NewGetNotFound() *GetNotFound

NewGetNotFound creates a GetNotFound with default headers values

func (*GetNotFound) Error

func (o *GetNotFound) Error() string

type GetOK

type GetOK struct {
	Payload *models.OutputSummary
}

GetOK handles this case with default header values.

No response was specified

func NewGetOK

func NewGetOK() *GetOK

NewGetOK creates a GetOK with default headers values

func (*GetOK) Error

func (o *GetOK) Error() string

type GetParams

type GetParams struct {

	/*OutputID
	  The id of the output we want.

	*/
	OutputID string

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

GetParams contains all the parameters to send to the API endpoint for the get operation typically these are written to a http.Request

func NewGetParams

func NewGetParams() *GetParams

NewGetParams creates a new GetParams object with the default values initialized.

func NewGetParamsWithContext

func NewGetParamsWithContext(ctx context.Context) *GetParams

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

func NewGetParamsWithHTTPClient

func NewGetParamsWithHTTPClient(client *http.Client) *GetParams

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

func NewGetParamsWithTimeout

func NewGetParamsWithTimeout(timeout time.Duration) *GetParams

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

func (*GetParams) SetContext

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

SetContext adds the context to the get params

func (*GetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get params

func (*GetParams) SetOutputID

func (o *GetParams) SetOutputID(outputID string)

SetOutputID adds the outputId to the get params

func (*GetParams) SetTimeout

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

SetTimeout adds the timeout to the get params

func (*GetParams) WithContext

func (o *GetParams) WithContext(ctx context.Context) *GetParams

WithContext adds the context to the get params

func (*GetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get params

func (*GetParams) WithOutputID

func (o *GetParams) WithOutputID(outputID string) *GetParams

WithOutputID adds the outputID to the get params

func (*GetParams) WithTimeout

func (o *GetParams) WithTimeout(timeout time.Duration) *GetParams

WithTimeout adds the timeout to the get params

func (*GetParams) WriteToRequest

func (o *GetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetReader

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

GetReader is a Reader for the Get structure.

func (*GetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNotFound

type UpdateNotFound struct {
}

UpdateNotFound handles this case with default header values.

No such output on this node.

func NewUpdateNotFound

func NewUpdateNotFound() *UpdateNotFound

NewUpdateNotFound creates a UpdateNotFound with default headers values

func (*UpdateNotFound) Error

func (o *UpdateNotFound) Error() string

type UpdateOK

type UpdateOK struct {
	Payload *models.Output
}

UpdateOK handles this case with default header values.

No response was specified

func NewUpdateOK

func NewUpdateOK() *UpdateOK

NewUpdateOK creates a UpdateOK with default headers values

func (*UpdateOK) Error

func (o *UpdateOK) Error() string

type UpdateParams

type UpdateParams struct {

	/*JSONBody*/
	JSONBody interface{}
	/*OutputID
	  The id of the output that should be deleted

	*/
	OutputID string

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

UpdateParams contains all the parameters to send to the API endpoint for the update operation typically these are written to a http.Request

func NewUpdateParams

func NewUpdateParams() *UpdateParams

NewUpdateParams creates a new UpdateParams object with the default values initialized.

func NewUpdateParamsWithContext

func NewUpdateParamsWithContext(ctx context.Context) *UpdateParams

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

func NewUpdateParamsWithHTTPClient

func NewUpdateParamsWithHTTPClient(client *http.Client) *UpdateParams

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

func NewUpdateParamsWithTimeout

func NewUpdateParamsWithTimeout(timeout time.Duration) *UpdateParams

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

func (*UpdateParams) SetContext

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

SetContext adds the context to the update params

func (*UpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update params

func (*UpdateParams) SetJSONBody

func (o *UpdateParams) SetJSONBody(jSONBody interface{})

SetJSONBody adds the jsonBody to the update params

func (*UpdateParams) SetOutputID

func (o *UpdateParams) SetOutputID(outputID string)

SetOutputID adds the outputId to the update params

func (*UpdateParams) SetTimeout

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

SetTimeout adds the timeout to the update params

func (*UpdateParams) WithContext

func (o *UpdateParams) WithContext(ctx context.Context) *UpdateParams

WithContext adds the context to the update params

func (*UpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update params

func (*UpdateParams) WithJSONBody

func (o *UpdateParams) WithJSONBody(jSONBody interface{}) *UpdateParams

WithJSONBody adds the jSONBody to the update params

func (*UpdateParams) WithOutputID

func (o *UpdateParams) WithOutputID(outputID string) *UpdateParams

WithOutputID adds the outputID to the update params

func (*UpdateParams) WithTimeout

func (o *UpdateParams) WithTimeout(timeout time.Duration) *UpdateParams

WithTimeout adds the timeout to the update params

func (*UpdateParams) WriteToRequest

func (o *UpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateReader

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

UpdateReader is a Reader for the Update structure.

func (*UpdateReader) ReadResponse

func (o *UpdateReader) 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