Documentation ¶
Index ¶
- type Fthing
- type VCFSession
- func (vmcfs *VCFSession) BuildAuth(Username string, Password string)
- func (vmcfs *VCFSession) GETResourceRequest(Resource string) (*http.Response, bool, error)
- func (vmcfs *VCFSession) Load(FilePath string, Log sl.ISimpleLogger) (*VCFSession, bool)
- func (vmcfs *VCFSession) LogMessage(cmd string, Message string)
- func (vmcfs *VCFSession) Save(FilePath string, Log sl.ISimpleLogger) bool
- func (vmcfs *VCFSession) SendRequest(Resource string, ContentType string, methodin string, tosend io.Reader) (*http.Response, bool, error)
- func (vmcfs *VCFSession) UploadFile(Filepath string, Resource string, MethodIn string) (*http.Response, bool, error)
- type VMUtil
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VCFSession ¶
type VCFSession struct { FQDN string `json:"fqdn"` Domain string `json:"domain"` Base64AuthInfo string `json:"base64authinfo"` Logger sl.ISimpleLogger `json:"-"` InsecureSkipVerify bool `json:"insecureskipverify"` }
func NewVCFSession ¶
func NewVCFSession(FQDN string, Logger sl.ISimpleLogger) VCFSession
func (*VCFSession) BuildAuth ¶
func (vmcfs *VCFSession) BuildAuth(Username string, Password string)
func (*VCFSession) GETResourceRequest ¶
func (*VCFSession) Load ¶
func (vmcfs *VCFSession) Load(FilePath string, Log sl.ISimpleLogger) (*VCFSession, bool)
func (*VCFSession) LogMessage ¶
func (vmcfs *VCFSession) LogMessage(cmd string, Message string)
func (*VCFSession) Save ¶
func (vmcfs *VCFSession) Save(FilePath string, Log sl.ISimpleLogger) bool
func (*VCFSession) SendRequest ¶
func (*VCFSession) UploadFile ¶
Click to show internal directories.
Click to hide internal directories.