Documentation ¶
Index ¶
- type AppRuntimeSyncServer
- func (a *AppRuntimeSyncServer) CheckAppStatus(ctx context.Context, ps *pb.StatusRequest) (*pb.ErrorMessage, error)
- func (a *AppRuntimeSyncServer) GetAppStatus(ctx context.Context, sr *pb.StatusRequest) (*pb.StatusMessage, error)
- func (a *AppRuntimeSyncServer) IgnoreDeleteEvent(ctx context.Context, pi *pb.Ignore) (*pb.ErrorMessage, error)
- func (a *AppRuntimeSyncServer) RmIgnoreDeleteEvent(ctx context.Context, pi *pb.Ignore) (*pb.ErrorMessage, error)
- func (a *AppRuntimeSyncServer) SetAppStatus(ctx context.Context, ps *pb.StatusMessage) (*pb.ErrorMessage, error)
- func (a *AppRuntimeSyncServer) Start() error
- func (a *AppRuntimeSyncServer) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppRuntimeSyncServer ¶
type AppRuntimeSyncServer struct { StatusManager *status.Manager Ctx context.Context Cancel context.CancelFunc ClientSet *kubernetes.Clientset // contains filtered or unexported fields }
AppRuntimeSyncServer AppRuntimeSyncServer
func NewAppRuntimeSyncServer ¶
func NewAppRuntimeSyncServer(conf option.Config) *AppRuntimeSyncServer
NewAppRuntimeSyncServer create app runtime sync server
func (*AppRuntimeSyncServer) CheckAppStatus ¶
func (a *AppRuntimeSyncServer) CheckAppStatus(ctx context.Context, ps *pb.StatusRequest) (*pb.ErrorMessage, error)
CheckAppStatus check app status
func (*AppRuntimeSyncServer) GetAppStatus ¶
func (a *AppRuntimeSyncServer) GetAppStatus(ctx context.Context, sr *pb.StatusRequest) (*pb.StatusMessage, error)
GetAppStatus get specified app status
func (*AppRuntimeSyncServer) IgnoreDeleteEvent ¶
func (a *AppRuntimeSyncServer) IgnoreDeleteEvent(ctx context.Context, pi *pb.Ignore) (*pb.ErrorMessage, error)
IgnoreDeleteEvent ignore resource delete event
func (*AppRuntimeSyncServer) RmIgnoreDeleteEvent ¶
func (a *AppRuntimeSyncServer) RmIgnoreDeleteEvent(ctx context.Context, pi *pb.Ignore) (*pb.ErrorMessage, error)
RmIgnoreDeleteEvent rm ignore resource delete event
func (*AppRuntimeSyncServer) SetAppStatus ¶
func (a *AppRuntimeSyncServer) SetAppStatus(ctx context.Context, ps *pb.StatusMessage) (*pb.ErrorMessage, error)
SetAppStatus set app status
Click to show internal directories.
Click to hide internal directories.