nutanix

package
v2.20.16 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for nutanix API

func (*Client) ListNutanixClusters

func (a *Client) ListNutanixClusters(params *ListNutanixClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNutanixClustersOK, error)

ListNutanixClusters List clusters from Nutanix

func (*Client) ListNutanixProjects

func (a *Client) ListNutanixProjects(params *ListNutanixProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNutanixProjectsOK, error)

ListNutanixProjects List projects from Nutanix

func (*Client) ListNutanixSubnets

func (a *Client) ListNutanixSubnets(params *ListNutanixSubnetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNutanixSubnetsOK, error)

ListNutanixSubnets List subnets from Nutanix

func (*Client) ListNutanixSubnetsNoCredentials

func (a *Client) ListNutanixSubnetsNoCredentials(params *ListNutanixSubnetsNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNutanixSubnetsNoCredentialsOK, error)

ListNutanixSubnetsNoCredentials Lists available Nutanix Subnets

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 {
	ListNutanixClusters(params *ListNutanixClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNutanixClustersOK, error)

	ListNutanixProjects(params *ListNutanixProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNutanixProjectsOK, error)

	ListNutanixSubnets(params *ListNutanixSubnetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNutanixSubnetsOK, error)

	ListNutanixSubnetsNoCredentials(params *ListNutanixSubnetsNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNutanixSubnetsNoCredentialsOK, 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 nutanix API client.

type ListNutanixClustersDefault

type ListNutanixClustersDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListNutanixClustersDefault describes a response with status code -1, with default header values.

errorResponse

func NewListNutanixClustersDefault

func NewListNutanixClustersDefault(code int) *ListNutanixClustersDefault

NewListNutanixClustersDefault creates a ListNutanixClustersDefault with default headers values

func (*ListNutanixClustersDefault) Code

func (o *ListNutanixClustersDefault) Code() int

Code gets the status code for the list nutanix clusters default response

func (*ListNutanixClustersDefault) Error

func (*ListNutanixClustersDefault) GetPayload

type ListNutanixClustersOK

type ListNutanixClustersOK struct {
	Payload models.NutanixClusterList
}
ListNutanixClustersOK describes a response with status code 200, with default header values.

NutanixClusterList

func NewListNutanixClustersOK

func NewListNutanixClustersOK() *ListNutanixClustersOK

NewListNutanixClustersOK creates a ListNutanixClustersOK with default headers values

func (*ListNutanixClustersOK) Error

func (o *ListNutanixClustersOK) Error() string

func (*ListNutanixClustersOK) GetPayload

type ListNutanixClustersParams

type ListNutanixClustersParams struct {

	// Credential.
	Credential *string

	// NutanixPassword.
	NutanixPassword *string

	// NutanixProxyURL.
	NutanixProxyURL *string

	// NutanixUsername.
	NutanixUsername *string

	/* Dc.

	   KKP Datacenter to use for endpoint
	*/
	DC string

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

ListNutanixClustersParams contains all the parameters to send to the API endpoint

for the list nutanix clusters operation.

Typically these are written to a http.Request.

func NewListNutanixClustersParams

func NewListNutanixClustersParams() *ListNutanixClustersParams

NewListNutanixClustersParams creates a new ListNutanixClustersParams 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 NewListNutanixClustersParamsWithContext

func NewListNutanixClustersParamsWithContext(ctx context.Context) *ListNutanixClustersParams

NewListNutanixClustersParamsWithContext creates a new ListNutanixClustersParams object with the ability to set a context for a request.

func NewListNutanixClustersParamsWithHTTPClient

func NewListNutanixClustersParamsWithHTTPClient(client *http.Client) *ListNutanixClustersParams

NewListNutanixClustersParamsWithHTTPClient creates a new ListNutanixClustersParams object with the ability to set a custom HTTPClient for a request.

func NewListNutanixClustersParamsWithTimeout

func NewListNutanixClustersParamsWithTimeout(timeout time.Duration) *ListNutanixClustersParams

NewListNutanixClustersParamsWithTimeout creates a new ListNutanixClustersParams object with the ability to set a timeout on a request.

func (*ListNutanixClustersParams) SetContext

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

SetContext adds the context to the list nutanix clusters params

func (*ListNutanixClustersParams) SetCredential

func (o *ListNutanixClustersParams) SetCredential(credential *string)

SetCredential adds the credential to the list nutanix clusters params

func (*ListNutanixClustersParams) SetDC

func (o *ListNutanixClustersParams) SetDC(dc string)

SetDC adds the dc to the list nutanix clusters params

func (*ListNutanixClustersParams) SetDefaults

func (o *ListNutanixClustersParams) SetDefaults()

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

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

func (*ListNutanixClustersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list nutanix clusters params

func (*ListNutanixClustersParams) SetNutanixPassword

func (o *ListNutanixClustersParams) SetNutanixPassword(nutanixPassword *string)

SetNutanixPassword adds the nutanixPassword to the list nutanix clusters params

func (*ListNutanixClustersParams) SetNutanixProxyURL

func (o *ListNutanixClustersParams) SetNutanixProxyURL(nutanixProxyURL *string)

SetNutanixProxyURL adds the nutanixProxyUrl to the list nutanix clusters params

func (*ListNutanixClustersParams) SetNutanixUsername

func (o *ListNutanixClustersParams) SetNutanixUsername(nutanixUsername *string)

SetNutanixUsername adds the nutanixUsername to the list nutanix clusters params

func (*ListNutanixClustersParams) SetTimeout

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

SetTimeout adds the timeout to the list nutanix clusters params

func (*ListNutanixClustersParams) WithContext

WithContext adds the context to the list nutanix clusters params

func (*ListNutanixClustersParams) WithCredential

func (o *ListNutanixClustersParams) WithCredential(credential *string) *ListNutanixClustersParams

WithCredential adds the credential to the list nutanix clusters params

func (*ListNutanixClustersParams) WithDC

WithDC adds the dc to the list nutanix clusters params

func (*ListNutanixClustersParams) WithDefaults

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

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

func (*ListNutanixClustersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list nutanix clusters params

func (*ListNutanixClustersParams) WithNutanixPassword

func (o *ListNutanixClustersParams) WithNutanixPassword(nutanixPassword *string) *ListNutanixClustersParams

WithNutanixPassword adds the nutanixPassword to the list nutanix clusters params

func (*ListNutanixClustersParams) WithNutanixProxyURL

func (o *ListNutanixClustersParams) WithNutanixProxyURL(nutanixProxyURL *string) *ListNutanixClustersParams

WithNutanixProxyURL adds the nutanixProxyURL to the list nutanix clusters params

func (*ListNutanixClustersParams) WithNutanixUsername

func (o *ListNutanixClustersParams) WithNutanixUsername(nutanixUsername *string) *ListNutanixClustersParams

WithNutanixUsername adds the nutanixUsername to the list nutanix clusters params

func (*ListNutanixClustersParams) WithTimeout

WithTimeout adds the timeout to the list nutanix clusters params

func (*ListNutanixClustersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListNutanixClustersReader

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

ListNutanixClustersReader is a Reader for the ListNutanixClusters structure.

func (*ListNutanixClustersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListNutanixProjectsDefault

type ListNutanixProjectsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListNutanixProjectsDefault describes a response with status code -1, with default header values.

errorResponse

func NewListNutanixProjectsDefault

func NewListNutanixProjectsDefault(code int) *ListNutanixProjectsDefault

NewListNutanixProjectsDefault creates a ListNutanixProjectsDefault with default headers values

func (*ListNutanixProjectsDefault) Code

func (o *ListNutanixProjectsDefault) Code() int

Code gets the status code for the list nutanix projects default response

func (*ListNutanixProjectsDefault) Error

func (*ListNutanixProjectsDefault) GetPayload

type ListNutanixProjectsOK

type ListNutanixProjectsOK struct {
	Payload models.NutanixProjectList
}
ListNutanixProjectsOK describes a response with status code 200, with default header values.

NutanixProjectList

func NewListNutanixProjectsOK

func NewListNutanixProjectsOK() *ListNutanixProjectsOK

NewListNutanixProjectsOK creates a ListNutanixProjectsOK with default headers values

func (*ListNutanixProjectsOK) Error

func (o *ListNutanixProjectsOK) Error() string

func (*ListNutanixProjectsOK) GetPayload

type ListNutanixProjectsParams

type ListNutanixProjectsParams struct {

	// Credential.
	Credential *string

	// NutanixPassword.
	NutanixPassword *string

	// NutanixProxyURL.
	NutanixProxyURL *string

	// NutanixUsername.
	NutanixUsername *string

	/* Dc.

	   KKP Datacenter to use for endpoint
	*/
	DC string

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

ListNutanixProjectsParams contains all the parameters to send to the API endpoint

for the list nutanix projects operation.

Typically these are written to a http.Request.

func NewListNutanixProjectsParams

func NewListNutanixProjectsParams() *ListNutanixProjectsParams

NewListNutanixProjectsParams creates a new ListNutanixProjectsParams 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 NewListNutanixProjectsParamsWithContext

func NewListNutanixProjectsParamsWithContext(ctx context.Context) *ListNutanixProjectsParams

NewListNutanixProjectsParamsWithContext creates a new ListNutanixProjectsParams object with the ability to set a context for a request.

func NewListNutanixProjectsParamsWithHTTPClient

func NewListNutanixProjectsParamsWithHTTPClient(client *http.Client) *ListNutanixProjectsParams

NewListNutanixProjectsParamsWithHTTPClient creates a new ListNutanixProjectsParams object with the ability to set a custom HTTPClient for a request.

func NewListNutanixProjectsParamsWithTimeout

func NewListNutanixProjectsParamsWithTimeout(timeout time.Duration) *ListNutanixProjectsParams

NewListNutanixProjectsParamsWithTimeout creates a new ListNutanixProjectsParams object with the ability to set a timeout on a request.

func (*ListNutanixProjectsParams) SetContext

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

SetContext adds the context to the list nutanix projects params

func (*ListNutanixProjectsParams) SetCredential

func (o *ListNutanixProjectsParams) SetCredential(credential *string)

SetCredential adds the credential to the list nutanix projects params

func (*ListNutanixProjectsParams) SetDC

func (o *ListNutanixProjectsParams) SetDC(dc string)

SetDC adds the dc to the list nutanix projects params

func (*ListNutanixProjectsParams) SetDefaults

func (o *ListNutanixProjectsParams) SetDefaults()

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

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

func (*ListNutanixProjectsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list nutanix projects params

func (*ListNutanixProjectsParams) SetNutanixPassword

func (o *ListNutanixProjectsParams) SetNutanixPassword(nutanixPassword *string)

SetNutanixPassword adds the nutanixPassword to the list nutanix projects params

func (*ListNutanixProjectsParams) SetNutanixProxyURL

func (o *ListNutanixProjectsParams) SetNutanixProxyURL(nutanixProxyURL *string)

SetNutanixProxyURL adds the nutanixProxyUrl to the list nutanix projects params

func (*ListNutanixProjectsParams) SetNutanixUsername

func (o *ListNutanixProjectsParams) SetNutanixUsername(nutanixUsername *string)

SetNutanixUsername adds the nutanixUsername to the list nutanix projects params

func (*ListNutanixProjectsParams) SetTimeout

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

SetTimeout adds the timeout to the list nutanix projects params

func (*ListNutanixProjectsParams) WithContext

WithContext adds the context to the list nutanix projects params

func (*ListNutanixProjectsParams) WithCredential

func (o *ListNutanixProjectsParams) WithCredential(credential *string) *ListNutanixProjectsParams

WithCredential adds the credential to the list nutanix projects params

func (*ListNutanixProjectsParams) WithDC

WithDC adds the dc to the list nutanix projects params

func (*ListNutanixProjectsParams) WithDefaults

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

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

func (*ListNutanixProjectsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list nutanix projects params

func (*ListNutanixProjectsParams) WithNutanixPassword

func (o *ListNutanixProjectsParams) WithNutanixPassword(nutanixPassword *string) *ListNutanixProjectsParams

WithNutanixPassword adds the nutanixPassword to the list nutanix projects params

func (*ListNutanixProjectsParams) WithNutanixProxyURL

func (o *ListNutanixProjectsParams) WithNutanixProxyURL(nutanixProxyURL *string) *ListNutanixProjectsParams

WithNutanixProxyURL adds the nutanixProxyURL to the list nutanix projects params

func (*ListNutanixProjectsParams) WithNutanixUsername

func (o *ListNutanixProjectsParams) WithNutanixUsername(nutanixUsername *string) *ListNutanixProjectsParams

WithNutanixUsername adds the nutanixUsername to the list nutanix projects params

func (*ListNutanixProjectsParams) WithTimeout

WithTimeout adds the timeout to the list nutanix projects params

func (*ListNutanixProjectsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListNutanixProjectsReader

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

ListNutanixProjectsReader is a Reader for the ListNutanixProjects structure.

func (*ListNutanixProjectsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListNutanixSubnetsDefault

type ListNutanixSubnetsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListNutanixSubnetsDefault describes a response with status code -1, with default header values.

errorResponse

func NewListNutanixSubnetsDefault

func NewListNutanixSubnetsDefault(code int) *ListNutanixSubnetsDefault

NewListNutanixSubnetsDefault creates a ListNutanixSubnetsDefault with default headers values

func (*ListNutanixSubnetsDefault) Code

func (o *ListNutanixSubnetsDefault) Code() int

Code gets the status code for the list nutanix subnets default response

func (*ListNutanixSubnetsDefault) Error

func (o *ListNutanixSubnetsDefault) Error() string

func (*ListNutanixSubnetsDefault) GetPayload

type ListNutanixSubnetsNoCredentialsDefault

type ListNutanixSubnetsNoCredentialsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListNutanixSubnetsNoCredentialsDefault describes a response with status code -1, with default header values.

errorResponse

func NewListNutanixSubnetsNoCredentialsDefault

func NewListNutanixSubnetsNoCredentialsDefault(code int) *ListNutanixSubnetsNoCredentialsDefault

NewListNutanixSubnetsNoCredentialsDefault creates a ListNutanixSubnetsNoCredentialsDefault with default headers values

func (*ListNutanixSubnetsNoCredentialsDefault) Code

Code gets the status code for the list nutanix subnets no credentials default response

func (*ListNutanixSubnetsNoCredentialsDefault) Error

func (*ListNutanixSubnetsNoCredentialsDefault) GetPayload

type ListNutanixSubnetsNoCredentialsOK

type ListNutanixSubnetsNoCredentialsOK struct {
	Payload models.NutanixSubnetList
}
ListNutanixSubnetsNoCredentialsOK describes a response with status code 200, with default header values.

NutanixSubnetList

func NewListNutanixSubnetsNoCredentialsOK

func NewListNutanixSubnetsNoCredentialsOK() *ListNutanixSubnetsNoCredentialsOK

NewListNutanixSubnetsNoCredentialsOK creates a ListNutanixSubnetsNoCredentialsOK with default headers values

func (*ListNutanixSubnetsNoCredentialsOK) Error

func (*ListNutanixSubnetsNoCredentialsOK) GetPayload

type ListNutanixSubnetsNoCredentialsParams

type ListNutanixSubnetsNoCredentialsParams struct {

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

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

ListNutanixSubnetsNoCredentialsParams contains all the parameters to send to the API endpoint

for the list nutanix subnets no credentials operation.

Typically these are written to a http.Request.

func NewListNutanixSubnetsNoCredentialsParams

func NewListNutanixSubnetsNoCredentialsParams() *ListNutanixSubnetsNoCredentialsParams

NewListNutanixSubnetsNoCredentialsParams creates a new ListNutanixSubnetsNoCredentialsParams 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 NewListNutanixSubnetsNoCredentialsParamsWithContext

func NewListNutanixSubnetsNoCredentialsParamsWithContext(ctx context.Context) *ListNutanixSubnetsNoCredentialsParams

NewListNutanixSubnetsNoCredentialsParamsWithContext creates a new ListNutanixSubnetsNoCredentialsParams object with the ability to set a context for a request.

func NewListNutanixSubnetsNoCredentialsParamsWithHTTPClient

func NewListNutanixSubnetsNoCredentialsParamsWithHTTPClient(client *http.Client) *ListNutanixSubnetsNoCredentialsParams

NewListNutanixSubnetsNoCredentialsParamsWithHTTPClient creates a new ListNutanixSubnetsNoCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewListNutanixSubnetsNoCredentialsParamsWithTimeout

func NewListNutanixSubnetsNoCredentialsParamsWithTimeout(timeout time.Duration) *ListNutanixSubnetsNoCredentialsParams

NewListNutanixSubnetsNoCredentialsParamsWithTimeout creates a new ListNutanixSubnetsNoCredentialsParams object with the ability to set a timeout on a request.

func (*ListNutanixSubnetsNoCredentialsParams) SetClusterID

func (o *ListNutanixSubnetsNoCredentialsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list nutanix subnets no credentials params

func (*ListNutanixSubnetsNoCredentialsParams) SetContext

SetContext adds the context to the list nutanix subnets no credentials params

func (*ListNutanixSubnetsNoCredentialsParams) SetDefaults

func (o *ListNutanixSubnetsNoCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the list nutanix subnets no credentials params (not the query body).

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

func (*ListNutanixSubnetsNoCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list nutanix subnets no credentials params

func (*ListNutanixSubnetsNoCredentialsParams) SetProjectID

func (o *ListNutanixSubnetsNoCredentialsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list nutanix subnets no credentials params

func (*ListNutanixSubnetsNoCredentialsParams) SetTimeout

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

SetTimeout adds the timeout to the list nutanix subnets no credentials params

func (*ListNutanixSubnetsNoCredentialsParams) WithClusterID

WithClusterID adds the clusterID to the list nutanix subnets no credentials params

func (*ListNutanixSubnetsNoCredentialsParams) WithContext

WithContext adds the context to the list nutanix subnets no credentials params

func (*ListNutanixSubnetsNoCredentialsParams) WithDefaults

WithDefaults hydrates default values in the list nutanix subnets no credentials params (not the query body).

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

func (*ListNutanixSubnetsNoCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list nutanix subnets no credentials params

func (*ListNutanixSubnetsNoCredentialsParams) WithProjectID

WithProjectID adds the projectID to the list nutanix subnets no credentials params

func (*ListNutanixSubnetsNoCredentialsParams) WithTimeout

WithTimeout adds the timeout to the list nutanix subnets no credentials params

func (*ListNutanixSubnetsNoCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListNutanixSubnetsNoCredentialsReader

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

ListNutanixSubnetsNoCredentialsReader is a Reader for the ListNutanixSubnetsNoCredentials structure.

func (*ListNutanixSubnetsNoCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListNutanixSubnetsOK

type ListNutanixSubnetsOK struct {
	Payload models.NutanixSubnetList
}
ListNutanixSubnetsOK describes a response with status code 200, with default header values.

NutanixSubnetList

func NewListNutanixSubnetsOK

func NewListNutanixSubnetsOK() *ListNutanixSubnetsOK

NewListNutanixSubnetsOK creates a ListNutanixSubnetsOK with default headers values

func (*ListNutanixSubnetsOK) Error

func (o *ListNutanixSubnetsOK) Error() string

func (*ListNutanixSubnetsOK) GetPayload

type ListNutanixSubnetsParams

type ListNutanixSubnetsParams struct {

	// Credential.
	Credential *string

	// NutanixCluster.
	NutanixCluster string

	// NutanixPassword.
	NutanixPassword *string

	/* NutanixProject.

	   Project query parameter. Can be omitted to query subnets without project scope
	*/
	NutanixProject *string

	// NutanixProxyURL.
	NutanixProxyURL *string

	// NutanixUsername.
	NutanixUsername *string

	/* Dc.

	   KKP Datacenter to use for endpoint
	*/
	DC string

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

ListNutanixSubnetsParams contains all the parameters to send to the API endpoint

for the list nutanix subnets operation.

Typically these are written to a http.Request.

func NewListNutanixSubnetsParams

func NewListNutanixSubnetsParams() *ListNutanixSubnetsParams

NewListNutanixSubnetsParams creates a new ListNutanixSubnetsParams 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 NewListNutanixSubnetsParamsWithContext

func NewListNutanixSubnetsParamsWithContext(ctx context.Context) *ListNutanixSubnetsParams

NewListNutanixSubnetsParamsWithContext creates a new ListNutanixSubnetsParams object with the ability to set a context for a request.

func NewListNutanixSubnetsParamsWithHTTPClient

func NewListNutanixSubnetsParamsWithHTTPClient(client *http.Client) *ListNutanixSubnetsParams

NewListNutanixSubnetsParamsWithHTTPClient creates a new ListNutanixSubnetsParams object with the ability to set a custom HTTPClient for a request.

func NewListNutanixSubnetsParamsWithTimeout

func NewListNutanixSubnetsParamsWithTimeout(timeout time.Duration) *ListNutanixSubnetsParams

NewListNutanixSubnetsParamsWithTimeout creates a new ListNutanixSubnetsParams object with the ability to set a timeout on a request.

func (*ListNutanixSubnetsParams) SetContext

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

SetContext adds the context to the list nutanix subnets params

func (*ListNutanixSubnetsParams) SetCredential

func (o *ListNutanixSubnetsParams) SetCredential(credential *string)

SetCredential adds the credential to the list nutanix subnets params

func (*ListNutanixSubnetsParams) SetDC

func (o *ListNutanixSubnetsParams) SetDC(dc string)

SetDC adds the dc to the list nutanix subnets params

func (*ListNutanixSubnetsParams) SetDefaults

func (o *ListNutanixSubnetsParams) SetDefaults()

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

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

func (*ListNutanixSubnetsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list nutanix subnets params

func (*ListNutanixSubnetsParams) SetNutanixCluster

func (o *ListNutanixSubnetsParams) SetNutanixCluster(nutanixCluster string)

SetNutanixCluster adds the nutanixCluster to the list nutanix subnets params

func (*ListNutanixSubnetsParams) SetNutanixPassword

func (o *ListNutanixSubnetsParams) SetNutanixPassword(nutanixPassword *string)

SetNutanixPassword adds the nutanixPassword to the list nutanix subnets params

func (*ListNutanixSubnetsParams) SetNutanixProject

func (o *ListNutanixSubnetsParams) SetNutanixProject(nutanixProject *string)

SetNutanixProject adds the nutanixProject to the list nutanix subnets params

func (*ListNutanixSubnetsParams) SetNutanixProxyURL

func (o *ListNutanixSubnetsParams) SetNutanixProxyURL(nutanixProxyURL *string)

SetNutanixProxyURL adds the nutanixProxyUrl to the list nutanix subnets params

func (*ListNutanixSubnetsParams) SetNutanixUsername

func (o *ListNutanixSubnetsParams) SetNutanixUsername(nutanixUsername *string)

SetNutanixUsername adds the nutanixUsername to the list nutanix subnets params

func (*ListNutanixSubnetsParams) SetTimeout

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

SetTimeout adds the timeout to the list nutanix subnets params

func (*ListNutanixSubnetsParams) WithContext

WithContext adds the context to the list nutanix subnets params

func (*ListNutanixSubnetsParams) WithCredential

func (o *ListNutanixSubnetsParams) WithCredential(credential *string) *ListNutanixSubnetsParams

WithCredential adds the credential to the list nutanix subnets params

func (*ListNutanixSubnetsParams) WithDC

WithDC adds the dc to the list nutanix subnets params

func (*ListNutanixSubnetsParams) WithDefaults

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

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

func (*ListNutanixSubnetsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list nutanix subnets params

func (*ListNutanixSubnetsParams) WithNutanixCluster

func (o *ListNutanixSubnetsParams) WithNutanixCluster(nutanixCluster string) *ListNutanixSubnetsParams

WithNutanixCluster adds the nutanixCluster to the list nutanix subnets params

func (*ListNutanixSubnetsParams) WithNutanixPassword

func (o *ListNutanixSubnetsParams) WithNutanixPassword(nutanixPassword *string) *ListNutanixSubnetsParams

WithNutanixPassword adds the nutanixPassword to the list nutanix subnets params

func (*ListNutanixSubnetsParams) WithNutanixProject

func (o *ListNutanixSubnetsParams) WithNutanixProject(nutanixProject *string) *ListNutanixSubnetsParams

WithNutanixProject adds the nutanixProject to the list nutanix subnets params

func (*ListNutanixSubnetsParams) WithNutanixProxyURL

func (o *ListNutanixSubnetsParams) WithNutanixProxyURL(nutanixProxyURL *string) *ListNutanixSubnetsParams

WithNutanixProxyURL adds the nutanixProxyURL to the list nutanix subnets params

func (*ListNutanixSubnetsParams) WithNutanixUsername

func (o *ListNutanixSubnetsParams) WithNutanixUsername(nutanixUsername *string) *ListNutanixSubnetsParams

WithNutanixUsername adds the nutanixUsername to the list nutanix subnets params

func (*ListNutanixSubnetsParams) WithTimeout

WithTimeout adds the timeout to the list nutanix subnets params

func (*ListNutanixSubnetsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListNutanixSubnetsReader

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

ListNutanixSubnetsReader is a Reader for the ListNutanixSubnets structure.

func (*ListNutanixSubnetsReader) ReadResponse

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