aws

package
v0.0.0-...-192cafe Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for aws API

func (*Client) ListAWSSecurityGroups

func (a *Client) ListAWSSecurityGroups(params *ListAWSSecurityGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAWSSecurityGroupsOK, error)

ListAWSSecurityGroups Lists available AWS Security Groups

func (*Client) ListAWSSizes

func (a *Client) ListAWSSizes(params *ListAWSSizesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAWSSizesOK, error)

ListAWSSizes lists available a w s sizes

func (*Client) ListAWSSizesNoCredentials

func (a *Client) ListAWSSizesNoCredentials(params *ListAWSSizesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAWSSizesNoCredentialsOK, error)

ListAWSSizesNoCredentials Lists available AWS sizes

func (*Client) ListAWSSizesNoCredentialsV2

func (a *Client) ListAWSSizesNoCredentialsV2(params *ListAWSSizesNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAWSSizesNoCredentialsV2OK, error)

ListAWSSizesNoCredentialsV2 Lists available AWS sizes

func (*Client) ListAWSSubnets

func (a *Client) ListAWSSubnets(params *ListAWSSubnetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAWSSubnetsOK, error)

ListAWSSubnets Lists available AWS subnets

func (*Client) ListAWSSubnetsNoCredentials

func (a *Client) ListAWSSubnetsNoCredentials(params *ListAWSSubnetsNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAWSSubnetsNoCredentialsOK, error)

ListAWSSubnetsNoCredentials Lists available AWS subnets

func (*Client) ListAWSSubnetsNoCredentialsV2

func (a *Client) ListAWSSubnetsNoCredentialsV2(params *ListAWSSubnetsNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAWSSubnetsNoCredentialsV2OK, error)

ListAWSSubnetsNoCredentialsV2 Lists available AWS subnets

func (*Client) ListAWSVPCS

func (a *Client) ListAWSVPCS(params *ListAWSVPCSParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAWSVPCSOK, error)

ListAWSVPCS Lists available AWS vpc's

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 {
	ListAWSSecurityGroups(params *ListAWSSecurityGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAWSSecurityGroupsOK, error)

	ListAWSSizes(params *ListAWSSizesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAWSSizesOK, error)

	ListAWSSizesNoCredentials(params *ListAWSSizesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAWSSizesNoCredentialsOK, error)

	ListAWSSizesNoCredentialsV2(params *ListAWSSizesNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAWSSizesNoCredentialsV2OK, error)

	ListAWSSubnets(params *ListAWSSubnetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAWSSubnetsOK, error)

	ListAWSSubnetsNoCredentials(params *ListAWSSubnetsNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAWSSubnetsNoCredentialsOK, error)

	ListAWSSubnetsNoCredentialsV2(params *ListAWSSubnetsNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAWSSubnetsNoCredentialsV2OK, error)

	ListAWSVPCS(params *ListAWSVPCSParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAWSVPCSOK, 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 aws API client.

type ListAWSSecurityGroupsDefault

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

errorResponse

func NewListAWSSecurityGroupsDefault

func NewListAWSSecurityGroupsDefault(code int) *ListAWSSecurityGroupsDefault

NewListAWSSecurityGroupsDefault creates a ListAWSSecurityGroupsDefault with default headers values

func (*ListAWSSecurityGroupsDefault) Code

Code gets the status code for the list a w s security groups default response

func (*ListAWSSecurityGroupsDefault) Error

func (*ListAWSSecurityGroupsDefault) GetPayload

type ListAWSSecurityGroupsOK

type ListAWSSecurityGroupsOK struct {
	Payload *models.AWSSecurityGroupList
}
ListAWSSecurityGroupsOK describes a response with status code 200, with default header values.

AWSSecurityGroupList

func NewListAWSSecurityGroupsOK

func NewListAWSSecurityGroupsOK() *ListAWSSecurityGroupsOK

NewListAWSSecurityGroupsOK creates a ListAWSSecurityGroupsOK with default headers values

func (*ListAWSSecurityGroupsOK) Error

func (o *ListAWSSecurityGroupsOK) Error() string

func (*ListAWSSecurityGroupsOK) GetPayload

type ListAWSSecurityGroupsParams

type ListAWSSecurityGroupsParams struct {

	// AccessKeyID.
	AccessKeyID *string

	// Credential.
	Credential *string

	// SecretAccessKey.
	SecretAccessKey *string

	// Dc.
	DC string

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

ListAWSSecurityGroupsParams contains all the parameters to send to the API endpoint

for the list a w s security groups operation.

Typically these are written to a http.Request.

func NewListAWSSecurityGroupsParams

func NewListAWSSecurityGroupsParams() *ListAWSSecurityGroupsParams

NewListAWSSecurityGroupsParams creates a new ListAWSSecurityGroupsParams 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 NewListAWSSecurityGroupsParamsWithContext

func NewListAWSSecurityGroupsParamsWithContext(ctx context.Context) *ListAWSSecurityGroupsParams

NewListAWSSecurityGroupsParamsWithContext creates a new ListAWSSecurityGroupsParams object with the ability to set a context for a request.

func NewListAWSSecurityGroupsParamsWithHTTPClient

func NewListAWSSecurityGroupsParamsWithHTTPClient(client *http.Client) *ListAWSSecurityGroupsParams

NewListAWSSecurityGroupsParamsWithHTTPClient creates a new ListAWSSecurityGroupsParams object with the ability to set a custom HTTPClient for a request.

func NewListAWSSecurityGroupsParamsWithTimeout

func NewListAWSSecurityGroupsParamsWithTimeout(timeout time.Duration) *ListAWSSecurityGroupsParams

NewListAWSSecurityGroupsParamsWithTimeout creates a new ListAWSSecurityGroupsParams object with the ability to set a timeout on a request.

func (*ListAWSSecurityGroupsParams) SetAccessKeyID

func (o *ListAWSSecurityGroupsParams) SetAccessKeyID(accessKeyID *string)

SetAccessKeyID adds the accessKeyId to the list a w s security groups params

func (*ListAWSSecurityGroupsParams) SetContext

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

SetContext adds the context to the list a w s security groups params

func (*ListAWSSecurityGroupsParams) SetCredential

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

SetCredential adds the credential to the list a w s security groups params

func (*ListAWSSecurityGroupsParams) SetDC

func (o *ListAWSSecurityGroupsParams) SetDC(dc string)

SetDC adds the dc to the list a w s security groups params

func (*ListAWSSecurityGroupsParams) SetDefaults

func (o *ListAWSSecurityGroupsParams) SetDefaults()

SetDefaults hydrates default values in the list a w s security groups params (not the query body).

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

func (*ListAWSSecurityGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list a w s security groups params

func (*ListAWSSecurityGroupsParams) SetSecretAccessKey

func (o *ListAWSSecurityGroupsParams) SetSecretAccessKey(secretAccessKey *string)

SetSecretAccessKey adds the secretAccessKey to the list a w s security groups params

func (*ListAWSSecurityGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the list a w s security groups params

func (*ListAWSSecurityGroupsParams) WithAccessKeyID

func (o *ListAWSSecurityGroupsParams) WithAccessKeyID(accessKeyID *string) *ListAWSSecurityGroupsParams

WithAccessKeyID adds the accessKeyID to the list a w s security groups params

func (*ListAWSSecurityGroupsParams) WithContext

WithContext adds the context to the list a w s security groups params

func (*ListAWSSecurityGroupsParams) WithCredential

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

WithCredential adds the credential to the list a w s security groups params

func (*ListAWSSecurityGroupsParams) WithDC

WithDC adds the dc to the list a w s security groups params

func (*ListAWSSecurityGroupsParams) WithDefaults

WithDefaults hydrates default values in the list a w s security groups params (not the query body).

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

func (*ListAWSSecurityGroupsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list a w s security groups params

func (*ListAWSSecurityGroupsParams) WithSecretAccessKey

func (o *ListAWSSecurityGroupsParams) WithSecretAccessKey(secretAccessKey *string) *ListAWSSecurityGroupsParams

WithSecretAccessKey adds the secretAccessKey to the list a w s security groups params

func (*ListAWSSecurityGroupsParams) WithTimeout

WithTimeout adds the timeout to the list a w s security groups params

func (*ListAWSSecurityGroupsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAWSSecurityGroupsReader

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

ListAWSSecurityGroupsReader is a Reader for the ListAWSSecurityGroups structure.

func (*ListAWSSecurityGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAWSSizesDefault

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

errorResponse

func NewListAWSSizesDefault

func NewListAWSSizesDefault(code int) *ListAWSSizesDefault

NewListAWSSizesDefault creates a ListAWSSizesDefault with default headers values

func (*ListAWSSizesDefault) Code

func (o *ListAWSSizesDefault) Code() int

Code gets the status code for the list a w s sizes default response

func (*ListAWSSizesDefault) Error

func (o *ListAWSSizesDefault) Error() string

func (*ListAWSSizesDefault) GetPayload

func (o *ListAWSSizesDefault) GetPayload() *models.ErrorResponse

type ListAWSSizesNoCredentialsDefault

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

errorResponse

func NewListAWSSizesNoCredentialsDefault

func NewListAWSSizesNoCredentialsDefault(code int) *ListAWSSizesNoCredentialsDefault

NewListAWSSizesNoCredentialsDefault creates a ListAWSSizesNoCredentialsDefault with default headers values

func (*ListAWSSizesNoCredentialsDefault) Code

Code gets the status code for the list a w s sizes no credentials default response

func (*ListAWSSizesNoCredentialsDefault) Error

func (*ListAWSSizesNoCredentialsDefault) GetPayload

type ListAWSSizesNoCredentialsOK

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

AWSSizeList

func NewListAWSSizesNoCredentialsOK

func NewListAWSSizesNoCredentialsOK() *ListAWSSizesNoCredentialsOK

NewListAWSSizesNoCredentialsOK creates a ListAWSSizesNoCredentialsOK with default headers values

func (*ListAWSSizesNoCredentialsOK) Error

func (*ListAWSSizesNoCredentialsOK) GetPayload

type ListAWSSizesNoCredentialsParams

type ListAWSSizesNoCredentialsParams struct {

	// ClusterID.
	ClusterID string

	// Dc.
	DC string

	// ProjectID.
	ProjectID string

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

ListAWSSizesNoCredentialsParams contains all the parameters to send to the API endpoint

for the list a w s sizes no credentials operation.

Typically these are written to a http.Request.

func NewListAWSSizesNoCredentialsParams

func NewListAWSSizesNoCredentialsParams() *ListAWSSizesNoCredentialsParams

NewListAWSSizesNoCredentialsParams creates a new ListAWSSizesNoCredentialsParams 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 NewListAWSSizesNoCredentialsParamsWithContext

func NewListAWSSizesNoCredentialsParamsWithContext(ctx context.Context) *ListAWSSizesNoCredentialsParams

NewListAWSSizesNoCredentialsParamsWithContext creates a new ListAWSSizesNoCredentialsParams object with the ability to set a context for a request.

func NewListAWSSizesNoCredentialsParamsWithHTTPClient

func NewListAWSSizesNoCredentialsParamsWithHTTPClient(client *http.Client) *ListAWSSizesNoCredentialsParams

NewListAWSSizesNoCredentialsParamsWithHTTPClient creates a new ListAWSSizesNoCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewListAWSSizesNoCredentialsParamsWithTimeout

func NewListAWSSizesNoCredentialsParamsWithTimeout(timeout time.Duration) *ListAWSSizesNoCredentialsParams

NewListAWSSizesNoCredentialsParamsWithTimeout creates a new ListAWSSizesNoCredentialsParams object with the ability to set a timeout on a request.

func (*ListAWSSizesNoCredentialsParams) SetClusterID

func (o *ListAWSSizesNoCredentialsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list a w s sizes no credentials params

func (*ListAWSSizesNoCredentialsParams) SetContext

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

SetContext adds the context to the list a w s sizes no credentials params

func (*ListAWSSizesNoCredentialsParams) SetDC

SetDC adds the dc to the list a w s sizes no credentials params

func (*ListAWSSizesNoCredentialsParams) SetDefaults

func (o *ListAWSSizesNoCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the list a w s sizes no credentials params (not the query body).

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

func (*ListAWSSizesNoCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list a w s sizes no credentials params

func (*ListAWSSizesNoCredentialsParams) SetProjectID

func (o *ListAWSSizesNoCredentialsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list a w s sizes no credentials params

func (*ListAWSSizesNoCredentialsParams) SetTimeout

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

SetTimeout adds the timeout to the list a w s sizes no credentials params

func (*ListAWSSizesNoCredentialsParams) WithClusterID

WithClusterID adds the clusterID to the list a w s sizes no credentials params

func (*ListAWSSizesNoCredentialsParams) WithContext

WithContext adds the context to the list a w s sizes no credentials params

func (*ListAWSSizesNoCredentialsParams) WithDC

WithDC adds the dc to the list a w s sizes no credentials params

func (*ListAWSSizesNoCredentialsParams) WithDefaults

WithDefaults hydrates default values in the list a w s sizes no credentials params (not the query body).

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

func (*ListAWSSizesNoCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list a w s sizes no credentials params

func (*ListAWSSizesNoCredentialsParams) WithProjectID

WithProjectID adds the projectID to the list a w s sizes no credentials params

func (*ListAWSSizesNoCredentialsParams) WithTimeout

WithTimeout adds the timeout to the list a w s sizes no credentials params

func (*ListAWSSizesNoCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAWSSizesNoCredentialsReader

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

ListAWSSizesNoCredentialsReader is a Reader for the ListAWSSizesNoCredentials structure.

func (*ListAWSSizesNoCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAWSSizesNoCredentialsV2Default

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

errorResponse

func NewListAWSSizesNoCredentialsV2Default

func NewListAWSSizesNoCredentialsV2Default(code int) *ListAWSSizesNoCredentialsV2Default

NewListAWSSizesNoCredentialsV2Default creates a ListAWSSizesNoCredentialsV2Default with default headers values

func (*ListAWSSizesNoCredentialsV2Default) Code

Code gets the status code for the list a w s sizes no credentials v2 default response

func (*ListAWSSizesNoCredentialsV2Default) Error

func (*ListAWSSizesNoCredentialsV2Default) GetPayload

type ListAWSSizesNoCredentialsV2OK

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

AWSSizeList

func NewListAWSSizesNoCredentialsV2OK

func NewListAWSSizesNoCredentialsV2OK() *ListAWSSizesNoCredentialsV2OK

NewListAWSSizesNoCredentialsV2OK creates a ListAWSSizesNoCredentialsV2OK with default headers values

func (*ListAWSSizesNoCredentialsV2OK) Error

func (*ListAWSSizesNoCredentialsV2OK) GetPayload

type ListAWSSizesNoCredentialsV2Params

type ListAWSSizesNoCredentialsV2Params struct {

	/* Architecture.

	   architecture query parameter. Supports: arm64 and x64 types.
	*/
	Architecture *string

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

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

ListAWSSizesNoCredentialsV2Params contains all the parameters to send to the API endpoint

for the list a w s sizes no credentials v2 operation.

Typically these are written to a http.Request.

func NewListAWSSizesNoCredentialsV2Params

func NewListAWSSizesNoCredentialsV2Params() *ListAWSSizesNoCredentialsV2Params

NewListAWSSizesNoCredentialsV2Params creates a new ListAWSSizesNoCredentialsV2Params 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 NewListAWSSizesNoCredentialsV2ParamsWithContext

func NewListAWSSizesNoCredentialsV2ParamsWithContext(ctx context.Context) *ListAWSSizesNoCredentialsV2Params

NewListAWSSizesNoCredentialsV2ParamsWithContext creates a new ListAWSSizesNoCredentialsV2Params object with the ability to set a context for a request.

func NewListAWSSizesNoCredentialsV2ParamsWithHTTPClient

func NewListAWSSizesNoCredentialsV2ParamsWithHTTPClient(client *http.Client) *ListAWSSizesNoCredentialsV2Params

NewListAWSSizesNoCredentialsV2ParamsWithHTTPClient creates a new ListAWSSizesNoCredentialsV2Params object with the ability to set a custom HTTPClient for a request.

func NewListAWSSizesNoCredentialsV2ParamsWithTimeout

func NewListAWSSizesNoCredentialsV2ParamsWithTimeout(timeout time.Duration) *ListAWSSizesNoCredentialsV2Params

NewListAWSSizesNoCredentialsV2ParamsWithTimeout creates a new ListAWSSizesNoCredentialsV2Params object with the ability to set a timeout on a request.

func (*ListAWSSizesNoCredentialsV2Params) SetArchitecture

func (o *ListAWSSizesNoCredentialsV2Params) SetArchitecture(architecture *string)

SetArchitecture adds the architecture to the list a w s sizes no credentials v2 params

func (*ListAWSSizesNoCredentialsV2Params) SetClusterID

func (o *ListAWSSizesNoCredentialsV2Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list a w s sizes no credentials v2 params

func (*ListAWSSizesNoCredentialsV2Params) SetContext

SetContext adds the context to the list a w s sizes no credentials v2 params

func (*ListAWSSizesNoCredentialsV2Params) SetDefaults

func (o *ListAWSSizesNoCredentialsV2Params) SetDefaults()

SetDefaults hydrates default values in the list a w s sizes no credentials v2 params (not the query body).

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

func (*ListAWSSizesNoCredentialsV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list a w s sizes no credentials v2 params

func (*ListAWSSizesNoCredentialsV2Params) SetProjectID

func (o *ListAWSSizesNoCredentialsV2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the list a w s sizes no credentials v2 params

func (*ListAWSSizesNoCredentialsV2Params) SetTimeout

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

SetTimeout adds the timeout to the list a w s sizes no credentials v2 params

func (*ListAWSSizesNoCredentialsV2Params) WithArchitecture

WithArchitecture adds the architecture to the list a w s sizes no credentials v2 params

func (*ListAWSSizesNoCredentialsV2Params) WithClusterID

WithClusterID adds the clusterID to the list a w s sizes no credentials v2 params

func (*ListAWSSizesNoCredentialsV2Params) WithContext

WithContext adds the context to the list a w s sizes no credentials v2 params

func (*ListAWSSizesNoCredentialsV2Params) WithDefaults

WithDefaults hydrates default values in the list a w s sizes no credentials v2 params (not the query body).

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

func (*ListAWSSizesNoCredentialsV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list a w s sizes no credentials v2 params

func (*ListAWSSizesNoCredentialsV2Params) WithProjectID

WithProjectID adds the projectID to the list a w s sizes no credentials v2 params

func (*ListAWSSizesNoCredentialsV2Params) WithTimeout

WithTimeout adds the timeout to the list a w s sizes no credentials v2 params

func (*ListAWSSizesNoCredentialsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAWSSizesNoCredentialsV2Reader

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

ListAWSSizesNoCredentialsV2Reader is a Reader for the ListAWSSizesNoCredentialsV2 structure.

func (*ListAWSSizesNoCredentialsV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAWSSizesOK

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

AWSSizeList

func NewListAWSSizesOK

func NewListAWSSizesOK() *ListAWSSizesOK

NewListAWSSizesOK creates a ListAWSSizesOK with default headers values

func (*ListAWSSizesOK) Error

func (o *ListAWSSizesOK) Error() string

func (*ListAWSSizesOK) GetPayload

func (o *ListAWSSizesOK) GetPayload() models.AWSSizeList

type ListAWSSizesParams

type ListAWSSizesParams struct {

	// Region.
	Region *string

	/* Architecture.

	   architecture query parameter. Supports: arm64 and x64 types.
	*/
	Architecture *string

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

ListAWSSizesParams contains all the parameters to send to the API endpoint

for the list a w s sizes operation.

Typically these are written to a http.Request.

func NewListAWSSizesParams

func NewListAWSSizesParams() *ListAWSSizesParams

NewListAWSSizesParams creates a new ListAWSSizesParams 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 NewListAWSSizesParamsWithContext

func NewListAWSSizesParamsWithContext(ctx context.Context) *ListAWSSizesParams

NewListAWSSizesParamsWithContext creates a new ListAWSSizesParams object with the ability to set a context for a request.

func NewListAWSSizesParamsWithHTTPClient

func NewListAWSSizesParamsWithHTTPClient(client *http.Client) *ListAWSSizesParams

NewListAWSSizesParamsWithHTTPClient creates a new ListAWSSizesParams object with the ability to set a custom HTTPClient for a request.

func NewListAWSSizesParamsWithTimeout

func NewListAWSSizesParamsWithTimeout(timeout time.Duration) *ListAWSSizesParams

NewListAWSSizesParamsWithTimeout creates a new ListAWSSizesParams object with the ability to set a timeout on a request.

func (*ListAWSSizesParams) SetArchitecture

func (o *ListAWSSizesParams) SetArchitecture(architecture *string)

SetArchitecture adds the architecture to the list a w s sizes params

func (*ListAWSSizesParams) SetContext

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

SetContext adds the context to the list a w s sizes params

func (*ListAWSSizesParams) SetDefaults

func (o *ListAWSSizesParams) SetDefaults()

SetDefaults hydrates default values in the list a w s sizes params (not the query body).

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

func (*ListAWSSizesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list a w s sizes params

func (*ListAWSSizesParams) SetRegion

func (o *ListAWSSizesParams) SetRegion(region *string)

SetRegion adds the region to the list a w s sizes params

func (*ListAWSSizesParams) SetTimeout

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

SetTimeout adds the timeout to the list a w s sizes params

func (*ListAWSSizesParams) WithArchitecture

func (o *ListAWSSizesParams) WithArchitecture(architecture *string) *ListAWSSizesParams

WithArchitecture adds the architecture to the list a w s sizes params

func (*ListAWSSizesParams) WithContext

WithContext adds the context to the list a w s sizes params

func (*ListAWSSizesParams) WithDefaults

func (o *ListAWSSizesParams) WithDefaults() *ListAWSSizesParams

WithDefaults hydrates default values in the list a w s sizes params (not the query body).

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

func (*ListAWSSizesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list a w s sizes params

func (*ListAWSSizesParams) WithRegion

func (o *ListAWSSizesParams) WithRegion(region *string) *ListAWSSizesParams

WithRegion adds the region to the list a w s sizes params

func (*ListAWSSizesParams) WithTimeout

func (o *ListAWSSizesParams) WithTimeout(timeout time.Duration) *ListAWSSizesParams

WithTimeout adds the timeout to the list a w s sizes params

func (*ListAWSSizesParams) WriteToRequest

func (o *ListAWSSizesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListAWSSizesReader

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

ListAWSSizesReader is a Reader for the ListAWSSizes structure.

func (*ListAWSSizesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAWSSubnetsDefault

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

errorResponse

func NewListAWSSubnetsDefault

func NewListAWSSubnetsDefault(code int) *ListAWSSubnetsDefault

NewListAWSSubnetsDefault creates a ListAWSSubnetsDefault with default headers values

func (*ListAWSSubnetsDefault) Code

func (o *ListAWSSubnetsDefault) Code() int

Code gets the status code for the list a w s subnets default response

func (*ListAWSSubnetsDefault) Error

func (o *ListAWSSubnetsDefault) Error() string

func (*ListAWSSubnetsDefault) GetPayload

func (o *ListAWSSubnetsDefault) GetPayload() *models.ErrorResponse

type ListAWSSubnetsNoCredentialsDefault

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

errorResponse

func NewListAWSSubnetsNoCredentialsDefault

func NewListAWSSubnetsNoCredentialsDefault(code int) *ListAWSSubnetsNoCredentialsDefault

NewListAWSSubnetsNoCredentialsDefault creates a ListAWSSubnetsNoCredentialsDefault with default headers values

func (*ListAWSSubnetsNoCredentialsDefault) Code

Code gets the status code for the list a w s subnets no credentials default response

func (*ListAWSSubnetsNoCredentialsDefault) Error

func (*ListAWSSubnetsNoCredentialsDefault) GetPayload

type ListAWSSubnetsNoCredentialsOK

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

AWSSubnetList

func NewListAWSSubnetsNoCredentialsOK

func NewListAWSSubnetsNoCredentialsOK() *ListAWSSubnetsNoCredentialsOK

NewListAWSSubnetsNoCredentialsOK creates a ListAWSSubnetsNoCredentialsOK with default headers values

func (*ListAWSSubnetsNoCredentialsOK) Error

func (*ListAWSSubnetsNoCredentialsOK) GetPayload

type ListAWSSubnetsNoCredentialsParams

type ListAWSSubnetsNoCredentialsParams struct {

	// ClusterID.
	ClusterID string

	// Dc.
	DC string

	// ProjectID.
	ProjectID string

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

ListAWSSubnetsNoCredentialsParams contains all the parameters to send to the API endpoint

for the list a w s subnets no credentials operation.

Typically these are written to a http.Request.

func NewListAWSSubnetsNoCredentialsParams

func NewListAWSSubnetsNoCredentialsParams() *ListAWSSubnetsNoCredentialsParams

NewListAWSSubnetsNoCredentialsParams creates a new ListAWSSubnetsNoCredentialsParams 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 NewListAWSSubnetsNoCredentialsParamsWithContext

func NewListAWSSubnetsNoCredentialsParamsWithContext(ctx context.Context) *ListAWSSubnetsNoCredentialsParams

NewListAWSSubnetsNoCredentialsParamsWithContext creates a new ListAWSSubnetsNoCredentialsParams object with the ability to set a context for a request.

func NewListAWSSubnetsNoCredentialsParamsWithHTTPClient

func NewListAWSSubnetsNoCredentialsParamsWithHTTPClient(client *http.Client) *ListAWSSubnetsNoCredentialsParams

NewListAWSSubnetsNoCredentialsParamsWithHTTPClient creates a new ListAWSSubnetsNoCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewListAWSSubnetsNoCredentialsParamsWithTimeout

func NewListAWSSubnetsNoCredentialsParamsWithTimeout(timeout time.Duration) *ListAWSSubnetsNoCredentialsParams

NewListAWSSubnetsNoCredentialsParamsWithTimeout creates a new ListAWSSubnetsNoCredentialsParams object with the ability to set a timeout on a request.

func (*ListAWSSubnetsNoCredentialsParams) SetClusterID

func (o *ListAWSSubnetsNoCredentialsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list a w s subnets no credentials params

func (*ListAWSSubnetsNoCredentialsParams) SetContext

SetContext adds the context to the list a w s subnets no credentials params

func (*ListAWSSubnetsNoCredentialsParams) SetDC

SetDC adds the dc to the list a w s subnets no credentials params

func (*ListAWSSubnetsNoCredentialsParams) SetDefaults

func (o *ListAWSSubnetsNoCredentialsParams) SetDefaults()

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

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

func (*ListAWSSubnetsNoCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list a w s subnets no credentials params

func (*ListAWSSubnetsNoCredentialsParams) SetProjectID

func (o *ListAWSSubnetsNoCredentialsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list a w s subnets no credentials params

func (*ListAWSSubnetsNoCredentialsParams) SetTimeout

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

SetTimeout adds the timeout to the list a w s subnets no credentials params

func (*ListAWSSubnetsNoCredentialsParams) WithClusterID

WithClusterID adds the clusterID to the list a w s subnets no credentials params

func (*ListAWSSubnetsNoCredentialsParams) WithContext

WithContext adds the context to the list a w s subnets no credentials params

func (*ListAWSSubnetsNoCredentialsParams) WithDC

WithDC adds the dc to the list a w s subnets no credentials params

func (*ListAWSSubnetsNoCredentialsParams) WithDefaults

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

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

func (*ListAWSSubnetsNoCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list a w s subnets no credentials params

func (*ListAWSSubnetsNoCredentialsParams) WithProjectID

WithProjectID adds the projectID to the list a w s subnets no credentials params

func (*ListAWSSubnetsNoCredentialsParams) WithTimeout

WithTimeout adds the timeout to the list a w s subnets no credentials params

func (*ListAWSSubnetsNoCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAWSSubnetsNoCredentialsReader

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

ListAWSSubnetsNoCredentialsReader is a Reader for the ListAWSSubnetsNoCredentials structure.

func (*ListAWSSubnetsNoCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAWSSubnetsNoCredentialsV2Default

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

errorResponse

func NewListAWSSubnetsNoCredentialsV2Default

func NewListAWSSubnetsNoCredentialsV2Default(code int) *ListAWSSubnetsNoCredentialsV2Default

NewListAWSSubnetsNoCredentialsV2Default creates a ListAWSSubnetsNoCredentialsV2Default with default headers values

func (*ListAWSSubnetsNoCredentialsV2Default) Code

Code gets the status code for the list a w s subnets no credentials v2 default response

func (*ListAWSSubnetsNoCredentialsV2Default) Error

func (*ListAWSSubnetsNoCredentialsV2Default) GetPayload

type ListAWSSubnetsNoCredentialsV2OK

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

AWSSubnetList

func NewListAWSSubnetsNoCredentialsV2OK

func NewListAWSSubnetsNoCredentialsV2OK() *ListAWSSubnetsNoCredentialsV2OK

NewListAWSSubnetsNoCredentialsV2OK creates a ListAWSSubnetsNoCredentialsV2OK with default headers values

func (*ListAWSSubnetsNoCredentialsV2OK) Error

func (*ListAWSSubnetsNoCredentialsV2OK) GetPayload

type ListAWSSubnetsNoCredentialsV2Params

type ListAWSSubnetsNoCredentialsV2Params struct {

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

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

ListAWSSubnetsNoCredentialsV2Params contains all the parameters to send to the API endpoint

for the list a w s subnets no credentials v2 operation.

Typically these are written to a http.Request.

func NewListAWSSubnetsNoCredentialsV2Params

func NewListAWSSubnetsNoCredentialsV2Params() *ListAWSSubnetsNoCredentialsV2Params

NewListAWSSubnetsNoCredentialsV2Params creates a new ListAWSSubnetsNoCredentialsV2Params 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 NewListAWSSubnetsNoCredentialsV2ParamsWithContext

func NewListAWSSubnetsNoCredentialsV2ParamsWithContext(ctx context.Context) *ListAWSSubnetsNoCredentialsV2Params

NewListAWSSubnetsNoCredentialsV2ParamsWithContext creates a new ListAWSSubnetsNoCredentialsV2Params object with the ability to set a context for a request.

func NewListAWSSubnetsNoCredentialsV2ParamsWithHTTPClient

func NewListAWSSubnetsNoCredentialsV2ParamsWithHTTPClient(client *http.Client) *ListAWSSubnetsNoCredentialsV2Params

NewListAWSSubnetsNoCredentialsV2ParamsWithHTTPClient creates a new ListAWSSubnetsNoCredentialsV2Params object with the ability to set a custom HTTPClient for a request.

func NewListAWSSubnetsNoCredentialsV2ParamsWithTimeout

func NewListAWSSubnetsNoCredentialsV2ParamsWithTimeout(timeout time.Duration) *ListAWSSubnetsNoCredentialsV2Params

NewListAWSSubnetsNoCredentialsV2ParamsWithTimeout creates a new ListAWSSubnetsNoCredentialsV2Params object with the ability to set a timeout on a request.

func (*ListAWSSubnetsNoCredentialsV2Params) SetClusterID

func (o *ListAWSSubnetsNoCredentialsV2Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list a w s subnets no credentials v2 params

func (*ListAWSSubnetsNoCredentialsV2Params) SetContext

SetContext adds the context to the list a w s subnets no credentials v2 params

func (*ListAWSSubnetsNoCredentialsV2Params) SetDefaults

func (o *ListAWSSubnetsNoCredentialsV2Params) SetDefaults()

SetDefaults hydrates default values in the list a w s subnets no credentials v2 params (not the query body).

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

func (*ListAWSSubnetsNoCredentialsV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list a w s subnets no credentials v2 params

func (*ListAWSSubnetsNoCredentialsV2Params) SetProjectID

func (o *ListAWSSubnetsNoCredentialsV2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the list a w s subnets no credentials v2 params

func (*ListAWSSubnetsNoCredentialsV2Params) SetTimeout

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

SetTimeout adds the timeout to the list a w s subnets no credentials v2 params

func (*ListAWSSubnetsNoCredentialsV2Params) WithClusterID

WithClusterID adds the clusterID to the list a w s subnets no credentials v2 params

func (*ListAWSSubnetsNoCredentialsV2Params) WithContext

WithContext adds the context to the list a w s subnets no credentials v2 params

func (*ListAWSSubnetsNoCredentialsV2Params) WithDefaults

WithDefaults hydrates default values in the list a w s subnets no credentials v2 params (not the query body).

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

func (*ListAWSSubnetsNoCredentialsV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list a w s subnets no credentials v2 params

func (*ListAWSSubnetsNoCredentialsV2Params) WithProjectID

WithProjectID adds the projectID to the list a w s subnets no credentials v2 params

func (*ListAWSSubnetsNoCredentialsV2Params) WithTimeout

WithTimeout adds the timeout to the list a w s subnets no credentials v2 params

func (*ListAWSSubnetsNoCredentialsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAWSSubnetsNoCredentialsV2Reader

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

ListAWSSubnetsNoCredentialsV2Reader is a Reader for the ListAWSSubnetsNoCredentialsV2 structure.

func (*ListAWSSubnetsNoCredentialsV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAWSSubnetsOK

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

AWSSubnetList

func NewListAWSSubnetsOK

func NewListAWSSubnetsOK() *ListAWSSubnetsOK

NewListAWSSubnetsOK creates a ListAWSSubnetsOK with default headers values

func (*ListAWSSubnetsOK) Error

func (o *ListAWSSubnetsOK) Error() string

func (*ListAWSSubnetsOK) GetPayload

func (o *ListAWSSubnetsOK) GetPayload() models.AWSSubnetList

type ListAWSSubnetsParams

type ListAWSSubnetsParams struct {

	// AccessKeyID.
	AccessKeyID *string

	// Credential.
	Credential *string

	// SecretAccessKey.
	SecretAccessKey *string

	// Dc.
	DC string

	// Vpc.
	VPC *string

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

ListAWSSubnetsParams contains all the parameters to send to the API endpoint

for the list a w s subnets operation.

Typically these are written to a http.Request.

func NewListAWSSubnetsParams

func NewListAWSSubnetsParams() *ListAWSSubnetsParams

NewListAWSSubnetsParams creates a new ListAWSSubnetsParams 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 NewListAWSSubnetsParamsWithContext

func NewListAWSSubnetsParamsWithContext(ctx context.Context) *ListAWSSubnetsParams

NewListAWSSubnetsParamsWithContext creates a new ListAWSSubnetsParams object with the ability to set a context for a request.

func NewListAWSSubnetsParamsWithHTTPClient

func NewListAWSSubnetsParamsWithHTTPClient(client *http.Client) *ListAWSSubnetsParams

NewListAWSSubnetsParamsWithHTTPClient creates a new ListAWSSubnetsParams object with the ability to set a custom HTTPClient for a request.

func NewListAWSSubnetsParamsWithTimeout

func NewListAWSSubnetsParamsWithTimeout(timeout time.Duration) *ListAWSSubnetsParams

NewListAWSSubnetsParamsWithTimeout creates a new ListAWSSubnetsParams object with the ability to set a timeout on a request.

func (*ListAWSSubnetsParams) SetAccessKeyID

func (o *ListAWSSubnetsParams) SetAccessKeyID(accessKeyID *string)

SetAccessKeyID adds the accessKeyId to the list a w s subnets params

func (*ListAWSSubnetsParams) SetContext

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

SetContext adds the context to the list a w s subnets params

func (*ListAWSSubnetsParams) SetCredential

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

SetCredential adds the credential to the list a w s subnets params

func (*ListAWSSubnetsParams) SetDC

func (o *ListAWSSubnetsParams) SetDC(dc string)

SetDC adds the dc to the list a w s subnets params

func (*ListAWSSubnetsParams) SetDefaults

func (o *ListAWSSubnetsParams) SetDefaults()

SetDefaults hydrates default values in the list a w s subnets params (not the query body).

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

func (*ListAWSSubnetsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list a w s subnets params

func (*ListAWSSubnetsParams) SetSecretAccessKey

func (o *ListAWSSubnetsParams) SetSecretAccessKey(secretAccessKey *string)

SetSecretAccessKey adds the secretAccessKey to the list a w s subnets params

func (*ListAWSSubnetsParams) SetTimeout

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

SetTimeout adds the timeout to the list a w s subnets params

func (*ListAWSSubnetsParams) SetVPC

func (o *ListAWSSubnetsParams) SetVPC(vpc *string)

SetVPC adds the vpc to the list a w s subnets params

func (*ListAWSSubnetsParams) WithAccessKeyID

func (o *ListAWSSubnetsParams) WithAccessKeyID(accessKeyID *string) *ListAWSSubnetsParams

WithAccessKeyID adds the accessKeyID to the list a w s subnets params

func (*ListAWSSubnetsParams) WithContext

WithContext adds the context to the list a w s subnets params

func (*ListAWSSubnetsParams) WithCredential

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

WithCredential adds the credential to the list a w s subnets params

func (*ListAWSSubnetsParams) WithDC

WithDC adds the dc to the list a w s subnets params

func (*ListAWSSubnetsParams) WithDefaults

func (o *ListAWSSubnetsParams) WithDefaults() *ListAWSSubnetsParams

WithDefaults hydrates default values in the list a w s subnets params (not the query body).

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

func (*ListAWSSubnetsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list a w s subnets params

func (*ListAWSSubnetsParams) WithSecretAccessKey

func (o *ListAWSSubnetsParams) WithSecretAccessKey(secretAccessKey *string) *ListAWSSubnetsParams

WithSecretAccessKey adds the secretAccessKey to the list a w s subnets params

func (*ListAWSSubnetsParams) WithTimeout

func (o *ListAWSSubnetsParams) WithTimeout(timeout time.Duration) *ListAWSSubnetsParams

WithTimeout adds the timeout to the list a w s subnets params

func (*ListAWSSubnetsParams) WithVPC

WithVPC adds the vpc to the list a w s subnets params

func (*ListAWSSubnetsParams) WriteToRequest

func (o *ListAWSSubnetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListAWSSubnetsReader

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

ListAWSSubnetsReader is a Reader for the ListAWSSubnets structure.

func (*ListAWSSubnetsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAWSVPCSDefault

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

errorResponse

func NewListAWSVPCSDefault

func NewListAWSVPCSDefault(code int) *ListAWSVPCSDefault

NewListAWSVPCSDefault creates a ListAWSVPCSDefault with default headers values

func (*ListAWSVPCSDefault) Code

func (o *ListAWSVPCSDefault) Code() int

Code gets the status code for the list a w s v p c s default response

func (*ListAWSVPCSDefault) Error

func (o *ListAWSVPCSDefault) Error() string

func (*ListAWSVPCSDefault) GetPayload

func (o *ListAWSVPCSDefault) GetPayload() *models.ErrorResponse

type ListAWSVPCSOK

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

AWSVPCList

func NewListAWSVPCSOK

func NewListAWSVPCSOK() *ListAWSVPCSOK

NewListAWSVPCSOK creates a ListAWSVPCSOK with default headers values

func (*ListAWSVPCSOK) Error

func (o *ListAWSVPCSOK) Error() string

func (*ListAWSVPCSOK) GetPayload

func (o *ListAWSVPCSOK) GetPayload() models.AWSVPCList

type ListAWSVPCSParams

type ListAWSVPCSParams struct {

	// AccessKeyID.
	AccessKeyID *string

	// Credential.
	Credential *string

	// SecretAccessKey.
	SecretAccessKey *string

	// Dc.
	DC string

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

ListAWSVPCSParams contains all the parameters to send to the API endpoint

for the list a w s v p c s operation.

Typically these are written to a http.Request.

func NewListAWSVPCSParams

func NewListAWSVPCSParams() *ListAWSVPCSParams

NewListAWSVPCSParams creates a new ListAWSVPCSParams 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 NewListAWSVPCSParamsWithContext

func NewListAWSVPCSParamsWithContext(ctx context.Context) *ListAWSVPCSParams

NewListAWSVPCSParamsWithContext creates a new ListAWSVPCSParams object with the ability to set a context for a request.

func NewListAWSVPCSParamsWithHTTPClient

func NewListAWSVPCSParamsWithHTTPClient(client *http.Client) *ListAWSVPCSParams

NewListAWSVPCSParamsWithHTTPClient creates a new ListAWSVPCSParams object with the ability to set a custom HTTPClient for a request.

func NewListAWSVPCSParamsWithTimeout

func NewListAWSVPCSParamsWithTimeout(timeout time.Duration) *ListAWSVPCSParams

NewListAWSVPCSParamsWithTimeout creates a new ListAWSVPCSParams object with the ability to set a timeout on a request.

func (*ListAWSVPCSParams) SetAccessKeyID

func (o *ListAWSVPCSParams) SetAccessKeyID(accessKeyID *string)

SetAccessKeyID adds the accessKeyId to the list a w s v p c s params

func (*ListAWSVPCSParams) SetContext

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

SetContext adds the context to the list a w s v p c s params

func (*ListAWSVPCSParams) SetCredential

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

SetCredential adds the credential to the list a w s v p c s params

func (*ListAWSVPCSParams) SetDC

func (o *ListAWSVPCSParams) SetDC(dc string)

SetDC adds the dc to the list a w s v p c s params

func (*ListAWSVPCSParams) SetDefaults

func (o *ListAWSVPCSParams) SetDefaults()

SetDefaults hydrates default values in the list a w s v p c s params (not the query body).

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

func (*ListAWSVPCSParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list a w s v p c s params

func (*ListAWSVPCSParams) SetSecretAccessKey

func (o *ListAWSVPCSParams) SetSecretAccessKey(secretAccessKey *string)

SetSecretAccessKey adds the secretAccessKey to the list a w s v p c s params

func (*ListAWSVPCSParams) SetTimeout

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

SetTimeout adds the timeout to the list a w s v p c s params

func (*ListAWSVPCSParams) WithAccessKeyID

func (o *ListAWSVPCSParams) WithAccessKeyID(accessKeyID *string) *ListAWSVPCSParams

WithAccessKeyID adds the accessKeyID to the list a w s v p c s params

func (*ListAWSVPCSParams) WithContext

func (o *ListAWSVPCSParams) WithContext(ctx context.Context) *ListAWSVPCSParams

WithContext adds the context to the list a w s v p c s params

func (*ListAWSVPCSParams) WithCredential

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

WithCredential adds the credential to the list a w s v p c s params

func (*ListAWSVPCSParams) WithDC

WithDC adds the dc to the list a w s v p c s params

func (*ListAWSVPCSParams) WithDefaults

func (o *ListAWSVPCSParams) WithDefaults() *ListAWSVPCSParams

WithDefaults hydrates default values in the list a w s v p c s params (not the query body).

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

func (*ListAWSVPCSParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list a w s v p c s params

func (*ListAWSVPCSParams) WithSecretAccessKey

func (o *ListAWSVPCSParams) WithSecretAccessKey(secretAccessKey *string) *ListAWSVPCSParams

WithSecretAccessKey adds the secretAccessKey to the list a w s v p c s params

func (*ListAWSVPCSParams) WithTimeout

func (o *ListAWSVPCSParams) WithTimeout(timeout time.Duration) *ListAWSVPCSParams

WithTimeout adds the timeout to the list a w s v p c s params

func (*ListAWSVPCSParams) WriteToRequest

func (o *ListAWSVPCSParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListAWSVPCSReader

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

ListAWSVPCSReader is a Reader for the ListAWSVPCS structure.

func (*ListAWSVPCSReader) ReadResponse

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