Documentation ¶
Index ¶
- func ListFieldDiffs(l, r any) ([]string, error)
- func ListFieldDiffsForUnstructured(l, r *unstructured.Unstructured) ([]string, error)
- func LogBucketRef_ConvertToExternal(ctx context.Context, reader client.Reader, src client.Object, ...) error
- func MakeFQN(projectID, metricID string) string
- func NewLogMetricModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)
- type LogBucket
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListFieldDiffs ¶ added in v1.118.2
ListFieldDiffs returns a list of field paths where the values differ, for two arbitrary objects. If the objects are unstructured.Unstructured, use ListFieldDiffsForUnstructured for efficiency.
func ListFieldDiffsForUnstructured ¶ added in v1.118.2
func ListFieldDiffsForUnstructured(l, r *unstructured.Unstructured) ([]string, error)
ListFieldDiffsForUnstructured returns a list of field paths where the values differ, for two unstructured objects.
func LogBucketRef_ConvertToExternal ¶ added in v1.118.0
func MakeFQN ¶
MakeFQN constructions a fully qualified name for a LogMetric resources to be used in API calls. The format expected is: "projects/[PROJECT_ID]/metrics/[METRIC_ID]". Func assumes values are well formed and validated.
func NewLogMetricModel ¶ added in v1.118.2
func NewLogMetricModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)
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.