Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.83 KB

File metadata and controls

43 lines (33 loc) · 1.83 KB

Managing Actions with Packages

This exercise will introduce the concepts needed to create and use packages with IBM Cloud Functions.

Once you have completed this exercise, you will have…

  • Learnt how to find public packages.
  • Understood how to use public package actions and bindings.
  • Created and shared custom packages.

Once this exercise is finished, we will be able to create and share actions using packages using IBM Cloud Functions!

Background

In IBM Cloud Functions, you can use packages to bundle together related actions and even share them with others. It is important to note that:

  • Packages can only contain actions. Triggers and rules are not supported at the moment.
  • Package nesting is not allowed, i.e. packages cannot contain other packages.

Packages also support default parameters. Package parameters are automatically passed into actions during invocations.

{% hint style="tip" %} Package parameters provide a convenient method to manage service credentials needed with multiple actions. {% endhint %}