binding

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Binding

type Binding struct {
	// contains filtered or unexported fields
}

func NewBinding

func NewBinding(serviceInstance *v1alpha1.ServiceInstance, serviceBinding *v1alpha1.ServiceBinding, credentials map[string]interface{}) *Binding

func (*Binding) SecretData

func (binding *Binding) SecretData(secretKey string, withMetadata bool) (map[string][]byte, error)

type BindingMetadata

type BindingMetadata struct {
	MetaDataProperties   []BindingProperty `json:"metaDataProperties,omitempty"`
	CredentialProperties []BindingProperty `json:"credentialProperties,omitempty"`
}

type BindingProperty

type BindingProperty struct {
	Name       string `json:"name,omitempty"`
	SourceName string `json:"sourceName,omitempty"`
	Format     string `json:"format,omitempty"`
	Container  bool   `json:"container,omitempty"`
}

Jump to

Keyboard shortcuts

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