v1

package
v0.0.0-...-8082521 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataResults

type DataResults struct {
	Result []map[string]interface{} `json:"result"`
}

type PrometheusResults

type PrometheusResults struct {
	Data DataResults `json:"data"`
}

type Server

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

func NewServer

func NewServer(env internal.EnvVars) (*Server, error)

func (*Server) CreateTinyApp

func (s *Server) CreateTinyApp(ctx context.Context, in *pb.CreateTinyAppRequest) (*pb.CreateTinyAppResponse, error)

func (*Server) DeleteTinyApp

func (s *Server) DeleteTinyApp(ctx context.Context, in *pb.DeleteTinyAppRequest) (*emptypb.Empty, error)

func (*Server) GetTinyApp

func (s *Server) GetTinyApp(ctx context.Context, appId string) (*v1alpha1.TinyApp, error)

func (*Server) GetTinyAppLogs

func (s *Server) GetTinyAppLogs(ctx context.Context, in *pb.GetTinyAppLogsRequest) (*pb.GetTinyAppLogsResponse, error)

func (*Server) ListTinyApps

func (s *Server) ListTinyApps(ctx context.Context, req *pb.ListTinyAppsRequest) (*pb.ListTinyAppsResponse, error)

func (*Server) UpdateTinyApp

func (s *Server) UpdateTinyApp(ctx context.Context, in *pb.UpdateTinyAppRequest) (*pb.UpdateTinyAppResponse, error)

type UserNameData

type UserNameData struct {
	Username string `json:"username"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳