v2

package
v1.35.0-aplha Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	BuildIntentCallback   func()
	SyncIntentCallback    func()
	DeployIntentCallback  func()
	DevloopIntentCallback func()
	AutoBuildCallback     func(bool)
	AutoSyncCallback      func(bool)
	AutoDeployCallback    func(bool)
	AutoDevloopCallback   func(bool)
}
var (
	Srv *Server
)

func (*Server) ApplicationLogs added in v1.25.0

func (s *Server) ApplicationLogs(_ *empty.Empty, stream proto.SkaffoldV2Service_ApplicationLogsServer) error

func (*Server) AutoBuild

func (s *Server) AutoBuild(ctx context.Context, request *proto.TriggerRequest) (res *empty.Empty, err error)

func (*Server) AutoDeploy

func (s *Server) AutoDeploy(ctx context.Context, request *proto.TriggerRequest) (res *empty.Empty, err error)

func (*Server) AutoSync

func (s *Server) AutoSync(ctx context.Context, request *proto.TriggerRequest) (res *empty.Empty, err error)

func (*Server) Events

func (*Server) Execute

func (s *Server) Execute(ctx context.Context, request *proto.UserIntentRequest) (*empty.Empty, error)

func (*Server) GetState

func (s *Server) GetState(context.Context, *empty.Empty) (*proto.State, error)

func (*Server) Handle

func (s *Server) Handle(ctx context.Context, e *proto.Event) (*empty.Empty, error)

Jump to

Keyboard shortcuts

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