Documentation
¶
Index ¶
- type Client
- func (a *Client) ListNutanixClusters(params *ListNutanixClustersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListNutanixClustersOK, error)
- func (a *Client) ListNutanixProjects(params *ListNutanixProjectsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListNutanixProjectsOK, error)
- func (a *Client) ListNutanixSubnets(params *ListNutanixSubnetsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListNutanixSubnetsOK, error)
- func (a *Client) ListNutanixSubnetsNoCredentials(params *ListNutanixSubnetsNoCredentialsParams, ...) (*ListNutanixSubnetsNoCredentialsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ListNutanixClustersDefault
- type ListNutanixClustersOK
- type ListNutanixClustersParams
- func NewListNutanixClustersParams() *ListNutanixClustersParams
- func NewListNutanixClustersParamsWithContext(ctx context.Context) *ListNutanixClustersParams
- func NewListNutanixClustersParamsWithHTTPClient(client *http.Client) *ListNutanixClustersParams
- func NewListNutanixClustersParamsWithTimeout(timeout time.Duration) *ListNutanixClustersParams
- func (o *ListNutanixClustersParams) SetContext(ctx context.Context)
- func (o *ListNutanixClustersParams) SetCredential(credential *string)
- func (o *ListNutanixClustersParams) SetDC(dc string)
- func (o *ListNutanixClustersParams) SetDefaults()
- func (o *ListNutanixClustersParams) SetHTTPClient(client *http.Client)
- func (o *ListNutanixClustersParams) SetNutanixPassword(nutanixPassword *string)
- func (o *ListNutanixClustersParams) SetNutanixProxyURL(nutanixProxyURL *string)
- func (o *ListNutanixClustersParams) SetNutanixUsername(nutanixUsername *string)
- func (o *ListNutanixClustersParams) SetTimeout(timeout time.Duration)
- func (o *ListNutanixClustersParams) WithContext(ctx context.Context) *ListNutanixClustersParams
- func (o *ListNutanixClustersParams) WithCredential(credential *string) *ListNutanixClustersParams
- func (o *ListNutanixClustersParams) WithDC(dc string) *ListNutanixClustersParams
- func (o *ListNutanixClustersParams) WithDefaults() *ListNutanixClustersParams
- func (o *ListNutanixClustersParams) WithHTTPClient(client *http.Client) *ListNutanixClustersParams
- func (o *ListNutanixClustersParams) WithNutanixPassword(nutanixPassword *string) *ListNutanixClustersParams
- func (o *ListNutanixClustersParams) WithNutanixProxyURL(nutanixProxyURL *string) *ListNutanixClustersParams
- func (o *ListNutanixClustersParams) WithNutanixUsername(nutanixUsername *string) *ListNutanixClustersParams
- func (o *ListNutanixClustersParams) WithTimeout(timeout time.Duration) *ListNutanixClustersParams
- func (o *ListNutanixClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListNutanixClustersReader
- type ListNutanixProjectsDefault
- type ListNutanixProjectsOK
- type ListNutanixProjectsParams
- func NewListNutanixProjectsParams() *ListNutanixProjectsParams
- func NewListNutanixProjectsParamsWithContext(ctx context.Context) *ListNutanixProjectsParams
- func NewListNutanixProjectsParamsWithHTTPClient(client *http.Client) *ListNutanixProjectsParams
- func NewListNutanixProjectsParamsWithTimeout(timeout time.Duration) *ListNutanixProjectsParams
- func (o *ListNutanixProjectsParams) SetContext(ctx context.Context)
- func (o *ListNutanixProjectsParams) SetCredential(credential *string)
- func (o *ListNutanixProjectsParams) SetDC(dc string)
- func (o *ListNutanixProjectsParams) SetDefaults()
- func (o *ListNutanixProjectsParams) SetHTTPClient(client *http.Client)
- func (o *ListNutanixProjectsParams) SetNutanixPassword(nutanixPassword *string)
- func (o *ListNutanixProjectsParams) SetNutanixProxyURL(nutanixProxyURL *string)
- func (o *ListNutanixProjectsParams) SetNutanixUsername(nutanixUsername *string)
- func (o *ListNutanixProjectsParams) SetTimeout(timeout time.Duration)
- func (o *ListNutanixProjectsParams) WithContext(ctx context.Context) *ListNutanixProjectsParams
- func (o *ListNutanixProjectsParams) WithCredential(credential *string) *ListNutanixProjectsParams
- func (o *ListNutanixProjectsParams) WithDC(dc string) *ListNutanixProjectsParams
- func (o *ListNutanixProjectsParams) WithDefaults() *ListNutanixProjectsParams
- func (o *ListNutanixProjectsParams) WithHTTPClient(client *http.Client) *ListNutanixProjectsParams
- func (o *ListNutanixProjectsParams) WithNutanixPassword(nutanixPassword *string) *ListNutanixProjectsParams
- func (o *ListNutanixProjectsParams) WithNutanixProxyURL(nutanixProxyURL *string) *ListNutanixProjectsParams
- func (o *ListNutanixProjectsParams) WithNutanixUsername(nutanixUsername *string) *ListNutanixProjectsParams
- func (o *ListNutanixProjectsParams) WithTimeout(timeout time.Duration) *ListNutanixProjectsParams
- func (o *ListNutanixProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListNutanixProjectsReader
- type ListNutanixSubnetsDefault
- type ListNutanixSubnetsNoCredentialsDefault
- type ListNutanixSubnetsNoCredentialsOK
- type ListNutanixSubnetsNoCredentialsParams
- func NewListNutanixSubnetsNoCredentialsParams() *ListNutanixSubnetsNoCredentialsParams
- func NewListNutanixSubnetsNoCredentialsParamsWithContext(ctx context.Context) *ListNutanixSubnetsNoCredentialsParams
- func NewListNutanixSubnetsNoCredentialsParamsWithHTTPClient(client *http.Client) *ListNutanixSubnetsNoCredentialsParams
- func NewListNutanixSubnetsNoCredentialsParamsWithTimeout(timeout time.Duration) *ListNutanixSubnetsNoCredentialsParams
- func (o *ListNutanixSubnetsNoCredentialsParams) SetClusterID(clusterID string)
- func (o *ListNutanixSubnetsNoCredentialsParams) SetContext(ctx context.Context)
- func (o *ListNutanixSubnetsNoCredentialsParams) SetDefaults()
- func (o *ListNutanixSubnetsNoCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *ListNutanixSubnetsNoCredentialsParams) SetProjectID(projectID string)
- func (o *ListNutanixSubnetsNoCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *ListNutanixSubnetsNoCredentialsParams) WithClusterID(clusterID string) *ListNutanixSubnetsNoCredentialsParams
- func (o *ListNutanixSubnetsNoCredentialsParams) WithContext(ctx context.Context) *ListNutanixSubnetsNoCredentialsParams
- func (o *ListNutanixSubnetsNoCredentialsParams) WithDefaults() *ListNutanixSubnetsNoCredentialsParams
- func (o *ListNutanixSubnetsNoCredentialsParams) WithHTTPClient(client *http.Client) *ListNutanixSubnetsNoCredentialsParams
- func (o *ListNutanixSubnetsNoCredentialsParams) WithProjectID(projectID string) *ListNutanixSubnetsNoCredentialsParams
- func (o *ListNutanixSubnetsNoCredentialsParams) WithTimeout(timeout time.Duration) *ListNutanixSubnetsNoCredentialsParams
- func (o *ListNutanixSubnetsNoCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListNutanixSubnetsNoCredentialsReader
- type ListNutanixSubnetsOK
- type ListNutanixSubnetsParams
- func NewListNutanixSubnetsParams() *ListNutanixSubnetsParams
- func NewListNutanixSubnetsParamsWithContext(ctx context.Context) *ListNutanixSubnetsParams
- func NewListNutanixSubnetsParamsWithHTTPClient(client *http.Client) *ListNutanixSubnetsParams
- func NewListNutanixSubnetsParamsWithTimeout(timeout time.Duration) *ListNutanixSubnetsParams
- func (o *ListNutanixSubnetsParams) SetContext(ctx context.Context)
- func (o *ListNutanixSubnetsParams) SetCredential(credential *string)
- func (o *ListNutanixSubnetsParams) SetDC(dc string)
- func (o *ListNutanixSubnetsParams) SetDefaults()
- func (o *ListNutanixSubnetsParams) SetHTTPClient(client *http.Client)
- func (o *ListNutanixSubnetsParams) SetNutanixCluster(nutanixCluster string)
- func (o *ListNutanixSubnetsParams) SetNutanixPassword(nutanixPassword *string)
- func (o *ListNutanixSubnetsParams) SetNutanixProject(nutanixProject *string)
- func (o *ListNutanixSubnetsParams) SetNutanixProxyURL(nutanixProxyURL *string)
- func (o *ListNutanixSubnetsParams) SetNutanixUsername(nutanixUsername *string)
- func (o *ListNutanixSubnetsParams) SetTimeout(timeout time.Duration)
- func (o *ListNutanixSubnetsParams) WithContext(ctx context.Context) *ListNutanixSubnetsParams
- func (o *ListNutanixSubnetsParams) WithCredential(credential *string) *ListNutanixSubnetsParams
- func (o *ListNutanixSubnetsParams) WithDC(dc string) *ListNutanixSubnetsParams
- func (o *ListNutanixSubnetsParams) WithDefaults() *ListNutanixSubnetsParams
- func (o *ListNutanixSubnetsParams) WithHTTPClient(client *http.Client) *ListNutanixSubnetsParams
- func (o *ListNutanixSubnetsParams) WithNutanixCluster(nutanixCluster string) *ListNutanixSubnetsParams
- func (o *ListNutanixSubnetsParams) WithNutanixPassword(nutanixPassword *string) *ListNutanixSubnetsParams
- func (o *ListNutanixSubnetsParams) WithNutanixProject(nutanixProject *string) *ListNutanixSubnetsParams
- func (o *ListNutanixSubnetsParams) WithNutanixProxyURL(nutanixProxyURL *string) *ListNutanixSubnetsParams
- func (o *ListNutanixSubnetsParams) WithNutanixUsername(nutanixUsername *string) *ListNutanixSubnetsParams
- func (o *ListNutanixSubnetsParams) WithTimeout(timeout time.Duration) *ListNutanixSubnetsParams
- func (o *ListNutanixSubnetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListNutanixSubnetsReader
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 (o *ListNutanixClustersDefault) Error() string
func (*ListNutanixClustersDefault) GetPayload ¶
func (o *ListNutanixClustersDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *ListNutanixClustersOK) GetPayload() models.NutanixClusterList
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 ¶
func (o *ListNutanixClustersParams) WithContext(ctx context.Context) *ListNutanixClustersParams
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 ¶
func (o *ListNutanixClustersParams) WithDC(dc string) *ListNutanixClustersParams
WithDC adds the dc to the list nutanix clusters params
func (*ListNutanixClustersParams) WithDefaults ¶
func (o *ListNutanixClustersParams) WithDefaults() *ListNutanixClustersParams
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 ¶
func (o *ListNutanixClustersParams) WithTimeout(timeout time.Duration) *ListNutanixClustersParams
WithTimeout adds the timeout to the list nutanix clusters params
func (*ListNutanixClustersParams) WriteToRequest ¶
func (o *ListNutanixClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ListNutanixProjectsDefault) Error() string
func (*ListNutanixProjectsDefault) GetPayload ¶
func (o *ListNutanixProjectsDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *ListNutanixProjectsOK) GetPayload() models.NutanixProjectList
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 ¶
func (o *ListNutanixProjectsParams) WithContext(ctx context.Context) *ListNutanixProjectsParams
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 ¶
func (o *ListNutanixProjectsParams) WithDC(dc string) *ListNutanixProjectsParams
WithDC adds the dc to the list nutanix projects params
func (*ListNutanixProjectsParams) WithDefaults ¶
func (o *ListNutanixProjectsParams) WithDefaults() *ListNutanixProjectsParams
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 ¶
func (o *ListNutanixProjectsParams) WithTimeout(timeout time.Duration) *ListNutanixProjectsParams
WithTimeout adds the timeout to the list nutanix projects params
func (*ListNutanixProjectsParams) WriteToRequest ¶
func (o *ListNutanixProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListNutanixSubnetsDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *ListNutanixSubnetsNoCredentialsDefault) Code() int
Code gets the status code for the list nutanix subnets no credentials default response
func (*ListNutanixSubnetsNoCredentialsDefault) Error ¶
func (o *ListNutanixSubnetsNoCredentialsDefault) Error() string
func (*ListNutanixSubnetsNoCredentialsDefault) GetPayload ¶
func (o *ListNutanixSubnetsNoCredentialsDefault) GetPayload() *models.ErrorResponse
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 (o *ListNutanixSubnetsNoCredentialsOK) Error() string
func (*ListNutanixSubnetsNoCredentialsOK) GetPayload ¶
func (o *ListNutanixSubnetsNoCredentialsOK) GetPayload() models.NutanixSubnetList
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 ¶
func (o *ListNutanixSubnetsNoCredentialsParams) SetContext(ctx context.Context)
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 ¶
func (o *ListNutanixSubnetsNoCredentialsParams) WithClusterID(clusterID string) *ListNutanixSubnetsNoCredentialsParams
WithClusterID adds the clusterID to the list nutanix subnets no credentials params
func (*ListNutanixSubnetsNoCredentialsParams) WithContext ¶
func (o *ListNutanixSubnetsNoCredentialsParams) WithContext(ctx context.Context) *ListNutanixSubnetsNoCredentialsParams
WithContext adds the context to the list nutanix subnets no credentials params
func (*ListNutanixSubnetsNoCredentialsParams) WithDefaults ¶
func (o *ListNutanixSubnetsNoCredentialsParams) WithDefaults() *ListNutanixSubnetsNoCredentialsParams
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 ¶
func (o *ListNutanixSubnetsNoCredentialsParams) WithHTTPClient(client *http.Client) *ListNutanixSubnetsNoCredentialsParams
WithHTTPClient adds the HTTPClient to the list nutanix subnets no credentials params
func (*ListNutanixSubnetsNoCredentialsParams) WithProjectID ¶
func (o *ListNutanixSubnetsNoCredentialsParams) WithProjectID(projectID string) *ListNutanixSubnetsNoCredentialsParams
WithProjectID adds the projectID to the list nutanix subnets no credentials params
func (*ListNutanixSubnetsNoCredentialsParams) WithTimeout ¶
func (o *ListNutanixSubnetsNoCredentialsParams) WithTimeout(timeout time.Duration) *ListNutanixSubnetsNoCredentialsParams
WithTimeout adds the timeout to the list nutanix subnets no credentials params
func (*ListNutanixSubnetsNoCredentialsParams) WriteToRequest ¶
func (o *ListNutanixSubnetsNoCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListNutanixSubnetsOK) GetPayload() models.NutanixSubnetList
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 ¶
func (o *ListNutanixSubnetsParams) WithContext(ctx context.Context) *ListNutanixSubnetsParams
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 ¶
func (o *ListNutanixSubnetsParams) WithDC(dc string) *ListNutanixSubnetsParams
WithDC adds the dc to the list nutanix subnets params
func (*ListNutanixSubnetsParams) WithDefaults ¶
func (o *ListNutanixSubnetsParams) WithDefaults() *ListNutanixSubnetsParams
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 ¶
func (o *ListNutanixSubnetsParams) WithTimeout(timeout time.Duration) *ListNutanixSubnetsParams
WithTimeout adds the timeout to the list nutanix subnets params
func (*ListNutanixSubnetsParams) WriteToRequest ¶
func (o *ListNutanixSubnetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- list_nutanix_clusters_parameters.go
- list_nutanix_clusters_responses.go
- list_nutanix_projects_parameters.go
- list_nutanix_projects_responses.go
- list_nutanix_subnets_no_credentials_parameters.go
- list_nutanix_subnets_no_credentials_responses.go
- list_nutanix_subnets_parameters.go
- list_nutanix_subnets_responses.go
- nutanix_client.go