Skip to content

Commit

Permalink
add Attachments field to resource.Instance
Browse files Browse the repository at this point in the history
  • Loading branch information
YonkaFang committed Dec 6, 2022
1 parent 790ed18 commit 731766b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/config/resource/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ import (

// Instance is the abstract representation of a versioned config resource in Istio.
type Instance struct {
Metadata Metadata
Message proto.Message
Origin Origin
Metadata Metadata
Message proto.Message
Origin Origin
Attachments map[string]interface{}
}

// IsEmpty returns true if the resource Instance.Message is nil.
Expand Down

0 comments on commit 731766b

Please sign in to comment.