Documentation ¶
Index ¶
- Constants
- func NewServer(kubeContexts []string, currentKubeContext string) http.Handler
- type Server
- func (s *Server) GetChildObjects(ctx context.Context, msg *pb.GetChildObjectsReq) (*pb.GetChildObjectsRes, error)
- func (s *Server) GetReconciledObjects(ctx context.Context, msg *pb.GetReconciledObjectsReq) (*pb.GetReconciledObjectsRes, error)
- 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) SyncHelmRelease(ctx context.Context, msg *pb.SyncHelmReleaseReq) (*pb.SyncHelmReleaseRes, error)
- func (s *Server) SyncKustomization(ctx context.Context, msg *pb.SyncKustomizationReq) (*pb.SyncKustomizationRes, error)
- func (s *Server) SyncSource(ctx context.Context, msg *pb.SyncSourceReq) (*pb.SyncSourceRes, error)
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 ¶
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)
Click to show internal directories.
Click to hide internal directories.