Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Pkg ¶ added in v0.2.0
func (client *Client) Pkg(request PkgRequest) (*PkgResponse, error)
func (*Client) Resolve ¶
func (client *Client) Resolve(request ResolveRequest) (*ResolveResponse, error)
type Config ¶
type Config struct {
Name string
Description string
Packages []PackageSpec
Env map[string]string
}
type FlakeInstallable ¶ added in v0.2.0
type PackageSpec ¶
type PkgRequest ¶ added in v0.2.0
type PkgRequest struct {
Name string
}
type PkgResponse ¶ added in v0.2.0
type Platform ¶ added in v0.2.0
type Platform struct {
Arch string `json:"arch,omitempty"`
Os string `json:"os,omitempty"`
System string `json:"system,omitempty"`
AttributePath string `json:"attribute_path,omitempty"`
CommitHash string `json:"commit_hash,omitempty"`
Date string `json:"date,omitempty"`
Outputs []Output `json:"outputs,omitempty"`
}
type ResolveRequest ¶
type ResolveResponse ¶
type System ¶ added in v0.2.0
type System struct {
FlakeInstallable FlakeInstallable `json:"flake_installable,omitempty"`
LastUpdated string `json:"last_updated,omitempty"`
Outputs []Output `json:"outputs,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.