datalifecycle

package
v0.0.0-...-d983439 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DisconnectedServicesJobName       = "disconnected_services"
	DeleteDisconnectedServicesJobName = "delete_disconnected_services"
)

if a new one is added here, add it to ValidServicesJobNames below so our error message stays correct

Variables

Functions

This section is empty.

Types

type Server

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

Server is the data lifecycle server handler implementation

func NewServer

func NewServer(ingestJobClient ingest.JobSchedulerServiceClient,
	ingestPurgeClient data_lifecycle.PurgeClient,
	compliancePurgeClient data_lifecycle.PurgeClient,
	eventFeedPurgeClient data_lifecycle.PurgeClient,
	appsClient apps.ApplicationsServiceClient,
) *Server

NewServer returns a pointer to a new instance of the Server

func (*Server) GetComplianceStatus

GetComplianceStatus returns the compliance purge status

func (*Server) GetEventFeedStatus

GetEventFeedStatus returns the event feed purge status

func (*Server) GetInfraStatus

GetInfraStatus returns the infra job statuses by combining the nodes missing, nodes deleting, nodes missing deleting, and infra purge workflows details.

func (*Server) GetServicesStatus

GetServicesStatus returns the applications data lifecycle status

func (*Server) GetStatus

func (s *Server) GetStatus(ctx context.Context, req *api.GetStatusRequest) (*api.GetStatusResponse, error)

GetStatus returns the aggregate status across all data lifecycle schedules and configuration.

func (*Server) Run

func (s *Server) Run(ctx context.Context, req *api.RunRequest) (*api.RunResponse, error)

Run runs all data lifecycle jobs

func (*Server) RunCompliance

func (s *Server) RunCompliance(ctx context.Context, req *api.RunComplianceRequest) (*api.RunComplianceResponse, error)

RunCompliance runs the compliance data purge

func (*Server) RunEventFeed

func (s *Server) RunEventFeed(ctx context.Context, req *api.RunEventFeedRequest) (*api.RunEventFeedResponse, error)

RunEventFeed runs the event feed data purge

func (*Server) RunInfra

func (s *Server) RunInfra(ctx context.Context, req *api.RunInfraRequest) (*api.RunInfraResponse, error)

RunInfra runs all of the infra data lifecycle jobs

func (*Server) RunServices

func (s *Server) RunServices(ctx context.Context, req *api.RunServicesRequest) (*api.RunServicesResponse, error)

RunServices runs the applications data life cycle jobs

func (*Server) SetComplianceConfig

SetComplianceConfig configures the compliance purge policies

func (*Server) SetConfig

func (s *Server) SetConfig(ctx context.Context, req *api.SetConfigRequest) (*api.SetConfigResponse, error)

SetConfig configures all data lifecycle jobs

func (*Server) SetEventFeedConfig

SetEventFeedConfig configures the event feed purge policies

func (*Server) SetInfraConfig

SetInfraConfig configures all data lifecycle jobs

func (*Server) SetServicesConfig

SetServicesConfig configures the applications data lifecycle jobs

Jump to

Keyboard shortcuts

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