terraform-provider-system/system/system.go

29 lines
661 B
Go

package system
// SystemManager providers the functionality to interrogate / interact with target systems
type SystemManager struct {
connection *SystemConnection
}
func NewSystemManagerFromUri(uri string) (*SystemManager, error) {
conn, err := NewSystemConnectionFromUri(uri)
if err != nil {
return nil, err
}
return &SystemManager{
connection: conn,
}, nil
}
func (s *SystemManager) Test() error {
return nil
}
// SystemConnection provides an unopinionated interface for interacting with remote systems on a low level
type SystemConnection struct {
}
func NewSystemConnectionFromUri(uri string) (*SystemConnection, error) {
return nil, nil
}