asset

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeCdn = "cdn"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Asset

type Asset struct {
	Name      string
	Id        string
	Type      string // One of constants 'asset.Type*', e.g. TypeCdn.
	Provider  string // e.g. tencent.Provider
	Available bool   // This asset is ready to set up.
}

Asset represents an item of a product or a service in your account, such as a host, a bucket in object storage or a CDN domain.

func (*Asset) GetBaseInfo

func (a *Asset) GetBaseInfo() *Asset

func (*Asset) String

func (a *Asset) String() string

type Asseter

type Asseter interface {
	GetBaseInfo() *Asset
}

Jump to

Keyboard shortcuts

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