resources

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GroupTables = []interface{}{
	&Group{},
	&GroupTag{},
}

Functions

func Groups

func Groups(subscriptionID string, auth autorest.Authorizer, db *database.Database, log *zap.Logger, gConfig interface{}) error

Types

type Group

type Group struct {
	ID             uint `gorm:"primarykey"`
	SubscriptionID string
	ResourceID     *string
	Name           *string
	Type           *string

	PropertiesProvisioningState *string
	Location                    *string
	ManagedBy                   *string
	Tags                        []*GroupTag `gorm:"constraint:OnDelete:CASCADE;"`
}

func (Group) TableName

func (Group) TableName() string

type GroupConfig

type GroupConfig struct {
	Filter string
}

type GroupTag

type GroupTag struct {
	GroupID uint
	Key     string
	Value   *string
}

func (GroupTag) TableName

func (GroupTag) TableName() string

Jump to

Keyboard shortcuts

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