sleep

package
v0.0.0-...-5861b17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package validatedecom registers a job that is used to validate a site is set to state "decom".

Register name: "validateDecom" Args:

"site"(mandatory): The name of the site, like "aaa" or "aba"
"siteType"(mandatory): The type of the site, like "satellite" or "cluster"

Result:

If the site is not in decom, will return a fatal error.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	// contains filtered or unexported fields
}

Job implements jobs.Job.

func (*Job) Run

func (j *Job) Run(ctx context.Context, job *pb.Job) error

Run implements jobs.Job.Run().

func (*Job) Validate

func (j *Job) Validate(job *pb.Job) error

Validate implements jobs.Job.Validate().

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL