{"modulePath":"github.com/redhat-developer/service-binding-operator","version":"v0.4.0","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package binding\n\n## Constants\n\n```go\nconst (\n\tAnnotationPrefix = \"service.binding\"\n)\n```\n\n## Variables\n\n```go\nvar ErrInvalidAnnotationName = errors.New(\"invalid annotation name\")\n```\n\n## Functions\n\n```go\nfunc IsErrEmptyAnnotationName(err error) bool\n```\n\n```go\nfunc IsErrHandlerNotFound(err error) bool\n```\n\n```go\nfunc IsErrInvalidAnnotationPrefix(err error) bool\n```\n\n## Types\n\n```go\ntype BindingType string\n```\nbindingType encodes the medium the binding should deliver the configuration value.\n\n```go\nconst (\n\t// TypeVolumeMount indicates the binding should happen through a volume mount.\n\tTypeVolumeMount BindingType = \"volumemount\"\n\t// TypeEnvVar indicates the binding should happen through environment variables.\n\tTypeEnvVar BindingType = \"env\"\n)\n```\n\n```go\ntype Definition interface {\n\tGetPath() []string\n\tApply(u *unstructured.Unstructured) (Value, error)\n}\n```\n\n```go\ntype DefinitionBuilder interface {\n\tBuild() (Definition, error)\n}\n```\n\n```go\ntype ErrEmptyAnnotationName string\n```\n\n```go\nfunc (e ErrEmptyAnnotationName) Error() string\n```\n\n```go\ntype ErrInvalidAnnotationPrefix string\n```\n\n```go\nfunc (e ErrInvalidAnnotationPrefix) Error() string\n```\n\n```go\ntype SpecHandler struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewSpecHandler(\n\tkubeClient dynamic.Interface,\n\tannotationKey string,\n\tannotationValue string,\n\tobj unstructured.Unstructured,\n\trestMapper meta.RESTMapper,\n) (*SpecHandler, error)\n```\n\n```go\nfunc (s *SpecHandler) Handle() (result, error)\n```\n\n```go\ntype Value interface {\n\tGet() interface{}\n}\n```\n\n","path":"github.com/redhat-developer/service-binding-operator/pkg/controller/servicebinding/binding","name":"binding","synopsis":"","isRedistributable":true}
