functions

package
v1.53.0-beta0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

README

Terraform IBM Provider Cloud Functions

This area is primarily for IBM provider contributors and maintainers. For information on using Terraform and the IBM provider, see the links below.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceIBMFunctionAction

func DataSourceIBMFunctionAction() *schema.Resource

func DataSourceIBMFunctionNamespace

func DataSourceIBMFunctionNamespace() *schema.Resource

func DataSourceIBMFunctionPackage

func DataSourceIBMFunctionPackage() *schema.Resource

func DataSourceIBMFunctionRule

func DataSourceIBMFunctionRule() *schema.Resource

func DataSourceIBMFunctionTrigger

func DataSourceIBMFunctionTrigger() *schema.Resource

func NewQualifiedNameError

func NewQualifiedNameError(entityName string, err error) error

NewQualifiedNameError(entityName, err) returns specific whisk error

for invalid qualified names.

func ResourceIBMFuncActionValidator

func ResourceIBMFuncActionValidator() *validate.ResourceValidator

func ResourceIBMFuncNamespaceValidator

func ResourceIBMFuncNamespaceValidator() *validate.ResourceValidator

func ResourceIBMFuncPackageValidator

func ResourceIBMFuncPackageValidator() *validate.ResourceValidator

func ResourceIBMFuncRuleValidator

func ResourceIBMFuncRuleValidator() *validate.ResourceValidator

func ResourceIBMFuncTriggerValidator

func ResourceIBMFuncTriggerValidator() *validate.ResourceValidator

func ResourceIBMFunctionAction

func ResourceIBMFunctionAction() *schema.Resource

func ResourceIBMFunctionNamespace

func ResourceIBMFunctionNamespace() *schema.Resource

func ResourceIBMFunctionPackage

func ResourceIBMFunctionPackage() *schema.Resource

func ResourceIBMFunctionRule

func ResourceIBMFunctionRule() *schema.Resource

func ResourceIBMFunctionTrigger

func ResourceIBMFunctionTrigger() *schema.Resource

Types

type QualifiedName

type QualifiedName struct {
	EntityName string // pkg+entity
	// contains filtered or unexported fields
}

func NewQualifiedName

func NewQualifiedName(name string) (*QualifiedName, error)

NewQualifiedName(name) initializes and constructs a (possibly fully qualified)

QualifiedName struct.

NOTE: If the given qualified name is None, then this is a default qualified
    name and it is resolved from properties.
NOTE: If the namespace is missing from the qualified name, the namespace
    is also resolved from the property file.

Examples:

foo => qualifiedName {namespace: "_", entityName: foo}
pkg/foo => qualifiedName {namespace: "_", entityName: pkg/foo}
/ns/foo => qualifiedName {namespace: ns, entityName: foo}
/ns/pkg/foo => qualifiedName {namespace: ns, entityName: pkg/foo}

func (*QualifiedName) GetEntity

func (qualifiedName *QualifiedName) GetEntity() string

GetEntity() returns the name of entity in qualifiedName without a leading '/'

func (*QualifiedName) GetEntityName

func (qualifiedName *QualifiedName) GetEntityName() string

GetEntityName() returns the entity name ([package/]entity) of qualifiedName

without a leading '/'

func (*QualifiedName) GetFullQualifiedName

func (qualifiedName *QualifiedName) GetFullQualifiedName() string

GetFullQualifiedName() returns a full qualified name in proper string format

from qualifiedName with proper syntax.

Example: /namespace/[package/]entity

func (*QualifiedName) GetNamespace

func (qualifiedName *QualifiedName) GetNamespace() string

GetNamespace() returns the name of the namespace in qualifiedName without

a leading '/'

func (*QualifiedName) GetPackageName

func (qualifiedName *QualifiedName) GetPackageName() string

GetPackageName() returns the package name from qualifiedName without a

leading '/'

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL