Documentation ¶
Index ¶
- Constants
- Variables
- func ConfigInstance() interface{}
- func GetConfig(connection *plugin.Connection) satelliteConfig
- func ParseNVRA(nvra string) (name string, ver string, rel string, arch string, err error)
- func Plugin(ctx context.Context) *plugin.Plugin
- func ToTime(ctx context.Context, d *transform.TransformData) (any, error)
- type Time
Constants ¶
View Source
const SatelliteClientKey = "satellite_client"
View Source
const SatelliteHostIDPrefix = "satellite_hostname::"
Variables ¶
View Source
var ConfigSchema = map[string]*schema.Attribute{ "endpoint": { Type: schema.TypeString, }, "username": { Type: schema.TypeString, }, "password": { Type: schema.TypeString, }, "organisation": { Type: schema.TypeString, }, "location": { Type: schema.TypeString, }, "trace_level": { Type: schema.TypeString, }, }
View Source
var ErrNotImplemented = errors.New("not implemented")
Functions ¶
func ConfigInstance ¶
func ConfigInstance() interface{}
func GetConfig ¶
func GetConfig(connection *plugin.Connection) satelliteConfig
GetConfig :: retrieve and cast connection config from query data
Types ¶
type Time ¶
func (Time) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (*Time) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
Click to show internal directories.
Click to hide internal directories.