metadata

package
v2.51.4 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: Apache-2.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProjectMetadata

type ProjectMetadata struct {
	// contains filtered or unexported fields
}

func NewProjectMetadata

func NewProjectMetadata(
	projectDirectory string,
	opts ...ProjectMetadataOption,
) (*ProjectMetadata, error)

func (*ProjectMetadata) Apply

func (p *ProjectMetadata) Apply() (io.Reader, error)

Apply metadata from in the project and provide raw response from hge server.

func (*ProjectMetadata) Diff

func (p *ProjectMetadata) Diff() (io.Reader, error)

Diff will return the differences between metadata in the project (in JSON) and on the server.

func (*ProjectMetadata) Export added in v2.35.0

func (p *ProjectMetadata) Export() (io.Reader, error)

Export will return the server metadata.

func (*ProjectMetadata) GetInconsistentMetadata

func (p *ProjectMetadata) GetInconsistentMetadata() (io.Reader, error)

GetInconsistentMetadata objects from hge server.

func (*ProjectMetadata) Parse

func (p *ProjectMetadata) Parse() (io.Reader, error)

Parse metadata in project as JSON.

func (*ProjectMetadata) Reload

func (p *ProjectMetadata) Reload() (io.Reader, error)

Reload metadata on hge server and provides raw response from hge server.

type ProjectMetadataOption

type ProjectMetadataOption func(*ProjectMetadata)

func WithAdminSecret

func WithAdminSecret(adminSecret string) ProjectMetadataOption

func WithCliExtPath

func WithCliExtPath(path string) ProjectMetadataOption

func WithEndpoint

func WithEndpoint(endpoint string) ProjectMetadataOption

Jump to

Keyboard shortcuts

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