Documentation ¶
Index ¶
- Constants
- 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 ¶
const (
InspectService_ControllerRuntimeDependencies_FullMethodName = "/inspect.InspectService/ControllerRuntimeDependencies"
)
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 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 ¶
func (m *ControllerDependencyEdge) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ControllerDependencyEdge) MarshalToVT ¶
func (m *ControllerDependencyEdge) MarshalToVT(dAtA []byte) (int, error)
func (*ControllerDependencyEdge) MarshalVT ¶
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 ¶
func (m *ControllerDependencyEdge) SizeVT() (n int)
func (*ControllerDependencyEdge) String ¶
func (x *ControllerDependencyEdge) String() string
func (*ControllerDependencyEdge) UnmarshalVT ¶
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 ¶
func (m *ControllerRuntimeDependenciesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ControllerRuntimeDependenciesResponse) MarshalToVT ¶
func (m *ControllerRuntimeDependenciesResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ControllerRuntimeDependenciesResponse) MarshalVT ¶
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 ¶
func (m *ControllerRuntimeDependenciesResponse) SizeVT() (n int)
func (*ControllerRuntimeDependenciesResponse) String ¶
func (x *ControllerRuntimeDependenciesResponse) String() string
func (*ControllerRuntimeDependenciesResponse) UnmarshalVT ¶
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 ¶
func (m *ControllerRuntimeDependency) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ControllerRuntimeDependency) MarshalToVT ¶
func (m *ControllerRuntimeDependency) MarshalToVT(dAtA []byte) (int, error)
func (*ControllerRuntimeDependency) MarshalVT ¶
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 ¶
func (m *ControllerRuntimeDependency) SizeVT() (n int)
func (*ControllerRuntimeDependency) String ¶
func (x *ControllerRuntimeDependency) String() string
func (*ControllerRuntimeDependency) UnmarshalVT ¶
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.
The inspect service definition.
InspectService provides auxiliary API to inspect OS internals.
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
The inspect service definition.
InspectService provides auxiliary API to inspect OS internals.
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.