Documentation ¶
Index ¶
- Variables
- func RegisterAgentEndpointServiceServer(s *grpc.Server, srv AgentEndpointServiceServer)
- type AgentEndpointServiceClient
- type AgentEndpointServiceServer
- type AgentEndpointService_ReceiveTaskNotificationClient
- type AgentEndpointService_ReceiveTaskNotificationServer
- type ApplyPatchesTask
- func (*ApplyPatchesTask) Descriptor() ([]byte, []int)
- func (m *ApplyPatchesTask) GetDryRun() bool
- func (m *ApplyPatchesTask) GetPatchConfig() *PatchConfig
- func (*ApplyPatchesTask) ProtoMessage()
- func (m *ApplyPatchesTask) Reset()
- func (m *ApplyPatchesTask) String() string
- func (m *ApplyPatchesTask) XXX_DiscardUnknown()
- func (m *ApplyPatchesTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApplyPatchesTask) XXX_Merge(src proto.Message)
- func (m *ApplyPatchesTask) XXX_Size() int
- func (m *ApplyPatchesTask) XXX_Unmarshal(b []byte) error
- type ApplyPatchesTaskOutput
- func (*ApplyPatchesTaskOutput) Descriptor() ([]byte, []int)
- func (m *ApplyPatchesTaskOutput) GetState() ApplyPatchesTaskOutput_State
- func (*ApplyPatchesTaskOutput) ProtoMessage()
- func (m *ApplyPatchesTaskOutput) Reset()
- func (m *ApplyPatchesTaskOutput) String() string
- func (m *ApplyPatchesTaskOutput) XXX_DiscardUnknown()
- func (m *ApplyPatchesTaskOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApplyPatchesTaskOutput) XXX_Merge(src proto.Message)
- func (m *ApplyPatchesTaskOutput) XXX_Size() int
- func (m *ApplyPatchesTaskOutput) XXX_Unmarshal(b []byte) error
- type ApplyPatchesTaskOutput_State
- type ApplyPatchesTaskProgress
- func (*ApplyPatchesTaskProgress) Descriptor() ([]byte, []int)
- func (m *ApplyPatchesTaskProgress) GetState() ApplyPatchesTaskProgress_State
- func (*ApplyPatchesTaskProgress) ProtoMessage()
- func (m *ApplyPatchesTaskProgress) Reset()
- func (m *ApplyPatchesTaskProgress) String() string
- func (m *ApplyPatchesTaskProgress) XXX_DiscardUnknown()
- func (m *ApplyPatchesTaskProgress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApplyPatchesTaskProgress) XXX_Merge(src proto.Message)
- func (m *ApplyPatchesTaskProgress) XXX_Size() int
- func (m *ApplyPatchesTaskProgress) XXX_Unmarshal(b []byte) error
- type ApplyPatchesTaskProgress_State
- type AptSettings
- func (*AptSettings) Descriptor() ([]byte, []int)
- func (m *AptSettings) GetExcludes() []string
- func (m *AptSettings) GetExclusivePackages() []string
- func (m *AptSettings) GetType() AptSettings_Type
- func (*AptSettings) ProtoMessage()
- func (m *AptSettings) Reset()
- func (m *AptSettings) String() string
- func (m *AptSettings) XXX_DiscardUnknown()
- func (m *AptSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AptSettings) XXX_Merge(src proto.Message)
- func (m *AptSettings) XXX_Size() int
- func (m *AptSettings) XXX_Unmarshal(b []byte) error
- type AptSettings_Type
- type ExecStep
- func (*ExecStep) Descriptor() ([]byte, []int)
- func (m *ExecStep) GetLinuxExecStepConfig() *ExecStepConfig
- func (m *ExecStep) GetWindowsExecStepConfig() *ExecStepConfig
- func (*ExecStep) ProtoMessage()
- func (m *ExecStep) Reset()
- func (m *ExecStep) String() string
- func (m *ExecStep) XXX_DiscardUnknown()
- func (m *ExecStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecStep) XXX_Merge(src proto.Message)
- func (m *ExecStep) XXX_Size() int
- func (m *ExecStep) XXX_Unmarshal(b []byte) error
- type ExecStepConfig
- func (*ExecStepConfig) Descriptor() ([]byte, []int)
- func (m *ExecStepConfig) GetAllowedSuccessCodes() []int32
- func (m *ExecStepConfig) GetExecutable() isExecStepConfig_Executable
- func (m *ExecStepConfig) GetGcsObject() *GcsObject
- func (m *ExecStepConfig) GetInterpreter() ExecStepConfig_Interpreter
- func (m *ExecStepConfig) GetLocalPath() string
- func (*ExecStepConfig) ProtoMessage()
- func (m *ExecStepConfig) Reset()
- func (m *ExecStepConfig) String() string
- func (m *ExecStepConfig) XXX_DiscardUnknown()
- func (m *ExecStepConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecStepConfig) XXX_Merge(src proto.Message)
- func (*ExecStepConfig) XXX_OneofWrappers() []interface{}
- func (m *ExecStepConfig) XXX_Size() int
- func (m *ExecStepConfig) XXX_Unmarshal(b []byte) error
- type ExecStepConfig_GcsObject
- type ExecStepConfig_Interpreter
- type ExecStepConfig_LocalPath
- type ExecStepTask
- func (*ExecStepTask) Descriptor() ([]byte, []int)
- func (m *ExecStepTask) GetExecStep() *ExecStep
- func (*ExecStepTask) ProtoMessage()
- func (m *ExecStepTask) Reset()
- func (m *ExecStepTask) String() string
- func (m *ExecStepTask) XXX_DiscardUnknown()
- func (m *ExecStepTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecStepTask) XXX_Merge(src proto.Message)
- func (m *ExecStepTask) XXX_Size() int
- func (m *ExecStepTask) XXX_Unmarshal(b []byte) error
- type ExecStepTaskOutput
- func (*ExecStepTaskOutput) Descriptor() ([]byte, []int)
- func (m *ExecStepTaskOutput) GetExitCode() int32
- func (m *ExecStepTaskOutput) GetState() ExecStepTaskOutput_State
- func (*ExecStepTaskOutput) ProtoMessage()
- func (m *ExecStepTaskOutput) Reset()
- func (m *ExecStepTaskOutput) String() string
- func (m *ExecStepTaskOutput) XXX_DiscardUnknown()
- func (m *ExecStepTaskOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecStepTaskOutput) XXX_Merge(src proto.Message)
- func (m *ExecStepTaskOutput) XXX_Size() int
- func (m *ExecStepTaskOutput) XXX_Unmarshal(b []byte) error
- type ExecStepTaskOutput_State
- type ExecStepTaskProgress
- func (*ExecStepTaskProgress) Descriptor() ([]byte, []int)
- func (m *ExecStepTaskProgress) GetState() ExecStepTaskProgress_State
- func (*ExecStepTaskProgress) ProtoMessage()
- func (m *ExecStepTaskProgress) Reset()
- func (m *ExecStepTaskProgress) String() string
- func (m *ExecStepTaskProgress) XXX_DiscardUnknown()
- func (m *ExecStepTaskProgress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecStepTaskProgress) XXX_Merge(src proto.Message)
- func (m *ExecStepTaskProgress) XXX_Size() int
- func (m *ExecStepTaskProgress) XXX_Unmarshal(b []byte) error
- type ExecStepTaskProgress_State
- type GcsObject
- func (*GcsObject) Descriptor() ([]byte, []int)
- func (m *GcsObject) GetBucket() string
- func (m *GcsObject) GetGenerationNumber() int64
- func (m *GcsObject) GetObject() string
- func (*GcsObject) ProtoMessage()
- func (m *GcsObject) Reset()
- func (m *GcsObject) String() string
- func (m *GcsObject) XXX_DiscardUnknown()
- func (m *GcsObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GcsObject) XXX_Merge(src proto.Message)
- func (m *GcsObject) XXX_Size() int
- func (m *GcsObject) XXX_Unmarshal(b []byte) error
- type GooSettings
- func (*GooSettings) Descriptor() ([]byte, []int)
- func (*GooSettings) ProtoMessage()
- func (m *GooSettings) Reset()
- func (m *GooSettings) String() string
- func (m *GooSettings) XXX_DiscardUnknown()
- func (m *GooSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GooSettings) XXX_Merge(src proto.Message)
- func (m *GooSettings) XXX_Size() int
- func (m *GooSettings) XXX_Unmarshal(b []byte) error
- type PatchConfig
- func (*PatchConfig) Descriptor() ([]byte, []int)
- func (m *PatchConfig) GetApt() *AptSettings
- func (m *PatchConfig) GetGoo() *GooSettings
- func (m *PatchConfig) GetPostStep() *ExecStep
- func (m *PatchConfig) GetPreStep() *ExecStep
- func (m *PatchConfig) GetRebootConfig() PatchConfig_RebootConfig
- func (m *PatchConfig) GetRetryStrategy() *RetryStrategy
- func (m *PatchConfig) GetWindowsUpdate() *WindowsUpdateSettings
- func (m *PatchConfig) GetYum() *YumSettings
- func (m *PatchConfig) GetZypper() *ZypperSettings
- func (*PatchConfig) ProtoMessage()
- func (m *PatchConfig) Reset()
- func (m *PatchConfig) String() string
- func (m *PatchConfig) XXX_DiscardUnknown()
- func (m *PatchConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PatchConfig) XXX_Merge(src proto.Message)
- func (m *PatchConfig) XXX_Size() int
- func (m *PatchConfig) XXX_Unmarshal(b []byte) error
- type PatchConfig_RebootConfig
- type ReceiveTaskNotificationRequest
- func (*ReceiveTaskNotificationRequest) Descriptor() ([]byte, []int)
- func (m *ReceiveTaskNotificationRequest) GetAgentVersion() string
- func (m *ReceiveTaskNotificationRequest) GetInstanceIdToken() string
- func (*ReceiveTaskNotificationRequest) ProtoMessage()
- func (m *ReceiveTaskNotificationRequest) Reset()
- func (m *ReceiveTaskNotificationRequest) String() string
- func (m *ReceiveTaskNotificationRequest) XXX_DiscardUnknown()
- func (m *ReceiveTaskNotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiveTaskNotificationRequest) XXX_Merge(src proto.Message)
- func (m *ReceiveTaskNotificationRequest) XXX_Size() int
- func (m *ReceiveTaskNotificationRequest) XXX_Unmarshal(b []byte) error
- type ReceiveTaskNotificationResponse
- func (*ReceiveTaskNotificationResponse) Descriptor() ([]byte, []int)
- func (*ReceiveTaskNotificationResponse) ProtoMessage()
- func (m *ReceiveTaskNotificationResponse) Reset()
- func (m *ReceiveTaskNotificationResponse) String() string
- func (m *ReceiveTaskNotificationResponse) XXX_DiscardUnknown()
- func (m *ReceiveTaskNotificationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiveTaskNotificationResponse) XXX_Merge(src proto.Message)
- func (m *ReceiveTaskNotificationResponse) XXX_Size() int
- func (m *ReceiveTaskNotificationResponse) XXX_Unmarshal(b []byte) error
- type RegisterAgentRequest
- func (*RegisterAgentRequest) Descriptor() ([]byte, []int)
- func (m *RegisterAgentRequest) GetAgentVersion() string
- func (m *RegisterAgentRequest) GetInstanceIdToken() string
- func (m *RegisterAgentRequest) GetSupportedCapabilities() []string
- func (*RegisterAgentRequest) ProtoMessage()
- func (m *RegisterAgentRequest) Reset()
- func (m *RegisterAgentRequest) String() string
- func (m *RegisterAgentRequest) XXX_DiscardUnknown()
- func (m *RegisterAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterAgentRequest) XXX_Merge(src proto.Message)
- func (m *RegisterAgentRequest) XXX_Size() int
- func (m *RegisterAgentRequest) XXX_Unmarshal(b []byte) error
- type RegisterAgentResponse
- func (*RegisterAgentResponse) Descriptor() ([]byte, []int)
- func (*RegisterAgentResponse) ProtoMessage()
- func (m *RegisterAgentResponse) Reset()
- func (m *RegisterAgentResponse) String() string
- func (m *RegisterAgentResponse) XXX_DiscardUnknown()
- func (m *RegisterAgentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterAgentResponse) XXX_Merge(src proto.Message)
- func (m *RegisterAgentResponse) XXX_Size() int
- func (m *RegisterAgentResponse) XXX_Unmarshal(b []byte) error
- type ReportTaskCompleteRequest
- func (*ReportTaskCompleteRequest) Descriptor() ([]byte, []int)
- func (m *ReportTaskCompleteRequest) GetApplyPatchesTaskOutput() *ApplyPatchesTaskOutput
- func (m *ReportTaskCompleteRequest) GetErrorMessage() string
- func (m *ReportTaskCompleteRequest) GetExecStepTaskOutput() *ExecStepTaskOutput
- func (m *ReportTaskCompleteRequest) GetInstanceIdToken() string
- func (m *ReportTaskCompleteRequest) GetOutput() isReportTaskCompleteRequest_Output
- func (m *ReportTaskCompleteRequest) GetTaskId() string
- func (m *ReportTaskCompleteRequest) GetTaskType() TaskType
- func (*ReportTaskCompleteRequest) ProtoMessage()
- func (m *ReportTaskCompleteRequest) Reset()
- func (m *ReportTaskCompleteRequest) String() string
- func (m *ReportTaskCompleteRequest) XXX_DiscardUnknown()
- func (m *ReportTaskCompleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReportTaskCompleteRequest) XXX_Merge(src proto.Message)
- func (*ReportTaskCompleteRequest) XXX_OneofWrappers() []interface{}
- func (m *ReportTaskCompleteRequest) XXX_Size() int
- func (m *ReportTaskCompleteRequest) XXX_Unmarshal(b []byte) error
- type ReportTaskCompleteRequest_ApplyPatchesTaskOutput
- type ReportTaskCompleteRequest_ExecStepTaskOutput
- type ReportTaskCompleteResponse
- func (*ReportTaskCompleteResponse) Descriptor() ([]byte, []int)
- func (*ReportTaskCompleteResponse) ProtoMessage()
- func (m *ReportTaskCompleteResponse) Reset()
- func (m *ReportTaskCompleteResponse) String() string
- func (m *ReportTaskCompleteResponse) XXX_DiscardUnknown()
- func (m *ReportTaskCompleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReportTaskCompleteResponse) XXX_Merge(src proto.Message)
- func (m *ReportTaskCompleteResponse) XXX_Size() int
- func (m *ReportTaskCompleteResponse) XXX_Unmarshal(b []byte) error
- type ReportTaskProgressRequest
- func (*ReportTaskProgressRequest) Descriptor() ([]byte, []int)
- func (m *ReportTaskProgressRequest) GetApplyPatchesTaskProgress() *ApplyPatchesTaskProgress
- func (m *ReportTaskProgressRequest) GetExecStepTaskProgress() *ExecStepTaskProgress
- func (m *ReportTaskProgressRequest) GetInstanceIdToken() string
- func (m *ReportTaskProgressRequest) GetProgress() isReportTaskProgressRequest_Progress
- func (m *ReportTaskProgressRequest) GetTaskId() string
- func (m *ReportTaskProgressRequest) GetTaskType() TaskType
- func (*ReportTaskProgressRequest) ProtoMessage()
- func (m *ReportTaskProgressRequest) Reset()
- func (m *ReportTaskProgressRequest) String() string
- func (m *ReportTaskProgressRequest) XXX_DiscardUnknown()
- func (m *ReportTaskProgressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReportTaskProgressRequest) XXX_Merge(src proto.Message)
- func (*ReportTaskProgressRequest) XXX_OneofWrappers() []interface{}
- func (m *ReportTaskProgressRequest) XXX_Size() int
- func (m *ReportTaskProgressRequest) XXX_Unmarshal(b []byte) error
- type ReportTaskProgressRequest_ApplyPatchesTaskProgress
- type ReportTaskProgressRequest_ExecStepTaskProgress
- type ReportTaskProgressResponse
- func (*ReportTaskProgressResponse) Descriptor() ([]byte, []int)
- func (m *ReportTaskProgressResponse) GetTaskDirective() TaskDirective
- func (*ReportTaskProgressResponse) ProtoMessage()
- func (m *ReportTaskProgressResponse) Reset()
- func (m *ReportTaskProgressResponse) String() string
- func (m *ReportTaskProgressResponse) XXX_DiscardUnknown()
- func (m *ReportTaskProgressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReportTaskProgressResponse) XXX_Merge(src proto.Message)
- func (m *ReportTaskProgressResponse) XXX_Size() int
- func (m *ReportTaskProgressResponse) XXX_Unmarshal(b []byte) error
- type RetryStrategy
- func (*RetryStrategy) Descriptor() ([]byte, []int)
- func (m *RetryStrategy) GetEnabled() bool
- func (*RetryStrategy) ProtoMessage()
- func (m *RetryStrategy) Reset()
- func (m *RetryStrategy) String() string
- func (m *RetryStrategy) XXX_DiscardUnknown()
- func (m *RetryStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RetryStrategy) XXX_Merge(src proto.Message)
- func (m *RetryStrategy) XXX_Size() int
- func (m *RetryStrategy) XXX_Unmarshal(b []byte) error
- type StartNextTaskRequest
- func (*StartNextTaskRequest) Descriptor() ([]byte, []int)
- func (m *StartNextTaskRequest) GetInstanceIdToken() string
- func (*StartNextTaskRequest) ProtoMessage()
- func (m *StartNextTaskRequest) Reset()
- func (m *StartNextTaskRequest) String() string
- func (m *StartNextTaskRequest) XXX_DiscardUnknown()
- func (m *StartNextTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StartNextTaskRequest) XXX_Merge(src proto.Message)
- func (m *StartNextTaskRequest) XXX_Size() int
- func (m *StartNextTaskRequest) XXX_Unmarshal(b []byte) error
- type StartNextTaskResponse
- func (*StartNextTaskResponse) Descriptor() ([]byte, []int)
- func (m *StartNextTaskResponse) GetTask() *Task
- func (*StartNextTaskResponse) ProtoMessage()
- func (m *StartNextTaskResponse) Reset()
- func (m *StartNextTaskResponse) String() string
- func (m *StartNextTaskResponse) XXX_DiscardUnknown()
- func (m *StartNextTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StartNextTaskResponse) XXX_Merge(src proto.Message)
- func (m *StartNextTaskResponse) XXX_Size() int
- func (m *StartNextTaskResponse) XXX_Unmarshal(b []byte) error
- type Task
- func (*Task) Descriptor() ([]byte, []int)
- func (m *Task) GetApplyPatchesTask() *ApplyPatchesTask
- func (m *Task) GetExecStepTask() *ExecStepTask
- func (m *Task) GetServiceLabels() map[string]string
- func (m *Task) GetTaskDetails() isTask_TaskDetails
- func (m *Task) GetTaskDirective() TaskDirective
- func (m *Task) GetTaskId() string
- func (m *Task) GetTaskType() TaskType
- func (*Task) ProtoMessage()
- func (m *Task) Reset()
- func (m *Task) String() string
- func (m *Task) XXX_DiscardUnknown()
- func (m *Task) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Task) XXX_Merge(src proto.Message)
- func (*Task) XXX_OneofWrappers() []interface{}
- func (m *Task) XXX_Size() int
- func (m *Task) XXX_Unmarshal(b []byte) error
- type TaskDirective
- type TaskType
- type Task_ApplyPatchesTask
- type Task_ExecStepTask
- type UnimplementedAgentEndpointServiceServer
- func (*UnimplementedAgentEndpointServiceServer) ReceiveTaskNotification(req *ReceiveTaskNotificationRequest, ...) error
- func (*UnimplementedAgentEndpointServiceServer) RegisterAgent(ctx context.Context, req *RegisterAgentRequest) (*RegisterAgentResponse, error)
- func (*UnimplementedAgentEndpointServiceServer) ReportTaskComplete(ctx context.Context, req *ReportTaskCompleteRequest) (*ReportTaskCompleteResponse, error)
- func (*UnimplementedAgentEndpointServiceServer) ReportTaskProgress(ctx context.Context, req *ReportTaskProgressRequest) (*ReportTaskProgressResponse, error)
- func (*UnimplementedAgentEndpointServiceServer) StartNextTask(ctx context.Context, req *StartNextTaskRequest) (*StartNextTaskResponse, error)
- type WindowsUpdateSettings
- func (*WindowsUpdateSettings) Descriptor() ([]byte, []int)
- func (m *WindowsUpdateSettings) GetClassifications() []WindowsUpdateSettings_Classification
- func (m *WindowsUpdateSettings) GetExcludes() []string
- func (m *WindowsUpdateSettings) GetExclusivePatches() []string
- func (*WindowsUpdateSettings) ProtoMessage()
- func (m *WindowsUpdateSettings) Reset()
- func (m *WindowsUpdateSettings) String() string
- func (m *WindowsUpdateSettings) XXX_DiscardUnknown()
- func (m *WindowsUpdateSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WindowsUpdateSettings) XXX_Merge(src proto.Message)
- func (m *WindowsUpdateSettings) XXX_Size() int
- func (m *WindowsUpdateSettings) XXX_Unmarshal(b []byte) error
- type WindowsUpdateSettings_Classification
- type YumSettings
- func (*YumSettings) Descriptor() ([]byte, []int)
- func (m *YumSettings) GetExcludes() []string
- func (m *YumSettings) GetExclusivePackages() []string
- func (m *YumSettings) GetMinimal() bool
- func (m *YumSettings) GetSecurity() bool
- func (*YumSettings) ProtoMessage()
- func (m *YumSettings) Reset()
- func (m *YumSettings) String() string
- func (m *YumSettings) XXX_DiscardUnknown()
- func (m *YumSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *YumSettings) XXX_Merge(src proto.Message)
- func (m *YumSettings) XXX_Size() int
- func (m *YumSettings) XXX_Unmarshal(b []byte) error
- type ZypperSettings
- func (*ZypperSettings) Descriptor() ([]byte, []int)
- func (m *ZypperSettings) GetCategories() []string
- func (m *ZypperSettings) GetExcludes() []string
- func (m *ZypperSettings) GetExclusivePatches() []string
- func (m *ZypperSettings) GetSeverities() []string
- func (m *ZypperSettings) GetWithOptional() bool
- func (m *ZypperSettings) GetWithUpdate() bool
- func (*ZypperSettings) ProtoMessage()
- func (m *ZypperSettings) Reset()
- func (m *ZypperSettings) String() string
- func (m *ZypperSettings) XXX_DiscardUnknown()
- func (m *ZypperSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ZypperSettings) XXX_Merge(src proto.Message)
- func (m *ZypperSettings) XXX_Size() int
- func (m *ZypperSettings) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ApplyPatchesTaskOutput_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "SUCCEEDED",
2: "SUCCEEDED_REBOOT_REQUIRED",
3: "FAILED",
}
var ApplyPatchesTaskOutput_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"SUCCEEDED": 1,
"SUCCEEDED_REBOOT_REQUIRED": 2,
"FAILED": 3,
}
var ApplyPatchesTaskProgress_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
4: "STARTED",
1: "DOWNLOADING_PATCHES",
2: "APPLYING_PATCHES",
3: "REBOOTING",
}
var ApplyPatchesTaskProgress_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"STARTED": 4,
"DOWNLOADING_PATCHES": 1,
"APPLYING_PATCHES": 2,
"REBOOTING": 3,
}
var AptSettings_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "DIST",
2: "UPGRADE",
}
var AptSettings_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"DIST": 1,
"UPGRADE": 2,
}
var ExecStepConfig_Interpreter_name = map[int32]string{
0: "INTERPRETER_UNSPECIFIED",
1: "SHELL",
2: "POWERSHELL",
}
var ExecStepConfig_Interpreter_value = map[string]int32{
"INTERPRETER_UNSPECIFIED": 0,
"SHELL": 1,
"POWERSHELL": 2,
}
var ExecStepTaskOutput_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "COMPLETED",
2: "TIMED_OUT",
3: "CANCELLED",
}
var ExecStepTaskOutput_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"COMPLETED": 1,
"TIMED_OUT": 2,
"CANCELLED": 3,
}
var ExecStepTaskProgress_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "STARTED",
}
var ExecStepTaskProgress_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"STARTED": 1,
}
var PatchConfig_RebootConfig_name = map[int32]string{
0: "REBOOT_CONFIG_UNSPECIFIED",
1: "DEFAULT",
2: "ALWAYS",
3: "NEVER",
}
var PatchConfig_RebootConfig_value = map[string]int32{
"REBOOT_CONFIG_UNSPECIFIED": 0,
"DEFAULT": 1,
"ALWAYS": 2,
"NEVER": 3,
}
var TaskDirective_name = map[int32]string{
0: "TASK_DIRECTIVE_UNSPECIFIED",
1: "CONTINUE",
2: "STOP",
}
var TaskDirective_value = map[string]int32{
"TASK_DIRECTIVE_UNSPECIFIED": 0,
"CONTINUE": 1,
"STOP": 2,
}
var TaskType_name = map[int32]string{
0: "TASK_TYPE_UNSPECIFIED",
1: "APPLY_PATCHES",
2: "EXEC_STEP_TASK",
}
var TaskType_value = map[string]int32{
"TASK_TYPE_UNSPECIFIED": 0,
"APPLY_PATCHES": 1,
"EXEC_STEP_TASK": 2,
}
var WindowsUpdateSettings_Classification_name = map[int32]string{
0: "CLASSIFICATION_UNSPECIFIED",
1: "CRITICAL",
2: "SECURITY",
3: "DEFINITION",
4: "DRIVER",
5: "FEATURE_PACK",
6: "SERVICE_PACK",
7: "TOOL",
8: "UPDATE_ROLLUP",
9: "UPDATE",
}
var WindowsUpdateSettings_Classification_value = map[string]int32{
"CLASSIFICATION_UNSPECIFIED": 0,
"CRITICAL": 1,
"SECURITY": 2,
"DEFINITION": 3,
"DRIVER": 4,
"FEATURE_PACK": 5,
"SERVICE_PACK": 6,
"TOOL": 7,
"UPDATE_ROLLUP": 8,
"UPDATE": 9,
}
Functions ¶
func RegisterAgentEndpointServiceServer ¶
func RegisterAgentEndpointServiceServer(s *grpc.Server, srv AgentEndpointServiceServer)
Types ¶
type AgentEndpointServiceClient ¶
type AgentEndpointServiceClient interface { // Stream established by client to receive Task notifications. ReceiveTaskNotification(ctx context.Context, in *ReceiveTaskNotificationRequest, opts ...grpc.CallOption) (AgentEndpointService_ReceiveTaskNotificationClient, error) // Signals the start of a task execution and returns the task info. StartNextTask(ctx context.Context, in *StartNextTaskRequest, opts ...grpc.CallOption) (*StartNextTaskResponse, error) // Signals an intermediary progress checkpoint in task execution. ReportTaskProgress(ctx context.Context, in *ReportTaskProgressRequest, opts ...grpc.CallOption) (*ReportTaskProgressResponse, error) // Signals that the task execution is complete and optionally returns the next // task. ReportTaskComplete(ctx context.Context, in *ReportTaskCompleteRequest, opts ...grpc.CallOption) (*ReportTaskCompleteResponse, error) // Registers the agent running on the VM. RegisterAgent(ctx context.Context, in *RegisterAgentRequest, opts ...grpc.CallOption) (*RegisterAgentResponse, error) }
AgentEndpointServiceClient is the client API for AgentEndpointService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAgentEndpointServiceClient ¶
func NewAgentEndpointServiceClient(cc grpc.ClientConnInterface) AgentEndpointServiceClient
type AgentEndpointServiceServer ¶
type AgentEndpointServiceServer interface { // Stream established by client to receive Task notifications. ReceiveTaskNotification(*ReceiveTaskNotificationRequest, AgentEndpointService_ReceiveTaskNotificationServer) error // Signals the start of a task execution and returns the task info. StartNextTask(context.Context, *StartNextTaskRequest) (*StartNextTaskResponse, error) // Signals an intermediary progress checkpoint in task execution. ReportTaskProgress(context.Context, *ReportTaskProgressRequest) (*ReportTaskProgressResponse, error) // Signals that the task execution is complete and optionally returns the next // task. ReportTaskComplete(context.Context, *ReportTaskCompleteRequest) (*ReportTaskCompleteResponse, error) // Registers the agent running on the VM. RegisterAgent(context.Context, *RegisterAgentRequest) (*RegisterAgentResponse, error) }
AgentEndpointServiceServer is the server API for AgentEndpointService service.
type AgentEndpointService_ReceiveTaskNotificationClient ¶
type AgentEndpointService_ReceiveTaskNotificationClient interface { Recv() (*ReceiveTaskNotificationResponse, error) grpc.ClientStream }
type AgentEndpointService_ReceiveTaskNotificationServer ¶
type AgentEndpointService_ReceiveTaskNotificationServer interface { Send(*ReceiveTaskNotificationResponse) error grpc.ServerStream }
type ApplyPatchesTask ¶
type ApplyPatchesTask struct { // Specific information about how patches should be applied. PatchConfig *PatchConfig `protobuf:"bytes,1,opt,name=patch_config,json=patchConfig,proto3" json:"patch_config,omitempty"` // If true, the agent will report its status as it goes through the motions // but won't actually run any updates or perform any reboots. DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Message which instructs agent to apply patches.
func (*ApplyPatchesTask) Descriptor ¶
func (*ApplyPatchesTask) Descriptor() ([]byte, []int)
func (*ApplyPatchesTask) GetDryRun ¶
func (m *ApplyPatchesTask) GetDryRun() bool
func (*ApplyPatchesTask) GetPatchConfig ¶
func (m *ApplyPatchesTask) GetPatchConfig() *PatchConfig
func (*ApplyPatchesTask) ProtoMessage ¶
func (*ApplyPatchesTask) ProtoMessage()
func (*ApplyPatchesTask) Reset ¶
func (m *ApplyPatchesTask) Reset()
func (*ApplyPatchesTask) String ¶
func (m *ApplyPatchesTask) String() string
func (*ApplyPatchesTask) XXX_DiscardUnknown ¶
func (m *ApplyPatchesTask) XXX_DiscardUnknown()
func (*ApplyPatchesTask) XXX_Marshal ¶
func (m *ApplyPatchesTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApplyPatchesTask) XXX_Merge ¶
func (m *ApplyPatchesTask) XXX_Merge(src proto.Message)
func (*ApplyPatchesTask) XXX_Size ¶
func (m *ApplyPatchesTask) XXX_Size() int
func (*ApplyPatchesTask) XXX_Unmarshal ¶
func (m *ApplyPatchesTask) XXX_Unmarshal(b []byte) error
type ApplyPatchesTaskOutput ¶
type ApplyPatchesTaskOutput struct { // Required. The final state of this task. State ApplyPatchesTaskOutput_State `` /* 137-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Information reported from the agent about applying patches execution.
func (*ApplyPatchesTaskOutput) Descriptor ¶
func (*ApplyPatchesTaskOutput) Descriptor() ([]byte, []int)
func (*ApplyPatchesTaskOutput) GetState ¶
func (m *ApplyPatchesTaskOutput) GetState() ApplyPatchesTaskOutput_State
func (*ApplyPatchesTaskOutput) ProtoMessage ¶
func (*ApplyPatchesTaskOutput) ProtoMessage()
func (*ApplyPatchesTaskOutput) Reset ¶
func (m *ApplyPatchesTaskOutput) Reset()
func (*ApplyPatchesTaskOutput) String ¶
func (m *ApplyPatchesTaskOutput) String() string
func (*ApplyPatchesTaskOutput) XXX_DiscardUnknown ¶
func (m *ApplyPatchesTaskOutput) XXX_DiscardUnknown()
func (*ApplyPatchesTaskOutput) XXX_Marshal ¶
func (m *ApplyPatchesTaskOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApplyPatchesTaskOutput) XXX_Merge ¶
func (m *ApplyPatchesTaskOutput) XXX_Merge(src proto.Message)
func (*ApplyPatchesTaskOutput) XXX_Size ¶
func (m *ApplyPatchesTaskOutput) XXX_Size() int
func (*ApplyPatchesTaskOutput) XXX_Unmarshal ¶
func (m *ApplyPatchesTaskOutput) XXX_Unmarshal(b []byte) error
type ApplyPatchesTaskOutput_State ¶
type ApplyPatchesTaskOutput_State int32
The final states of applying patches.
const ( // Unspecified is invalid. ApplyPatchesTaskOutput_STATE_UNSPECIFIED ApplyPatchesTaskOutput_State = 0 // Applying patches completed successfully. ApplyPatchesTaskOutput_SUCCEEDED ApplyPatchesTaskOutput_State = 1 // Applying patches completed successfully, but a reboot is required. ApplyPatchesTaskOutput_SUCCEEDED_REBOOT_REQUIRED ApplyPatchesTaskOutput_State = 2 // Applying patches failed. ApplyPatchesTaskOutput_FAILED ApplyPatchesTaskOutput_State = 3 )
func (ApplyPatchesTaskOutput_State) EnumDescriptor ¶
func (ApplyPatchesTaskOutput_State) EnumDescriptor() ([]byte, []int)
func (ApplyPatchesTaskOutput_State) String ¶
func (x ApplyPatchesTaskOutput_State) String() string
type ApplyPatchesTaskProgress ¶
type ApplyPatchesTaskProgress struct { // Required. The current state of this patch execution. State ApplyPatchesTaskProgress_State `` /* 139-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Information reported from the agent about applying patches execution.
func (*ApplyPatchesTaskProgress) Descriptor ¶
func (*ApplyPatchesTaskProgress) Descriptor() ([]byte, []int)
func (*ApplyPatchesTaskProgress) GetState ¶
func (m *ApplyPatchesTaskProgress) GetState() ApplyPatchesTaskProgress_State
func (*ApplyPatchesTaskProgress) ProtoMessage ¶
func (*ApplyPatchesTaskProgress) ProtoMessage()
func (*ApplyPatchesTaskProgress) Reset ¶
func (m *ApplyPatchesTaskProgress) Reset()
func (*ApplyPatchesTaskProgress) String ¶
func (m *ApplyPatchesTaskProgress) String() string
func (*ApplyPatchesTaskProgress) XXX_DiscardUnknown ¶
func (m *ApplyPatchesTaskProgress) XXX_DiscardUnknown()
func (*ApplyPatchesTaskProgress) XXX_Marshal ¶
func (m *ApplyPatchesTaskProgress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApplyPatchesTaskProgress) XXX_Merge ¶
func (m *ApplyPatchesTaskProgress) XXX_Merge(src proto.Message)
func (*ApplyPatchesTaskProgress) XXX_Size ¶
func (m *ApplyPatchesTaskProgress) XXX_Size() int
func (*ApplyPatchesTaskProgress) XXX_Unmarshal ¶
func (m *ApplyPatchesTaskProgress) XXX_Unmarshal(b []byte) error
type ApplyPatchesTaskProgress_State ¶
type ApplyPatchesTaskProgress_State int32
The intermediate states of applying patches.
const ( // Unspecified is invalid. ApplyPatchesTaskProgress_STATE_UNSPECIFIED ApplyPatchesTaskProgress_State = 0 // The agent has started the patch task. ApplyPatchesTaskProgress_STARTED ApplyPatchesTaskProgress_State = 4 // The agent is currently downloading patches. ApplyPatchesTaskProgress_DOWNLOADING_PATCHES ApplyPatchesTaskProgress_State = 1 // The agent is currently applying patches. ApplyPatchesTaskProgress_APPLYING_PATCHES ApplyPatchesTaskProgress_State = 2 // The agent is currently rebooting the VM instance. ApplyPatchesTaskProgress_REBOOTING ApplyPatchesTaskProgress_State = 3 )
func (ApplyPatchesTaskProgress_State) EnumDescriptor ¶
func (ApplyPatchesTaskProgress_State) EnumDescriptor() ([]byte, []int)
func (ApplyPatchesTaskProgress_State) String ¶
func (x ApplyPatchesTaskProgress_State) String() string
type AptSettings ¶
type AptSettings struct { // By changing the type to DIST, the patching will be performed // using `apt-get dist-upgrade` instead. Type AptSettings_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.osconfig.agentendpoint.v1.AptSettings_Type" json:"type,omitempty"` // List of packages to exclude from update. Excludes []string `protobuf:"bytes,2,rep,name=excludes,proto3" json:"excludes,omitempty"` // An exclusive list of packages to be updated. These are the only packages // that will be updated. If these packages are not installed, they will be // ignored. This field cannot be specified with any other patch configuration // fields. ExclusivePackages []string `protobuf:"bytes,3,rep,name=exclusive_packages,json=exclusivePackages,proto3" json:"exclusive_packages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Apt patching will be performed by executing `apt-get update && apt-get upgrade`. Additional options can be set to control how this is executed.
func (*AptSettings) Descriptor ¶
func (*AptSettings) Descriptor() ([]byte, []int)
func (*AptSettings) GetExcludes ¶
func (m *AptSettings) GetExcludes() []string
func (*AptSettings) GetExclusivePackages ¶
func (m *AptSettings) GetExclusivePackages() []string
func (*AptSettings) GetType ¶
func (m *AptSettings) GetType() AptSettings_Type
func (*AptSettings) ProtoMessage ¶
func (*AptSettings) ProtoMessage()
func (*AptSettings) Reset ¶
func (m *AptSettings) Reset()
func (*AptSettings) String ¶
func (m *AptSettings) String() string
func (*AptSettings) XXX_DiscardUnknown ¶
func (m *AptSettings) XXX_DiscardUnknown()
func (*AptSettings) XXX_Marshal ¶
func (m *AptSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AptSettings) XXX_Merge ¶
func (m *AptSettings) XXX_Merge(src proto.Message)
func (*AptSettings) XXX_Size ¶
func (m *AptSettings) XXX_Size() int
func (*AptSettings) XXX_Unmarshal ¶
func (m *AptSettings) XXX_Unmarshal(b []byte) error
type AptSettings_Type ¶
type AptSettings_Type int32
Apt patch type.
const ( // By default, upgrade will be performed. AptSettings_TYPE_UNSPECIFIED AptSettings_Type = 0 // Runs `apt-get dist-upgrade`. AptSettings_DIST AptSettings_Type = 1 // Runs `apt-get upgrade`. AptSettings_UPGRADE AptSettings_Type = 2 )
func (AptSettings_Type) EnumDescriptor ¶
func (AptSettings_Type) EnumDescriptor() ([]byte, []int)
func (AptSettings_Type) String ¶
func (x AptSettings_Type) String() string
type ExecStep ¶
type ExecStep struct { // The ExecStepConfig for all Linux VMs targeted by the PatchJob. LinuxExecStepConfig *ExecStepConfig `protobuf:"bytes,1,opt,name=linux_exec_step_config,json=linuxExecStepConfig,proto3" json:"linux_exec_step_config,omitempty"` // The ExecStepConfig for all Windows VMs targeted by the PatchJob. WindowsExecStepConfig *ExecStepConfig `` /* 128-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A step that runs an executable for a PatchJob.
func (*ExecStep) Descriptor ¶
func (*ExecStep) GetLinuxExecStepConfig ¶
func (m *ExecStep) GetLinuxExecStepConfig() *ExecStepConfig
func (*ExecStep) GetWindowsExecStepConfig ¶
func (m *ExecStep) GetWindowsExecStepConfig() *ExecStepConfig
func (*ExecStep) ProtoMessage ¶
func (*ExecStep) ProtoMessage()
func (*ExecStep) XXX_DiscardUnknown ¶
func (m *ExecStep) XXX_DiscardUnknown()
func (*ExecStep) XXX_Marshal ¶
func (*ExecStep) XXX_Unmarshal ¶
type ExecStepConfig ¶
type ExecStepConfig struct { // Location of the executable. // // Types that are valid to be assigned to Executable: // *ExecStepConfig_LocalPath // *ExecStepConfig_GcsObject Executable isExecStepConfig_Executable `protobuf_oneof:"executable"` // Defaults to [0]. A list of possible return values that the // execution can return to indicate a success. AllowedSuccessCodes []int32 `` /* 128-byte string literal not displayed */ // The script interpreter to use to run the script. If no interpreter is // specified the script will be executed directly, which will likely // only succeed for scripts with shebang lines. // [Wikipedia shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)). Interpreter ExecStepConfig_Interpreter `` /* 147-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Common configurations for an ExecStep.
func (*ExecStepConfig) Descriptor ¶
func (*ExecStepConfig) Descriptor() ([]byte, []int)
func (*ExecStepConfig) GetAllowedSuccessCodes ¶
func (m *ExecStepConfig) GetAllowedSuccessCodes() []int32
func (*ExecStepConfig) GetExecutable ¶
func (m *ExecStepConfig) GetExecutable() isExecStepConfig_Executable
func (*ExecStepConfig) GetGcsObject ¶
func (m *ExecStepConfig) GetGcsObject() *GcsObject
func (*ExecStepConfig) GetInterpreter ¶
func (m *ExecStepConfig) GetInterpreter() ExecStepConfig_Interpreter
func (*ExecStepConfig) GetLocalPath ¶
func (m *ExecStepConfig) GetLocalPath() string
func (*ExecStepConfig) ProtoMessage ¶
func (*ExecStepConfig) ProtoMessage()
func (*ExecStepConfig) Reset ¶
func (m *ExecStepConfig) Reset()
func (*ExecStepConfig) String ¶
func (m *ExecStepConfig) String() string
func (*ExecStepConfig) XXX_DiscardUnknown ¶
func (m *ExecStepConfig) XXX_DiscardUnknown()
func (*ExecStepConfig) XXX_Marshal ¶
func (m *ExecStepConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecStepConfig) XXX_Merge ¶
func (m *ExecStepConfig) XXX_Merge(src proto.Message)
func (*ExecStepConfig) XXX_OneofWrappers ¶
func (*ExecStepConfig) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ExecStepConfig) XXX_Size ¶
func (m *ExecStepConfig) XXX_Size() int
func (*ExecStepConfig) XXX_Unmarshal ¶
func (m *ExecStepConfig) XXX_Unmarshal(b []byte) error
type ExecStepConfig_GcsObject ¶
type ExecStepConfig_GcsObject struct {
GcsObject *GcsObject `protobuf:"bytes,2,opt,name=gcs_object,json=gcsObject,proto3,oneof"`
}
type ExecStepConfig_Interpreter ¶
type ExecStepConfig_Interpreter int32
The interpreter used to execute the a file.
const ( // Invalid for a Windows ExecStepConfig. For a Linux ExecStepConfig, the // interpreter will be parsed from the shebang line of the script if // unspecified. ExecStepConfig_INTERPRETER_UNSPECIFIED ExecStepConfig_Interpreter = 0 // Indicates that the script will be run with /bin/sh on Linux and cmd // on windows. ExecStepConfig_SHELL ExecStepConfig_Interpreter = 1 // Indicates that the file will be run with PowerShell. ExecStepConfig_POWERSHELL ExecStepConfig_Interpreter = 2 )
func (ExecStepConfig_Interpreter) EnumDescriptor ¶
func (ExecStepConfig_Interpreter) EnumDescriptor() ([]byte, []int)
func (ExecStepConfig_Interpreter) String ¶
func (x ExecStepConfig_Interpreter) String() string
type ExecStepConfig_LocalPath ¶
type ExecStepConfig_LocalPath struct {
LocalPath string `protobuf:"bytes,1,opt,name=local_path,json=localPath,proto3,oneof"`
}
type ExecStepTask ¶
type ExecStepTask struct { // Details of the exec step to run. ExecStep *ExecStep `protobuf:"bytes,1,opt,name=exec_step,json=execStep,proto3" json:"exec_step,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Message which instructs agent to execute the following command.
func (*ExecStepTask) Descriptor ¶
func (*ExecStepTask) Descriptor() ([]byte, []int)
func (*ExecStepTask) GetExecStep ¶
func (m *ExecStepTask) GetExecStep() *ExecStep
func (*ExecStepTask) ProtoMessage ¶
func (*ExecStepTask) ProtoMessage()
func (*ExecStepTask) Reset ¶
func (m *ExecStepTask) Reset()
func (*ExecStepTask) String ¶
func (m *ExecStepTask) String() string
func (*ExecStepTask) XXX_DiscardUnknown ¶
func (m *ExecStepTask) XXX_DiscardUnknown()
func (*ExecStepTask) XXX_Marshal ¶
func (m *ExecStepTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecStepTask) XXX_Merge ¶
func (m *ExecStepTask) XXX_Merge(src proto.Message)
func (*ExecStepTask) XXX_Size ¶
func (m *ExecStepTask) XXX_Size() int
func (*ExecStepTask) XXX_Unmarshal ¶
func (m *ExecStepTask) XXX_Unmarshal(b []byte) error
type ExecStepTaskOutput ¶
type ExecStepTaskOutput struct { // Required. The final state of the exec step. State ExecStepTaskOutput_State `` /* 133-byte string literal not displayed */ // Required. The exit code received from the script which ran as part of the exec step. ExitCode int32 `protobuf:"varint,2,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Information reported from the agent about the exec step execution.
func (*ExecStepTaskOutput) Descriptor ¶
func (*ExecStepTaskOutput) Descriptor() ([]byte, []int)
func (*ExecStepTaskOutput) GetExitCode ¶
func (m *ExecStepTaskOutput) GetExitCode() int32
func (*ExecStepTaskOutput) GetState ¶
func (m *ExecStepTaskOutput) GetState() ExecStepTaskOutput_State
func (*ExecStepTaskOutput) ProtoMessage ¶
func (*ExecStepTaskOutput) ProtoMessage()
func (*ExecStepTaskOutput) Reset ¶
func (m *ExecStepTaskOutput) Reset()
func (*ExecStepTaskOutput) String ¶
func (m *ExecStepTaskOutput) String() string
func (*ExecStepTaskOutput) XXX_DiscardUnknown ¶
func (m *ExecStepTaskOutput) XXX_DiscardUnknown()
func (*ExecStepTaskOutput) XXX_Marshal ¶
func (m *ExecStepTaskOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecStepTaskOutput) XXX_Merge ¶
func (m *ExecStepTaskOutput) XXX_Merge(src proto.Message)
func (*ExecStepTaskOutput) XXX_Size ¶
func (m *ExecStepTaskOutput) XXX_Size() int
func (*ExecStepTaskOutput) XXX_Unmarshal ¶
func (m *ExecStepTaskOutput) XXX_Unmarshal(b []byte) error
type ExecStepTaskOutput_State ¶
type ExecStepTaskOutput_State int32
The final states of exec steps.
const ( // Unspecified is invalid. ExecStepTaskOutput_STATE_UNSPECIFIED ExecStepTaskOutput_State = 0 // The exec step completed normally. ExecStepTaskOutput_COMPLETED ExecStepTaskOutput_State = 1 // The exec step was terminated because it took too long. ExecStepTaskOutput_TIMED_OUT ExecStepTaskOutput_State = 2 // The exec step task was cancelled before it started. ExecStepTaskOutput_CANCELLED ExecStepTaskOutput_State = 3 )
func (ExecStepTaskOutput_State) EnumDescriptor ¶
func (ExecStepTaskOutput_State) EnumDescriptor() ([]byte, []int)
func (ExecStepTaskOutput_State) String ¶
func (x ExecStepTaskOutput_State) String() string
type ExecStepTaskProgress ¶
type ExecStepTaskProgress struct { // Required. The current state of this exec step. State ExecStepTaskProgress_State `` /* 135-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Information reported from the agent about the exec step execution.
func (*ExecStepTaskProgress) Descriptor ¶
func (*ExecStepTaskProgress) Descriptor() ([]byte, []int)
func (*ExecStepTaskProgress) GetState ¶
func (m *ExecStepTaskProgress) GetState() ExecStepTaskProgress_State
func (*ExecStepTaskProgress) ProtoMessage ¶
func (*ExecStepTaskProgress) ProtoMessage()
func (*ExecStepTaskProgress) Reset ¶
func (m *ExecStepTaskProgress) Reset()
func (*ExecStepTaskProgress) String ¶
func (m *ExecStepTaskProgress) String() string
func (*ExecStepTaskProgress) XXX_DiscardUnknown ¶
func (m *ExecStepTaskProgress) XXX_DiscardUnknown()
func (*ExecStepTaskProgress) XXX_Marshal ¶
func (m *ExecStepTaskProgress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecStepTaskProgress) XXX_Merge ¶
func (m *ExecStepTaskProgress) XXX_Merge(src proto.Message)
func (*ExecStepTaskProgress) XXX_Size ¶
func (m *ExecStepTaskProgress) XXX_Size() int
func (*ExecStepTaskProgress) XXX_Unmarshal ¶
func (m *ExecStepTaskProgress) XXX_Unmarshal(b []byte) error
type ExecStepTaskProgress_State ¶
type ExecStepTaskProgress_State int32
The intermediate states of exec steps.
const ( // Unspecified is invalid. ExecStepTaskProgress_STATE_UNSPECIFIED ExecStepTaskProgress_State = 0 // The agent has started the exec step task. ExecStepTaskProgress_STARTED ExecStepTaskProgress_State = 1 )
func (ExecStepTaskProgress_State) EnumDescriptor ¶
func (ExecStepTaskProgress_State) EnumDescriptor() ([]byte, []int)
func (ExecStepTaskProgress_State) String ¶
func (x ExecStepTaskProgress_State) String() string
type GcsObject ¶
type GcsObject struct { // Bucket of the GCS object. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Name of the GCS object. Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` // Generation number of the GCS object. This is used to ensure that the // ExecStep specified by this PatchJob does not change. GenerationNumber int64 `protobuf:"varint,3,opt,name=generation_number,json=generationNumber,proto3" json:"generation_number,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GCS object representation.
func (*GcsObject) Descriptor ¶
func (*GcsObject) GetGenerationNumber ¶
func (*GcsObject) ProtoMessage ¶
func (*GcsObject) ProtoMessage()
func (*GcsObject) XXX_DiscardUnknown ¶
func (m *GcsObject) XXX_DiscardUnknown()
func (*GcsObject) XXX_Marshal ¶
func (*GcsObject) XXX_Unmarshal ¶
type GooSettings ¶
type GooSettings struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Googet patching is performed by running `googet update`.
func (*GooSettings) Descriptor ¶
func (*GooSettings) Descriptor() ([]byte, []int)
func (*GooSettings) ProtoMessage ¶
func (*GooSettings) ProtoMessage()
func (*GooSettings) Reset ¶
func (m *GooSettings) Reset()
func (*GooSettings) String ¶
func (m *GooSettings) String() string
func (*GooSettings) XXX_DiscardUnknown ¶
func (m *GooSettings) XXX_DiscardUnknown()
func (*GooSettings) XXX_Marshal ¶
func (m *GooSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GooSettings) XXX_Merge ¶
func (m *GooSettings) XXX_Merge(src proto.Message)
func (*GooSettings) XXX_Size ¶
func (m *GooSettings) XXX_Size() int
func (*GooSettings) XXX_Unmarshal ¶
func (m *GooSettings) XXX_Unmarshal(b []byte) error
type PatchConfig ¶
type PatchConfig struct { // Post-patch reboot settings. RebootConfig PatchConfig_RebootConfig `` /* 167-byte string literal not displayed */ // Retry strategy can be defined to have the agent retry patching // during the window if patching fails. If omitted, the agent will use its // default retry strategy. RetryStrategy *RetryStrategy `protobuf:"bytes,2,opt,name=retry_strategy,json=retryStrategy,proto3" json:"retry_strategy,omitempty"` // Apt update settings. Use this override the default apt patch rules. Apt *AptSettings `protobuf:"bytes,3,opt,name=apt,proto3" json:"apt,omitempty"` // Yum update settings. Use this override the default yum patch rules. Yum *YumSettings `protobuf:"bytes,4,opt,name=yum,proto3" json:"yum,omitempty"` // Goo update settings. Use this override the default goo patch rules. Goo *GooSettings `protobuf:"bytes,5,opt,name=goo,proto3" json:"goo,omitempty"` // Zypper update settings. Use this override the default zypper patch rules. Zypper *ZypperSettings `protobuf:"bytes,6,opt,name=zypper,proto3" json:"zypper,omitempty"` // Windows update settings. Use this override the default windows patch rules. WindowsUpdate *WindowsUpdateSettings `protobuf:"bytes,7,opt,name=windows_update,json=windowsUpdate,proto3" json:"windows_update,omitempty"` // The ExecStep to run before the patch update. PreStep *ExecStep `protobuf:"bytes,8,opt,name=pre_step,json=preStep,proto3" json:"pre_step,omitempty"` // The ExecStep to run after the patch update. PostStep *ExecStep `protobuf:"bytes,9,opt,name=post_step,json=postStep,proto3" json:"post_step,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Patch configuration specifications. Contains details on how to apply patches to a VM instance.
func (*PatchConfig) Descriptor ¶
func (*PatchConfig) Descriptor() ([]byte, []int)
func (*PatchConfig) GetApt ¶
func (m *PatchConfig) GetApt() *AptSettings
func (*PatchConfig) GetGoo ¶
func (m *PatchConfig) GetGoo() *GooSettings
func (*PatchConfig) GetPostStep ¶
func (m *PatchConfig) GetPostStep() *ExecStep
func (*PatchConfig) GetPreStep ¶
func (m *PatchConfig) GetPreStep() *ExecStep
func (*PatchConfig) GetRebootConfig ¶
func (m *PatchConfig) GetRebootConfig() PatchConfig_RebootConfig
func (*PatchConfig) GetRetryStrategy ¶
func (m *PatchConfig) GetRetryStrategy() *RetryStrategy
func (*PatchConfig) GetWindowsUpdate ¶
func (m *PatchConfig) GetWindowsUpdate() *WindowsUpdateSettings
func (*PatchConfig) GetYum ¶
func (m *PatchConfig) GetYum() *YumSettings
func (*PatchConfig) GetZypper ¶
func (m *PatchConfig) GetZypper() *ZypperSettings
func (*PatchConfig) ProtoMessage ¶
func (*PatchConfig) ProtoMessage()
func (*PatchConfig) Reset ¶
func (m *PatchConfig) Reset()
func (*PatchConfig) String ¶
func (m *PatchConfig) String() string
func (*PatchConfig) XXX_DiscardUnknown ¶
func (m *PatchConfig) XXX_DiscardUnknown()
func (*PatchConfig) XXX_Marshal ¶
func (m *PatchConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PatchConfig) XXX_Merge ¶
func (m *PatchConfig) XXX_Merge(src proto.Message)
func (*PatchConfig) XXX_Size ¶
func (m *PatchConfig) XXX_Size() int
func (*PatchConfig) XXX_Unmarshal ¶
func (m *PatchConfig) XXX_Unmarshal(b []byte) error
type PatchConfig_RebootConfig ¶
type PatchConfig_RebootConfig int32
Post-patch reboot settings.
const ( // The default behavior is DEFAULT. PatchConfig_REBOOT_CONFIG_UNSPECIFIED PatchConfig_RebootConfig = 0 // The agent decides if a reboot is necessary by checking // signals such as registry keys on Windows or `/var/run/reboot-required` on // APT based systems. On RPM based systems, a set of core system package // install times are compared with system boot time. PatchConfig_DEFAULT PatchConfig_RebootConfig = 1 // Always reboot the machine after the update completes. PatchConfig_ALWAYS PatchConfig_RebootConfig = 2 // Never reboot the machine after the update completes. PatchConfig_NEVER PatchConfig_RebootConfig = 3 )
func (PatchConfig_RebootConfig) EnumDescriptor ¶
func (PatchConfig_RebootConfig) EnumDescriptor() ([]byte, []int)
func (PatchConfig_RebootConfig) String ¶
func (x PatchConfig_RebootConfig) String() string
type ReceiveTaskNotificationRequest ¶
type ReceiveTaskNotificationRequest struct { // Required. This is the Compute Engine instance identity token described in // https://cloud.google.com/compute/docs/instances/verifying-instance-identity // where the audience is 'osconfig.googleapis.com' and the format is 'full'. InstanceIdToken string `protobuf:"bytes,1,opt,name=instance_id_token,json=instanceIdToken,proto3" json:"instance_id_token,omitempty"` // Required. The version of the agent making the request. AgentVersion string `protobuf:"bytes,2,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request message to receive task notifications.
func (*ReceiveTaskNotificationRequest) Descriptor ¶
func (*ReceiveTaskNotificationRequest) Descriptor() ([]byte, []int)
func (*ReceiveTaskNotificationRequest) GetAgentVersion ¶
func (m *ReceiveTaskNotificationRequest) GetAgentVersion() string
func (*ReceiveTaskNotificationRequest) GetInstanceIdToken ¶
func (m *ReceiveTaskNotificationRequest) GetInstanceIdToken() string
func (*ReceiveTaskNotificationRequest) ProtoMessage ¶
func (*ReceiveTaskNotificationRequest) ProtoMessage()
func (*ReceiveTaskNotificationRequest) Reset ¶
func (m *ReceiveTaskNotificationRequest) Reset()
func (*ReceiveTaskNotificationRequest) String ¶
func (m *ReceiveTaskNotificationRequest) String() string
func (*ReceiveTaskNotificationRequest) XXX_DiscardUnknown ¶
func (m *ReceiveTaskNotificationRequest) XXX_DiscardUnknown()
func (*ReceiveTaskNotificationRequest) XXX_Marshal ¶
func (m *ReceiveTaskNotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiveTaskNotificationRequest) XXX_Merge ¶
func (m *ReceiveTaskNotificationRequest) XXX_Merge(src proto.Message)
func (*ReceiveTaskNotificationRequest) XXX_Size ¶
func (m *ReceiveTaskNotificationRequest) XXX_Size() int
func (*ReceiveTaskNotificationRequest) XXX_Unmarshal ¶
func (m *ReceiveTaskNotificationRequest) XXX_Unmarshal(b []byte) error
type ReceiveTaskNotificationResponse ¶
type ReceiveTaskNotificationResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The streaming rpc message that notifies the agent when it has a task that it needs to perform on the VM instance.
func (*ReceiveTaskNotificationResponse) Descriptor ¶
func (*ReceiveTaskNotificationResponse) Descriptor() ([]byte, []int)
func (*ReceiveTaskNotificationResponse) ProtoMessage ¶
func (*ReceiveTaskNotificationResponse) ProtoMessage()
func (*ReceiveTaskNotificationResponse) Reset ¶
func (m *ReceiveTaskNotificationResponse) Reset()
func (*ReceiveTaskNotificationResponse) String ¶
func (m *ReceiveTaskNotificationResponse) String() string
func (*ReceiveTaskNotificationResponse) XXX_DiscardUnknown ¶
func (m *ReceiveTaskNotificationResponse) XXX_DiscardUnknown()
func (*ReceiveTaskNotificationResponse) XXX_Marshal ¶
func (m *ReceiveTaskNotificationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiveTaskNotificationResponse) XXX_Merge ¶
func (m *ReceiveTaskNotificationResponse) XXX_Merge(src proto.Message)
func (*ReceiveTaskNotificationResponse) XXX_Size ¶
func (m *ReceiveTaskNotificationResponse) XXX_Size() int
func (*ReceiveTaskNotificationResponse) XXX_Unmarshal ¶
func (m *ReceiveTaskNotificationResponse) XXX_Unmarshal(b []byte) error
type RegisterAgentRequest ¶
type RegisterAgentRequest struct { // Required. This is the Compute Engine instance identity token described in // https://cloud.google.com/compute/docs/instances/verifying-instance-identity // where the audience is 'osconfig.googleapis.com' and the format is 'full'. InstanceIdToken string `protobuf:"bytes,1,opt,name=instance_id_token,json=instanceIdToken,proto3" json:"instance_id_token,omitempty"` // Required. The version of the agent. AgentVersion string `protobuf:"bytes,2,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"` // Required. The capabilities supported by the agent. Supported values are: // PATCH_GA // GUEST_POLICY_BETA SupportedCapabilities []string `protobuf:"bytes,3,rep,name=supported_capabilities,json=supportedCapabilities,proto3" json:"supported_capabilities,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request message for registering the agent.
func (*RegisterAgentRequest) Descriptor ¶
func (*RegisterAgentRequest) Descriptor() ([]byte, []int)
func (*RegisterAgentRequest) GetAgentVersion ¶
func (m *RegisterAgentRequest) GetAgentVersion() string
func (*RegisterAgentRequest) GetInstanceIdToken ¶
func (m *RegisterAgentRequest) GetInstanceIdToken() string
func (*RegisterAgentRequest) GetSupportedCapabilities ¶
func (m *RegisterAgentRequest) GetSupportedCapabilities() []string
func (*RegisterAgentRequest) ProtoMessage ¶
func (*RegisterAgentRequest) ProtoMessage()
func (*RegisterAgentRequest) Reset ¶
func (m *RegisterAgentRequest) Reset()
func (*RegisterAgentRequest) String ¶
func (m *RegisterAgentRequest) String() string
func (*RegisterAgentRequest) XXX_DiscardUnknown ¶
func (m *RegisterAgentRequest) XXX_DiscardUnknown()
func (*RegisterAgentRequest) XXX_Marshal ¶
func (m *RegisterAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterAgentRequest) XXX_Merge ¶
func (m *RegisterAgentRequest) XXX_Merge(src proto.Message)
func (*RegisterAgentRequest) XXX_Size ¶
func (m *RegisterAgentRequest) XXX_Size() int
func (*RegisterAgentRequest) XXX_Unmarshal ¶
func (m *RegisterAgentRequest) XXX_Unmarshal(b []byte) error
type RegisterAgentResponse ¶
type RegisterAgentResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The response message after the agent registered.
func (*RegisterAgentResponse) Descriptor ¶
func (*RegisterAgentResponse) Descriptor() ([]byte, []int)
func (*RegisterAgentResponse) ProtoMessage ¶
func (*RegisterAgentResponse) ProtoMessage()
func (*RegisterAgentResponse) Reset ¶
func (m *RegisterAgentResponse) Reset()
func (*RegisterAgentResponse) String ¶
func (m *RegisterAgentResponse) String() string
func (*RegisterAgentResponse) XXX_DiscardUnknown ¶
func (m *RegisterAgentResponse) XXX_DiscardUnknown()
func (*RegisterAgentResponse) XXX_Marshal ¶
func (m *RegisterAgentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterAgentResponse) XXX_Merge ¶
func (m *RegisterAgentResponse) XXX_Merge(src proto.Message)
func (*RegisterAgentResponse) XXX_Size ¶
func (m *RegisterAgentResponse) XXX_Size() int
func (*RegisterAgentResponse) XXX_Unmarshal ¶
func (m *RegisterAgentResponse) XXX_Unmarshal(b []byte) error
type ReportTaskCompleteRequest ¶
type ReportTaskCompleteRequest struct { // Required. This is the Compute Engine instance identity token described in // https://cloud.google.com/compute/docs/instances/verifying-instance-identity // where the audience is 'osconfig.googleapis.com' and the format is 'full'. InstanceIdToken string `protobuf:"bytes,1,opt,name=instance_id_token,json=instanceIdToken,proto3" json:"instance_id_token,omitempty"` // Required. Unique identifier of the task this applies to. TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` // Required. The type of task to report completed. // // The output must include the appropriate message based on the following // enum values: // APPLY_PATCHES = ApplyPatchesTaskOutput // EXEC_STEP = ExecStepTaskOutput TaskType TaskType `` /* 139-byte string literal not displayed */ // Descriptive error message if the task execution ended in error. ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // Final output details of the current task. // // Types that are valid to be assigned to Output: // *ReportTaskCompleteRequest_ApplyPatchesTaskOutput // *ReportTaskCompleteRequest_ExecStepTaskOutput Output isReportTaskCompleteRequest_Output `protobuf_oneof:"output"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request message for signaling the completion of a task execution.
func (*ReportTaskCompleteRequest) Descriptor ¶
func (*ReportTaskCompleteRequest) Descriptor() ([]byte, []int)
func (*ReportTaskCompleteRequest) GetApplyPatchesTaskOutput ¶
func (m *ReportTaskCompleteRequest) GetApplyPatchesTaskOutput() *ApplyPatchesTaskOutput
func (*ReportTaskCompleteRequest) GetErrorMessage ¶
func (m *ReportTaskCompleteRequest) GetErrorMessage() string
func (*ReportTaskCompleteRequest) GetExecStepTaskOutput ¶
func (m *ReportTaskCompleteRequest) GetExecStepTaskOutput() *ExecStepTaskOutput
func (*ReportTaskCompleteRequest) GetInstanceIdToken ¶
func (m *ReportTaskCompleteRequest) GetInstanceIdToken() string
func (*ReportTaskCompleteRequest) GetOutput ¶
func (m *ReportTaskCompleteRequest) GetOutput() isReportTaskCompleteRequest_Output
func (*ReportTaskCompleteRequest) GetTaskId ¶
func (m *ReportTaskCompleteRequest) GetTaskId() string
func (*ReportTaskCompleteRequest) GetTaskType ¶
func (m *ReportTaskCompleteRequest) GetTaskType() TaskType
func (*ReportTaskCompleteRequest) ProtoMessage ¶
func (*ReportTaskCompleteRequest) ProtoMessage()
func (*ReportTaskCompleteRequest) Reset ¶
func (m *ReportTaskCompleteRequest) Reset()
func (*ReportTaskCompleteRequest) String ¶
func (m *ReportTaskCompleteRequest) String() string
func (*ReportTaskCompleteRequest) XXX_DiscardUnknown ¶
func (m *ReportTaskCompleteRequest) XXX_DiscardUnknown()
func (*ReportTaskCompleteRequest) XXX_Marshal ¶
func (m *ReportTaskCompleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReportTaskCompleteRequest) XXX_Merge ¶
func (m *ReportTaskCompleteRequest) XXX_Merge(src proto.Message)
func (*ReportTaskCompleteRequest) XXX_OneofWrappers ¶
func (*ReportTaskCompleteRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ReportTaskCompleteRequest) XXX_Size ¶
func (m *ReportTaskCompleteRequest) XXX_Size() int
func (*ReportTaskCompleteRequest) XXX_Unmarshal ¶
func (m *ReportTaskCompleteRequest) XXX_Unmarshal(b []byte) error
type ReportTaskCompleteRequest_ApplyPatchesTaskOutput ¶
type ReportTaskCompleteRequest_ApplyPatchesTaskOutput struct {
ApplyPatchesTaskOutput *ApplyPatchesTaskOutput `protobuf:"bytes,5,opt,name=apply_patches_task_output,json=applyPatchesTaskOutput,proto3,oneof"`
}
type ReportTaskCompleteRequest_ExecStepTaskOutput ¶
type ReportTaskCompleteRequest_ExecStepTaskOutput struct {
ExecStepTaskOutput *ExecStepTaskOutput `protobuf:"bytes,6,opt,name=exec_step_task_output,json=execStepTaskOutput,proto3,oneof"`
}
type ReportTaskCompleteResponse ¶
type ReportTaskCompleteResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The response message after the agent signaled the current task complete.
func (*ReportTaskCompleteResponse) Descriptor ¶
func (*ReportTaskCompleteResponse) Descriptor() ([]byte, []int)
func (*ReportTaskCompleteResponse) ProtoMessage ¶
func (*ReportTaskCompleteResponse) ProtoMessage()
func (*ReportTaskCompleteResponse) Reset ¶
func (m *ReportTaskCompleteResponse) Reset()
func (*ReportTaskCompleteResponse) String ¶
func (m *ReportTaskCompleteResponse) String() string
func (*ReportTaskCompleteResponse) XXX_DiscardUnknown ¶
func (m *ReportTaskCompleteResponse) XXX_DiscardUnknown()
func (*ReportTaskCompleteResponse) XXX_Marshal ¶
func (m *ReportTaskCompleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReportTaskCompleteResponse) XXX_Merge ¶
func (m *ReportTaskCompleteResponse) XXX_Merge(src proto.Message)
func (*ReportTaskCompleteResponse) XXX_Size ¶
func (m *ReportTaskCompleteResponse) XXX_Size() int
func (*ReportTaskCompleteResponse) XXX_Unmarshal ¶
func (m *ReportTaskCompleteResponse) XXX_Unmarshal(b []byte) error
type ReportTaskProgressRequest ¶
type ReportTaskProgressRequest struct { // Required. This is the Compute Engine instance identity token described in // https://cloud.google.com/compute/docs/instances/verifying-instance-identity // where the audience is 'osconfig.googleapis.com' and the format is 'full'. InstanceIdToken string `protobuf:"bytes,1,opt,name=instance_id_token,json=instanceIdToken,proto3" json:"instance_id_token,omitempty"` // Required. Unique identifier of the task this applies to. TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` // Required. The type of task to report progress on. // // Progress must include the appropriate message based on this enum as // specified below: // APPLY_PATCHES = ApplyPatchesTaskProgress // EXEC_STEP = Progress not supported for this type. TaskType TaskType `` /* 139-byte string literal not displayed */ // Intermediate progress of the current task. // // Types that are valid to be assigned to Progress: // *ReportTaskProgressRequest_ApplyPatchesTaskProgress // *ReportTaskProgressRequest_ExecStepTaskProgress Progress isReportTaskProgressRequest_Progress `protobuf_oneof:"progress"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request message for reporting the progress of current task.
func (*ReportTaskProgressRequest) Descriptor ¶
func (*ReportTaskProgressRequest) Descriptor() ([]byte, []int)
func (*ReportTaskProgressRequest) GetApplyPatchesTaskProgress ¶
func (m *ReportTaskProgressRequest) GetApplyPatchesTaskProgress() *ApplyPatchesTaskProgress
func (*ReportTaskProgressRequest) GetExecStepTaskProgress ¶
func (m *ReportTaskProgressRequest) GetExecStepTaskProgress() *ExecStepTaskProgress
func (*ReportTaskProgressRequest) GetInstanceIdToken ¶
func (m *ReportTaskProgressRequest) GetInstanceIdToken() string
func (*ReportTaskProgressRequest) GetProgress ¶
func (m *ReportTaskProgressRequest) GetProgress() isReportTaskProgressRequest_Progress
func (*ReportTaskProgressRequest) GetTaskId ¶
func (m *ReportTaskProgressRequest) GetTaskId() string
func (*ReportTaskProgressRequest) GetTaskType ¶
func (m *ReportTaskProgressRequest) GetTaskType() TaskType
func (*ReportTaskProgressRequest) ProtoMessage ¶
func (*ReportTaskProgressRequest) ProtoMessage()
func (*ReportTaskProgressRequest) Reset ¶
func (m *ReportTaskProgressRequest) Reset()
func (*ReportTaskProgressRequest) String ¶
func (m *ReportTaskProgressRequest) String() string
func (*ReportTaskProgressRequest) XXX_DiscardUnknown ¶
func (m *ReportTaskProgressRequest) XXX_DiscardUnknown()
func (*ReportTaskProgressRequest) XXX_Marshal ¶
func (m *ReportTaskProgressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReportTaskProgressRequest) XXX_Merge ¶
func (m *ReportTaskProgressRequest) XXX_Merge(src proto.Message)
func (*ReportTaskProgressRequest) XXX_OneofWrappers ¶
func (*ReportTaskProgressRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ReportTaskProgressRequest) XXX_Size ¶
func (m *ReportTaskProgressRequest) XXX_Size() int
func (*ReportTaskProgressRequest) XXX_Unmarshal ¶
func (m *ReportTaskProgressRequest) XXX_Unmarshal(b []byte) error
type ReportTaskProgressRequest_ApplyPatchesTaskProgress ¶
type ReportTaskProgressRequest_ApplyPatchesTaskProgress struct {
ApplyPatchesTaskProgress *ApplyPatchesTaskProgress `protobuf:"bytes,4,opt,name=apply_patches_task_progress,json=applyPatchesTaskProgress,proto3,oneof"`
}
type ReportTaskProgressRequest_ExecStepTaskProgress ¶
type ReportTaskProgressRequest_ExecStepTaskProgress struct {
ExecStepTaskProgress *ExecStepTaskProgress `protobuf:"bytes,5,opt,name=exec_step_task_progress,json=execStepTaskProgress,proto3,oneof"`
}
type ReportTaskProgressResponse ¶
type ReportTaskProgressResponse struct { // Instructs agent to continue or not. TaskDirective TaskDirective `` /* 159-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The response message after the agent reported the current task progress.
func (*ReportTaskProgressResponse) Descriptor ¶
func (*ReportTaskProgressResponse) Descriptor() ([]byte, []int)
func (*ReportTaskProgressResponse) GetTaskDirective ¶
func (m *ReportTaskProgressResponse) GetTaskDirective() TaskDirective
func (*ReportTaskProgressResponse) ProtoMessage ¶
func (*ReportTaskProgressResponse) ProtoMessage()
func (*ReportTaskProgressResponse) Reset ¶
func (m *ReportTaskProgressResponse) Reset()
func (*ReportTaskProgressResponse) String ¶
func (m *ReportTaskProgressResponse) String() string
func (*ReportTaskProgressResponse) XXX_DiscardUnknown ¶
func (m *ReportTaskProgressResponse) XXX_DiscardUnknown()
func (*ReportTaskProgressResponse) XXX_Marshal ¶
func (m *ReportTaskProgressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReportTaskProgressResponse) XXX_Merge ¶
func (m *ReportTaskProgressResponse) XXX_Merge(src proto.Message)
func (*ReportTaskProgressResponse) XXX_Size ¶
func (m *ReportTaskProgressResponse) XXX_Size() int
func (*ReportTaskProgressResponse) XXX_Unmarshal ¶
func (m *ReportTaskProgressResponse) XXX_Unmarshal(b []byte) error
type RetryStrategy ¶
type RetryStrategy struct { // If true, the agent will continue to try and patch until the window has // ended. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The strategy for retrying failed patches during the patch window.
func (*RetryStrategy) Descriptor ¶
func (*RetryStrategy) Descriptor() ([]byte, []int)
func (*RetryStrategy) GetEnabled ¶
func (m *RetryStrategy) GetEnabled() bool
func (*RetryStrategy) ProtoMessage ¶
func (*RetryStrategy) ProtoMessage()
func (*RetryStrategy) Reset ¶
func (m *RetryStrategy) Reset()
func (*RetryStrategy) String ¶
func (m *RetryStrategy) String() string
func (*RetryStrategy) XXX_DiscardUnknown ¶
func (m *RetryStrategy) XXX_DiscardUnknown()
func (*RetryStrategy) XXX_Marshal ¶
func (m *RetryStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RetryStrategy) XXX_Merge ¶
func (m *RetryStrategy) XXX_Merge(src proto.Message)
func (*RetryStrategy) XXX_Size ¶
func (m *RetryStrategy) XXX_Size() int
func (*RetryStrategy) XXX_Unmarshal ¶
func (m *RetryStrategy) XXX_Unmarshal(b []byte) error
type StartNextTaskRequest ¶
type StartNextTaskRequest struct { // Required. This is the Compute Engine instance identity token described in // https://cloud.google.com/compute/docs/instances/verifying-instance-identity // where the audience is 'osconfig.googleapis.com' and the format is 'full'. InstanceIdToken string `protobuf:"bytes,1,opt,name=instance_id_token,json=instanceIdToken,proto3" json:"instance_id_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request message for signaling the start of a task execution.
func (*StartNextTaskRequest) Descriptor ¶
func (*StartNextTaskRequest) Descriptor() ([]byte, []int)
func (*StartNextTaskRequest) GetInstanceIdToken ¶
func (m *StartNextTaskRequest) GetInstanceIdToken() string
func (*StartNextTaskRequest) ProtoMessage ¶
func (*StartNextTaskRequest) ProtoMessage()
func (*StartNextTaskRequest) Reset ¶
func (m *StartNextTaskRequest) Reset()
func (*StartNextTaskRequest) String ¶
func (m *StartNextTaskRequest) String() string
func (*StartNextTaskRequest) XXX_DiscardUnknown ¶
func (m *StartNextTaskRequest) XXX_DiscardUnknown()
func (*StartNextTaskRequest) XXX_Marshal ¶
func (m *StartNextTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StartNextTaskRequest) XXX_Merge ¶
func (m *StartNextTaskRequest) XXX_Merge(src proto.Message)
func (*StartNextTaskRequest) XXX_Size ¶
func (m *StartNextTaskRequest) XXX_Size() int
func (*StartNextTaskRequest) XXX_Unmarshal ¶
func (m *StartNextTaskRequest) XXX_Unmarshal(b []byte) error
type StartNextTaskResponse ¶
type StartNextTaskResponse struct { // The details of the task that should be worked on. Can be empty if there // is no new task to work on. Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A response message that contains the details of the task to work on.
func (*StartNextTaskResponse) Descriptor ¶
func (*StartNextTaskResponse) Descriptor() ([]byte, []int)
func (*StartNextTaskResponse) GetTask ¶
func (m *StartNextTaskResponse) GetTask() *Task
func (*StartNextTaskResponse) ProtoMessage ¶
func (*StartNextTaskResponse) ProtoMessage()
func (*StartNextTaskResponse) Reset ¶
func (m *StartNextTaskResponse) Reset()
func (*StartNextTaskResponse) String ¶
func (m *StartNextTaskResponse) String() string
func (*StartNextTaskResponse) XXX_DiscardUnknown ¶
func (m *StartNextTaskResponse) XXX_DiscardUnknown()
func (*StartNextTaskResponse) XXX_Marshal ¶
func (m *StartNextTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StartNextTaskResponse) XXX_Merge ¶
func (m *StartNextTaskResponse) XXX_Merge(src proto.Message)
func (*StartNextTaskResponse) XXX_Size ¶
func (m *StartNextTaskResponse) XXX_Size() int
func (*StartNextTaskResponse) XXX_Unmarshal ¶
func (m *StartNextTaskResponse) XXX_Unmarshal(b []byte) error
type Task ¶
type Task struct { // Unique task id. TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` // The type of task to perform. // // Task details must include the appropriate message based on this enum as // specified below: // APPLY_PATCHES = ApplyPatchesTask // EXEC_STEP = ExecStepTask; TaskType TaskType `` /* 139-byte string literal not displayed */ // Current directive to the agent. TaskDirective TaskDirective `` /* 159-byte string literal not displayed */ // Specific details about the current task to perform. // // Types that are valid to be assigned to TaskDetails: // *Task_ApplyPatchesTask // *Task_ExecStepTask TaskDetails isTask_TaskDetails `protobuf_oneof:"task_details"` // Labels describing the task. Used for logging by the agent. ServiceLabels map[string]string `` /* 188-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A unit of work to be performed by the agent.
func (*Task) Descriptor ¶
func (*Task) GetApplyPatchesTask ¶
func (m *Task) GetApplyPatchesTask() *ApplyPatchesTask
func (*Task) GetExecStepTask ¶
func (m *Task) GetExecStepTask() *ExecStepTask
func (*Task) GetServiceLabels ¶
func (*Task) GetTaskDetails ¶
func (m *Task) GetTaskDetails() isTask_TaskDetails
func (*Task) GetTaskDirective ¶
func (m *Task) GetTaskDirective() TaskDirective
func (*Task) GetTaskType ¶
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) XXX_DiscardUnknown ¶
func (m *Task) XXX_DiscardUnknown()
func (*Task) XXX_OneofWrappers ¶
func (*Task) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Task) XXX_Unmarshal ¶
type TaskDirective ¶
type TaskDirective int32
Specifies the current agent behavior.
const ( // Unspecified is invalid. TaskDirective_TASK_DIRECTIVE_UNSPECIFIED TaskDirective = 0 // The task should continue to progress. TaskDirective_CONTINUE TaskDirective = 1 // Task should not be started, or if already in progress, should stop // at first safe stopping point. Task should be considered done and will // never repeat. TaskDirective_STOP TaskDirective = 2 )
func (TaskDirective) EnumDescriptor ¶
func (TaskDirective) EnumDescriptor() ([]byte, []int)
func (TaskDirective) String ¶
func (x TaskDirective) String() string
type TaskType ¶
type TaskType int32
Specifies the type of task to perform.
func (TaskType) EnumDescriptor ¶
type Task_ApplyPatchesTask ¶
type Task_ApplyPatchesTask struct {
ApplyPatchesTask *ApplyPatchesTask `protobuf:"bytes,4,opt,name=apply_patches_task,json=applyPatchesTask,proto3,oneof"`
}
type Task_ExecStepTask ¶
type Task_ExecStepTask struct {
ExecStepTask *ExecStepTask `protobuf:"bytes,5,opt,name=exec_step_task,json=execStepTask,proto3,oneof"`
}
type UnimplementedAgentEndpointServiceServer ¶
type UnimplementedAgentEndpointServiceServer struct { }
UnimplementedAgentEndpointServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAgentEndpointServiceServer) ReceiveTaskNotification ¶
func (*UnimplementedAgentEndpointServiceServer) ReceiveTaskNotification(req *ReceiveTaskNotificationRequest, srv AgentEndpointService_ReceiveTaskNotificationServer) error
func (*UnimplementedAgentEndpointServiceServer) RegisterAgent ¶
func (*UnimplementedAgentEndpointServiceServer) RegisterAgent(ctx context.Context, req *RegisterAgentRequest) (*RegisterAgentResponse, error)
func (*UnimplementedAgentEndpointServiceServer) ReportTaskComplete ¶
func (*UnimplementedAgentEndpointServiceServer) ReportTaskComplete(ctx context.Context, req *ReportTaskCompleteRequest) (*ReportTaskCompleteResponse, error)
func (*UnimplementedAgentEndpointServiceServer) ReportTaskProgress ¶
func (*UnimplementedAgentEndpointServiceServer) ReportTaskProgress(ctx context.Context, req *ReportTaskProgressRequest) (*ReportTaskProgressResponse, error)
func (*UnimplementedAgentEndpointServiceServer) StartNextTask ¶
func (*UnimplementedAgentEndpointServiceServer) StartNextTask(ctx context.Context, req *StartNextTaskRequest) (*StartNextTaskResponse, error)
type WindowsUpdateSettings ¶
type WindowsUpdateSettings struct { // Only apply updates of these windows update classifications. If empty, all // updates will be applied. Classifications []WindowsUpdateSettings_Classification `` /* 172-byte string literal not displayed */ // List of KBs to exclude from update. Excludes []string `protobuf:"bytes,2,rep,name=excludes,proto3" json:"excludes,omitempty"` // An exclusive list of kbs to be updated. These are the only patches // that will be updated. This field must not be used with other // patch configurations. ExclusivePatches []string `protobuf:"bytes,3,rep,name=exclusive_patches,json=exclusivePatches,proto3" json:"exclusive_patches,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Windows patching is performed using the Windows Update Agent.
func (*WindowsUpdateSettings) Descriptor ¶
func (*WindowsUpdateSettings) Descriptor() ([]byte, []int)
func (*WindowsUpdateSettings) GetClassifications ¶
func (m *WindowsUpdateSettings) GetClassifications() []WindowsUpdateSettings_Classification
func (*WindowsUpdateSettings) GetExcludes ¶
func (m *WindowsUpdateSettings) GetExcludes() []string
func (*WindowsUpdateSettings) GetExclusivePatches ¶
func (m *WindowsUpdateSettings) GetExclusivePatches() []string
func (*WindowsUpdateSettings) ProtoMessage ¶
func (*WindowsUpdateSettings) ProtoMessage()
func (*WindowsUpdateSettings) Reset ¶
func (m *WindowsUpdateSettings) Reset()
func (*WindowsUpdateSettings) String ¶
func (m *WindowsUpdateSettings) String() string
func (*WindowsUpdateSettings) XXX_DiscardUnknown ¶
func (m *WindowsUpdateSettings) XXX_DiscardUnknown()
func (*WindowsUpdateSettings) XXX_Marshal ¶
func (m *WindowsUpdateSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WindowsUpdateSettings) XXX_Merge ¶
func (m *WindowsUpdateSettings) XXX_Merge(src proto.Message)
func (*WindowsUpdateSettings) XXX_Size ¶
func (m *WindowsUpdateSettings) XXX_Size() int
func (*WindowsUpdateSettings) XXX_Unmarshal ¶
func (m *WindowsUpdateSettings) XXX_Unmarshal(b []byte) error
type WindowsUpdateSettings_Classification ¶
type WindowsUpdateSettings_Classification int32
Microsoft Windows update classifications as defined in [1] https://support.microsoft.com/en-us/help/824684/description-of-the-standard-terminology-that-is-used-to-describe-micro
const ( // Invalid. If classifications are included, they must be specified. WindowsUpdateSettings_CLASSIFICATION_UNSPECIFIED WindowsUpdateSettings_Classification = 0 // "A widely released fix for a specific problem that addresses a critical, // non-security-related bug." [1] WindowsUpdateSettings_CRITICAL WindowsUpdateSettings_Classification = 1 // "A widely released fix for a product-specific, security-related // vulnerability. Security vulnerabilities are rated by their severity. The // severity rating is indicated in the Microsoft security bulletin as // critical, important, moderate, or low." [1] WindowsUpdateSettings_SECURITY WindowsUpdateSettings_Classification = 2 // "A widely released and frequent software update that contains additions // to a product’s definition database. Definition databases are often used // to detect objects that have specific attributes, such as malicious code, // phishing websites, or junk mail." [1] WindowsUpdateSettings_DEFINITION WindowsUpdateSettings_Classification = 3 // "Software that controls the input and output of a device." [1] WindowsUpdateSettings_DRIVER WindowsUpdateSettings_Classification = 4 // "New product functionality that is first distributed outside the context // of a product release and that is typically included in the next full // product release." [1] WindowsUpdateSettings_FEATURE_PACK WindowsUpdateSettings_Classification = 5 // "A tested, cumulative set of all hotfixes, security updates, critical // updates, and updates. Additionally, service packs may contain additional // fixes for problems that are found internally since the release of the // product. Service packs my also contain a limited number of // customer-requested design changes or features." [1] WindowsUpdateSettings_SERVICE_PACK WindowsUpdateSettings_Classification = 6 // "A utility or feature that helps complete a task or set of tasks." [1] WindowsUpdateSettings_TOOL WindowsUpdateSettings_Classification = 7 // "A tested, cumulative set of hotfixes, security updates, critical // updates, and updates that are packaged together for easy deployment. A // rollup generally targets a specific area, such as security, or a // component of a product, such as Internet Information Services (IIS)." [1] WindowsUpdateSettings_UPDATE_ROLLUP WindowsUpdateSettings_Classification = 8 // "A widely released fix for a specific problem. An update addresses a // noncritical, non-security-related bug." [1] WindowsUpdateSettings_UPDATE WindowsUpdateSettings_Classification = 9 )
func (WindowsUpdateSettings_Classification) EnumDescriptor ¶
func (WindowsUpdateSettings_Classification) EnumDescriptor() ([]byte, []int)
func (WindowsUpdateSettings_Classification) String ¶
func (x WindowsUpdateSettings_Classification) String() string
type YumSettings ¶
type YumSettings struct { // Adds the `--security` flag to `yum update`. Not supported on // all platforms. Security bool `protobuf:"varint,1,opt,name=security,proto3" json:"security,omitempty"` // Will cause patch to run `yum update-minimal` instead. Minimal bool `protobuf:"varint,2,opt,name=minimal,proto3" json:"minimal,omitempty"` // List of packages to exclude from update. These packages will be excluded by // using the yum `--exclude` flag. Excludes []string `protobuf:"bytes,3,rep,name=excludes,proto3" json:"excludes,omitempty"` // An exclusive list of packages to be updated. These are the only packages // that will be updated. If these packages are not installed, they will be // ignored. This field must not be specified with any other patch // configuration fields. ExclusivePackages []string `protobuf:"bytes,4,rep,name=exclusive_packages,json=exclusivePackages,proto3" json:"exclusive_packages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Yum patching will be performed by executing `yum update`. Additional options can be set to control how this is executed.
Note that not all settings are supported on all platforms.
func (*YumSettings) Descriptor ¶
func (*YumSettings) Descriptor() ([]byte, []int)
func (*YumSettings) GetExcludes ¶
func (m *YumSettings) GetExcludes() []string
func (*YumSettings) GetExclusivePackages ¶
func (m *YumSettings) GetExclusivePackages() []string
func (*YumSettings) GetMinimal ¶
func (m *YumSettings) GetMinimal() bool
func (*YumSettings) GetSecurity ¶
func (m *YumSettings) GetSecurity() bool
func (*YumSettings) ProtoMessage ¶
func (*YumSettings) ProtoMessage()
func (*YumSettings) Reset ¶
func (m *YumSettings) Reset()
func (*YumSettings) String ¶
func (m *YumSettings) String() string
func (*YumSettings) XXX_DiscardUnknown ¶
func (m *YumSettings) XXX_DiscardUnknown()
func (*YumSettings) XXX_Marshal ¶
func (m *YumSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*YumSettings) XXX_Merge ¶
func (m *YumSettings) XXX_Merge(src proto.Message)
func (*YumSettings) XXX_Size ¶
func (m *YumSettings) XXX_Size() int
func (*YumSettings) XXX_Unmarshal ¶
func (m *YumSettings) XXX_Unmarshal(b []byte) error
type ZypperSettings ¶
type ZypperSettings struct { // Adds the `--with-optional` flag to `zypper patch`. WithOptional bool `protobuf:"varint,1,opt,name=with_optional,json=withOptional,proto3" json:"with_optional,omitempty"` // Adds the `--with-update` flag, to `zypper patch`. WithUpdate bool `protobuf:"varint,2,opt,name=with_update,json=withUpdate,proto3" json:"with_update,omitempty"` // Install only patches with these categories. // Common categories include security, recommended, and feature. Categories []string `protobuf:"bytes,3,rep,name=categories,proto3" json:"categories,omitempty"` // Install only patches with these severities. // Common severities include critical, important, moderate, and low. Severities []string `protobuf:"bytes,4,rep,name=severities,proto3" json:"severities,omitempty"` // List of patches to exclude from update. Excludes []string `protobuf:"bytes,5,rep,name=excludes,proto3" json:"excludes,omitempty"` // An exclusive list of patches to be updated. These are the only patches // that will be installed using 'zypper patch patch:<patch_name>' command. // This field must not be used with any other patch configuration fields. ExclusivePatches []string `protobuf:"bytes,6,rep,name=exclusive_patches,json=exclusivePatches,proto3" json:"exclusive_patches,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Zypper patching is performed by running `zypper patch`. See also https://en.opensuse.org/SDB:Zypper_manual.
func (*ZypperSettings) Descriptor ¶
func (*ZypperSettings) Descriptor() ([]byte, []int)
func (*ZypperSettings) GetCategories ¶
func (m *ZypperSettings) GetCategories() []string
func (*ZypperSettings) GetExcludes ¶
func (m *ZypperSettings) GetExcludes() []string
func (*ZypperSettings) GetExclusivePatches ¶
func (m *ZypperSettings) GetExclusivePatches() []string
func (*ZypperSettings) GetSeverities ¶
func (m *ZypperSettings) GetSeverities() []string
func (*ZypperSettings) GetWithOptional ¶
func (m *ZypperSettings) GetWithOptional() bool
func (*ZypperSettings) GetWithUpdate ¶
func (m *ZypperSettings) GetWithUpdate() bool
func (*ZypperSettings) ProtoMessage ¶
func (*ZypperSettings) ProtoMessage()
func (*ZypperSettings) Reset ¶
func (m *ZypperSettings) Reset()
func (*ZypperSettings) String ¶
func (m *ZypperSettings) String() string
func (*ZypperSettings) XXX_DiscardUnknown ¶
func (m *ZypperSettings) XXX_DiscardUnknown()
func (*ZypperSettings) XXX_Marshal ¶
func (m *ZypperSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ZypperSettings) XXX_Merge ¶
func (m *ZypperSettings) XXX_Merge(src proto.Message)
func (*ZypperSettings) XXX_Size ¶
func (m *ZypperSettings) XXX_Size() int
func (*ZypperSettings) XXX_Unmarshal ¶
func (m *ZypperSettings) XXX_Unmarshal(b []byte) error