entities

package
v0.0.0-...-b0621e5 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetEntity

type AssetEntity struct {

	// Unique identifier of the asset
	AssetId string `gae:"$id"`
	// Name of the asset
	Name string
	// Description of the asset
	Description string
	//Type of the Asset (active_directory, etc)
	AssetType string
	// User who created the record.
	CreatedBy string
	// Timestamp for the creation of the record.
	CreatedAt time.Time
	// Timestamp for the last update of the record.
	ModifiedAt time.Time
	// User who modified the record.
	ModifiedBy string
	// Flag to denote whether this Resource is deleted
	Deleted bool
}

type AssetInstanceEntity

type AssetInstanceEntity struct {

	// Unique identifier of the AssetInstance
	AssetInstanceId string `gae:"$id"`
	// AssetId associated with the AssetInstance
	AssetId string
	// Status of the AssetInstance
	Status string
	// Deployment Errors
	Errors string `gae:",noindex"`
	// Deployment Logs
	Logs string `gae:",noindex"`
	// Project Id associated with the AssetInstance
	ProjectId string
	// User who created the record.
	CreatedBy string
	// Timestamp for the creation of the record.
	CreatedAt time.Time
	// Timestamp for the last update of the record.
	ModifiedAt time.Time
	// User who modified the record.
	ModifiedBy string
	// Timestamp to delete the machines
	DeleteAt time.Time
}

type AssetResourceEntity

type AssetResourceEntity struct {
	// Unique identifier of the entity
	AssetResourceId string `gae:"$id"`
	// Identifier of the asset associated with the entity
	AssetId string
	// Identifier of the resource associated with the entity
	ResourceId string
	// Alias name of the entity
	AliasName string
	// User who created the record.
	CreatedBy string
	// Timestamp for the creation of the record.
	CreatedAt time.Time
	// Timestamp for the last update of the record.
	ModifiedAt time.Time
	// User who modified the record.
	ModifiedBy string
	// Flag to denote whether this AssetResource is default
	Default bool
}

type ResourceEntity

type ResourceEntity struct {
	// Unique identifier of the resource
	ResourceId string `gae:"$id"`
	// Name of the resource
	Name string
	// Description of the resource
	Description string
	// Type of the resource
	Type string
	//  Operating system of the machine (If Type is machine or ad_joined_machine)
	OperatingSystem string
	// TODO: crbug/1328854 move the image info as part of property later phases
	// Gcp project where image resides
	ImageProject string
	// Family accociated with the gcp project where image resides
	ImageFamily string
	// Source Image path for GCE custom image
	ImageSource string
	// User who created the record.
	CreatedBy string
	// Timestamp for the creation of the record.
	CreatedAt time.Time
	// Timestamp for the last update of the record.
	ModifiedAt time.Time
	// User who modified the record.
	ModifiedBy string
	// Flag to denote whether this Resource is deleted
	Deleted bool
}

Jump to

Keyboard shortcuts

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