centrum

package
v2026.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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 (x *JobList) ContainsJob(job string) bool

func (*JobList) GetJobStrings

func (x *JobList) GetJobStrings() []string

func (*JobList) GetJobs

func (x *JobList) GetJobs() []*JobListEntry

func (*JobList) IsEmpty

func (x *JobList) IsEmpty() bool

func (*JobList) ProtoMessage

func (*JobList) ProtoMessage()

func (*JobList) ProtoReflect

func (x *JobList) ProtoReflect() protoreflect.Message

func (*JobList) Reset

func (x *JobList) Reset()

func (*JobList) Sanitize

func (m *JobList) Sanitize() error

Sanitize sanitizes the message's fields, in case of complex types it calls their Sanitize() method recursively.

func (*JobList) Scan

func (x *JobList) Scan(value any) error

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)

func (*JobList) String

func (x *JobList) String() string

func (*JobList) Value

func (x *JobList) Value() (driver.Value, error)

Value marshals the JobList value into driver.Valuer. Special case as only the job list is stored in the database, not the full protobuf message.

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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