acl

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACLCreateCreated

type ACLCreateCreated struct {
	Payload *models.ConfigCreateACLResponse
}
ACLCreateCreated describes a response with status code 201, with default header values.

POST operation response

func NewACLCreateCreated

func NewACLCreateCreated() *ACLCreateCreated

NewACLCreateCreated creates a ACLCreateCreated with default headers values

func (*ACLCreateCreated) Error

func (o *ACLCreateCreated) Error() string

func (*ACLCreateCreated) GetPayload

type ACLCreateParams

type ACLCreateParams struct {

	// Body.
	Body *models.ConfigACL

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

ACLCreateParams contains all the parameters to send to the API endpoint

for the acl create operation.

Typically these are written to a http.Request.

func NewACLCreateParams

func NewACLCreateParams() *ACLCreateParams

NewACLCreateParams creates a new ACLCreateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewACLCreateParamsWithContext

func NewACLCreateParamsWithContext(ctx context.Context) *ACLCreateParams

NewACLCreateParamsWithContext creates a new ACLCreateParams object with the ability to set a context for a request.

func NewACLCreateParamsWithHTTPClient

func NewACLCreateParamsWithHTTPClient(client *http.Client) *ACLCreateParams

NewACLCreateParamsWithHTTPClient creates a new ACLCreateParams object with the ability to set a custom HTTPClient for a request.

func NewACLCreateParamsWithTimeout

func NewACLCreateParamsWithTimeout(timeout time.Duration) *ACLCreateParams

NewACLCreateParamsWithTimeout creates a new ACLCreateParams object with the ability to set a timeout on a request.

func (*ACLCreateParams) SetBody

func (o *ACLCreateParams) SetBody(body *models.ConfigACL)

SetBody adds the body to the acl create params

func (*ACLCreateParams) SetContext

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

SetContext adds the context to the acl create params

func (*ACLCreateParams) SetDefaults

func (o *ACLCreateParams) SetDefaults()

SetDefaults hydrates default values in the acl create params (not the query body).

All values with no default are reset to their zero value.

func (*ACLCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the acl create params

func (*ACLCreateParams) SetTimeout

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

SetTimeout adds the timeout to the acl create params

func (*ACLCreateParams) WithBody

func (o *ACLCreateParams) WithBody(body *models.ConfigACL) *ACLCreateParams

WithBody adds the body to the acl create params

func (*ACLCreateParams) WithContext

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

WithContext adds the context to the acl create params

func (*ACLCreateParams) WithDefaults

func (o *ACLCreateParams) WithDefaults() *ACLCreateParams

WithDefaults hydrates default values in the acl create params (not the query body).

All values with no default are reset to their zero value.

func (*ACLCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the acl create params

func (*ACLCreateParams) WithTimeout

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

WithTimeout adds the timeout to the acl create params

func (*ACLCreateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ACLCreateReader

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

ACLCreateReader is a Reader for the ACLCreate structure.

func (*ACLCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ACLDeleteNoContent

type ACLDeleteNoContent struct {
}
ACLDeleteNoContent describes a response with status code 204, with default header values.

No Content

func NewACLDeleteNoContent

func NewACLDeleteNoContent() *ACLDeleteNoContent

NewACLDeleteNoContent creates a ACLDeleteNoContent with default headers values

func (*ACLDeleteNoContent) Error

func (o *ACLDeleteNoContent) Error() string

type ACLDeleteParams

type ACLDeleteParams struct {

	/* ID.

	   An application specific resource identity of a resource
	*/
	ID string

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

ACLDeleteParams contains all the parameters to send to the API endpoint

for the acl delete operation.

Typically these are written to a http.Request.

func NewACLDeleteParams

func NewACLDeleteParams() *ACLDeleteParams

NewACLDeleteParams creates a new ACLDeleteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewACLDeleteParamsWithContext

func NewACLDeleteParamsWithContext(ctx context.Context) *ACLDeleteParams

NewACLDeleteParamsWithContext creates a new ACLDeleteParams object with the ability to set a context for a request.

func NewACLDeleteParamsWithHTTPClient

func NewACLDeleteParamsWithHTTPClient(client *http.Client) *ACLDeleteParams

NewACLDeleteParamsWithHTTPClient creates a new ACLDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewACLDeleteParamsWithTimeout

func NewACLDeleteParamsWithTimeout(timeout time.Duration) *ACLDeleteParams

NewACLDeleteParamsWithTimeout creates a new ACLDeleteParams object with the ability to set a timeout on a request.

func (*ACLDeleteParams) SetContext

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

SetContext adds the context to the acl delete params

func (*ACLDeleteParams) SetDefaults

func (o *ACLDeleteParams) SetDefaults()

SetDefaults hydrates default values in the acl delete params (not the query body).

All values with no default are reset to their zero value.

func (*ACLDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the acl delete params

func (*ACLDeleteParams) SetID

func (o *ACLDeleteParams) SetID(id string)

SetID adds the id to the acl delete params

func (*ACLDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the acl delete params

func (*ACLDeleteParams) WithContext

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

WithContext adds the context to the acl delete params

func (*ACLDeleteParams) WithDefaults

func (o *ACLDeleteParams) WithDefaults() *ACLDeleteParams

WithDefaults hydrates default values in the acl delete params (not the query body).

All values with no default are reset to their zero value.

func (*ACLDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the acl delete params

func (*ACLDeleteParams) WithID

func (o *ACLDeleteParams) WithID(id string) *ACLDeleteParams

WithID adds the id to the acl delete params

func (*ACLDeleteParams) WithTimeout

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

WithTimeout adds the timeout to the acl delete params

func (*ACLDeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ACLDeleteReader

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

ACLDeleteReader is a Reader for the ACLDelete structure.

func (*ACLDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ACLListOK

type ACLListOK struct {
	Payload *models.ConfigListACLResponse
}
ACLListOK describes a response with status code 200, with default header values.

GET operation response

func NewACLListOK

func NewACLListOK() *ACLListOK

NewACLListOK creates a ACLListOK with default headers values

func (*ACLListOK) Error

func (o *ACLListOK) Error() string

func (*ACLListOK) GetPayload

func (o *ACLListOK) GetPayload() *models.ConfigListACLResponse

type ACLListParams

type ACLListParams struct {

	/* Fields.



	A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource.

	Specify this parameter as a comma-separated list of JSON tag names.


	*/
	Fields *string

	/* Filter.



	A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logical operators. If a resource does not have the specified tag, its value is assumed to be null.

	Literal values include numbers (integer and floating-point), and quoted (both single- or double-quoted) literal strings, and 'null'. The following operators are commonly used in filter expressions:

	|  Op   |  Description               |
	|  --   |  -----------               |
	|  ==   |  Equal                     |
	|  !=   |  Not Equal                 |
	|  >    |  Greater Than              |
	|   >=  |  Greater Than or Equal To  |
	|  <    |  Less Than                 |
	|  <=   |  Less Than or Equal To     |
	|  and  |  Logical AND               |
	|  ~    |  Matches Regex             |
	|  !~   |  Does Not Match Regex      |
	|  or   |  Logical OR                |
	|  not  |  Logical NOT               |
	|  ()   |  Groupping Operators       |


	*/
	Filter *string

	/* Limit.



	The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value.


	*/
	Limit *int64

	/* Offset.



	The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'.


	*/
	Offset *int64

	/* OrderBy.



	A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, its value is assumed to be null.)

	Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order.


	*/
	OrderBy *string

	/* PageToken.



	The service-defined string used to identify a page of resources. A null value indicates the first page.


	*/
	PageToken *string

	/* Tfilter.

	   This parameter is used for filtering by tags.
	*/
	Tfilter *string

	/* TorderBy.

	   This parameter is used for sorting by tags.
	*/
	TorderBy *string

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

ACLListParams contains all the parameters to send to the API endpoint

for the acl list operation.

Typically these are written to a http.Request.

func NewACLListParams

func NewACLListParams() *ACLListParams

NewACLListParams creates a new ACLListParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewACLListParamsWithContext

func NewACLListParamsWithContext(ctx context.Context) *ACLListParams

NewACLListParamsWithContext creates a new ACLListParams object with the ability to set a context for a request.

func NewACLListParamsWithHTTPClient

func NewACLListParamsWithHTTPClient(client *http.Client) *ACLListParams

NewACLListParamsWithHTTPClient creates a new ACLListParams object with the ability to set a custom HTTPClient for a request.

func NewACLListParamsWithTimeout

func NewACLListParamsWithTimeout(timeout time.Duration) *ACLListParams

NewACLListParamsWithTimeout creates a new ACLListParams object with the ability to set a timeout on a request.

func (*ACLListParams) SetContext

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

SetContext adds the context to the acl list params

func (*ACLListParams) SetDefaults

func (o *ACLListParams) SetDefaults()

SetDefaults hydrates default values in the acl list params (not the query body).

All values with no default are reset to their zero value.

func (*ACLListParams) SetFields

func (o *ACLListParams) SetFields(fields *string)

SetFields adds the fields to the acl list params

func (*ACLListParams) SetFilter

func (o *ACLListParams) SetFilter(filter *string)

SetFilter adds the filter to the acl list params

func (*ACLListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the acl list params

func (*ACLListParams) SetLimit

func (o *ACLListParams) SetLimit(limit *int64)

SetLimit adds the limit to the acl list params

func (*ACLListParams) SetOffset

func (o *ACLListParams) SetOffset(offset *int64)

SetOffset adds the offset to the acl list params

func (*ACLListParams) SetOrderBy

func (o *ACLListParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the acl list params

func (*ACLListParams) SetPageToken

func (o *ACLListParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the acl list params

func (*ACLListParams) SetTfilter

func (o *ACLListParams) SetTfilter(tfilter *string)

SetTfilter adds the tfilter to the acl list params

func (*ACLListParams) SetTimeout

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

SetTimeout adds the timeout to the acl list params

func (*ACLListParams) SetTorderBy

func (o *ACLListParams) SetTorderBy(torderBy *string)

SetTorderBy adds the torderBy to the acl list params

func (*ACLListParams) WithContext

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

WithContext adds the context to the acl list params

func (*ACLListParams) WithDefaults

func (o *ACLListParams) WithDefaults() *ACLListParams

WithDefaults hydrates default values in the acl list params (not the query body).

All values with no default are reset to their zero value.

func (*ACLListParams) WithFields

func (o *ACLListParams) WithFields(fields *string) *ACLListParams

WithFields adds the fields to the acl list params

func (*ACLListParams) WithFilter

func (o *ACLListParams) WithFilter(filter *string) *ACLListParams

WithFilter adds the filter to the acl list params

func (*ACLListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the acl list params

func (*ACLListParams) WithLimit

func (o *ACLListParams) WithLimit(limit *int64) *ACLListParams

WithLimit adds the limit to the acl list params

func (*ACLListParams) WithOffset

func (o *ACLListParams) WithOffset(offset *int64) *ACLListParams

WithOffset adds the offset to the acl list params

func (*ACLListParams) WithOrderBy

func (o *ACLListParams) WithOrderBy(orderBy *string) *ACLListParams

WithOrderBy adds the orderBy to the acl list params

func (*ACLListParams) WithPageToken

func (o *ACLListParams) WithPageToken(pageToken *string) *ACLListParams

WithPageToken adds the pageToken to the acl list params

func (*ACLListParams) WithTfilter

func (o *ACLListParams) WithTfilter(tfilter *string) *ACLListParams

WithTfilter adds the tfilter to the acl list params

func (*ACLListParams) WithTimeout

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

WithTimeout adds the timeout to the acl list params

func (*ACLListParams) WithTorderBy

func (o *ACLListParams) WithTorderBy(torderBy *string) *ACLListParams

WithTorderBy adds the torderBy to the acl list params

func (*ACLListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ACLListReader

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

ACLListReader is a Reader for the ACLList structure.

func (*ACLListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ACLReadOK

type ACLReadOK struct {
	Payload *models.ConfigReadACLResponse
}
ACLReadOK describes a response with status code 200, with default header values.

GET operation response

func NewACLReadOK

func NewACLReadOK() *ACLReadOK

NewACLReadOK creates a ACLReadOK with default headers values

func (*ACLReadOK) Error

func (o *ACLReadOK) Error() string

func (*ACLReadOK) GetPayload

func (o *ACLReadOK) GetPayload() *models.ConfigReadACLResponse

type ACLReadParams

type ACLReadParams struct {

	/* Fields.



	A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource.

	Specify this parameter as a comma-separated list of JSON tag names.


	*/
	Fields *string

	/* ID.

	   An application specific resource identity of a resource
	*/
	ID string

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

ACLReadParams contains all the parameters to send to the API endpoint

for the acl read operation.

Typically these are written to a http.Request.

func NewACLReadParams

func NewACLReadParams() *ACLReadParams

NewACLReadParams creates a new ACLReadParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewACLReadParamsWithContext

func NewACLReadParamsWithContext(ctx context.Context) *ACLReadParams

NewACLReadParamsWithContext creates a new ACLReadParams object with the ability to set a context for a request.

func NewACLReadParamsWithHTTPClient

func NewACLReadParamsWithHTTPClient(client *http.Client) *ACLReadParams

NewACLReadParamsWithHTTPClient creates a new ACLReadParams object with the ability to set a custom HTTPClient for a request.

func NewACLReadParamsWithTimeout

func NewACLReadParamsWithTimeout(timeout time.Duration) *ACLReadParams

NewACLReadParamsWithTimeout creates a new ACLReadParams object with the ability to set a timeout on a request.

func (*ACLReadParams) SetContext

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

SetContext adds the context to the acl read params

func (*ACLReadParams) SetDefaults

func (o *ACLReadParams) SetDefaults()

SetDefaults hydrates default values in the acl read params (not the query body).

All values with no default are reset to their zero value.

func (*ACLReadParams) SetFields

func (o *ACLReadParams) SetFields(fields *string)

SetFields adds the fields to the acl read params

func (*ACLReadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the acl read params

func (*ACLReadParams) SetID

func (o *ACLReadParams) SetID(id string)

SetID adds the id to the acl read params

func (*ACLReadParams) SetTimeout

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

SetTimeout adds the timeout to the acl read params

func (*ACLReadParams) WithContext

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

WithContext adds the context to the acl read params

func (*ACLReadParams) WithDefaults

func (o *ACLReadParams) WithDefaults() *ACLReadParams

WithDefaults hydrates default values in the acl read params (not the query body).

All values with no default are reset to their zero value.

func (*ACLReadParams) WithFields

func (o *ACLReadParams) WithFields(fields *string) *ACLReadParams

WithFields adds the fields to the acl read params

func (*ACLReadParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the acl read params

func (*ACLReadParams) WithID

func (o *ACLReadParams) WithID(id string) *ACLReadParams

WithID adds the id to the acl read params

func (*ACLReadParams) WithTimeout

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

WithTimeout adds the timeout to the acl read params

func (*ACLReadParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ACLReadReader

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

ACLReadReader is a Reader for the ACLRead structure.

func (*ACLReadReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ACLUpdateCreated

type ACLUpdateCreated struct {
	Payload *models.ConfigUpdateACLResponse
}
ACLUpdateCreated describes a response with status code 201, with default header values.

PATCH operation response

func NewACLUpdateCreated

func NewACLUpdateCreated() *ACLUpdateCreated

NewACLUpdateCreated creates a ACLUpdateCreated with default headers values

func (*ACLUpdateCreated) Error

func (o *ACLUpdateCreated) Error() string

func (*ACLUpdateCreated) GetPayload

type ACLUpdateParams

type ACLUpdateParams struct {

	// Body.
	Body *models.ConfigACL

	/* ID.

	   An application specific resource identity of a resource
	*/
	ID string

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

ACLUpdateParams contains all the parameters to send to the API endpoint

for the acl update operation.

Typically these are written to a http.Request.

func NewACLUpdateParams

func NewACLUpdateParams() *ACLUpdateParams

NewACLUpdateParams creates a new ACLUpdateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewACLUpdateParamsWithContext

func NewACLUpdateParamsWithContext(ctx context.Context) *ACLUpdateParams

NewACLUpdateParamsWithContext creates a new ACLUpdateParams object with the ability to set a context for a request.

func NewACLUpdateParamsWithHTTPClient

func NewACLUpdateParamsWithHTTPClient(client *http.Client) *ACLUpdateParams

NewACLUpdateParamsWithHTTPClient creates a new ACLUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewACLUpdateParamsWithTimeout

func NewACLUpdateParamsWithTimeout(timeout time.Duration) *ACLUpdateParams

NewACLUpdateParamsWithTimeout creates a new ACLUpdateParams object with the ability to set a timeout on a request.

func (*ACLUpdateParams) SetBody

func (o *ACLUpdateParams) SetBody(body *models.ConfigACL)

SetBody adds the body to the acl update params

func (*ACLUpdateParams) SetContext

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

SetContext adds the context to the acl update params

func (*ACLUpdateParams) SetDefaults

func (o *ACLUpdateParams) SetDefaults()

SetDefaults hydrates default values in the acl update params (not the query body).

All values with no default are reset to their zero value.

func (*ACLUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the acl update params

func (*ACLUpdateParams) SetID

func (o *ACLUpdateParams) SetID(id string)

SetID adds the id to the acl update params

func (*ACLUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the acl update params

func (*ACLUpdateParams) WithBody

func (o *ACLUpdateParams) WithBody(body *models.ConfigACL) *ACLUpdateParams

WithBody adds the body to the acl update params

func (*ACLUpdateParams) WithContext

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

WithContext adds the context to the acl update params

func (*ACLUpdateParams) WithDefaults

func (o *ACLUpdateParams) WithDefaults() *ACLUpdateParams

WithDefaults hydrates default values in the acl update params (not the query body).

All values with no default are reset to their zero value.

func (*ACLUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the acl update params

func (*ACLUpdateParams) WithID

func (o *ACLUpdateParams) WithID(id string) *ACLUpdateParams

WithID adds the id to the acl update params

func (*ACLUpdateParams) WithTimeout

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

WithTimeout adds the timeout to the acl update params

func (*ACLUpdateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ACLUpdateReader

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

ACLUpdateReader is a Reader for the ACLUpdate structure.

func (*ACLUpdateReader) ReadResponse

func (o *ACLUpdateReader) 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 acl API

func (*Client) ACLCreate

func (a *Client) ACLCreate(params *ACLCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ACLCreateCreated, error)
ACLCreate creates the ACL object

Use this method to create an ACL object.

ACL object (_dns/acl_) represents a named Access Control List.

func (*Client) ACLDelete

func (a *Client) ACLDelete(params *ACLDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ACLDeleteNoContent, error)
ACLDelete moves the ACL object to recyclebin

Use this method to move an ACL object to Recyclebin.

ACL object (_dns/acl_) represents a named Access Control List.

func (*Client) ACLList

func (a *Client) ACLList(params *ACLListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ACLListOK, error)
ACLList lists ACL objects

Use this method to list ACL objects.

ACL object (_dns/acl_) represents a named Access Control List.

func (*Client) ACLRead

func (a *Client) ACLRead(params *ACLReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ACLReadOK, error)
ACLRead reads the ACL object

Use this method to read an ACL object.

ACL object (_dns/acl_) represents a named Access Control List.

func (*Client) ACLUpdate

func (a *Client) ACLUpdate(params *ACLUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ACLUpdateCreated, error)
ACLUpdate updates the ACL object

Use this method to update an ACL object.

ACL object (_dns/acl_) represents a named Access Control List.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ACLCreate(params *ACLCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ACLCreateCreated, error)

	ACLDelete(params *ACLDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ACLDeleteNoContent, error)

	ACLList(params *ACLListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ACLListOK, error)

	ACLRead(params *ACLReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ACLReadOK, error)

	ACLUpdate(params *ACLUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ACLUpdateCreated, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new acl API client.

Jump to

Keyboard shortcuts

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