Documentation ¶
Index ¶
- type Client
- func (a *Client) IpamHostCreate(params *IpamHostCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IpamHostCreateCreated, error)
- func (a *Client) IpamHostDelete(params *IpamHostDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IpamHostDeleteNoContent, error)
- func (a *Client) IpamHostList(params *IpamHostListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IpamHostListOK, error)
- func (a *Client) IpamHostRead(params *IpamHostReadParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IpamHostReadOK, error)
- func (a *Client) IpamHostUpdate(params *IpamHostUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IpamHostUpdateCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type IpamHostCreateCreated
- type IpamHostCreateParams
- func NewIpamHostCreateParams() *IpamHostCreateParams
- func NewIpamHostCreateParamsWithContext(ctx context.Context) *IpamHostCreateParams
- func NewIpamHostCreateParamsWithHTTPClient(client *http.Client) *IpamHostCreateParams
- func NewIpamHostCreateParamsWithTimeout(timeout time.Duration) *IpamHostCreateParams
- func (o *IpamHostCreateParams) SetBody(body *models.IpamsvcIpamHost)
- func (o *IpamHostCreateParams) SetContext(ctx context.Context)
- func (o *IpamHostCreateParams) SetDefaults()
- func (o *IpamHostCreateParams) SetHTTPClient(client *http.Client)
- func (o *IpamHostCreateParams) SetTimeout(timeout time.Duration)
- func (o *IpamHostCreateParams) WithBody(body *models.IpamsvcIpamHost) *IpamHostCreateParams
- func (o *IpamHostCreateParams) WithContext(ctx context.Context) *IpamHostCreateParams
- func (o *IpamHostCreateParams) WithDefaults() *IpamHostCreateParams
- func (o *IpamHostCreateParams) WithHTTPClient(client *http.Client) *IpamHostCreateParams
- func (o *IpamHostCreateParams) WithTimeout(timeout time.Duration) *IpamHostCreateParams
- func (o *IpamHostCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IpamHostCreateReader
- type IpamHostDeleteNoContent
- type IpamHostDeleteParams
- func NewIpamHostDeleteParams() *IpamHostDeleteParams
- func NewIpamHostDeleteParamsWithContext(ctx context.Context) *IpamHostDeleteParams
- func NewIpamHostDeleteParamsWithHTTPClient(client *http.Client) *IpamHostDeleteParams
- func NewIpamHostDeleteParamsWithTimeout(timeout time.Duration) *IpamHostDeleteParams
- func (o *IpamHostDeleteParams) SetContext(ctx context.Context)
- func (o *IpamHostDeleteParams) SetDefaults()
- func (o *IpamHostDeleteParams) SetHTTPClient(client *http.Client)
- func (o *IpamHostDeleteParams) SetID(id string)
- func (o *IpamHostDeleteParams) SetTimeout(timeout time.Duration)
- func (o *IpamHostDeleteParams) WithContext(ctx context.Context) *IpamHostDeleteParams
- func (o *IpamHostDeleteParams) WithDefaults() *IpamHostDeleteParams
- func (o *IpamHostDeleteParams) WithHTTPClient(client *http.Client) *IpamHostDeleteParams
- func (o *IpamHostDeleteParams) WithID(id string) *IpamHostDeleteParams
- func (o *IpamHostDeleteParams) WithTimeout(timeout time.Duration) *IpamHostDeleteParams
- func (o *IpamHostDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IpamHostDeleteReader
- type IpamHostListOK
- type IpamHostListParams
- func (o *IpamHostListParams) SetContext(ctx context.Context)
- func (o *IpamHostListParams) SetDefaults()
- func (o *IpamHostListParams) SetFields(fields *string)
- func (o *IpamHostListParams) SetFilter(filter *string)
- func (o *IpamHostListParams) SetHTTPClient(client *http.Client)
- func (o *IpamHostListParams) SetLimit(limit *int64)
- func (o *IpamHostListParams) SetOffset(offset *int64)
- func (o *IpamHostListParams) SetOrderBy(orderBy *string)
- func (o *IpamHostListParams) SetPageToken(pageToken *string)
- func (o *IpamHostListParams) SetTfilter(tfilter *string)
- func (o *IpamHostListParams) SetTimeout(timeout time.Duration)
- func (o *IpamHostListParams) SetTorderBy(torderBy *string)
- func (o *IpamHostListParams) WithContext(ctx context.Context) *IpamHostListParams
- func (o *IpamHostListParams) WithDefaults() *IpamHostListParams
- func (o *IpamHostListParams) WithFields(fields *string) *IpamHostListParams
- func (o *IpamHostListParams) WithFilter(filter *string) *IpamHostListParams
- func (o *IpamHostListParams) WithHTTPClient(client *http.Client) *IpamHostListParams
- func (o *IpamHostListParams) WithLimit(limit *int64) *IpamHostListParams
- func (o *IpamHostListParams) WithOffset(offset *int64) *IpamHostListParams
- func (o *IpamHostListParams) WithOrderBy(orderBy *string) *IpamHostListParams
- func (o *IpamHostListParams) WithPageToken(pageToken *string) *IpamHostListParams
- func (o *IpamHostListParams) WithTfilter(tfilter *string) *IpamHostListParams
- func (o *IpamHostListParams) WithTimeout(timeout time.Duration) *IpamHostListParams
- func (o *IpamHostListParams) WithTorderBy(torderBy *string) *IpamHostListParams
- func (o *IpamHostListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IpamHostListReader
- type IpamHostReadOK
- type IpamHostReadParams
- func (o *IpamHostReadParams) SetContext(ctx context.Context)
- func (o *IpamHostReadParams) SetDefaults()
- func (o *IpamHostReadParams) SetFields(fields *string)
- func (o *IpamHostReadParams) SetHTTPClient(client *http.Client)
- func (o *IpamHostReadParams) SetID(id string)
- func (o *IpamHostReadParams) SetOrderBy(orderBy *string)
- func (o *IpamHostReadParams) SetTimeout(timeout time.Duration)
- func (o *IpamHostReadParams) WithContext(ctx context.Context) *IpamHostReadParams
- func (o *IpamHostReadParams) WithDefaults() *IpamHostReadParams
- func (o *IpamHostReadParams) WithFields(fields *string) *IpamHostReadParams
- func (o *IpamHostReadParams) WithHTTPClient(client *http.Client) *IpamHostReadParams
- func (o *IpamHostReadParams) WithID(id string) *IpamHostReadParams
- func (o *IpamHostReadParams) WithOrderBy(orderBy *string) *IpamHostReadParams
- func (o *IpamHostReadParams) WithTimeout(timeout time.Duration) *IpamHostReadParams
- func (o *IpamHostReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IpamHostReadReader
- type IpamHostUpdateCreated
- type IpamHostUpdateParams
- func NewIpamHostUpdateParams() *IpamHostUpdateParams
- func NewIpamHostUpdateParamsWithContext(ctx context.Context) *IpamHostUpdateParams
- func NewIpamHostUpdateParamsWithHTTPClient(client *http.Client) *IpamHostUpdateParams
- func NewIpamHostUpdateParamsWithTimeout(timeout time.Duration) *IpamHostUpdateParams
- func (o *IpamHostUpdateParams) SetBody(body *models.IpamsvcIpamHost)
- func (o *IpamHostUpdateParams) SetContext(ctx context.Context)
- func (o *IpamHostUpdateParams) SetDefaults()
- func (o *IpamHostUpdateParams) SetHTTPClient(client *http.Client)
- func (o *IpamHostUpdateParams) SetID(id string)
- func (o *IpamHostUpdateParams) SetTimeout(timeout time.Duration)
- func (o *IpamHostUpdateParams) WithBody(body *models.IpamsvcIpamHost) *IpamHostUpdateParams
- func (o *IpamHostUpdateParams) WithContext(ctx context.Context) *IpamHostUpdateParams
- func (o *IpamHostUpdateParams) WithDefaults() *IpamHostUpdateParams
- func (o *IpamHostUpdateParams) WithHTTPClient(client *http.Client) *IpamHostUpdateParams
- func (o *IpamHostUpdateParams) WithID(id string) *IpamHostUpdateParams
- func (o *IpamHostUpdateParams) WithTimeout(timeout time.Duration) *IpamHostUpdateParams
- func (o *IpamHostUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IpamHostUpdateReader
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 ipam host API
func (*Client) IpamHostCreate ¶
func (a *Client) IpamHostCreate(params *IpamHostCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IpamHostCreateCreated, error)
IpamHostCreate creates the IP a m host Use this method to create an __IpamHost__ object.
The __IpamHost__ object (_ipam/host_) represents any network connected equipment that is assigned one or more IP Addresses.
func (*Client) IpamHostDelete ¶
func (a *Client) IpamHostDelete(params *IpamHostDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IpamHostDeleteNoContent, error)
IpamHostDelete moves the IP a m host to the recycle bin Use this method to move an __IpamHost__ object to the recycle bin.
The __IpamHost__ object (_ipam/host_) represents any network connected equipment that is assigned one or more IP Addresses.
func (*Client) IpamHostList ¶
func (a *Client) IpamHostList(params *IpamHostListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IpamHostListOK, error)
IpamHostList retrieves the IP a m hosts Use this method to retrieve __IpamHost__ objects.
The __IpamHost__ object (_ipam/host_) represents any network connected equipment that is assigned one or more IP Addresses.
func (*Client) IpamHostRead ¶
func (a *Client) IpamHostRead(params *IpamHostReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IpamHostReadOK, error)
IpamHostRead retrieves the IP a m host Use this method to retrieve an __IpamHost__ object.
The __IpamHost__ object (_ipam/host_) represents any network connected equipment that is assigned one or more IP Addresses.
func (*Client) IpamHostUpdate ¶
func (a *Client) IpamHostUpdate(params *IpamHostUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IpamHostUpdateCreated, error)
IpamHostUpdate updates the IP a m host Use this method to update an __IpamHost__ object.
The __IpamHost__ object (_ipam/host_) represents any network connected equipment that is assigned one or more IP Addresses.
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 { IpamHostCreate(params *IpamHostCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IpamHostCreateCreated, error) IpamHostDelete(params *IpamHostDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IpamHostDeleteNoContent, error) IpamHostList(params *IpamHostListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IpamHostListOK, error) IpamHostRead(params *IpamHostReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IpamHostReadOK, error) IpamHostUpdate(params *IpamHostUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IpamHostUpdateCreated, 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 ipam host API client.
type IpamHostCreateCreated ¶
type IpamHostCreateCreated struct {
Payload *models.IpamsvcCreateIpamHostResponse
}
IpamHostCreateCreated describes a response with status code 201, with default header values.
POST operation response
func NewIpamHostCreateCreated ¶
func NewIpamHostCreateCreated() *IpamHostCreateCreated
NewIpamHostCreateCreated creates a IpamHostCreateCreated with default headers values
func (*IpamHostCreateCreated) Error ¶
func (o *IpamHostCreateCreated) Error() string
func (*IpamHostCreateCreated) GetPayload ¶
func (o *IpamHostCreateCreated) GetPayload() *models.IpamsvcCreateIpamHostResponse
type IpamHostCreateParams ¶
type IpamHostCreateParams struct { // Body. Body *models.IpamsvcIpamHost Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IpamHostCreateParams contains all the parameters to send to the API endpoint
for the ipam host create operation. Typically these are written to a http.Request.
func NewIpamHostCreateParams ¶
func NewIpamHostCreateParams() *IpamHostCreateParams
NewIpamHostCreateParams creates a new IpamHostCreateParams 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 NewIpamHostCreateParamsWithContext ¶
func NewIpamHostCreateParamsWithContext(ctx context.Context) *IpamHostCreateParams
NewIpamHostCreateParamsWithContext creates a new IpamHostCreateParams object with the ability to set a context for a request.
func NewIpamHostCreateParamsWithHTTPClient ¶
func NewIpamHostCreateParamsWithHTTPClient(client *http.Client) *IpamHostCreateParams
NewIpamHostCreateParamsWithHTTPClient creates a new IpamHostCreateParams object with the ability to set a custom HTTPClient for a request.
func NewIpamHostCreateParamsWithTimeout ¶
func NewIpamHostCreateParamsWithTimeout(timeout time.Duration) *IpamHostCreateParams
NewIpamHostCreateParamsWithTimeout creates a new IpamHostCreateParams object with the ability to set a timeout on a request.
func (*IpamHostCreateParams) SetBody ¶
func (o *IpamHostCreateParams) SetBody(body *models.IpamsvcIpamHost)
SetBody adds the body to the ipam host create params
func (*IpamHostCreateParams) SetContext ¶
func (o *IpamHostCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the ipam host create params
func (*IpamHostCreateParams) SetDefaults ¶
func (o *IpamHostCreateParams) SetDefaults()
SetDefaults hydrates default values in the ipam host create params (not the query body).
All values with no default are reset to their zero value.
func (*IpamHostCreateParams) SetHTTPClient ¶
func (o *IpamHostCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ipam host create params
func (*IpamHostCreateParams) SetTimeout ¶
func (o *IpamHostCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ipam host create params
func (*IpamHostCreateParams) WithBody ¶
func (o *IpamHostCreateParams) WithBody(body *models.IpamsvcIpamHost) *IpamHostCreateParams
WithBody adds the body to the ipam host create params
func (*IpamHostCreateParams) WithContext ¶
func (o *IpamHostCreateParams) WithContext(ctx context.Context) *IpamHostCreateParams
WithContext adds the context to the ipam host create params
func (*IpamHostCreateParams) WithDefaults ¶
func (o *IpamHostCreateParams) WithDefaults() *IpamHostCreateParams
WithDefaults hydrates default values in the ipam host create params (not the query body).
All values with no default are reset to their zero value.
func (*IpamHostCreateParams) WithHTTPClient ¶
func (o *IpamHostCreateParams) WithHTTPClient(client *http.Client) *IpamHostCreateParams
WithHTTPClient adds the HTTPClient to the ipam host create params
func (*IpamHostCreateParams) WithTimeout ¶
func (o *IpamHostCreateParams) WithTimeout(timeout time.Duration) *IpamHostCreateParams
WithTimeout adds the timeout to the ipam host create params
func (*IpamHostCreateParams) WriteToRequest ¶
func (o *IpamHostCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IpamHostCreateReader ¶
type IpamHostCreateReader struct {
// contains filtered or unexported fields
}
IpamHostCreateReader is a Reader for the IpamHostCreate structure.
func (*IpamHostCreateReader) ReadResponse ¶
func (o *IpamHostCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IpamHostDeleteNoContent ¶
type IpamHostDeleteNoContent struct { }
IpamHostDeleteNoContent describes a response with status code 204, with default header values.
No Content
func NewIpamHostDeleteNoContent ¶
func NewIpamHostDeleteNoContent() *IpamHostDeleteNoContent
NewIpamHostDeleteNoContent creates a IpamHostDeleteNoContent with default headers values
func (*IpamHostDeleteNoContent) Error ¶
func (o *IpamHostDeleteNoContent) Error() string
type IpamHostDeleteParams ¶
type IpamHostDeleteParams struct { /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IpamHostDeleteParams contains all the parameters to send to the API endpoint
for the ipam host delete operation. Typically these are written to a http.Request.
func NewIpamHostDeleteParams ¶
func NewIpamHostDeleteParams() *IpamHostDeleteParams
NewIpamHostDeleteParams creates a new IpamHostDeleteParams 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 NewIpamHostDeleteParamsWithContext ¶
func NewIpamHostDeleteParamsWithContext(ctx context.Context) *IpamHostDeleteParams
NewIpamHostDeleteParamsWithContext creates a new IpamHostDeleteParams object with the ability to set a context for a request.
func NewIpamHostDeleteParamsWithHTTPClient ¶
func NewIpamHostDeleteParamsWithHTTPClient(client *http.Client) *IpamHostDeleteParams
NewIpamHostDeleteParamsWithHTTPClient creates a new IpamHostDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewIpamHostDeleteParamsWithTimeout ¶
func NewIpamHostDeleteParamsWithTimeout(timeout time.Duration) *IpamHostDeleteParams
NewIpamHostDeleteParamsWithTimeout creates a new IpamHostDeleteParams object with the ability to set a timeout on a request.
func (*IpamHostDeleteParams) SetContext ¶
func (o *IpamHostDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the ipam host delete params
func (*IpamHostDeleteParams) SetDefaults ¶
func (o *IpamHostDeleteParams) SetDefaults()
SetDefaults hydrates default values in the ipam host delete params (not the query body).
All values with no default are reset to their zero value.
func (*IpamHostDeleteParams) SetHTTPClient ¶
func (o *IpamHostDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ipam host delete params
func (*IpamHostDeleteParams) SetID ¶
func (o *IpamHostDeleteParams) SetID(id string)
SetID adds the id to the ipam host delete params
func (*IpamHostDeleteParams) SetTimeout ¶
func (o *IpamHostDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ipam host delete params
func (*IpamHostDeleteParams) WithContext ¶
func (o *IpamHostDeleteParams) WithContext(ctx context.Context) *IpamHostDeleteParams
WithContext adds the context to the ipam host delete params
func (*IpamHostDeleteParams) WithDefaults ¶
func (o *IpamHostDeleteParams) WithDefaults() *IpamHostDeleteParams
WithDefaults hydrates default values in the ipam host delete params (not the query body).
All values with no default are reset to their zero value.
func (*IpamHostDeleteParams) WithHTTPClient ¶
func (o *IpamHostDeleteParams) WithHTTPClient(client *http.Client) *IpamHostDeleteParams
WithHTTPClient adds the HTTPClient to the ipam host delete params
func (*IpamHostDeleteParams) WithID ¶
func (o *IpamHostDeleteParams) WithID(id string) *IpamHostDeleteParams
WithID adds the id to the ipam host delete params
func (*IpamHostDeleteParams) WithTimeout ¶
func (o *IpamHostDeleteParams) WithTimeout(timeout time.Duration) *IpamHostDeleteParams
WithTimeout adds the timeout to the ipam host delete params
func (*IpamHostDeleteParams) WriteToRequest ¶
func (o *IpamHostDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IpamHostDeleteReader ¶
type IpamHostDeleteReader struct {
// contains filtered or unexported fields
}
IpamHostDeleteReader is a Reader for the IpamHostDelete structure.
func (*IpamHostDeleteReader) ReadResponse ¶
func (o *IpamHostDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IpamHostListOK ¶
type IpamHostListOK struct {
Payload *models.IpamsvcListIpamHostResponse
}
IpamHostListOK describes a response with status code 200, with default header values.
GET operation response
func NewIpamHostListOK ¶
func NewIpamHostListOK() *IpamHostListOK
NewIpamHostListOK creates a IpamHostListOK with default headers values
func (*IpamHostListOK) Error ¶
func (o *IpamHostListOK) Error() string
func (*IpamHostListOK) GetPayload ¶
func (o *IpamHostListOK) GetPayload() *models.IpamsvcListIpamHostResponse
type IpamHostListParams ¶
type IpamHostListParams 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 }
IpamHostListParams contains all the parameters to send to the API endpoint
for the ipam host list operation. Typically these are written to a http.Request.
func NewIpamHostListParams ¶
func NewIpamHostListParams() *IpamHostListParams
NewIpamHostListParams creates a new IpamHostListParams 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 NewIpamHostListParamsWithContext ¶
func NewIpamHostListParamsWithContext(ctx context.Context) *IpamHostListParams
NewIpamHostListParamsWithContext creates a new IpamHostListParams object with the ability to set a context for a request.
func NewIpamHostListParamsWithHTTPClient ¶
func NewIpamHostListParamsWithHTTPClient(client *http.Client) *IpamHostListParams
NewIpamHostListParamsWithHTTPClient creates a new IpamHostListParams object with the ability to set a custom HTTPClient for a request.
func NewIpamHostListParamsWithTimeout ¶
func NewIpamHostListParamsWithTimeout(timeout time.Duration) *IpamHostListParams
NewIpamHostListParamsWithTimeout creates a new IpamHostListParams object with the ability to set a timeout on a request.
func (*IpamHostListParams) SetContext ¶
func (o *IpamHostListParams) SetContext(ctx context.Context)
SetContext adds the context to the ipam host list params
func (*IpamHostListParams) SetDefaults ¶
func (o *IpamHostListParams) SetDefaults()
SetDefaults hydrates default values in the ipam host list params (not the query body).
All values with no default are reset to their zero value.
func (*IpamHostListParams) SetFields ¶
func (o *IpamHostListParams) SetFields(fields *string)
SetFields adds the fields to the ipam host list params
func (*IpamHostListParams) SetFilter ¶
func (o *IpamHostListParams) SetFilter(filter *string)
SetFilter adds the filter to the ipam host list params
func (*IpamHostListParams) SetHTTPClient ¶
func (o *IpamHostListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ipam host list params
func (*IpamHostListParams) SetLimit ¶
func (o *IpamHostListParams) SetLimit(limit *int64)
SetLimit adds the limit to the ipam host list params
func (*IpamHostListParams) SetOffset ¶
func (o *IpamHostListParams) SetOffset(offset *int64)
SetOffset adds the offset to the ipam host list params
func (*IpamHostListParams) SetOrderBy ¶
func (o *IpamHostListParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the ipam host list params
func (*IpamHostListParams) SetPageToken ¶
func (o *IpamHostListParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the ipam host list params
func (*IpamHostListParams) SetTfilter ¶
func (o *IpamHostListParams) SetTfilter(tfilter *string)
SetTfilter adds the tfilter to the ipam host list params
func (*IpamHostListParams) SetTimeout ¶
func (o *IpamHostListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ipam host list params
func (*IpamHostListParams) SetTorderBy ¶
func (o *IpamHostListParams) SetTorderBy(torderBy *string)
SetTorderBy adds the torderBy to the ipam host list params
func (*IpamHostListParams) WithContext ¶
func (o *IpamHostListParams) WithContext(ctx context.Context) *IpamHostListParams
WithContext adds the context to the ipam host list params
func (*IpamHostListParams) WithDefaults ¶
func (o *IpamHostListParams) WithDefaults() *IpamHostListParams
WithDefaults hydrates default values in the ipam host list params (not the query body).
All values with no default are reset to their zero value.
func (*IpamHostListParams) WithFields ¶
func (o *IpamHostListParams) WithFields(fields *string) *IpamHostListParams
WithFields adds the fields to the ipam host list params
func (*IpamHostListParams) WithFilter ¶
func (o *IpamHostListParams) WithFilter(filter *string) *IpamHostListParams
WithFilter adds the filter to the ipam host list params
func (*IpamHostListParams) WithHTTPClient ¶
func (o *IpamHostListParams) WithHTTPClient(client *http.Client) *IpamHostListParams
WithHTTPClient adds the HTTPClient to the ipam host list params
func (*IpamHostListParams) WithLimit ¶
func (o *IpamHostListParams) WithLimit(limit *int64) *IpamHostListParams
WithLimit adds the limit to the ipam host list params
func (*IpamHostListParams) WithOffset ¶
func (o *IpamHostListParams) WithOffset(offset *int64) *IpamHostListParams
WithOffset adds the offset to the ipam host list params
func (*IpamHostListParams) WithOrderBy ¶
func (o *IpamHostListParams) WithOrderBy(orderBy *string) *IpamHostListParams
WithOrderBy adds the orderBy to the ipam host list params
func (*IpamHostListParams) WithPageToken ¶
func (o *IpamHostListParams) WithPageToken(pageToken *string) *IpamHostListParams
WithPageToken adds the pageToken to the ipam host list params
func (*IpamHostListParams) WithTfilter ¶
func (o *IpamHostListParams) WithTfilter(tfilter *string) *IpamHostListParams
WithTfilter adds the tfilter to the ipam host list params
func (*IpamHostListParams) WithTimeout ¶
func (o *IpamHostListParams) WithTimeout(timeout time.Duration) *IpamHostListParams
WithTimeout adds the timeout to the ipam host list params
func (*IpamHostListParams) WithTorderBy ¶
func (o *IpamHostListParams) WithTorderBy(torderBy *string) *IpamHostListParams
WithTorderBy adds the torderBy to the ipam host list params
func (*IpamHostListParams) WriteToRequest ¶
func (o *IpamHostListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IpamHostListReader ¶
type IpamHostListReader struct {
// contains filtered or unexported fields
}
IpamHostListReader is a Reader for the IpamHostList structure.
func (*IpamHostListReader) ReadResponse ¶
func (o *IpamHostListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IpamHostReadOK ¶
type IpamHostReadOK struct {
Payload *models.IpamsvcReadIpamHostResponse
}
IpamHostReadOK describes a response with status code 200, with default header values.
GET operation response
func NewIpamHostReadOK ¶
func NewIpamHostReadOK() *IpamHostReadOK
NewIpamHostReadOK creates a IpamHostReadOK with default headers values
func (*IpamHostReadOK) Error ¶
func (o *IpamHostReadOK) Error() string
func (*IpamHostReadOK) GetPayload ¶
func (o *IpamHostReadOK) GetPayload() *models.IpamsvcReadIpamHostResponse
type IpamHostReadParams ¶
type IpamHostReadParams 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 /* 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 /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IpamHostReadParams contains all the parameters to send to the API endpoint
for the ipam host read operation. Typically these are written to a http.Request.
func NewIpamHostReadParams ¶
func NewIpamHostReadParams() *IpamHostReadParams
NewIpamHostReadParams creates a new IpamHostReadParams 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 NewIpamHostReadParamsWithContext ¶
func NewIpamHostReadParamsWithContext(ctx context.Context) *IpamHostReadParams
NewIpamHostReadParamsWithContext creates a new IpamHostReadParams object with the ability to set a context for a request.
func NewIpamHostReadParamsWithHTTPClient ¶
func NewIpamHostReadParamsWithHTTPClient(client *http.Client) *IpamHostReadParams
NewIpamHostReadParamsWithHTTPClient creates a new IpamHostReadParams object with the ability to set a custom HTTPClient for a request.
func NewIpamHostReadParamsWithTimeout ¶
func NewIpamHostReadParamsWithTimeout(timeout time.Duration) *IpamHostReadParams
NewIpamHostReadParamsWithTimeout creates a new IpamHostReadParams object with the ability to set a timeout on a request.
func (*IpamHostReadParams) SetContext ¶
func (o *IpamHostReadParams) SetContext(ctx context.Context)
SetContext adds the context to the ipam host read params
func (*IpamHostReadParams) SetDefaults ¶
func (o *IpamHostReadParams) SetDefaults()
SetDefaults hydrates default values in the ipam host read params (not the query body).
All values with no default are reset to their zero value.
func (*IpamHostReadParams) SetFields ¶
func (o *IpamHostReadParams) SetFields(fields *string)
SetFields adds the fields to the ipam host read params
func (*IpamHostReadParams) SetHTTPClient ¶
func (o *IpamHostReadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ipam host read params
func (*IpamHostReadParams) SetID ¶
func (o *IpamHostReadParams) SetID(id string)
SetID adds the id to the ipam host read params
func (*IpamHostReadParams) SetOrderBy ¶
func (o *IpamHostReadParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the ipam host read params
func (*IpamHostReadParams) SetTimeout ¶
func (o *IpamHostReadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ipam host read params
func (*IpamHostReadParams) WithContext ¶
func (o *IpamHostReadParams) WithContext(ctx context.Context) *IpamHostReadParams
WithContext adds the context to the ipam host read params
func (*IpamHostReadParams) WithDefaults ¶
func (o *IpamHostReadParams) WithDefaults() *IpamHostReadParams
WithDefaults hydrates default values in the ipam host read params (not the query body).
All values with no default are reset to their zero value.
func (*IpamHostReadParams) WithFields ¶
func (o *IpamHostReadParams) WithFields(fields *string) *IpamHostReadParams
WithFields adds the fields to the ipam host read params
func (*IpamHostReadParams) WithHTTPClient ¶
func (o *IpamHostReadParams) WithHTTPClient(client *http.Client) *IpamHostReadParams
WithHTTPClient adds the HTTPClient to the ipam host read params
func (*IpamHostReadParams) WithID ¶
func (o *IpamHostReadParams) WithID(id string) *IpamHostReadParams
WithID adds the id to the ipam host read params
func (*IpamHostReadParams) WithOrderBy ¶
func (o *IpamHostReadParams) WithOrderBy(orderBy *string) *IpamHostReadParams
WithOrderBy adds the orderBy to the ipam host read params
func (*IpamHostReadParams) WithTimeout ¶
func (o *IpamHostReadParams) WithTimeout(timeout time.Duration) *IpamHostReadParams
WithTimeout adds the timeout to the ipam host read params
func (*IpamHostReadParams) WriteToRequest ¶
func (o *IpamHostReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IpamHostReadReader ¶
type IpamHostReadReader struct {
// contains filtered or unexported fields
}
IpamHostReadReader is a Reader for the IpamHostRead structure.
func (*IpamHostReadReader) ReadResponse ¶
func (o *IpamHostReadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IpamHostUpdateCreated ¶
type IpamHostUpdateCreated struct {
Payload *models.IpamsvcUpdateIpamHostResponse
}
IpamHostUpdateCreated describes a response with status code 201, with default header values.
PATCH operation response
func NewIpamHostUpdateCreated ¶
func NewIpamHostUpdateCreated() *IpamHostUpdateCreated
NewIpamHostUpdateCreated creates a IpamHostUpdateCreated with default headers values
func (*IpamHostUpdateCreated) Error ¶
func (o *IpamHostUpdateCreated) Error() string
func (*IpamHostUpdateCreated) GetPayload ¶
func (o *IpamHostUpdateCreated) GetPayload() *models.IpamsvcUpdateIpamHostResponse
type IpamHostUpdateParams ¶
type IpamHostUpdateParams struct { // Body. Body *models.IpamsvcIpamHost /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IpamHostUpdateParams contains all the parameters to send to the API endpoint
for the ipam host update operation. Typically these are written to a http.Request.
func NewIpamHostUpdateParams ¶
func NewIpamHostUpdateParams() *IpamHostUpdateParams
NewIpamHostUpdateParams creates a new IpamHostUpdateParams 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 NewIpamHostUpdateParamsWithContext ¶
func NewIpamHostUpdateParamsWithContext(ctx context.Context) *IpamHostUpdateParams
NewIpamHostUpdateParamsWithContext creates a new IpamHostUpdateParams object with the ability to set a context for a request.
func NewIpamHostUpdateParamsWithHTTPClient ¶
func NewIpamHostUpdateParamsWithHTTPClient(client *http.Client) *IpamHostUpdateParams
NewIpamHostUpdateParamsWithHTTPClient creates a new IpamHostUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewIpamHostUpdateParamsWithTimeout ¶
func NewIpamHostUpdateParamsWithTimeout(timeout time.Duration) *IpamHostUpdateParams
NewIpamHostUpdateParamsWithTimeout creates a new IpamHostUpdateParams object with the ability to set a timeout on a request.
func (*IpamHostUpdateParams) SetBody ¶
func (o *IpamHostUpdateParams) SetBody(body *models.IpamsvcIpamHost)
SetBody adds the body to the ipam host update params
func (*IpamHostUpdateParams) SetContext ¶
func (o *IpamHostUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the ipam host update params
func (*IpamHostUpdateParams) SetDefaults ¶
func (o *IpamHostUpdateParams) SetDefaults()
SetDefaults hydrates default values in the ipam host update params (not the query body).
All values with no default are reset to their zero value.
func (*IpamHostUpdateParams) SetHTTPClient ¶
func (o *IpamHostUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ipam host update params
func (*IpamHostUpdateParams) SetID ¶
func (o *IpamHostUpdateParams) SetID(id string)
SetID adds the id to the ipam host update params
func (*IpamHostUpdateParams) SetTimeout ¶
func (o *IpamHostUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ipam host update params
func (*IpamHostUpdateParams) WithBody ¶
func (o *IpamHostUpdateParams) WithBody(body *models.IpamsvcIpamHost) *IpamHostUpdateParams
WithBody adds the body to the ipam host update params
func (*IpamHostUpdateParams) WithContext ¶
func (o *IpamHostUpdateParams) WithContext(ctx context.Context) *IpamHostUpdateParams
WithContext adds the context to the ipam host update params
func (*IpamHostUpdateParams) WithDefaults ¶
func (o *IpamHostUpdateParams) WithDefaults() *IpamHostUpdateParams
WithDefaults hydrates default values in the ipam host update params (not the query body).
All values with no default are reset to their zero value.
func (*IpamHostUpdateParams) WithHTTPClient ¶
func (o *IpamHostUpdateParams) WithHTTPClient(client *http.Client) *IpamHostUpdateParams
WithHTTPClient adds the HTTPClient to the ipam host update params
func (*IpamHostUpdateParams) WithID ¶
func (o *IpamHostUpdateParams) WithID(id string) *IpamHostUpdateParams
WithID adds the id to the ipam host update params
func (*IpamHostUpdateParams) WithTimeout ¶
func (o *IpamHostUpdateParams) WithTimeout(timeout time.Duration) *IpamHostUpdateParams
WithTimeout adds the timeout to the ipam host update params
func (*IpamHostUpdateParams) WriteToRequest ¶
func (o *IpamHostUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IpamHostUpdateReader ¶
type IpamHostUpdateReader struct {
// contains filtered or unexported fields
}
IpamHostUpdateReader is a Reader for the IpamHostUpdate structure.
func (*IpamHostUpdateReader) ReadResponse ¶
func (o *IpamHostUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- ipam_host_client.go
- ipam_host_create_parameters.go
- ipam_host_create_responses.go
- ipam_host_delete_parameters.go
- ipam_host_delete_responses.go
- ipam_host_list_parameters.go
- ipam_host_list_responses.go
- ipam_host_read_parameters.go
- ipam_host_read_responses.go
- ipam_host_update_parameters.go
- ipam_host_update_responses.go