Skip to content

Commit

Permalink
chore(types): Rename type files
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Apr 17, 2024
1 parent d9d57eb commit 03b156c
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 19 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
package urtypes

const (
MonitorPaused = iota
MonitorRunning
)

//go:generate enumer -type MonitorType -trimprefix Type -json -text

//+kubebuilder:validation:Type:=string
Expand All @@ -14,3 +19,15 @@ const (
TypePort
TypeHeartbeat
)

//go:generate enumer -type MonitorAuthType -trimprefix Auth -json -text

//+kubebuilder:validation:Type:=string
//+kubebuilder:validation:Enum:=Basic;Digest

type MonitorAuthType uint8

const (
AuthBasic MonitorAuthType = iota + 1
AuthDigest
)
13 changes: 0 additions & 13 deletions internal/uptimerobot/urtypes/monitorauthtype.go

This file was deleted.

6 changes: 0 additions & 6 deletions internal/uptimerobot/urtypes/monitorstatus.go

This file was deleted.

File renamed without changes.
File renamed without changes.

0 comments on commit 03b156c

Please sign in to comment.