Documentation ¶
Index ¶
- Constants
- func NewPlugin(endpoint string) integration.Plugin
- type Plugin
- func (p *Plugin) CallStack(data interface{}) (stack map[string]interface{})
- func (p *Plugin) Destroy() error
- func (p *Plugin) GetConnectionState() string
- func (p *Plugin) GetData(_ []any) string
- func (p *Plugin) GetEndpoint() string
- func (p *Plugin) GetEnvironmentsData(_ []uid.ID) map[uid.ID]string
- func (p *Plugin) GetName() string
- func (p *Plugin) GetPrettyName() string
- func (p *Plugin) Init(instanceId string) error
- func (p *Plugin) ObjectStack(_ map[string]string) (stack map[string]interface{})
- type RpcClient
Constants ¶
View Source
const ( BKP_RUN_TIMEOUT = 30 * time.Second BKP_ENV_TIMEOUT = 30 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func NewPlugin ¶
func NewPlugin(endpoint string) integration.Plugin
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) GetConnectionState ¶
func (*Plugin) GetEndpoint ¶
func (*Plugin) GetEnvironmentsData ¶ added in v0.56.0
func (*Plugin) GetPrettyName ¶
type RpcClient ¶ added in v0.56.0
type RpcClient struct { bkpb.EnvironmentServiceClient bkpb.FlpServiceClient bkpb.LogServiceClient bkpb.RunServiceClient // contains filtered or unexported fields }
func (*RpcClient) GetConnState ¶ added in v0.56.0
func (m *RpcClient) GetConnState() connectivity.State
Click to show internal directories.
Click to hide internal directories.