clustersserver

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const KustomizationNameLabelKey string = "kustomize.toolkit.fluxcd.io/name"
View Source
const KustomizationNamespaceLabelKey string = "kustomize.toolkit.fluxcd.io/namespace"
View Source
const KustomizeNameKey string = "kustomize.toolkit.fluxcd.io/name"
View Source
const KustomizeNamespaceKey string = "kustomize.toolkit.fluxcd.io/namespace"

Variables

This section is empty.

Functions

func NewServer

func NewServer(kubeContexts []string, currentKubeContext string) http.Handler

Types

type Server

type Server struct {
	ClientCache       clientCache
	AvailableContexts []string
	InitialContext    string
	CreateClient      func(string) (client.Client, error)
	// contains filtered or unexported fields
}

func (*Server) GetChildObjects added in v0.1.0

func (s *Server) GetChildObjects(ctx context.Context, msg *pb.GetChildObjectsReq) (*pb.GetChildObjectsRes, error)

func (*Server) GetReconciledObjects added in v0.1.0

func (s *Server) GetReconciledObjects(ctx context.Context, msg *pb.GetReconciledObjectsReq) (*pb.GetReconciledObjectsRes, error)

func (*Server) ListContexts

func (s *Server) ListContexts(ctx context.Context, msg *pb.ListContextsReq) (*pb.ListContextsRes, error)

func (*Server) ListEvents

func (s *Server) ListEvents(ctx context.Context, msg *pb.ListEventsReq) (*pb.ListEventsRes, error)

func (*Server) ListHelmReleases

func (s *Server) ListHelmReleases(ctx context.Context, msg *pb.ListHelmReleasesReq) (*pb.ListHelmReleasesRes, error)

func (*Server) ListKustomizations

func (s *Server) ListKustomizations(ctx context.Context, msg *pb.ListKustomizationsReq) (*pb.ListKustomizationsRes, error)

func (*Server) ListNamespacesForContext

func (s *Server) ListNamespacesForContext(ctx context.Context, msg *pb.ListNamespacesForContextReq) (*pb.ListNamespacesForContextRes, error)

func (*Server) ListSources

func (s *Server) ListSources(ctx context.Context, msg *pb.ListSourcesReq) (*pb.ListSourcesRes, error)

func (*Server) SyncHelmRelease added in v0.1.0

func (s *Server) SyncHelmRelease(ctx context.Context, msg *pb.SyncHelmReleaseReq) (*pb.SyncHelmReleaseRes, error)

func (*Server) SyncKustomization

func (s *Server) SyncKustomization(ctx context.Context, msg *pb.SyncKustomizationReq) (*pb.SyncKustomizationRes, error)

func (*Server) SyncSource added in v0.1.0

func (s *Server) SyncSource(ctx context.Context, msg *pb.SyncSourceReq) (*pb.SyncSourceRes, error)

Jump to

Keyboard shortcuts

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