inspect

package
v0.14.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
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 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 (*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 (*ControllerRuntimeDependenciesResponse) Reset

func (*ControllerRuntimeDependenciesResponse) SizeVT added in v0.12.0

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

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

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