resourcegroups

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MIT Imports: 5 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 interface {
	ListResourceGroups(ctx context.Context) ([]*armresources.ResourceGroup, error)
}

Client is the interface for a client to interact with the Azure resource groups api.

func New

func New(subscriptionID string, credentials *azidentity.ClientSecretCredential) Client

New returns a new client to interact with the container instances API.

type MockClient

type MockClient struct {
	mock.Mock
}

MockClient is an autogenerated mock type for the Client type

func (*MockClient) ListResourceGroups

func (_m *MockClient) ListResourceGroups(ctx context.Context) ([]*armresources.ResourceGroup, error)

ListResourceGroups provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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