openstack

package
v2.14.13+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: Apache-2.0 Imports: 10 Imported by: 11

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 openstack API

func (*Client) ListOpenstackNetworks

func (a *Client) ListOpenstackNetworks(params *ListOpenstackNetworksParams, authInfo runtime.ClientAuthInfoWriter) (*ListOpenstackNetworksOK, error)

ListOpenstackNetworks Lists networks from openstack

func (*Client) ListOpenstackNetworksNoCredentials

ListOpenstackNetworksNoCredentials Lists networks from openstack

func (*Client) ListOpenstackSecurityGroups

func (a *Client) ListOpenstackSecurityGroups(params *ListOpenstackSecurityGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*ListOpenstackSecurityGroupsOK, error)

ListOpenstackSecurityGroups Lists security groups from openstack

func (*Client) ListOpenstackSecurityGroupsNoCredentials

ListOpenstackSecurityGroupsNoCredentials Lists security groups from openstack

func (*Client) ListOpenstackSizes

func (a *Client) ListOpenstackSizes(params *ListOpenstackSizesParams, authInfo runtime.ClientAuthInfoWriter) (*ListOpenstackSizesOK, error)

ListOpenstackSizes Lists sizes from openstack

func (*Client) ListOpenstackSizesNoCredentials

func (a *Client) ListOpenstackSizesNoCredentials(params *ListOpenstackSizesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListOpenstackSizesNoCredentialsOK, error)

ListOpenstackSizesNoCredentials Lists sizes from openstack

func (*Client) ListOpenstackSubnets

func (a *Client) ListOpenstackSubnets(params *ListOpenstackSubnetsParams, authInfo runtime.ClientAuthInfoWriter) (*ListOpenstackSubnetsOK, error)

ListOpenstackSubnets Lists subnets from openstack

func (*Client) ListOpenstackSubnetsNoCredentials

ListOpenstackSubnetsNoCredentials Lists subnets from openstack

func (*Client) ListOpenstackTenants

func (a *Client) ListOpenstackTenants(params *ListOpenstackTenantsParams, authInfo runtime.ClientAuthInfoWriter) (*ListOpenstackTenantsOK, error)

ListOpenstackTenants Lists tenants from openstack

func (*Client) ListOpenstackTenantsNoCredentials

ListOpenstackTenantsNoCredentials Lists tenants from openstack

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ListOpenstackNetworks(params *ListOpenstackNetworksParams, authInfo runtime.ClientAuthInfoWriter) (*ListOpenstackNetworksOK, error)

	ListOpenstackNetworksNoCredentials(params *ListOpenstackNetworksNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListOpenstackNetworksNoCredentialsOK, error)

	ListOpenstackSecurityGroups(params *ListOpenstackSecurityGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*ListOpenstackSecurityGroupsOK, error)

	ListOpenstackSecurityGroupsNoCredentials(params *ListOpenstackSecurityGroupsNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListOpenstackSecurityGroupsNoCredentialsOK, error)

	ListOpenstackSizes(params *ListOpenstackSizesParams, authInfo runtime.ClientAuthInfoWriter) (*ListOpenstackSizesOK, error)

	ListOpenstackSizesNoCredentials(params *ListOpenstackSizesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListOpenstackSizesNoCredentialsOK, error)

	ListOpenstackSubnets(params *ListOpenstackSubnetsParams, authInfo runtime.ClientAuthInfoWriter) (*ListOpenstackSubnetsOK, error)

	ListOpenstackSubnetsNoCredentials(params *ListOpenstackSubnetsNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListOpenstackSubnetsNoCredentialsOK, error)

	ListOpenstackTenants(params *ListOpenstackTenantsParams, authInfo runtime.ClientAuthInfoWriter) (*ListOpenstackTenantsOK, error)

	ListOpenstackTenantsNoCredentials(params *ListOpenstackTenantsNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListOpenstackTenantsNoCredentialsOK, 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 openstack API client.

type ListOpenstackNetworksDefault

type ListOpenstackNetworksDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListOpenstackNetworksDefault handles this case with default header values.

errorResponse

func NewListOpenstackNetworksDefault

func NewListOpenstackNetworksDefault(code int) *ListOpenstackNetworksDefault

NewListOpenstackNetworksDefault creates a ListOpenstackNetworksDefault with default headers values

func (*ListOpenstackNetworksDefault) Code

Code gets the status code for the list openstack networks default response

func (*ListOpenstackNetworksDefault) Error

func (*ListOpenstackNetworksDefault) GetPayload

type ListOpenstackNetworksNoCredentialsDefault

type ListOpenstackNetworksNoCredentialsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListOpenstackNetworksNoCredentialsDefault handles this case with default header values.

errorResponse

func NewListOpenstackNetworksNoCredentialsDefault

func NewListOpenstackNetworksNoCredentialsDefault(code int) *ListOpenstackNetworksNoCredentialsDefault

NewListOpenstackNetworksNoCredentialsDefault creates a ListOpenstackNetworksNoCredentialsDefault with default headers values

func (*ListOpenstackNetworksNoCredentialsDefault) Code

Code gets the status code for the list openstack networks no credentials default response

func (*ListOpenstackNetworksNoCredentialsDefault) Error

func (*ListOpenstackNetworksNoCredentialsDefault) GetPayload

type ListOpenstackNetworksNoCredentialsOK

type ListOpenstackNetworksNoCredentialsOK struct {
	Payload []*models.OpenstackNetwork
}

ListOpenstackNetworksNoCredentialsOK handles this case with default header values.

OpenstackNetwork

func NewListOpenstackNetworksNoCredentialsOK

func NewListOpenstackNetworksNoCredentialsOK() *ListOpenstackNetworksNoCredentialsOK

NewListOpenstackNetworksNoCredentialsOK creates a ListOpenstackNetworksNoCredentialsOK with default headers values

func (*ListOpenstackNetworksNoCredentialsOK) Error

func (*ListOpenstackNetworksNoCredentialsOK) GetPayload

type ListOpenstackNetworksNoCredentialsParams

type ListOpenstackNetworksNoCredentialsParams struct {

	/*ClusterID*/
	ClusterID string
	/*Dc*/
	DC string
	/*ProjectID*/
	ProjectID string

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

ListOpenstackNetworksNoCredentialsParams contains all the parameters to send to the API endpoint for the list openstack networks no credentials operation typically these are written to a http.Request

func NewListOpenstackNetworksNoCredentialsParams

func NewListOpenstackNetworksNoCredentialsParams() *ListOpenstackNetworksNoCredentialsParams

NewListOpenstackNetworksNoCredentialsParams creates a new ListOpenstackNetworksNoCredentialsParams object with the default values initialized.

func NewListOpenstackNetworksNoCredentialsParamsWithContext

func NewListOpenstackNetworksNoCredentialsParamsWithContext(ctx context.Context) *ListOpenstackNetworksNoCredentialsParams

NewListOpenstackNetworksNoCredentialsParamsWithContext creates a new ListOpenstackNetworksNoCredentialsParams object with the default values initialized, and the ability to set a context for a request

func NewListOpenstackNetworksNoCredentialsParamsWithHTTPClient

func NewListOpenstackNetworksNoCredentialsParamsWithHTTPClient(client *http.Client) *ListOpenstackNetworksNoCredentialsParams

NewListOpenstackNetworksNoCredentialsParamsWithHTTPClient creates a new ListOpenstackNetworksNoCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListOpenstackNetworksNoCredentialsParamsWithTimeout

func NewListOpenstackNetworksNoCredentialsParamsWithTimeout(timeout time.Duration) *ListOpenstackNetworksNoCredentialsParams

NewListOpenstackNetworksNoCredentialsParamsWithTimeout creates a new ListOpenstackNetworksNoCredentialsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListOpenstackNetworksNoCredentialsParams) SetClusterID

func (o *ListOpenstackNetworksNoCredentialsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list openstack networks no credentials params

func (*ListOpenstackNetworksNoCredentialsParams) SetContext

SetContext adds the context to the list openstack networks no credentials params

func (*ListOpenstackNetworksNoCredentialsParams) SetDC

SetDC adds the dc to the list openstack networks no credentials params

func (*ListOpenstackNetworksNoCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list openstack networks no credentials params

func (*ListOpenstackNetworksNoCredentialsParams) SetProjectID

func (o *ListOpenstackNetworksNoCredentialsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list openstack networks no credentials params

func (*ListOpenstackNetworksNoCredentialsParams) SetTimeout

SetTimeout adds the timeout to the list openstack networks no credentials params

func (*ListOpenstackNetworksNoCredentialsParams) WithClusterID

WithClusterID adds the clusterID to the list openstack networks no credentials params

func (*ListOpenstackNetworksNoCredentialsParams) WithContext

WithContext adds the context to the list openstack networks no credentials params

func (*ListOpenstackNetworksNoCredentialsParams) WithDC

WithDC adds the dc to the list openstack networks no credentials params

func (*ListOpenstackNetworksNoCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list openstack networks no credentials params

func (*ListOpenstackNetworksNoCredentialsParams) WithProjectID

WithProjectID adds the projectID to the list openstack networks no credentials params

func (*ListOpenstackNetworksNoCredentialsParams) WithTimeout

WithTimeout adds the timeout to the list openstack networks no credentials params

func (*ListOpenstackNetworksNoCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOpenstackNetworksNoCredentialsReader

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

ListOpenstackNetworksNoCredentialsReader is a Reader for the ListOpenstackNetworksNoCredentials structure.

func (*ListOpenstackNetworksNoCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOpenstackNetworksOK

type ListOpenstackNetworksOK struct {
	Payload []*models.OpenstackNetwork
}

ListOpenstackNetworksOK handles this case with default header values.

OpenstackNetwork

func NewListOpenstackNetworksOK

func NewListOpenstackNetworksOK() *ListOpenstackNetworksOK

NewListOpenstackNetworksOK creates a ListOpenstackNetworksOK with default headers values

func (*ListOpenstackNetworksOK) Error

func (o *ListOpenstackNetworksOK) Error() string

func (*ListOpenstackNetworksOK) GetPayload

func (o *ListOpenstackNetworksOK) GetPayload() []*models.OpenstackNetwork

type ListOpenstackNetworksParams

type ListOpenstackNetworksParams struct {

	/*Credential*/
	Credential *string
	/*DatacenterName*/
	DatacenterName *string
	/*Domain*/
	Domain *string
	/*Password*/
	Password *string
	/*Tenant*/
	Tenant *string
	/*TenantID*/
	TenantID *string
	/*Username*/
	Username *string

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

ListOpenstackNetworksParams contains all the parameters to send to the API endpoint for the list openstack networks operation typically these are written to a http.Request

func NewListOpenstackNetworksParams

func NewListOpenstackNetworksParams() *ListOpenstackNetworksParams

NewListOpenstackNetworksParams creates a new ListOpenstackNetworksParams object with the default values initialized.

func NewListOpenstackNetworksParamsWithContext

func NewListOpenstackNetworksParamsWithContext(ctx context.Context) *ListOpenstackNetworksParams

NewListOpenstackNetworksParamsWithContext creates a new ListOpenstackNetworksParams object with the default values initialized, and the ability to set a context for a request

func NewListOpenstackNetworksParamsWithHTTPClient

func NewListOpenstackNetworksParamsWithHTTPClient(client *http.Client) *ListOpenstackNetworksParams

NewListOpenstackNetworksParamsWithHTTPClient creates a new ListOpenstackNetworksParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListOpenstackNetworksParamsWithTimeout

func NewListOpenstackNetworksParamsWithTimeout(timeout time.Duration) *ListOpenstackNetworksParams

NewListOpenstackNetworksParamsWithTimeout creates a new ListOpenstackNetworksParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListOpenstackNetworksParams) SetContext

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

SetContext adds the context to the list openstack networks params

func (*ListOpenstackNetworksParams) SetCredential

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

SetCredential adds the credential to the list openstack networks params

func (*ListOpenstackNetworksParams) SetDatacenterName

func (o *ListOpenstackNetworksParams) SetDatacenterName(datacenterName *string)

SetDatacenterName adds the datacenterName to the list openstack networks params

func (*ListOpenstackNetworksParams) SetDomain

func (o *ListOpenstackNetworksParams) SetDomain(domain *string)

SetDomain adds the domain to the list openstack networks params

func (*ListOpenstackNetworksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list openstack networks params

func (*ListOpenstackNetworksParams) SetPassword

func (o *ListOpenstackNetworksParams) SetPassword(password *string)

SetPassword adds the password to the list openstack networks params

func (*ListOpenstackNetworksParams) SetTenant

func (o *ListOpenstackNetworksParams) SetTenant(tenant *string)

SetTenant adds the tenant to the list openstack networks params

func (*ListOpenstackNetworksParams) SetTenantID

func (o *ListOpenstackNetworksParams) SetTenantID(tenantID *string)

SetTenantID adds the tenantId to the list openstack networks params

func (*ListOpenstackNetworksParams) SetTimeout

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

SetTimeout adds the timeout to the list openstack networks params

func (*ListOpenstackNetworksParams) SetUsername

func (o *ListOpenstackNetworksParams) SetUsername(username *string)

SetUsername adds the username to the list openstack networks params

func (*ListOpenstackNetworksParams) WithContext

WithContext adds the context to the list openstack networks params

func (*ListOpenstackNetworksParams) WithCredential

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

WithCredential adds the credential to the list openstack networks params

func (*ListOpenstackNetworksParams) WithDatacenterName

func (o *ListOpenstackNetworksParams) WithDatacenterName(datacenterName *string) *ListOpenstackNetworksParams

WithDatacenterName adds the datacenterName to the list openstack networks params

func (*ListOpenstackNetworksParams) WithDomain

WithDomain adds the domain to the list openstack networks params

func (*ListOpenstackNetworksParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list openstack networks params

func (*ListOpenstackNetworksParams) WithPassword

WithPassword adds the password to the list openstack networks params

func (*ListOpenstackNetworksParams) WithTenant

WithTenant adds the tenant to the list openstack networks params

func (*ListOpenstackNetworksParams) WithTenantID

WithTenantID adds the tenantID to the list openstack networks params

func (*ListOpenstackNetworksParams) WithTimeout

WithTimeout adds the timeout to the list openstack networks params

func (*ListOpenstackNetworksParams) WithUsername

WithUsername adds the username to the list openstack networks params

func (*ListOpenstackNetworksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOpenstackNetworksReader

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

ListOpenstackNetworksReader is a Reader for the ListOpenstackNetworks structure.

func (*ListOpenstackNetworksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOpenstackSecurityGroupsDefault

type ListOpenstackSecurityGroupsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListOpenstackSecurityGroupsDefault handles this case with default header values.

errorResponse

func NewListOpenstackSecurityGroupsDefault

func NewListOpenstackSecurityGroupsDefault(code int) *ListOpenstackSecurityGroupsDefault

NewListOpenstackSecurityGroupsDefault creates a ListOpenstackSecurityGroupsDefault with default headers values

func (*ListOpenstackSecurityGroupsDefault) Code

Code gets the status code for the list openstack security groups default response

func (*ListOpenstackSecurityGroupsDefault) Error

func (*ListOpenstackSecurityGroupsDefault) GetPayload

type ListOpenstackSecurityGroupsNoCredentialsDefault

type ListOpenstackSecurityGroupsNoCredentialsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListOpenstackSecurityGroupsNoCredentialsDefault handles this case with default header values.

errorResponse

func NewListOpenstackSecurityGroupsNoCredentialsDefault

func NewListOpenstackSecurityGroupsNoCredentialsDefault(code int) *ListOpenstackSecurityGroupsNoCredentialsDefault

NewListOpenstackSecurityGroupsNoCredentialsDefault creates a ListOpenstackSecurityGroupsNoCredentialsDefault with default headers values

func (*ListOpenstackSecurityGroupsNoCredentialsDefault) Code

Code gets the status code for the list openstack security groups no credentials default response

func (*ListOpenstackSecurityGroupsNoCredentialsDefault) Error

func (*ListOpenstackSecurityGroupsNoCredentialsDefault) GetPayload

type ListOpenstackSecurityGroupsNoCredentialsOK

type ListOpenstackSecurityGroupsNoCredentialsOK struct {
	Payload []*models.OpenstackSecurityGroup
}

ListOpenstackSecurityGroupsNoCredentialsOK handles this case with default header values.

OpenstackSecurityGroup

func NewListOpenstackSecurityGroupsNoCredentialsOK

func NewListOpenstackSecurityGroupsNoCredentialsOK() *ListOpenstackSecurityGroupsNoCredentialsOK

NewListOpenstackSecurityGroupsNoCredentialsOK creates a ListOpenstackSecurityGroupsNoCredentialsOK with default headers values

func (*ListOpenstackSecurityGroupsNoCredentialsOK) Error

func (*ListOpenstackSecurityGroupsNoCredentialsOK) GetPayload

type ListOpenstackSecurityGroupsNoCredentialsParams

type ListOpenstackSecurityGroupsNoCredentialsParams struct {

	/*ClusterID*/
	ClusterID string
	/*Dc*/
	DC string
	/*ProjectID*/
	ProjectID string

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

ListOpenstackSecurityGroupsNoCredentialsParams contains all the parameters to send to the API endpoint for the list openstack security groups no credentials operation typically these are written to a http.Request

func NewListOpenstackSecurityGroupsNoCredentialsParams

func NewListOpenstackSecurityGroupsNoCredentialsParams() *ListOpenstackSecurityGroupsNoCredentialsParams

NewListOpenstackSecurityGroupsNoCredentialsParams creates a new ListOpenstackSecurityGroupsNoCredentialsParams object with the default values initialized.

func NewListOpenstackSecurityGroupsNoCredentialsParamsWithContext

func NewListOpenstackSecurityGroupsNoCredentialsParamsWithContext(ctx context.Context) *ListOpenstackSecurityGroupsNoCredentialsParams

NewListOpenstackSecurityGroupsNoCredentialsParamsWithContext creates a new ListOpenstackSecurityGroupsNoCredentialsParams object with the default values initialized, and the ability to set a context for a request

func NewListOpenstackSecurityGroupsNoCredentialsParamsWithHTTPClient

func NewListOpenstackSecurityGroupsNoCredentialsParamsWithHTTPClient(client *http.Client) *ListOpenstackSecurityGroupsNoCredentialsParams

NewListOpenstackSecurityGroupsNoCredentialsParamsWithHTTPClient creates a new ListOpenstackSecurityGroupsNoCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListOpenstackSecurityGroupsNoCredentialsParamsWithTimeout

func NewListOpenstackSecurityGroupsNoCredentialsParamsWithTimeout(timeout time.Duration) *ListOpenstackSecurityGroupsNoCredentialsParams

NewListOpenstackSecurityGroupsNoCredentialsParamsWithTimeout creates a new ListOpenstackSecurityGroupsNoCredentialsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListOpenstackSecurityGroupsNoCredentialsParams) SetClusterID

func (o *ListOpenstackSecurityGroupsNoCredentialsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list openstack security groups no credentials params

func (*ListOpenstackSecurityGroupsNoCredentialsParams) SetContext

SetContext adds the context to the list openstack security groups no credentials params

func (*ListOpenstackSecurityGroupsNoCredentialsParams) SetDC

SetDC adds the dc to the list openstack security groups no credentials params

func (*ListOpenstackSecurityGroupsNoCredentialsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the list openstack security groups no credentials params

func (*ListOpenstackSecurityGroupsNoCredentialsParams) SetProjectID

func (o *ListOpenstackSecurityGroupsNoCredentialsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list openstack security groups no credentials params

func (*ListOpenstackSecurityGroupsNoCredentialsParams) SetTimeout

SetTimeout adds the timeout to the list openstack security groups no credentials params

func (*ListOpenstackSecurityGroupsNoCredentialsParams) WithClusterID

WithClusterID adds the clusterID to the list openstack security groups no credentials params

func (*ListOpenstackSecurityGroupsNoCredentialsParams) WithContext

WithContext adds the context to the list openstack security groups no credentials params

func (*ListOpenstackSecurityGroupsNoCredentialsParams) WithDC

WithDC adds the dc to the list openstack security groups no credentials params

func (*ListOpenstackSecurityGroupsNoCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list openstack security groups no credentials params

func (*ListOpenstackSecurityGroupsNoCredentialsParams) WithProjectID

WithProjectID adds the projectID to the list openstack security groups no credentials params

func (*ListOpenstackSecurityGroupsNoCredentialsParams) WithTimeout

WithTimeout adds the timeout to the list openstack security groups no credentials params

func (*ListOpenstackSecurityGroupsNoCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOpenstackSecurityGroupsNoCredentialsReader

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

ListOpenstackSecurityGroupsNoCredentialsReader is a Reader for the ListOpenstackSecurityGroupsNoCredentials structure.

func (*ListOpenstackSecurityGroupsNoCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOpenstackSecurityGroupsOK

type ListOpenstackSecurityGroupsOK struct {
	Payload []*models.OpenstackSecurityGroup
}

ListOpenstackSecurityGroupsOK handles this case with default header values.

OpenstackSecurityGroup

func NewListOpenstackSecurityGroupsOK

func NewListOpenstackSecurityGroupsOK() *ListOpenstackSecurityGroupsOK

NewListOpenstackSecurityGroupsOK creates a ListOpenstackSecurityGroupsOK with default headers values

func (*ListOpenstackSecurityGroupsOK) Error

func (*ListOpenstackSecurityGroupsOK) GetPayload

type ListOpenstackSecurityGroupsParams

type ListOpenstackSecurityGroupsParams struct {

	/*Credential*/
	Credential *string
	/*DatacenterName*/
	DatacenterName *string
	/*Domain*/
	Domain *string
	/*Password*/
	Password *string
	/*Tenant*/
	Tenant *string
	/*TenantID*/
	TenantID *string
	/*Username*/
	Username *string

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

ListOpenstackSecurityGroupsParams contains all the parameters to send to the API endpoint for the list openstack security groups operation typically these are written to a http.Request

func NewListOpenstackSecurityGroupsParams

func NewListOpenstackSecurityGroupsParams() *ListOpenstackSecurityGroupsParams

NewListOpenstackSecurityGroupsParams creates a new ListOpenstackSecurityGroupsParams object with the default values initialized.

func NewListOpenstackSecurityGroupsParamsWithContext

func NewListOpenstackSecurityGroupsParamsWithContext(ctx context.Context) *ListOpenstackSecurityGroupsParams

NewListOpenstackSecurityGroupsParamsWithContext creates a new ListOpenstackSecurityGroupsParams object with the default values initialized, and the ability to set a context for a request

func NewListOpenstackSecurityGroupsParamsWithHTTPClient

func NewListOpenstackSecurityGroupsParamsWithHTTPClient(client *http.Client) *ListOpenstackSecurityGroupsParams

NewListOpenstackSecurityGroupsParamsWithHTTPClient creates a new ListOpenstackSecurityGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListOpenstackSecurityGroupsParamsWithTimeout

func NewListOpenstackSecurityGroupsParamsWithTimeout(timeout time.Duration) *ListOpenstackSecurityGroupsParams

NewListOpenstackSecurityGroupsParamsWithTimeout creates a new ListOpenstackSecurityGroupsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListOpenstackSecurityGroupsParams) SetContext

SetContext adds the context to the list openstack security groups params

func (*ListOpenstackSecurityGroupsParams) SetCredential

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

SetCredential adds the credential to the list openstack security groups params

func (*ListOpenstackSecurityGroupsParams) SetDatacenterName

func (o *ListOpenstackSecurityGroupsParams) SetDatacenterName(datacenterName *string)

SetDatacenterName adds the datacenterName to the list openstack security groups params

func (*ListOpenstackSecurityGroupsParams) SetDomain

func (o *ListOpenstackSecurityGroupsParams) SetDomain(domain *string)

SetDomain adds the domain to the list openstack security groups params

func (*ListOpenstackSecurityGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list openstack security groups params

func (*ListOpenstackSecurityGroupsParams) SetPassword

func (o *ListOpenstackSecurityGroupsParams) SetPassword(password *string)

SetPassword adds the password to the list openstack security groups params

func (*ListOpenstackSecurityGroupsParams) SetTenant

func (o *ListOpenstackSecurityGroupsParams) SetTenant(tenant *string)

SetTenant adds the tenant to the list openstack security groups params

func (*ListOpenstackSecurityGroupsParams) SetTenantID

func (o *ListOpenstackSecurityGroupsParams) SetTenantID(tenantID *string)

SetTenantID adds the tenantId to the list openstack security groups params

func (*ListOpenstackSecurityGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the list openstack security groups params

func (*ListOpenstackSecurityGroupsParams) SetUsername

func (o *ListOpenstackSecurityGroupsParams) SetUsername(username *string)

SetUsername adds the username to the list openstack security groups params

func (*ListOpenstackSecurityGroupsParams) WithContext

WithContext adds the context to the list openstack security groups params

func (*ListOpenstackSecurityGroupsParams) WithCredential

WithCredential adds the credential to the list openstack security groups params

func (*ListOpenstackSecurityGroupsParams) WithDatacenterName

func (o *ListOpenstackSecurityGroupsParams) WithDatacenterName(datacenterName *string) *ListOpenstackSecurityGroupsParams

WithDatacenterName adds the datacenterName to the list openstack security groups params

func (*ListOpenstackSecurityGroupsParams) WithDomain

WithDomain adds the domain to the list openstack security groups params

func (*ListOpenstackSecurityGroupsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list openstack security groups params

func (*ListOpenstackSecurityGroupsParams) WithPassword

WithPassword adds the password to the list openstack security groups params

func (*ListOpenstackSecurityGroupsParams) WithTenant

WithTenant adds the tenant to the list openstack security groups params

func (*ListOpenstackSecurityGroupsParams) WithTenantID

WithTenantID adds the tenantID to the list openstack security groups params

func (*ListOpenstackSecurityGroupsParams) WithTimeout

WithTimeout adds the timeout to the list openstack security groups params

func (*ListOpenstackSecurityGroupsParams) WithUsername

WithUsername adds the username to the list openstack security groups params

func (*ListOpenstackSecurityGroupsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOpenstackSecurityGroupsReader

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

ListOpenstackSecurityGroupsReader is a Reader for the ListOpenstackSecurityGroups structure.

func (*ListOpenstackSecurityGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOpenstackSizesDefault

type ListOpenstackSizesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListOpenstackSizesDefault handles this case with default header values.

errorResponse

func NewListOpenstackSizesDefault

func NewListOpenstackSizesDefault(code int) *ListOpenstackSizesDefault

NewListOpenstackSizesDefault creates a ListOpenstackSizesDefault with default headers values

func (*ListOpenstackSizesDefault) Code

func (o *ListOpenstackSizesDefault) Code() int

Code gets the status code for the list openstack sizes default response

func (*ListOpenstackSizesDefault) Error

func (o *ListOpenstackSizesDefault) Error() string

func (*ListOpenstackSizesDefault) GetPayload

type ListOpenstackSizesNoCredentialsDefault

type ListOpenstackSizesNoCredentialsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListOpenstackSizesNoCredentialsDefault handles this case with default header values.

errorResponse

func NewListOpenstackSizesNoCredentialsDefault

func NewListOpenstackSizesNoCredentialsDefault(code int) *ListOpenstackSizesNoCredentialsDefault

NewListOpenstackSizesNoCredentialsDefault creates a ListOpenstackSizesNoCredentialsDefault with default headers values

func (*ListOpenstackSizesNoCredentialsDefault) Code

Code gets the status code for the list openstack sizes no credentials default response

func (*ListOpenstackSizesNoCredentialsDefault) Error

func (*ListOpenstackSizesNoCredentialsDefault) GetPayload

type ListOpenstackSizesNoCredentialsOK

type ListOpenstackSizesNoCredentialsOK struct {
	Payload []*models.OpenstackSize
}

ListOpenstackSizesNoCredentialsOK handles this case with default header values.

OpenstackSize

func NewListOpenstackSizesNoCredentialsOK

func NewListOpenstackSizesNoCredentialsOK() *ListOpenstackSizesNoCredentialsOK

NewListOpenstackSizesNoCredentialsOK creates a ListOpenstackSizesNoCredentialsOK with default headers values

func (*ListOpenstackSizesNoCredentialsOK) Error

func (*ListOpenstackSizesNoCredentialsOK) GetPayload

type ListOpenstackSizesNoCredentialsParams

type ListOpenstackSizesNoCredentialsParams struct {

	/*ClusterID*/
	ClusterID string
	/*Dc*/
	DC string
	/*ProjectID*/
	ProjectID string

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

ListOpenstackSizesNoCredentialsParams contains all the parameters to send to the API endpoint for the list openstack sizes no credentials operation typically these are written to a http.Request

func NewListOpenstackSizesNoCredentialsParams

func NewListOpenstackSizesNoCredentialsParams() *ListOpenstackSizesNoCredentialsParams

NewListOpenstackSizesNoCredentialsParams creates a new ListOpenstackSizesNoCredentialsParams object with the default values initialized.

func NewListOpenstackSizesNoCredentialsParamsWithContext

func NewListOpenstackSizesNoCredentialsParamsWithContext(ctx context.Context) *ListOpenstackSizesNoCredentialsParams

NewListOpenstackSizesNoCredentialsParamsWithContext creates a new ListOpenstackSizesNoCredentialsParams object with the default values initialized, and the ability to set a context for a request

func NewListOpenstackSizesNoCredentialsParamsWithHTTPClient

func NewListOpenstackSizesNoCredentialsParamsWithHTTPClient(client *http.Client) *ListOpenstackSizesNoCredentialsParams

NewListOpenstackSizesNoCredentialsParamsWithHTTPClient creates a new ListOpenstackSizesNoCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListOpenstackSizesNoCredentialsParamsWithTimeout

func NewListOpenstackSizesNoCredentialsParamsWithTimeout(timeout time.Duration) *ListOpenstackSizesNoCredentialsParams

NewListOpenstackSizesNoCredentialsParamsWithTimeout creates a new ListOpenstackSizesNoCredentialsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListOpenstackSizesNoCredentialsParams) SetClusterID

func (o *ListOpenstackSizesNoCredentialsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list openstack sizes no credentials params

func (*ListOpenstackSizesNoCredentialsParams) SetContext

SetContext adds the context to the list openstack sizes no credentials params

func (*ListOpenstackSizesNoCredentialsParams) SetDC

SetDC adds the dc to the list openstack sizes no credentials params

func (*ListOpenstackSizesNoCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list openstack sizes no credentials params

func (*ListOpenstackSizesNoCredentialsParams) SetProjectID

func (o *ListOpenstackSizesNoCredentialsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list openstack sizes no credentials params

func (*ListOpenstackSizesNoCredentialsParams) SetTimeout

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

SetTimeout adds the timeout to the list openstack sizes no credentials params

func (*ListOpenstackSizesNoCredentialsParams) WithClusterID

WithClusterID adds the clusterID to the list openstack sizes no credentials params

func (*ListOpenstackSizesNoCredentialsParams) WithContext

WithContext adds the context to the list openstack sizes no credentials params

func (*ListOpenstackSizesNoCredentialsParams) WithDC

WithDC adds the dc to the list openstack sizes no credentials params

func (*ListOpenstackSizesNoCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list openstack sizes no credentials params

func (*ListOpenstackSizesNoCredentialsParams) WithProjectID

WithProjectID adds the projectID to the list openstack sizes no credentials params

func (*ListOpenstackSizesNoCredentialsParams) WithTimeout

WithTimeout adds the timeout to the list openstack sizes no credentials params

func (*ListOpenstackSizesNoCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOpenstackSizesNoCredentialsReader

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

ListOpenstackSizesNoCredentialsReader is a Reader for the ListOpenstackSizesNoCredentials structure.

func (*ListOpenstackSizesNoCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOpenstackSizesOK

type ListOpenstackSizesOK struct {
	Payload []*models.OpenstackSize
}

ListOpenstackSizesOK handles this case with default header values.

OpenstackSize

func NewListOpenstackSizesOK

func NewListOpenstackSizesOK() *ListOpenstackSizesOK

NewListOpenstackSizesOK creates a ListOpenstackSizesOK with default headers values

func (*ListOpenstackSizesOK) Error

func (o *ListOpenstackSizesOK) Error() string

func (*ListOpenstackSizesOK) GetPayload

func (o *ListOpenstackSizesOK) GetPayload() []*models.OpenstackSize

type ListOpenstackSizesParams

type ListOpenstackSizesParams struct {

	/*Credential*/
	Credential *string
	/*DatacenterName*/
	DatacenterName *string
	/*Domain*/
	Domain *string
	/*Password*/
	Password *string
	/*Tenant*/
	Tenant *string
	/*TenantID*/
	TenantID *string
	/*Username*/
	Username *string

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

ListOpenstackSizesParams contains all the parameters to send to the API endpoint for the list openstack sizes operation typically these are written to a http.Request

func NewListOpenstackSizesParams

func NewListOpenstackSizesParams() *ListOpenstackSizesParams

NewListOpenstackSizesParams creates a new ListOpenstackSizesParams object with the default values initialized.

func NewListOpenstackSizesParamsWithContext

func NewListOpenstackSizesParamsWithContext(ctx context.Context) *ListOpenstackSizesParams

NewListOpenstackSizesParamsWithContext creates a new ListOpenstackSizesParams object with the default values initialized, and the ability to set a context for a request

func NewListOpenstackSizesParamsWithHTTPClient

func NewListOpenstackSizesParamsWithHTTPClient(client *http.Client) *ListOpenstackSizesParams

NewListOpenstackSizesParamsWithHTTPClient creates a new ListOpenstackSizesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListOpenstackSizesParamsWithTimeout

func NewListOpenstackSizesParamsWithTimeout(timeout time.Duration) *ListOpenstackSizesParams

NewListOpenstackSizesParamsWithTimeout creates a new ListOpenstackSizesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListOpenstackSizesParams) SetContext

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

SetContext adds the context to the list openstack sizes params

func (*ListOpenstackSizesParams) SetCredential

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

SetCredential adds the credential to the list openstack sizes params

func (*ListOpenstackSizesParams) SetDatacenterName

func (o *ListOpenstackSizesParams) SetDatacenterName(datacenterName *string)

SetDatacenterName adds the datacenterName to the list openstack sizes params

func (*ListOpenstackSizesParams) SetDomain

func (o *ListOpenstackSizesParams) SetDomain(domain *string)

SetDomain adds the domain to the list openstack sizes params

func (*ListOpenstackSizesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list openstack sizes params

func (*ListOpenstackSizesParams) SetPassword

func (o *ListOpenstackSizesParams) SetPassword(password *string)

SetPassword adds the password to the list openstack sizes params

func (*ListOpenstackSizesParams) SetTenant

func (o *ListOpenstackSizesParams) SetTenant(tenant *string)

SetTenant adds the tenant to the list openstack sizes params

func (*ListOpenstackSizesParams) SetTenantID

func (o *ListOpenstackSizesParams) SetTenantID(tenantID *string)

SetTenantID adds the tenantId to the list openstack sizes params

func (*ListOpenstackSizesParams) SetTimeout

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

SetTimeout adds the timeout to the list openstack sizes params

func (*ListOpenstackSizesParams) SetUsername

func (o *ListOpenstackSizesParams) SetUsername(username *string)

SetUsername adds the username to the list openstack sizes params

func (*ListOpenstackSizesParams) WithContext

WithContext adds the context to the list openstack sizes params

func (*ListOpenstackSizesParams) WithCredential

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

WithCredential adds the credential to the list openstack sizes params

func (*ListOpenstackSizesParams) WithDatacenterName

func (o *ListOpenstackSizesParams) WithDatacenterName(datacenterName *string) *ListOpenstackSizesParams

WithDatacenterName adds the datacenterName to the list openstack sizes params

func (*ListOpenstackSizesParams) WithDomain

WithDomain adds the domain to the list openstack sizes params

func (*ListOpenstackSizesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list openstack sizes params

func (*ListOpenstackSizesParams) WithPassword

func (o *ListOpenstackSizesParams) WithPassword(password *string) *ListOpenstackSizesParams

WithPassword adds the password to the list openstack sizes params

func (*ListOpenstackSizesParams) WithTenant

WithTenant adds the tenant to the list openstack sizes params

func (*ListOpenstackSizesParams) WithTenantID

func (o *ListOpenstackSizesParams) WithTenantID(tenantID *string) *ListOpenstackSizesParams

WithTenantID adds the tenantID to the list openstack sizes params

func (*ListOpenstackSizesParams) WithTimeout

WithTimeout adds the timeout to the list openstack sizes params

func (*ListOpenstackSizesParams) WithUsername

func (o *ListOpenstackSizesParams) WithUsername(username *string) *ListOpenstackSizesParams

WithUsername adds the username to the list openstack sizes params

func (*ListOpenstackSizesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOpenstackSizesReader

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

ListOpenstackSizesReader is a Reader for the ListOpenstackSizes structure.

func (*ListOpenstackSizesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOpenstackSubnetsDefault

type ListOpenstackSubnetsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListOpenstackSubnetsDefault handles this case with default header values.

errorResponse

func NewListOpenstackSubnetsDefault

func NewListOpenstackSubnetsDefault(code int) *ListOpenstackSubnetsDefault

NewListOpenstackSubnetsDefault creates a ListOpenstackSubnetsDefault with default headers values

func (*ListOpenstackSubnetsDefault) Code

func (o *ListOpenstackSubnetsDefault) Code() int

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

func (*ListOpenstackSubnetsDefault) Error

func (*ListOpenstackSubnetsDefault) GetPayload

type ListOpenstackSubnetsNoCredentialsDefault

type ListOpenstackSubnetsNoCredentialsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListOpenstackSubnetsNoCredentialsDefault handles this case with default header values.

errorResponse

func NewListOpenstackSubnetsNoCredentialsDefault

func NewListOpenstackSubnetsNoCredentialsDefault(code int) *ListOpenstackSubnetsNoCredentialsDefault

NewListOpenstackSubnetsNoCredentialsDefault creates a ListOpenstackSubnetsNoCredentialsDefault with default headers values

func (*ListOpenstackSubnetsNoCredentialsDefault) Code

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

func (*ListOpenstackSubnetsNoCredentialsDefault) Error

func (*ListOpenstackSubnetsNoCredentialsDefault) GetPayload

type ListOpenstackSubnetsNoCredentialsOK

type ListOpenstackSubnetsNoCredentialsOK struct {
	Payload []*models.OpenstackSubnet
}

ListOpenstackSubnetsNoCredentialsOK handles this case with default header values.

OpenstackSubnet

func NewListOpenstackSubnetsNoCredentialsOK

func NewListOpenstackSubnetsNoCredentialsOK() *ListOpenstackSubnetsNoCredentialsOK

NewListOpenstackSubnetsNoCredentialsOK creates a ListOpenstackSubnetsNoCredentialsOK with default headers values

func (*ListOpenstackSubnetsNoCredentialsOK) Error

func (*ListOpenstackSubnetsNoCredentialsOK) GetPayload

type ListOpenstackSubnetsNoCredentialsParams

type ListOpenstackSubnetsNoCredentialsParams struct {

	/*ClusterID*/
	ClusterID string
	/*Dc*/
	DC string
	/*NetworkID*/
	NetworkID *string
	/*ProjectID*/
	ProjectID string

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

ListOpenstackSubnetsNoCredentialsParams contains all the parameters to send to the API endpoint for the list openstack subnets no credentials operation typically these are written to a http.Request

func NewListOpenstackSubnetsNoCredentialsParams

func NewListOpenstackSubnetsNoCredentialsParams() *ListOpenstackSubnetsNoCredentialsParams

NewListOpenstackSubnetsNoCredentialsParams creates a new ListOpenstackSubnetsNoCredentialsParams object with the default values initialized.

func NewListOpenstackSubnetsNoCredentialsParamsWithContext

func NewListOpenstackSubnetsNoCredentialsParamsWithContext(ctx context.Context) *ListOpenstackSubnetsNoCredentialsParams

NewListOpenstackSubnetsNoCredentialsParamsWithContext creates a new ListOpenstackSubnetsNoCredentialsParams object with the default values initialized, and the ability to set a context for a request

func NewListOpenstackSubnetsNoCredentialsParamsWithHTTPClient

func NewListOpenstackSubnetsNoCredentialsParamsWithHTTPClient(client *http.Client) *ListOpenstackSubnetsNoCredentialsParams

NewListOpenstackSubnetsNoCredentialsParamsWithHTTPClient creates a new ListOpenstackSubnetsNoCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListOpenstackSubnetsNoCredentialsParamsWithTimeout

func NewListOpenstackSubnetsNoCredentialsParamsWithTimeout(timeout time.Duration) *ListOpenstackSubnetsNoCredentialsParams

NewListOpenstackSubnetsNoCredentialsParamsWithTimeout creates a new ListOpenstackSubnetsNoCredentialsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListOpenstackSubnetsNoCredentialsParams) SetClusterID

func (o *ListOpenstackSubnetsNoCredentialsParams) SetClusterID(clusterID string)

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

func (*ListOpenstackSubnetsNoCredentialsParams) SetContext

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

func (*ListOpenstackSubnetsNoCredentialsParams) SetDC

SetDC adds the dc to the list openstack subnets no credentials params

func (*ListOpenstackSubnetsNoCredentialsParams) SetHTTPClient

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

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

func (*ListOpenstackSubnetsNoCredentialsParams) SetNetworkID

func (o *ListOpenstackSubnetsNoCredentialsParams) SetNetworkID(networkID *string)

SetNetworkID adds the networkId to the list openstack subnets no credentials params

func (*ListOpenstackSubnetsNoCredentialsParams) SetProjectID

func (o *ListOpenstackSubnetsNoCredentialsParams) SetProjectID(projectID string)

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

func (*ListOpenstackSubnetsNoCredentialsParams) SetTimeout

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

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

func (*ListOpenstackSubnetsNoCredentialsParams) WithClusterID

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

func (*ListOpenstackSubnetsNoCredentialsParams) WithContext

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

func (*ListOpenstackSubnetsNoCredentialsParams) WithDC

WithDC adds the dc to the list openstack subnets no credentials params

func (*ListOpenstackSubnetsNoCredentialsParams) WithHTTPClient

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

func (*ListOpenstackSubnetsNoCredentialsParams) WithNetworkID

WithNetworkID adds the networkID to the list openstack subnets no credentials params

func (*ListOpenstackSubnetsNoCredentialsParams) WithProjectID

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

func (*ListOpenstackSubnetsNoCredentialsParams) WithTimeout

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

func (*ListOpenstackSubnetsNoCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOpenstackSubnetsNoCredentialsReader

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

ListOpenstackSubnetsNoCredentialsReader is a Reader for the ListOpenstackSubnetsNoCredentials structure.

func (*ListOpenstackSubnetsNoCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOpenstackSubnetsOK

type ListOpenstackSubnetsOK struct {
	Payload []*models.OpenstackSubnet
}

ListOpenstackSubnetsOK handles this case with default header values.

OpenstackSubnet

func NewListOpenstackSubnetsOK

func NewListOpenstackSubnetsOK() *ListOpenstackSubnetsOK

NewListOpenstackSubnetsOK creates a ListOpenstackSubnetsOK with default headers values

func (*ListOpenstackSubnetsOK) Error

func (o *ListOpenstackSubnetsOK) Error() string

func (*ListOpenstackSubnetsOK) GetPayload

func (o *ListOpenstackSubnetsOK) GetPayload() []*models.OpenstackSubnet

type ListOpenstackSubnetsParams

type ListOpenstackSubnetsParams struct {

	/*Credential*/
	Credential *string
	/*DatacenterName*/
	DatacenterName *string
	/*Domain*/
	Domain *string
	/*Password*/
	Password *string
	/*Tenant*/
	Tenant *string
	/*TenantID*/
	TenantID *string
	/*Username*/
	Username *string
	/*NetworkID*/
	NetworkID *string

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

ListOpenstackSubnetsParams contains all the parameters to send to the API endpoint for the list openstack subnets operation typically these are written to a http.Request

func NewListOpenstackSubnetsParams

func NewListOpenstackSubnetsParams() *ListOpenstackSubnetsParams

NewListOpenstackSubnetsParams creates a new ListOpenstackSubnetsParams object with the default values initialized.

func NewListOpenstackSubnetsParamsWithContext

func NewListOpenstackSubnetsParamsWithContext(ctx context.Context) *ListOpenstackSubnetsParams

NewListOpenstackSubnetsParamsWithContext creates a new ListOpenstackSubnetsParams object with the default values initialized, and the ability to set a context for a request

func NewListOpenstackSubnetsParamsWithHTTPClient

func NewListOpenstackSubnetsParamsWithHTTPClient(client *http.Client) *ListOpenstackSubnetsParams

NewListOpenstackSubnetsParamsWithHTTPClient creates a new ListOpenstackSubnetsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListOpenstackSubnetsParamsWithTimeout

func NewListOpenstackSubnetsParamsWithTimeout(timeout time.Duration) *ListOpenstackSubnetsParams

NewListOpenstackSubnetsParamsWithTimeout creates a new ListOpenstackSubnetsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListOpenstackSubnetsParams) SetContext

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

SetContext adds the context to the list openstack subnets params

func (*ListOpenstackSubnetsParams) SetCredential

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

SetCredential adds the credential to the list openstack subnets params

func (*ListOpenstackSubnetsParams) SetDatacenterName

func (o *ListOpenstackSubnetsParams) SetDatacenterName(datacenterName *string)

SetDatacenterName adds the datacenterName to the list openstack subnets params

func (*ListOpenstackSubnetsParams) SetDomain

func (o *ListOpenstackSubnetsParams) SetDomain(domain *string)

SetDomain adds the domain to the list openstack subnets params

func (*ListOpenstackSubnetsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list openstack subnets params

func (*ListOpenstackSubnetsParams) SetNetworkID

func (o *ListOpenstackSubnetsParams) SetNetworkID(networkID *string)

SetNetworkID adds the networkId to the list openstack subnets params

func (*ListOpenstackSubnetsParams) SetPassword

func (o *ListOpenstackSubnetsParams) SetPassword(password *string)

SetPassword adds the password to the list openstack subnets params

func (*ListOpenstackSubnetsParams) SetTenant

func (o *ListOpenstackSubnetsParams) SetTenant(tenant *string)

SetTenant adds the tenant to the list openstack subnets params

func (*ListOpenstackSubnetsParams) SetTenantID

func (o *ListOpenstackSubnetsParams) SetTenantID(tenantID *string)

SetTenantID adds the tenantId to the list openstack subnets params

func (*ListOpenstackSubnetsParams) SetTimeout

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

SetTimeout adds the timeout to the list openstack subnets params

func (*ListOpenstackSubnetsParams) SetUsername

func (o *ListOpenstackSubnetsParams) SetUsername(username *string)

SetUsername adds the username to the list openstack subnets params

func (*ListOpenstackSubnetsParams) WithContext

WithContext adds the context to the list openstack subnets params

func (*ListOpenstackSubnetsParams) WithCredential

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

WithCredential adds the credential to the list openstack subnets params

func (*ListOpenstackSubnetsParams) WithDatacenterName

func (o *ListOpenstackSubnetsParams) WithDatacenterName(datacenterName *string) *ListOpenstackSubnetsParams

WithDatacenterName adds the datacenterName to the list openstack subnets params

func (*ListOpenstackSubnetsParams) WithDomain

WithDomain adds the domain to the list openstack subnets params

func (*ListOpenstackSubnetsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list openstack subnets params

func (*ListOpenstackSubnetsParams) WithNetworkID

func (o *ListOpenstackSubnetsParams) WithNetworkID(networkID *string) *ListOpenstackSubnetsParams

WithNetworkID adds the networkID to the list openstack subnets params

func (*ListOpenstackSubnetsParams) WithPassword

func (o *ListOpenstackSubnetsParams) WithPassword(password *string) *ListOpenstackSubnetsParams

WithPassword adds the password to the list openstack subnets params

func (*ListOpenstackSubnetsParams) WithTenant

WithTenant adds the tenant to the list openstack subnets params

func (*ListOpenstackSubnetsParams) WithTenantID

func (o *ListOpenstackSubnetsParams) WithTenantID(tenantID *string) *ListOpenstackSubnetsParams

WithTenantID adds the tenantID to the list openstack subnets params

func (*ListOpenstackSubnetsParams) WithTimeout

WithTimeout adds the timeout to the list openstack subnets params

func (*ListOpenstackSubnetsParams) WithUsername

func (o *ListOpenstackSubnetsParams) WithUsername(username *string) *ListOpenstackSubnetsParams

WithUsername adds the username to the list openstack subnets params

func (*ListOpenstackSubnetsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOpenstackSubnetsReader

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

ListOpenstackSubnetsReader is a Reader for the ListOpenstackSubnets structure.

func (*ListOpenstackSubnetsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOpenstackTenantsDefault

type ListOpenstackTenantsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListOpenstackTenantsDefault handles this case with default header values.

errorResponse

func NewListOpenstackTenantsDefault

func NewListOpenstackTenantsDefault(code int) *ListOpenstackTenantsDefault

NewListOpenstackTenantsDefault creates a ListOpenstackTenantsDefault with default headers values

func (*ListOpenstackTenantsDefault) Code

func (o *ListOpenstackTenantsDefault) Code() int

Code gets the status code for the list openstack tenants default response

func (*ListOpenstackTenantsDefault) Error

func (*ListOpenstackTenantsDefault) GetPayload

type ListOpenstackTenantsNoCredentialsDefault

type ListOpenstackTenantsNoCredentialsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListOpenstackTenantsNoCredentialsDefault handles this case with default header values.

errorResponse

func NewListOpenstackTenantsNoCredentialsDefault

func NewListOpenstackTenantsNoCredentialsDefault(code int) *ListOpenstackTenantsNoCredentialsDefault

NewListOpenstackTenantsNoCredentialsDefault creates a ListOpenstackTenantsNoCredentialsDefault with default headers values

func (*ListOpenstackTenantsNoCredentialsDefault) Code

Code gets the status code for the list openstack tenants no credentials default response

func (*ListOpenstackTenantsNoCredentialsDefault) Error

func (*ListOpenstackTenantsNoCredentialsDefault) GetPayload

type ListOpenstackTenantsNoCredentialsOK

type ListOpenstackTenantsNoCredentialsOK struct {
	Payload []*models.OpenstackTenant
}

ListOpenstackTenantsNoCredentialsOK handles this case with default header values.

OpenstackTenant

func NewListOpenstackTenantsNoCredentialsOK

func NewListOpenstackTenantsNoCredentialsOK() *ListOpenstackTenantsNoCredentialsOK

NewListOpenstackTenantsNoCredentialsOK creates a ListOpenstackTenantsNoCredentialsOK with default headers values

func (*ListOpenstackTenantsNoCredentialsOK) Error

func (*ListOpenstackTenantsNoCredentialsOK) GetPayload

type ListOpenstackTenantsNoCredentialsParams

type ListOpenstackTenantsNoCredentialsParams struct {

	/*ClusterID*/
	ClusterID string
	/*Dc*/
	DC string
	/*ProjectID*/
	ProjectID string

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

ListOpenstackTenantsNoCredentialsParams contains all the parameters to send to the API endpoint for the list openstack tenants no credentials operation typically these are written to a http.Request

func NewListOpenstackTenantsNoCredentialsParams

func NewListOpenstackTenantsNoCredentialsParams() *ListOpenstackTenantsNoCredentialsParams

NewListOpenstackTenantsNoCredentialsParams creates a new ListOpenstackTenantsNoCredentialsParams object with the default values initialized.

func NewListOpenstackTenantsNoCredentialsParamsWithContext

func NewListOpenstackTenantsNoCredentialsParamsWithContext(ctx context.Context) *ListOpenstackTenantsNoCredentialsParams

NewListOpenstackTenantsNoCredentialsParamsWithContext creates a new ListOpenstackTenantsNoCredentialsParams object with the default values initialized, and the ability to set a context for a request

func NewListOpenstackTenantsNoCredentialsParamsWithHTTPClient

func NewListOpenstackTenantsNoCredentialsParamsWithHTTPClient(client *http.Client) *ListOpenstackTenantsNoCredentialsParams

NewListOpenstackTenantsNoCredentialsParamsWithHTTPClient creates a new ListOpenstackTenantsNoCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListOpenstackTenantsNoCredentialsParamsWithTimeout

func NewListOpenstackTenantsNoCredentialsParamsWithTimeout(timeout time.Duration) *ListOpenstackTenantsNoCredentialsParams

NewListOpenstackTenantsNoCredentialsParamsWithTimeout creates a new ListOpenstackTenantsNoCredentialsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListOpenstackTenantsNoCredentialsParams) SetClusterID

func (o *ListOpenstackTenantsNoCredentialsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list openstack tenants no credentials params

func (*ListOpenstackTenantsNoCredentialsParams) SetContext

SetContext adds the context to the list openstack tenants no credentials params

func (*ListOpenstackTenantsNoCredentialsParams) SetDC

SetDC adds the dc to the list openstack tenants no credentials params

func (*ListOpenstackTenantsNoCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list openstack tenants no credentials params

func (*ListOpenstackTenantsNoCredentialsParams) SetProjectID

func (o *ListOpenstackTenantsNoCredentialsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list openstack tenants no credentials params

func (*ListOpenstackTenantsNoCredentialsParams) SetTimeout

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

SetTimeout adds the timeout to the list openstack tenants no credentials params

func (*ListOpenstackTenantsNoCredentialsParams) WithClusterID

WithClusterID adds the clusterID to the list openstack tenants no credentials params

func (*ListOpenstackTenantsNoCredentialsParams) WithContext

WithContext adds the context to the list openstack tenants no credentials params

func (*ListOpenstackTenantsNoCredentialsParams) WithDC

WithDC adds the dc to the list openstack tenants no credentials params

func (*ListOpenstackTenantsNoCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list openstack tenants no credentials params

func (*ListOpenstackTenantsNoCredentialsParams) WithProjectID

WithProjectID adds the projectID to the list openstack tenants no credentials params

func (*ListOpenstackTenantsNoCredentialsParams) WithTimeout

WithTimeout adds the timeout to the list openstack tenants no credentials params

func (*ListOpenstackTenantsNoCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOpenstackTenantsNoCredentialsReader

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

ListOpenstackTenantsNoCredentialsReader is a Reader for the ListOpenstackTenantsNoCredentials structure.

func (*ListOpenstackTenantsNoCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOpenstackTenantsOK

type ListOpenstackTenantsOK struct {
	Payload []*models.OpenstackTenant
}

ListOpenstackTenantsOK handles this case with default header values.

OpenstackTenant

func NewListOpenstackTenantsOK

func NewListOpenstackTenantsOK() *ListOpenstackTenantsOK

NewListOpenstackTenantsOK creates a ListOpenstackTenantsOK with default headers values

func (*ListOpenstackTenantsOK) Error

func (o *ListOpenstackTenantsOK) Error() string

func (*ListOpenstackTenantsOK) GetPayload

func (o *ListOpenstackTenantsOK) GetPayload() []*models.OpenstackTenant

type ListOpenstackTenantsParams

type ListOpenstackTenantsParams struct {

	/*Credential*/
	Credential *string
	/*DatacenterName*/
	DatacenterName *string
	/*Domain*/
	Domain *string
	/*Password*/
	Password *string
	/*Username*/
	Username *string

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

ListOpenstackTenantsParams contains all the parameters to send to the API endpoint for the list openstack tenants operation typically these are written to a http.Request

func NewListOpenstackTenantsParams

func NewListOpenstackTenantsParams() *ListOpenstackTenantsParams

NewListOpenstackTenantsParams creates a new ListOpenstackTenantsParams object with the default values initialized.

func NewListOpenstackTenantsParamsWithContext

func NewListOpenstackTenantsParamsWithContext(ctx context.Context) *ListOpenstackTenantsParams

NewListOpenstackTenantsParamsWithContext creates a new ListOpenstackTenantsParams object with the default values initialized, and the ability to set a context for a request

func NewListOpenstackTenantsParamsWithHTTPClient

func NewListOpenstackTenantsParamsWithHTTPClient(client *http.Client) *ListOpenstackTenantsParams

NewListOpenstackTenantsParamsWithHTTPClient creates a new ListOpenstackTenantsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListOpenstackTenantsParamsWithTimeout

func NewListOpenstackTenantsParamsWithTimeout(timeout time.Duration) *ListOpenstackTenantsParams

NewListOpenstackTenantsParamsWithTimeout creates a new ListOpenstackTenantsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListOpenstackTenantsParams) SetContext

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

SetContext adds the context to the list openstack tenants params

func (*ListOpenstackTenantsParams) SetCredential

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

SetCredential adds the credential to the list openstack tenants params

func (*ListOpenstackTenantsParams) SetDatacenterName

func (o *ListOpenstackTenantsParams) SetDatacenterName(datacenterName *string)

SetDatacenterName adds the datacenterName to the list openstack tenants params

func (*ListOpenstackTenantsParams) SetDomain

func (o *ListOpenstackTenantsParams) SetDomain(domain *string)

SetDomain adds the domain to the list openstack tenants params

func (*ListOpenstackTenantsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list openstack tenants params

func (*ListOpenstackTenantsParams) SetPassword

func (o *ListOpenstackTenantsParams) SetPassword(password *string)

SetPassword adds the password to the list openstack tenants params

func (*ListOpenstackTenantsParams) SetTimeout

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

SetTimeout adds the timeout to the list openstack tenants params

func (*ListOpenstackTenantsParams) SetUsername

func (o *ListOpenstackTenantsParams) SetUsername(username *string)

SetUsername adds the username to the list openstack tenants params

func (*ListOpenstackTenantsParams) WithContext

WithContext adds the context to the list openstack tenants params

func (*ListOpenstackTenantsParams) WithCredential

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

WithCredential adds the credential to the list openstack tenants params

func (*ListOpenstackTenantsParams) WithDatacenterName

func (o *ListOpenstackTenantsParams) WithDatacenterName(datacenterName *string) *ListOpenstackTenantsParams

WithDatacenterName adds the datacenterName to the list openstack tenants params

func (*ListOpenstackTenantsParams) WithDomain

WithDomain adds the domain to the list openstack tenants params

func (*ListOpenstackTenantsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list openstack tenants params

func (*ListOpenstackTenantsParams) WithPassword

func (o *ListOpenstackTenantsParams) WithPassword(password *string) *ListOpenstackTenantsParams

WithPassword adds the password to the list openstack tenants params

func (*ListOpenstackTenantsParams) WithTimeout

WithTimeout adds the timeout to the list openstack tenants params

func (*ListOpenstackTenantsParams) WithUsername

func (o *ListOpenstackTenantsParams) WithUsername(username *string) *ListOpenstackTenantsParams

WithUsername adds the username to the list openstack tenants params

func (*ListOpenstackTenantsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOpenstackTenantsReader

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

ListOpenstackTenantsReader is a Reader for the ListOpenstackTenants structure.

func (*ListOpenstackTenantsReader) ReadResponse

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