github.com/iron-io/functions@v0.0.0-20180820112432-d59d7d1c40b2/fn/commands/images.go (about)

     1  package commands
     2  
     3  import (
     4  	image_commands "github.com/iron-io/functions/fn/commands/images"
     5  	"github.com/iron-io/functions_go"
     6  	"github.com/urfave/cli"
     7  )
     8  
     9  type imagesCmd struct {
    10  	*functions.AppsApi
    11  }
    12  
    13  func Images() cli.Command {
    14  	return cli.Command{
    15  		Name:  "images",
    16  		Usage: "manage function images",
    17  		Subcommands: []cli.Command{
    18  			image_commands.Build(),
    19  			image_commands.Deploy(),
    20  			image_commands.Bump(),
    21  			Call(),
    22  			image_commands.Push(),
    23  			image_commands.Run(),
    24  			testfn(),
    25  		},
    26  	}
    27  }