-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #216 from replicatedhq/laverya/redactor-reformat
redactor reformat
- Loading branch information
Showing
6 changed files
with
210 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,23 @@ | ||
package v1beta1 | ||
|
||
type MultiLine struct { | ||
type Regex struct { | ||
Selector string `json:"selector,omitempty" yaml:"selector,omitempty"` | ||
Redactor string `json:"redactor,omitempty" yaml:"redactor,omitempty"` | ||
} | ||
|
||
type FileSelector struct { | ||
File string `json:"file,omitempty" yaml:"file,omitempty"` | ||
Files []string `json:"files,omitempty" yaml:"files,omitempty"` | ||
} | ||
|
||
type Removals struct { | ||
Values []string `json:"values,omitempty" yaml:"values,omitempty"` | ||
Regex []Regex `json:"regex,omitempty" yaml:"regex,omitempty"` | ||
YamlPath []string `json:"yamlPath,omitempty" yaml:"yamlPath,omitempty"` | ||
} | ||
|
||
type Redact struct { | ||
Name string `json:"name,omitempty" yaml:"name,omitempty"` | ||
File string `json:"file,omitempty" yaml:"file,omitempty"` | ||
Files []string `json:"files,omitempty" yaml:"files,omitempty"` | ||
Values []string `json:"values,omitempty" yaml:"values,omitempty"` | ||
Regex []string `json:"regex,omitempty" yaml:"regex,omitempty"` | ||
MultiLine []MultiLine `json:"multiLine,omitempty" yaml:"multiLine,omitempty"` | ||
Yaml []string `json:"yaml,omitempty" yaml:"yaml,omitempty"` | ||
Name string `json:"name,omitempty" yaml:"name,omitempty"` | ||
FileSelector FileSelector `json:"fileSelector,omitempty" yaml:"fileSelector,omitempty"` | ||
Removals Removals `json:"removals,omitempty" yaml:"removals,omitempty"` | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.