Documentation
¶
Index ¶
- type Connector
- func AddConnector(handler ConnectorsHandler, loadedOptions common.DefaultOptions, ...) (*Connector, error)
- func CopyConnector(origin *Connector) (*Connector, error)
- func EditConnector(origin *Connector, isCopyMode bool) (*Connector, error)
- func NewConnector(handler ConnectorsHandler, loadedOptions common.DefaultOptions, ...) *Connector
- func (c *Connector) Clone() *Connector
- func (c *Connector) ColoredYaml() string
- func (c *Connector) GetBindingNames() []string
- func (c *Connector) GetIntegrationsForCluster(endPoints []string) []*common.Binding
- func (c *Connector) GetManifest() *common.Manifest
- func (c *Connector) Key() string
- func (c *Connector) SetHandler(value ConnectorsHandler) *Connector
- func (c *Connector) SetLoadedOptions(value common.DefaultOptions) *Connector
- func (c *Connector) Update(loadedOptions common.DefaultOptions, targets, sources []byte) *Connector
- func (c *Connector) Validate() error
- type ConnectorsHandler
- type Name
- type Namespace
- type Replicas
- type Status
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector struct { Name string `json:"name"` Namespace string `json:"namespace"` Type string `json:"type"` Replicas int `json:"replicas"` Config string `json:"config"` NodePort int `json:"node_port"` ServiceType string `json:"service_type"` Image string `json:"image"` Integrations *common.Bindings `json:"-" yaml:"-"` Bridges *bridges.Bindings `json:"-" yaml:"-"` Status *Status `json:"-" yaml:"-"` // contains filtered or unexported fields }
func AddConnector ¶ added in v0.4.1
func AddConnector(handler ConnectorsHandler, loadedOptions common.DefaultOptions, targetsManifests, sourceManifest []byte) (*Connector, error)
func CopyConnector ¶ added in v0.4.1
func EditConnector ¶ added in v0.4.1
func NewConnector ¶
func NewConnector(handler ConnectorsHandler, loadedOptions common.DefaultOptions, targetManifest, sourceManifest []byte) *Connector
func (*Connector) ColoredYaml ¶ added in v0.4.0
func (*Connector) GetBindingNames ¶ added in v0.5.1
func (*Connector) GetIntegrationsForCluster ¶ added in v0.5.1
func (*Connector) GetManifest ¶ added in v0.5.1
func (*Connector) SetHandler ¶ added in v0.5.1
func (c *Connector) SetHandler(value ConnectorsHandler) *Connector
func (*Connector) SetLoadedOptions ¶ added in v0.5.1
func (c *Connector) SetLoadedOptions(value common.DefaultOptions) *Connector
type ConnectorsHandler ¶ added in v0.4.1
type Name ¶
type Name struct { Name string // contains filtered or unexported fields }
func (*Name) SetTakenNames ¶
type Namespace ¶
type Namespace struct { Namespace string // contains filtered or unexported fields }
func NewNamespace ¶
func NewNamespace() *Namespace
func (*Namespace) SetNamespaces ¶
type Replicas ¶
type Replicas struct {
// contains filtered or unexported fields
}
func NewReplicas ¶
func NewReplicas() *Replicas
Source Files
¶
Click to show internal directories.
Click to hide internal directories.