Update go-plugin dep (#5552)
* mod: remove unnecessary import groupings Move all imports into one of two groupings: 1. Direct dependencies 2. Indirect dependencies This is the standard used by the go tool. The old groupings seemed very random. * mod: update go-plugin dependency
This commit is contained in:
1 parent
d001e82817
commit
99f4bc092f
147 files changed
+6438
-17293
No files matched your search
@@ -3,7 +3,7 @@
|
||||
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc-gen-go v1.36.1
|
||||
// protoc (unknown)
|
||||
// source: controller/api/services/v1/list.proto
|
||||
|
||||
@@ -137,10 +137,7 @@ func (ResourceType) EnumDescriptor() ([]byte, []int) {
|
||||
// is never exposed to the user directly,
|
||||
// only in its marshaled form.
|
||||
type ListToken struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// when the token was created
|
||||
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
||||
// the resource type listed
|
||||
@@ -151,21 +148,21 @@ type ListToken struct {
|
||||
// The subtype of the token. It changes
|
||||
// between different stages of the pagination.
|
||||
//
|
||||
// Types that are assignable to Token:
|
||||
// Types that are valid to be assigned to Token:
|
||||
//
|
||||
// *ListToken_PaginationToken
|
||||
// *ListToken_StartRefreshToken
|
||||
// *ListToken_RefreshToken
|
||||
Token isListToken_Token `protobuf_oneof:"token"`
|
||||
Token isListToken_Token `protobuf_oneof:"token"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ListToken) Reset() {
|
||||
*x = ListToken{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_controller_api_services_v1_list_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_controller_api_services_v1_list_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ListToken) String() string {
|
||||
@@ -176,7 +173,7 @@ func (*ListToken) ProtoMessage() {}
|
||||
|
||||
func (x *ListToken) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_controller_api_services_v1_list_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -212,30 +209,36 @@ func (x *ListToken) GetGrantsHash() []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListToken) GetToken() isListToken_Token {
|
||||
if m != nil {
|
||||
return m.Token
|
||||
func (x *ListToken) GetToken() isListToken_Token {
|
||||
if x != nil {
|
||||
return x.Token
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ListToken) GetPaginationToken() *PaginationToken {
|
||||
if x, ok := x.GetToken().(*ListToken_PaginationToken); ok {
|
||||
return x.PaginationToken
|
||||
if x != nil {
|
||||
if x, ok := x.Token.(*ListToken_PaginationToken); ok {
|
||||
return x.PaginationToken
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ListToken) GetStartRefreshToken() *StartRefreshToken {
|
||||
if x, ok := x.GetToken().(*ListToken_StartRefreshToken); ok {
|
||||
return x.StartRefreshToken
|
||||
if x != nil {
|
||||
if x, ok := x.Token.(*ListToken_StartRefreshToken); ok {
|
||||
return x.StartRefreshToken
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ListToken) GetRefreshToken() *RefreshToken {
|
||||
if x, ok := x.GetToken().(*ListToken_RefreshToken); ok {
|
||||
return x.RefreshToken
|
||||
if x != nil {
|
||||
if x, ok := x.Token.(*ListToken_RefreshToken); ok {
|
||||
return x.RefreshToken
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
@@ -271,25 +274,22 @@ func (*ListToken_RefreshToken) isListToken_Token() {}
|
||||
// PaginationToken describes the list token subtype
|
||||
// used during the initial pagination phase.
|
||||
type PaginationToken struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// The public ID of the last item that was included
|
||||
// in the page which this token was returned with.
|
||||
LastItemId string `protobuf:"bytes,1,opt,name=last_item_id,json=lastItemId,proto3" json:"last_item_id,omitempty"`
|
||||
// The create time of the last item that was included
|
||||
// in the page which this token was returned with.
|
||||
LastItemCreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_item_create_time,json=lastItemCreateTime,proto3" json:"last_item_create_time,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *PaginationToken) Reset() {
|
||||
*x = PaginationToken{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_controller_api_services_v1_list_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_controller_api_services_v1_list_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *PaginationToken) String() string {
|
||||
@@ -300,7 +300,7 @@ func (*PaginationToken) ProtoMessage() {}
|
||||
|
||||
func (x *PaginationToken) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_controller_api_services_v1_list_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -333,10 +333,7 @@ func (x *PaginationToken) GetLastItemCreateTime() *timestamppb.Timestamp {
|
||||
// used at the end of any pagination phase, both the
|
||||
// initial and any refresh phases.
|
||||
type StartRefreshToken struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// The end time of the phase previous to this one,
|
||||
// which should be used as the lower bound for the
|
||||
// new refresh phase.
|
||||
@@ -344,15 +341,15 @@ type StartRefreshToken struct {
|
||||
// The timestamp of the transaction that last listed the deleted IDs,
|
||||
// for use as a lower bound in the next deleted IDs list.
|
||||
PreviousDeletedIdsTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=previous_deleted_ids_time,json=previousDeletedIdsTime,proto3" json:"previous_deleted_ids_time,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *StartRefreshToken) Reset() {
|
||||
*x = StartRefreshToken{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_controller_api_services_v1_list_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_controller_api_services_v1_list_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *StartRefreshToken) String() string {
|
||||
@@ -363,7 +360,7 @@ func (*StartRefreshToken) ProtoMessage() {}
|
||||
|
||||
func (x *StartRefreshToken) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_controller_api_services_v1_list_proto_msgTypes[2]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -395,10 +392,7 @@ func (x *StartRefreshToken) GetPreviousDeletedIdsTime() *timestamppb.Timestamp {
|
||||
// RefreshToken describes the list token subtype used
|
||||
// between pages in a refresh pagination phase.
|
||||
type RefreshToken struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// The upper bound for the timestamp comparisons in
|
||||
// this refresh phase. This is equal to the time that
|
||||
// the first request in this phase was processed.
|
||||
@@ -420,15 +414,15 @@ type RefreshToken struct {
|
||||
// The update time of the last item that was included
|
||||
// in the page which this token was returned with.
|
||||
LastItemUpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_item_update_time,json=lastItemUpdateTime,proto3" json:"last_item_update_time,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *RefreshToken) Reset() {
|
||||
*x = RefreshToken{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_controller_api_services_v1_list_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_controller_api_services_v1_list_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *RefreshToken) String() string {
|
||||
@@ -439,7 +433,7 @@ func (*RefreshToken) ProtoMessage() {}
|
||||
|
||||
func (x *RefreshToken) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_controller_api_services_v1_list_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -666,56 +660,6 @@ func file_controller_api_services_v1_list_proto_init() {
|
||||
if File_controller_api_services_v1_list_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_controller_api_services_v1_list_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ListToken); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_list_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*PaginationToken); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_list_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*StartRefreshToken); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_list_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*RefreshToken); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_list_proto_msgTypes[0].OneofWrappers = []any{
|
||||
(*ListToken_PaginationToken)(nil),
|
||||
(*ListToken_StartRefreshToken)(nil),
|
||||
|
||||
Reference in new issue
Block a user