server

package
v0.0.0-...-9ef13ba Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResourceServer

func NewResourceServer(
	k8sCache client.Client,
	clusterCache cache.ClusterCache,
	kubernetesClient *kubernetes.Clientset,
	dynamicClient dynamic.Interface,
) pbv1.ResourceServiceServer

func NewServer

func NewServer(
	logger logr.Logger,
	resourceServer pbv1.ResourceServiceServer,
) *server

Types

type ResourceServer

type ResourceServer struct {
	// contains filtered or unexported fields
}

func (ResourceServer) Events

Events implements v1.ResourceServiceServer

func (ResourceServer) Get

Get implements v1.ResourceServiceServer

func (ResourceServer) GetResourceHealthAndMessage

func (r ResourceServer) GetResourceHealthAndMessage(resource *cache.Resource) (string, string)

func (ResourceServer) Logs

Logs implements v1.ResourceServiceServer

func (ResourceServer) Manifest

func (ResourceServer) Tree

Jump to

Keyboard shortcuts

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