Documentation
¶
Index ¶
- type Foreman
- func (foreman *Foreman) CreateHost(HostGroupId int, Name string, Mac string) (string, error)
- func (foreman *Foreman) Delete(endpoint string) (map[string]interface{}, error)
- func (foreman *Foreman) DeleteHost(HostID string) error
- func (foreman *Foreman) Get(endpoint string) (map[string]interface{}, error)
- func (foreman *Foreman) Post(endpoint string, jsonData []byte) (map[string]interface{}, error)
- func (foreman *Foreman) Put(endpoint string, jsonData []byte) (map[string]interface{}, error)
- func (foreman *Foreman) SearchAnyResource(Resource string, Query string) (map[string]interface{}, error)
- func (foreman *Foreman) SearchResource(Resource string, Query string) (map[string]interface{}, error)
- func (foreman *Foreman) SearchResourceName(Resource string, Query string) (map[string]interface{}, error)
- type Host
- type HostMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Foreman ¶
type Foreman struct {
Hostname string
Username string
VerifySSL bool
BaseURL string
// contains filtered or unexported fields
}
func (*Foreman) CreateHost ¶
func (*Foreman) DeleteHost ¶
func (*Foreman) SearchAnyResource ¶
func (*Foreman) SearchResource ¶
Click to show internal directories.
Click to hide internal directories.