Documentation ¶
Index ¶
- func AddLogMetricController(mgr manager.Manager, config *controller.Config, opts directbase.Deps) error
- func GetModel(ctx context.Context, config *controller.Config) (directbase.Model, error)
- func HasHTTPCode(err error, code int) bool
- func IsNotFound(err error) bool
- func LogBucketRef_ConvertToExternal(ctx context.Context, reader client.Reader, src client.Object, ...) error
- func MakeFQN(projectID, metricID string) string
- func ValueOf[T any](p *T) T
- type LogBucket
- type Project
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddLogMetricController ¶
func AddLogMetricController(mgr manager.Manager, config *controller.Config, opts directbase.Deps) error
AddLogMetricController creates a new controller and adds it to the Manager. The Manager will set fields on the Controller and start it when the Manager is started.
func GetModel ¶ added in v1.118.0
func GetModel(ctx context.Context, config *controller.Config) (directbase.Model, error)
func HasHTTPCode ¶
HasHTTPCode returns true if the given error is an HTTP response with the given code.
func IsNotFound ¶
IsNotFound returns true if the given error is an HTTP 404.
func LogBucketRef_ConvertToExternal ¶ added in v1.118.0
Types ¶
type LogBucket ¶ added in v1.118.0
type LogBucket struct {
// contains filtered or unexported fields
}
func LogBucketRef_Parse ¶ added in v1.118.0
Click to show internal directories.
Click to hide internal directories.