Documentation ¶
Overview ¶
Package types provides shared types used by multiple packages in the "bruh" application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BicepDirectory ¶
BicepDirectory contains information about a bicep directory:
- Name: the name of the bicep directory (e.g. virtualNetworks)
- Files: the bicep files in the bicep directory
func (BicepDirectory) String ¶
func (dir BicepDirectory) String() string
String returns a string representation of a types.BicepDirectory object.
type BicepFile ¶
BicepFile contains information about a bicep file:
- Name: the name of the bicep file (e.g. virtualNetworks.bicep)
- Resources: the bicep resources defined in the bicep file
type Resource ¶
type Resource struct { ID string Name string Namespace string CurrentAPIVersion string AvailableAPIVersions []string }
Resource contains information about a resource:
- ID: the resource ID (e.g. Microsoft.Network/virtualNetworks)
- Name: the resource name (e.g. virtualNetworks)
- Namespace: the resource namespace (e.g. Microsoft.Network)
- CurrentAPIVersion: the used API version (e.g. 2021-02-01)
- AvailableAPIVersions: the available API versions (e.g. [2021-02-01 2020-11-01])
Click to show internal directories.
Click to hide internal directories.