Documentation
¶
Index ¶
- type Job
- type Zftp
- func (z *Zftp) DeleteUnixFile(remote string) (err error)
- func (z *Zftp) GetJobLog(jobid string) (r io.ReadCloser, err error)
- func (z *Zftp) GetJobStatusByID(jobid string) (j *Job, err error)
- func (z *Zftp) GetJobStatusByName(jobid string) (status string, err error)
- func (z *Zftp) GetJoblogByID(jobid string) (joblog string, err error)
- func (z *Zftp) GetPdsDataset(dataset, dir string) (err error)
- func (z *Zftp) GetPsDataset(dataset string) (r io.ReadCloser, err error)
- func (z *Zftp) GetUnixFile(remote string) (r io.ReadCloser, err error)
- func (z *Zftp) PurgeJob(jobid string) (err error)
- func (z *Zftp) PutUnixFile(r io.Reader, remote string) (err error)
- func (z *Zftp) SetAsciiType() (err error)
- func (z *Zftp) SetBinaryType() (err error)
- func (z *Zftp) SetJesMode() (err error)
- func (z *Zftp) SetSeqMode() (err error)
- func (z *Zftp) SubmitJob(r io.Reader) (jobid string, err error)
- func (z *Zftp) SubmitRemoteJob(dataset string) (jobid string, err error)
- func (z *Zftp) Unix2Dos(text string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct { Jobname string `bson:"jobname,omitempty" json:"jobname,omitempty"` Jobid string `bson:"jobid,omitempty" json:"jobid,omitempty"` Owner string `bson:"owner,omitempty" json:"owner,omitempty"` Status string `bson:"status,omitempty" json:"status,omitempty"` Class string `bson:"class,omitempty" json:"class,omitempty"` }
JOBNAME JOBID OWNER STATUS CLASS
type Zftp ¶
type Zftp struct {
*ftp.ServerConn
}
func (*Zftp) DeleteUnixFile ¶
func (*Zftp) GetJobStatusByName ¶
func (*Zftp) GetPdsDataset ¶
func (*Zftp) GetPsDataset ¶
func (z *Zftp) GetPsDataset(dataset string) (r io.ReadCloser, err error)
func (*Zftp) GetUnixFile ¶
func (z *Zftp) GetUnixFile(remote string) (r io.ReadCloser, err error)
func (*Zftp) SetAsciiType ¶
func (*Zftp) SetBinaryType ¶
func (*Zftp) SetJesMode ¶
func (*Zftp) SetSeqMode ¶
func (*Zftp) SubmitJob ¶
The z/OS FTP server supports only the CRLF("\r\n") value for incoming ASCII data.
func (*Zftp) SubmitRemoteJob ¶
Click to show internal directories.
Click to hide internal directories.