Documentation
¶
Index ¶
- func Commands() *cobra.Command
- func Create(input cli.Input) error
- func CreateArchive(client *client.Client, includeFiles []string, noZip bool, specDir string, ...) (*fv1.Archive, error)
- func CreatePackage(input cli.Input, client *client.Client, pkgName string, pkgNamespace string, ...) (*metav1.ObjectMeta, error)
- func Delete(input cli.Input) error
- func GetDeploy(input cli.Input) error
- func GetFunctionsByPackage(client *client.Client, pkgName, pkgNamespace string) ([]fv1.Function, error)
- func GetSrc(input cli.Input) error
- func Info(input cli.Input) error
- func List(input cli.Input) error
- func Rebuild(input cli.Input) error
- func Update(input cli.Input) error
- func UpdatePackage(client *client.Client, pkg *fv1.Package, envName, envNamespace string, ...) (*metav1.ObjectMeta, error)
- type CreateSubCommand
- type DeleteSubCommand
- type GetSubCommand
- type InfoSubCommand
- type ListSubCommand
- type RebuildSubCommand
- type UpdateSubCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateArchive ¶
func CreateArchive(client *client.Client, includeFiles []string, noZip bool, specDir string, specFile string) (*fv1.Archive, error)
CreateArchive returns a fv1.Archive made from an archive . If specFile, then create an archive upload spec in the specs directory; otherwise upload the archive using client. noZip avoids zipping the includeFiles, but is ignored if there's more than one includeFile.
func CreatePackage ¶
func CreatePackage(input cli.Input, client *client.Client, pkgName string, pkgNamespace string, envName string, envNamespace string, srcArchiveFiles []string, deployArchiveFiles []string, buildcmd string, specDir string, specFile string, noZip bool) (*metav1.ObjectMeta, error)
TODO: get all necessary value from CLI input directly
func GetFunctionsByPackage ¶
Types ¶
type CreateSubCommand ¶
type CreateSubCommand struct {
// contains filtered or unexported fields
}
type DeleteSubCommand ¶
type DeleteSubCommand struct {
// contains filtered or unexported fields
}
type GetSubCommand ¶
type GetSubCommand struct {
// contains filtered or unexported fields
}
type InfoSubCommand ¶
type InfoSubCommand struct {
// contains filtered or unexported fields
}
type ListSubCommand ¶
type ListSubCommand struct {
// contains filtered or unexported fields
}
type RebuildSubCommand ¶
type RebuildSubCommand struct {
// contains filtered or unexported fields
}
type UpdateSubCommand ¶
type UpdateSubCommand struct {
// contains filtered or unexported fields
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.