services

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: MPL-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 ComputeClient

type ComputeClient struct {
	Disks DisksClient
}

func NewComputeClient

func NewComputeClient(subscriptionId string, auth autorest.Authorizer) ComputeClient

type DisksClient

type DisksClient interface {
	List(ctx context.Context) (result compute.DiskListPage, err error)
}

type GroupsClient

type GroupsClient interface {
	List(ctx context.Context, filter string, top *int32) (result resources.GroupListResultPage, err error)
}

type KeyClient

type KeyClient interface {
	List(ctx context.Context, resourceGroupName string, vaultName string) (result keyvault.KeyListResultPage, err error)
}

type KeyVaultClient

type KeyVaultClient struct {
	Vaults VaultClient
	Keys   KeyClient
}

func NewKeyVaultClient

func NewKeyVaultClient(subscriptionId string, auth autorest.Authorizer) KeyVaultClient

type MySQL

type MySQL struct {
	Servers       MySQLServerClient
	Configuration MySQLConfigurationClient
}

func NewMySQLClient

func NewMySQLClient(subscriptionId string, auth autorest.Authorizer) MySQL

type MySQLConfigurationClient

type MySQLConfigurationClient interface {
	ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result mysql.ConfigurationListResult, err error)
}

type MySQLServerClient

type MySQLServerClient interface {
	List(ctx context.Context) (result mysql.ServerListResult, err error)
}

type NetworksClient

type NetworksClient struct {
	VirtualNetworks VirtualNetworksClient
}

func NewNetworksClient

func NewNetworksClient(subscriptionId string, auth autorest.Authorizer) NetworksClient

type PostgreSQL

type PostgreSQL struct {
	Servers       PostgresqlServerClient
	Configuration PostgresqlConfigurationClient
}

func NewPostgresClient

func NewPostgresClient(subscriptionId string, auth autorest.Authorizer) PostgreSQL

type PostgresqlConfigurationClient

type PostgresqlConfigurationClient interface {
	ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result postgresql.ConfigurationListResult, err error)
}

type PostgresqlServerClient

type PostgresqlServerClient interface {
	List(ctx context.Context) (result postgresql.ServerListResult, err error)
}

type ResourcesClient

type ResourcesClient struct {
	Groups GroupsClient
}

func NewResourcesClient

func NewResourcesClient(subscriptionId string, auth autorest.Authorizer) ResourcesClient

type SQLClient

type SQLClient struct {
	Servers  SqlServerClient
	Database SqlDatabaseClient
}

func NewSQLClient

func NewSQLClient(subscriptionId string, auth autorest.Authorizer) SQLClient

type Services

type Services struct {
	Compute    ComputeClient
	Resources  ResourcesClient
	KeyVault   KeyVaultClient
	Storage    StorageClient
	SQL        SQLClient
	PostgreSQL PostgreSQL
	MySQL      MySQL
	Network    NetworksClient
}

func InitServices

func InitServices(subscriptionId string, auth autorest.Authorizer) Services

type SqlDatabaseClient

type SqlDatabaseClient interface {
	ListByServer(ctx context.Context, resourceGroupName string, serverName string, expand string, filter string) (result sql.DatabaseListResult, err error)
}

type SqlServerClient

type SqlServerClient interface {
	List(ctx context.Context) (result sql.ServerListResult, err error)
}

type StorageAccountClient

type StorageAccountClient interface {
	List(ctx context.Context) (result storage.AccountListResultPage, err error)
}

type StorageClient

type StorageClient struct {
	Containers StorageContainerClient
	Accounts   StorageAccountClient
}

func NewStorageClient

func NewStorageClient(subscriptionId string, auth autorest.Authorizer) StorageClient

type StorageContainerClient

type StorageContainerClient interface {
	List(ctx context.Context, resourceGroupName string, accountName string, maxpagesize string, filter string, include storage.ListContainersInclude) (result storage.ListContainerItemsPage, err error)
}

type VaultClient

type VaultClient interface {
	ListBySubscription(ctx context.Context, top *int32) (result keyvault.VaultListResultPage, err error)
}

type VirtualNetworksClient

type VirtualNetworksClient interface {
	ListAll(ctx context.Context) (result network.VirtualNetworkListResultPage, err error)
}

Directories

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

Jump to

Keyboard shortcuts

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