V2TransformationKind🔗
Dashboard v2 shape: the transformation ID moved from kind to group.
Definition🔗
type V2TransformationKind struct {
Kind string `json:"kind"`
// The group is the transformation ID
Group string `json:"group"`
Spec dashboardv2beta1.V2TransformationSpec `json:"spec"`
}
Methods🔗
UnmarshalJSONStrict🔗
UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode V2TransformationKind from JSON.
Note: the unmarshalling done by this function is strict. It will fail over required fields being absent from the input, fields having an incorrect type, unexpected fields being present, …
Equals🔗
Equals tests the equality of two V2TransformationKind objects.
Validate🔗
Validate checks all the validation constraints that may be defined on V2TransformationKind fields for violations and returns them.