Documentation ¶
Overview ¶
package cronrun defines the cronrunner and its methods
package cronrun defines the cronrunner and its methods
package cronrun defines the cronrunner and its methods
package cronrun defines the cronrunner and its methods
Index ¶
- type Runner
- func (r *Runner) CreateDeployment(options metav1.CreateOptions) (err error)
- func (r *Runner) CreateNamespace(options metav1.CreateOptions) (err error)
- func (r *Runner) CreateService(options metav1.CreateOptions) (err error)
- func (r *Runner) GetDeployment(options metav1.GetOptions) (err error)
- func (r *Runner) GetNamespace(options metav1.GetOptions) (err error)
- func (r *Runner) GetService(options metav1.GetOptions) (err error)
- func (r *Runner) Run() (err error)
- func (r *Runner) UpdateDeployment(updateOptions metav1.UpdateOptions) (err error)
- func (r *Runner) UpdateService(options metav1.UpdateOptions) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner struct { ActiveStart time.Time ActiveEnd time.Time Now time.Time // contains filtered or unexported fields }
func (*Runner) CreateDeployment ¶
func (r *Runner) CreateDeployment(options metav1.CreateOptions) (err error)
CreateDeployment creates deployment in the namespace
func (*Runner) CreateNamespace ¶
func (r *Runner) CreateNamespace(options metav1.CreateOptions) (err error)
CreateNamespace creates a namespace
func (*Runner) CreateService ¶
func (r *Runner) CreateService(options metav1.CreateOptions) (err error)
CreateService creates a service
func (*Runner) GetDeployment ¶
func (r *Runner) GetDeployment(options metav1.GetOptions) (err error)
GetDeployment checks if a deployment exists in the namespace
func (*Runner) GetNamespace ¶
func (r *Runner) GetNamespace(options metav1.GetOptions) (err error)
GetNamespace checks if a service exists in the Namespace
func (*Runner) GetService ¶
func (r *Runner) GetService(options metav1.GetOptions) (err error)
GetService checks if a service exists in the namespace
func (*Runner) UpdateDeployment ¶
func (r *Runner) UpdateDeployment(updateOptions metav1.UpdateOptions) (err error)
updateDeployment updates and existing deployment in the namespace
func (*Runner) UpdateService ¶
func (r *Runner) UpdateService(options metav1.UpdateOptions) (err error)
UpdateService updates a service
Click to show internal directories.
Click to hide internal directories.