Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterKubernetesApiServer(s grpc.ServiceRegistrar, srv KubernetesApiServer)
- type Action
- func (*Action) Descriptor() ([]byte, []int)deprecated
- func (x *Action) GetAction() isAction_Action
- func (x *Action) GetDeleteArc() *Action_DeleteArc
- func (x *Action) GetDeleteVertex() *Action_DeleteVertex
- func (x *Action) GetSetArc() *Action_SetArc
- func (x *Action) GetSetVertex() *Action_SetVertex
- func (*Action) ProtoMessage()
- func (x *Action) ProtoReflect() protoreflect.Message
- func (x *Action) Reset()
- func (x *Action) String() string
- type Action_DeleteArc
- func (*Action_DeleteArc) Descriptor() ([]byte, []int)deprecated
- func (x *Action_DeleteArc) GetDestination() *Action_Vertex
- func (x *Action_DeleteArc) GetSource() *Action_Vertex
- func (x *Action_DeleteArc) GetType() string
- func (*Action_DeleteArc) ProtoMessage()
- func (x *Action_DeleteArc) ProtoReflect() protoreflect.Message
- func (x *Action_DeleteArc) Reset()
- func (x *Action_DeleteArc) String() string
- type Action_DeleteArc_
- type Action_DeleteVertex
- func (*Action_DeleteVertex) Descriptor() ([]byte, []int)deprecated
- func (x *Action_DeleteVertex) GetVertex() *Action_Vertex
- func (*Action_DeleteVertex) ProtoMessage()
- func (x *Action_DeleteVertex) ProtoReflect() protoreflect.Message
- func (x *Action_DeleteVertex) Reset()
- func (x *Action_DeleteVertex) String() string
- type Action_DeleteVertex_
- type Action_SetArc
- func (*Action_SetArc) Descriptor() ([]byte, []int)deprecated
- func (x *Action_SetArc) GetAttributes() []byte
- func (x *Action_SetArc) GetDestination() *Action_Vertex
- func (x *Action_SetArc) GetSource() *Action_Vertex
- func (x *Action_SetArc) GetType() string
- func (*Action_SetArc) ProtoMessage()
- func (x *Action_SetArc) ProtoReflect() protoreflect.Message
- func (x *Action_SetArc) Reset()
- func (x *Action_SetArc) String() string
- type Action_SetArc_
- type Action_SetVertex
- func (*Action_SetVertex) Descriptor() ([]byte, []int)deprecated
- func (x *Action_SetVertex) GetJsonPath() []byte
- func (x *Action_SetVertex) GetObject() []byte
- func (x *Action_SetVertex) GetVertex() *Action_Vertex
- func (*Action_SetVertex) ProtoMessage()
- func (x *Action_SetVertex) ProtoReflect() protoreflect.Message
- func (x *Action_SetVertex) Reset()
- func (x *Action_SetVertex) String() string
- type Action_SetVertex_
- type Action_Vertex
- func (*Action_Vertex) Descriptor() ([]byte, []int)deprecated
- func (x *Action_Vertex) GetGroup() string
- func (x *Action_Vertex) GetName() string
- func (x *Action_Vertex) GetNamespace() string
- func (x *Action_Vertex) GetResource() string
- func (x *Action_Vertex) GetVersion() string
- func (*Action_Vertex) ProtoMessage()
- func (x *Action_Vertex) ProtoReflect() protoreflect.Message
- func (x *Action_Vertex) Reset()
- func (x *Action_Vertex) String() string
- type HeaderExtra
- type KubernetesApiClient
- type KubernetesApiServer
- type KubernetesApi_MakeRequestClient
- type KubernetesApi_MakeRequestServer
- type KubernetesApi_WatchGraphClient
- type KubernetesApi_WatchGraphServer
- type Namespaces
- func (*Namespaces) Descriptor() ([]byte, []int)deprecated
- func (x *Namespaces) GetFieldSelector() string
- func (x *Namespaces) GetLabelSelector() string
- func (x *Namespaces) GetNames() []string
- func (x *Namespaces) GetObjectSelectorExpression() string
- func (*Namespaces) ProtoMessage()
- func (x *Namespaces) ProtoReflect() protoreflect.Message
- func (x *Namespaces) Reset()
- func (x *Namespaces) String() string
- type Query
- func (*Query) Descriptor() ([]byte, []int)deprecated
- func (x *Query) GetExclude() *Query_Exclude
- func (x *Query) GetInclude() *Query_Include
- func (x *Query) GetQuery() isQuery_Query
- func (*Query) ProtoMessage()
- func (x *Query) ProtoReflect() protoreflect.Message
- func (x *Query) Reset()
- func (x *Query) String() string
- type Query_Exclude
- type Query_Exclude_
- type Query_Include
- func (*Query_Include) Descriptor() ([]byte, []int)deprecated
- func (x *Query_Include) GetObject() *Query_IncludeObject
- func (x *Query_Include) GetResourceSelectorExpression() string
- func (*Query_Include) ProtoMessage()
- func (x *Query_Include) ProtoReflect() protoreflect.Message
- func (x *Query_Include) Reset()
- func (x *Query_Include) String() string
- type Query_IncludeObject
- func (*Query_IncludeObject) Descriptor() ([]byte, []int)deprecated
- func (x *Query_IncludeObject) GetFieldSelector() string
- func (x *Query_IncludeObject) GetJsonPath() string
- func (x *Query_IncludeObject) GetLabelSelector() string
- func (x *Query_IncludeObject) GetObjectSelectorExpression() string
- func (*Query_IncludeObject) ProtoMessage()
- func (x *Query_IncludeObject) ProtoReflect() protoreflect.Message
- func (x *Query_IncludeObject) Reset()
- func (x *Query_IncludeObject) String() string
- type Query_Include_
- type Roots
- type Roots_Individual
- func (*Roots_Individual) Descriptor() ([]byte, []int)deprecated
- func (x *Roots_Individual) GetGroup() string
- func (x *Roots_Individual) GetName() string
- func (x *Roots_Individual) GetNamespace() string
- func (x *Roots_Individual) GetResource() string
- func (*Roots_Individual) ProtoMessage()
- func (x *Roots_Individual) ProtoReflect() protoreflect.Message
- func (x *Roots_Individual) Reset()
- func (x *Roots_Individual) String() string
- type Roots_Selector
- func (*Roots_Selector) Descriptor() ([]byte, []int)deprecated
- func (x *Roots_Selector) GetFieldSelector() string
- func (x *Roots_Selector) GetGroup() string
- func (x *Roots_Selector) GetLabelSelector() string
- func (x *Roots_Selector) GetResource() string
- func (*Roots_Selector) ProtoMessage()
- func (x *Roots_Selector) ProtoReflect() protoreflect.Message
- func (x *Roots_Selector) Reset()
- func (x *Roots_Selector) String() string
- type UnimplementedKubernetesApiServer
- type UnsafeKubernetesApiServer
- type Warning
- func (*Warning) Descriptor() ([]byte, []int)deprecated
- func (x *Warning) GetAttributes() []byte
- func (x *Warning) GetMessage() string
- func (x *Warning) GetType() string
- func (*Warning) ProtoMessage()
- func (x *Warning) ProtoReflect() protoreflect.Message
- func (x *Warning) Reset()
- func (x *Warning) String() string
- type WatchGraphRequest
- func (*WatchGraphRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WatchGraphRequest) GetImpConfig() *kubernetes_api.ImpersonationConfig
- func (x *WatchGraphRequest) GetNamespaces() *Namespaces
- func (x *WatchGraphRequest) GetQueries() []*Query
- func (x *WatchGraphRequest) GetRoots() *Roots
- func (*WatchGraphRequest) ProtoMessage()
- func (x *WatchGraphRequest) ProtoReflect() protoreflect.Message
- func (x *WatchGraphRequest) Reset()
- func (x *WatchGraphRequest) String() string
- type WatchGraphResponse
- func (*WatchGraphResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WatchGraphResponse) GetActions() []*Action
- func (x *WatchGraphResponse) GetWarnings() []*Warning
- func (*WatchGraphResponse) ProtoMessage()
- func (x *WatchGraphResponse) ProtoReflect() protoreflect.Message
- func (x *WatchGraphResponse) Reset()
- func (x *WatchGraphResponse) String() string
- type WatchGraphWebSocketRequest
- func (*WatchGraphWebSocketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WatchGraphWebSocketRequest) GetNamespaces() *Namespaces
- func (x *WatchGraphWebSocketRequest) GetQueries() []*Query
- func (x *WatchGraphWebSocketRequest) GetRoots() *Roots
- func (*WatchGraphWebSocketRequest) ProtoMessage()
- func (x *WatchGraphWebSocketRequest) ProtoReflect() protoreflect.Message
- func (x *WatchGraphWebSocketRequest) Reset()
- func (x *WatchGraphWebSocketRequest) String() string
Constants ¶
const ( KubernetesApi_MakeRequest_FullMethodName = "/gitlab.agent.kubernetes_api.rpc.KubernetesApi/MakeRequest" KubernetesApi_WatchGraph_FullMethodName = "/gitlab.agent.kubernetes_api.rpc.KubernetesApi/WatchGraph" )
Variables ¶
var (
// optional bool is_arc_type = 193001;
E_IsArcType = &file_internal_module_kubernetes_api_rpc_rpc_proto_extTypes[0]
)
Extension fields to validate.StringRules.
var File_internal_module_kubernetes_api_rpc_rpc_proto protoreflect.FileDescriptor
var KubernetesApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitlab.agent.kubernetes_api.rpc.KubernetesApi", HandlerType: (*KubernetesApiServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "MakeRequest", Handler: _KubernetesApi_MakeRequest_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "WatchGraph", Handler: _KubernetesApi_WatchGraph_Handler, ServerStreams: true, }, }, Metadata: "internal/module/kubernetes_api/rpc/rpc.proto", }
KubernetesApi_ServiceDesc is the grpc.ServiceDesc for KubernetesApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterKubernetesApiServer ¶
func RegisterKubernetesApiServer(s grpc.ServiceRegistrar, srv KubernetesApiServer)
Types ¶
type Action ¶
type Action struct { // Types that are valid to be assigned to Action: // // *Action_SetVertex_ // *Action_DeleteVertex_ // *Action_SetArc_ // *Action_DeleteArc_ Action isAction_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
func (*Action) Descriptor
deprecated
func (*Action) GetDeleteArc ¶
func (x *Action) GetDeleteArc() *Action_DeleteArc
func (*Action) GetDeleteVertex ¶
func (x *Action) GetDeleteVertex() *Action_DeleteVertex
func (*Action) GetSetArc ¶
func (x *Action) GetSetArc() *Action_SetArc
func (*Action) GetSetVertex ¶
func (x *Action) GetSetVertex() *Action_SetVertex
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) ProtoReflect ¶
func (x *Action) ProtoReflect() protoreflect.Message
type Action_DeleteArc ¶
type Action_DeleteArc struct { Source *Action_Vertex `protobuf:"bytes,1,opt,name=source,json=s" json:"source,omitempty"` Destination *Action_Vertex `protobuf:"bytes,2,opt,name=destination,json=d" json:"destination,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,json=t" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Action_DeleteArc) Descriptor
deprecated
func (*Action_DeleteArc) Descriptor() ([]byte, []int)
Deprecated: Use Action_DeleteArc.ProtoReflect.Descriptor instead.
func (*Action_DeleteArc) GetDestination ¶
func (x *Action_DeleteArc) GetDestination() *Action_Vertex
func (*Action_DeleteArc) GetSource ¶
func (x *Action_DeleteArc) GetSource() *Action_Vertex
func (*Action_DeleteArc) GetType ¶
func (x *Action_DeleteArc) GetType() string
func (*Action_DeleteArc) ProtoMessage ¶
func (*Action_DeleteArc) ProtoMessage()
func (*Action_DeleteArc) ProtoReflect ¶
func (x *Action_DeleteArc) ProtoReflect() protoreflect.Message
func (*Action_DeleteArc) Reset ¶
func (x *Action_DeleteArc) Reset()
func (*Action_DeleteArc) String ¶
func (x *Action_DeleteArc) String() string
type Action_DeleteArc_ ¶
type Action_DeleteArc_ struct {
DeleteArc *Action_DeleteArc `protobuf:"bytes,4,opt,name=delete_arc,json=darc,oneof"`
}
type Action_DeleteVertex ¶
type Action_DeleteVertex struct { Vertex *Action_Vertex `protobuf:"bytes,1,opt,name=vertex,json=vx" json:"vertex,omitempty"` // contains filtered or unexported fields }
func (*Action_DeleteVertex) Descriptor
deprecated
func (*Action_DeleteVertex) Descriptor() ([]byte, []int)
Deprecated: Use Action_DeleteVertex.ProtoReflect.Descriptor instead.
func (*Action_DeleteVertex) GetVertex ¶
func (x *Action_DeleteVertex) GetVertex() *Action_Vertex
func (*Action_DeleteVertex) ProtoMessage ¶
func (*Action_DeleteVertex) ProtoMessage()
func (*Action_DeleteVertex) ProtoReflect ¶
func (x *Action_DeleteVertex) ProtoReflect() protoreflect.Message
func (*Action_DeleteVertex) Reset ¶
func (x *Action_DeleteVertex) Reset()
func (*Action_DeleteVertex) String ¶
func (x *Action_DeleteVertex) String() string
type Action_DeleteVertex_ ¶
type Action_DeleteVertex_ struct {
DeleteVertex *Action_DeleteVertex `protobuf:"bytes,2,opt,name=delete_vertex,json=dvx,oneof"`
}
type Action_SetArc ¶
type Action_SetArc struct { Source *Action_Vertex `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"` Destination *Action_Vertex `protobuf:"bytes,2,opt,name=destination" json:"destination,omitempty"` Type string `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"` Attributes []byte `protobuf:"bytes,4,opt,name=attributes" json:"attributes,omitempty"` // contains filtered or unexported fields }
func (*Action_SetArc) Descriptor
deprecated
func (*Action_SetArc) Descriptor() ([]byte, []int)
Deprecated: Use Action_SetArc.ProtoReflect.Descriptor instead.
func (*Action_SetArc) GetAttributes ¶
func (x *Action_SetArc) GetAttributes() []byte
func (*Action_SetArc) GetDestination ¶
func (x *Action_SetArc) GetDestination() *Action_Vertex
func (*Action_SetArc) GetSource ¶
func (x *Action_SetArc) GetSource() *Action_Vertex
func (*Action_SetArc) GetType ¶
func (x *Action_SetArc) GetType() string
func (*Action_SetArc) ProtoMessage ¶
func (*Action_SetArc) ProtoMessage()
func (*Action_SetArc) ProtoReflect ¶
func (x *Action_SetArc) ProtoReflect() protoreflect.Message
func (*Action_SetArc) Reset ¶
func (x *Action_SetArc) Reset()
func (*Action_SetArc) String ¶
func (x *Action_SetArc) String() string
type Action_SetArc_ ¶
type Action_SetArc_ struct {
SetArc *Action_SetArc `protobuf:"bytes,3,opt,name=set_arc,json=sarc,oneof"`
}
type Action_SetVertex ¶
type Action_SetVertex struct { Vertex *Action_Vertex `protobuf:"bytes,1,opt,name=vertex" json:"vertex,omitempty"` Object []byte `protobuf:"bytes,2,opt,name=object" json:"object,omitempty"` JsonPath []byte `protobuf:"bytes,3,opt,name=json_path,json=jsonPath" json:"json_path,omitempty"` // contains filtered or unexported fields }
func (*Action_SetVertex) Descriptor
deprecated
func (*Action_SetVertex) Descriptor() ([]byte, []int)
Deprecated: Use Action_SetVertex.ProtoReflect.Descriptor instead.
func (*Action_SetVertex) GetJsonPath ¶
func (x *Action_SetVertex) GetJsonPath() []byte
func (*Action_SetVertex) GetObject ¶
func (x *Action_SetVertex) GetObject() []byte
func (*Action_SetVertex) GetVertex ¶
func (x *Action_SetVertex) GetVertex() *Action_Vertex
func (*Action_SetVertex) ProtoMessage ¶
func (*Action_SetVertex) ProtoMessage()
func (*Action_SetVertex) ProtoReflect ¶
func (x *Action_SetVertex) ProtoReflect() protoreflect.Message
func (*Action_SetVertex) Reset ¶
func (x *Action_SetVertex) Reset()
func (*Action_SetVertex) String ¶
func (x *Action_SetVertex) String() string
type Action_SetVertex_ ¶
type Action_SetVertex_ struct {
SetVertex *Action_SetVertex `protobuf:"bytes,1,opt,name=set_vertex,json=svx,oneof"`
}
type Action_Vertex ¶
type Action_Vertex struct { Group string `protobuf:"bytes,1,opt,name=group,json=g" json:"group,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,json=v" json:"version,omitempty"` Resource string `protobuf:"bytes,3,opt,name=resource,json=r" json:"resource,omitempty"` Namespace string `protobuf:"bytes,4,opt,name=namespace,json=ns" json:"namespace,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,json=n" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Action_Vertex) Descriptor
deprecated
func (*Action_Vertex) Descriptor() ([]byte, []int)
Deprecated: Use Action_Vertex.ProtoReflect.Descriptor instead.
func (*Action_Vertex) GetGroup ¶
func (x *Action_Vertex) GetGroup() string
func (*Action_Vertex) GetName ¶
func (x *Action_Vertex) GetName() string
func (*Action_Vertex) GetNamespace ¶
func (x *Action_Vertex) GetNamespace() string
func (*Action_Vertex) GetResource ¶
func (x *Action_Vertex) GetResource() string
func (*Action_Vertex) GetVersion ¶
func (x *Action_Vertex) GetVersion() string
func (*Action_Vertex) ProtoMessage ¶
func (*Action_Vertex) ProtoMessage()
func (*Action_Vertex) ProtoReflect ¶
func (x *Action_Vertex) ProtoReflect() protoreflect.Message
func (*Action_Vertex) Reset ¶
func (x *Action_Vertex) Reset()
func (*Action_Vertex) String ¶
func (x *Action_Vertex) String() string
type HeaderExtra ¶
type HeaderExtra struct { ImpConfig *kubernetes_api.ImpersonationConfig `protobuf:"bytes,1,opt,name=imp_config,json=impConfig" json:"imp_config,omitempty"` // contains filtered or unexported fields }
func (*HeaderExtra) Descriptor
deprecated
func (*HeaderExtra) Descriptor() ([]byte, []int)
Deprecated: Use HeaderExtra.ProtoReflect.Descriptor instead.
func (*HeaderExtra) GetImpConfig ¶
func (x *HeaderExtra) GetImpConfig() *kubernetes_api.ImpersonationConfig
func (*HeaderExtra) ProtoMessage ¶
func (*HeaderExtra) ProtoMessage()
func (*HeaderExtra) ProtoReflect ¶
func (x *HeaderExtra) ProtoReflect() protoreflect.Message
func (*HeaderExtra) Reset ¶
func (x *HeaderExtra) Reset()
func (*HeaderExtra) String ¶
func (x *HeaderExtra) String() string
type KubernetesApiClient ¶
type KubernetesApiClient interface { MakeRequest(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[grpctool.HttpRequest, grpctool.HttpResponse], error) WatchGraph(ctx context.Context, in *WatchGraphRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[WatchGraphResponse], error) }
KubernetesApiClient is the client API for KubernetesApi 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 NewKubernetesApiClient ¶
func NewKubernetesApiClient(cc grpc.ClientConnInterface) KubernetesApiClient
type KubernetesApiServer ¶
type KubernetesApiServer interface { MakeRequest(grpc.BidiStreamingServer[grpctool.HttpRequest, grpctool.HttpResponse]) error WatchGraph(*WatchGraphRequest, grpc.ServerStreamingServer[WatchGraphResponse]) error // contains filtered or unexported methods }
KubernetesApiServer is the server API for KubernetesApi service. All implementations must embed UnimplementedKubernetesApiServer for forward compatibility.
type KubernetesApi_MakeRequestClient ¶
type KubernetesApi_MakeRequestClient = grpc.BidiStreamingClient[grpctool.HttpRequest, grpctool.HttpResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type KubernetesApi_MakeRequestServer ¶
type KubernetesApi_MakeRequestServer = grpc.BidiStreamingServer[grpctool.HttpRequest, grpctool.HttpResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type KubernetesApi_WatchGraphClient ¶
type KubernetesApi_WatchGraphClient = grpc.ServerStreamingClient[WatchGraphResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type KubernetesApi_WatchGraphServer ¶
type KubernetesApi_WatchGraphServer = grpc.ServerStreamingServer[WatchGraphResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Namespaces ¶
type Namespaces struct { Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` LabelSelector string `protobuf:"bytes,2,opt,name=label_selector" json:"label_selector,omitempty"` FieldSelector string `protobuf:"bytes,3,opt,name=field_selector" json:"field_selector,omitempty"` ObjectSelectorExpression string `protobuf:"bytes,4,opt,name=object_selector_expression" json:"object_selector_expression,omitempty"` // contains filtered or unexported fields }
func (*Namespaces) Descriptor
deprecated
func (*Namespaces) Descriptor() ([]byte, []int)
Deprecated: Use Namespaces.ProtoReflect.Descriptor instead.
func (*Namespaces) GetFieldSelector ¶
func (x *Namespaces) GetFieldSelector() string
func (*Namespaces) GetLabelSelector ¶
func (x *Namespaces) GetLabelSelector() string
func (*Namespaces) GetNames ¶
func (x *Namespaces) GetNames() []string
func (*Namespaces) GetObjectSelectorExpression ¶
func (x *Namespaces) GetObjectSelectorExpression() string
func (*Namespaces) ProtoMessage ¶
func (*Namespaces) ProtoMessage()
func (*Namespaces) ProtoReflect ¶
func (x *Namespaces) ProtoReflect() protoreflect.Message
func (*Namespaces) Reset ¶
func (x *Namespaces) Reset()
func (*Namespaces) String ¶
func (x *Namespaces) String() string
type Query ¶
type Query struct { // Types that are valid to be assigned to Query: // // *Query_Include_ // *Query_Exclude_ Query isQuery_Query `protobuf_oneof:"query"` // contains filtered or unexported fields }
func (*Query) Descriptor
deprecated
func (*Query) GetExclude ¶
func (x *Query) GetExclude() *Query_Exclude
func (*Query) GetInclude ¶
func (x *Query) GetInclude() *Query_Include
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
func (*Query) ProtoReflect ¶
func (x *Query) ProtoReflect() protoreflect.Message
type Query_Exclude ¶
type Query_Exclude struct { ResourceSelectorExpression string `protobuf:"bytes,1,opt,name=resource_selector_expression" json:"resource_selector_expression,omitempty"` // contains filtered or unexported fields }
func (*Query_Exclude) Descriptor
deprecated
func (*Query_Exclude) Descriptor() ([]byte, []int)
Deprecated: Use Query_Exclude.ProtoReflect.Descriptor instead.
func (*Query_Exclude) GetResourceSelectorExpression ¶
func (x *Query_Exclude) GetResourceSelectorExpression() string
func (*Query_Exclude) ProtoMessage ¶
func (*Query_Exclude) ProtoMessage()
func (*Query_Exclude) ProtoReflect ¶
func (x *Query_Exclude) ProtoReflect() protoreflect.Message
func (*Query_Exclude) Reset ¶
func (x *Query_Exclude) Reset()
func (*Query_Exclude) String ¶
func (x *Query_Exclude) String() string
type Query_Exclude_ ¶
type Query_Exclude_ struct {
Exclude *Query_Exclude `protobuf:"bytes,2,opt,name=exclude,oneof"`
}
type Query_Include ¶
type Query_Include struct { ResourceSelectorExpression string `protobuf:"bytes,1,opt,name=resource_selector_expression" json:"resource_selector_expression,omitempty"` Object *Query_IncludeObject `protobuf:"bytes,2,opt,name=object" json:"object,omitempty"` // contains filtered or unexported fields }
func (*Query_Include) Descriptor
deprecated
func (*Query_Include) Descriptor() ([]byte, []int)
Deprecated: Use Query_Include.ProtoReflect.Descriptor instead.
func (*Query_Include) GetObject ¶
func (x *Query_Include) GetObject() *Query_IncludeObject
func (*Query_Include) GetResourceSelectorExpression ¶
func (x *Query_Include) GetResourceSelectorExpression() string
func (*Query_Include) ProtoMessage ¶
func (*Query_Include) ProtoMessage()
func (*Query_Include) ProtoReflect ¶
func (x *Query_Include) ProtoReflect() protoreflect.Message
func (*Query_Include) Reset ¶
func (x *Query_Include) Reset()
func (*Query_Include) String ¶
func (x *Query_Include) String() string
type Query_IncludeObject ¶
type Query_IncludeObject struct { LabelSelector string `protobuf:"bytes,1,opt,name=label_selector" json:"label_selector,omitempty"` FieldSelector string `protobuf:"bytes,2,opt,name=field_selector" json:"field_selector,omitempty"` ObjectSelectorExpression string `protobuf:"bytes,3,opt,name=object_selector_expression" json:"object_selector_expression,omitempty"` JsonPath string `protobuf:"bytes,4,opt,name=json_path" json:"json_path,omitempty"` // contains filtered or unexported fields }
func (*Query_IncludeObject) Descriptor
deprecated
func (*Query_IncludeObject) Descriptor() ([]byte, []int)
Deprecated: Use Query_IncludeObject.ProtoReflect.Descriptor instead.
func (*Query_IncludeObject) GetFieldSelector ¶
func (x *Query_IncludeObject) GetFieldSelector() string
func (*Query_IncludeObject) GetJsonPath ¶
func (x *Query_IncludeObject) GetJsonPath() string
func (*Query_IncludeObject) GetLabelSelector ¶
func (x *Query_IncludeObject) GetLabelSelector() string
func (*Query_IncludeObject) GetObjectSelectorExpression ¶
func (x *Query_IncludeObject) GetObjectSelectorExpression() string
func (*Query_IncludeObject) ProtoMessage ¶
func (*Query_IncludeObject) ProtoMessage()
func (*Query_IncludeObject) ProtoReflect ¶
func (x *Query_IncludeObject) ProtoReflect() protoreflect.Message
func (*Query_IncludeObject) Reset ¶
func (x *Query_IncludeObject) Reset()
func (*Query_IncludeObject) String ¶
func (x *Query_IncludeObject) String() string
type Query_Include_ ¶
type Query_Include_ struct {
Include *Query_Include `protobuf:"bytes,1,opt,name=include,oneof"`
}
type Roots ¶
type Roots struct { Individual []*Roots_Individual `protobuf:"bytes,1,rep,name=individual" json:"individual,omitempty"` Selector []*Roots_Selector `protobuf:"bytes,2,rep,name=selector" json:"selector,omitempty"` // contains filtered or unexported fields }
func (*Roots) Descriptor
deprecated
func (*Roots) GetIndividual ¶
func (x *Roots) GetIndividual() []*Roots_Individual
func (*Roots) GetSelector ¶
func (x *Roots) GetSelector() []*Roots_Selector
func (*Roots) ProtoMessage ¶
func (*Roots) ProtoMessage()
func (*Roots) ProtoReflect ¶
func (x *Roots) ProtoReflect() protoreflect.Message
type Roots_Individual ¶
type Roots_Individual struct { Group string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"` Resource string `protobuf:"bytes,2,opt,name=resource" json:"resource,omitempty"` Namespace string `protobuf:"bytes,3,opt,name=namespace" json:"namespace,omitempty"` Name string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Roots_Individual) Descriptor
deprecated
func (*Roots_Individual) Descriptor() ([]byte, []int)
Deprecated: Use Roots_Individual.ProtoReflect.Descriptor instead.
func (*Roots_Individual) GetGroup ¶
func (x *Roots_Individual) GetGroup() string
func (*Roots_Individual) GetName ¶
func (x *Roots_Individual) GetName() string
func (*Roots_Individual) GetNamespace ¶
func (x *Roots_Individual) GetNamespace() string
func (*Roots_Individual) GetResource ¶
func (x *Roots_Individual) GetResource() string
func (*Roots_Individual) ProtoMessage ¶
func (*Roots_Individual) ProtoMessage()
func (*Roots_Individual) ProtoReflect ¶
func (x *Roots_Individual) ProtoReflect() protoreflect.Message
func (*Roots_Individual) Reset ¶
func (x *Roots_Individual) Reset()
func (*Roots_Individual) String ¶
func (x *Roots_Individual) String() string
type Roots_Selector ¶
type Roots_Selector struct { Group string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"` Resource string `protobuf:"bytes,2,opt,name=resource" json:"resource,omitempty"` LabelSelector string `protobuf:"bytes,3,opt,name=label_selector" json:"label_selector,omitempty"` FieldSelector string `protobuf:"bytes,4,opt,name=field_selector" json:"field_selector,omitempty"` // contains filtered or unexported fields }
func (*Roots_Selector) Descriptor
deprecated
func (*Roots_Selector) Descriptor() ([]byte, []int)
Deprecated: Use Roots_Selector.ProtoReflect.Descriptor instead.
func (*Roots_Selector) GetFieldSelector ¶
func (x *Roots_Selector) GetFieldSelector() string
func (*Roots_Selector) GetGroup ¶
func (x *Roots_Selector) GetGroup() string
func (*Roots_Selector) GetLabelSelector ¶
func (x *Roots_Selector) GetLabelSelector() string
func (*Roots_Selector) GetResource ¶
func (x *Roots_Selector) GetResource() string
func (*Roots_Selector) ProtoMessage ¶
func (*Roots_Selector) ProtoMessage()
func (*Roots_Selector) ProtoReflect ¶
func (x *Roots_Selector) ProtoReflect() protoreflect.Message
func (*Roots_Selector) Reset ¶
func (x *Roots_Selector) Reset()
func (*Roots_Selector) String ¶
func (x *Roots_Selector) String() string
type UnimplementedKubernetesApiServer ¶
type UnimplementedKubernetesApiServer struct{}
UnimplementedKubernetesApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedKubernetesApiServer) MakeRequest ¶
func (UnimplementedKubernetesApiServer) MakeRequest(grpc.BidiStreamingServer[grpctool.HttpRequest, grpctool.HttpResponse]) error
func (UnimplementedKubernetesApiServer) WatchGraph ¶
func (UnimplementedKubernetesApiServer) WatchGraph(*WatchGraphRequest, grpc.ServerStreamingServer[WatchGraphResponse]) error
type UnsafeKubernetesApiServer ¶
type UnsafeKubernetesApiServer interface {
// contains filtered or unexported methods
}
UnsafeKubernetesApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KubernetesApiServer will result in compilation errors.
type Warning ¶
type Warning struct { Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` Attributes []byte `protobuf:"bytes,3,opt,name=attributes" json:"attributes,omitempty"` // contains filtered or unexported fields }
func (*Warning) Descriptor
deprecated
func (*Warning) GetAttributes ¶
func (*Warning) GetMessage ¶
func (*Warning) ProtoMessage ¶
func (*Warning) ProtoMessage()
func (*Warning) ProtoReflect ¶
func (x *Warning) ProtoReflect() protoreflect.Message
type WatchGraphRequest ¶
type WatchGraphRequest struct { ImpConfig *kubernetes_api.ImpersonationConfig `protobuf:"bytes,1,opt,name=imp_config,json=impConfig" json:"imp_config,omitempty"` Queries []*Query `protobuf:"bytes,2,rep,name=queries" json:"queries,omitempty"` Namespaces *Namespaces `protobuf:"bytes,3,opt,name=namespaces" json:"namespaces,omitempty"` Roots *Roots `protobuf:"bytes,4,opt,name=roots" json:"roots,omitempty"` // contains filtered or unexported fields }
func (*WatchGraphRequest) Descriptor
deprecated
func (*WatchGraphRequest) Descriptor() ([]byte, []int)
Deprecated: Use WatchGraphRequest.ProtoReflect.Descriptor instead.
func (*WatchGraphRequest) GetImpConfig ¶
func (x *WatchGraphRequest) GetImpConfig() *kubernetes_api.ImpersonationConfig
func (*WatchGraphRequest) GetNamespaces ¶
func (x *WatchGraphRequest) GetNamespaces() *Namespaces
func (*WatchGraphRequest) GetQueries ¶
func (x *WatchGraphRequest) GetQueries() []*Query
func (*WatchGraphRequest) GetRoots ¶
func (x *WatchGraphRequest) GetRoots() *Roots
func (*WatchGraphRequest) ProtoMessage ¶
func (*WatchGraphRequest) ProtoMessage()
func (*WatchGraphRequest) ProtoReflect ¶
func (x *WatchGraphRequest) ProtoReflect() protoreflect.Message
func (*WatchGraphRequest) Reset ¶
func (x *WatchGraphRequest) Reset()
func (*WatchGraphRequest) String ¶
func (x *WatchGraphRequest) String() string
type WatchGraphResponse ¶
type WatchGraphResponse struct { Actions []*Action `protobuf:"bytes,1,rep,name=actions" json:"actions,omitempty"` Warnings []*Warning `protobuf:"bytes,2,rep,name=warnings" json:"warnings,omitempty"` // contains filtered or unexported fields }
func (*WatchGraphResponse) Descriptor
deprecated
func (*WatchGraphResponse) Descriptor() ([]byte, []int)
Deprecated: Use WatchGraphResponse.ProtoReflect.Descriptor instead.
func (*WatchGraphResponse) GetActions ¶
func (x *WatchGraphResponse) GetActions() []*Action
func (*WatchGraphResponse) GetWarnings ¶
func (x *WatchGraphResponse) GetWarnings() []*Warning
func (*WatchGraphResponse) ProtoMessage ¶
func (*WatchGraphResponse) ProtoMessage()
func (*WatchGraphResponse) ProtoReflect ¶
func (x *WatchGraphResponse) ProtoReflect() protoreflect.Message
func (*WatchGraphResponse) Reset ¶
func (x *WatchGraphResponse) Reset()
func (*WatchGraphResponse) String ¶
func (x *WatchGraphResponse) String() string
type WatchGraphWebSocketRequest ¶
type WatchGraphWebSocketRequest struct { Queries []*Query `protobuf:"bytes,1,rep,name=queries" json:"queries,omitempty"` Namespaces *Namespaces `protobuf:"bytes,2,opt,name=namespaces" json:"namespaces,omitempty"` Roots *Roots `protobuf:"bytes,3,opt,name=roots" json:"roots,omitempty"` // contains filtered or unexported fields }
func (*WatchGraphWebSocketRequest) Descriptor
deprecated
func (*WatchGraphWebSocketRequest) Descriptor() ([]byte, []int)
Deprecated: Use WatchGraphWebSocketRequest.ProtoReflect.Descriptor instead.
func (*WatchGraphWebSocketRequest) GetNamespaces ¶
func (x *WatchGraphWebSocketRequest) GetNamespaces() *Namespaces
func (*WatchGraphWebSocketRequest) GetQueries ¶
func (x *WatchGraphWebSocketRequest) GetQueries() []*Query
func (*WatchGraphWebSocketRequest) GetRoots ¶
func (x *WatchGraphWebSocketRequest) GetRoots() *Roots
func (*WatchGraphWebSocketRequest) ProtoMessage ¶
func (*WatchGraphWebSocketRequest) ProtoMessage()
func (*WatchGraphWebSocketRequest) ProtoReflect ¶
func (x *WatchGraphWebSocketRequest) ProtoReflect() protoreflect.Message
func (*WatchGraphWebSocketRequest) Reset ¶
func (x *WatchGraphWebSocketRequest) Reset()
func (*WatchGraphWebSocketRequest) String ¶
func (x *WatchGraphWebSocketRequest) String() string