Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct { repository.Actions // contains filtered or unexported fields }
Server options.
type ServerOption ¶
type ServerOption func(*Server)
ServerOption for setting optional values.
func WithBmcTimeout ¶
func WithBmcTimeout(t time.Duration) ServerOption
WithBmcTimeout sets the timeout for BMC calls.
func WithPersistence ¶
func WithPersistence(repo repository.Actions) ServerOption
WithPersistence sets the log level.
func WithSkipRedfishVersions ¶
func WithSkipRedfishVersions(versions []string) ServerOption
WithSkipRedfishVersions sets the Redfish versions to ignore for BMC calls.
Click to show internal directories.
Click to hide internal directories.