Skip to content

Commit

Permalink
format imports
Browse files Browse the repository at this point in the history
  • Loading branch information
vmunishwar committed Apr 21, 2022
1 parent 53fa418 commit a76cad7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/schema/annotations.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@ func (v *ValidationAnnotation) GetNodeAnn() template.NodeAnnotation {
return v.nodeAnnotation
}

// A Rule represents an argument to an @schema/validation annotation;
// A Rule represents an argument to @schema/validation annotation;
// it contains a string description of what constitutes a valid value,
// and a function that asserts the rule against an actual value.
// One @schema/validation annotation can have multiple Rules.
type Rule struct {
Msg string
Assertion starlark.Callable
Expand Down
1 change: 1 addition & 0 deletions pkg/schema/assign.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package schema
import (
"fmt"
"github.com/vmware-tanzu/carvel-ytt/pkg/template"

"github.com/vmware-tanzu/carvel-ytt/pkg/yamlmeta"
)

Expand Down
1 change: 1 addition & 0 deletions pkg/schema/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package schema

import (
"fmt"

"github.com/vmware-tanzu/carvel-ytt/pkg/filepos"
"github.com/vmware-tanzu/carvel-ytt/pkg/yamlmeta"
)
Expand Down
1 change: 1 addition & 0 deletions pkg/schema/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package schema

import (
"fmt"

"github.com/vmware-tanzu/carvel-ytt/pkg/filepos"
"github.com/vmware-tanzu/carvel-ytt/pkg/template"
"github.com/vmware-tanzu/carvel-ytt/pkg/yamlmeta"
Expand Down

0 comments on commit a76cad7

Please sign in to comment.