Skip to content

Commit

Permalink
go, api: Support examples and integration tests apply states
Browse files Browse the repository at this point in the history
Signed-off-by: Enrique Llorente <ellorent@redhat.com>
  • Loading branch information
qinqon committed Jul 5, 2023
1 parent f90e2b1 commit 28b0288
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
9 changes: 5 additions & 4 deletions rust/src/go/api/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -553,10 +553,11 @@ type BridgePortVlanMode string
const BridgePortVlanModeTrunk = BridgePortVlanMode("trunk")
const BridgePortVlanModeAccess = BridgePortVlanMode("access")

type BridgePortTrunkTag string

const BridgePortTrunkTagId = BridgePortTrunkTag("id")
const BridgePortTrunkTagIdRange = BridgePortTrunkTag("id-range")
// +k8s:deepcopy-gen=true
type BridgePortTrunkTag struct {
Id uint16 `json:"id,omitempty"`
IdRange BridgePortVlanMode `json:"id-range,omitempty"`
}

// +k8s:deepcopy-gen=true
type BridgePortVlanRange struct {
Expand Down
15 changes: 15 additions & 0 deletions rust/src/go/api/zz_generated.deepcopy.go

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

0 comments on commit 28b0288

Please sign in to comment.