Documentation ¶
Index ¶
- type Crontab
- func (c *Crontab) CrontabEntries() []crontab.Task
- func (c *Crontab) GetMetadata() plugin.PluginMetadata
- func (c *Crontab) RenderEntries(entries []*crontab.Task)
- func (c *Crontab) Run(cliConnection plugin.CliConnection, args []string)
- func (c *Crontab) ServerEntries(cliConnection plugin.CliConnection) ([]*crontab.Task, error)
- type CrontabServer
- func (c CrontabServer) AddEntries(tasks []crontab.Task) ([]*crontab.Task, error)
- func (c CrontabServer) DeleteEntry(index int) (bool, error)
- func (c CrontabServer) GetEntries() ([]*crontab.Task, error)
- func (c CrontabServer) GetSecret() (string, error)
- func (c CrontabServer) GetToken() (string, error)
- func (c CrontabServer) Host() (string, error)
- func (c CrontabServer) SaveCrontab() error
- func (c CrontabServer) ServerRequest(method, endpoint string, body io.Reader) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Crontab ¶
Crontab implements the CF client interface
func (*Crontab) CrontabEntries ¶
func (*Crontab) GetMetadata ¶
func (c *Crontab) GetMetadata() plugin.PluginMetadata
func (*Crontab) RenderEntries ¶
func (*Crontab) ServerEntries ¶
type CrontabServer ¶
type CrontabServer struct {
// contains filtered or unexported fields
}
func CrontabServerResolver ¶
func CrontabServerResolver(cliConnection plugin.CliConnection) (*CrontabServer, error)
func (CrontabServer) AddEntries ¶
func (CrontabServer) DeleteEntry ¶
func (c CrontabServer) DeleteEntry(index int) (bool, error)
func (CrontabServer) GetEntries ¶
func (c CrontabServer) GetEntries() ([]*crontab.Task, error)
func (CrontabServer) GetSecret ¶
func (c CrontabServer) GetSecret() (string, error)
func (CrontabServer) GetToken ¶
func (c CrontabServer) GetToken() (string, error)
func (CrontabServer) Host ¶
func (c CrontabServer) Host() (string, error)
func (CrontabServer) SaveCrontab ¶
func (c CrontabServer) SaveCrontab() error
func (CrontabServer) ServerRequest ¶
Click to show internal directories.
Click to hide internal directories.