nutanix

package
v2.21.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 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) ListNutanixCategories added in v2.21.0

func (a *Client) ListNutanixCategories(params *ListNutanixCategoriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNutanixCategoriesOK, error)

ListNutanixCategories List category keys from Nutanix

func (*Client) ListNutanixCategoriesNoCredentials added in v2.21.0

func (a *Client) ListNutanixCategoriesNoCredentials(params *ListNutanixCategoriesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNutanixCategoriesNoCredentialsOK, error)

ListNutanixCategoriesNoCredentials Lists available Nutanix categories

func (*Client) ListNutanixCategoryValues added in v2.21.0

func (a *Client) ListNutanixCategoryValues(params *ListNutanixCategoryValuesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNutanixCategoryValuesOK, error)

ListNutanixCategoryValues List available category values for a specific category from Nutanix

func (*Client) ListNutanixCategoryValuesNoCredentials added in v2.21.0

ListNutanixCategoryValuesNoCredentials Lists available Nutanix category values for a specific category

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 {
	ListNutanixCategories(params *ListNutanixCategoriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNutanixCategoriesOK, error)

	ListNutanixCategoriesNoCredentials(params *ListNutanixCategoriesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNutanixCategoriesNoCredentialsOK, error)

	ListNutanixCategoryValues(params *ListNutanixCategoryValuesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNutanixCategoryValuesOK, error)

	ListNutanixCategoryValuesNoCredentials(params *ListNutanixCategoryValuesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNutanixCategoryValuesNoCredentialsOK, error)

	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 ListNutanixCategoriesDefault added in v2.21.0

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

errorResponse

func NewListNutanixCategoriesDefault added in v2.21.0

func NewListNutanixCategoriesDefault(code int) *ListNutanixCategoriesDefault

NewListNutanixCategoriesDefault creates a ListNutanixCategoriesDefault with default headers values

func (*ListNutanixCategoriesDefault) Code added in v2.21.0

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

func (*ListNutanixCategoriesDefault) Error added in v2.21.0

func (*ListNutanixCategoriesDefault) GetPayload added in v2.21.0

type ListNutanixCategoriesNoCredentialsDefault added in v2.21.0

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

errorResponse

func NewListNutanixCategoriesNoCredentialsDefault added in v2.21.0

func NewListNutanixCategoriesNoCredentialsDefault(code int) *ListNutanixCategoriesNoCredentialsDefault

NewListNutanixCategoriesNoCredentialsDefault creates a ListNutanixCategoriesNoCredentialsDefault with default headers values

func (*ListNutanixCategoriesNoCredentialsDefault) Code added in v2.21.0

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

func (*ListNutanixCategoriesNoCredentialsDefault) Error added in v2.21.0

func (*ListNutanixCategoriesNoCredentialsDefault) GetPayload added in v2.21.0

type ListNutanixCategoriesNoCredentialsOK added in v2.21.0

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

NutanixCategoryList

func NewListNutanixCategoriesNoCredentialsOK added in v2.21.0

func NewListNutanixCategoriesNoCredentialsOK() *ListNutanixCategoriesNoCredentialsOK

NewListNutanixCategoriesNoCredentialsOK creates a ListNutanixCategoriesNoCredentialsOK with default headers values

func (*ListNutanixCategoriesNoCredentialsOK) Error added in v2.21.0

func (*ListNutanixCategoriesNoCredentialsOK) GetPayload added in v2.21.0

type ListNutanixCategoriesNoCredentialsParams added in v2.21.0

type ListNutanixCategoriesNoCredentialsParams struct {

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

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

ListNutanixCategoriesNoCredentialsParams contains all the parameters to send to the API endpoint

for the list nutanix categories no credentials operation.

Typically these are written to a http.Request.

func NewListNutanixCategoriesNoCredentialsParams added in v2.21.0

func NewListNutanixCategoriesNoCredentialsParams() *ListNutanixCategoriesNoCredentialsParams

NewListNutanixCategoriesNoCredentialsParams creates a new ListNutanixCategoriesNoCredentialsParams 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 NewListNutanixCategoriesNoCredentialsParamsWithContext added in v2.21.0

func NewListNutanixCategoriesNoCredentialsParamsWithContext(ctx context.Context) *ListNutanixCategoriesNoCredentialsParams

NewListNutanixCategoriesNoCredentialsParamsWithContext creates a new ListNutanixCategoriesNoCredentialsParams object with the ability to set a context for a request.

func NewListNutanixCategoriesNoCredentialsParamsWithHTTPClient added in v2.21.0

func NewListNutanixCategoriesNoCredentialsParamsWithHTTPClient(client *http.Client) *ListNutanixCategoriesNoCredentialsParams

NewListNutanixCategoriesNoCredentialsParamsWithHTTPClient creates a new ListNutanixCategoriesNoCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewListNutanixCategoriesNoCredentialsParamsWithTimeout added in v2.21.0

func NewListNutanixCategoriesNoCredentialsParamsWithTimeout(timeout time.Duration) *ListNutanixCategoriesNoCredentialsParams

NewListNutanixCategoriesNoCredentialsParamsWithTimeout creates a new ListNutanixCategoriesNoCredentialsParams object with the ability to set a timeout on a request.

func (*ListNutanixCategoriesNoCredentialsParams) SetClusterID added in v2.21.0

func (o *ListNutanixCategoriesNoCredentialsParams) SetClusterID(clusterID string)

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

func (*ListNutanixCategoriesNoCredentialsParams) SetContext added in v2.21.0

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

func (*ListNutanixCategoriesNoCredentialsParams) SetDefaults added in v2.21.0

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

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

func (*ListNutanixCategoriesNoCredentialsParams) SetHTTPClient added in v2.21.0

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

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

func (*ListNutanixCategoriesNoCredentialsParams) SetProjectID added in v2.21.0

func (o *ListNutanixCategoriesNoCredentialsParams) SetProjectID(projectID string)

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

func (*ListNutanixCategoriesNoCredentialsParams) SetTimeout added in v2.21.0

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

func (*ListNutanixCategoriesNoCredentialsParams) WithClusterID added in v2.21.0

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

func (*ListNutanixCategoriesNoCredentialsParams) WithContext added in v2.21.0

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

func (*ListNutanixCategoriesNoCredentialsParams) WithDefaults added in v2.21.0

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

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

func (*ListNutanixCategoriesNoCredentialsParams) WithHTTPClient added in v2.21.0

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

func (*ListNutanixCategoriesNoCredentialsParams) WithProjectID added in v2.21.0

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

func (*ListNutanixCategoriesNoCredentialsParams) WithTimeout added in v2.21.0

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

func (*ListNutanixCategoriesNoCredentialsParams) WriteToRequest added in v2.21.0

WriteToRequest writes these params to a swagger request

type ListNutanixCategoriesNoCredentialsReader added in v2.21.0

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

ListNutanixCategoriesNoCredentialsReader is a Reader for the ListNutanixCategoriesNoCredentials structure.

func (*ListNutanixCategoriesNoCredentialsReader) ReadResponse added in v2.21.0

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

ReadResponse reads a server response into the received o.

type ListNutanixCategoriesOK added in v2.21.0

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

NutanixCategoryList

func NewListNutanixCategoriesOK added in v2.21.0

func NewListNutanixCategoriesOK() *ListNutanixCategoriesOK

NewListNutanixCategoriesOK creates a ListNutanixCategoriesOK with default headers values

func (*ListNutanixCategoriesOK) Error added in v2.21.0

func (o *ListNutanixCategoriesOK) Error() string

func (*ListNutanixCategoriesOK) GetPayload added in v2.21.0

type ListNutanixCategoriesParams added in v2.21.0

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

ListNutanixCategoriesParams contains all the parameters to send to the API endpoint

for the list nutanix categories operation.

Typically these are written to a http.Request.

func NewListNutanixCategoriesParams added in v2.21.0

func NewListNutanixCategoriesParams() *ListNutanixCategoriesParams

NewListNutanixCategoriesParams creates a new ListNutanixCategoriesParams 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 NewListNutanixCategoriesParamsWithContext added in v2.21.0

func NewListNutanixCategoriesParamsWithContext(ctx context.Context) *ListNutanixCategoriesParams

NewListNutanixCategoriesParamsWithContext creates a new ListNutanixCategoriesParams object with the ability to set a context for a request.

func NewListNutanixCategoriesParamsWithHTTPClient added in v2.21.0

func NewListNutanixCategoriesParamsWithHTTPClient(client *http.Client) *ListNutanixCategoriesParams

NewListNutanixCategoriesParamsWithHTTPClient creates a new ListNutanixCategoriesParams object with the ability to set a custom HTTPClient for a request.

func NewListNutanixCategoriesParamsWithTimeout added in v2.21.0

func NewListNutanixCategoriesParamsWithTimeout(timeout time.Duration) *ListNutanixCategoriesParams

NewListNutanixCategoriesParamsWithTimeout creates a new ListNutanixCategoriesParams object with the ability to set a timeout on a request.

func (*ListNutanixCategoriesParams) SetContext added in v2.21.0

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

SetContext adds the context to the list nutanix categories params

func (*ListNutanixCategoriesParams) SetCredential added in v2.21.0

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

SetCredential adds the credential to the list nutanix categories params

func (*ListNutanixCategoriesParams) SetDC added in v2.21.0

func (o *ListNutanixCategoriesParams) SetDC(dc string)

SetDC adds the dc to the list nutanix categories params

func (*ListNutanixCategoriesParams) SetDefaults added in v2.21.0

func (o *ListNutanixCategoriesParams) SetDefaults()

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

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

func (*ListNutanixCategoriesParams) SetHTTPClient added in v2.21.0

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

SetHTTPClient adds the HTTPClient to the list nutanix categories params

func (*ListNutanixCategoriesParams) SetNutanixPassword added in v2.21.0

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

SetNutanixPassword adds the nutanixPassword to the list nutanix categories params

func (*ListNutanixCategoriesParams) SetNutanixProxyURL added in v2.21.0

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

SetNutanixProxyURL adds the nutanixProxyUrl to the list nutanix categories params

func (*ListNutanixCategoriesParams) SetNutanixUsername added in v2.21.0

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

SetNutanixUsername adds the nutanixUsername to the list nutanix categories params

func (*ListNutanixCategoriesParams) SetTimeout added in v2.21.0

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

SetTimeout adds the timeout to the list nutanix categories params

func (*ListNutanixCategoriesParams) WithContext added in v2.21.0

WithContext adds the context to the list nutanix categories params

func (*ListNutanixCategoriesParams) WithCredential added in v2.21.0

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

WithCredential adds the credential to the list nutanix categories params

func (*ListNutanixCategoriesParams) WithDC added in v2.21.0

WithDC adds the dc to the list nutanix categories params

func (*ListNutanixCategoriesParams) WithDefaults added in v2.21.0

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

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

func (*ListNutanixCategoriesParams) WithHTTPClient added in v2.21.0

WithHTTPClient adds the HTTPClient to the list nutanix categories params

func (*ListNutanixCategoriesParams) WithNutanixPassword added in v2.21.0

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

WithNutanixPassword adds the nutanixPassword to the list nutanix categories params

func (*ListNutanixCategoriesParams) WithNutanixProxyURL added in v2.21.0

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

WithNutanixProxyURL adds the nutanixProxyURL to the list nutanix categories params

func (*ListNutanixCategoriesParams) WithNutanixUsername added in v2.21.0

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

WithNutanixUsername adds the nutanixUsername to the list nutanix categories params

func (*ListNutanixCategoriesParams) WithTimeout added in v2.21.0

WithTimeout adds the timeout to the list nutanix categories params

func (*ListNutanixCategoriesParams) WriteToRequest added in v2.21.0

WriteToRequest writes these params to a swagger request

type ListNutanixCategoriesReader added in v2.21.0

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

ListNutanixCategoriesReader is a Reader for the ListNutanixCategories structure.

func (*ListNutanixCategoriesReader) ReadResponse added in v2.21.0

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

ReadResponse reads a server response into the received o.

type ListNutanixCategoryValuesDefault added in v2.21.0

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

errorResponse

func NewListNutanixCategoryValuesDefault added in v2.21.0

func NewListNutanixCategoryValuesDefault(code int) *ListNutanixCategoryValuesDefault

NewListNutanixCategoryValuesDefault creates a ListNutanixCategoryValuesDefault with default headers values

func (*ListNutanixCategoryValuesDefault) Code added in v2.21.0

Code gets the status code for the list nutanix category values default response

func (*ListNutanixCategoryValuesDefault) Error added in v2.21.0

func (*ListNutanixCategoryValuesDefault) GetPayload added in v2.21.0

type ListNutanixCategoryValuesNoCredentialsDefault added in v2.21.0

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

errorResponse

func NewListNutanixCategoryValuesNoCredentialsDefault added in v2.21.0

func NewListNutanixCategoryValuesNoCredentialsDefault(code int) *ListNutanixCategoryValuesNoCredentialsDefault

NewListNutanixCategoryValuesNoCredentialsDefault creates a ListNutanixCategoryValuesNoCredentialsDefault with default headers values

func (*ListNutanixCategoryValuesNoCredentialsDefault) Code added in v2.21.0

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

func (*ListNutanixCategoryValuesNoCredentialsDefault) Error added in v2.21.0

func (*ListNutanixCategoryValuesNoCredentialsDefault) GetPayload added in v2.21.0

type ListNutanixCategoryValuesNoCredentialsOK added in v2.21.0

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

NutanixCategoryValueList

func NewListNutanixCategoryValuesNoCredentialsOK added in v2.21.0

func NewListNutanixCategoryValuesNoCredentialsOK() *ListNutanixCategoryValuesNoCredentialsOK

NewListNutanixCategoryValuesNoCredentialsOK creates a ListNutanixCategoryValuesNoCredentialsOK with default headers values

func (*ListNutanixCategoryValuesNoCredentialsOK) Error added in v2.21.0

func (*ListNutanixCategoryValuesNoCredentialsOK) GetPayload added in v2.21.0

type ListNutanixCategoryValuesNoCredentialsParams added in v2.21.0

type ListNutanixCategoryValuesNoCredentialsParams struct {

	/* Category.

	   Category to query the available values for
	*/
	Category string

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

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

ListNutanixCategoryValuesNoCredentialsParams contains all the parameters to send to the API endpoint

for the list nutanix category values no credentials operation.

Typically these are written to a http.Request.

func NewListNutanixCategoryValuesNoCredentialsParams added in v2.21.0

func NewListNutanixCategoryValuesNoCredentialsParams() *ListNutanixCategoryValuesNoCredentialsParams

NewListNutanixCategoryValuesNoCredentialsParams creates a new ListNutanixCategoryValuesNoCredentialsParams 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 NewListNutanixCategoryValuesNoCredentialsParamsWithContext added in v2.21.0

func NewListNutanixCategoryValuesNoCredentialsParamsWithContext(ctx context.Context) *ListNutanixCategoryValuesNoCredentialsParams

NewListNutanixCategoryValuesNoCredentialsParamsWithContext creates a new ListNutanixCategoryValuesNoCredentialsParams object with the ability to set a context for a request.

func NewListNutanixCategoryValuesNoCredentialsParamsWithHTTPClient added in v2.21.0

func NewListNutanixCategoryValuesNoCredentialsParamsWithHTTPClient(client *http.Client) *ListNutanixCategoryValuesNoCredentialsParams

NewListNutanixCategoryValuesNoCredentialsParamsWithHTTPClient creates a new ListNutanixCategoryValuesNoCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewListNutanixCategoryValuesNoCredentialsParamsWithTimeout added in v2.21.0

func NewListNutanixCategoryValuesNoCredentialsParamsWithTimeout(timeout time.Duration) *ListNutanixCategoryValuesNoCredentialsParams

NewListNutanixCategoryValuesNoCredentialsParamsWithTimeout creates a new ListNutanixCategoryValuesNoCredentialsParams object with the ability to set a timeout on a request.

func (*ListNutanixCategoryValuesNoCredentialsParams) SetCategory added in v2.21.0

func (o *ListNutanixCategoryValuesNoCredentialsParams) SetCategory(category string)

SetCategory adds the category to the list nutanix category values no credentials params

func (*ListNutanixCategoryValuesNoCredentialsParams) SetClusterID added in v2.21.0

func (o *ListNutanixCategoryValuesNoCredentialsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list nutanix category values no credentials params

func (*ListNutanixCategoryValuesNoCredentialsParams) SetContext added in v2.21.0

SetContext adds the context to the list nutanix category values no credentials params

func (*ListNutanixCategoryValuesNoCredentialsParams) SetDefaults added in v2.21.0

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

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

func (*ListNutanixCategoryValuesNoCredentialsParams) SetHTTPClient added in v2.21.0

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

SetHTTPClient adds the HTTPClient to the list nutanix category values no credentials params

func (*ListNutanixCategoryValuesNoCredentialsParams) SetProjectID added in v2.21.0

func (o *ListNutanixCategoryValuesNoCredentialsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list nutanix category values no credentials params

func (*ListNutanixCategoryValuesNoCredentialsParams) SetTimeout added in v2.21.0

SetTimeout adds the timeout to the list nutanix category values no credentials params

func (*ListNutanixCategoryValuesNoCredentialsParams) WithCategory added in v2.21.0

WithCategory adds the category to the list nutanix category values no credentials params

func (*ListNutanixCategoryValuesNoCredentialsParams) WithClusterID added in v2.21.0

WithClusterID adds the clusterID to the list nutanix category values no credentials params

func (*ListNutanixCategoryValuesNoCredentialsParams) WithContext added in v2.21.0

WithContext adds the context to the list nutanix category values no credentials params

func (*ListNutanixCategoryValuesNoCredentialsParams) WithDefaults added in v2.21.0

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

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

func (*ListNutanixCategoryValuesNoCredentialsParams) WithHTTPClient added in v2.21.0

WithHTTPClient adds the HTTPClient to the list nutanix category values no credentials params

func (*ListNutanixCategoryValuesNoCredentialsParams) WithProjectID added in v2.21.0

WithProjectID adds the projectID to the list nutanix category values no credentials params

func (*ListNutanixCategoryValuesNoCredentialsParams) WithTimeout added in v2.21.0

WithTimeout adds the timeout to the list nutanix category values no credentials params

func (*ListNutanixCategoryValuesNoCredentialsParams) WriteToRequest added in v2.21.0

WriteToRequest writes these params to a swagger request

type ListNutanixCategoryValuesNoCredentialsReader added in v2.21.0

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

ListNutanixCategoryValuesNoCredentialsReader is a Reader for the ListNutanixCategoryValuesNoCredentials structure.

func (*ListNutanixCategoryValuesNoCredentialsReader) ReadResponse added in v2.21.0

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

ReadResponse reads a server response into the received o.

type ListNutanixCategoryValuesOK added in v2.21.0

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

NutanixCategoryValueList

func NewListNutanixCategoryValuesOK added in v2.21.0

func NewListNutanixCategoryValuesOK() *ListNutanixCategoryValuesOK

NewListNutanixCategoryValuesOK creates a ListNutanixCategoryValuesOK with default headers values

func (*ListNutanixCategoryValuesOK) Error added in v2.21.0

func (*ListNutanixCategoryValuesOK) GetPayload added in v2.21.0

type ListNutanixCategoryValuesParams added in v2.21.0

type ListNutanixCategoryValuesParams struct {

	// Credential.
	Credential *string

	// NutanixPassword.
	NutanixPassword *string

	// NutanixProxyURL.
	NutanixProxyURL *string

	// NutanixUsername.
	NutanixUsername *string

	/* Category.

	   Category to query the available values for
	*/
	Category string

	/* Dc.

	   KKP Datacenter to use for endpoint
	*/
	DC string

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

ListNutanixCategoryValuesParams contains all the parameters to send to the API endpoint

for the list nutanix category values operation.

Typically these are written to a http.Request.

func NewListNutanixCategoryValuesParams added in v2.21.0

func NewListNutanixCategoryValuesParams() *ListNutanixCategoryValuesParams

NewListNutanixCategoryValuesParams creates a new ListNutanixCategoryValuesParams 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 NewListNutanixCategoryValuesParamsWithContext added in v2.21.0

func NewListNutanixCategoryValuesParamsWithContext(ctx context.Context) *ListNutanixCategoryValuesParams

NewListNutanixCategoryValuesParamsWithContext creates a new ListNutanixCategoryValuesParams object with the ability to set a context for a request.

func NewListNutanixCategoryValuesParamsWithHTTPClient added in v2.21.0

func NewListNutanixCategoryValuesParamsWithHTTPClient(client *http.Client) *ListNutanixCategoryValuesParams

NewListNutanixCategoryValuesParamsWithHTTPClient creates a new ListNutanixCategoryValuesParams object with the ability to set a custom HTTPClient for a request.

func NewListNutanixCategoryValuesParamsWithTimeout added in v2.21.0

func NewListNutanixCategoryValuesParamsWithTimeout(timeout time.Duration) *ListNutanixCategoryValuesParams

NewListNutanixCategoryValuesParamsWithTimeout creates a new ListNutanixCategoryValuesParams object with the ability to set a timeout on a request.

func (*ListNutanixCategoryValuesParams) SetCategory added in v2.21.0

func (o *ListNutanixCategoryValuesParams) SetCategory(category string)

SetCategory adds the category to the list nutanix category values params

func (*ListNutanixCategoryValuesParams) SetContext added in v2.21.0

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

SetContext adds the context to the list nutanix category values params

func (*ListNutanixCategoryValuesParams) SetCredential added in v2.21.0

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

SetCredential adds the credential to the list nutanix category values params

func (*ListNutanixCategoryValuesParams) SetDC added in v2.21.0

SetDC adds the dc to the list nutanix category values params

func (*ListNutanixCategoryValuesParams) SetDefaults added in v2.21.0

func (o *ListNutanixCategoryValuesParams) SetDefaults()

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

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

func (*ListNutanixCategoryValuesParams) SetHTTPClient added in v2.21.0

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

SetHTTPClient adds the HTTPClient to the list nutanix category values params

func (*ListNutanixCategoryValuesParams) SetNutanixPassword added in v2.21.0

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

SetNutanixPassword adds the nutanixPassword to the list nutanix category values params

func (*ListNutanixCategoryValuesParams) SetNutanixProxyURL added in v2.21.0

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

SetNutanixProxyURL adds the nutanixProxyUrl to the list nutanix category values params

func (*ListNutanixCategoryValuesParams) SetNutanixUsername added in v2.21.0

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

SetNutanixUsername adds the nutanixUsername to the list nutanix category values params

func (*ListNutanixCategoryValuesParams) SetTimeout added in v2.21.0

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

SetTimeout adds the timeout to the list nutanix category values params

func (*ListNutanixCategoryValuesParams) WithCategory added in v2.21.0

WithCategory adds the category to the list nutanix category values params

func (*ListNutanixCategoryValuesParams) WithContext added in v2.21.0

WithContext adds the context to the list nutanix category values params

func (*ListNutanixCategoryValuesParams) WithCredential added in v2.21.0

WithCredential adds the credential to the list nutanix category values params

func (*ListNutanixCategoryValuesParams) WithDC added in v2.21.0

WithDC adds the dc to the list nutanix category values params

func (*ListNutanixCategoryValuesParams) WithDefaults added in v2.21.0

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

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

func (*ListNutanixCategoryValuesParams) WithHTTPClient added in v2.21.0

WithHTTPClient adds the HTTPClient to the list nutanix category values params

func (*ListNutanixCategoryValuesParams) WithNutanixPassword added in v2.21.0

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

WithNutanixPassword adds the nutanixPassword to the list nutanix category values params

func (*ListNutanixCategoryValuesParams) WithNutanixProxyURL added in v2.21.0

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

WithNutanixProxyURL adds the nutanixProxyURL to the list nutanix category values params

func (*ListNutanixCategoryValuesParams) WithNutanixUsername added in v2.21.0

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

WithNutanixUsername adds the nutanixUsername to the list nutanix category values params

func (*ListNutanixCategoryValuesParams) WithTimeout added in v2.21.0

WithTimeout adds the timeout to the list nutanix category values params

func (*ListNutanixCategoryValuesParams) WriteToRequest added in v2.21.0

WriteToRequest writes these params to a swagger request

type ListNutanixCategoryValuesReader added in v2.21.0

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

ListNutanixCategoryValuesReader is a Reader for the ListNutanixCategoryValues structure.

func (*ListNutanixCategoryValuesReader) ReadResponse added in v2.21.0

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

ReadResponse reads a server response into the received o.

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