range_operations

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 Client

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

Client for range operations API

func (*Client) RangeCreate

func (a *Client) RangeCreate(params *RangeCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeCreateCreated, error)
RangeCreate creates the range

Use this method to create a __Range__ object.

A __Range__ object represents a set of contiguous IP addresses in the same IP space with no gap, expressed as a (start, end) pair within a given subnet that are grouped together for administrative purpose and protocol management. The start and end values are not required to align with CIDR boundaries.

func (*Client) RangeCreateNextAvailableIP

func (a *Client) RangeCreateNextAvailableIP(params *RangeCreateNextAvailableIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeCreateNextAvailableIPCreated, error)
RangeCreateNextAvailableIP allocates the next available IP address

Use this method to allocate the next available IP address.

This allocates one or more __Address__ (_ipam/address_) resource from available addresses, when the IP address is not known prior to allocation.

func (*Client) RangeDelete

func (a *Client) RangeDelete(params *RangeDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeDeleteNoContent, error)
RangeDelete moves the range to the recycle bin

Use this method to move a __Range__ object to the recycle bin.

A __Range__ object represents a set of contiguous IP addresses in the same IP space with no gap, expressed as a (start, end) pair within a given subnet that are grouped together for administrative purpose and protocol management. The start and end values are not required to align with CIDR boundaries.

func (*Client) RangeList

func (a *Client) RangeList(params *RangeListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeListOK, error)
RangeList retrieves ranges

Use this method to retrieve __Range__ objects.

A __Range__ object represents a set of contiguous IP addresses in the same IP space with no gap, expressed as a (start, end) pair within a given subnet that are grouped together for administrative purpose and protocol management. The start and end values are not required to align with CIDR boundaries.

func (*Client) RangeListNextAvailableIP

func (a *Client) RangeListNextAvailableIP(params *RangeListNextAvailableIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeListNextAvailableIPOK, error)
RangeListNextAvailableIP retrieves the next available IP address

Use this method to retrieve the next available IP address.

This returns one or more __Address__ (_ipam/address_) resource from available addresses, when IP address is not known prior to allocation.

func (*Client) RangeRead

func (a *Client) RangeRead(params *RangeReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeReadOK, error)
RangeRead retrieves the range

Use this method to retrieve a __Range__ object.

A __Range__ object represents a set of contiguous IP addresses in the same IP space with no gap, expressed as a (start, end) pair within a given subnet that are grouped together for administrative purpose and protocol management. The start and end values are not required to align with CIDR boundaries.

func (*Client) RangeUpdate

func (a *Client) RangeUpdate(params *RangeUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeUpdateCreated, error)
RangeUpdate updates the range

Use this method to update a __Range__ object.

A __Range__ object represents a set of contiguous IP addresses in the same IP space with no gap, expressed as a (start, end) pair within a given subnet that are grouped together for administrative purpose and protocol management. The start and end values are not required to align with CIDR boundaries.

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 {
	RangeCreate(params *RangeCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeCreateCreated, error)

	RangeCreateNextAvailableIP(params *RangeCreateNextAvailableIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeCreateNextAvailableIPCreated, error)

	RangeDelete(params *RangeDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeDeleteNoContent, error)

	RangeList(params *RangeListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeListOK, error)

	RangeListNextAvailableIP(params *RangeListNextAvailableIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeListNextAvailableIPOK, error)

	RangeRead(params *RangeReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeReadOK, error)

	RangeUpdate(params *RangeUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeUpdateCreated, 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 range operations API client.

type RangeCreateCreated

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

POST operation response

func NewRangeCreateCreated

func NewRangeCreateCreated() *RangeCreateCreated

NewRangeCreateCreated creates a RangeCreateCreated with default headers values

func (*RangeCreateCreated) Error

func (o *RangeCreateCreated) Error() string

func (*RangeCreateCreated) GetPayload

type RangeCreateNextAvailableIPCreated

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

POST operation response

func NewRangeCreateNextAvailableIPCreated

func NewRangeCreateNextAvailableIPCreated() *RangeCreateNextAvailableIPCreated

NewRangeCreateNextAvailableIPCreated creates a RangeCreateNextAvailableIPCreated with default headers values

func (*RangeCreateNextAvailableIPCreated) Error

func (*RangeCreateNextAvailableIPCreated) GetPayload

type RangeCreateNextAvailableIPParams

type RangeCreateNextAvailableIPParams struct {

	/* ID.

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

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

RangeCreateNextAvailableIPParams contains all the parameters to send to the API endpoint

for the range create next available IP operation.

Typically these are written to a http.Request.

func NewRangeCreateNextAvailableIPParams

func NewRangeCreateNextAvailableIPParams() *RangeCreateNextAvailableIPParams

NewRangeCreateNextAvailableIPParams creates a new RangeCreateNextAvailableIPParams 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 NewRangeCreateNextAvailableIPParamsWithContext

func NewRangeCreateNextAvailableIPParamsWithContext(ctx context.Context) *RangeCreateNextAvailableIPParams

NewRangeCreateNextAvailableIPParamsWithContext creates a new RangeCreateNextAvailableIPParams object with the ability to set a context for a request.

func NewRangeCreateNextAvailableIPParamsWithHTTPClient

func NewRangeCreateNextAvailableIPParamsWithHTTPClient(client *http.Client) *RangeCreateNextAvailableIPParams

NewRangeCreateNextAvailableIPParamsWithHTTPClient creates a new RangeCreateNextAvailableIPParams object with the ability to set a custom HTTPClient for a request.

func NewRangeCreateNextAvailableIPParamsWithTimeout

func NewRangeCreateNextAvailableIPParamsWithTimeout(timeout time.Duration) *RangeCreateNextAvailableIPParams

NewRangeCreateNextAvailableIPParamsWithTimeout creates a new RangeCreateNextAvailableIPParams object with the ability to set a timeout on a request.

func (*RangeCreateNextAvailableIPParams) SetContext

SetContext adds the context to the range create next available IP params

func (*RangeCreateNextAvailableIPParams) SetDefaults

func (o *RangeCreateNextAvailableIPParams) SetDefaults()

SetDefaults hydrates default values in the range create next available IP params (not the query body).

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

func (*RangeCreateNextAvailableIPParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the range create next available IP params

func (*RangeCreateNextAvailableIPParams) SetID

SetID adds the id to the range create next available IP params

func (*RangeCreateNextAvailableIPParams) SetTimeout

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

SetTimeout adds the timeout to the range create next available IP params

func (*RangeCreateNextAvailableIPParams) WithContext

WithContext adds the context to the range create next available IP params

func (*RangeCreateNextAvailableIPParams) WithDefaults

WithDefaults hydrates default values in the range create next available IP params (not the query body).

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

func (*RangeCreateNextAvailableIPParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the range create next available IP params

func (*RangeCreateNextAvailableIPParams) WithID

WithID adds the id to the range create next available IP params

func (*RangeCreateNextAvailableIPParams) WithTimeout

WithTimeout adds the timeout to the range create next available IP params

func (*RangeCreateNextAvailableIPParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RangeCreateNextAvailableIPReader

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

RangeCreateNextAvailableIPReader is a Reader for the RangeCreateNextAvailableIP structure.

func (*RangeCreateNextAvailableIPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RangeCreateParams

type RangeCreateParams struct {

	// Body.
	Body *models.IpamsvcRange

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

RangeCreateParams contains all the parameters to send to the API endpoint

for the range create operation.

Typically these are written to a http.Request.

func NewRangeCreateParams

func NewRangeCreateParams() *RangeCreateParams

NewRangeCreateParams creates a new RangeCreateParams 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 NewRangeCreateParamsWithContext

func NewRangeCreateParamsWithContext(ctx context.Context) *RangeCreateParams

NewRangeCreateParamsWithContext creates a new RangeCreateParams object with the ability to set a context for a request.

func NewRangeCreateParamsWithHTTPClient

func NewRangeCreateParamsWithHTTPClient(client *http.Client) *RangeCreateParams

NewRangeCreateParamsWithHTTPClient creates a new RangeCreateParams object with the ability to set a custom HTTPClient for a request.

func NewRangeCreateParamsWithTimeout

func NewRangeCreateParamsWithTimeout(timeout time.Duration) *RangeCreateParams

NewRangeCreateParamsWithTimeout creates a new RangeCreateParams object with the ability to set a timeout on a request.

func (*RangeCreateParams) SetBody

func (o *RangeCreateParams) SetBody(body *models.IpamsvcRange)

SetBody adds the body to the range create params

func (*RangeCreateParams) SetContext

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

SetContext adds the context to the range create params

func (*RangeCreateParams) SetDefaults

func (o *RangeCreateParams) SetDefaults()

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

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

func (*RangeCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the range create params

func (*RangeCreateParams) SetTimeout

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

SetTimeout adds the timeout to the range create params

func (*RangeCreateParams) WithBody

WithBody adds the body to the range create params

func (*RangeCreateParams) WithContext

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

WithContext adds the context to the range create params

func (*RangeCreateParams) WithDefaults

func (o *RangeCreateParams) WithDefaults() *RangeCreateParams

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

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

func (*RangeCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the range create params

func (*RangeCreateParams) WithTimeout

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

WithTimeout adds the timeout to the range create params

func (*RangeCreateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RangeCreateReader

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

RangeCreateReader is a Reader for the RangeCreate structure.

func (*RangeCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RangeDeleteNoContent

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

No Content

func NewRangeDeleteNoContent

func NewRangeDeleteNoContent() *RangeDeleteNoContent

NewRangeDeleteNoContent creates a RangeDeleteNoContent with default headers values

func (*RangeDeleteNoContent) Error

func (o *RangeDeleteNoContent) Error() string

type RangeDeleteParams

type RangeDeleteParams struct {

	/* ID.

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

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

RangeDeleteParams contains all the parameters to send to the API endpoint

for the range delete operation.

Typically these are written to a http.Request.

func NewRangeDeleteParams

func NewRangeDeleteParams() *RangeDeleteParams

NewRangeDeleteParams creates a new RangeDeleteParams 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 NewRangeDeleteParamsWithContext

func NewRangeDeleteParamsWithContext(ctx context.Context) *RangeDeleteParams

NewRangeDeleteParamsWithContext creates a new RangeDeleteParams object with the ability to set a context for a request.

func NewRangeDeleteParamsWithHTTPClient

func NewRangeDeleteParamsWithHTTPClient(client *http.Client) *RangeDeleteParams

NewRangeDeleteParamsWithHTTPClient creates a new RangeDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewRangeDeleteParamsWithTimeout

func NewRangeDeleteParamsWithTimeout(timeout time.Duration) *RangeDeleteParams

NewRangeDeleteParamsWithTimeout creates a new RangeDeleteParams object with the ability to set a timeout on a request.

func (*RangeDeleteParams) SetContext

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

SetContext adds the context to the range delete params

func (*RangeDeleteParams) SetDefaults

func (o *RangeDeleteParams) SetDefaults()

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

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

func (*RangeDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the range delete params

func (*RangeDeleteParams) SetID

func (o *RangeDeleteParams) SetID(id string)

SetID adds the id to the range delete params

func (*RangeDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the range delete params

func (*RangeDeleteParams) WithContext

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

WithContext adds the context to the range delete params

func (*RangeDeleteParams) WithDefaults

func (o *RangeDeleteParams) WithDefaults() *RangeDeleteParams

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

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

func (*RangeDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the range delete params

func (*RangeDeleteParams) WithID

WithID adds the id to the range delete params

func (*RangeDeleteParams) WithTimeout

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

WithTimeout adds the timeout to the range delete params

func (*RangeDeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RangeDeleteReader

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

RangeDeleteReader is a Reader for the RangeDelete structure.

func (*RangeDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RangeListNextAvailableIPOK

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

GET operation response

func NewRangeListNextAvailableIPOK

func NewRangeListNextAvailableIPOK() *RangeListNextAvailableIPOK

NewRangeListNextAvailableIPOK creates a RangeListNextAvailableIPOK with default headers values

func (*RangeListNextAvailableIPOK) Error

func (*RangeListNextAvailableIPOK) GetPayload

type RangeListNextAvailableIPParams

type RangeListNextAvailableIPParams struct {

	/* Contiguous.

	     Indicates whether the IP addresses should belong to a contiguous block.

	Defaults to _false_.

	     Format: boolean
	*/
	Contiguous *bool

	/* Count.

	     The number of IP addresses requested.

	Defaults to 1.

	     Format: int32
	*/
	Count *int32

	/* ID.

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

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

RangeListNextAvailableIPParams contains all the parameters to send to the API endpoint

for the range list next available IP operation.

Typically these are written to a http.Request.

func NewRangeListNextAvailableIPParams

func NewRangeListNextAvailableIPParams() *RangeListNextAvailableIPParams

NewRangeListNextAvailableIPParams creates a new RangeListNextAvailableIPParams 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 NewRangeListNextAvailableIPParamsWithContext

func NewRangeListNextAvailableIPParamsWithContext(ctx context.Context) *RangeListNextAvailableIPParams

NewRangeListNextAvailableIPParamsWithContext creates a new RangeListNextAvailableIPParams object with the ability to set a context for a request.

func NewRangeListNextAvailableIPParamsWithHTTPClient

func NewRangeListNextAvailableIPParamsWithHTTPClient(client *http.Client) *RangeListNextAvailableIPParams

NewRangeListNextAvailableIPParamsWithHTTPClient creates a new RangeListNextAvailableIPParams object with the ability to set a custom HTTPClient for a request.

func NewRangeListNextAvailableIPParamsWithTimeout

func NewRangeListNextAvailableIPParamsWithTimeout(timeout time.Duration) *RangeListNextAvailableIPParams

NewRangeListNextAvailableIPParamsWithTimeout creates a new RangeListNextAvailableIPParams object with the ability to set a timeout on a request.

func (*RangeListNextAvailableIPParams) SetContext

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

SetContext adds the context to the range list next available IP params

func (*RangeListNextAvailableIPParams) SetContiguous

func (o *RangeListNextAvailableIPParams) SetContiguous(contiguous *bool)

SetContiguous adds the contiguous to the range list next available IP params

func (*RangeListNextAvailableIPParams) SetCount

func (o *RangeListNextAvailableIPParams) SetCount(count *int32)

SetCount adds the count to the range list next available IP params

func (*RangeListNextAvailableIPParams) SetDefaults

func (o *RangeListNextAvailableIPParams) SetDefaults()

SetDefaults hydrates default values in the range list next available IP params (not the query body).

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

func (*RangeListNextAvailableIPParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the range list next available IP params

func (*RangeListNextAvailableIPParams) SetID

SetID adds the id to the range list next available IP params

func (*RangeListNextAvailableIPParams) SetTimeout

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

SetTimeout adds the timeout to the range list next available IP params

func (*RangeListNextAvailableIPParams) WithContext

WithContext adds the context to the range list next available IP params

func (*RangeListNextAvailableIPParams) WithContiguous

func (o *RangeListNextAvailableIPParams) WithContiguous(contiguous *bool) *RangeListNextAvailableIPParams

WithContiguous adds the contiguous to the range list next available IP params

func (*RangeListNextAvailableIPParams) WithCount

WithCount adds the count to the range list next available IP params

func (*RangeListNextAvailableIPParams) WithDefaults

WithDefaults hydrates default values in the range list next available IP params (not the query body).

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

func (*RangeListNextAvailableIPParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the range list next available IP params

func (*RangeListNextAvailableIPParams) WithID

WithID adds the id to the range list next available IP params

func (*RangeListNextAvailableIPParams) WithTimeout

WithTimeout adds the timeout to the range list next available IP params

func (*RangeListNextAvailableIPParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RangeListNextAvailableIPReader

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

RangeListNextAvailableIPReader is a Reader for the RangeListNextAvailableIP structure.

func (*RangeListNextAvailableIPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RangeListOK

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

GET operation response

func NewRangeListOK

func NewRangeListOK() *RangeListOK

NewRangeListOK creates a RangeListOK with default headers values

func (*RangeListOK) Error

func (o *RangeListOK) Error() string

func (*RangeListOK) GetPayload

func (o *RangeListOK) GetPayload() *models.IpamsvcListRangeResponse

type RangeListParams

type RangeListParams 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
}

RangeListParams contains all the parameters to send to the API endpoint

for the range list operation.

Typically these are written to a http.Request.

func NewRangeListParams

func NewRangeListParams() *RangeListParams

NewRangeListParams creates a new RangeListParams 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 NewRangeListParamsWithContext

func NewRangeListParamsWithContext(ctx context.Context) *RangeListParams

NewRangeListParamsWithContext creates a new RangeListParams object with the ability to set a context for a request.

func NewRangeListParamsWithHTTPClient

func NewRangeListParamsWithHTTPClient(client *http.Client) *RangeListParams

NewRangeListParamsWithHTTPClient creates a new RangeListParams object with the ability to set a custom HTTPClient for a request.

func NewRangeListParamsWithTimeout

func NewRangeListParamsWithTimeout(timeout time.Duration) *RangeListParams

NewRangeListParamsWithTimeout creates a new RangeListParams object with the ability to set a timeout on a request.

func (*RangeListParams) SetContext

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

SetContext adds the context to the range list params

func (*RangeListParams) SetDefaults

func (o *RangeListParams) SetDefaults()

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

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

func (*RangeListParams) SetFields

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

SetFields adds the fields to the range list params

func (*RangeListParams) SetFilter

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

SetFilter adds the filter to the range list params

func (*RangeListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the range list params

func (*RangeListParams) SetLimit

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

SetLimit adds the limit to the range list params

func (*RangeListParams) SetOffset

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

SetOffset adds the offset to the range list params

func (*RangeListParams) SetOrderBy

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

SetOrderBy adds the orderBy to the range list params

func (*RangeListParams) SetPageToken

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

SetPageToken adds the pageToken to the range list params

func (*RangeListParams) SetTfilter

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

SetTfilter adds the tfilter to the range list params

func (*RangeListParams) SetTimeout

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

SetTimeout adds the timeout to the range list params

func (*RangeListParams) SetTorderBy

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

SetTorderBy adds the torderBy to the range list params

func (*RangeListParams) WithContext

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

WithContext adds the context to the range list params

func (*RangeListParams) WithDefaults

func (o *RangeListParams) WithDefaults() *RangeListParams

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

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

func (*RangeListParams) WithFields

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

WithFields adds the fields to the range list params

func (*RangeListParams) WithFilter

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

WithFilter adds the filter to the range list params

func (*RangeListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the range list params

func (*RangeListParams) WithLimit

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

WithLimit adds the limit to the range list params

func (*RangeListParams) WithOffset

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

WithOffset adds the offset to the range list params

func (*RangeListParams) WithOrderBy

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

WithOrderBy adds the orderBy to the range list params

func (*RangeListParams) WithPageToken

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

WithPageToken adds the pageToken to the range list params

func (*RangeListParams) WithTfilter

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

WithTfilter adds the tfilter to the range list params

func (*RangeListParams) WithTimeout

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

WithTimeout adds the timeout to the range list params

func (*RangeListParams) WithTorderBy

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

WithTorderBy adds the torderBy to the range list params

func (*RangeListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RangeListReader

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

RangeListReader is a Reader for the RangeList structure.

func (*RangeListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RangeReadOK

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

GET operation response

func NewRangeReadOK

func NewRangeReadOK() *RangeReadOK

NewRangeReadOK creates a RangeReadOK with default headers values

func (*RangeReadOK) Error

func (o *RangeReadOK) Error() string

func (*RangeReadOK) GetPayload

func (o *RangeReadOK) GetPayload() *models.IpamsvcReadRangeResponse

type RangeReadParams

type RangeReadParams 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
}

RangeReadParams contains all the parameters to send to the API endpoint

for the range read operation.

Typically these are written to a http.Request.

func NewRangeReadParams

func NewRangeReadParams() *RangeReadParams

NewRangeReadParams creates a new RangeReadParams 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 NewRangeReadParamsWithContext

func NewRangeReadParamsWithContext(ctx context.Context) *RangeReadParams

NewRangeReadParamsWithContext creates a new RangeReadParams object with the ability to set a context for a request.

func NewRangeReadParamsWithHTTPClient

func NewRangeReadParamsWithHTTPClient(client *http.Client) *RangeReadParams

NewRangeReadParamsWithHTTPClient creates a new RangeReadParams object with the ability to set a custom HTTPClient for a request.

func NewRangeReadParamsWithTimeout

func NewRangeReadParamsWithTimeout(timeout time.Duration) *RangeReadParams

NewRangeReadParamsWithTimeout creates a new RangeReadParams object with the ability to set a timeout on a request.

func (*RangeReadParams) SetContext

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

SetContext adds the context to the range read params

func (*RangeReadParams) SetDefaults

func (o *RangeReadParams) SetDefaults()

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

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

func (*RangeReadParams) SetFields

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

SetFields adds the fields to the range read params

func (*RangeReadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the range read params

func (*RangeReadParams) SetID

func (o *RangeReadParams) SetID(id string)

SetID adds the id to the range read params

func (*RangeReadParams) SetTimeout

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

SetTimeout adds the timeout to the range read params

func (*RangeReadParams) WithContext

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

WithContext adds the context to the range read params

func (*RangeReadParams) WithDefaults

func (o *RangeReadParams) WithDefaults() *RangeReadParams

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

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

func (*RangeReadParams) WithFields

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

WithFields adds the fields to the range read params

func (*RangeReadParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the range read params

func (*RangeReadParams) WithID

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

WithID adds the id to the range read params

func (*RangeReadParams) WithTimeout

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

WithTimeout adds the timeout to the range read params

func (*RangeReadParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RangeReadReader

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

RangeReadReader is a Reader for the RangeRead structure.

func (*RangeReadReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RangeUpdateCreated

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

PATCH operation response

func NewRangeUpdateCreated

func NewRangeUpdateCreated() *RangeUpdateCreated

NewRangeUpdateCreated creates a RangeUpdateCreated with default headers values

func (*RangeUpdateCreated) Error

func (o *RangeUpdateCreated) Error() string

func (*RangeUpdateCreated) GetPayload

type RangeUpdateParams

type RangeUpdateParams struct {

	// Body.
	Body *models.IpamsvcRange

	/* ID.

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

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

RangeUpdateParams contains all the parameters to send to the API endpoint

for the range update operation.

Typically these are written to a http.Request.

func NewRangeUpdateParams

func NewRangeUpdateParams() *RangeUpdateParams

NewRangeUpdateParams creates a new RangeUpdateParams 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 NewRangeUpdateParamsWithContext

func NewRangeUpdateParamsWithContext(ctx context.Context) *RangeUpdateParams

NewRangeUpdateParamsWithContext creates a new RangeUpdateParams object with the ability to set a context for a request.

func NewRangeUpdateParamsWithHTTPClient

func NewRangeUpdateParamsWithHTTPClient(client *http.Client) *RangeUpdateParams

NewRangeUpdateParamsWithHTTPClient creates a new RangeUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewRangeUpdateParamsWithTimeout

func NewRangeUpdateParamsWithTimeout(timeout time.Duration) *RangeUpdateParams

NewRangeUpdateParamsWithTimeout creates a new RangeUpdateParams object with the ability to set a timeout on a request.

func (*RangeUpdateParams) SetBody

func (o *RangeUpdateParams) SetBody(body *models.IpamsvcRange)

SetBody adds the body to the range update params

func (*RangeUpdateParams) SetContext

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

SetContext adds the context to the range update params

func (*RangeUpdateParams) SetDefaults

func (o *RangeUpdateParams) SetDefaults()

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

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

func (*RangeUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the range update params

func (*RangeUpdateParams) SetID

func (o *RangeUpdateParams) SetID(id string)

SetID adds the id to the range update params

func (*RangeUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the range update params

func (*RangeUpdateParams) WithBody

WithBody adds the body to the range update params

func (*RangeUpdateParams) WithContext

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

WithContext adds the context to the range update params

func (*RangeUpdateParams) WithDefaults

func (o *RangeUpdateParams) WithDefaults() *RangeUpdateParams

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

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

func (*RangeUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the range update params

func (*RangeUpdateParams) WithID

WithID adds the id to the range update params

func (*RangeUpdateParams) WithTimeout

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

WithTimeout adds the timeout to the range update params

func (*RangeUpdateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RangeUpdateReader

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

RangeUpdateReader is a Reader for the RangeUpdate structure.

func (*RangeUpdateReader) ReadResponse

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