Skip to content

Commit

Permalink
Add lien to API
Browse files Browse the repository at this point in the history
  • Loading branch information
mkimuram committed Aug 13, 2021
1 parent b6d83f0 commit bceb2be
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,18 @@ type ObjectMeta struct {
//
// +optional
ManagedFields []ManagedFieldsEntry `json:"managedFields,omitempty" protobuf:"bytes,17,rep,name=managedFields"`

// Liens represents the list of identifiers that require this object to be
// prevented from being deleted.
// Must be empty before the object is deleted from the registry. Each entry
// should contain identifier for the responsible component that will remove
// the entry from the list.
// Liens may be processed and removed in any order.
// Liens is a shared field, any actor with permission can reorder it.
// +optional
// +listType=set
// +patchStrategy=merge
Liens []string `json:"liens,omitempty" patchStrategy:"merge" protobuf:"bytes,18,rep,name=liens"`
}

const (
Expand Down

0 comments on commit bceb2be

Please sign in to comment.