aliases

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AddAliasEndpoint allows the user to attach an alias to a project.  Consists of org, name, version. Requires team id and project id.
	AddAliasEndpoint = "v1/project/addAlias"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Alias

type Alias struct {
	ID        string    `json:"id"`
	Name      string    `json:"name"`
	Org       string    `json:"org"`
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
	Version   string    `json:"version"`
}

Alias map user defined project names to a Common Platform Enumeration (CPE).

func (Alias) Equal added in v0.22.0

func (a Alias) Equal(x Alias) bool

Equal checks if a given Alias is equivalent to another Alias, based on the name, org, and version information they contain. Returns true if they are equivalent.

Jump to

Keyboard shortcuts

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