resources

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 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

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