Provisioning: Only support YAML (#99421)
* Spec: Remove PreferYaml option * Spec: Regenerate code from spec * Provisioning: Only export YAML * chore: remove last preferYaml refs
This commit is contained in:
1 parent
cba56ec916
commit
93fa0b1aed
15 files changed
+26
-69
No files matched your search
@@ -14,7 +14,6 @@ type RepositorySpecApplyConfiguration struct {
|
||||
Title *string `json:"title,omitempty"`
|
||||
Description *string `json:"description,omitempty"`
|
||||
Folder *string `json:"folder,omitempty"`
|
||||
PreferYAML *bool `json:"preferYaml,omitempty"`
|
||||
Editing *EditingOptionsApplyConfiguration `json:"editing,omitempty"`
|
||||
Type *provisioningv0alpha1.RepositoryType `json:"type,omitempty"`
|
||||
Linting *bool `json:"linting,omitempty"`
|
||||
@@ -53,14 +52,6 @@ func (b *RepositorySpecApplyConfiguration) WithFolder(value string) *RepositoryS
|
||||
return b
|
||||
}
|
||||
|
||||
// WithPreferYAML sets the PreferYAML field in the declarative configuration to the given value
|
||||
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||
// If called multiple times, the PreferYAML field is set to the value of the last call.
|
||||
func (b *RepositorySpecApplyConfiguration) WithPreferYAML(value bool) *RepositorySpecApplyConfiguration {
|
||||
b.PreferYAML = &value
|
||||
return b
|
||||
}
|
||||
|
||||
// WithEditing sets the Editing field in the declarative configuration to the given value
|
||||
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||
// If called multiple times, the Editing field is set to the value of the last call.
|
||||
|
||||
Reference in new issue
Block a user