client

package
v0.3.10-0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Balances             *modules.SBalanceManager
	Credentials          *modules.SCredentialManager
	Disks                *modules.SDiskManager
	Domains              *modules.SDomainManager
	Elasticcache         *modules.SElasticcacheManager
	DcsAvailableZone     *modules.SDcsAvailableZoneManager
	Flavors              *modules.SFlavorManager
	Images               *modules.SImageManager
	OpenStackImages      *modules.SImageManager
	Interface            *modules.SInterfaceManager
	Jobs                 *modules.SJobManager
	Keypairs             *modules.SKeypairManager
	Orders               *modules.SOrderManager
	Port                 *modules.SPortManager
	Projects             *modules.SProjectManager
	Regions              *modules.SRegionManager
	SecurityGroupRules   *modules.SSecgroupRuleManager
	SecurityGroups       *modules.SSecurityGroupManager
	NovaSecurityGroups   *modules.SSecurityGroupManager
	Servers              *modules.SServerManager
	ServersV2            *modules.SServerManager
	NovaServers          *modules.SServerManager
	Snapshots            *modules.SSnapshotManager
	OsSnapshots          *modules.SSnapshotManager
	Subnets              *modules.SSubnetManager
	Users                *modules.SUserManager
	Vpcs                 *modules.SVpcManager
	Zones                *modules.SZoneManager
	VpcRoutes            *modules.SVpcRouteManager
	SNatRules            *modules.SNatSRuleManager
	DNatRules            *modules.SNatDRuleManager
	NatGateways          *modules.SNatGatewayManager
	VpcPeerings          *modules.SVpcPeeringManager
	DBInstance           *modules.SDBInstanceManager
	DBInstanceBackup     *modules.SDBInstanceBackupManager
	DBInstanceFlavor     *modules.SDBInstanceFlavorManager
	DBInstanceJob        *modules.SDBInstanceJobManager
	Traces               *modules.STraceManager
	CloudEye             *modules.SCloudEyeManager
	Quotas               *modules.SQuotaManager
	EnterpriseProjects   *modules.SEnterpriseProjectManager
	Roles                *modules.SRoleManager
	Groups               *modules.SGroupManager
	SAMLProviders        *modules.SAMLProviderManager
	SAMLProviderMappings *modules.SAMLProviderMappingManager
	SfsTurbos            *modules.SfsTurboManager
	RouteTables          *modules.SRouteTableManager
	// contains filtered or unexported fields
}

func NewClientWithAccessKey

func NewClientWithAccessKey(endpoint, regionId, domainId, projectId, accessKey, secretKey string, debug bool) (*Client, error)

func NewPublicCloudClientWithAccessKey

func NewPublicCloudClientWithAccessKey(regionId, domainId, projectId, accessKey, secretKey string, debug bool) (*Client, error)

func (*Client) InitWithAccessKey

func (self *Client) InitWithAccessKey(endpoint, regionId, domainId, projectId, accessKey, secretKey string, debug bool) error

func (*Client) SetHttpClient

func (self *Client) SetHttpClient(httpClient *http.Client)

type SClientConfig

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

func (*SClientConfig) GetDebug

func (self *SClientConfig) GetDebug() bool

func (*SClientConfig) GetDomainId

func (self *SClientConfig) GetDomainId() string

func (*SClientConfig) GetEndpoint

func (self *SClientConfig) GetEndpoint() string

func (*SClientConfig) GetProjectId

func (self *SClientConfig) GetProjectId() string

func (*SClientConfig) GetRegionId

func (self *SClientConfig) GetRegionId() string

func (*SClientConfig) GetSigner

func (self *SClientConfig) GetSigner() auth.Signer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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