Documentation
¶
Index ¶
- Variables
- type JobStatus
- func (_j JobStatus) IsValid() bool
- func (_j JobStatus) MarshalBinary() ([]byte, error)
- func (_j JobStatus) MarshalGQL(w io.Writer)
- func (_j JobStatus) MarshalJSON() ([]byte, error)
- func (_j JobStatus) MarshalText() ([]byte, error)
- func (_j JobStatus) MarshalYAML() (interface{}, error)
- func (JobStatus) SQLTypeName() string
- func (_j *JobStatus) Scan(value interface{}) error
- func (_j JobStatus) String() string
- func (_j *JobStatus) UnmarshalBinary(text []byte) error
- func (_j *JobStatus) UnmarshalGQL(value interface{}) error
- func (_j *JobStatus) UnmarshalJSON(data []byte) error
- func (_j *JobStatus) UnmarshalText(text []byte) error
- func (_j *JobStatus) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (_j JobStatus) Validate() error
- func (JobStatus) Values() []string
Constants ¶
This section is empty.
Variables ¶
var ErrNoValidEnum = errors.New("not a valid enum")
Functions ¶
This section is empty.
Types ¶
type JobStatus ¶
type JobStatus string
func JobStatusFromString ¶
JobStatusFromString determines the enum value with an exact case match.
func JobStatusFromStringIgnoreCase ¶
JobStatusFromStringIgnoreCase determines the enum value with a case-insensitive match.
func (JobStatus) MarshalBinary ¶
MarshalBinary implements the encoding.BinaryMarshaler interface for JobStatus.
func (JobStatus) MarshalGQL ¶
MarshalGQL implements the graphql.Marshaler interface for JobStatus.
func (JobStatus) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for JobStatus.
func (JobStatus) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface for JobStatus.
func (JobStatus) MarshalYAML ¶
MarshalYAML implements a YAML Marshaler for JobStatus.
func (JobStatus) SQLTypeName ¶
func (JobStatus) String ¶
String returns the string of the enum value. If the enum value is invalid, it will produce a string of the following pattern JobStatus(%d) instead.
func (*JobStatus) UnmarshalBinary ¶
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for JobStatus.
func (*JobStatus) UnmarshalGQL ¶
UnmarshalGQL implements the graphql.Unmarshaler interface for JobStatus.
func (*JobStatus) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for JobStatus.
func (*JobStatus) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface for JobStatus.
func (*JobStatus) UnmarshalYAML ¶
UnmarshalYAML implements a YAML Unmarshaler for JobStatus.