datafoundry_servicebroker_hadoop: github.com/asiainfoLDP/datafoundry_servicebroker_hadoop/handler Index | Files

package handler

import "github.com/asiainfoLDP/datafoundry_servicebroker_hadoop/handler"

Index

Package Files

Zookeeper_Experimental.go handler.go hbase_shared.go hdfs_shared.go

type Credentials Uses

type Credentials struct {
    Uri      string `json:"uri"`
    Hostname string `json:"host"`
    Port     string `json:"port"`
    Username string `json:"username"`
    Password string `json:"password"`
    Name     string `json:"name,omitempty"`
}

type Handler Uses

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

func New Uses

func New(name string) (*Handler, error)

func (*Handler) DoBind Uses

func (handler *Handler) DoBind(myServiceInfo *ServiceInfo, bindingID string, details brokerapi.BindDetails) (brokerapi.Binding, Credentials, error)

func (*Handler) DoDeprovision Uses

func (handler *Handler) DoDeprovision(myServiceInfo *ServiceInfo, asyncAllowed bool) (brokerapi.IsAsync, error)

func (*Handler) DoLastOperation Uses

func (handler *Handler) DoLastOperation(myServiceInfo *ServiceInfo) (brokerapi.LastOperation, error)

func (*Handler) DoProvision Uses

func (handler *Handler) DoProvision(instanceID string, details brokerapi.ProvisionDetails, asyncAllowed bool) (brokerapi.ProvisionedServiceSpec, ServiceInfo, error)

func (*Handler) DoUnbind Uses

func (handler *Handler) DoUnbind(myServiceInfo *ServiceInfo, mycredentials *Credentials) error

type HandlerDriver Uses

type HandlerDriver interface {
    DoProvision(instanceID string, details brokerapi.ProvisionDetails, asyncAllowed bool) (brokerapi.ProvisionedServiceSpec, ServiceInfo, error)
    DoLastOperation(myServiceInfo *ServiceInfo) (brokerapi.LastOperation, error)
    DoDeprovision(myServiceInfo *ServiceInfo, asyncAllowed bool) (brokerapi.IsAsync, error)
    DoBind(myServiceInfo *ServiceInfo, bindingID string, details brokerapi.BindDetails) (brokerapi.Binding, Credentials, error)
    DoUnbind(myServiceInfo *ServiceInfo, mycredentials *Credentials) error
}

type Hbase_sharedHandler Uses

type Hbase_sharedHandler struct{}

func (*Hbase_sharedHandler) DoBind Uses

func (handler *Hbase_sharedHandler) DoBind(myServiceInfo *ServiceInfo, bindingID string, details brokerapi.BindDetails) (brokerapi.Binding, Credentials, error)

func (*Hbase_sharedHandler) DoDeprovision Uses

func (handler *Hbase_sharedHandler) DoDeprovision(myServiceInfo *ServiceInfo, asyncAllowed bool) (brokerapi.IsAsync, error)

func (*Hbase_sharedHandler) DoLastOperation Uses

func (handler *Hbase_sharedHandler) DoLastOperation(myServiceInfo *ServiceInfo) (brokerapi.LastOperation, error)

func (*Hbase_sharedHandler) DoProvision Uses

func (handler *Hbase_sharedHandler) DoProvision(instanceID string, details brokerapi.ProvisionDetails, asyncAllowed bool) (brokerapi.ProvisionedServiceSpec, ServiceInfo, error)

func (*Hbase_sharedHandler) DoUnbind Uses

func (handler *Hbase_sharedHandler) DoUnbind(myServiceInfo *ServiceInfo, mycredentials *Credentials) error

type Hdfs_sharedHandler Uses

type Hdfs_sharedHandler struct{}

func (*Hdfs_sharedHandler) DoBind Uses

func (handler *Hdfs_sharedHandler) DoBind(myServiceInfo *ServiceInfo, bindingID string, details brokerapi.BindDetails) (brokerapi.Binding, Credentials, error)

func (*Hdfs_sharedHandler) DoDeprovision Uses

func (handler *Hdfs_sharedHandler) DoDeprovision(myServiceInfo *ServiceInfo, asyncAllowed bool) (brokerapi.IsAsync, error)

func (*Hdfs_sharedHandler) DoLastOperation Uses

func (handler *Hdfs_sharedHandler) DoLastOperation(myServiceInfo *ServiceInfo) (brokerapi.LastOperation, error)

func (*Hdfs_sharedHandler) DoProvision Uses

func (handler *Hdfs_sharedHandler) DoProvision(instanceID string, details brokerapi.ProvisionDetails, asyncAllowed bool) (brokerapi.ProvisionedServiceSpec, ServiceInfo, error)

func (*Hdfs_sharedHandler) DoUnbind Uses

func (handler *Hdfs_sharedHandler) DoUnbind(myServiceInfo *ServiceInfo, mycredentials *Credentials) error

type ServiceInfo Uses

type ServiceInfo struct {
    Service_name    string                 `json:"service_name"`
    Plan_name       string                 `json:"plan_name"`
    Url             string                 `json:"url"`
    Admin_user      string                 `json:"admin_user,omitempty"`
    Admin_password  string                 `json:"admin_password,omitempty"`
    Database        string                 `json:"database,omitempty"`
    User            string                 `json:"user"`
    Password        string                 `json:"password"`
    HdfsPolicyInfo  ranger.HdfsPolicyInfo  `json:"hdfsPolicyInfo, omitempty"`
    HbasePolicyInfo ranger.HbasePolicyInfo `json:"hbasePolicyInfo, omitempty"`
    Policy_id       int                    `json:"policy_id, omitempty"`
}

Package handler imports 21 packages (graph). Updated 2019-03-19. Refresh now. Tools for package owners.