Documentation ¶
Index ¶
- type MockClient
- func (c *MockClient) Addresses() gce.AddressClient
- func (c *MockClient) AllResources() map[string]interface{}
- func (c *MockClient) Disks() gce.DiskClient
- func (c *MockClient) Firewalls() gce.FirewallClient
- func (c *MockClient) ForwardingRules() gce.ForwardingRuleClient
- func (c *MockClient) InstanceGroupManagers() gce.InstanceGroupManagerClient
- func (c *MockClient) InstanceTemplates() gce.InstanceTemplateClient
- func (c *MockClient) Instances() gce.InstanceClient
- func (c *MockClient) Networks() gce.NetworkClient
- func (c *MockClient) Projects() gce.ProjectClient
- func (c *MockClient) Regions() gce.RegionClient
- func (c *MockClient) Routers() gce.RouterClient
- func (c *MockClient) Routes() gce.RouteClient
- func (c *MockClient) Subnetworks() gce.SubnetworkClient
- func (c *MockClient) TargetPools() gce.TargetPoolClient
- func (c *MockClient) Zones() gce.ZoneClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient represents a mocked compute client.
func NewMockClient ¶
func NewMockClient(project string) *MockClient
NewMockClient creates a new mock client.
func (*MockClient) Addresses ¶
func (c *MockClient) Addresses() gce.AddressClient
func (*MockClient) AllResources ¶
func (c *MockClient) AllResources() map[string]interface{}
func (*MockClient) Disks ¶
func (c *MockClient) Disks() gce.DiskClient
func (*MockClient) Firewalls ¶
func (c *MockClient) Firewalls() gce.FirewallClient
func (*MockClient) ForwardingRules ¶
func (c *MockClient) ForwardingRules() gce.ForwardingRuleClient
func (*MockClient) InstanceGroupManagers ¶
func (c *MockClient) InstanceGroupManagers() gce.InstanceGroupManagerClient
func (*MockClient) InstanceTemplates ¶
func (c *MockClient) InstanceTemplates() gce.InstanceTemplateClient
func (*MockClient) Instances ¶
func (c *MockClient) Instances() gce.InstanceClient
func (*MockClient) Networks ¶
func (c *MockClient) Networks() gce.NetworkClient
func (*MockClient) Projects ¶
func (c *MockClient) Projects() gce.ProjectClient
func (*MockClient) Regions ¶
func (c *MockClient) Regions() gce.RegionClient
func (*MockClient) Routers ¶
func (c *MockClient) Routers() gce.RouterClient
func (*MockClient) Routes ¶
func (c *MockClient) Routes() gce.RouteClient
func (*MockClient) Subnetworks ¶
func (c *MockClient) Subnetworks() gce.SubnetworkClient
func (*MockClient) TargetPools ¶
func (c *MockClient) TargetPools() gce.TargetPoolClient
func (*MockClient) Zones ¶
func (c *MockClient) Zones() gce.ZoneClient
Click to show internal directories.
Click to hide internal directories.