Versions in this module Expand all Collapse all v0 v0.2.1 Jul 9, 2022 v0.2.0 Jun 20, 2022 Changes in this version + const ArrayToCSString + const Base64ToString + const GetValueFrom + const JSONToObject + const Labels + const Metadata + const Name + const Namespace + const ObjectToJSON + const StringToBase64 + const StringToBool + const StringToFloat + const StringToInt + const StringToInt32 + const ToString + const Transformers + func Array2CSStringTransformer(intValue interface{}) (interface{}, error) + func Base642StringTransformer(value interface{}) (interface{}, error) + func CompoundTransformer(value interface{}, transformers ...Transformer) (interface{}, error) + func CompoundTransformerNames(value interface{}, transNames ...string) (interface{}, error) + func GetNamespace(obj map[string]interface{}) (string, error) + func IsIllFormedRef(err error) bool + func IsKindNotFound(err error) bool + func IsObjectNotFound(err error) bool + func IsRefNotFound(err error) bool + func IsValueNotFound(err error) bool + func JSONToObjectTransformer(value interface{}) (interface{}, error) + func NameMatchesResource(kind string, resource metav1.APIResource, resGroup string) bool + func ObjectToJSONTransformer(value interface{}) (interface{}, error) + func String2Base64Transformer(value interface{}) (interface{}, error) + func String2BoolTransformer(value interface{}) (interface{}, error) + func String2FloatTransformer(value interface{}) (interface{}, error) + func String2Int32Transformer(value interface{}) (interface{}, error) + func String2IntTransformer(value interface{}) (interface{}, error) + func ToStringTransformer(value interface{}) (interface{}, error) + type ComposableCache struct + type ComposableGetValueFrom struct + APIVersion string + FormatTransformers []string + Kind string + Labels []string + Name string + Namespace string + Path string + func (in *ComposableGetValueFrom) DeepCopy() *ComposableGetValueFrom + func (in *ComposableGetValueFrom) DeepCopyInto(out *ComposableGetValueFrom) + type KubernetesResourceResolver struct + Client client.Client + ResourcesClient discovery.ServerResourcesInterface + func (k KubernetesResourceResolver) ResolveObject(ctx context.Context, object interface{}, resolved interface{}) error + type ObjectRef struct + GetValueFrom ComposableGetValueFrom + func (in *ObjectRef) DeepCopy() *ObjectRef + func (in *ObjectRef) DeepCopyInto(out *ObjectRef) + type ResolveObject interface + ResolveObject func(ctx context.Context, in, out interface{}) error + type Transformer func(interface{}) (interface{}, error) Other modules containing this package github.com/ibm/composable/sdk