subnet

package
v22.11.9 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package subnet contains methods to load or create instance of resources.Subnet

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(ctx context.Context, svc iaas.Service, networkID string, all bool, terraform bool) ([]*abstract.Subnet, fail.Error)

List returns a list of available subnets

func Load

func Load(ctx context.Context, svc iaas.Service, networkRef, subnetRef string, terraform bool) (resources.Subnet, fail.Error)

Load loads the metadata of a subnet and returns an instance of resources.Subnet

func New

func New(svc iaas.Service, terraform bool) (resources.Subnet, fail.Error)

New creates an instance of resources.Subnet

Types

This section is empty.

Jump to

Keyboard shortcuts

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