resources

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package resources implements resources API server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessPolicy added in v1.2.0

func AccessPolicy(st state.State) state.FilteringRule

AccessPolicy defines the access policy for resources accessed via the API.

Types

type Server

type Server struct {
	resourceapi.UnimplementedResourceServiceServer

	Resources state.State
}

Server implements ResourceService API.

func (*Server) Get

Get implements resource.ResourceServiceServer interface.

func (*Server) List

List implements resource.ResourceServiceServer interface.

func (*Server) Watch

Watch implements resource.ResourceServiceServer interface.

Jump to

Keyboard shortcuts

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