Skip to content

Commit

Permalink
CamelCase -> PascalCase
Browse files Browse the repository at this point in the history
  • Loading branch information
LorbusChris committed Jul 3, 2019
1 parent 253ed18 commit 5241424
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion examples/controllerconfig.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ spec:
plural: controllerconfigs
# singular name to be used as an alias on the CLI and for display
singular: controllerconfig
# kind is normally the CamelCased singular type. Your resource manifests use this.
# kind is normally the PascalCased singular type. Your resource manifests use this.
kind: ControllerConfig
2 changes: 1 addition & 1 deletion examples/machineconfig.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ spec:
plural: machineconfigs
# singular name to be used as an alias on the CLI and for display
singular: machineconfig
# kind is normally the CamelCased singular type. Your resource manifests use this.
# kind is normally the PascalCased singular type. Your resource manifests use this.
kind: MachineConfig
2 changes: 1 addition & 1 deletion examples/machineconfigpool.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ spec:
plural: machineconfigpools
# singular name to be used as an alias on the CLI and for display
singular: machineconfigpool
# kind is normally the CamelCased singular type. Your resource manifests use this.
# kind is normally the PascalCased singular type. Your resource manifests use this.
kind: MachineConfigPool
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ spec:
plural: mcoconfigs
# singular name to be used as an alias on the CLI and for display
singular: mcoconfig
# kind is normally the CamelCased singular type. Your resource manifests use this.
# kind is normally the PascalCased singular type. Your resource manifests use this.
kind: MCOConfig
2 changes: 1 addition & 1 deletion manifests/controllerconfig.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ spec:
plural: controllerconfigs
# singular name to be used as an alias on the CLI and for display
singular: controllerconfig
# kind is normally the CamelCased singular type. Your resource manifests use this.
# kind is normally the PascalCased singular type. Your resource manifests use this.
kind: ControllerConfig
2 changes: 1 addition & 1 deletion manifests/machineconfig.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
plural: machineconfigs
# singular name to be used as an alias on the CLI and for display
singular: machineconfig
# kind is normally the CamelCased singular type. Your resource manifests use this.
# kind is normally the PascalCased singular type. Your resource manifests use this.
kind: MachineConfig
# shortNames allow shorter string to match your resource on the CLI
shortNames:
Expand Down
2 changes: 1 addition & 1 deletion manifests/machineconfigpool.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
plural: machineconfigpools
# singular name to be used as an alias on the CLI and for display
singular: machineconfigpool
# kind is normally the CamelCased singular type. Your resource manifests use this.
# kind is normally the PascalCased singular type. Your resource manifests use this.
kind: MachineConfigPool
# shortNames allow shorter string to match your resource on the CLI
shortNames:
Expand Down
6 changes: 3 additions & 3 deletions pkg/apis/machineconfiguration.openshift.io/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ type ControllerConfigStatusCondition struct {
// +nullable
LastTransitionTime metav1.Time `json:"lastTransitionTime"`

// reason is the reason for the condition's last transition. Reasons are CamelCase
// reason is the reason for the condition's last transition. Reasons are PascalCase
Reason string `json:"reason,omitempty"`

// message provides additional information about the current condition.
Expand Down Expand Up @@ -364,7 +364,7 @@ type KubeletConfigCondition struct {
// +nullable
LastTransitionTime metav1.Time `json:"lastTransitionTime"`

// reason is the reason for the condition's last transition. Reasons are CamelCase
// reason is the reason for the condition's last transition. Reasons are PascalCase
Reason string `json:"reason,omitempty"`

// message provides additional information about the current condition.
Expand Down Expand Up @@ -456,7 +456,7 @@ type ContainerRuntimeConfigCondition struct {
// +nullable
LastTransitionTime metav1.Time `json:"lastTransitionTime"`

// reason is the reason for the condition's last transition. Reasons are CamelCase
// reason is the reason for the condition's last transition. Reasons are PascalCase
Reason string `json:"reason,omitempty"`

// message provides additional information about the current condition.
Expand Down
6 changes: 3 additions & 3 deletions pkg/operator/assets/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5241424

Please sign in to comment.