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) GetInconsistentMetadata ¶
func (p *ProjectMetadata) GetInconsistentMetadata() (io.Reader, error)
GetInconsistentMetadata objects 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
Click to show internal directories.
Click to hide internal directories.