Documentation ¶
Index ¶
- Variables
- func RegisterInspectServiceServer(s grpc.ServiceRegistrar, srv InspectServiceServer)
- type ControllerDependencyEdge
- func (*ControllerDependencyEdge) Descriptor() ([]byte, []int)deprecated
- func (x *ControllerDependencyEdge) GetControllerName() string
- func (x *ControllerDependencyEdge) GetEdgeType() DependencyEdgeType
- func (x *ControllerDependencyEdge) GetResourceId() string
- func (x *ControllerDependencyEdge) GetResourceNamespace() string
- func (x *ControllerDependencyEdge) GetResourceType() string
- func (m *ControllerDependencyEdge) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ControllerDependencyEdge) MarshalToVT(dAtA []byte) (int, error)
- func (m *ControllerDependencyEdge) MarshalVT() (dAtA []byte, err error)
- func (*ControllerDependencyEdge) ProtoMessage()
- func (x *ControllerDependencyEdge) ProtoReflect() protoreflect.Message
- func (x *ControllerDependencyEdge) Reset()
- func (m *ControllerDependencyEdge) SizeVT() (n int)
- func (x *ControllerDependencyEdge) String() string
- func (m *ControllerDependencyEdge) UnmarshalVT(dAtA []byte) error
- type ControllerRuntimeDependenciesResponse
- func (*ControllerRuntimeDependenciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ControllerRuntimeDependenciesResponse) GetMessages() []*ControllerRuntimeDependency
- func (m *ControllerRuntimeDependenciesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ControllerRuntimeDependenciesResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ControllerRuntimeDependenciesResponse) MarshalVT() (dAtA []byte, err error)
- func (*ControllerRuntimeDependenciesResponse) ProtoMessage()
- func (x *ControllerRuntimeDependenciesResponse) ProtoReflect() protoreflect.Message
- func (x *ControllerRuntimeDependenciesResponse) Reset()
- func (m *ControllerRuntimeDependenciesResponse) SizeVT() (n int)
- func (x *ControllerRuntimeDependenciesResponse) String() string
- func (m *ControllerRuntimeDependenciesResponse) UnmarshalVT(dAtA []byte) error
- type ControllerRuntimeDependency
- func (*ControllerRuntimeDependency) Descriptor() ([]byte, []int)deprecated
- func (x *ControllerRuntimeDependency) GetEdges() []*ControllerDependencyEdge
- func (x *ControllerRuntimeDependency) GetMetadata() *common.Metadata
- func (m *ControllerRuntimeDependency) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ControllerRuntimeDependency) MarshalToVT(dAtA []byte) (int, error)
- func (m *ControllerRuntimeDependency) MarshalVT() (dAtA []byte, err error)
- func (*ControllerRuntimeDependency) ProtoMessage()
- func (x *ControllerRuntimeDependency) ProtoReflect() protoreflect.Message
- func (x *ControllerRuntimeDependency) Reset()
- func (m *ControllerRuntimeDependency) SizeVT() (n int)
- func (x *ControllerRuntimeDependency) String() string
- func (m *ControllerRuntimeDependency) UnmarshalVT(dAtA []byte) error
- type DependencyEdgeType
- func (DependencyEdgeType) Descriptor() protoreflect.EnumDescriptor
- func (x DependencyEdgeType) Enum() *DependencyEdgeType
- func (DependencyEdgeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DependencyEdgeType) Number() protoreflect.EnumNumber
- func (x DependencyEdgeType) String() string
- func (DependencyEdgeType) Type() protoreflect.EnumType
- type InspectServiceClient
- type InspectServiceServer
- type UnimplementedInspectServiceServer
- type UnsafeInspectServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( DependencyEdgeType_name = map[int32]string{ 0: "OUTPUT_EXCLUSIVE", 3: "OUTPUT_SHARED", 1: "INPUT_STRONG", 2: "INPUT_WEAK", 4: "INPUT_DESTROY_READY", } DependencyEdgeType_value = map[string]int32{ "OUTPUT_EXCLUSIVE": 0, "OUTPUT_SHARED": 3, "INPUT_STRONG": 1, "INPUT_WEAK": 2, "INPUT_DESTROY_READY": 4, } )
Enum value maps for DependencyEdgeType.
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
var File_inspect_inspect_proto protoreflect.FileDescriptor
var InspectService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "inspect.InspectService", HandlerType: (*InspectServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ControllerRuntimeDependencies", Handler: _InspectService_ControllerRuntimeDependencies_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "inspect/inspect.proto", }
InspectService_ServiceDesc is the grpc.ServiceDesc for InspectService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterInspectServiceServer ¶
func RegisterInspectServiceServer(s grpc.ServiceRegistrar, srv InspectServiceServer)
Types ¶
type ControllerDependencyEdge ¶
type ControllerDependencyEdge struct { ControllerName string `protobuf:"bytes,1,opt,name=controller_name,json=controllerName,proto3" json:"controller_name,omitempty"` EdgeType DependencyEdgeType `protobuf:"varint,2,opt,name=edge_type,json=edgeType,proto3,enum=inspect.DependencyEdgeType" json:"edge_type,omitempty"` ResourceNamespace string `protobuf:"bytes,3,opt,name=resource_namespace,json=resourceNamespace,proto3" json:"resource_namespace,omitempty"` ResourceType string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` ResourceId string `protobuf:"bytes,5,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // contains filtered or unexported fields }
func (*ControllerDependencyEdge) Descriptor
deprecated
func (*ControllerDependencyEdge) Descriptor() ([]byte, []int)
Deprecated: Use ControllerDependencyEdge.ProtoReflect.Descriptor instead.
func (*ControllerDependencyEdge) GetControllerName ¶
func (x *ControllerDependencyEdge) GetControllerName() string
func (*ControllerDependencyEdge) GetEdgeType ¶
func (x *ControllerDependencyEdge) GetEdgeType() DependencyEdgeType
func (*ControllerDependencyEdge) GetResourceId ¶
func (x *ControllerDependencyEdge) GetResourceId() string
func (*ControllerDependencyEdge) GetResourceNamespace ¶
func (x *ControllerDependencyEdge) GetResourceNamespace() string
func (*ControllerDependencyEdge) GetResourceType ¶
func (x *ControllerDependencyEdge) GetResourceType() string
func (*ControllerDependencyEdge) MarshalToSizedBufferVT ¶ added in v0.12.0
func (m *ControllerDependencyEdge) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ControllerDependencyEdge) MarshalToVT ¶ added in v0.12.0
func (m *ControllerDependencyEdge) MarshalToVT(dAtA []byte) (int, error)
func (*ControllerDependencyEdge) MarshalVT ¶ added in v0.12.0
func (m *ControllerDependencyEdge) MarshalVT() (dAtA []byte, err error)
func (*ControllerDependencyEdge) ProtoMessage ¶
func (*ControllerDependencyEdge) ProtoMessage()
func (*ControllerDependencyEdge) ProtoReflect ¶
func (x *ControllerDependencyEdge) ProtoReflect() protoreflect.Message
func (*ControllerDependencyEdge) Reset ¶
func (x *ControllerDependencyEdge) Reset()
func (*ControllerDependencyEdge) SizeVT ¶ added in v0.12.0
func (m *ControllerDependencyEdge) SizeVT() (n int)
func (*ControllerDependencyEdge) String ¶
func (x *ControllerDependencyEdge) String() string
func (*ControllerDependencyEdge) UnmarshalVT ¶ added in v0.12.0
func (m *ControllerDependencyEdge) UnmarshalVT(dAtA []byte) error
type ControllerRuntimeDependenciesResponse ¶
type ControllerRuntimeDependenciesResponse struct { Messages []*ControllerRuntimeDependency `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*ControllerRuntimeDependenciesResponse) Descriptor
deprecated
func (*ControllerRuntimeDependenciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ControllerRuntimeDependenciesResponse.ProtoReflect.Descriptor instead.
func (*ControllerRuntimeDependenciesResponse) GetMessages ¶
func (x *ControllerRuntimeDependenciesResponse) GetMessages() []*ControllerRuntimeDependency
func (*ControllerRuntimeDependenciesResponse) MarshalToSizedBufferVT ¶ added in v0.12.0
func (m *ControllerRuntimeDependenciesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ControllerRuntimeDependenciesResponse) MarshalToVT ¶ added in v0.12.0
func (m *ControllerRuntimeDependenciesResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ControllerRuntimeDependenciesResponse) MarshalVT ¶ added in v0.12.0
func (m *ControllerRuntimeDependenciesResponse) MarshalVT() (dAtA []byte, err error)
func (*ControllerRuntimeDependenciesResponse) ProtoMessage ¶
func (*ControllerRuntimeDependenciesResponse) ProtoMessage()
func (*ControllerRuntimeDependenciesResponse) ProtoReflect ¶
func (x *ControllerRuntimeDependenciesResponse) ProtoReflect() protoreflect.Message
func (*ControllerRuntimeDependenciesResponse) Reset ¶
func (x *ControllerRuntimeDependenciesResponse) Reset()
func (*ControllerRuntimeDependenciesResponse) SizeVT ¶ added in v0.12.0
func (m *ControllerRuntimeDependenciesResponse) SizeVT() (n int)
func (*ControllerRuntimeDependenciesResponse) String ¶
func (x *ControllerRuntimeDependenciesResponse) String() string
func (*ControllerRuntimeDependenciesResponse) UnmarshalVT ¶ added in v0.12.0
func (m *ControllerRuntimeDependenciesResponse) UnmarshalVT(dAtA []byte) error
type ControllerRuntimeDependency ¶
type ControllerRuntimeDependency struct { Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Edges []*ControllerDependencyEdge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"` // contains filtered or unexported fields }
The ControllerRuntimeDependency message contains the graph of controller-resource dependencies.
func (*ControllerRuntimeDependency) Descriptor
deprecated
func (*ControllerRuntimeDependency) Descriptor() ([]byte, []int)
Deprecated: Use ControllerRuntimeDependency.ProtoReflect.Descriptor instead.
func (*ControllerRuntimeDependency) GetEdges ¶
func (x *ControllerRuntimeDependency) GetEdges() []*ControllerDependencyEdge
func (*ControllerRuntimeDependency) GetMetadata ¶
func (x *ControllerRuntimeDependency) GetMetadata() *common.Metadata
func (*ControllerRuntimeDependency) MarshalToSizedBufferVT ¶ added in v0.12.0
func (m *ControllerRuntimeDependency) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ControllerRuntimeDependency) MarshalToVT ¶ added in v0.12.0
func (m *ControllerRuntimeDependency) MarshalToVT(dAtA []byte) (int, error)
func (*ControllerRuntimeDependency) MarshalVT ¶ added in v0.12.0
func (m *ControllerRuntimeDependency) MarshalVT() (dAtA []byte, err error)
func (*ControllerRuntimeDependency) ProtoMessage ¶
func (*ControllerRuntimeDependency) ProtoMessage()
func (*ControllerRuntimeDependency) ProtoReflect ¶
func (x *ControllerRuntimeDependency) ProtoReflect() protoreflect.Message
func (*ControllerRuntimeDependency) Reset ¶
func (x *ControllerRuntimeDependency) Reset()
func (*ControllerRuntimeDependency) SizeVT ¶ added in v0.12.0
func (m *ControllerRuntimeDependency) SizeVT() (n int)
func (*ControllerRuntimeDependency) String ¶
func (x *ControllerRuntimeDependency) String() string
func (*ControllerRuntimeDependency) UnmarshalVT ¶ added in v0.12.0
func (m *ControllerRuntimeDependency) UnmarshalVT(dAtA []byte) error
type DependencyEdgeType ¶
type DependencyEdgeType int32
const ( DependencyEdgeType_OUTPUT_EXCLUSIVE DependencyEdgeType = 0 DependencyEdgeType_OUTPUT_SHARED DependencyEdgeType = 3 DependencyEdgeType_INPUT_STRONG DependencyEdgeType = 1 DependencyEdgeType_INPUT_WEAK DependencyEdgeType = 2 DependencyEdgeType_INPUT_DESTROY_READY DependencyEdgeType = 4 )
func (DependencyEdgeType) Descriptor ¶
func (DependencyEdgeType) Descriptor() protoreflect.EnumDescriptor
func (DependencyEdgeType) Enum ¶
func (x DependencyEdgeType) Enum() *DependencyEdgeType
func (DependencyEdgeType) EnumDescriptor
deprecated
func (DependencyEdgeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DependencyEdgeType.Descriptor instead.
func (DependencyEdgeType) Number ¶
func (x DependencyEdgeType) Number() protoreflect.EnumNumber
func (DependencyEdgeType) String ¶
func (x DependencyEdgeType) String() string
func (DependencyEdgeType) Type ¶
func (DependencyEdgeType) Type() protoreflect.EnumType
type InspectServiceClient ¶
type InspectServiceClient interface {
ControllerRuntimeDependencies(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ControllerRuntimeDependenciesResponse, error)
}
InspectServiceClient is the client API for InspectService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewInspectServiceClient ¶
func NewInspectServiceClient(cc grpc.ClientConnInterface) InspectServiceClient
type InspectServiceServer ¶
type InspectServiceServer interface { ControllerRuntimeDependencies(context.Context, *emptypb.Empty) (*ControllerRuntimeDependenciesResponse, error) // contains filtered or unexported methods }
InspectServiceServer is the server API for InspectService service. All implementations must embed UnimplementedInspectServiceServer for forward compatibility
type UnimplementedInspectServiceServer ¶
type UnimplementedInspectServiceServer struct{}
UnimplementedInspectServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedInspectServiceServer) ControllerRuntimeDependencies ¶
func (UnimplementedInspectServiceServer) ControllerRuntimeDependencies(context.Context, *emptypb.Empty) (*ControllerRuntimeDependenciesResponse, error)
type UnsafeInspectServiceServer ¶
type UnsafeInspectServiceServer interface {
// contains filtered or unexported methods
}
UnsafeInspectServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InspectServiceServer will result in compilation errors.