cfservice

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateInstance

func CreateInstance(session *session.Session, externalName, planID, spaceID string, params map[string]interface{}, tags []string) (guid, state string, err error)

func CreateKey

func CreateKey(session *session.Session, serviceInstanceGUID string, keyName string, params map[string]interface{}) (guid string, credentials map[string]interface{}, err error)

func DeleteInstance

func DeleteInstance(session *session.Session, instanceID string, logt logr.Logger) error

func DeleteKey

func DeleteKey(session *session.Session, serviceKeyGUID string) error

func GetInstance

func GetInstance(session *session.Session, name string) (guid, state string, err error)

func GetKey

func GetKey(session *session.Session, serviceInstanceGUID string, keyName string) (guid string, credentials map[string]interface{}, err error)

Types

type InstanceCreator

type InstanceCreator func(session *session.Session, externalName, planID, spaceID string, params map[string]interface{}, tags []string) (guid, state string, err error)

type InstanceDeleter

type InstanceDeleter func(session *session.Session, instanceID string, logt logr.Logger) error

type InstanceGetter

type InstanceGetter func(session *session.Session, name string) (guid, state string, err error)

type KeyCreator

type KeyCreator func(session *session.Session, serviceInstanceGUID string, keyName string, params map[string]interface{}) (guid string, credentials map[string]interface{}, err error)

type KeyDeleter

type KeyDeleter func(session *session.Session, serviceKeyGUID string) error

type KeyGetter

type KeyGetter func(session *session.Session, serviceInstanceGUID string, keyName string) (guid string, credentials map[string]interface{}, err error)

type NotFoundError

type NotFoundError struct {
	Err error
}

func (NotFoundError) Error added in v0.2.4

func (e NotFoundError) Error() string

Jump to

Keyboard shortcuts

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