mirror of
				https://github.com/siderolabs/talos.git
				synced 2025-11-03 01:41:26 +01:00 
			
		
		
		
	Containerd 1.7.7, Linux 6.1.58. Fixes #7859 Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
		
			
				
	
	
		
			788 lines
		
	
	
		
			17 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			788 lines
		
	
	
		
			17 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
 | 
						|
// protoc-gen-go-vtproto version: v0.5.0
 | 
						|
// source: inspect/inspect.proto
 | 
						|
 | 
						|
package inspect
 | 
						|
 | 
						|
import (
 | 
						|
	fmt "fmt"
 | 
						|
	io "io"
 | 
						|
	bits "math/bits"
 | 
						|
 | 
						|
	proto "google.golang.org/protobuf/proto"
 | 
						|
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
 | 
						|
 | 
						|
	common "github.com/siderolabs/talos/pkg/machinery/api/common"
 | 
						|
)
 | 
						|
 | 
						|
const (
 | 
						|
	// Verify that this generated code is sufficiently up-to-date.
 | 
						|
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
 | 
						|
	// Verify that runtime/protoimpl is sufficiently up-to-date.
 | 
						|
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
 | 
						|
)
 | 
						|
 | 
						|
func (m *ControllerRuntimeDependency) MarshalVT() (dAtA []byte, err error) {
 | 
						|
	if m == nil {
 | 
						|
		return nil, nil
 | 
						|
	}
 | 
						|
	size := m.SizeVT()
 | 
						|
	dAtA = make([]byte, size)
 | 
						|
	n, err := m.MarshalToSizedBufferVT(dAtA[:size])
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return dAtA[:n], nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *ControllerRuntimeDependency) MarshalToVT(dAtA []byte) (int, error) {
 | 
						|
	size := m.SizeVT()
 | 
						|
	return m.MarshalToSizedBufferVT(dAtA[:size])
 | 
						|
}
 | 
						|
 | 
						|
func (m *ControllerRuntimeDependency) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
 | 
						|
	if m == nil {
 | 
						|
		return 0, nil
 | 
						|
	}
 | 
						|
	i := len(dAtA)
 | 
						|
	_ = i
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if m.unknownFields != nil {
 | 
						|
		i -= len(m.unknownFields)
 | 
						|
		copy(dAtA[i:], m.unknownFields)
 | 
						|
	}
 | 
						|
	if len(m.Edges) > 0 {
 | 
						|
		for iNdEx := len(m.Edges) - 1; iNdEx >= 0; iNdEx-- {
 | 
						|
			size, err := m.Edges[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
 | 
						|
			if err != nil {
 | 
						|
				return 0, err
 | 
						|
			}
 | 
						|
			i -= size
 | 
						|
			i = encodeVarint(dAtA, i, uint64(size))
 | 
						|
			i--
 | 
						|
			dAtA[i] = 0x12
 | 
						|
		}
 | 
						|
	}
 | 
						|
	if m.Metadata != nil {
 | 
						|
		if vtmsg, ok := interface{}(m.Metadata).(interface {
 | 
						|
			MarshalToSizedBufferVT([]byte) (int, error)
 | 
						|
		}); ok {
 | 
						|
			size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i])
 | 
						|
			if err != nil {
 | 
						|
				return 0, err
 | 
						|
			}
 | 
						|
			i -= size
 | 
						|
			i = encodeVarint(dAtA, i, uint64(size))
 | 
						|
		} else {
 | 
						|
			encoded, err := proto.Marshal(m.Metadata)
 | 
						|
			if err != nil {
 | 
						|
				return 0, err
 | 
						|
			}
 | 
						|
			i -= len(encoded)
 | 
						|
			copy(dAtA[i:], encoded)
 | 
						|
			i = encodeVarint(dAtA, i, uint64(len(encoded)))
 | 
						|
		}
 | 
						|
		i--
 | 
						|
		dAtA[i] = 0xa
 | 
						|
	}
 | 
						|
	return len(dAtA) - i, nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *ControllerRuntimeDependenciesResponse) MarshalVT() (dAtA []byte, err error) {
 | 
						|
	if m == nil {
 | 
						|
		return nil, nil
 | 
						|
	}
 | 
						|
	size := m.SizeVT()
 | 
						|
	dAtA = make([]byte, size)
 | 
						|
	n, err := m.MarshalToSizedBufferVT(dAtA[:size])
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return dAtA[:n], nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *ControllerRuntimeDependenciesResponse) MarshalToVT(dAtA []byte) (int, error) {
 | 
						|
	size := m.SizeVT()
 | 
						|
	return m.MarshalToSizedBufferVT(dAtA[:size])
 | 
						|
}
 | 
						|
 | 
						|
func (m *ControllerRuntimeDependenciesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
 | 
						|
	if m == nil {
 | 
						|
		return 0, nil
 | 
						|
	}
 | 
						|
	i := len(dAtA)
 | 
						|
	_ = i
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if m.unknownFields != nil {
 | 
						|
		i -= len(m.unknownFields)
 | 
						|
		copy(dAtA[i:], m.unknownFields)
 | 
						|
	}
 | 
						|
	if len(m.Messages) > 0 {
 | 
						|
		for iNdEx := len(m.Messages) - 1; iNdEx >= 0; iNdEx-- {
 | 
						|
			size, err := m.Messages[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
 | 
						|
			if err != nil {
 | 
						|
				return 0, err
 | 
						|
			}
 | 
						|
			i -= size
 | 
						|
			i = encodeVarint(dAtA, i, uint64(size))
 | 
						|
			i--
 | 
						|
			dAtA[i] = 0xa
 | 
						|
		}
 | 
						|
	}
 | 
						|
	return len(dAtA) - i, nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *ControllerDependencyEdge) MarshalVT() (dAtA []byte, err error) {
 | 
						|
	if m == nil {
 | 
						|
		return nil, nil
 | 
						|
	}
 | 
						|
	size := m.SizeVT()
 | 
						|
	dAtA = make([]byte, size)
 | 
						|
	n, err := m.MarshalToSizedBufferVT(dAtA[:size])
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return dAtA[:n], nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *ControllerDependencyEdge) MarshalToVT(dAtA []byte) (int, error) {
 | 
						|
	size := m.SizeVT()
 | 
						|
	return m.MarshalToSizedBufferVT(dAtA[:size])
 | 
						|
}
 | 
						|
 | 
						|
func (m *ControllerDependencyEdge) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
 | 
						|
	if m == nil {
 | 
						|
		return 0, nil
 | 
						|
	}
 | 
						|
	i := len(dAtA)
 | 
						|
	_ = i
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if m.unknownFields != nil {
 | 
						|
		i -= len(m.unknownFields)
 | 
						|
		copy(dAtA[i:], m.unknownFields)
 | 
						|
	}
 | 
						|
	if len(m.ResourceId) > 0 {
 | 
						|
		i -= len(m.ResourceId)
 | 
						|
		copy(dAtA[i:], m.ResourceId)
 | 
						|
		i = encodeVarint(dAtA, i, uint64(len(m.ResourceId)))
 | 
						|
		i--
 | 
						|
		dAtA[i] = 0x2a
 | 
						|
	}
 | 
						|
	if len(m.ResourceType) > 0 {
 | 
						|
		i -= len(m.ResourceType)
 | 
						|
		copy(dAtA[i:], m.ResourceType)
 | 
						|
		i = encodeVarint(dAtA, i, uint64(len(m.ResourceType)))
 | 
						|
		i--
 | 
						|
		dAtA[i] = 0x22
 | 
						|
	}
 | 
						|
	if len(m.ResourceNamespace) > 0 {
 | 
						|
		i -= len(m.ResourceNamespace)
 | 
						|
		copy(dAtA[i:], m.ResourceNamespace)
 | 
						|
		i = encodeVarint(dAtA, i, uint64(len(m.ResourceNamespace)))
 | 
						|
		i--
 | 
						|
		dAtA[i] = 0x1a
 | 
						|
	}
 | 
						|
	if m.EdgeType != 0 {
 | 
						|
		i = encodeVarint(dAtA, i, uint64(m.EdgeType))
 | 
						|
		i--
 | 
						|
		dAtA[i] = 0x10
 | 
						|
	}
 | 
						|
	if len(m.ControllerName) > 0 {
 | 
						|
		i -= len(m.ControllerName)
 | 
						|
		copy(dAtA[i:], m.ControllerName)
 | 
						|
		i = encodeVarint(dAtA, i, uint64(len(m.ControllerName)))
 | 
						|
		i--
 | 
						|
		dAtA[i] = 0xa
 | 
						|
	}
 | 
						|
	return len(dAtA) - i, nil
 | 
						|
}
 | 
						|
 | 
						|
func encodeVarint(dAtA []byte, offset int, v uint64) int {
 | 
						|
	offset -= sov(v)
 | 
						|
	base := offset
 | 
						|
	for v >= 1<<7 {
 | 
						|
		dAtA[offset] = uint8(v&0x7f | 0x80)
 | 
						|
		v >>= 7
 | 
						|
		offset++
 | 
						|
	}
 | 
						|
	dAtA[offset] = uint8(v)
 | 
						|
	return base
 | 
						|
}
 | 
						|
func (m *ControllerRuntimeDependency) SizeVT() (n int) {
 | 
						|
	if m == nil {
 | 
						|
		return 0
 | 
						|
	}
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if m.Metadata != nil {
 | 
						|
		if size, ok := interface{}(m.Metadata).(interface {
 | 
						|
			SizeVT() int
 | 
						|
		}); ok {
 | 
						|
			l = size.SizeVT()
 | 
						|
		} else {
 | 
						|
			l = proto.Size(m.Metadata)
 | 
						|
		}
 | 
						|
		n += 1 + l + sov(uint64(l))
 | 
						|
	}
 | 
						|
	if len(m.Edges) > 0 {
 | 
						|
		for _, e := range m.Edges {
 | 
						|
			l = e.SizeVT()
 | 
						|
			n += 1 + l + sov(uint64(l))
 | 
						|
		}
 | 
						|
	}
 | 
						|
	n += len(m.unknownFields)
 | 
						|
	return n
 | 
						|
}
 | 
						|
 | 
						|
func (m *ControllerRuntimeDependenciesResponse) SizeVT() (n int) {
 | 
						|
	if m == nil {
 | 
						|
		return 0
 | 
						|
	}
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if len(m.Messages) > 0 {
 | 
						|
		for _, e := range m.Messages {
 | 
						|
			l = e.SizeVT()
 | 
						|
			n += 1 + l + sov(uint64(l))
 | 
						|
		}
 | 
						|
	}
 | 
						|
	n += len(m.unknownFields)
 | 
						|
	return n
 | 
						|
}
 | 
						|
 | 
						|
func (m *ControllerDependencyEdge) SizeVT() (n int) {
 | 
						|
	if m == nil {
 | 
						|
		return 0
 | 
						|
	}
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	l = len(m.ControllerName)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sov(uint64(l))
 | 
						|
	}
 | 
						|
	if m.EdgeType != 0 {
 | 
						|
		n += 1 + sov(uint64(m.EdgeType))
 | 
						|
	}
 | 
						|
	l = len(m.ResourceNamespace)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sov(uint64(l))
 | 
						|
	}
 | 
						|
	l = len(m.ResourceType)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sov(uint64(l))
 | 
						|
	}
 | 
						|
	l = len(m.ResourceId)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sov(uint64(l))
 | 
						|
	}
 | 
						|
	n += len(m.unknownFields)
 | 
						|
	return n
 | 
						|
}
 | 
						|
 | 
						|
func sov(x uint64) (n int) {
 | 
						|
	return (bits.Len64(x|1) + 6) / 7
 | 
						|
}
 | 
						|
func soz(x uint64) (n int) {
 | 
						|
	return sov(uint64((x << 1) ^ uint64((int64(x) >> 63))))
 | 
						|
}
 | 
						|
func (m *ControllerRuntimeDependency) UnmarshalVT(dAtA []byte) error {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		preIndex := iNdEx
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return ErrIntOverflow
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			iNdEx++
 | 
						|
			wire |= uint64(b&0x7F) << shift
 | 
						|
			if b < 0x80 {
 | 
						|
				break
 | 
						|
			}
 | 
						|
		}
 | 
						|
		fieldNum := int32(wire >> 3)
 | 
						|
		wireType := int(wire & 0x7)
 | 
						|
		if wireType == 4 {
 | 
						|
			return fmt.Errorf("proto: ControllerRuntimeDependency: wiretype end group for non-group")
 | 
						|
		}
 | 
						|
		if fieldNum <= 0 {
 | 
						|
			return fmt.Errorf("proto: ControllerRuntimeDependency: illegal tag %d (wire type %d)", fieldNum, wire)
 | 
						|
		}
 | 
						|
		switch fieldNum {
 | 
						|
		case 1:
 | 
						|
			if wireType != 2 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType)
 | 
						|
			}
 | 
						|
			var msglen int
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflow
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				msglen |= int(b&0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			if msglen < 0 {
 | 
						|
				return ErrInvalidLength
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + msglen
 | 
						|
			if postIndex < 0 {
 | 
						|
				return ErrInvalidLength
 | 
						|
			}
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			if m.Metadata == nil {
 | 
						|
				m.Metadata = &common.Metadata{}
 | 
						|
			}
 | 
						|
			if unmarshal, ok := interface{}(m.Metadata).(interface {
 | 
						|
				UnmarshalVT([]byte) error
 | 
						|
			}); ok {
 | 
						|
				if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
 | 
						|
					return err
 | 
						|
				}
 | 
						|
			} else {
 | 
						|
				if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Metadata); err != nil {
 | 
						|
					return err
 | 
						|
				}
 | 
						|
			}
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 2:
 | 
						|
			if wireType != 2 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field Edges", wireType)
 | 
						|
			}
 | 
						|
			var msglen int
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflow
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				msglen |= int(b&0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			if msglen < 0 {
 | 
						|
				return ErrInvalidLength
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + msglen
 | 
						|
			if postIndex < 0 {
 | 
						|
				return ErrInvalidLength
 | 
						|
			}
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.Edges = append(m.Edges, &ControllerDependencyEdge{})
 | 
						|
			if err := m.Edges[len(m.Edges)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			iNdEx = postIndex
 | 
						|
		default:
 | 
						|
			iNdEx = preIndex
 | 
						|
			skippy, err := skip(dAtA[iNdEx:])
 | 
						|
			if err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			if (skippy < 0) || (iNdEx+skippy) < 0 {
 | 
						|
				return ErrInvalidLength
 | 
						|
			}
 | 
						|
			if (iNdEx + skippy) > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
 | 
						|
			iNdEx += skippy
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	if iNdEx > l {
 | 
						|
		return io.ErrUnexpectedEOF
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
func (m *ControllerRuntimeDependenciesResponse) UnmarshalVT(dAtA []byte) error {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		preIndex := iNdEx
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return ErrIntOverflow
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			iNdEx++
 | 
						|
			wire |= uint64(b&0x7F) << shift
 | 
						|
			if b < 0x80 {
 | 
						|
				break
 | 
						|
			}
 | 
						|
		}
 | 
						|
		fieldNum := int32(wire >> 3)
 | 
						|
		wireType := int(wire & 0x7)
 | 
						|
		if wireType == 4 {
 | 
						|
			return fmt.Errorf("proto: ControllerRuntimeDependenciesResponse: wiretype end group for non-group")
 | 
						|
		}
 | 
						|
		if fieldNum <= 0 {
 | 
						|
			return fmt.Errorf("proto: ControllerRuntimeDependenciesResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 | 
						|
		}
 | 
						|
		switch fieldNum {
 | 
						|
		case 1:
 | 
						|
			if wireType != 2 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field Messages", wireType)
 | 
						|
			}
 | 
						|
			var msglen int
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflow
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				msglen |= int(b&0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			if msglen < 0 {
 | 
						|
				return ErrInvalidLength
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + msglen
 | 
						|
			if postIndex < 0 {
 | 
						|
				return ErrInvalidLength
 | 
						|
			}
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.Messages = append(m.Messages, &ControllerRuntimeDependency{})
 | 
						|
			if err := m.Messages[len(m.Messages)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			iNdEx = postIndex
 | 
						|
		default:
 | 
						|
			iNdEx = preIndex
 | 
						|
			skippy, err := skip(dAtA[iNdEx:])
 | 
						|
			if err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			if (skippy < 0) || (iNdEx+skippy) < 0 {
 | 
						|
				return ErrInvalidLength
 | 
						|
			}
 | 
						|
			if (iNdEx + skippy) > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
 | 
						|
			iNdEx += skippy
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	if iNdEx > l {
 | 
						|
		return io.ErrUnexpectedEOF
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
func (m *ControllerDependencyEdge) UnmarshalVT(dAtA []byte) error {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		preIndex := iNdEx
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return ErrIntOverflow
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			iNdEx++
 | 
						|
			wire |= uint64(b&0x7F) << shift
 | 
						|
			if b < 0x80 {
 | 
						|
				break
 | 
						|
			}
 | 
						|
		}
 | 
						|
		fieldNum := int32(wire >> 3)
 | 
						|
		wireType := int(wire & 0x7)
 | 
						|
		if wireType == 4 {
 | 
						|
			return fmt.Errorf("proto: ControllerDependencyEdge: wiretype end group for non-group")
 | 
						|
		}
 | 
						|
		if fieldNum <= 0 {
 | 
						|
			return fmt.Errorf("proto: ControllerDependencyEdge: illegal tag %d (wire type %d)", fieldNum, wire)
 | 
						|
		}
 | 
						|
		switch fieldNum {
 | 
						|
		case 1:
 | 
						|
			if wireType != 2 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field ControllerName", wireType)
 | 
						|
			}
 | 
						|
			var stringLen uint64
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflow
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= uint64(b&0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLength
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex < 0 {
 | 
						|
				return ErrInvalidLength
 | 
						|
			}
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.ControllerName = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 2:
 | 
						|
			if wireType != 0 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field EdgeType", wireType)
 | 
						|
			}
 | 
						|
			m.EdgeType = 0
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflow
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				m.EdgeType |= DependencyEdgeType(b&0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
		case 3:
 | 
						|
			if wireType != 2 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field ResourceNamespace", wireType)
 | 
						|
			}
 | 
						|
			var stringLen uint64
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflow
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= uint64(b&0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLength
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex < 0 {
 | 
						|
				return ErrInvalidLength
 | 
						|
			}
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.ResourceNamespace = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 4:
 | 
						|
			if wireType != 2 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field ResourceType", wireType)
 | 
						|
			}
 | 
						|
			var stringLen uint64
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflow
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= uint64(b&0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLength
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex < 0 {
 | 
						|
				return ErrInvalidLength
 | 
						|
			}
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.ResourceType = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 5:
 | 
						|
			if wireType != 2 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field ResourceId", wireType)
 | 
						|
			}
 | 
						|
			var stringLen uint64
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflow
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= uint64(b&0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLength
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex < 0 {
 | 
						|
				return ErrInvalidLength
 | 
						|
			}
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.ResourceId = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		default:
 | 
						|
			iNdEx = preIndex
 | 
						|
			skippy, err := skip(dAtA[iNdEx:])
 | 
						|
			if err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			if (skippy < 0) || (iNdEx+skippy) < 0 {
 | 
						|
				return ErrInvalidLength
 | 
						|
			}
 | 
						|
			if (iNdEx + skippy) > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
 | 
						|
			iNdEx += skippy
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	if iNdEx > l {
 | 
						|
		return io.ErrUnexpectedEOF
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func skip(dAtA []byte) (n int, err error) {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	depth := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return 0, ErrIntOverflow
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return 0, io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			iNdEx++
 | 
						|
			wire |= (uint64(b) & 0x7F) << shift
 | 
						|
			if b < 0x80 {
 | 
						|
				break
 | 
						|
			}
 | 
						|
		}
 | 
						|
		wireType := int(wire & 0x7)
 | 
						|
		switch wireType {
 | 
						|
		case 0:
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return 0, ErrIntOverflow
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return 0, io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				iNdEx++
 | 
						|
				if dAtA[iNdEx-1] < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
		case 1:
 | 
						|
			iNdEx += 8
 | 
						|
		case 2:
 | 
						|
			var length int
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return 0, ErrIntOverflow
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return 0, io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				length |= (int(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			if length < 0 {
 | 
						|
				return 0, ErrInvalidLength
 | 
						|
			}
 | 
						|
			iNdEx += length
 | 
						|
		case 3:
 | 
						|
			depth++
 | 
						|
		case 4:
 | 
						|
			if depth == 0 {
 | 
						|
				return 0, ErrUnexpectedEndOfGroup
 | 
						|
			}
 | 
						|
			depth--
 | 
						|
		case 5:
 | 
						|
			iNdEx += 4
 | 
						|
		default:
 | 
						|
			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
 | 
						|
		}
 | 
						|
		if iNdEx < 0 {
 | 
						|
			return 0, ErrInvalidLength
 | 
						|
		}
 | 
						|
		if depth == 0 {
 | 
						|
			return iNdEx, nil
 | 
						|
		}
 | 
						|
	}
 | 
						|
	return 0, io.ErrUnexpectedEOF
 | 
						|
}
 | 
						|
 | 
						|
var (
 | 
						|
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
 | 
						|
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
 | 
						|
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
 | 
						|
)
 |