Documentation ¶
Index ¶
- func Process(req *velerov1api.ServerStatusRequest, ...) error
- type Builder
- func (b *Builder) Build() *velerov1api.ServerStatusRequest
- func (b *Builder) GenerateName(name string) *Builder
- func (b *Builder) Name(name string) *Builder
- func (b *Builder) Namespace(namespace string) *Builder
- func (b *Builder) Phase(phase velerov1api.ServerStatusRequestPhase) *Builder
- func (b *Builder) ProcessedTimestamp(time time.Time) *Builder
- func (b *Builder) ServerVersion(version string) *Builder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Process ¶
func Process(req *velerov1api.ServerStatusRequest, client velerov1client.ServerStatusRequestsGetter, clock clock.Clock, log logrus.FieldLogger) error
Process fills out new ServerStatusRequest objects and deletes processed ones that have expired.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func NewBuilder() *Builder
func (*Builder) Build ¶
func (b *Builder) Build() *velerov1api.ServerStatusRequest
func (*Builder) GenerateName ¶
func (*Builder) Phase ¶
func (b *Builder) Phase(phase velerov1api.ServerStatusRequestPhase) *Builder
func (*Builder) ServerVersion ¶
Click to show internal directories.
Click to hide internal directories.