Documentation
¶
Index ¶
- Variables
- type JobList
- func (x *JobList) ContainsJob(job string) bool
- func (x *JobList) GetJobStrings() []string
- func (x *JobList) GetJobs() []*JobListEntry
- func (x *JobList) IsEmpty() bool
- func (*JobList) ProtoMessage()
- func (x *JobList) ProtoReflect() protoreflect.Message
- func (x *JobList) Reset()
- func (m *JobList) Sanitize() error
- func (x *JobList) Scan(value any) error
- func (x *JobList) SetJobs(v []*JobListEntry)
- func (x *JobList) String() string
- func (x *JobList) Value() (driver.Value, error)
- type JobListEntry
- func (x *JobListEntry) ClearLabel()
- func (x *JobListEntry) GetJob() string
- func (x *JobListEntry) GetLabel() string
- func (x *JobListEntry) GetName() string
- func (x *JobListEntry) HasLabel() bool
- func (*JobListEntry) ProtoMessage()
- func (x *JobListEntry) ProtoReflect() protoreflect.Message
- func (x *JobListEntry) Reset()
- func (m *JobListEntry) Sanitize() error
- func (x *JobListEntry) SetJob(job string)
- func (x *JobListEntry) SetJobLabel(label string)
- func (x *JobListEntry) SetLabel(v string)
- func (x *JobListEntry) SetName(v string)
- func (x *JobListEntry) String() string
- type JobListEntry_builder
- type JobList_builder
Constants ¶
This section is empty.
Variables ¶
View Source
var File_resources_centrum_joblist_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type JobList ¶
type JobList struct {
Jobs []*JobListEntry `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
// contains filtered or unexported fields
}
func (*JobList) ContainsJob ¶
func (*JobList) GetJobStrings ¶
func (*JobList) GetJobs ¶
func (x *JobList) GetJobs() []*JobListEntry
func (*JobList) ProtoMessage ¶
func (*JobList) ProtoMessage()
func (*JobList) ProtoReflect ¶
func (x *JobList) ProtoReflect() protoreflect.Message
func (*JobList) Sanitize ¶
Sanitize sanitizes the message's fields, in case of complex types it calls their Sanitize() method recursively.
func (*JobList) Scan ¶
Scan implements driver.Valuer for protobuf JobList. Special case as only the job list is stored in the database, not the full protobuf message.
func (*JobList) SetJobs ¶
func (x *JobList) SetJobs(v []*JobListEntry)
type JobListEntry ¶
type JobListEntry struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Label *string `protobuf:"bytes,2,opt,name=label,proto3,oneof" json:"label,omitempty"`
// contains filtered or unexported fields
}
func (*JobListEntry) ClearLabel ¶
func (x *JobListEntry) ClearLabel()
func (*JobListEntry) GetJob ¶
func (x *JobListEntry) GetJob() string
func (*JobListEntry) GetLabel ¶
func (x *JobListEntry) GetLabel() string
func (*JobListEntry) GetName ¶
func (x *JobListEntry) GetName() string
func (*JobListEntry) HasLabel ¶
func (x *JobListEntry) HasLabel() bool
func (*JobListEntry) ProtoMessage ¶
func (*JobListEntry) ProtoMessage()
func (*JobListEntry) ProtoReflect ¶
func (x *JobListEntry) ProtoReflect() protoreflect.Message
func (*JobListEntry) Reset ¶
func (x *JobListEntry) Reset()
func (*JobListEntry) Sanitize ¶
func (m *JobListEntry) Sanitize() error
Sanitize sanitizes the message's fields, in case of complex types it calls their Sanitize() method recursively.
func (*JobListEntry) SetJob ¶
func (x *JobListEntry) SetJob(job string)
func (*JobListEntry) SetJobLabel ¶
func (x *JobListEntry) SetJobLabel(label string)
func (*JobListEntry) SetLabel ¶
func (x *JobListEntry) SetLabel(v string)
func (*JobListEntry) SetName ¶
func (x *JobListEntry) SetName(v string)
func (*JobListEntry) String ¶
func (x *JobListEntry) String() string
type JobListEntry_builder ¶
type JobListEntry_builder struct {
Name string
Label *string
// contains filtered or unexported fields
}
func (JobListEntry_builder) Build ¶
func (b0 JobListEntry_builder) Build() *JobListEntry
type JobList_builder ¶
type JobList_builder struct {
Jobs []*JobListEntry
// contains filtered or unexported fields
}
func (JobList_builder) Build ¶
func (b0 JobList_builder) Build() *JobList
Click to show internal directories.
Click to hide internal directories.