Documentation ¶
Index ¶
- type AuthConfig
- type Client
- func (_m *Client) GetDisks(ctx context.Context, rgname string, logger log.Logger) ([]compute.Disk, error)
- func (_m *Client) GetEHNamespaces(ctx context.Context, rgname string, logger log.Logger) ([]eventhub.EHNamespace, error)
- func (_m *Client) GetLoadBalancers(ctx context.Context, rgname string, logger log.Logger) ([]network.LoadBalancer, error)
- func (_m *Client) GetMetricValues(ctx context.Context, resourceURI string, interval string, metricnames []string, ...) (map[string]insights.MetricValue, error)
- func (_m *Client) GetPublicIPAddresses(ctx context.Context, rgname string, logger log.Logger) ([]network.PublicIPAddress, error)
- func (_m *Client) GetResourceGroup(ctx context.Context, name string, filter string, logger log.Logger) (resources.Group, error)
- func (_m *Client) GetVMResourceSkus(ctx context.Context, filter string, logger log.Logger) ([]compute.ResourceSku, error)
- func (_m *Client) GetVirtualMachines(ctx context.Context, rgname string, logger log.Logger) ([]compute.VirtualMachine, error)
- func (_m *Client) GetVirtualNetworks(ctx context.Context, rgname string, logger log.Logger) ([]network.VirtualNetwork, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
AuthConfig is an autogenerated mock type for the AuthConfig type
func (*AuthConfig) GetAuthConfig ¶
func (_m *AuthConfig) GetAuthConfig(clientID string, clientSecret string, tenantID string, envName string) (autorest.Authorizer, azure.Environment, error)
GetAuthConfig provides a mock function with given fields: clientID, clientSecret, tenantID, envName
type Client ¶
Client is an autogenerated mock type for the Client type
func (*Client) GetDisks ¶
func (_m *Client) GetDisks(ctx context.Context, rgname string, logger log.Logger) ([]compute.Disk, error)
GetDisks provides a mock function with given fields: ctx, rgname, logger
func (*Client) GetEHNamespaces ¶
func (_m *Client) GetEHNamespaces(ctx context.Context, rgname string, logger log.Logger) ([]eventhub.EHNamespace, error)
GetEHNamespaces provides a mock function with given fields: ctx, rgname, logger
func (*Client) GetLoadBalancers ¶
func (_m *Client) GetLoadBalancers(ctx context.Context, rgname string, logger log.Logger) ([]network.LoadBalancer, error)
GetLoadBalancers provides a mock function with given fields: ctx, rgname, logger
func (*Client) GetMetricValues ¶
func (_m *Client) GetMetricValues(ctx context.Context, resourceURI string, interval string, metricnames []string, aggregations []string, logger log.Logger) (map[string]insights.MetricValue, error)
GetMetricValues provides a mock function with given fields: ctx, resourceURI, interval, metricnames, aggregations, logger
func (*Client) GetPublicIPAddresses ¶
func (_m *Client) GetPublicIPAddresses(ctx context.Context, rgname string, logger log.Logger) ([]network.PublicIPAddress, error)
GetPublicIPAddresses provides a mock function with given fields: ctx, rgname, logger
func (*Client) GetResourceGroup ¶
func (_m *Client) GetResourceGroup(ctx context.Context, name string, filter string, logger log.Logger) (resources.Group, error)
GetResourceGroup provides a mock function with given fields: ctx, name, filter, logger
func (*Client) GetVMResourceSkus ¶
func (_m *Client) GetVMResourceSkus(ctx context.Context, filter string, logger log.Logger) ([]compute.ResourceSku, error)
GetVMResourceSkus provides a mock function with given fields: ctx, filter, logger