Skip to content

Commit

Permalink
chore: gofumpt
Browse files Browse the repository at this point in the history
Signed-off-by: Mattia Lavacca <lavacca.mattia@gmail.com>
  • Loading branch information
mlavacca committed Aug 31, 2024
1 parent 43cf5ca commit 242b3af
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 49 deletions.
12 changes: 5 additions & 7 deletions pkg/features/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,11 @@ const (
SupportGateway FeatureName = "Gateway"
)

var (
// GatewayFeature contains metadata for the Gateway feature.
GatewayFeature = Feature{
Name: SupportGateway,
Channel: FeatureChannelStandard,
}
)
// GatewayFeature contains metadata for the Gateway feature.
var GatewayFeature = Feature{
Name: SupportGateway,
Channel: FeatureChannelStandard,
}

// GatewayCoreFeatures are the features that are required to be conformant with
// the Gateway resource.
Expand Down
12 changes: 5 additions & 7 deletions pkg/features/grpcroute.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@ const (
SupportGRPCRoute FeatureName = "GRPCRoute"
)

var (
// GRPCRouteFeature contains metadata for the GRPCRoute feature.
GRPCRouteFeature = Feature{
Name: SupportGRPCRoute,
Channel: FeatureChannelStandard,
}
)
// GRPCRouteFeature contains metadata for the GRPCRoute feature.
var GRPCRouteFeature = Feature{
Name: SupportGRPCRoute,
Channel: FeatureChannelStandard,
}

// GRPCRouteCoreFeatures includes all the supported features for GRPCRoute at
// a Core level of support.
Expand Down
12 changes: 5 additions & 7 deletions pkg/features/httproute.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@ const (
SupportHTTPRoute FeatureName = "HTTPRoute"
)

var (
// HTTPRouteFeature contains metadata for the HTTPRoute feature.
HTTPRouteFeature = Feature{
Name: SupportHTTPRoute,
Channel: FeatureChannelStandard,
}
)
// HTTPRouteFeature contains metadata for the HTTPRoute feature.
var HTTPRouteFeature = Feature{
Name: SupportHTTPRoute,
Channel: FeatureChannelStandard,
}

// HTTPRouteCoreFeatures includes all SupportedFeatures needed to be conformant with
// the HTTPRoute resource.
Expand Down
12 changes: 5 additions & 7 deletions pkg/features/mesh.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@ const (
SupportMesh FeatureName = "Mesh"
)

var (
// MeshFeature contains metadata for the Mesh feature.
MeshFeature = Feature{
Name: SupportMesh,
Channel: FeatureChannelStandard,
}
)
// MeshFeature contains metadata for the Mesh feature.
var MeshFeature = Feature{
Name: SupportMesh,
Channel: FeatureChannelStandard,
}

// MeshCoreFeatures includes all the supported features for the service mesh at
// a Core level of support.
Expand Down
12 changes: 5 additions & 7 deletions pkg/features/referencegrant.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@ const (
SupportReferenceGrant FeatureName = "ReferenceGrant"
)

var (
// ReferenceGrantFeature contains metadata for the ReferenceGrant feature.
ReferenceGrantFeature = Feature{
Name: SupportReferenceGrant,
Channel: FeatureChannelStandard,
}
)
// ReferenceGrantFeature contains metadata for the ReferenceGrant feature.
var ReferenceGrantFeature = Feature{
Name: SupportReferenceGrant,
Channel: FeatureChannelStandard,
}

// ReferenceGrantCoreFeatures includes all SupportedFeatures needed to be
// conformant with the ReferenceGrant resource.
Expand Down
12 changes: 5 additions & 7 deletions pkg/features/tlsroute.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@ const (
SupportTLSRoute FeatureName = "TLSRoute"
)

var (
// TLSRouteFeature contains metadata for the TLSRoute feature.
TLSRouteFeature = Feature{
Name: SupportTLSRoute,
Channel: FeatureChannelExperimental,
}
)
// TLSRouteFeature contains metadata for the TLSRoute feature.
var TLSRouteFeature = Feature{
Name: SupportTLSRoute,
Channel: FeatureChannelExperimental,
}

// TLSCoreFeatures includes all the supported features for the TLSRoute API at
// a Core level of support.
Expand Down
12 changes: 5 additions & 7 deletions pkg/features/udproute.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@ const (
SupportUDPRoute FeatureName = "UDPRoute"
)

var (
// UDPRouteFeature contains metadata for the UDPRoute feature.
UDPRouteFeature = Feature{
Name: SupportUDPRoute,
Channel: FeatureChannelExperimental,
}
)
// UDPRouteFeature contains metadata for the UDPRoute feature.
var UDPRouteFeature = Feature{
Name: SupportUDPRoute,
Channel: FeatureChannelExperimental,
}

// UDPRouteCoreFeatures includes all SupportedFeatures needed to be conformant with
// the UDPRoute resource.
Expand Down

0 comments on commit 242b3af

Please sign in to comment.