avi

package
v0.0.0-...-b25b198 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for avi API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new avi API client.

func (*Client) GetAviClouds

func (a *Client) GetAviClouds(params *GetAviCloudsParams) (*GetAviCloudsOK, error)

GetAviClouds retrieves avi load balancer clouds

func (*Client) GetAviServiceEngineGroups

func (a *Client) GetAviServiceEngineGroups(params *GetAviServiceEngineGroupsParams) (*GetAviServiceEngineGroupsOK, error)

GetAviServiceEngineGroups retrieves avi load balancer service engine groups

func (*Client) GetAviVipNetworks

func (a *Client) GetAviVipNetworks(params *GetAviVipNetworksParams) (*GetAviVipNetworksOK, error)

GetAviVipNetworks retrieves all avi networks

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) VerifyAccount

func (a *Client) VerifyAccount(params *VerifyAccountParams) (*VerifyAccountCreated, error)

VerifyAccount validates avi controller credentials

type GetAviCloudsBadRequest

type GetAviCloudsBadRequest struct {
	Payload *models.Error
}

GetAviCloudsBadRequest handles this case with default header values.

Bad request

func NewGetAviCloudsBadRequest

func NewGetAviCloudsBadRequest() *GetAviCloudsBadRequest

NewGetAviCloudsBadRequest creates a GetAviCloudsBadRequest with default headers values

func (*GetAviCloudsBadRequest) Error

func (o *GetAviCloudsBadRequest) Error() string

func (*GetAviCloudsBadRequest) GetPayload

func (o *GetAviCloudsBadRequest) GetPayload() *models.Error

type GetAviCloudsInternalServerError

type GetAviCloudsInternalServerError struct {
	Payload *models.Error
}

GetAviCloudsInternalServerError handles this case with default header values.

Internal server error

func NewGetAviCloudsInternalServerError

func NewGetAviCloudsInternalServerError() *GetAviCloudsInternalServerError

NewGetAviCloudsInternalServerError creates a GetAviCloudsInternalServerError with default headers values

func (*GetAviCloudsInternalServerError) Error

func (*GetAviCloudsInternalServerError) GetPayload

func (o *GetAviCloudsInternalServerError) GetPayload() *models.Error

type GetAviCloudsOK

type GetAviCloudsOK struct {
	Payload []*models.AviCloud
}

GetAviCloudsOK handles this case with default header values.

Successful retrieval of Avi load balancer clouds

func NewGetAviCloudsOK

func NewGetAviCloudsOK() *GetAviCloudsOK

NewGetAviCloudsOK creates a GetAviCloudsOK with default headers values

func (*GetAviCloudsOK) Error

func (o *GetAviCloudsOK) Error() string

func (*GetAviCloudsOK) GetPayload

func (o *GetAviCloudsOK) GetPayload() []*models.AviCloud

type GetAviCloudsParams

type GetAviCloudsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAviCloudsParams contains all the parameters to send to the API endpoint for the get avi clouds operation typically these are written to a http.Request

func NewGetAviCloudsParams

func NewGetAviCloudsParams() *GetAviCloudsParams

NewGetAviCloudsParams creates a new GetAviCloudsParams object with the default values initialized.

func NewGetAviCloudsParamsWithContext

func NewGetAviCloudsParamsWithContext(ctx context.Context) *GetAviCloudsParams

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

func NewGetAviCloudsParamsWithHTTPClient

func NewGetAviCloudsParamsWithHTTPClient(client *http.Client) *GetAviCloudsParams

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

func NewGetAviCloudsParamsWithTimeout

func NewGetAviCloudsParamsWithTimeout(timeout time.Duration) *GetAviCloudsParams

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

func (*GetAviCloudsParams) SetContext

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

SetContext adds the context to the get avi clouds params

func (*GetAviCloudsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get avi clouds params

func (*GetAviCloudsParams) SetTimeout

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

SetTimeout adds the timeout to the get avi clouds params

func (*GetAviCloudsParams) WithContext

WithContext adds the context to the get avi clouds params

func (*GetAviCloudsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get avi clouds params

func (*GetAviCloudsParams) WithTimeout

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

WithTimeout adds the timeout to the get avi clouds params

func (*GetAviCloudsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAviCloudsReader

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

GetAviCloudsReader is a Reader for the GetAviClouds structure.

func (*GetAviCloudsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAviCloudsUnauthorized

type GetAviCloudsUnauthorized struct {
	Payload *models.Error
}

GetAviCloudsUnauthorized handles this case with default header values.

Incorrect credentials

func NewGetAviCloudsUnauthorized

func NewGetAviCloudsUnauthorized() *GetAviCloudsUnauthorized

NewGetAviCloudsUnauthorized creates a GetAviCloudsUnauthorized with default headers values

func (*GetAviCloudsUnauthorized) Error

func (o *GetAviCloudsUnauthorized) Error() string

func (*GetAviCloudsUnauthorized) GetPayload

func (o *GetAviCloudsUnauthorized) GetPayload() *models.Error

type GetAviServiceEngineGroupsBadRequest

type GetAviServiceEngineGroupsBadRequest struct {
	Payload *models.Error
}

GetAviServiceEngineGroupsBadRequest handles this case with default header values.

Bad request

func NewGetAviServiceEngineGroupsBadRequest

func NewGetAviServiceEngineGroupsBadRequest() *GetAviServiceEngineGroupsBadRequest

NewGetAviServiceEngineGroupsBadRequest creates a GetAviServiceEngineGroupsBadRequest with default headers values

func (*GetAviServiceEngineGroupsBadRequest) Error

func (*GetAviServiceEngineGroupsBadRequest) GetPayload

type GetAviServiceEngineGroupsInternalServerError

type GetAviServiceEngineGroupsInternalServerError struct {
	Payload *models.Error
}

GetAviServiceEngineGroupsInternalServerError handles this case with default header values.

Internal server error

func NewGetAviServiceEngineGroupsInternalServerError

func NewGetAviServiceEngineGroupsInternalServerError() *GetAviServiceEngineGroupsInternalServerError

NewGetAviServiceEngineGroupsInternalServerError creates a GetAviServiceEngineGroupsInternalServerError with default headers values

func (*GetAviServiceEngineGroupsInternalServerError) Error

func (*GetAviServiceEngineGroupsInternalServerError) GetPayload

type GetAviServiceEngineGroupsOK

type GetAviServiceEngineGroupsOK struct {
	Payload []*models.AviServiceEngineGroup
}

GetAviServiceEngineGroupsOK handles this case with default header values.

Successful retrieval of Avi load balancer service engine groups

func NewGetAviServiceEngineGroupsOK

func NewGetAviServiceEngineGroupsOK() *GetAviServiceEngineGroupsOK

NewGetAviServiceEngineGroupsOK creates a GetAviServiceEngineGroupsOK with default headers values

func (*GetAviServiceEngineGroupsOK) Error

func (*GetAviServiceEngineGroupsOK) GetPayload

type GetAviServiceEngineGroupsParams

type GetAviServiceEngineGroupsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAviServiceEngineGroupsParams contains all the parameters to send to the API endpoint for the get avi service engine groups operation typically these are written to a http.Request

func NewGetAviServiceEngineGroupsParams

func NewGetAviServiceEngineGroupsParams() *GetAviServiceEngineGroupsParams

NewGetAviServiceEngineGroupsParams creates a new GetAviServiceEngineGroupsParams object with the default values initialized.

func NewGetAviServiceEngineGroupsParamsWithContext

func NewGetAviServiceEngineGroupsParamsWithContext(ctx context.Context) *GetAviServiceEngineGroupsParams

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

func NewGetAviServiceEngineGroupsParamsWithHTTPClient

func NewGetAviServiceEngineGroupsParamsWithHTTPClient(client *http.Client) *GetAviServiceEngineGroupsParams

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

func NewGetAviServiceEngineGroupsParamsWithTimeout

func NewGetAviServiceEngineGroupsParamsWithTimeout(timeout time.Duration) *GetAviServiceEngineGroupsParams

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

func (*GetAviServiceEngineGroupsParams) SetContext

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

SetContext adds the context to the get avi service engine groups params

func (*GetAviServiceEngineGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get avi service engine groups params

func (*GetAviServiceEngineGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the get avi service engine groups params

func (*GetAviServiceEngineGroupsParams) WithContext

WithContext adds the context to the get avi service engine groups params

func (*GetAviServiceEngineGroupsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get avi service engine groups params

func (*GetAviServiceEngineGroupsParams) WithTimeout

WithTimeout adds the timeout to the get avi service engine groups params

func (*GetAviServiceEngineGroupsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAviServiceEngineGroupsReader

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

GetAviServiceEngineGroupsReader is a Reader for the GetAviServiceEngineGroups structure.

func (*GetAviServiceEngineGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAviServiceEngineGroupsUnauthorized

type GetAviServiceEngineGroupsUnauthorized struct {
	Payload *models.Error
}

GetAviServiceEngineGroupsUnauthorized handles this case with default header values.

Incorrect credentials

func NewGetAviServiceEngineGroupsUnauthorized

func NewGetAviServiceEngineGroupsUnauthorized() *GetAviServiceEngineGroupsUnauthorized

NewGetAviServiceEngineGroupsUnauthorized creates a GetAviServiceEngineGroupsUnauthorized with default headers values

func (*GetAviServiceEngineGroupsUnauthorized) Error

func (*GetAviServiceEngineGroupsUnauthorized) GetPayload

type GetAviVipNetworksBadRequest

type GetAviVipNetworksBadRequest struct {
	Payload *models.Error
}

GetAviVipNetworksBadRequest handles this case with default header values.

Bad request

func NewGetAviVipNetworksBadRequest

func NewGetAviVipNetworksBadRequest() *GetAviVipNetworksBadRequest

NewGetAviVipNetworksBadRequest creates a GetAviVipNetworksBadRequest with default headers values

func (*GetAviVipNetworksBadRequest) Error

func (*GetAviVipNetworksBadRequest) GetPayload

func (o *GetAviVipNetworksBadRequest) GetPayload() *models.Error

type GetAviVipNetworksInternalServerError

type GetAviVipNetworksInternalServerError struct {
	Payload *models.Error
}

GetAviVipNetworksInternalServerError handles this case with default header values.

Internal server error

func NewGetAviVipNetworksInternalServerError

func NewGetAviVipNetworksInternalServerError() *GetAviVipNetworksInternalServerError

NewGetAviVipNetworksInternalServerError creates a GetAviVipNetworksInternalServerError with default headers values

func (*GetAviVipNetworksInternalServerError) Error

func (*GetAviVipNetworksInternalServerError) GetPayload

type GetAviVipNetworksOK

type GetAviVipNetworksOK struct {
	Payload []*models.AviVipNetwork
}

GetAviVipNetworksOK handles this case with default header values.

Successful retrieval of Avi load balancer service engine groups

func NewGetAviVipNetworksOK

func NewGetAviVipNetworksOK() *GetAviVipNetworksOK

NewGetAviVipNetworksOK creates a GetAviVipNetworksOK with default headers values

func (*GetAviVipNetworksOK) Error

func (o *GetAviVipNetworksOK) Error() string

func (*GetAviVipNetworksOK) GetPayload

func (o *GetAviVipNetworksOK) GetPayload() []*models.AviVipNetwork

type GetAviVipNetworksParams

type GetAviVipNetworksParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAviVipNetworksParams contains all the parameters to send to the API endpoint for the get avi vip networks operation typically these are written to a http.Request

func NewGetAviVipNetworksParams

func NewGetAviVipNetworksParams() *GetAviVipNetworksParams

NewGetAviVipNetworksParams creates a new GetAviVipNetworksParams object with the default values initialized.

func NewGetAviVipNetworksParamsWithContext

func NewGetAviVipNetworksParamsWithContext(ctx context.Context) *GetAviVipNetworksParams

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

func NewGetAviVipNetworksParamsWithHTTPClient

func NewGetAviVipNetworksParamsWithHTTPClient(client *http.Client) *GetAviVipNetworksParams

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

func NewGetAviVipNetworksParamsWithTimeout

func NewGetAviVipNetworksParamsWithTimeout(timeout time.Duration) *GetAviVipNetworksParams

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

func (*GetAviVipNetworksParams) SetContext

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

SetContext adds the context to the get avi vip networks params

func (*GetAviVipNetworksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get avi vip networks params

func (*GetAviVipNetworksParams) SetTimeout

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

SetTimeout adds the timeout to the get avi vip networks params

func (*GetAviVipNetworksParams) WithContext

WithContext adds the context to the get avi vip networks params

func (*GetAviVipNetworksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get avi vip networks params

func (*GetAviVipNetworksParams) WithTimeout

WithTimeout adds the timeout to the get avi vip networks params

func (*GetAviVipNetworksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAviVipNetworksReader

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

GetAviVipNetworksReader is a Reader for the GetAviVipNetworks structure.

func (*GetAviVipNetworksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAviVipNetworksUnauthorized

type GetAviVipNetworksUnauthorized struct {
	Payload *models.Error
}

GetAviVipNetworksUnauthorized handles this case with default header values.

Incorrect credentials

func NewGetAviVipNetworksUnauthorized

func NewGetAviVipNetworksUnauthorized() *GetAviVipNetworksUnauthorized

NewGetAviVipNetworksUnauthorized creates a GetAviVipNetworksUnauthorized with default headers values

func (*GetAviVipNetworksUnauthorized) Error

func (*GetAviVipNetworksUnauthorized) GetPayload

func (o *GetAviVipNetworksUnauthorized) GetPayload() *models.Error

type VerifyAccountBadRequest

type VerifyAccountBadRequest struct {
	Payload *models.Error
}

VerifyAccountBadRequest handles this case with default header values.

Bad request

func NewVerifyAccountBadRequest

func NewVerifyAccountBadRequest() *VerifyAccountBadRequest

NewVerifyAccountBadRequest creates a VerifyAccountBadRequest with default headers values

func (*VerifyAccountBadRequest) Error

func (o *VerifyAccountBadRequest) Error() string

func (*VerifyAccountBadRequest) GetPayload

func (o *VerifyAccountBadRequest) GetPayload() *models.Error

type VerifyAccountCreated

type VerifyAccountCreated struct {
}

VerifyAccountCreated handles this case with default header values.

Verified AVI credentials successfully

func NewVerifyAccountCreated

func NewVerifyAccountCreated() *VerifyAccountCreated

NewVerifyAccountCreated creates a VerifyAccountCreated with default headers values

func (*VerifyAccountCreated) Error

func (o *VerifyAccountCreated) Error() string

type VerifyAccountInternalServerError

type VerifyAccountInternalServerError struct {
	Payload *models.Error
}

VerifyAccountInternalServerError handles this case with default header values.

Internal server error

func NewVerifyAccountInternalServerError

func NewVerifyAccountInternalServerError() *VerifyAccountInternalServerError

NewVerifyAccountInternalServerError creates a VerifyAccountInternalServerError with default headers values

func (*VerifyAccountInternalServerError) Error

func (*VerifyAccountInternalServerError) GetPayload

type VerifyAccountParams

type VerifyAccountParams struct {

	/*Credentials
	  Avi controller credentials

	*/
	Credentials *models.AviControllerParams

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

VerifyAccountParams contains all the parameters to send to the API endpoint for the verify account operation typically these are written to a http.Request

func NewVerifyAccountParams

func NewVerifyAccountParams() *VerifyAccountParams

NewVerifyAccountParams creates a new VerifyAccountParams object with the default values initialized.

func NewVerifyAccountParamsWithContext

func NewVerifyAccountParamsWithContext(ctx context.Context) *VerifyAccountParams

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

func NewVerifyAccountParamsWithHTTPClient

func NewVerifyAccountParamsWithHTTPClient(client *http.Client) *VerifyAccountParams

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

func NewVerifyAccountParamsWithTimeout

func NewVerifyAccountParamsWithTimeout(timeout time.Duration) *VerifyAccountParams

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

func (*VerifyAccountParams) SetContext

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

SetContext adds the context to the verify account params

func (*VerifyAccountParams) SetCredentials

func (o *VerifyAccountParams) SetCredentials(credentials *models.AviControllerParams)

SetCredentials adds the credentials to the verify account params

func (*VerifyAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the verify account params

func (*VerifyAccountParams) SetTimeout

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

SetTimeout adds the timeout to the verify account params

func (*VerifyAccountParams) WithContext

WithContext adds the context to the verify account params

func (*VerifyAccountParams) WithCredentials

func (o *VerifyAccountParams) WithCredentials(credentials *models.AviControllerParams) *VerifyAccountParams

WithCredentials adds the credentials to the verify account params

func (*VerifyAccountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the verify account params

func (*VerifyAccountParams) WithTimeout

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

WithTimeout adds the timeout to the verify account params

func (*VerifyAccountParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type VerifyAccountReader

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

VerifyAccountReader is a Reader for the VerifyAccount structure.

func (*VerifyAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VerifyAccountUnauthorized

type VerifyAccountUnauthorized struct {
	Payload *models.Error
}

VerifyAccountUnauthorized handles this case with default header values.

Incorrect credentials

func NewVerifyAccountUnauthorized

func NewVerifyAccountUnauthorized() *VerifyAccountUnauthorized

NewVerifyAccountUnauthorized creates a VerifyAccountUnauthorized with default headers values

func (*VerifyAccountUnauthorized) Error

func (o *VerifyAccountUnauthorized) Error() string

func (*VerifyAccountUnauthorized) GetPayload

func (o *VerifyAccountUnauthorized) GetPayload() *models.Error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL