Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMM-4879 Added defaults file. #863

Closed
wants to merge 17 commits into from
Closed
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 40 additions & 28 deletions api/agentpb/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ func (m *PBMSwitchPITRResponse) AgentMessageResponsePayload() isAgentMessage_Pay
return &AgentMessage_PbmSwitchPitr{PbmSwitchPitr: m}
}

func (m *ParseDefaultsFileResponse) AgentMessageResponsePayload() isAgentMessage_Payload {
return &AgentMessage_ParseDefaultsFile{ParseDefaultsFile: m}
}

// A list of ServerMessage response payloads.

func (m *Pong) ServerMessageResponsePayload() isServerMessage_Payload {
Expand Down Expand Up @@ -175,35 +179,41 @@ func (m *PBMSwitchPITRRequest) ServerMessageRequestPayload() isServerMessage_Pay
return &ServerMessage_PbmSwitchPitr{PbmSwitchPitr: m}
}

func (m *ParseDefaultsFileRequest) ServerMessageRequestPayload() isServerMessage_Payload {
return &ServerMessage_ParseDefaultsFile{ParseDefaultsFile: m}
}

// in alphabetical order
func (*ActionResultRequest) sealed() {}
func (*ActionResultResponse) sealed() {}
func (*CheckConnectionRequest) sealed() {}
func (*CheckConnectionResponse) sealed() {}
func (*JobProgress) sealed() {}
func (*JobResult) sealed() {}
func (*JobStatusRequest) sealed() {}
func (*JobStatusResponse) sealed() {}
func (*Ping) sealed() {}
func (*Pong) sealed() {}
func (*QANCollectRequest) sealed() {}
func (*QANCollectResponse) sealed() {}
func (*SetStateRequest) sealed() {}
func (*SetStateResponse) sealed() {}
func (*StartActionRequest) sealed() {}
func (*StartActionResponse) sealed() {}
func (*StartJobRequest) sealed() {}
func (*StartJobResponse) sealed() {}
func (*StateChangedRequest) sealed() {}
func (*StateChangedResponse) sealed() {}
func (*StopActionRequest) sealed() {}
func (*StopActionResponse) sealed() {}
func (*StopJobRequest) sealed() {}
func (*StopJobResponse) sealed() {}
func (*GetVersionsRequest) sealed() {}
func (*GetVersionsResponse) sealed() {}
func (*PBMSwitchPITRRequest) sealed() {}
func (*PBMSwitchPITRResponse) sealed() {}
func (*ActionResultRequest) sealed() {}
func (*ActionResultResponse) sealed() {}
func (*CheckConnectionRequest) sealed() {}
func (*CheckConnectionResponse) sealed() {}
func (*JobProgress) sealed() {}
func (*JobResult) sealed() {}
func (*JobStatusRequest) sealed() {}
func (*JobStatusResponse) sealed() {}
func (*ParseDefaultsFileRequest) sealed() {}
func (*ParseDefaultsFileResponse) sealed() {}
func (*Ping) sealed() {}
func (*Pong) sealed() {}
func (*QANCollectRequest) sealed() {}
func (*QANCollectResponse) sealed() {}
func (*SetStateRequest) sealed() {}
func (*SetStateResponse) sealed() {}
func (*StartActionRequest) sealed() {}
func (*StartActionResponse) sealed() {}
func (*StartJobRequest) sealed() {}
func (*StartJobResponse) sealed() {}
func (*StateChangedRequest) sealed() {}
func (*StateChangedResponse) sealed() {}
func (*StopActionRequest) sealed() {}
func (*StopActionResponse) sealed() {}
func (*StopJobRequest) sealed() {}
func (*StopJobResponse) sealed() {}
func (*GetVersionsRequest) sealed() {}
func (*GetVersionsResponse) sealed() {}
func (*PBMSwitchPITRRequest) sealed() {}
func (*PBMSwitchPITRResponse) sealed() {}

// check interfaces
var (
Expand All @@ -225,6 +235,7 @@ var (
_ AgentResponsePayload = (*StopJobResponse)(nil)
_ AgentResponsePayload = (*JobStatusResponse)(nil)
_ AgentResponsePayload = (*GetVersionsResponse)(nil)
_ AgentResponsePayload = (*ParseDefaultsFileResponse)(nil)

// A list of ServerMessage response payloads.
_ ServerResponsePayload = (*Pong)(nil)
Expand All @@ -243,6 +254,7 @@ var (
_ ServerRequestPayload = (*JobStatusRequest)(nil)
_ ServerRequestPayload = (*GetVersionsRequest)(nil)
_ ServerRequestPayload = (*PBMSwitchPITRRequest)(nil)
_ ServerRequestPayload = (*ParseDefaultsFileRequest)(nil)
)

//go-sumtype:decl AgentParams
Expand Down
Loading