inspect

package
v1.8.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2024 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InspectService_ControllerRuntimeDependencies_FullMethodName = "/inspect.InspectService/ControllerRuntimeDependencies"
)

Variables

View Source
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.

View Source
var File_inspect_inspect_proto protoreflect.FileDescriptor
View Source
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 (*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 (*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 (*ControllerRuntimeDependenciesResponse) Reset

func (*ControllerRuntimeDependenciesResponse) SizeVT

func (*ControllerRuntimeDependenciesResponse) 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 (*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 (*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) Enum

func (DependencyEdgeType) EnumDescriptor deprecated

func (DependencyEdgeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DependencyEdgeType.Descriptor instead.

func (DependencyEdgeType) Number

func (DependencyEdgeType) String

func (x DependencyEdgeType) String() string

func (DependencyEdgeType) Type

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.

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL