Documentation ¶
Index ¶
- Constants
- func NewServer(kubeContexts []string, currentKubeContext string) http.Handler
- type Server
- func (s *Server) ListContexts(ctx context.Context, msg *pb.ListContextsReq) (*pb.ListContextsRes, error)
- func (s *Server) ListEvents(ctx context.Context, msg *pb.ListEventsReq) (*pb.ListEventsRes, error)
- func (s *Server) ListHelmReleases(ctx context.Context, msg *pb.ListHelmReleasesReq) (*pb.ListHelmReleasesRes, error)
- func (s *Server) ListKustomizations(ctx context.Context, msg *pb.ListKustomizationsReq) (*pb.ListKustomizationsRes, error)
- func (s *Server) ListNamespacesForContext(ctx context.Context, msg *pb.ListNamespacesForContextReq) (*pb.ListNamespacesForContextRes, error)
- func (s *Server) ListSources(ctx context.Context, msg *pb.ListSourcesReq) (*pb.ListSourcesRes, error)
- func (s *Server) ListWorkloads(ctx context.Context, msg *pb.ListWorkloadsReq) (*pb.ListWorkloadsRes, error)
- func (s *Server) SyncKustomization(ctx context.Context, msg *pb.SyncKustomizationReq) (*pb.SyncKustomizationRes, error)
Constants ¶
View Source
const KustomizationNameLabelKey string = "kustomize.toolkit.fluxcd.io/name"
View Source
const KustomizationNamespaceLabelKey string = "kustomize.toolkit.fluxcd.io/namespace"
Variables ¶
This section is empty.
Functions ¶
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) 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) ListWorkloads ¶
func (s *Server) ListWorkloads(ctx context.Context, msg *pb.ListWorkloadsReq) (*pb.ListWorkloadsRes, error)
func (*Server) SyncKustomization ¶
func (s *Server) SyncKustomization(ctx context.Context, msg *pb.SyncKustomizationReq) (*pb.SyncKustomizationRes, error)
Click to show internal directories.
Click to hide internal directories.