avi

package
v0.9.0-dev Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package avi defines client to connect to the avi server

Index

Constants

View Source
const AviSessionTimeout = 60

AviSessionTimeout is timeout for avi session

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	VerifyAccount(params *avi_models.AviControllerParams) (bool, error)
	GetClouds() ([]*avi_models.AviCloud, error)
	GetServiceEngineGroups() ([]*avi_models.AviServiceEngineGroup, error)
	GetVipNetworks() ([]*avi_models.AviVipNetwork, error)
}

Client defines methods to access AVI controller via its REST API

func New

func New() Client

New creates an AVI controller REST API client

type MiniCloudClient

type MiniCloudClient interface {
	GetAll(options ...session.ApiOptionsParams) ([]*models.Cloud, error)
}

MiniCloudClient defines a subset of the methods implemented by Cloud

type MiniNetworkClient

type MiniNetworkClient interface {
	GetAll(options ...session.ApiOptionsParams) ([]*models.Network, error)
}

MiniNetworkClient defines a subset of the methods implemented by Network

type MiniServiceEngineGroupClient

type MiniServiceEngineGroupClient interface {
	GetAll(options ...session.ApiOptionsParams) ([]*models.ServiceEngineGroup, error)
}

MiniServiceEngineGroupClient defines a subset of the methods implemented by Cloud

Directories

Path Synopsis
Package avi is a generated GoMock package.
Package avi is a generated GoMock package.

Jump to

Keyboard shortcuts

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