Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateOpts ¶
type CreateOpts struct {
DependFile string `json:"depend_file,omitempty"`
DependLink string `json:"depend_link,omitempty"`
DependType string `json:"depend_type" required:"true"`
Runtime string `json:"runtime" required:"true"`
Name string `json:"name" required:"true"`
Description string `json:"description,omitempty"`
}
type DepVersionListResp ¶
type DepVersionListResp struct {
Id string `json:"id"`
Owner string `json:"owner"`
Link string `json:"link"`
Runtime string `json:"runtime"`
Etag string `json:"etag"`
Size int `json:"size"`
Name string `json:"name"`
Description string `json:"description"`
FileName string `json:"file_name"`
Version int `json:"version"`
DepId string `json:"dep_id"`
LastModified string `json:"last_modified"`
DownloadLink string `json:"download_link"`
}
type DepVersionResp ¶
type DepVersionResp struct {
Id string `json:"id"`
Owner string `json:"owner"`
Link string `json:"link"`
Runtime string `json:"runtime"`
Etag string `json:"etag"`
Size int `json:"size"`
Name string `json:"name"`
Description string `json:"description"`
FileName string `json:"file_name"`
Version int `json:"version"`
DepId string `json:"dep_id"`
LastModified int `json:"last_modified"`
DownloadLink string `json:"download_link"`
}
func Create ¶
func Create(client *golangsdk.ServiceClient, opts CreateOpts) (*DepVersionResp, error)
func Get ¶
func Get(client *golangsdk.ServiceClient, dependId, version string) (*DepVersionResp, error)
type ListDepVersionResp ¶
type ListDepVersionResp struct {
Dependencies []DepVersionListResp `json:"dependencies"`
NextMarker int `json:"next_marker"`
Count int `json:"count"`
}
func ListDependencies ¶
func ListDependencies(client *golangsdk.ServiceClient, opts ListDependenciesOpts) (*ListDepVersionResp, error)
func ListDependencyVersions ¶
func ListDependencyVersions(client *golangsdk.ServiceClient, opts ListDependencyVersionOpts) (*ListDepVersionResp, error)
type ListDependenciesOpts ¶
Click to show internal directories.
Click to hide internal directories.