Documentation ¶
Index ¶
- func DataSourceIBMFunctionAction() *schema.Resource
- func DataSourceIBMFunctionNamespace() *schema.Resource
- func DataSourceIBMFunctionPackage() *schema.Resource
- func DataSourceIBMFunctionRule() *schema.Resource
- func DataSourceIBMFunctionTrigger() *schema.Resource
- func NewQualifiedNameError(entityName string, err error) error
- func ResourceIBMFuncActionValidator() *validate.ResourceValidator
- func ResourceIBMFuncNamespaceValidator() *validate.ResourceValidator
- func ResourceIBMFuncPackageValidator() *validate.ResourceValidator
- func ResourceIBMFuncRuleValidator() *validate.ResourceValidator
- func ResourceIBMFuncTriggerValidator() *validate.ResourceValidator
- func ResourceIBMFunctionAction() *schema.Resource
- func ResourceIBMFunctionNamespace() *schema.Resource
- func ResourceIBMFunctionPackage() *schema.Resource
- func ResourceIBMFunctionRule() *schema.Resource
- func ResourceIBMFunctionTrigger() *schema.Resource
- type QualifiedName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQualifiedNameError ¶
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 ResourceIBMFunctionRule ¶
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 '/'
Source Files ¶
- data_source_ibm_function_action.go
- data_source_ibm_function_namespace.go
- data_source_ibm_function_package.go
- data_source_ibm_function_rule.go
- data_source_ibm_function_trigger.go
- qualified_name.go
- resource_ibm_function_action.go
- resource_ibm_function_namespace.go
- resource_ibm_function_package.go
- resource_ibm_function_rule.go
- resource_ibm_function_trigger.go
Click to show internal directories.
Click to hide internal directories.