Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAccessGraphServiceServer(s grpc.ServiceRegistrar, srv AccessGraphServiceServer)
- type AccessGraphServiceClient
- type AccessGraphServiceServer
- type AccessGraphService_EventsStreamClient
- type AccessGraphService_EventsStreamServer
- type AccessListsMembers
- func (*AccessListsMembers) Descriptor() ([]byte, []int)deprecated
- func (x *AccessListsMembers) GetMembers() []*v1.Member
- func (*AccessListsMembers) ProtoMessage()
- func (x *AccessListsMembers) ProtoReflect() protoreflect.Message
- func (x *AccessListsMembers) Reset()
- func (x *AccessListsMembers) String() string
- type Edge
- type EventsStreamRequest
- func (*EventsStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EventsStreamRequest) GetAccessListsMembers() *AccessListsMembers
- func (x *EventsStreamRequest) GetDelete() *ResourceHeaderList
- func (x *EventsStreamRequest) GetExcludeAccessListMembers() *ExcludeAccessListsMembers
- func (m *EventsStreamRequest) GetOperation() isEventsStreamRequest_Operation
- func (x *EventsStreamRequest) GetSync() *SyncOperation
- func (x *EventsStreamRequest) GetUpsert() *ResourceList
- func (*EventsStreamRequest) ProtoMessage()
- func (x *EventsStreamRequest) ProtoReflect() protoreflect.Message
- func (x *EventsStreamRequest) Reset()
- func (x *EventsStreamRequest) String() string
- type EventsStreamRequest_AccessListsMembers
- type EventsStreamRequest_Delete
- type EventsStreamRequest_ExcludeAccessListMembers
- type EventsStreamRequest_Sync
- type EventsStreamRequest_Upsert
- type EventsStreamResponse
- type ExcludeAccessListMember
- func (*ExcludeAccessListMember) Descriptor() ([]byte, []int)deprecated
- func (x *ExcludeAccessListMember) GetAccessList() string
- func (x *ExcludeAccessListMember) GetUsername() string
- func (*ExcludeAccessListMember) ProtoMessage()
- func (x *ExcludeAccessListMember) ProtoReflect() protoreflect.Message
- func (x *ExcludeAccessListMember) Reset()
- func (x *ExcludeAccessListMember) String() string
- type ExcludeAccessListsMembers
- func (*ExcludeAccessListsMembers) Descriptor() ([]byte, []int)deprecated
- func (x *ExcludeAccessListsMembers) GetMembers() []*ExcludeAccessListMember
- func (*ExcludeAccessListsMembers) ProtoMessage()
- func (x *ExcludeAccessListsMembers) ProtoReflect() protoreflect.Message
- func (x *ExcludeAccessListsMembers) Reset()
- func (x *ExcludeAccessListsMembers) String() string
- type GetFileRequest
- type GetFileResponse
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetHostname() string
- func (x *Node) GetId() string
- func (x *Node) GetKind() string
- func (x *Node) GetLabels() map[string]string
- func (x *Node) GetName() string
- func (x *Node) GetProperties() map[string]string
- func (x *Node) GetSubKind() string
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type QueryRequest
- type QueryResponse
- func (*QueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResponse) GetEdges() []*Edge
- func (x *QueryResponse) GetNodes() []*Node
- func (*QueryResponse) ProtoMessage()
- func (x *QueryResponse) ProtoReflect() protoreflect.Message
- func (x *QueryResponse) Reset()
- func (x *QueryResponse) String() string
- type ResourceEntry
- func (*ResourceEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceEntry) GetAccessList() *v1.AccessList
- func (x *ResourceEntry) GetAccessRequest() *types.AccessRequestV3
- func (x *ResourceEntry) GetAppServer() *types.AppServerV3
- func (x *ResourceEntry) GetDatabaseServer() *types.DatabaseServerV3
- func (x *ResourceEntry) GetKubernetesServer() *types.KubernetesServerV3
- func (m *ResourceEntry) GetResource() isResourceEntry_Resource
- func (x *ResourceEntry) GetRole() *types.RoleV6
- func (x *ResourceEntry) GetServer() *types.ServerV2
- func (x *ResourceEntry) GetUser() *types.UserV2
- func (x *ResourceEntry) GetWindowsDesktop() *types.WindowsDesktopV3
- func (*ResourceEntry) ProtoMessage()
- func (x *ResourceEntry) ProtoReflect() protoreflect.Message
- func (x *ResourceEntry) Reset()
- func (x *ResourceEntry) String() string
- type ResourceEntry_AccessList
- type ResourceEntry_AccessRequest
- type ResourceEntry_AppServer
- type ResourceEntry_DatabaseServer
- type ResourceEntry_KubernetesServer
- type ResourceEntry_Role
- type ResourceEntry_Server
- type ResourceEntry_User
- type ResourceEntry_WindowsDesktop
- type ResourceHeaderList
- func (*ResourceHeaderList) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceHeaderList) GetResources() []*types.ResourceHeader
- func (*ResourceHeaderList) ProtoMessage()
- func (x *ResourceHeaderList) ProtoReflect() protoreflect.Message
- func (x *ResourceHeaderList) Reset()
- func (x *ResourceHeaderList) String() string
- type ResourceList
- type SyncOperation
- type UnimplementedAccessGraphServiceServer
- func (UnimplementedAccessGraphServiceServer) EventsStream(AccessGraphService_EventsStreamServer) error
- func (UnimplementedAccessGraphServiceServer) GetFile(context.Context, *GetFileRequest) (*GetFileResponse, error)
- func (UnimplementedAccessGraphServiceServer) Query(context.Context, *QueryRequest) (*QueryResponse, error)
- type UnsafeAccessGraphServiceServer
Constants ¶
const ( AccessGraphService_Query_FullMethodName = "/accessgraph.v1alpha.AccessGraphService/Query" AccessGraphService_GetFile_FullMethodName = "/accessgraph.v1alpha.AccessGraphService/GetFile" AccessGraphService_EventsStream_FullMethodName = "/accessgraph.v1alpha.AccessGraphService/EventsStream" )
Variables ¶
var AccessGraphService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "accessgraph.v1alpha.AccessGraphService", HandlerType: (*AccessGraphServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Query", Handler: _AccessGraphService_Query_Handler, }, { MethodName: "GetFile", Handler: _AccessGraphService_GetFile_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "EventsStream", Handler: _AccessGraphService_EventsStream_Handler, ClientStreams: true, }, }, Metadata: "accessgraph/v1alpha/access_graph_service.proto", }
AccessGraphService_ServiceDesc is the grpc.ServiceDesc for AccessGraphService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_accessgraph_v1alpha_access_graph_service_proto protoreflect.FileDescriptor
var File_accessgraph_v1alpha_graph_proto protoreflect.FileDescriptor
var File_accessgraph_v1alpha_resources_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAccessGraphServiceServer ¶
func RegisterAccessGraphServiceServer(s grpc.ServiceRegistrar, srv AccessGraphServiceServer)
Types ¶
type AccessGraphServiceClient ¶
type AccessGraphServiceClient interface { // Query queries the access graph. // Currently only used by WebUI. Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error) // GetFile gets a static UI file from the access graph container. GetFile(ctx context.Context, in *GetFileRequest, opts ...grpc.CallOption) (*GetFileResponse, error) // EventsStream is a stream of commands to the access graph service. // Teleport Auth server creates a stream to the access graph service // and pushes all resources and following events to it. // This stream is used to sync the access graph with the Teleport database state. // Once Teleport finishes syncing the current state, it sends a sync command // to the access graph service and resumes sending events. EventsStream(ctx context.Context, opts ...grpc.CallOption) (AccessGraphService_EventsStreamClient, error) }
AccessGraphServiceClient is the client API for AccessGraphService 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 NewAccessGraphServiceClient ¶
func NewAccessGraphServiceClient(cc grpc.ClientConnInterface) AccessGraphServiceClient
type AccessGraphServiceServer ¶
type AccessGraphServiceServer interface { // Query queries the access graph. // Currently only used by WebUI. Query(context.Context, *QueryRequest) (*QueryResponse, error) // GetFile gets a static UI file from the access graph container. GetFile(context.Context, *GetFileRequest) (*GetFileResponse, error) // EventsStream is a stream of commands to the access graph service. // Teleport Auth server creates a stream to the access graph service // and pushes all resources and following events to it. // This stream is used to sync the access graph with the Teleport database state. // Once Teleport finishes syncing the current state, it sends a sync command // to the access graph service and resumes sending events. EventsStream(AccessGraphService_EventsStreamServer) error // contains filtered or unexported methods }
AccessGraphServiceServer is the server API for AccessGraphService service. All implementations must embed UnimplementedAccessGraphServiceServer for forward compatibility
type AccessGraphService_EventsStreamClient ¶
type AccessGraphService_EventsStreamClient interface { Send(*EventsStreamRequest) error CloseAndRecv() (*EventsStreamResponse, error) grpc.ClientStream }
type AccessGraphService_EventsStreamServer ¶
type AccessGraphService_EventsStreamServer interface { SendAndClose(*EventsStreamResponse) error Recv() (*EventsStreamRequest, error) grpc.ServerStream }
type AccessListsMembers ¶
type AccessListsMembers struct { // members is the list of members to add to access lists. Members []*v1.Member `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` // contains filtered or unexported fields }
AccessListsMembers is the request to declare users as members of access lists.
func (*AccessListsMembers) Descriptor
deprecated
func (*AccessListsMembers) Descriptor() ([]byte, []int)
Deprecated: Use AccessListsMembers.ProtoReflect.Descriptor instead.
func (*AccessListsMembers) GetMembers ¶
func (x *AccessListsMembers) GetMembers() []*v1.Member
func (*AccessListsMembers) ProtoMessage ¶
func (*AccessListsMembers) ProtoMessage()
func (*AccessListsMembers) ProtoReflect ¶
func (x *AccessListsMembers) ProtoReflect() protoreflect.Message
func (*AccessListsMembers) Reset ¶
func (x *AccessListsMembers) Reset()
func (*AccessListsMembers) String ¶
func (x *AccessListsMembers) String() string
type Edge ¶
type Edge struct { // from is the ID of the node the edge is from. From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` // to is the ID of the node the edge is to. To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // edge_type is the type of the edge, e.g. "member_of", "belongs_to", etc. EdgeType string `protobuf:"bytes,3,opt,name=edge_type,json=edgeType,proto3" json:"edge_type,omitempty"` // contains filtered or unexported fields }
Edge is an edge in the access graph.
func (*Edge) Descriptor
deprecated
func (*Edge) GetEdgeType ¶
func (*Edge) ProtoMessage ¶
func (*Edge) ProtoMessage()
func (*Edge) ProtoReflect ¶
func (x *Edge) ProtoReflect() protoreflect.Message
type EventsStreamRequest ¶
type EventsStreamRequest struct { // operation contains the desired operation // // Types that are assignable to Operation: // // *EventsStreamRequest_Sync // *EventsStreamRequest_Upsert // *EventsStreamRequest_Delete // *EventsStreamRequest_AccessListsMembers // *EventsStreamRequest_ExcludeAccessListMembers Operation isEventsStreamRequest_Operation `protobuf_oneof:"operation"` // contains filtered or unexported fields }
EventsStreamRequest is a request to send commands to the access graph. This command is used to sync the access graph with the Teleport database state.
func (*EventsStreamRequest) Descriptor
deprecated
func (*EventsStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use EventsStreamRequest.ProtoReflect.Descriptor instead.
func (*EventsStreamRequest) GetAccessListsMembers ¶
func (x *EventsStreamRequest) GetAccessListsMembers() *AccessListsMembers
func (*EventsStreamRequest) GetDelete ¶
func (x *EventsStreamRequest) GetDelete() *ResourceHeaderList
func (*EventsStreamRequest) GetExcludeAccessListMembers ¶
func (x *EventsStreamRequest) GetExcludeAccessListMembers() *ExcludeAccessListsMembers
func (*EventsStreamRequest) GetOperation ¶
func (m *EventsStreamRequest) GetOperation() isEventsStreamRequest_Operation
func (*EventsStreamRequest) GetSync ¶
func (x *EventsStreamRequest) GetSync() *SyncOperation
func (*EventsStreamRequest) GetUpsert ¶
func (x *EventsStreamRequest) GetUpsert() *ResourceList
func (*EventsStreamRequest) ProtoMessage ¶
func (*EventsStreamRequest) ProtoMessage()
func (*EventsStreamRequest) ProtoReflect ¶
func (x *EventsStreamRequest) ProtoReflect() protoreflect.Message
func (*EventsStreamRequest) Reset ¶
func (x *EventsStreamRequest) Reset()
func (*EventsStreamRequest) String ¶
func (x *EventsStreamRequest) String() string
type EventsStreamRequest_AccessListsMembers ¶
type EventsStreamRequest_AccessListsMembers struct { // access_lists_members is a command to upsert access lists members. // It's issued when a user is added to an access list or when their membership is updated. // It's also issued when a user membership expires but the user remains in the access list. // In that case, the state of the user reflects the expiration reason. AccessListsMembers *AccessListsMembers `protobuf:"bytes,4,opt,name=access_lists_members,json=accessListsMembers,proto3,oneof"` }
type EventsStreamRequest_Delete ¶
type EventsStreamRequest_Delete struct { // delete is a command to delete a resource from the access graph when it's deleted from Teleport. Delete *ResourceHeaderList `protobuf:"bytes,3,opt,name=delete,proto3,oneof"` }
type EventsStreamRequest_ExcludeAccessListMembers ¶
type EventsStreamRequest_ExcludeAccessListMembers struct { // exclude_access_list_members is a command to exclude access lists members // when they are manually removed from the access list. // If their membership remains but it's expired, they are not excluded // from the access list but they don't receive any access - in that case, // the request is [access_lists_members]. ExcludeAccessListMembers *ExcludeAccessListsMembers `protobuf:"bytes,5,opt,name=exclude_access_list_members,json=excludeAccessListMembers,proto3,oneof"` }
type EventsStreamRequest_Sync ¶
type EventsStreamRequest_Sync struct { // sync is a command to sync the access graph with the Teleport database state. // it's issued once Teleport finishes syncing all resources with the database. Sync *SyncOperation `protobuf:"bytes,1,opt,name=sync,proto3,oneof"` }
type EventsStreamRequest_Upsert ¶
type EventsStreamRequest_Upsert struct { // upsert is a command to put a resource into the access graph or update it. Upsert *ResourceList `protobuf:"bytes,2,opt,name=upsert,proto3,oneof"` }
type EventsStreamResponse ¶
type EventsStreamResponse struct {
// contains filtered or unexported fields
}
EventsStreamResponse is the response from EventsStream.
func (*EventsStreamResponse) Descriptor
deprecated
func (*EventsStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use EventsStreamResponse.ProtoReflect.Descriptor instead.
func (*EventsStreamResponse) ProtoMessage ¶
func (*EventsStreamResponse) ProtoMessage()
func (*EventsStreamResponse) ProtoReflect ¶
func (x *EventsStreamResponse) ProtoReflect() protoreflect.Message
func (*EventsStreamResponse) Reset ¶
func (x *EventsStreamResponse) Reset()
func (*EventsStreamResponse) String ¶
func (x *EventsStreamResponse) String() string
type ExcludeAccessListMember ¶
type ExcludeAccessListMember struct { AccessList string `protobuf:"bytes,1,opt,name=access_list,json=accessList,proto3" json:"access_list,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
ExcludeAccessListMember is the request to exclude a user from an access list.
func (*ExcludeAccessListMember) Descriptor
deprecated
func (*ExcludeAccessListMember) Descriptor() ([]byte, []int)
Deprecated: Use ExcludeAccessListMember.ProtoReflect.Descriptor instead.
func (*ExcludeAccessListMember) GetAccessList ¶
func (x *ExcludeAccessListMember) GetAccessList() string
func (*ExcludeAccessListMember) GetUsername ¶
func (x *ExcludeAccessListMember) GetUsername() string
func (*ExcludeAccessListMember) ProtoMessage ¶
func (*ExcludeAccessListMember) ProtoMessage()
func (*ExcludeAccessListMember) ProtoReflect ¶
func (x *ExcludeAccessListMember) ProtoReflect() protoreflect.Message
func (*ExcludeAccessListMember) Reset ¶
func (x *ExcludeAccessListMember) Reset()
func (*ExcludeAccessListMember) String ¶
func (x *ExcludeAccessListMember) String() string
type ExcludeAccessListsMembers ¶
type ExcludeAccessListsMembers struct { Members []*ExcludeAccessListMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` // contains filtered or unexported fields }
ExcludeAccessListsMembers is the request to exclude users from access lists.
func (*ExcludeAccessListsMembers) Descriptor
deprecated
func (*ExcludeAccessListsMembers) Descriptor() ([]byte, []int)
Deprecated: Use ExcludeAccessListsMembers.ProtoReflect.Descriptor instead.
func (*ExcludeAccessListsMembers) GetMembers ¶
func (x *ExcludeAccessListsMembers) GetMembers() []*ExcludeAccessListMember
func (*ExcludeAccessListsMembers) ProtoMessage ¶
func (*ExcludeAccessListsMembers) ProtoMessage()
func (*ExcludeAccessListsMembers) ProtoReflect ¶
func (x *ExcludeAccessListsMembers) ProtoReflect() protoreflect.Message
func (*ExcludeAccessListsMembers) Reset ¶
func (x *ExcludeAccessListsMembers) Reset()
func (*ExcludeAccessListsMembers) String ¶
func (x *ExcludeAccessListsMembers) String() string
type GetFileRequest ¶
type GetFileRequest struct { // filepath is a path to the file. Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // contains filtered or unexported fields }
GetFileRequest is a request to get a file.
func (*GetFileRequest) Descriptor
deprecated
func (*GetFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFileRequest.ProtoReflect.Descriptor instead.
func (*GetFileRequest) GetFilepath ¶
func (x *GetFileRequest) GetFilepath() string
func (*GetFileRequest) ProtoMessage ¶
func (*GetFileRequest) ProtoMessage()
func (*GetFileRequest) ProtoReflect ¶
func (x *GetFileRequest) ProtoReflect() protoreflect.Message
func (*GetFileRequest) Reset ¶
func (x *GetFileRequest) Reset()
func (*GetFileRequest) String ¶
func (x *GetFileRequest) String() string
type GetFileResponse ¶
type GetFileResponse struct { // data is a raw file content. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
GetFileResponse is a response to a file request.
func (*GetFileResponse) Descriptor
deprecated
func (*GetFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFileResponse.ProtoReflect.Descriptor instead.
func (*GetFileResponse) GetData ¶
func (x *GetFileResponse) GetData() []byte
func (*GetFileResponse) ProtoMessage ¶
func (*GetFileResponse) ProtoMessage()
func (*GetFileResponse) ProtoReflect ¶
func (x *GetFileResponse) ProtoReflect() protoreflect.Message
func (*GetFileResponse) Reset ¶
func (x *GetFileResponse) Reset()
func (*GetFileResponse) String ¶
func (x *GetFileResponse) String() string
type Node ¶
type Node struct { // ID is the unique ID of the node. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Kind is the kind of the node, ex: "user", "user_group", "resource", etc. Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // SubKind is the subkind of the node, ex: "ssh", "db", "k8s", etc. SubKind string `protobuf:"bytes,3,opt,name=sub_kind,json=subKind,proto3" json:"sub_kind,omitempty"` // Name is the name of the node. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Labels is a set of labels for the resource. Labels map[string]string `` /* 153-byte string literal not displayed */ // Hostname is the hostname of the node. Hostname string `protobuf:"bytes,6,opt,name=hostname,proto3" json:"hostname,omitempty"` // Properties is a set of properties for the resource. Properties map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
Node is a node in the access graph.
func (*Node) Descriptor
deprecated
func (*Node) GetHostname ¶
func (*Node) GetProperties ¶
func (*Node) GetSubKind ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type QueryRequest ¶
type QueryRequest struct { // query is a SQL query. Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
QueryRequest is a request to query the access graph.
func (*QueryRequest) Descriptor
deprecated
func (*QueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.
func (*QueryRequest) GetQuery ¶
func (x *QueryRequest) GetQuery() string
func (*QueryRequest) ProtoMessage ¶
func (*QueryRequest) ProtoMessage()
func (*QueryRequest) ProtoReflect ¶
func (x *QueryRequest) ProtoReflect() protoreflect.Message
func (*QueryRequest) Reset ¶
func (x *QueryRequest) Reset()
func (*QueryRequest) String ¶
func (x *QueryRequest) String() string
type QueryResponse ¶
type QueryResponse struct { // nodes is a list of nodes returned by the query. The response may contain only nodes. Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // edges is a list of edges returned by the query. Edges []*Edge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"` // contains filtered or unexported fields }
QueryResponse is a response to a query.
func (*QueryResponse) Descriptor
deprecated
func (*QueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.
func (*QueryResponse) GetEdges ¶
func (x *QueryResponse) GetEdges() []*Edge
func (*QueryResponse) GetNodes ¶
func (x *QueryResponse) GetNodes() []*Node
func (*QueryResponse) ProtoMessage ¶
func (*QueryResponse) ProtoMessage()
func (*QueryResponse) ProtoReflect ¶
func (x *QueryResponse) ProtoReflect() protoreflect.Message
func (*QueryResponse) Reset ¶
func (x *QueryResponse) Reset()
func (*QueryResponse) String ¶
func (x *QueryResponse) String() string
type ResourceEntry ¶
type ResourceEntry struct { // Types that are assignable to Resource: // // *ResourceEntry_User // *ResourceEntry_Role // *ResourceEntry_Server // *ResourceEntry_AccessRequest // *ResourceEntry_KubernetesServer // *ResourceEntry_AppServer // *ResourceEntry_DatabaseServer // *ResourceEntry_WindowsDesktop // *ResourceEntry_AccessList Resource isResourceEntry_Resource `protobuf_oneof:"resource"` // contains filtered or unexported fields }
ResourceEntry is a wrapper for the supported resource types.
func (*ResourceEntry) Descriptor
deprecated
func (*ResourceEntry) Descriptor() ([]byte, []int)
Deprecated: Use ResourceEntry.ProtoReflect.Descriptor instead.
func (*ResourceEntry) GetAccessList ¶
func (x *ResourceEntry) GetAccessList() *v1.AccessList
func (*ResourceEntry) GetAccessRequest ¶
func (x *ResourceEntry) GetAccessRequest() *types.AccessRequestV3
func (*ResourceEntry) GetAppServer ¶
func (x *ResourceEntry) GetAppServer() *types.AppServerV3
func (*ResourceEntry) GetDatabaseServer ¶
func (x *ResourceEntry) GetDatabaseServer() *types.DatabaseServerV3
func (*ResourceEntry) GetKubernetesServer ¶
func (x *ResourceEntry) GetKubernetesServer() *types.KubernetesServerV3
func (*ResourceEntry) GetResource ¶
func (m *ResourceEntry) GetResource() isResourceEntry_Resource
func (*ResourceEntry) GetRole ¶
func (x *ResourceEntry) GetRole() *types.RoleV6
func (*ResourceEntry) GetServer ¶
func (x *ResourceEntry) GetServer() *types.ServerV2
func (*ResourceEntry) GetUser ¶
func (x *ResourceEntry) GetUser() *types.UserV2
func (*ResourceEntry) GetWindowsDesktop ¶
func (x *ResourceEntry) GetWindowsDesktop() *types.WindowsDesktopV3
func (*ResourceEntry) ProtoMessage ¶
func (*ResourceEntry) ProtoMessage()
func (*ResourceEntry) ProtoReflect ¶
func (x *ResourceEntry) ProtoReflect() protoreflect.Message
func (*ResourceEntry) Reset ¶
func (x *ResourceEntry) Reset()
func (*ResourceEntry) String ¶
func (x *ResourceEntry) String() string
type ResourceEntry_AccessList ¶
type ResourceEntry_AccessList struct { // access_list is a resource for access lists. AccessList *v1.AccessList `protobuf:"bytes,9,opt,name=access_list,json=accessList,proto3,oneof"` }
type ResourceEntry_AccessRequest ¶
type ResourceEntry_AccessRequest struct { // access_request is a resource for access requests AccessRequest *types.AccessRequestV3 `protobuf:"bytes,4,opt,name=access_request,json=accessRequest,proto3,oneof"` }
type ResourceEntry_AppServer ¶
type ResourceEntry_AppServer struct { // app_server is an application server resource AppServer *types.AppServerV3 `protobuf:"bytes,6,opt,name=app_server,json=appServer,proto3,oneof"` }
type ResourceEntry_DatabaseServer ¶
type ResourceEntry_DatabaseServer struct { // database_server is a database server resource DatabaseServer *types.DatabaseServerV3 `protobuf:"bytes,7,opt,name=database_server,json=databaseServer,proto3,oneof"` }
type ResourceEntry_KubernetesServer ¶
type ResourceEntry_KubernetesServer struct { // kubernetes_server is a kubernetes server resource KubernetesServer *types.KubernetesServerV3 `protobuf:"bytes,5,opt,name=kubernetes_server,json=kubernetesServer,proto3,oneof"` }
type ResourceEntry_Role ¶
type ResourceEntry_Server ¶
type ResourceEntry_User ¶
type ResourceEntry_WindowsDesktop ¶
type ResourceEntry_WindowsDesktop struct { // windows_desktop is a resource for Windows desktop host. WindowsDesktop *types.WindowsDesktopV3 `protobuf:"bytes,8,opt,name=windows_desktop,json=windowsDesktop,proto3,oneof"` }
type ResourceHeaderList ¶
type ResourceHeaderList struct { Resources []*types.ResourceHeader `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` // contains filtered or unexported fields }
ResourceHeaderList is a list of resource headers to send to the access graph.
func (*ResourceHeaderList) Descriptor
deprecated
func (*ResourceHeaderList) Descriptor() ([]byte, []int)
Deprecated: Use ResourceHeaderList.ProtoReflect.Descriptor instead.
func (*ResourceHeaderList) GetResources ¶
func (x *ResourceHeaderList) GetResources() []*types.ResourceHeader
func (*ResourceHeaderList) ProtoMessage ¶
func (*ResourceHeaderList) ProtoMessage()
func (*ResourceHeaderList) ProtoReflect ¶
func (x *ResourceHeaderList) ProtoReflect() protoreflect.Message
func (*ResourceHeaderList) Reset ¶
func (x *ResourceHeaderList) Reset()
func (*ResourceHeaderList) String ¶
func (x *ResourceHeaderList) String() string
type ResourceList ¶
type ResourceList struct { Resources []*ResourceEntry `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` // contains filtered or unexported fields }
ResourceList is a list of resources to send to the access graph.
func (*ResourceList) Descriptor
deprecated
func (*ResourceList) Descriptor() ([]byte, []int)
Deprecated: Use ResourceList.ProtoReflect.Descriptor instead.
func (*ResourceList) GetResources ¶
func (x *ResourceList) GetResources() []*ResourceEntry
func (*ResourceList) ProtoMessage ¶
func (*ResourceList) ProtoMessage()
func (*ResourceList) ProtoReflect ¶
func (x *ResourceList) ProtoReflect() protoreflect.Message
func (*ResourceList) Reset ¶
func (x *ResourceList) Reset()
func (*ResourceList) String ¶
func (x *ResourceList) String() string
type SyncOperation ¶
type SyncOperation struct {
// contains filtered or unexported fields
}
SyncOperation is a command that Teleport sends to the access graph service at the end of the sync process.
func (*SyncOperation) Descriptor
deprecated
func (*SyncOperation) Descriptor() ([]byte, []int)
Deprecated: Use SyncOperation.ProtoReflect.Descriptor instead.
func (*SyncOperation) ProtoMessage ¶
func (*SyncOperation) ProtoMessage()
func (*SyncOperation) ProtoReflect ¶
func (x *SyncOperation) ProtoReflect() protoreflect.Message
func (*SyncOperation) Reset ¶
func (x *SyncOperation) Reset()
func (*SyncOperation) String ¶
func (x *SyncOperation) String() string
type UnimplementedAccessGraphServiceServer ¶
type UnimplementedAccessGraphServiceServer struct { }
UnimplementedAccessGraphServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAccessGraphServiceServer) EventsStream ¶
func (UnimplementedAccessGraphServiceServer) EventsStream(AccessGraphService_EventsStreamServer) error
func (UnimplementedAccessGraphServiceServer) GetFile ¶
func (UnimplementedAccessGraphServiceServer) GetFile(context.Context, *GetFileRequest) (*GetFileResponse, error)
func (UnimplementedAccessGraphServiceServer) Query ¶
func (UnimplementedAccessGraphServiceServer) Query(context.Context, *QueryRequest) (*QueryResponse, error)
type UnsafeAccessGraphServiceServer ¶
type UnsafeAccessGraphServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAccessGraphServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccessGraphServiceServer will result in compilation errors.