jobs

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: Apache-2.0 Imports: 58 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JobsConductService_ListConductEntries_FullMethodName = "/services.jobs.JobsConductService/ListConductEntries"
	JobsConductService_CreateConductEntry_FullMethodName = "/services.jobs.JobsConductService/CreateConductEntry"
	JobsConductService_UpdateConductEntry_FullMethodName = "/services.jobs.JobsConductService/UpdateConductEntry"
	JobsConductService_DeleteConductEntry_FullMethodName = "/services.jobs.JobsConductService/DeleteConductEntry"
)
View Source
const (
	JobsService_ListColleagues_FullMethodName          = "/services.jobs.JobsService/ListColleagues"
	JobsService_GetSelf_FullMethodName                 = "/services.jobs.JobsService/GetSelf"
	JobsService_GetColleague_FullMethodName            = "/services.jobs.JobsService/GetColleague"
	JobsService_ListColleagueActivity_FullMethodName   = "/services.jobs.JobsService/ListColleagueActivity"
	JobsService_SetJobsUserProps_FullMethodName        = "/services.jobs.JobsService/SetJobsUserProps"
	JobsService_GetColleagueLabels_FullMethodName      = "/services.jobs.JobsService/GetColleagueLabels"
	JobsService_ManageColleagueLabels_FullMethodName   = "/services.jobs.JobsService/ManageColleagueLabels"
	JobsService_GetColleagueLabelsStats_FullMethodName = "/services.jobs.JobsService/GetColleagueLabelsStats"
	JobsService_GetMOTD_FullMethodName                 = "/services.jobs.JobsService/GetMOTD"
	JobsService_SetMOTD_FullMethodName                 = "/services.jobs.JobsService/SetMOTD"
)
View Source
const (
	JobsTimeclockService_ListTimeclock_FullMethodName         = "/services.jobs.JobsTimeclockService/ListTimeclock"
	JobsTimeclockService_GetTimeclockStats_FullMethodName     = "/services.jobs.JobsTimeclockService/GetTimeclockStats"
	JobsTimeclockService_ListInactiveEmployees_FullMethodName = "/services.jobs.JobsTimeclockService/ListInactiveEmployees"
)
View Source
const (
	ColleaguesDefaultPageSize = 20
)

Variables

View Source
var File_services_jobs_conduct_proto protoreflect.FileDescriptor
View Source
var File_services_jobs_jobs_proto protoreflect.FileDescriptor
View Source
var File_services_jobs_timeclock_proto protoreflect.FileDescriptor
View Source
var JobsConductService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "services.jobs.JobsConductService",
	HandlerType: (*JobsConductServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListConductEntries",
			Handler:    _JobsConductService_ListConductEntries_Handler,
		},
		{
			MethodName: "CreateConductEntry",
			Handler:    _JobsConductService_CreateConductEntry_Handler,
		},
		{
			MethodName: "UpdateConductEntry",
			Handler:    _JobsConductService_UpdateConductEntry_Handler,
		},
		{
			MethodName: "DeleteConductEntry",
			Handler:    _JobsConductService_DeleteConductEntry_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "services/jobs/conduct.proto",
}

JobsConductService_ServiceDesc is the grpc.ServiceDesc for JobsConductService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var JobsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "services.jobs.JobsService",
	HandlerType: (*JobsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListColleagues",
			Handler:    _JobsService_ListColleagues_Handler,
		},
		{
			MethodName: "GetSelf",
			Handler:    _JobsService_GetSelf_Handler,
		},
		{
			MethodName: "GetColleague",
			Handler:    _JobsService_GetColleague_Handler,
		},
		{
			MethodName: "ListColleagueActivity",
			Handler:    _JobsService_ListColleagueActivity_Handler,
		},
		{
			MethodName: "SetJobsUserProps",
			Handler:    _JobsService_SetJobsUserProps_Handler,
		},
		{
			MethodName: "GetColleagueLabels",
			Handler:    _JobsService_GetColleagueLabels_Handler,
		},
		{
			MethodName: "ManageColleagueLabels",
			Handler:    _JobsService_ManageColleagueLabels_Handler,
		},
		{
			MethodName: "GetColleagueLabelsStats",
			Handler:    _JobsService_GetColleagueLabelsStats_Handler,
		},
		{
			MethodName: "GetMOTD",
			Handler:    _JobsService_GetMOTD_Handler,
		},
		{
			MethodName: "SetMOTD",
			Handler:    _JobsService_SetMOTD_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "services/jobs/jobs.proto",
}

JobsService_ServiceDesc is the grpc.ServiceDesc for JobsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var JobsTimeclockService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "services.jobs.JobsTimeclockService",
	HandlerType: (*JobsTimeclockServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListTimeclock",
			Handler:    _JobsTimeclockService_ListTimeclock_Handler,
		},
		{
			MethodName: "GetTimeclockStats",
			Handler:    _JobsTimeclockService_GetTimeclockStats_Handler,
		},
		{
			MethodName: "ListInactiveEmployees",
			Handler:    _JobsTimeclockService_ListInactiveEmployees_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "services/jobs/timeclock.proto",
}

JobsTimeclockService_ServiceDesc is the grpc.ServiceDesc for JobsTimeclockService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var PermsRemap = map[string]string{

	"JobsService/GetColleagueLabels":      "JobsService/SetJobsUserProps",
	"JobsService/GetColleagueLabelsStats": "JobsService/GetColleague",
	"JobsService/GetMOTD":                 "Any",
	"JobsService/GetSelf":                 "JobsService/ListColleagues",

	"JobsTimeclockService/GetTimeclockStats": "JobsTimeclockService/ListTimeclock",
}

Functions

func RegisterJobsConductServiceServer

func RegisterJobsConductServiceServer(s grpc.ServiceRegistrar, srv JobsConductServiceServer)

func RegisterJobsServiceServer

func RegisterJobsServiceServer(s grpc.ServiceRegistrar, srv JobsServiceServer)

func RegisterJobsTimeclockServiceServer

func RegisterJobsTimeclockServiceServer(s grpc.ServiceRegistrar, srv JobsTimeclockServiceServer)

Types

type CreateConductEntryRequest

type CreateConductEntryRequest struct {
	Entry *jobs.ConductEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateConductEntryRequest) Descriptor deprecated

func (*CreateConductEntryRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateConductEntryRequest.ProtoReflect.Descriptor instead.

func (*CreateConductEntryRequest) GetEntry

func (*CreateConductEntryRequest) ProtoMessage

func (*CreateConductEntryRequest) ProtoMessage()

func (*CreateConductEntryRequest) ProtoReflect

func (*CreateConductEntryRequest) Reset

func (x *CreateConductEntryRequest) Reset()

func (*CreateConductEntryRequest) Sanitize added in v0.9.4

func (m *CreateConductEntryRequest) Sanitize() error

func (*CreateConductEntryRequest) String

func (x *CreateConductEntryRequest) String() string

func (*CreateConductEntryRequest) Validate

func (m *CreateConductEntryRequest) Validate() error

Validate checks the field values on CreateConductEntryRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateConductEntryRequest) ValidateAll

func (m *CreateConductEntryRequest) ValidateAll() error

ValidateAll checks the field values on CreateConductEntryRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateConductEntryRequestMultiError, or nil if none found.

type CreateConductEntryRequestMultiError

type CreateConductEntryRequestMultiError []error

CreateConductEntryRequestMultiError is an error wrapping multiple validation errors returned by CreateConductEntryRequest.ValidateAll() if the designated constraints aren't met.

func (CreateConductEntryRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateConductEntryRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateConductEntryRequestValidationError

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

CreateConductEntryRequestValidationError is the validation error returned by CreateConductEntryRequest.Validate if the designated constraints aren't met.

func (CreateConductEntryRequestValidationError) Cause

Cause function returns cause value.

func (CreateConductEntryRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateConductEntryRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateConductEntryRequestValidationError) Field

Field function returns field value.

func (CreateConductEntryRequestValidationError) Key

Key function returns key value.

func (CreateConductEntryRequestValidationError) Reason

Reason function returns reason value.

type CreateConductEntryResponse

type CreateConductEntryResponse struct {
	Entry *jobs.ConductEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateConductEntryResponse) Descriptor deprecated

func (*CreateConductEntryResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateConductEntryResponse.ProtoReflect.Descriptor instead.

func (*CreateConductEntryResponse) GetEntry

func (*CreateConductEntryResponse) ProtoMessage

func (*CreateConductEntryResponse) ProtoMessage()

func (*CreateConductEntryResponse) ProtoReflect

func (*CreateConductEntryResponse) Reset

func (x *CreateConductEntryResponse) Reset()

func (*CreateConductEntryResponse) Sanitize added in v0.9.4

func (m *CreateConductEntryResponse) Sanitize() error

func (*CreateConductEntryResponse) String

func (x *CreateConductEntryResponse) String() string

func (*CreateConductEntryResponse) Validate

func (m *CreateConductEntryResponse) Validate() error

Validate checks the field values on CreateConductEntryResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateConductEntryResponse) ValidateAll

func (m *CreateConductEntryResponse) ValidateAll() error

ValidateAll checks the field values on CreateConductEntryResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateConductEntryResponseMultiError, or nil if none found.

type CreateConductEntryResponseMultiError

type CreateConductEntryResponseMultiError []error

CreateConductEntryResponseMultiError is an error wrapping multiple validation errors returned by CreateConductEntryResponse.ValidateAll() if the designated constraints aren't met.

func (CreateConductEntryResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateConductEntryResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateConductEntryResponseValidationError

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

CreateConductEntryResponseValidationError is the validation error returned by CreateConductEntryResponse.Validate if the designated constraints aren't met.

func (CreateConductEntryResponseValidationError) Cause

Cause function returns cause value.

func (CreateConductEntryResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateConductEntryResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateConductEntryResponseValidationError) Field

Field function returns field value.

func (CreateConductEntryResponseValidationError) Key

Key function returns key value.

func (CreateConductEntryResponseValidationError) Reason

Reason function returns reason value.

type DeleteConductEntryRequest

type DeleteConductEntryRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteConductEntryRequest) Descriptor deprecated

func (*DeleteConductEntryRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteConductEntryRequest.ProtoReflect.Descriptor instead.

func (*DeleteConductEntryRequest) GetId

func (x *DeleteConductEntryRequest) GetId() uint64

func (*DeleteConductEntryRequest) ProtoMessage

func (*DeleteConductEntryRequest) ProtoMessage()

func (*DeleteConductEntryRequest) ProtoReflect

func (*DeleteConductEntryRequest) Reset

func (x *DeleteConductEntryRequest) Reset()

func (*DeleteConductEntryRequest) Sanitize added in v0.9.4

func (m *DeleteConductEntryRequest) Sanitize() error

func (*DeleteConductEntryRequest) String

func (x *DeleteConductEntryRequest) String() string

func (*DeleteConductEntryRequest) Validate

func (m *DeleteConductEntryRequest) Validate() error

Validate checks the field values on DeleteConductEntryRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteConductEntryRequest) ValidateAll

func (m *DeleteConductEntryRequest) ValidateAll() error

ValidateAll checks the field values on DeleteConductEntryRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteConductEntryRequestMultiError, or nil if none found.

type DeleteConductEntryRequestMultiError

type DeleteConductEntryRequestMultiError []error

DeleteConductEntryRequestMultiError is an error wrapping multiple validation errors returned by DeleteConductEntryRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteConductEntryRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteConductEntryRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteConductEntryRequestValidationError

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

DeleteConductEntryRequestValidationError is the validation error returned by DeleteConductEntryRequest.Validate if the designated constraints aren't met.

func (DeleteConductEntryRequestValidationError) Cause

Cause function returns cause value.

func (DeleteConductEntryRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteConductEntryRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteConductEntryRequestValidationError) Field

Field function returns field value.

func (DeleteConductEntryRequestValidationError) Key

Key function returns key value.

func (DeleteConductEntryRequestValidationError) Reason

Reason function returns reason value.

type DeleteConductEntryResponse

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

func (*DeleteConductEntryResponse) Descriptor deprecated

func (*DeleteConductEntryResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteConductEntryResponse.ProtoReflect.Descriptor instead.

func (*DeleteConductEntryResponse) ProtoMessage

func (*DeleteConductEntryResponse) ProtoMessage()

func (*DeleteConductEntryResponse) ProtoReflect

func (*DeleteConductEntryResponse) Reset

func (x *DeleteConductEntryResponse) Reset()

func (*DeleteConductEntryResponse) Sanitize added in v0.9.4

func (m *DeleteConductEntryResponse) Sanitize() error

func (*DeleteConductEntryResponse) String

func (x *DeleteConductEntryResponse) String() string

func (*DeleteConductEntryResponse) Validate

func (m *DeleteConductEntryResponse) Validate() error

Validate checks the field values on DeleteConductEntryResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteConductEntryResponse) ValidateAll

func (m *DeleteConductEntryResponse) ValidateAll() error

ValidateAll checks the field values on DeleteConductEntryResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteConductEntryResponseMultiError, or nil if none found.

type DeleteConductEntryResponseMultiError

type DeleteConductEntryResponseMultiError []error

DeleteConductEntryResponseMultiError is an error wrapping multiple validation errors returned by DeleteConductEntryResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteConductEntryResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteConductEntryResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteConductEntryResponseValidationError

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

DeleteConductEntryResponseValidationError is the validation error returned by DeleteConductEntryResponse.Validate if the designated constraints aren't met.

func (DeleteConductEntryResponseValidationError) Cause

Cause function returns cause value.

func (DeleteConductEntryResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteConductEntryResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteConductEntryResponseValidationError) Field

Field function returns field value.

func (DeleteConductEntryResponseValidationError) Key

Key function returns key value.

func (DeleteConductEntryResponseValidationError) Reason

Reason function returns reason value.

type GetColleagueLabelsRequest added in v0.9.4

type GetColleagueLabelsRequest struct {
	Search *string `protobuf:"bytes,1,opt,name=search,proto3,oneof" json:"search,omitempty"`
	// contains filtered or unexported fields
}

func (*GetColleagueLabelsRequest) Descriptor deprecated added in v0.9.4

func (*GetColleagueLabelsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetColleagueLabelsRequest.ProtoReflect.Descriptor instead.

func (*GetColleagueLabelsRequest) GetSearch added in v0.9.4

func (x *GetColleagueLabelsRequest) GetSearch() string

func (*GetColleagueLabelsRequest) ProtoMessage added in v0.9.4

func (*GetColleagueLabelsRequest) ProtoMessage()

func (*GetColleagueLabelsRequest) ProtoReflect added in v0.9.4

func (*GetColleagueLabelsRequest) Reset added in v0.9.4

func (x *GetColleagueLabelsRequest) Reset()

func (*GetColleagueLabelsRequest) Sanitize added in v0.9.4

func (m *GetColleagueLabelsRequest) Sanitize() error

func (*GetColleagueLabelsRequest) String added in v0.9.4

func (x *GetColleagueLabelsRequest) String() string

func (*GetColleagueLabelsRequest) Validate added in v0.9.4

func (m *GetColleagueLabelsRequest) Validate() error

Validate checks the field values on GetColleagueLabelsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetColleagueLabelsRequest) ValidateAll added in v0.9.4

func (m *GetColleagueLabelsRequest) ValidateAll() error

ValidateAll checks the field values on GetColleagueLabelsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetColleagueLabelsRequestMultiError, or nil if none found.

type GetColleagueLabelsRequestMultiError added in v0.9.4

type GetColleagueLabelsRequestMultiError []error

GetColleagueLabelsRequestMultiError is an error wrapping multiple validation errors returned by GetColleagueLabelsRequest.ValidateAll() if the designated constraints aren't met.

func (GetColleagueLabelsRequestMultiError) AllErrors added in v0.9.4

AllErrors returns a list of validation violation errors.

func (GetColleagueLabelsRequestMultiError) Error added in v0.9.4

Error returns a concatenation of all the error messages it wraps.

type GetColleagueLabelsRequestValidationError added in v0.9.4

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

GetColleagueLabelsRequestValidationError is the validation error returned by GetColleagueLabelsRequest.Validate if the designated constraints aren't met.

func (GetColleagueLabelsRequestValidationError) Cause added in v0.9.4

Cause function returns cause value.

func (GetColleagueLabelsRequestValidationError) Error added in v0.9.4

Error satisfies the builtin error interface

func (GetColleagueLabelsRequestValidationError) ErrorName added in v0.9.4

ErrorName returns error name.

func (GetColleagueLabelsRequestValidationError) Field added in v0.9.4

Field function returns field value.

func (GetColleagueLabelsRequestValidationError) Key added in v0.9.4

Key function returns key value.

func (GetColleagueLabelsRequestValidationError) Reason added in v0.9.4

Reason function returns reason value.

type GetColleagueLabelsResponse added in v0.9.4

type GetColleagueLabelsResponse struct {
	Labels []*jobs.Label `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*GetColleagueLabelsResponse) Descriptor deprecated added in v0.9.4

func (*GetColleagueLabelsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetColleagueLabelsResponse.ProtoReflect.Descriptor instead.

func (*GetColleagueLabelsResponse) GetLabels added in v0.9.4

func (x *GetColleagueLabelsResponse) GetLabels() []*jobs.Label

func (*GetColleagueLabelsResponse) ProtoMessage added in v0.9.4

func (*GetColleagueLabelsResponse) ProtoMessage()

func (*GetColleagueLabelsResponse) ProtoReflect added in v0.9.4

func (*GetColleagueLabelsResponse) Reset added in v0.9.4

func (x *GetColleagueLabelsResponse) Reset()

func (*GetColleagueLabelsResponse) Sanitize added in v0.9.4

func (m *GetColleagueLabelsResponse) Sanitize() error

func (*GetColleagueLabelsResponse) String added in v0.9.4

func (x *GetColleagueLabelsResponse) String() string

func (*GetColleagueLabelsResponse) Validate added in v0.9.4

func (m *GetColleagueLabelsResponse) Validate() error

Validate checks the field values on GetColleagueLabelsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetColleagueLabelsResponse) ValidateAll added in v0.9.4

func (m *GetColleagueLabelsResponse) ValidateAll() error

ValidateAll checks the field values on GetColleagueLabelsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetColleagueLabelsResponseMultiError, or nil if none found.

type GetColleagueLabelsResponseMultiError added in v0.9.4

type GetColleagueLabelsResponseMultiError []error

GetColleagueLabelsResponseMultiError is an error wrapping multiple validation errors returned by GetColleagueLabelsResponse.ValidateAll() if the designated constraints aren't met.

func (GetColleagueLabelsResponseMultiError) AllErrors added in v0.9.4

AllErrors returns a list of validation violation errors.

func (GetColleagueLabelsResponseMultiError) Error added in v0.9.4

Error returns a concatenation of all the error messages it wraps.

type GetColleagueLabelsResponseValidationError added in v0.9.4

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

GetColleagueLabelsResponseValidationError is the validation error returned by GetColleagueLabelsResponse.Validate if the designated constraints aren't met.

func (GetColleagueLabelsResponseValidationError) Cause added in v0.9.4

Cause function returns cause value.

func (GetColleagueLabelsResponseValidationError) Error added in v0.9.4

Error satisfies the builtin error interface

func (GetColleagueLabelsResponseValidationError) ErrorName added in v0.9.4

ErrorName returns error name.

func (GetColleagueLabelsResponseValidationError) Field added in v0.9.4

Field function returns field value.

func (GetColleagueLabelsResponseValidationError) Key added in v0.9.4

Key function returns key value.

func (GetColleagueLabelsResponseValidationError) Reason added in v0.9.4

Reason function returns reason value.

type GetColleagueLabelsStatsRequest added in v0.9.4

type GetColleagueLabelsStatsRequest struct {
	LabelIds []uint64 `protobuf:"varint,1,rep,packed,name=label_ids,json=labelIds,proto3" json:"label_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetColleagueLabelsStatsRequest) Descriptor deprecated added in v0.9.4

func (*GetColleagueLabelsStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetColleagueLabelsStatsRequest.ProtoReflect.Descriptor instead.

func (*GetColleagueLabelsStatsRequest) GetLabelIds added in v0.9.4

func (x *GetColleagueLabelsStatsRequest) GetLabelIds() []uint64

func (*GetColleagueLabelsStatsRequest) ProtoMessage added in v0.9.4

func (*GetColleagueLabelsStatsRequest) ProtoMessage()

func (*GetColleagueLabelsStatsRequest) ProtoReflect added in v0.9.4

func (*GetColleagueLabelsStatsRequest) Reset added in v0.9.4

func (x *GetColleagueLabelsStatsRequest) Reset()

func (*GetColleagueLabelsStatsRequest) Sanitize added in v0.9.4

func (m *GetColleagueLabelsStatsRequest) Sanitize() error

func (*GetColleagueLabelsStatsRequest) String added in v0.9.4

func (*GetColleagueLabelsStatsRequest) Validate added in v0.9.4

func (m *GetColleagueLabelsStatsRequest) Validate() error

Validate checks the field values on GetColleagueLabelsStatsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetColleagueLabelsStatsRequest) ValidateAll added in v0.9.4

func (m *GetColleagueLabelsStatsRequest) ValidateAll() error

ValidateAll checks the field values on GetColleagueLabelsStatsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetColleagueLabelsStatsRequestMultiError, or nil if none found.

type GetColleagueLabelsStatsRequestMultiError added in v0.9.4

type GetColleagueLabelsStatsRequestMultiError []error

GetColleagueLabelsStatsRequestMultiError is an error wrapping multiple validation errors returned by GetColleagueLabelsStatsRequest.ValidateAll() if the designated constraints aren't met.

func (GetColleagueLabelsStatsRequestMultiError) AllErrors added in v0.9.4

AllErrors returns a list of validation violation errors.

func (GetColleagueLabelsStatsRequestMultiError) Error added in v0.9.4

Error returns a concatenation of all the error messages it wraps.

type GetColleagueLabelsStatsRequestValidationError added in v0.9.4

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

GetColleagueLabelsStatsRequestValidationError is the validation error returned by GetColleagueLabelsStatsRequest.Validate if the designated constraints aren't met.

func (GetColleagueLabelsStatsRequestValidationError) Cause added in v0.9.4

Cause function returns cause value.

func (GetColleagueLabelsStatsRequestValidationError) Error added in v0.9.4

Error satisfies the builtin error interface

func (GetColleagueLabelsStatsRequestValidationError) ErrorName added in v0.9.4

ErrorName returns error name.

func (GetColleagueLabelsStatsRequestValidationError) Field added in v0.9.4

Field function returns field value.

func (GetColleagueLabelsStatsRequestValidationError) Key added in v0.9.4

Key function returns key value.

func (GetColleagueLabelsStatsRequestValidationError) Reason added in v0.9.4

Reason function returns reason value.

type GetColleagueLabelsStatsResponse added in v0.9.4

type GetColleagueLabelsStatsResponse struct {
	Count []*jobs.LabelCount `protobuf:"bytes,1,rep,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*GetColleagueLabelsStatsResponse) Descriptor deprecated added in v0.9.4

func (*GetColleagueLabelsStatsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetColleagueLabelsStatsResponse.ProtoReflect.Descriptor instead.

func (*GetColleagueLabelsStatsResponse) GetCount added in v0.9.4

func (*GetColleagueLabelsStatsResponse) ProtoMessage added in v0.9.4

func (*GetColleagueLabelsStatsResponse) ProtoMessage()

func (*GetColleagueLabelsStatsResponse) ProtoReflect added in v0.9.4

func (*GetColleagueLabelsStatsResponse) Reset added in v0.9.4

func (*GetColleagueLabelsStatsResponse) Sanitize added in v0.9.4

func (m *GetColleagueLabelsStatsResponse) Sanitize() error

func (*GetColleagueLabelsStatsResponse) String added in v0.9.4

func (*GetColleagueLabelsStatsResponse) Validate added in v0.9.4

func (m *GetColleagueLabelsStatsResponse) Validate() error

Validate checks the field values on GetColleagueLabelsStatsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetColleagueLabelsStatsResponse) ValidateAll added in v0.9.4

func (m *GetColleagueLabelsStatsResponse) ValidateAll() error

ValidateAll checks the field values on GetColleagueLabelsStatsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetColleagueLabelsStatsResponseMultiError, or nil if none found.

type GetColleagueLabelsStatsResponseMultiError added in v0.9.4

type GetColleagueLabelsStatsResponseMultiError []error

GetColleagueLabelsStatsResponseMultiError is an error wrapping multiple validation errors returned by GetColleagueLabelsStatsResponse.ValidateAll() if the designated constraints aren't met.

func (GetColleagueLabelsStatsResponseMultiError) AllErrors added in v0.9.4

AllErrors returns a list of validation violation errors.

func (GetColleagueLabelsStatsResponseMultiError) Error added in v0.9.4

Error returns a concatenation of all the error messages it wraps.

type GetColleagueLabelsStatsResponseValidationError added in v0.9.4

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

GetColleagueLabelsStatsResponseValidationError is the validation error returned by GetColleagueLabelsStatsResponse.Validate if the designated constraints aren't met.

func (GetColleagueLabelsStatsResponseValidationError) Cause added in v0.9.4

Cause function returns cause value.

func (GetColleagueLabelsStatsResponseValidationError) Error added in v0.9.4

Error satisfies the builtin error interface

func (GetColleagueLabelsStatsResponseValidationError) ErrorName added in v0.9.4

ErrorName returns error name.

func (GetColleagueLabelsStatsResponseValidationError) Field added in v0.9.4

Field function returns field value.

func (GetColleagueLabelsStatsResponseValidationError) Key added in v0.9.4

Key function returns key value.

func (GetColleagueLabelsStatsResponseValidationError) Reason added in v0.9.4

Reason function returns reason value.

type GetColleagueRequest

type GetColleagueRequest struct {
	UserId   int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	InfoOnly *bool `protobuf:"varint,2,opt,name=info_only,json=infoOnly,proto3,oneof" json:"info_only,omitempty"`
	// contains filtered or unexported fields
}

func (*GetColleagueRequest) Descriptor deprecated

func (*GetColleagueRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetColleagueRequest.ProtoReflect.Descriptor instead.

func (*GetColleagueRequest) GetInfoOnly

func (x *GetColleagueRequest) GetInfoOnly() bool

func (*GetColleagueRequest) GetUserId

func (x *GetColleagueRequest) GetUserId() int32

func (*GetColleagueRequest) ProtoMessage

func (*GetColleagueRequest) ProtoMessage()

func (*GetColleagueRequest) ProtoReflect

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

func (*GetColleagueRequest) Reset

func (x *GetColleagueRequest) Reset()

func (*GetColleagueRequest) Sanitize added in v0.9.4

func (m *GetColleagueRequest) Sanitize() error

func (*GetColleagueRequest) String

func (x *GetColleagueRequest) String() string

func (*GetColleagueRequest) Validate

func (m *GetColleagueRequest) Validate() error

Validate checks the field values on GetColleagueRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetColleagueRequest) ValidateAll

func (m *GetColleagueRequest) ValidateAll() error

ValidateAll checks the field values on GetColleagueRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetColleagueRequestMultiError, or nil if none found.

type GetColleagueRequestMultiError

type GetColleagueRequestMultiError []error

GetColleagueRequestMultiError is an error wrapping multiple validation errors returned by GetColleagueRequest.ValidateAll() if the designated constraints aren't met.

func (GetColleagueRequestMultiError) AllErrors

func (m GetColleagueRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetColleagueRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetColleagueRequestValidationError

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

GetColleagueRequestValidationError is the validation error returned by GetColleagueRequest.Validate if the designated constraints aren't met.

func (GetColleagueRequestValidationError) Cause

Cause function returns cause value.

func (GetColleagueRequestValidationError) Error

Error satisfies the builtin error interface

func (GetColleagueRequestValidationError) ErrorName

ErrorName returns error name.

func (GetColleagueRequestValidationError) Field

Field function returns field value.

func (GetColleagueRequestValidationError) Key

Key function returns key value.

func (GetColleagueRequestValidationError) Reason

Reason function returns reason value.

type GetColleagueResponse

type GetColleagueResponse struct {
	Colleague *jobs.Colleague `protobuf:"bytes,1,opt,name=colleague,proto3" json:"colleague,omitempty"`
	// contains filtered or unexported fields
}

func (*GetColleagueResponse) Descriptor deprecated

func (*GetColleagueResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetColleagueResponse.ProtoReflect.Descriptor instead.

func (*GetColleagueResponse) GetColleague

func (x *GetColleagueResponse) GetColleague() *jobs.Colleague

func (*GetColleagueResponse) ProtoMessage

func (*GetColleagueResponse) ProtoMessage()

func (*GetColleagueResponse) ProtoReflect

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

func (*GetColleagueResponse) Reset

func (x *GetColleagueResponse) Reset()

func (*GetColleagueResponse) Sanitize added in v0.9.4

func (m *GetColleagueResponse) Sanitize() error

func (*GetColleagueResponse) String

func (x *GetColleagueResponse) String() string

func (*GetColleagueResponse) Validate

func (m *GetColleagueResponse) Validate() error

Validate checks the field values on GetColleagueResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetColleagueResponse) ValidateAll

func (m *GetColleagueResponse) ValidateAll() error

ValidateAll checks the field values on GetColleagueResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetColleagueResponseMultiError, or nil if none found.

type GetColleagueResponseMultiError

type GetColleagueResponseMultiError []error

GetColleagueResponseMultiError is an error wrapping multiple validation errors returned by GetColleagueResponse.ValidateAll() if the designated constraints aren't met.

func (GetColleagueResponseMultiError) AllErrors

func (m GetColleagueResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetColleagueResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetColleagueResponseValidationError

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

GetColleagueResponseValidationError is the validation error returned by GetColleagueResponse.Validate if the designated constraints aren't met.

func (GetColleagueResponseValidationError) Cause

Cause function returns cause value.

func (GetColleagueResponseValidationError) Error

Error satisfies the builtin error interface

func (GetColleagueResponseValidationError) ErrorName

ErrorName returns error name.

func (GetColleagueResponseValidationError) Field

Field function returns field value.

func (GetColleagueResponseValidationError) Key

Key function returns key value.

func (GetColleagueResponseValidationError) Reason

Reason function returns reason value.

type GetMOTDRequest

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

func (*GetMOTDRequest) Descriptor deprecated

func (*GetMOTDRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetMOTDRequest.ProtoReflect.Descriptor instead.

func (*GetMOTDRequest) ProtoMessage

func (*GetMOTDRequest) ProtoMessage()

func (*GetMOTDRequest) ProtoReflect

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

func (*GetMOTDRequest) Reset

func (x *GetMOTDRequest) Reset()

func (*GetMOTDRequest) Sanitize added in v0.9.4

func (m *GetMOTDRequest) Sanitize() error

func (*GetMOTDRequest) String

func (x *GetMOTDRequest) String() string

func (*GetMOTDRequest) Validate

func (m *GetMOTDRequest) Validate() error

Validate checks the field values on GetMOTDRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetMOTDRequest) ValidateAll

func (m *GetMOTDRequest) ValidateAll() error

ValidateAll checks the field values on GetMOTDRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetMOTDRequestMultiError, or nil if none found.

type GetMOTDRequestMultiError

type GetMOTDRequestMultiError []error

GetMOTDRequestMultiError is an error wrapping multiple validation errors returned by GetMOTDRequest.ValidateAll() if the designated constraints aren't met.

func (GetMOTDRequestMultiError) AllErrors

func (m GetMOTDRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetMOTDRequestMultiError) Error

func (m GetMOTDRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetMOTDRequestValidationError

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

GetMOTDRequestValidationError is the validation error returned by GetMOTDRequest.Validate if the designated constraints aren't met.

func (GetMOTDRequestValidationError) Cause

Cause function returns cause value.

func (GetMOTDRequestValidationError) Error

Error satisfies the builtin error interface

func (GetMOTDRequestValidationError) ErrorName

func (e GetMOTDRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetMOTDRequestValidationError) Field

Field function returns field value.

func (GetMOTDRequestValidationError) Key

Key function returns key value.

func (GetMOTDRequestValidationError) Reason

Reason function returns reason value.

type GetMOTDResponse

type GetMOTDResponse struct {
	Motd string `protobuf:"bytes,1,opt,name=motd,proto3" json:"motd,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMOTDResponse) Descriptor deprecated

func (*GetMOTDResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetMOTDResponse.ProtoReflect.Descriptor instead.

func (*GetMOTDResponse) GetMotd

func (x *GetMOTDResponse) GetMotd() string

func (*GetMOTDResponse) ProtoMessage

func (*GetMOTDResponse) ProtoMessage()

func (*GetMOTDResponse) ProtoReflect

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

func (*GetMOTDResponse) Reset

func (x *GetMOTDResponse) Reset()

func (*GetMOTDResponse) Sanitize added in v0.9.4

func (m *GetMOTDResponse) Sanitize() error

func (*GetMOTDResponse) String

func (x *GetMOTDResponse) String() string

func (*GetMOTDResponse) Validate

func (m *GetMOTDResponse) Validate() error

Validate checks the field values on GetMOTDResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetMOTDResponse) ValidateAll

func (m *GetMOTDResponse) ValidateAll() error

ValidateAll checks the field values on GetMOTDResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetMOTDResponseMultiError, or nil if none found.

type GetMOTDResponseMultiError

type GetMOTDResponseMultiError []error

GetMOTDResponseMultiError is an error wrapping multiple validation errors returned by GetMOTDResponse.ValidateAll() if the designated constraints aren't met.

func (GetMOTDResponseMultiError) AllErrors

func (m GetMOTDResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetMOTDResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetMOTDResponseValidationError

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

GetMOTDResponseValidationError is the validation error returned by GetMOTDResponse.Validate if the designated constraints aren't met.

func (GetMOTDResponseValidationError) Cause

Cause function returns cause value.

func (GetMOTDResponseValidationError) Error

Error satisfies the builtin error interface

func (GetMOTDResponseValidationError) ErrorName

func (e GetMOTDResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GetMOTDResponseValidationError) Field

Field function returns field value.

func (GetMOTDResponseValidationError) Key

Key function returns key value.

func (GetMOTDResponseValidationError) Reason

Reason function returns reason value.

type GetSelfRequest

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

func (*GetSelfRequest) Descriptor deprecated

func (*GetSelfRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSelfRequest.ProtoReflect.Descriptor instead.

func (*GetSelfRequest) ProtoMessage

func (*GetSelfRequest) ProtoMessage()

func (*GetSelfRequest) ProtoReflect

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

func (*GetSelfRequest) Reset

func (x *GetSelfRequest) Reset()

func (*GetSelfRequest) Sanitize added in v0.9.4

func (m *GetSelfRequest) Sanitize() error

func (*GetSelfRequest) String

func (x *GetSelfRequest) String() string

func (*GetSelfRequest) Validate

func (m *GetSelfRequest) Validate() error

Validate checks the field values on GetSelfRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetSelfRequest) ValidateAll

func (m *GetSelfRequest) ValidateAll() error

ValidateAll checks the field values on GetSelfRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSelfRequestMultiError, or nil if none found.

type GetSelfRequestMultiError

type GetSelfRequestMultiError []error

GetSelfRequestMultiError is an error wrapping multiple validation errors returned by GetSelfRequest.ValidateAll() if the designated constraints aren't met.

func (GetSelfRequestMultiError) AllErrors

func (m GetSelfRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetSelfRequestMultiError) Error

func (m GetSelfRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetSelfRequestValidationError

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

GetSelfRequestValidationError is the validation error returned by GetSelfRequest.Validate if the designated constraints aren't met.

func (GetSelfRequestValidationError) Cause

Cause function returns cause value.

func (GetSelfRequestValidationError) Error

Error satisfies the builtin error interface

func (GetSelfRequestValidationError) ErrorName

func (e GetSelfRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetSelfRequestValidationError) Field

Field function returns field value.

func (GetSelfRequestValidationError) Key

Key function returns key value.

func (GetSelfRequestValidationError) Reason

Reason function returns reason value.

type GetSelfResponse

type GetSelfResponse struct {
	Colleague *jobs.Colleague `protobuf:"bytes,1,opt,name=colleague,proto3" json:"colleague,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSelfResponse) Descriptor deprecated

func (*GetSelfResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetSelfResponse.ProtoReflect.Descriptor instead.

func (*GetSelfResponse) GetColleague

func (x *GetSelfResponse) GetColleague() *jobs.Colleague

func (*GetSelfResponse) ProtoMessage

func (*GetSelfResponse) ProtoMessage()

func (*GetSelfResponse) ProtoReflect

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

func (*GetSelfResponse) Reset

func (x *GetSelfResponse) Reset()

func (*GetSelfResponse) Sanitize added in v0.9.4

func (m *GetSelfResponse) Sanitize() error

func (*GetSelfResponse) String

func (x *GetSelfResponse) String() string

func (*GetSelfResponse) Validate

func (m *GetSelfResponse) Validate() error

Validate checks the field values on GetSelfResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetSelfResponse) ValidateAll

func (m *GetSelfResponse) ValidateAll() error

ValidateAll checks the field values on GetSelfResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSelfResponseMultiError, or nil if none found.

type GetSelfResponseMultiError

type GetSelfResponseMultiError []error

GetSelfResponseMultiError is an error wrapping multiple validation errors returned by GetSelfResponse.ValidateAll() if the designated constraints aren't met.

func (GetSelfResponseMultiError) AllErrors

func (m GetSelfResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetSelfResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetSelfResponseValidationError

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

GetSelfResponseValidationError is the validation error returned by GetSelfResponse.Validate if the designated constraints aren't met.

func (GetSelfResponseValidationError) Cause

Cause function returns cause value.

func (GetSelfResponseValidationError) Error

Error satisfies the builtin error interface

func (GetSelfResponseValidationError) ErrorName

func (e GetSelfResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GetSelfResponseValidationError) Field

Field function returns field value.

func (GetSelfResponseValidationError) Key

Key function returns key value.

func (GetSelfResponseValidationError) Reason

Reason function returns reason value.

type GetTimeclockStatsRequest

type GetTimeclockStatsRequest struct {
	UserId *int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTimeclockStatsRequest) Descriptor deprecated

func (*GetTimeclockStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTimeclockStatsRequest.ProtoReflect.Descriptor instead.

func (*GetTimeclockStatsRequest) GetUserId

func (x *GetTimeclockStatsRequest) GetUserId() int32

func (*GetTimeclockStatsRequest) ProtoMessage

func (*GetTimeclockStatsRequest) ProtoMessage()

func (*GetTimeclockStatsRequest) ProtoReflect

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

func (*GetTimeclockStatsRequest) Reset

func (x *GetTimeclockStatsRequest) Reset()

func (*GetTimeclockStatsRequest) Sanitize added in v0.9.4

func (m *GetTimeclockStatsRequest) Sanitize() error

func (*GetTimeclockStatsRequest) String

func (x *GetTimeclockStatsRequest) String() string

func (*GetTimeclockStatsRequest) Validate

func (m *GetTimeclockStatsRequest) Validate() error

Validate checks the field values on GetTimeclockStatsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetTimeclockStatsRequest) ValidateAll

func (m *GetTimeclockStatsRequest) ValidateAll() error

ValidateAll checks the field values on GetTimeclockStatsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTimeclockStatsRequestMultiError, or nil if none found.

type GetTimeclockStatsRequestMultiError

type GetTimeclockStatsRequestMultiError []error

GetTimeclockStatsRequestMultiError is an error wrapping multiple validation errors returned by GetTimeclockStatsRequest.ValidateAll() if the designated constraints aren't met.

func (GetTimeclockStatsRequestMultiError) AllErrors

func (m GetTimeclockStatsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetTimeclockStatsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetTimeclockStatsRequestValidationError

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

GetTimeclockStatsRequestValidationError is the validation error returned by GetTimeclockStatsRequest.Validate if the designated constraints aren't met.

func (GetTimeclockStatsRequestValidationError) Cause

Cause function returns cause value.

func (GetTimeclockStatsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetTimeclockStatsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetTimeclockStatsRequestValidationError) Field

Field function returns field value.

func (GetTimeclockStatsRequestValidationError) Key

Key function returns key value.

func (GetTimeclockStatsRequestValidationError) Reason

Reason function returns reason value.

type GetTimeclockStatsResponse

type GetTimeclockStatsResponse struct {
	Stats  *jobs.TimeclockStats         `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"`
	Weekly []*jobs.TimeclockWeeklyStats `protobuf:"bytes,2,rep,name=weekly,proto3" json:"weekly,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTimeclockStatsResponse) Descriptor deprecated

func (*GetTimeclockStatsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetTimeclockStatsResponse.ProtoReflect.Descriptor instead.

func (*GetTimeclockStatsResponse) GetStats

func (*GetTimeclockStatsResponse) GetWeekly

func (*GetTimeclockStatsResponse) ProtoMessage

func (*GetTimeclockStatsResponse) ProtoMessage()

func (*GetTimeclockStatsResponse) ProtoReflect

func (*GetTimeclockStatsResponse) Reset

func (x *GetTimeclockStatsResponse) Reset()

func (*GetTimeclockStatsResponse) Sanitize added in v0.9.4

func (m *GetTimeclockStatsResponse) Sanitize() error

func (*GetTimeclockStatsResponse) String

func (x *GetTimeclockStatsResponse) String() string

func (*GetTimeclockStatsResponse) Validate

func (m *GetTimeclockStatsResponse) Validate() error

Validate checks the field values on GetTimeclockStatsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetTimeclockStatsResponse) ValidateAll

func (m *GetTimeclockStatsResponse) ValidateAll() error

ValidateAll checks the field values on GetTimeclockStatsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTimeclockStatsResponseMultiError, or nil if none found.

type GetTimeclockStatsResponseMultiError

type GetTimeclockStatsResponseMultiError []error

GetTimeclockStatsResponseMultiError is an error wrapping multiple validation errors returned by GetTimeclockStatsResponse.ValidateAll() if the designated constraints aren't met.

func (GetTimeclockStatsResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetTimeclockStatsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetTimeclockStatsResponseValidationError

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

GetTimeclockStatsResponseValidationError is the validation error returned by GetTimeclockStatsResponse.Validate if the designated constraints aren't met.

func (GetTimeclockStatsResponseValidationError) Cause

Cause function returns cause value.

func (GetTimeclockStatsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetTimeclockStatsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetTimeclockStatsResponseValidationError) Field

Field function returns field value.

func (GetTimeclockStatsResponseValidationError) Key

Key function returns key value.

func (GetTimeclockStatsResponseValidationError) Reason

Reason function returns reason value.

type Housekeeper added in v0.9.4

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

func NewHousekeeper added in v0.9.4

func NewHousekeeper(p HousekeeperParams) *Housekeeper

type HousekeeperParams added in v0.9.4

type HousekeeperParams struct {
	fx.In

	Logger       *zap.Logger
	DB           *sql.DB
	TP           *tracesdk.TracerProvider
	CronHandlers *croner.Handlers
}

type JobsConductServiceClient

type JobsConductServiceClient interface {
	// @perm: Attrs=Access/StringList:[]string{"Own", "All"}
	ListConductEntries(ctx context.Context, in *ListConductEntriesRequest, opts ...grpc.CallOption) (*ListConductEntriesResponse, error)
	// @perm
	CreateConductEntry(ctx context.Context, in *CreateConductEntryRequest, opts ...grpc.CallOption) (*CreateConductEntryResponse, error)
	// @perm
	UpdateConductEntry(ctx context.Context, in *UpdateConductEntryRequest, opts ...grpc.CallOption) (*UpdateConductEntryResponse, error)
	// @perm
	DeleteConductEntry(ctx context.Context, in *DeleteConductEntryRequest, opts ...grpc.CallOption) (*DeleteConductEntryResponse, error)
}

JobsConductServiceClient is the client API for JobsConductService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type JobsConductServiceServer

type JobsConductServiceServer interface {
	// @perm: Attrs=Access/StringList:[]string{"Own", "All"}
	ListConductEntries(context.Context, *ListConductEntriesRequest) (*ListConductEntriesResponse, error)
	// @perm
	CreateConductEntry(context.Context, *CreateConductEntryRequest) (*CreateConductEntryResponse, error)
	// @perm
	UpdateConductEntry(context.Context, *UpdateConductEntryRequest) (*UpdateConductEntryResponse, error)
	// @perm
	DeleteConductEntry(context.Context, *DeleteConductEntryRequest) (*DeleteConductEntryResponse, error)
	// contains filtered or unexported methods
}

JobsConductServiceServer is the server API for JobsConductService service. All implementations must embed UnimplementedJobsConductServiceServer for forward compatibility

type JobsServiceClient

type JobsServiceClient interface {
	// @perm
	ListColleagues(ctx context.Context, in *ListColleaguesRequest, opts ...grpc.CallOption) (*ListColleaguesResponse, error)
	// @perm: Name=ListColleagues
	GetSelf(ctx context.Context, in *GetSelfRequest, opts ...grpc.CallOption) (*GetSelfResponse, error)
	// @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}|Types/StringList:[]string{"Note", "Labels"}
	GetColleague(ctx context.Context, in *GetColleagueRequest, opts ...grpc.CallOption) (*GetColleagueResponse, error)
	// @perm: Attrs=Types/StringList:[]string{"HIRED", "FIRED", "PROMOTED", "DEMOTED", "ABSENCE_DATE", "NOTE", "LABELS", "NAME"}
	ListColleagueActivity(ctx context.Context, in *ListColleagueActivityRequest, opts ...grpc.CallOption) (*ListColleagueActivityResponse, error)
	// @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}|Types/StringList:[]string{"AbsenceDate", "Note", "Labels", "Name"}
	SetJobsUserProps(ctx context.Context, in *SetJobsUserPropsRequest, opts ...grpc.CallOption) (*SetJobsUserPropsResponse, error)
	// @perm: Name=SetJobsUserProps
	GetColleagueLabels(ctx context.Context, in *GetColleagueLabelsRequest, opts ...grpc.CallOption) (*GetColleagueLabelsResponse, error)
	// @perm
	ManageColleagueLabels(ctx context.Context, in *ManageColleagueLabelsRequest, opts ...grpc.CallOption) (*ManageColleagueLabelsResponse, error)
	// @perm: Name=GetColleague
	GetColleagueLabelsStats(ctx context.Context, in *GetColleagueLabelsStatsRequest, opts ...grpc.CallOption) (*GetColleagueLabelsStatsResponse, error)
	// @perm: Name=Any
	GetMOTD(ctx context.Context, in *GetMOTDRequest, opts ...grpc.CallOption) (*GetMOTDResponse, error)
	// @perm
	SetMOTD(ctx context.Context, in *SetMOTDRequest, opts ...grpc.CallOption) (*SetMOTDResponse, error)
}

JobsServiceClient is the client API for JobsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type JobsServiceServer

type JobsServiceServer interface {
	// @perm
	ListColleagues(context.Context, *ListColleaguesRequest) (*ListColleaguesResponse, error)
	// @perm: Name=ListColleagues
	GetSelf(context.Context, *GetSelfRequest) (*GetSelfResponse, error)
	// @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}|Types/StringList:[]string{"Note", "Labels"}
	GetColleague(context.Context, *GetColleagueRequest) (*GetColleagueResponse, error)
	// @perm: Attrs=Types/StringList:[]string{"HIRED", "FIRED", "PROMOTED", "DEMOTED", "ABSENCE_DATE", "NOTE", "LABELS", "NAME"}
	ListColleagueActivity(context.Context, *ListColleagueActivityRequest) (*ListColleagueActivityResponse, error)
	// @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}|Types/StringList:[]string{"AbsenceDate", "Note", "Labels", "Name"}
	SetJobsUserProps(context.Context, *SetJobsUserPropsRequest) (*SetJobsUserPropsResponse, error)
	// @perm: Name=SetJobsUserProps
	GetColleagueLabels(context.Context, *GetColleagueLabelsRequest) (*GetColleagueLabelsResponse, error)
	// @perm
	ManageColleagueLabels(context.Context, *ManageColleagueLabelsRequest) (*ManageColleagueLabelsResponse, error)
	// @perm: Name=GetColleague
	GetColleagueLabelsStats(context.Context, *GetColleagueLabelsStatsRequest) (*GetColleagueLabelsStatsResponse, error)
	// @perm: Name=Any
	GetMOTD(context.Context, *GetMOTDRequest) (*GetMOTDResponse, error)
	// @perm
	SetMOTD(context.Context, *SetMOTDRequest) (*SetMOTDResponse, error)
	// contains filtered or unexported methods
}

JobsServiceServer is the server API for JobsService service. All implementations must embed UnimplementedJobsServiceServer for forward compatibility

type JobsTimeclockServiceClient

type JobsTimeclockServiceClient interface {
	// @perm: Attrs=Access/StringList:[]string{"All"}
	ListTimeclock(ctx context.Context, in *ListTimeclockRequest, opts ...grpc.CallOption) (*ListTimeclockResponse, error)
	// @perm: Name=ListTimeclock
	GetTimeclockStats(ctx context.Context, in *GetTimeclockStatsRequest, opts ...grpc.CallOption) (*GetTimeclockStatsResponse, error)
	// @perm
	ListInactiveEmployees(ctx context.Context, in *ListInactiveEmployeesRequest, opts ...grpc.CallOption) (*ListInactiveEmployeesResponse, error)
}

JobsTimeclockServiceClient is the client API for JobsTimeclockService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type JobsTimeclockServiceServer

type JobsTimeclockServiceServer interface {
	// @perm: Attrs=Access/StringList:[]string{"All"}
	ListTimeclock(context.Context, *ListTimeclockRequest) (*ListTimeclockResponse, error)
	// @perm: Name=ListTimeclock
	GetTimeclockStats(context.Context, *GetTimeclockStatsRequest) (*GetTimeclockStatsResponse, error)
	// @perm
	ListInactiveEmployees(context.Context, *ListInactiveEmployeesRequest) (*ListInactiveEmployeesResponse, error)
	// contains filtered or unexported methods
}

JobsTimeclockServiceServer is the server API for JobsTimeclockService service. All implementations must embed UnimplementedJobsTimeclockServiceServer for forward compatibility

type ListColleagueActivityRequest

type ListColleagueActivityRequest struct {
	Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Sort       *database.Sort              `protobuf:"bytes,2,opt,name=sort,proto3,oneof" json:"sort,omitempty"`
	// Search params
	UserIds       []int32                     `protobuf:"varint,3,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	ActivityTypes []jobs.JobsUserActivityType `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListColleagueActivityRequest) Descriptor deprecated

func (*ListColleagueActivityRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListColleagueActivityRequest.ProtoReflect.Descriptor instead.

func (*ListColleagueActivityRequest) GetActivityTypes

func (x *ListColleagueActivityRequest) GetActivityTypes() []jobs.JobsUserActivityType

func (*ListColleagueActivityRequest) GetPagination

func (*ListColleagueActivityRequest) GetSort added in v0.9.3

func (*ListColleagueActivityRequest) GetUserIds

func (x *ListColleagueActivityRequest) GetUserIds() []int32

func (*ListColleagueActivityRequest) ProtoMessage

func (*ListColleagueActivityRequest) ProtoMessage()

func (*ListColleagueActivityRequest) ProtoReflect

func (*ListColleagueActivityRequest) Reset

func (x *ListColleagueActivityRequest) Reset()

func (*ListColleagueActivityRequest) Sanitize added in v0.9.4

func (m *ListColleagueActivityRequest) Sanitize() error

func (*ListColleagueActivityRequest) String

func (*ListColleagueActivityRequest) Validate

func (m *ListColleagueActivityRequest) Validate() error

Validate checks the field values on ListColleagueActivityRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListColleagueActivityRequest) ValidateAll

func (m *ListColleagueActivityRequest) ValidateAll() error

ValidateAll checks the field values on ListColleagueActivityRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListColleagueActivityRequestMultiError, or nil if none found.

type ListColleagueActivityRequestMultiError

type ListColleagueActivityRequestMultiError []error

ListColleagueActivityRequestMultiError is an error wrapping multiple validation errors returned by ListColleagueActivityRequest.ValidateAll() if the designated constraints aren't met.

func (ListColleagueActivityRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListColleagueActivityRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListColleagueActivityRequestValidationError

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

ListColleagueActivityRequestValidationError is the validation error returned by ListColleagueActivityRequest.Validate if the designated constraints aren't met.

func (ListColleagueActivityRequestValidationError) Cause

Cause function returns cause value.

func (ListColleagueActivityRequestValidationError) Error

Error satisfies the builtin error interface

func (ListColleagueActivityRequestValidationError) ErrorName

ErrorName returns error name.

func (ListColleagueActivityRequestValidationError) Field

Field function returns field value.

func (ListColleagueActivityRequestValidationError) Key

Key function returns key value.

func (ListColleagueActivityRequestValidationError) Reason

Reason function returns reason value.

type ListColleagueActivityResponse

type ListColleagueActivityResponse struct {
	Pagination *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Activity   []*jobs.JobsUserActivity     `protobuf:"bytes,2,rep,name=activity,proto3" json:"activity,omitempty"`
	// contains filtered or unexported fields
}

func (*ListColleagueActivityResponse) Descriptor deprecated

func (*ListColleagueActivityResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListColleagueActivityResponse.ProtoReflect.Descriptor instead.

func (*ListColleagueActivityResponse) GetActivity

func (*ListColleagueActivityResponse) GetPagination

func (*ListColleagueActivityResponse) ProtoMessage

func (*ListColleagueActivityResponse) ProtoMessage()

func (*ListColleagueActivityResponse) ProtoReflect

func (*ListColleagueActivityResponse) Reset

func (x *ListColleagueActivityResponse) Reset()

func (*ListColleagueActivityResponse) Sanitize added in v0.9.4

func (m *ListColleagueActivityResponse) Sanitize() error

func (*ListColleagueActivityResponse) String

func (*ListColleagueActivityResponse) Validate

func (m *ListColleagueActivityResponse) Validate() error

Validate checks the field values on ListColleagueActivityResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListColleagueActivityResponse) ValidateAll

func (m *ListColleagueActivityResponse) ValidateAll() error

ValidateAll checks the field values on ListColleagueActivityResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListColleagueActivityResponseMultiError, or nil if none found.

type ListColleagueActivityResponseMultiError

type ListColleagueActivityResponseMultiError []error

ListColleagueActivityResponseMultiError is an error wrapping multiple validation errors returned by ListColleagueActivityResponse.ValidateAll() if the designated constraints aren't met.

func (ListColleagueActivityResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListColleagueActivityResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListColleagueActivityResponseValidationError

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

ListColleagueActivityResponseValidationError is the validation error returned by ListColleagueActivityResponse.Validate if the designated constraints aren't met.

func (ListColleagueActivityResponseValidationError) Cause

Cause function returns cause value.

func (ListColleagueActivityResponseValidationError) Error

Error satisfies the builtin error interface

func (ListColleagueActivityResponseValidationError) ErrorName

ErrorName returns error name.

func (ListColleagueActivityResponseValidationError) Field

Field function returns field value.

func (ListColleagueActivityResponseValidationError) Key

Key function returns key value.

func (ListColleagueActivityResponseValidationError) Reason

Reason function returns reason value.

type ListColleaguesRequest

type ListColleaguesRequest struct {
	Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Sort       *database.Sort              `protobuf:"bytes,2,opt,name=sort,proto3,oneof" json:"sort,omitempty"`
	// Search params
	Search     string   `protobuf:"bytes,3,opt,name=search,proto3" json:"search,omitempty"`
	UserId     *int32   `protobuf:"varint,4,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"`
	Absent     *bool    `protobuf:"varint,5,opt,name=absent,proto3,oneof" json:"absent,omitempty"`
	LabelIds   []uint64 `protobuf:"varint,6,rep,packed,name=label_ids,json=labelIds,proto3" json:"label_ids,omitempty"`
	NamePrefix *string  `protobuf:"bytes,7,opt,name=name_prefix,json=namePrefix,proto3,oneof" json:"name_prefix,omitempty"`
	NameSuffix *string  `protobuf:"bytes,8,opt,name=name_suffix,json=nameSuffix,proto3,oneof" json:"name_suffix,omitempty"`
	// contains filtered or unexported fields
}

func (*ListColleaguesRequest) Descriptor deprecated

func (*ListColleaguesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListColleaguesRequest.ProtoReflect.Descriptor instead.

func (*ListColleaguesRequest) GetAbsent

func (x *ListColleaguesRequest) GetAbsent() bool

func (*ListColleaguesRequest) GetLabelIds added in v0.9.4

func (x *ListColleaguesRequest) GetLabelIds() []uint64

func (*ListColleaguesRequest) GetNamePrefix added in v0.9.4

func (x *ListColleaguesRequest) GetNamePrefix() string

func (*ListColleaguesRequest) GetNameSuffix added in v0.9.4

func (x *ListColleaguesRequest) GetNameSuffix() string

func (*ListColleaguesRequest) GetPagination

func (x *ListColleaguesRequest) GetPagination() *database.PaginationRequest

func (*ListColleaguesRequest) GetSearch

func (x *ListColleaguesRequest) GetSearch() string

func (*ListColleaguesRequest) GetSort added in v0.9.3

func (x *ListColleaguesRequest) GetSort() *database.Sort

func (*ListColleaguesRequest) GetUserId

func (x *ListColleaguesRequest) GetUserId() int32

func (*ListColleaguesRequest) ProtoMessage

func (*ListColleaguesRequest) ProtoMessage()

func (*ListColleaguesRequest) ProtoReflect

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

func (*ListColleaguesRequest) Reset

func (x *ListColleaguesRequest) Reset()

func (*ListColleaguesRequest) Sanitize added in v0.9.4

func (m *ListColleaguesRequest) Sanitize() error

func (*ListColleaguesRequest) String

func (x *ListColleaguesRequest) String() string

func (*ListColleaguesRequest) Validate

func (m *ListColleaguesRequest) Validate() error

Validate checks the field values on ListColleaguesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListColleaguesRequest) ValidateAll

func (m *ListColleaguesRequest) ValidateAll() error

ValidateAll checks the field values on ListColleaguesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListColleaguesRequestMultiError, or nil if none found.

type ListColleaguesRequestMultiError

type ListColleaguesRequestMultiError []error

ListColleaguesRequestMultiError is an error wrapping multiple validation errors returned by ListColleaguesRequest.ValidateAll() if the designated constraints aren't met.

func (ListColleaguesRequestMultiError) AllErrors

func (m ListColleaguesRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListColleaguesRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListColleaguesRequestValidationError

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

ListColleaguesRequestValidationError is the validation error returned by ListColleaguesRequest.Validate if the designated constraints aren't met.

func (ListColleaguesRequestValidationError) Cause

Cause function returns cause value.

func (ListColleaguesRequestValidationError) Error

Error satisfies the builtin error interface

func (ListColleaguesRequestValidationError) ErrorName

ErrorName returns error name.

func (ListColleaguesRequestValidationError) Field

Field function returns field value.

func (ListColleaguesRequestValidationError) Key

Key function returns key value.

func (ListColleaguesRequestValidationError) Reason

Reason function returns reason value.

type ListColleaguesResponse

type ListColleaguesResponse struct {
	Pagination *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Colleagues []*jobs.Colleague            `protobuf:"bytes,2,rep,name=colleagues,proto3" json:"colleagues,omitempty"`
	// contains filtered or unexported fields
}

func (*ListColleaguesResponse) Descriptor deprecated

func (*ListColleaguesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListColleaguesResponse.ProtoReflect.Descriptor instead.

func (*ListColleaguesResponse) GetColleagues

func (x *ListColleaguesResponse) GetColleagues() []*jobs.Colleague

func (*ListColleaguesResponse) GetPagination

func (*ListColleaguesResponse) ProtoMessage

func (*ListColleaguesResponse) ProtoMessage()

func (*ListColleaguesResponse) ProtoReflect

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

func (*ListColleaguesResponse) Reset

func (x *ListColleaguesResponse) Reset()

func (*ListColleaguesResponse) Sanitize added in v0.9.4

func (m *ListColleaguesResponse) Sanitize() error

func (*ListColleaguesResponse) String

func (x *ListColleaguesResponse) String() string

func (*ListColleaguesResponse) Validate

func (m *ListColleaguesResponse) Validate() error

Validate checks the field values on ListColleaguesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListColleaguesResponse) ValidateAll

func (m *ListColleaguesResponse) ValidateAll() error

ValidateAll checks the field values on ListColleaguesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListColleaguesResponseMultiError, or nil if none found.

type ListColleaguesResponseMultiError

type ListColleaguesResponseMultiError []error

ListColleaguesResponseMultiError is an error wrapping multiple validation errors returned by ListColleaguesResponse.ValidateAll() if the designated constraints aren't met.

func (ListColleaguesResponseMultiError) AllErrors

func (m ListColleaguesResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListColleaguesResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListColleaguesResponseValidationError

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

ListColleaguesResponseValidationError is the validation error returned by ListColleaguesResponse.Validate if the designated constraints aren't met.

func (ListColleaguesResponseValidationError) Cause

Cause function returns cause value.

func (ListColleaguesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListColleaguesResponseValidationError) ErrorName

ErrorName returns error name.

func (ListColleaguesResponseValidationError) Field

Field function returns field value.

func (ListColleaguesResponseValidationError) Key

Key function returns key value.

func (ListColleaguesResponseValidationError) Reason

Reason function returns reason value.

type ListConductEntriesRequest

type ListConductEntriesRequest struct {
	Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Sort       *database.Sort              `protobuf:"bytes,2,opt,name=sort,proto3,oneof" json:"sort,omitempty"`
	// Search params
	Types       []jobs.ConductType `protobuf:"varint,3,rep,packed,name=types,proto3,enum=resources.jobs.ConductType" json:"types,omitempty"`
	ShowExpired *bool              `protobuf:"varint,4,opt,name=show_expired,json=showExpired,proto3,oneof" json:"show_expired,omitempty"`
	UserIds     []int32            `protobuf:"varint,5,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	Ids         []uint64           `protobuf:"varint,6,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*ListConductEntriesRequest) Descriptor deprecated

func (*ListConductEntriesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListConductEntriesRequest.ProtoReflect.Descriptor instead.

func (*ListConductEntriesRequest) GetIds

func (x *ListConductEntriesRequest) GetIds() []uint64

func (*ListConductEntriesRequest) GetPagination

func (*ListConductEntriesRequest) GetShowExpired

func (x *ListConductEntriesRequest) GetShowExpired() bool

func (*ListConductEntriesRequest) GetSort added in v0.9.3

func (x *ListConductEntriesRequest) GetSort() *database.Sort

func (*ListConductEntriesRequest) GetTypes

func (x *ListConductEntriesRequest) GetTypes() []jobs.ConductType

func (*ListConductEntriesRequest) GetUserIds

func (x *ListConductEntriesRequest) GetUserIds() []int32

func (*ListConductEntriesRequest) ProtoMessage

func (*ListConductEntriesRequest) ProtoMessage()

func (*ListConductEntriesRequest) ProtoReflect

func (*ListConductEntriesRequest) Reset

func (x *ListConductEntriesRequest) Reset()

func (*ListConductEntriesRequest) Sanitize added in v0.9.4

func (m *ListConductEntriesRequest) Sanitize() error

func (*ListConductEntriesRequest) String

func (x *ListConductEntriesRequest) String() string

func (*ListConductEntriesRequest) Validate

func (m *ListConductEntriesRequest) Validate() error

Validate checks the field values on ListConductEntriesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListConductEntriesRequest) ValidateAll

func (m *ListConductEntriesRequest) ValidateAll() error

ValidateAll checks the field values on ListConductEntriesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListConductEntriesRequestMultiError, or nil if none found.

type ListConductEntriesRequestMultiError

type ListConductEntriesRequestMultiError []error

ListConductEntriesRequestMultiError is an error wrapping multiple validation errors returned by ListConductEntriesRequest.ValidateAll() if the designated constraints aren't met.

func (ListConductEntriesRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListConductEntriesRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListConductEntriesRequestValidationError

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

ListConductEntriesRequestValidationError is the validation error returned by ListConductEntriesRequest.Validate if the designated constraints aren't met.

func (ListConductEntriesRequestValidationError) Cause

Cause function returns cause value.

func (ListConductEntriesRequestValidationError) Error

Error satisfies the builtin error interface

func (ListConductEntriesRequestValidationError) ErrorName

ErrorName returns error name.

func (ListConductEntriesRequestValidationError) Field

Field function returns field value.

func (ListConductEntriesRequestValidationError) Key

Key function returns key value.

func (ListConductEntriesRequestValidationError) Reason

Reason function returns reason value.

type ListConductEntriesResponse

type ListConductEntriesResponse struct {
	Pagination *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Entries    []*jobs.ConductEntry         `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*ListConductEntriesResponse) Descriptor deprecated

func (*ListConductEntriesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListConductEntriesResponse.ProtoReflect.Descriptor instead.

func (*ListConductEntriesResponse) GetEntries

func (x *ListConductEntriesResponse) GetEntries() []*jobs.ConductEntry

func (*ListConductEntriesResponse) GetPagination

func (*ListConductEntriesResponse) ProtoMessage

func (*ListConductEntriesResponse) ProtoMessage()

func (*ListConductEntriesResponse) ProtoReflect

func (*ListConductEntriesResponse) Reset

func (x *ListConductEntriesResponse) Reset()

func (*ListConductEntriesResponse) Sanitize added in v0.9.4

func (m *ListConductEntriesResponse) Sanitize() error

func (*ListConductEntriesResponse) String

func (x *ListConductEntriesResponse) String() string

func (*ListConductEntriesResponse) Validate

func (m *ListConductEntriesResponse) Validate() error

Validate checks the field values on ListConductEntriesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListConductEntriesResponse) ValidateAll

func (m *ListConductEntriesResponse) ValidateAll() error

ValidateAll checks the field values on ListConductEntriesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListConductEntriesResponseMultiError, or nil if none found.

type ListConductEntriesResponseMultiError

type ListConductEntriesResponseMultiError []error

ListConductEntriesResponseMultiError is an error wrapping multiple validation errors returned by ListConductEntriesResponse.ValidateAll() if the designated constraints aren't met.

func (ListConductEntriesResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListConductEntriesResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListConductEntriesResponseValidationError

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

ListConductEntriesResponseValidationError is the validation error returned by ListConductEntriesResponse.Validate if the designated constraints aren't met.

func (ListConductEntriesResponseValidationError) Cause

Cause function returns cause value.

func (ListConductEntriesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListConductEntriesResponseValidationError) ErrorName

ErrorName returns error name.

func (ListConductEntriesResponseValidationError) Field

Field function returns field value.

func (ListConductEntriesResponseValidationError) Key

Key function returns key value.

func (ListConductEntriesResponseValidationError) Reason

Reason function returns reason value.

type ListInactiveEmployeesRequest

type ListInactiveEmployeesRequest struct {
	Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Sort       *database.Sort              `protobuf:"bytes,2,opt,name=sort,proto3,oneof" json:"sort,omitempty"`
	// Search params
	Days int32 `protobuf:"varint,3,opt,name=days,proto3" json:"days,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInactiveEmployeesRequest) Descriptor deprecated

func (*ListInactiveEmployeesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListInactiveEmployeesRequest.ProtoReflect.Descriptor instead.

func (*ListInactiveEmployeesRequest) GetDays

func (x *ListInactiveEmployeesRequest) GetDays() int32

func (*ListInactiveEmployeesRequest) GetPagination

func (*ListInactiveEmployeesRequest) GetSort added in v0.9.3

func (*ListInactiveEmployeesRequest) ProtoMessage

func (*ListInactiveEmployeesRequest) ProtoMessage()

func (*ListInactiveEmployeesRequest) ProtoReflect

func (*ListInactiveEmployeesRequest) Reset

func (x *ListInactiveEmployeesRequest) Reset()

func (*ListInactiveEmployeesRequest) Sanitize added in v0.9.4

func (m *ListInactiveEmployeesRequest) Sanitize() error

func (*ListInactiveEmployeesRequest) String

func (*ListInactiveEmployeesRequest) Validate

func (m *ListInactiveEmployeesRequest) Validate() error

Validate checks the field values on ListInactiveEmployeesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListInactiveEmployeesRequest) ValidateAll

func (m *ListInactiveEmployeesRequest) ValidateAll() error

ValidateAll checks the field values on ListInactiveEmployeesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListInactiveEmployeesRequestMultiError, or nil if none found.

type ListInactiveEmployeesRequestMultiError

type ListInactiveEmployeesRequestMultiError []error

ListInactiveEmployeesRequestMultiError is an error wrapping multiple validation errors returned by ListInactiveEmployeesRequest.ValidateAll() if the designated constraints aren't met.

func (ListInactiveEmployeesRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListInactiveEmployeesRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListInactiveEmployeesRequestValidationError

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

ListInactiveEmployeesRequestValidationError is the validation error returned by ListInactiveEmployeesRequest.Validate if the designated constraints aren't met.

func (ListInactiveEmployeesRequestValidationError) Cause

Cause function returns cause value.

func (ListInactiveEmployeesRequestValidationError) Error

Error satisfies the builtin error interface

func (ListInactiveEmployeesRequestValidationError) ErrorName

ErrorName returns error name.

func (ListInactiveEmployeesRequestValidationError) Field

Field function returns field value.

func (ListInactiveEmployeesRequestValidationError) Key

Key function returns key value.

func (ListInactiveEmployeesRequestValidationError) Reason

Reason function returns reason value.

type ListInactiveEmployeesResponse

type ListInactiveEmployeesResponse struct {
	Pagination *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Colleagues []*jobs.Colleague            `protobuf:"bytes,2,rep,name=colleagues,proto3" json:"colleagues,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInactiveEmployeesResponse) Descriptor deprecated

func (*ListInactiveEmployeesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListInactiveEmployeesResponse.ProtoReflect.Descriptor instead.

func (*ListInactiveEmployeesResponse) GetColleagues

func (x *ListInactiveEmployeesResponse) GetColleagues() []*jobs.Colleague

func (*ListInactiveEmployeesResponse) GetPagination

func (*ListInactiveEmployeesResponse) ProtoMessage

func (*ListInactiveEmployeesResponse) ProtoMessage()

func (*ListInactiveEmployeesResponse) ProtoReflect

func (*ListInactiveEmployeesResponse) Reset

func (x *ListInactiveEmployeesResponse) Reset()

func (*ListInactiveEmployeesResponse) Sanitize added in v0.9.4

func (m *ListInactiveEmployeesResponse) Sanitize() error

func (*ListInactiveEmployeesResponse) String

func (*ListInactiveEmployeesResponse) Validate

func (m *ListInactiveEmployeesResponse) Validate() error

Validate checks the field values on ListInactiveEmployeesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListInactiveEmployeesResponse) ValidateAll

func (m *ListInactiveEmployeesResponse) ValidateAll() error

ValidateAll checks the field values on ListInactiveEmployeesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListInactiveEmployeesResponseMultiError, or nil if none found.

type ListInactiveEmployeesResponseMultiError

type ListInactiveEmployeesResponseMultiError []error

ListInactiveEmployeesResponseMultiError is an error wrapping multiple validation errors returned by ListInactiveEmployeesResponse.ValidateAll() if the designated constraints aren't met.

func (ListInactiveEmployeesResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListInactiveEmployeesResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListInactiveEmployeesResponseValidationError

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

ListInactiveEmployeesResponseValidationError is the validation error returned by ListInactiveEmployeesResponse.Validate if the designated constraints aren't met.

func (ListInactiveEmployeesResponseValidationError) Cause

Cause function returns cause value.

func (ListInactiveEmployeesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListInactiveEmployeesResponseValidationError) ErrorName

ErrorName returns error name.

func (ListInactiveEmployeesResponseValidationError) Field

Field function returns field value.

func (ListInactiveEmployeesResponseValidationError) Key

Key function returns key value.

func (ListInactiveEmployeesResponseValidationError) Reason

Reason function returns reason value.

type ListTimeclockRequest

type ListTimeclockRequest struct {
	Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Sort       *database.Sort              `protobuf:"bytes,2,opt,name=sort,proto3,oneof" json:"sort,omitempty"`
	// Search params
	UserMode jobs.TimeclockUserMode `protobuf:"varint,3,opt,name=user_mode,json=userMode,proto3,enum=resources.jobs.TimeclockUserMode" json:"user_mode,omitempty"`
	Mode     jobs.TimeclockMode     `protobuf:"varint,4,opt,name=mode,proto3,enum=resources.jobs.TimeclockMode" json:"mode,omitempty"`
	Date     *database.DateRange    `protobuf:"bytes,5,opt,name=date,proto3,oneof" json:"date,omitempty"`
	PerDay   bool                   `protobuf:"varint,6,opt,name=per_day,json=perDay,proto3" json:"per_day,omitempty"`
	UserIds  []int32                `protobuf:"varint,7,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTimeclockRequest) Descriptor deprecated

func (*ListTimeclockRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListTimeclockRequest.ProtoReflect.Descriptor instead.

func (*ListTimeclockRequest) GetDate added in v0.9.3

func (x *ListTimeclockRequest) GetDate() *database.DateRange

func (*ListTimeclockRequest) GetMode added in v0.9.3

func (*ListTimeclockRequest) GetPagination

func (x *ListTimeclockRequest) GetPagination() *database.PaginationRequest

func (*ListTimeclockRequest) GetPerDay

func (x *ListTimeclockRequest) GetPerDay() bool

func (*ListTimeclockRequest) GetSort added in v0.9.3

func (x *ListTimeclockRequest) GetSort() *database.Sort

func (*ListTimeclockRequest) GetUserIds

func (x *ListTimeclockRequest) GetUserIds() []int32

func (*ListTimeclockRequest) GetUserMode added in v0.9.3

func (x *ListTimeclockRequest) GetUserMode() jobs.TimeclockUserMode

func (*ListTimeclockRequest) ProtoMessage

func (*ListTimeclockRequest) ProtoMessage()

func (*ListTimeclockRequest) ProtoReflect

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

func (*ListTimeclockRequest) Reset

func (x *ListTimeclockRequest) Reset()

func (*ListTimeclockRequest) Sanitize added in v0.9.4

func (m *ListTimeclockRequest) Sanitize() error

func (*ListTimeclockRequest) String

func (x *ListTimeclockRequest) String() string

func (*ListTimeclockRequest) Validate

func (m *ListTimeclockRequest) Validate() error

Validate checks the field values on ListTimeclockRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListTimeclockRequest) ValidateAll

func (m *ListTimeclockRequest) ValidateAll() error

ValidateAll checks the field values on ListTimeclockRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTimeclockRequestMultiError, or nil if none found.

type ListTimeclockRequestMultiError

type ListTimeclockRequestMultiError []error

ListTimeclockRequestMultiError is an error wrapping multiple validation errors returned by ListTimeclockRequest.ValidateAll() if the designated constraints aren't met.

func (ListTimeclockRequestMultiError) AllErrors

func (m ListTimeclockRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListTimeclockRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListTimeclockRequestValidationError

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

ListTimeclockRequestValidationError is the validation error returned by ListTimeclockRequest.Validate if the designated constraints aren't met.

func (ListTimeclockRequestValidationError) Cause

Cause function returns cause value.

func (ListTimeclockRequestValidationError) Error

Error satisfies the builtin error interface

func (ListTimeclockRequestValidationError) ErrorName

ErrorName returns error name.

func (ListTimeclockRequestValidationError) Field

Field function returns field value.

func (ListTimeclockRequestValidationError) Key

Key function returns key value.

func (ListTimeclockRequestValidationError) Reason

Reason function returns reason value.

type ListTimeclockResponse

type ListTimeclockResponse struct {
	Pagination  *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Stats       *jobs.TimeclockStats         `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"`
	StatsWeekly []*jobs.TimeclockWeeklyStats `protobuf:"bytes,3,rep,name=stats_weekly,json=statsWeekly,proto3" json:"stats_weekly,omitempty"`
	// Types that are assignable to Entries:
	//
	//	*ListTimeclockResponse_Daily
	//	*ListTimeclockResponse_Weekly
	//	*ListTimeclockResponse_Range
	Entries isListTimeclockResponse_Entries `protobuf_oneof:"entries"`
	// contains filtered or unexported fields
}

func (*ListTimeclockResponse) Descriptor deprecated

func (*ListTimeclockResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListTimeclockResponse.ProtoReflect.Descriptor instead.

func (*ListTimeclockResponse) GetDaily added in v0.9.3

func (x *ListTimeclockResponse) GetDaily() *TimeclockDay

func (*ListTimeclockResponse) GetEntries

func (m *ListTimeclockResponse) GetEntries() isListTimeclockResponse_Entries

func (*ListTimeclockResponse) GetPagination

func (*ListTimeclockResponse) GetRange added in v0.9.3

func (x *ListTimeclockResponse) GetRange() *TimeclockRange

func (*ListTimeclockResponse) GetStats

func (x *ListTimeclockResponse) GetStats() *jobs.TimeclockStats

func (*ListTimeclockResponse) GetStatsWeekly added in v0.9.3

func (x *ListTimeclockResponse) GetStatsWeekly() []*jobs.TimeclockWeeklyStats

func (*ListTimeclockResponse) GetWeekly

func (x *ListTimeclockResponse) GetWeekly() *TimeclockWeekly

func (*ListTimeclockResponse) ProtoMessage

func (*ListTimeclockResponse) ProtoMessage()

func (*ListTimeclockResponse) ProtoReflect

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

func (*ListTimeclockResponse) Reset

func (x *ListTimeclockResponse) Reset()

func (*ListTimeclockResponse) Sanitize added in v0.9.4

func (m *ListTimeclockResponse) Sanitize() error

func (*ListTimeclockResponse) String

func (x *ListTimeclockResponse) String() string

func (*ListTimeclockResponse) Validate

func (m *ListTimeclockResponse) Validate() error

Validate checks the field values on ListTimeclockResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListTimeclockResponse) ValidateAll

func (m *ListTimeclockResponse) ValidateAll() error

ValidateAll checks the field values on ListTimeclockResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTimeclockResponseMultiError, or nil if none found.

type ListTimeclockResponseMultiError

type ListTimeclockResponseMultiError []error

ListTimeclockResponseMultiError is an error wrapping multiple validation errors returned by ListTimeclockResponse.ValidateAll() if the designated constraints aren't met.

func (ListTimeclockResponseMultiError) AllErrors

func (m ListTimeclockResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListTimeclockResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListTimeclockResponseValidationError

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

ListTimeclockResponseValidationError is the validation error returned by ListTimeclockResponse.Validate if the designated constraints aren't met.

func (ListTimeclockResponseValidationError) Cause

Cause function returns cause value.

func (ListTimeclockResponseValidationError) Error

Error satisfies the builtin error interface

func (ListTimeclockResponseValidationError) ErrorName

ErrorName returns error name.

func (ListTimeclockResponseValidationError) Field

Field function returns field value.

func (ListTimeclockResponseValidationError) Key

Key function returns key value.

func (ListTimeclockResponseValidationError) Reason

Reason function returns reason value.

type ListTimeclockResponse_Daily added in v0.9.3

type ListTimeclockResponse_Daily struct {
	Daily *TimeclockDay `protobuf:"bytes,4,opt,name=daily,proto3,oneof"`
}

type ListTimeclockResponse_Range added in v0.9.3

type ListTimeclockResponse_Range struct {
	Range *TimeclockRange `protobuf:"bytes,6,opt,name=range,proto3,oneof"`
}

type ListTimeclockResponse_Weekly added in v0.9.3

type ListTimeclockResponse_Weekly struct {
	Weekly *TimeclockWeekly `protobuf:"bytes,5,opt,name=weekly,proto3,oneof"`
}

type ManageColleagueLabelsRequest added in v0.9.4

type ManageColleagueLabelsRequest struct {
	Labels []*jobs.Label `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*ManageColleagueLabelsRequest) Descriptor deprecated added in v0.9.4

func (*ManageColleagueLabelsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ManageColleagueLabelsRequest.ProtoReflect.Descriptor instead.

func (*ManageColleagueLabelsRequest) GetLabels added in v0.9.4

func (x *ManageColleagueLabelsRequest) GetLabels() []*jobs.Label

func (*ManageColleagueLabelsRequest) ProtoMessage added in v0.9.4

func (*ManageColleagueLabelsRequest) ProtoMessage()

func (*ManageColleagueLabelsRequest) ProtoReflect added in v0.9.4

func (*ManageColleagueLabelsRequest) Reset added in v0.9.4

func (x *ManageColleagueLabelsRequest) Reset()

func (*ManageColleagueLabelsRequest) Sanitize added in v0.9.4

func (m *ManageColleagueLabelsRequest) Sanitize() error

func (*ManageColleagueLabelsRequest) String added in v0.9.4

func (*ManageColleagueLabelsRequest) Validate added in v0.9.4

func (m *ManageColleagueLabelsRequest) Validate() error

Validate checks the field values on ManageColleagueLabelsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ManageColleagueLabelsRequest) ValidateAll added in v0.9.4

func (m *ManageColleagueLabelsRequest) ValidateAll() error

ValidateAll checks the field values on ManageColleagueLabelsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ManageColleagueLabelsRequestMultiError, or nil if none found.

type ManageColleagueLabelsRequestMultiError added in v0.9.4

type ManageColleagueLabelsRequestMultiError []error

ManageColleagueLabelsRequestMultiError is an error wrapping multiple validation errors returned by ManageColleagueLabelsRequest.ValidateAll() if the designated constraints aren't met.

func (ManageColleagueLabelsRequestMultiError) AllErrors added in v0.9.4

AllErrors returns a list of validation violation errors.

func (ManageColleagueLabelsRequestMultiError) Error added in v0.9.4

Error returns a concatenation of all the error messages it wraps.

type ManageColleagueLabelsRequestValidationError added in v0.9.4

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

ManageColleagueLabelsRequestValidationError is the validation error returned by ManageColleagueLabelsRequest.Validate if the designated constraints aren't met.

func (ManageColleagueLabelsRequestValidationError) Cause added in v0.9.4

Cause function returns cause value.

func (ManageColleagueLabelsRequestValidationError) Error added in v0.9.4

Error satisfies the builtin error interface

func (ManageColleagueLabelsRequestValidationError) ErrorName added in v0.9.4

ErrorName returns error name.

func (ManageColleagueLabelsRequestValidationError) Field added in v0.9.4

Field function returns field value.

func (ManageColleagueLabelsRequestValidationError) Key added in v0.9.4

Key function returns key value.

func (ManageColleagueLabelsRequestValidationError) Reason added in v0.9.4

Reason function returns reason value.

type ManageColleagueLabelsResponse added in v0.9.4

type ManageColleagueLabelsResponse struct {
	Labels []*jobs.Label `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*ManageColleagueLabelsResponse) Descriptor deprecated added in v0.9.4

func (*ManageColleagueLabelsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ManageColleagueLabelsResponse.ProtoReflect.Descriptor instead.

func (*ManageColleagueLabelsResponse) GetLabels added in v0.9.4

func (x *ManageColleagueLabelsResponse) GetLabels() []*jobs.Label

func (*ManageColleagueLabelsResponse) ProtoMessage added in v0.9.4

func (*ManageColleagueLabelsResponse) ProtoMessage()

func (*ManageColleagueLabelsResponse) ProtoReflect added in v0.9.4

func (*ManageColleagueLabelsResponse) Reset added in v0.9.4

func (x *ManageColleagueLabelsResponse) Reset()

func (*ManageColleagueLabelsResponse) Sanitize added in v0.9.4

func (m *ManageColleagueLabelsResponse) Sanitize() error

func (*ManageColleagueLabelsResponse) String added in v0.9.4

func (*ManageColleagueLabelsResponse) Validate added in v0.9.4

func (m *ManageColleagueLabelsResponse) Validate() error

Validate checks the field values on ManageColleagueLabelsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ManageColleagueLabelsResponse) ValidateAll added in v0.9.4

func (m *ManageColleagueLabelsResponse) ValidateAll() error

ValidateAll checks the field values on ManageColleagueLabelsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ManageColleagueLabelsResponseMultiError, or nil if none found.

type ManageColleagueLabelsResponseMultiError added in v0.9.4

type ManageColleagueLabelsResponseMultiError []error

ManageColleagueLabelsResponseMultiError is an error wrapping multiple validation errors returned by ManageColleagueLabelsResponse.ValidateAll() if the designated constraints aren't met.

func (ManageColleagueLabelsResponseMultiError) AllErrors added in v0.9.4

AllErrors returns a list of validation violation errors.

func (ManageColleagueLabelsResponseMultiError) Error added in v0.9.4

Error returns a concatenation of all the error messages it wraps.

type ManageColleagueLabelsResponseValidationError added in v0.9.4

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

ManageColleagueLabelsResponseValidationError is the validation error returned by ManageColleagueLabelsResponse.Validate if the designated constraints aren't met.

func (ManageColleagueLabelsResponseValidationError) Cause added in v0.9.4

Cause function returns cause value.

func (ManageColleagueLabelsResponseValidationError) Error added in v0.9.4

Error satisfies the builtin error interface

func (ManageColleagueLabelsResponseValidationError) ErrorName added in v0.9.4

ErrorName returns error name.

func (ManageColleagueLabelsResponseValidationError) Field added in v0.9.4

Field function returns field value.

func (ManageColleagueLabelsResponseValidationError) Key added in v0.9.4

Key function returns key value.

func (ManageColleagueLabelsResponseValidationError) Reason added in v0.9.4

Reason function returns reason value.

type Params

type Params struct {
	fx.In

	LC fx.Lifecycle

	Logger            *zap.Logger
	DB                *sql.DB
	Perms             perms.Permissions
	UserAwareEnricher *mstlystcdata.UserAwareEnricher
	Audit             audit.IAuditer
	Config            *config.Config

	Cron croner.ICron
}

type Server

type Server struct {
	JobsConductServiceServer
	JobsServiceServer
	JobsTimeclockServiceServer
	// contains filtered or unexported fields
}

func NewServer

func NewServer(p Params) *Server

func (*Server) CreateConductEntry

func (s *Server) CreateConductEntry(ctx context.Context, req *CreateConductEntryRequest) (*CreateConductEntryResponse, error)

func (*Server) DeleteConductEntry

func (s *Server) DeleteConductEntry(ctx context.Context, req *DeleteConductEntryRequest) (*DeleteConductEntryResponse, error)

func (*Server) GetColleague

func (s *Server) GetColleague(ctx context.Context, req *GetColleagueRequest) (*GetColleagueResponse, error)

func (*Server) GetColleagueLabels added in v0.9.4

func (s *Server) GetColleagueLabels(ctx context.Context, req *GetColleagueLabelsRequest) (*GetColleagueLabelsResponse, error)

func (*Server) GetColleagueLabelsStats added in v0.9.4

func (*Server) GetMOTD

func (s *Server) GetMOTD(ctx context.Context, req *GetMOTDRequest) (*GetMOTDResponse, error)

func (*Server) GetPermsRemap

func (s *Server) GetPermsRemap() map[string]string

func (*Server) GetSelf

func (s *Server) GetSelf(ctx context.Context, req *GetSelfRequest) (*GetSelfResponse, error)

func (*Server) GetTimeclockStats

func (s *Server) GetTimeclockStats(ctx context.Context, req *GetTimeclockStatsRequest) (*GetTimeclockStatsResponse, error)

func (*Server) ListColleagueActivity

func (*Server) ListColleagues

func (s *Server) ListColleagues(ctx context.Context, req *ListColleaguesRequest) (*ListColleaguesResponse, error)

func (*Server) ListConductEntries

func (s *Server) ListConductEntries(ctx context.Context, req *ListConductEntriesRequest) (*ListConductEntriesResponse, error)

func (*Server) ListInactiveEmployees

func (*Server) ListTimeclock

func (s *Server) ListTimeclock(ctx context.Context, req *ListTimeclockRequest) (*ListTimeclockResponse, error)

func (*Server) ManageColleagueLabels added in v0.9.4

func (*Server) RegisterServer

func (s *Server) RegisterServer(srv *grpc.Server)

func (*Server) SetJobsUserProps

func (s *Server) SetJobsUserProps(ctx context.Context, req *SetJobsUserPropsRequest) (*SetJobsUserPropsResponse, error)

func (*Server) SetMOTD

func (s *Server) SetMOTD(ctx context.Context, req *SetMOTDRequest) (*SetMOTDResponse, error)

func (*Server) UpdateConductEntry

func (s *Server) UpdateConductEntry(ctx context.Context, req *UpdateConductEntryRequest) (*UpdateConductEntryResponse, error)

type SetJobsUserPropsRequest

type SetJobsUserPropsRequest struct {
	Props *jobs.JobsUserProps `protobuf:"bytes,1,opt,name=props,proto3" json:"props,omitempty"`
	// @sanitize
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*SetJobsUserPropsRequest) Descriptor deprecated

func (*SetJobsUserPropsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetJobsUserPropsRequest.ProtoReflect.Descriptor instead.

func (*SetJobsUserPropsRequest) GetProps

func (*SetJobsUserPropsRequest) GetReason

func (x *SetJobsUserPropsRequest) GetReason() string

func (*SetJobsUserPropsRequest) ProtoMessage

func (*SetJobsUserPropsRequest) ProtoMessage()

func (*SetJobsUserPropsRequest) ProtoReflect

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

func (*SetJobsUserPropsRequest) Reset

func (x *SetJobsUserPropsRequest) Reset()

func (*SetJobsUserPropsRequest) Sanitize

func (m *SetJobsUserPropsRequest) Sanitize() error

func (*SetJobsUserPropsRequest) String

func (x *SetJobsUserPropsRequest) String() string

func (*SetJobsUserPropsRequest) Validate

func (m *SetJobsUserPropsRequest) Validate() error

Validate checks the field values on SetJobsUserPropsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SetJobsUserPropsRequest) ValidateAll

func (m *SetJobsUserPropsRequest) ValidateAll() error

ValidateAll checks the field values on SetJobsUserPropsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetJobsUserPropsRequestMultiError, or nil if none found.

type SetJobsUserPropsRequestMultiError

type SetJobsUserPropsRequestMultiError []error

SetJobsUserPropsRequestMultiError is an error wrapping multiple validation errors returned by SetJobsUserPropsRequest.ValidateAll() if the designated constraints aren't met.

func (SetJobsUserPropsRequestMultiError) AllErrors

func (m SetJobsUserPropsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetJobsUserPropsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SetJobsUserPropsRequestValidationError

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

SetJobsUserPropsRequestValidationError is the validation error returned by SetJobsUserPropsRequest.Validate if the designated constraints aren't met.

func (SetJobsUserPropsRequestValidationError) Cause

Cause function returns cause value.

func (SetJobsUserPropsRequestValidationError) Error

Error satisfies the builtin error interface

func (SetJobsUserPropsRequestValidationError) ErrorName

ErrorName returns error name.

func (SetJobsUserPropsRequestValidationError) Field

Field function returns field value.

func (SetJobsUserPropsRequestValidationError) Key

Key function returns key value.

func (SetJobsUserPropsRequestValidationError) Reason

Reason function returns reason value.

type SetJobsUserPropsResponse

type SetJobsUserPropsResponse struct {
	Props *jobs.JobsUserProps `protobuf:"bytes,1,opt,name=props,proto3" json:"props,omitempty"`
	// contains filtered or unexported fields
}

func (*SetJobsUserPropsResponse) Descriptor deprecated

func (*SetJobsUserPropsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetJobsUserPropsResponse.ProtoReflect.Descriptor instead.

func (*SetJobsUserPropsResponse) GetProps

func (*SetJobsUserPropsResponse) ProtoMessage

func (*SetJobsUserPropsResponse) ProtoMessage()

func (*SetJobsUserPropsResponse) ProtoReflect

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

func (*SetJobsUserPropsResponse) Reset

func (x *SetJobsUserPropsResponse) Reset()

func (*SetJobsUserPropsResponse) Sanitize added in v0.9.4

func (m *SetJobsUserPropsResponse) Sanitize() error

func (*SetJobsUserPropsResponse) String

func (x *SetJobsUserPropsResponse) String() string

func (*SetJobsUserPropsResponse) Validate

func (m *SetJobsUserPropsResponse) Validate() error

Validate checks the field values on SetJobsUserPropsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SetJobsUserPropsResponse) ValidateAll

func (m *SetJobsUserPropsResponse) ValidateAll() error

ValidateAll checks the field values on SetJobsUserPropsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetJobsUserPropsResponseMultiError, or nil if none found.

type SetJobsUserPropsResponseMultiError

type SetJobsUserPropsResponseMultiError []error

SetJobsUserPropsResponseMultiError is an error wrapping multiple validation errors returned by SetJobsUserPropsResponse.ValidateAll() if the designated constraints aren't met.

func (SetJobsUserPropsResponseMultiError) AllErrors

func (m SetJobsUserPropsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetJobsUserPropsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SetJobsUserPropsResponseValidationError

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

SetJobsUserPropsResponseValidationError is the validation error returned by SetJobsUserPropsResponse.Validate if the designated constraints aren't met.

func (SetJobsUserPropsResponseValidationError) Cause

Cause function returns cause value.

func (SetJobsUserPropsResponseValidationError) Error

Error satisfies the builtin error interface

func (SetJobsUserPropsResponseValidationError) ErrorName

ErrorName returns error name.

func (SetJobsUserPropsResponseValidationError) Field

Field function returns field value.

func (SetJobsUserPropsResponseValidationError) Key

Key function returns key value.

func (SetJobsUserPropsResponseValidationError) Reason

Reason function returns reason value.

type SetMOTDRequest

type SetMOTDRequest struct {

	// @sanitize: method=StripTags
	Motd string `protobuf:"bytes,1,opt,name=motd,proto3" json:"motd,omitempty"`
	// contains filtered or unexported fields
}

func (*SetMOTDRequest) Descriptor deprecated

func (*SetMOTDRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetMOTDRequest.ProtoReflect.Descriptor instead.

func (*SetMOTDRequest) GetMotd

func (x *SetMOTDRequest) GetMotd() string

func (*SetMOTDRequest) ProtoMessage

func (*SetMOTDRequest) ProtoMessage()

func (*SetMOTDRequest) ProtoReflect

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

func (*SetMOTDRequest) Reset

func (x *SetMOTDRequest) Reset()

func (*SetMOTDRequest) Sanitize

func (m *SetMOTDRequest) Sanitize() error

func (*SetMOTDRequest) String

func (x *SetMOTDRequest) String() string

func (*SetMOTDRequest) Validate

func (m *SetMOTDRequest) Validate() error

Validate checks the field values on SetMOTDRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SetMOTDRequest) ValidateAll

func (m *SetMOTDRequest) ValidateAll() error

ValidateAll checks the field values on SetMOTDRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetMOTDRequestMultiError, or nil if none found.

type SetMOTDRequestMultiError

type SetMOTDRequestMultiError []error

SetMOTDRequestMultiError is an error wrapping multiple validation errors returned by SetMOTDRequest.ValidateAll() if the designated constraints aren't met.

func (SetMOTDRequestMultiError) AllErrors

func (m SetMOTDRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetMOTDRequestMultiError) Error

func (m SetMOTDRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SetMOTDRequestValidationError

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

SetMOTDRequestValidationError is the validation error returned by SetMOTDRequest.Validate if the designated constraints aren't met.

func (SetMOTDRequestValidationError) Cause

Cause function returns cause value.

func (SetMOTDRequestValidationError) Error

Error satisfies the builtin error interface

func (SetMOTDRequestValidationError) ErrorName

func (e SetMOTDRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SetMOTDRequestValidationError) Field

Field function returns field value.

func (SetMOTDRequestValidationError) Key

Key function returns key value.

func (SetMOTDRequestValidationError) Reason

Reason function returns reason value.

type SetMOTDResponse

type SetMOTDResponse struct {
	Motd string `protobuf:"bytes,1,opt,name=motd,proto3" json:"motd,omitempty"`
	// contains filtered or unexported fields
}

func (*SetMOTDResponse) Descriptor deprecated

func (*SetMOTDResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetMOTDResponse.ProtoReflect.Descriptor instead.

func (*SetMOTDResponse) GetMotd

func (x *SetMOTDResponse) GetMotd() string

func (*SetMOTDResponse) ProtoMessage

func (*SetMOTDResponse) ProtoMessage()

func (*SetMOTDResponse) ProtoReflect

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

func (*SetMOTDResponse) Reset

func (x *SetMOTDResponse) Reset()

func (*SetMOTDResponse) Sanitize added in v0.9.4

func (m *SetMOTDResponse) Sanitize() error

func (*SetMOTDResponse) String

func (x *SetMOTDResponse) String() string

func (*SetMOTDResponse) Validate

func (m *SetMOTDResponse) Validate() error

Validate checks the field values on SetMOTDResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SetMOTDResponse) ValidateAll

func (m *SetMOTDResponse) ValidateAll() error

ValidateAll checks the field values on SetMOTDResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetMOTDResponseMultiError, or nil if none found.

type SetMOTDResponseMultiError

type SetMOTDResponseMultiError []error

SetMOTDResponseMultiError is an error wrapping multiple validation errors returned by SetMOTDResponse.ValidateAll() if the designated constraints aren't met.

func (SetMOTDResponseMultiError) AllErrors

func (m SetMOTDResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetMOTDResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SetMOTDResponseValidationError

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

SetMOTDResponseValidationError is the validation error returned by SetMOTDResponse.Validate if the designated constraints aren't met.

func (SetMOTDResponseValidationError) Cause

Cause function returns cause value.

func (SetMOTDResponseValidationError) Error

Error satisfies the builtin error interface

func (SetMOTDResponseValidationError) ErrorName

func (e SetMOTDResponseValidationError) ErrorName() string

ErrorName returns error name.

func (SetMOTDResponseValidationError) Field

Field function returns field value.

func (SetMOTDResponseValidationError) Key

Key function returns key value.

func (SetMOTDResponseValidationError) Reason

Reason function returns reason value.

type TimeclockDay added in v0.9.3

type TimeclockDay struct {
	Date    *timestamp.Timestamp   `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	Entries []*jobs.TimeclockEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
	Sum     float32                `protobuf:"fixed32,3,opt,name=sum,proto3" json:"sum,omitempty"`
	// contains filtered or unexported fields
}

func (*TimeclockDay) Descriptor deprecated added in v0.9.3

func (*TimeclockDay) Descriptor() ([]byte, []int)

Deprecated: Use TimeclockDay.ProtoReflect.Descriptor instead.

func (*TimeclockDay) GetDate added in v0.9.3

func (x *TimeclockDay) GetDate() *timestamp.Timestamp

func (*TimeclockDay) GetEntries added in v0.9.3

func (x *TimeclockDay) GetEntries() []*jobs.TimeclockEntry

func (*TimeclockDay) GetSum added in v0.9.3

func (x *TimeclockDay) GetSum() float32

func (*TimeclockDay) ProtoMessage added in v0.9.3

func (*TimeclockDay) ProtoMessage()

func (*TimeclockDay) ProtoReflect added in v0.9.3

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

func (*TimeclockDay) Reset added in v0.9.3

func (x *TimeclockDay) Reset()

func (*TimeclockDay) Sanitize added in v0.9.4

func (m *TimeclockDay) Sanitize() error

func (*TimeclockDay) String added in v0.9.3

func (x *TimeclockDay) String() string

func (*TimeclockDay) Validate added in v0.9.3

func (m *TimeclockDay) Validate() error

Validate checks the field values on TimeclockDay with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TimeclockDay) ValidateAll added in v0.9.3

func (m *TimeclockDay) ValidateAll() error

ValidateAll checks the field values on TimeclockDay with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TimeclockDayMultiError, or nil if none found.

type TimeclockDayMultiError added in v0.9.3

type TimeclockDayMultiError []error

TimeclockDayMultiError is an error wrapping multiple validation errors returned by TimeclockDay.ValidateAll() if the designated constraints aren't met.

func (TimeclockDayMultiError) AllErrors added in v0.9.3

func (m TimeclockDayMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TimeclockDayMultiError) Error added in v0.9.3

func (m TimeclockDayMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TimeclockDayValidationError added in v0.9.3

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

TimeclockDayValidationError is the validation error returned by TimeclockDay.Validate if the designated constraints aren't met.

func (TimeclockDayValidationError) Cause added in v0.9.3

Cause function returns cause value.

func (TimeclockDayValidationError) Error added in v0.9.3

Error satisfies the builtin error interface

func (TimeclockDayValidationError) ErrorName added in v0.9.3

func (e TimeclockDayValidationError) ErrorName() string

ErrorName returns error name.

func (TimeclockDayValidationError) Field added in v0.9.3

Field function returns field value.

func (TimeclockDayValidationError) Key added in v0.9.3

Key function returns key value.

func (TimeclockDayValidationError) Reason added in v0.9.3

Reason function returns reason value.

type TimeclockRange added in v0.9.3

type TimeclockRange struct {
	Date    *timestamp.Timestamp   `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty" sql:"primary_key"` // @gotags: sql:"primary_key"
	Entries []*jobs.TimeclockEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
	Sum     float32                `protobuf:"fixed32,3,opt,name=sum,proto3" json:"sum,omitempty"`
	// contains filtered or unexported fields
}

func (*TimeclockRange) Descriptor deprecated added in v0.9.3

func (*TimeclockRange) Descriptor() ([]byte, []int)

Deprecated: Use TimeclockRange.ProtoReflect.Descriptor instead.

func (*TimeclockRange) GetDate added in v0.9.3

func (x *TimeclockRange) GetDate() *timestamp.Timestamp

func (*TimeclockRange) GetEntries added in v0.9.3

func (x *TimeclockRange) GetEntries() []*jobs.TimeclockEntry

func (*TimeclockRange) GetSum added in v0.9.3

func (x *TimeclockRange) GetSum() float32

func (*TimeclockRange) ProtoMessage added in v0.9.3

func (*TimeclockRange) ProtoMessage()

func (*TimeclockRange) ProtoReflect added in v0.9.3

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

func (*TimeclockRange) Reset added in v0.9.3

func (x *TimeclockRange) Reset()

func (*TimeclockRange) Sanitize added in v0.9.4

func (m *TimeclockRange) Sanitize() error

func (*TimeclockRange) String added in v0.9.3

func (x *TimeclockRange) String() string

func (*TimeclockRange) Validate added in v0.9.3

func (m *TimeclockRange) Validate() error

Validate checks the field values on TimeclockRange with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TimeclockRange) ValidateAll added in v0.9.3

func (m *TimeclockRange) ValidateAll() error

ValidateAll checks the field values on TimeclockRange with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TimeclockRangeMultiError, or nil if none found.

type TimeclockRangeMultiError added in v0.9.3

type TimeclockRangeMultiError []error

TimeclockRangeMultiError is an error wrapping multiple validation errors returned by TimeclockRange.ValidateAll() if the designated constraints aren't met.

func (TimeclockRangeMultiError) AllErrors added in v0.9.3

func (m TimeclockRangeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TimeclockRangeMultiError) Error added in v0.9.3

func (m TimeclockRangeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TimeclockRangeValidationError added in v0.9.3

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

TimeclockRangeValidationError is the validation error returned by TimeclockRange.Validate if the designated constraints aren't met.

func (TimeclockRangeValidationError) Cause added in v0.9.3

Cause function returns cause value.

func (TimeclockRangeValidationError) Error added in v0.9.3

Error satisfies the builtin error interface

func (TimeclockRangeValidationError) ErrorName added in v0.9.3

func (e TimeclockRangeValidationError) ErrorName() string

ErrorName returns error name.

func (TimeclockRangeValidationError) Field added in v0.9.3

Field function returns field value.

func (TimeclockRangeValidationError) Key added in v0.9.3

Key function returns key value.

func (TimeclockRangeValidationError) Reason added in v0.9.3

Reason function returns reason value.

type TimeclockWeekly added in v0.9.3

type TimeclockWeekly struct {
	Date    *timestamp.Timestamp   `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty" sql:"primary_key"` // @gotags: sql:"primary_key"
	Entries []*jobs.TimeclockEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
	Sum     float32                `protobuf:"fixed32,3,opt,name=sum,proto3" json:"sum,omitempty"`
	// contains filtered or unexported fields
}

func (*TimeclockWeekly) Descriptor deprecated added in v0.9.3

func (*TimeclockWeekly) Descriptor() ([]byte, []int)

Deprecated: Use TimeclockWeekly.ProtoReflect.Descriptor instead.

func (*TimeclockWeekly) GetDate added in v0.9.3

func (x *TimeclockWeekly) GetDate() *timestamp.Timestamp

func (*TimeclockWeekly) GetEntries added in v0.9.3

func (x *TimeclockWeekly) GetEntries() []*jobs.TimeclockEntry

func (*TimeclockWeekly) GetSum added in v0.9.3

func (x *TimeclockWeekly) GetSum() float32

func (*TimeclockWeekly) ProtoMessage added in v0.9.3

func (*TimeclockWeekly) ProtoMessage()

func (*TimeclockWeekly) ProtoReflect added in v0.9.3

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

func (*TimeclockWeekly) Reset added in v0.9.3

func (x *TimeclockWeekly) Reset()

func (*TimeclockWeekly) Sanitize added in v0.9.4

func (m *TimeclockWeekly) Sanitize() error

func (*TimeclockWeekly) String added in v0.9.3

func (x *TimeclockWeekly) String() string

func (*TimeclockWeekly) Validate added in v0.9.3

func (m *TimeclockWeekly) Validate() error

Validate checks the field values on TimeclockWeekly with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TimeclockWeekly) ValidateAll added in v0.9.3

func (m *TimeclockWeekly) ValidateAll() error

ValidateAll checks the field values on TimeclockWeekly with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TimeclockWeeklyMultiError, or nil if none found.

type TimeclockWeeklyMultiError added in v0.9.3

type TimeclockWeeklyMultiError []error

TimeclockWeeklyMultiError is an error wrapping multiple validation errors returned by TimeclockWeekly.ValidateAll() if the designated constraints aren't met.

func (TimeclockWeeklyMultiError) AllErrors added in v0.9.3

func (m TimeclockWeeklyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TimeclockWeeklyMultiError) Error added in v0.9.3

Error returns a concatenation of all the error messages it wraps.

type TimeclockWeeklyValidationError added in v0.9.3

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

TimeclockWeeklyValidationError is the validation error returned by TimeclockWeekly.Validate if the designated constraints aren't met.

func (TimeclockWeeklyValidationError) Cause added in v0.9.3

Cause function returns cause value.

func (TimeclockWeeklyValidationError) Error added in v0.9.3

Error satisfies the builtin error interface

func (TimeclockWeeklyValidationError) ErrorName added in v0.9.3

func (e TimeclockWeeklyValidationError) ErrorName() string

ErrorName returns error name.

func (TimeclockWeeklyValidationError) Field added in v0.9.3

Field function returns field value.

func (TimeclockWeeklyValidationError) Key added in v0.9.3

Key function returns key value.

func (TimeclockWeeklyValidationError) Reason added in v0.9.3

Reason function returns reason value.

type UnimplementedJobsConductServiceServer

type UnimplementedJobsConductServiceServer struct {
}

UnimplementedJobsConductServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedJobsConductServiceServer) CreateConductEntry

func (UnimplementedJobsConductServiceServer) DeleteConductEntry

func (UnimplementedJobsConductServiceServer) ListConductEntries

func (UnimplementedJobsConductServiceServer) UpdateConductEntry

type UnimplementedJobsServiceServer

type UnimplementedJobsServiceServer struct {
}

UnimplementedJobsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedJobsServiceServer) GetColleague

func (UnimplementedJobsServiceServer) GetColleagueLabels added in v0.9.4

func (UnimplementedJobsServiceServer) GetColleagueLabelsStats added in v0.9.4

func (UnimplementedJobsServiceServer) GetMOTD

func (UnimplementedJobsServiceServer) GetSelf

func (UnimplementedJobsServiceServer) ListColleagues

func (UnimplementedJobsServiceServer) ManageColleagueLabels added in v0.9.4

func (UnimplementedJobsServiceServer) SetJobsUserProps

func (UnimplementedJobsServiceServer) SetMOTD

type UnimplementedJobsTimeclockServiceServer

type UnimplementedJobsTimeclockServiceServer struct {
}

UnimplementedJobsTimeclockServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedJobsTimeclockServiceServer) GetTimeclockStats

func (UnimplementedJobsTimeclockServiceServer) ListInactiveEmployees

func (UnimplementedJobsTimeclockServiceServer) ListTimeclock

type UnsafeJobsConductServiceServer

type UnsafeJobsConductServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeJobsConductServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to JobsConductServiceServer will result in compilation errors.

type UnsafeJobsServiceServer

type UnsafeJobsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeJobsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to JobsServiceServer will result in compilation errors.

type UnsafeJobsTimeclockServiceServer

type UnsafeJobsTimeclockServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeJobsTimeclockServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to JobsTimeclockServiceServer will result in compilation errors.

type UpdateConductEntryRequest

type UpdateConductEntryRequest struct {
	Entry *jobs.ConductEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateConductEntryRequest) Descriptor deprecated

func (*UpdateConductEntryRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateConductEntryRequest.ProtoReflect.Descriptor instead.

func (*UpdateConductEntryRequest) GetEntry

func (*UpdateConductEntryRequest) ProtoMessage

func (*UpdateConductEntryRequest) ProtoMessage()

func (*UpdateConductEntryRequest) ProtoReflect

func (*UpdateConductEntryRequest) Reset

func (x *UpdateConductEntryRequest) Reset()

func (*UpdateConductEntryRequest) Sanitize added in v0.9.4

func (m *UpdateConductEntryRequest) Sanitize() error

func (*UpdateConductEntryRequest) String

func (x *UpdateConductEntryRequest) String() string

func (*UpdateConductEntryRequest) Validate

func (m *UpdateConductEntryRequest) Validate() error

Validate checks the field values on UpdateConductEntryRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateConductEntryRequest) ValidateAll

func (m *UpdateConductEntryRequest) ValidateAll() error

ValidateAll checks the field values on UpdateConductEntryRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateConductEntryRequestMultiError, or nil if none found.

type UpdateConductEntryRequestMultiError

type UpdateConductEntryRequestMultiError []error

UpdateConductEntryRequestMultiError is an error wrapping multiple validation errors returned by UpdateConductEntryRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateConductEntryRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateConductEntryRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateConductEntryRequestValidationError

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

UpdateConductEntryRequestValidationError is the validation error returned by UpdateConductEntryRequest.Validate if the designated constraints aren't met.

func (UpdateConductEntryRequestValidationError) Cause

Cause function returns cause value.

func (UpdateConductEntryRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateConductEntryRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateConductEntryRequestValidationError) Field

Field function returns field value.

func (UpdateConductEntryRequestValidationError) Key

Key function returns key value.

func (UpdateConductEntryRequestValidationError) Reason

Reason function returns reason value.

type UpdateConductEntryResponse

type UpdateConductEntryResponse struct {
	Entry *jobs.ConductEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateConductEntryResponse) Descriptor deprecated

func (*UpdateConductEntryResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateConductEntryResponse.ProtoReflect.Descriptor instead.

func (*UpdateConductEntryResponse) GetEntry

func (*UpdateConductEntryResponse) ProtoMessage

func (*UpdateConductEntryResponse) ProtoMessage()

func (*UpdateConductEntryResponse) ProtoReflect

func (*UpdateConductEntryResponse) Reset

func (x *UpdateConductEntryResponse) Reset()

func (*UpdateConductEntryResponse) Sanitize added in v0.9.4

func (m *UpdateConductEntryResponse) Sanitize() error

func (*UpdateConductEntryResponse) String

func (x *UpdateConductEntryResponse) String() string

func (*UpdateConductEntryResponse) Validate

func (m *UpdateConductEntryResponse) Validate() error

Validate checks the field values on UpdateConductEntryResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateConductEntryResponse) ValidateAll

func (m *UpdateConductEntryResponse) ValidateAll() error

ValidateAll checks the field values on UpdateConductEntryResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateConductEntryResponseMultiError, or nil if none found.

type UpdateConductEntryResponseMultiError

type UpdateConductEntryResponseMultiError []error

UpdateConductEntryResponseMultiError is an error wrapping multiple validation errors returned by UpdateConductEntryResponse.ValidateAll() if the designated constraints aren't met.

func (UpdateConductEntryResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateConductEntryResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateConductEntryResponseValidationError

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

UpdateConductEntryResponseValidationError is the validation error returned by UpdateConductEntryResponse.Validate if the designated constraints aren't met.

func (UpdateConductEntryResponseValidationError) Cause

Cause function returns cause value.

func (UpdateConductEntryResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateConductEntryResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateConductEntryResponseValidationError) Field

Field function returns field value.

func (UpdateConductEntryResponseValidationError) Key

Key function returns key value.

func (UpdateConductEntryResponseValidationError) Reason

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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