Documentation ¶
Index ¶
- Variables
- func RegisterAgentEndpointServiceServer(s *grpc.Server, srv AgentEndpointServiceServer)
- type AgentEndpointServiceClient
- type AgentEndpointServiceServer
- type AgentEndpointService_ReceiveTaskNotificationClient
- type AgentEndpointService_ReceiveTaskNotificationServer
- type ApplyConfigTask
- func (*ApplyConfigTask) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyConfigTask) GetOsPolicies() []*ApplyConfigTask_OSPolicy
- func (*ApplyConfigTask) ProtoMessage()
- func (x *ApplyConfigTask) ProtoReflect() protoreflect.Message
- func (x *ApplyConfigTask) Reset()
- func (x *ApplyConfigTask) String() string
- type ApplyConfigTaskOutput
- func (*ApplyConfigTaskOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyConfigTaskOutput) GetOsPolicyResults() []*ApplyConfigTaskOutput_OSPolicyResult
- func (x *ApplyConfigTaskOutput) GetState() ApplyConfigTaskOutput_State
- func (*ApplyConfigTaskOutput) ProtoMessage()
- func (x *ApplyConfigTaskOutput) ProtoReflect() protoreflect.Message
- func (x *ApplyConfigTaskOutput) Reset()
- func (x *ApplyConfigTaskOutput) String() string
- type ApplyConfigTaskOutput_OSPolicyResult
- func (*ApplyConfigTaskOutput_OSPolicyResult) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyConfigTaskOutput_OSPolicyResult) GetOsPolicyAssignment() string
- func (x *ApplyConfigTaskOutput_OSPolicyResult) GetOsPolicyId() string
- func (x *ApplyConfigTaskOutput_OSPolicyResult) GetOsPolicyResourceCompliances() []*OSPolicyResourceCompliance
- func (*ApplyConfigTaskOutput_OSPolicyResult) ProtoMessage()
- func (x *ApplyConfigTaskOutput_OSPolicyResult) ProtoReflect() protoreflect.Message
- func (x *ApplyConfigTaskOutput_OSPolicyResult) Reset()
- func (x *ApplyConfigTaskOutput_OSPolicyResult) String() string
- type ApplyConfigTaskOutput_State
- func (ApplyConfigTaskOutput_State) Descriptor() protoreflect.EnumDescriptor
- func (x ApplyConfigTaskOutput_State) Enum() *ApplyConfigTaskOutput_State
- func (ApplyConfigTaskOutput_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x ApplyConfigTaskOutput_State) Number() protoreflect.EnumNumber
- func (x ApplyConfigTaskOutput_State) String() string
- func (ApplyConfigTaskOutput_State) Type() protoreflect.EnumType
- type ApplyConfigTaskProgress
- func (*ApplyConfigTaskProgress) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyConfigTaskProgress) GetState() ApplyConfigTaskProgress_State
- func (*ApplyConfigTaskProgress) ProtoMessage()
- func (x *ApplyConfigTaskProgress) ProtoReflect() protoreflect.Message
- func (x *ApplyConfigTaskProgress) Reset()
- func (x *ApplyConfigTaskProgress) String() string
- type ApplyConfigTaskProgress_State
- func (ApplyConfigTaskProgress_State) Descriptor() protoreflect.EnumDescriptor
- func (x ApplyConfigTaskProgress_State) Enum() *ApplyConfigTaskProgress_State
- func (ApplyConfigTaskProgress_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x ApplyConfigTaskProgress_State) Number() protoreflect.EnumNumber
- func (x ApplyConfigTaskProgress_State) String() string
- func (ApplyConfigTaskProgress_State) Type() protoreflect.EnumType
- type ApplyConfigTask_OSPolicy
- func (*ApplyConfigTask_OSPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyConfigTask_OSPolicy) GetId() string
- func (x *ApplyConfigTask_OSPolicy) GetMode() OSPolicy_Mode
- func (x *ApplyConfigTask_OSPolicy) GetOsPolicyAssignment() string
- func (x *ApplyConfigTask_OSPolicy) GetResources() []*OSPolicy_Resource
- func (*ApplyConfigTask_OSPolicy) ProtoMessage()
- func (x *ApplyConfigTask_OSPolicy) ProtoReflect() protoreflect.Message
- func (x *ApplyConfigTask_OSPolicy) Reset()
- func (x *ApplyConfigTask_OSPolicy) String() string
- type ApplyPatchesTask
- func (*ApplyPatchesTask) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyPatchesTask) GetDryRun() bool
- func (x *ApplyPatchesTask) GetPatchConfig() *PatchConfig
- func (*ApplyPatchesTask) ProtoMessage()
- func (x *ApplyPatchesTask) ProtoReflect() protoreflect.Message
- func (x *ApplyPatchesTask) Reset()
- func (x *ApplyPatchesTask) String() string
- type ApplyPatchesTaskOutput
- func (*ApplyPatchesTaskOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyPatchesTaskOutput) GetState() ApplyPatchesTaskOutput_State
- func (*ApplyPatchesTaskOutput) ProtoMessage()
- func (x *ApplyPatchesTaskOutput) ProtoReflect() protoreflect.Message
- func (x *ApplyPatchesTaskOutput) Reset()
- func (x *ApplyPatchesTaskOutput) String() string
- type ApplyPatchesTaskOutput_State
- func (ApplyPatchesTaskOutput_State) Descriptor() protoreflect.EnumDescriptor
- func (x ApplyPatchesTaskOutput_State) Enum() *ApplyPatchesTaskOutput_State
- func (ApplyPatchesTaskOutput_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x ApplyPatchesTaskOutput_State) Number() protoreflect.EnumNumber
- func (x ApplyPatchesTaskOutput_State) String() string
- func (ApplyPatchesTaskOutput_State) Type() protoreflect.EnumType
- type ApplyPatchesTaskProgress
- func (*ApplyPatchesTaskProgress) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyPatchesTaskProgress) GetState() ApplyPatchesTaskProgress_State
- func (*ApplyPatchesTaskProgress) ProtoMessage()
- func (x *ApplyPatchesTaskProgress) ProtoReflect() protoreflect.Message
- func (x *ApplyPatchesTaskProgress) Reset()
- func (x *ApplyPatchesTaskProgress) String() string
- type ApplyPatchesTaskProgress_State
- func (ApplyPatchesTaskProgress_State) Descriptor() protoreflect.EnumDescriptor
- func (x ApplyPatchesTaskProgress_State) Enum() *ApplyPatchesTaskProgress_State
- func (ApplyPatchesTaskProgress_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x ApplyPatchesTaskProgress_State) Number() protoreflect.EnumNumber
- func (x ApplyPatchesTaskProgress_State) String() string
- func (ApplyPatchesTaskProgress_State) Type() protoreflect.EnumType
- type AptSettings
- func (*AptSettings) Descriptor() ([]byte, []int)deprecated
- func (x *AptSettings) GetExcludes() []string
- func (x *AptSettings) GetExclusivePackages() []string
- func (x *AptSettings) GetType() AptSettings_Type
- func (*AptSettings) ProtoMessage()
- func (x *AptSettings) ProtoReflect() protoreflect.Message
- func (x *AptSettings) Reset()
- func (x *AptSettings) String() string
- type AptSettings_Type
- func (AptSettings_Type) Descriptor() protoreflect.EnumDescriptor
- func (x AptSettings_Type) Enum() *AptSettings_Type
- func (AptSettings_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x AptSettings_Type) Number() protoreflect.EnumNumber
- func (x AptSettings_Type) String() string
- func (AptSettings_Type) Type() protoreflect.EnumType
- type ExecStep
- func (*ExecStep) Descriptor() ([]byte, []int)deprecated
- func (x *ExecStep) GetLinuxExecStepConfig() *ExecStepConfig
- func (x *ExecStep) GetWindowsExecStepConfig() *ExecStepConfig
- func (*ExecStep) ProtoMessage()
- func (x *ExecStep) ProtoReflect() protoreflect.Message
- func (x *ExecStep) Reset()
- func (x *ExecStep) String() string
- type ExecStepConfig
- func (*ExecStepConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ExecStepConfig) GetAllowedSuccessCodes() []int32
- func (m *ExecStepConfig) GetExecutable() isExecStepConfig_Executable
- func (x *ExecStepConfig) GetGcsObject() *GcsObject
- func (x *ExecStepConfig) GetInterpreter() ExecStepConfig_Interpreter
- func (x *ExecStepConfig) GetLocalPath() string
- func (*ExecStepConfig) ProtoMessage()
- func (x *ExecStepConfig) ProtoReflect() protoreflect.Message
- func (x *ExecStepConfig) Reset()
- func (x *ExecStepConfig) String() string
- type ExecStepConfig_GcsObject
- type ExecStepConfig_Interpreter
- func (ExecStepConfig_Interpreter) Descriptor() protoreflect.EnumDescriptor
- func (x ExecStepConfig_Interpreter) Enum() *ExecStepConfig_Interpreter
- func (ExecStepConfig_Interpreter) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecStepConfig_Interpreter) Number() protoreflect.EnumNumber
- func (x ExecStepConfig_Interpreter) String() string
- func (ExecStepConfig_Interpreter) Type() protoreflect.EnumType
- type ExecStepConfig_LocalPath
- type ExecStepTask
- type ExecStepTaskOutput
- func (*ExecStepTaskOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ExecStepTaskOutput) GetExitCode() int32
- func (x *ExecStepTaskOutput) GetState() ExecStepTaskOutput_State
- func (*ExecStepTaskOutput) ProtoMessage()
- func (x *ExecStepTaskOutput) ProtoReflect() protoreflect.Message
- func (x *ExecStepTaskOutput) Reset()
- func (x *ExecStepTaskOutput) String() string
- type ExecStepTaskOutput_State
- func (ExecStepTaskOutput_State) Descriptor() protoreflect.EnumDescriptor
- func (x ExecStepTaskOutput_State) Enum() *ExecStepTaskOutput_State
- func (ExecStepTaskOutput_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecStepTaskOutput_State) Number() protoreflect.EnumNumber
- func (x ExecStepTaskOutput_State) String() string
- func (ExecStepTaskOutput_State) Type() protoreflect.EnumType
- type ExecStepTaskProgress
- func (*ExecStepTaskProgress) Descriptor() ([]byte, []int)deprecated
- func (x *ExecStepTaskProgress) GetState() ExecStepTaskProgress_State
- func (*ExecStepTaskProgress) ProtoMessage()
- func (x *ExecStepTaskProgress) ProtoReflect() protoreflect.Message
- func (x *ExecStepTaskProgress) Reset()
- func (x *ExecStepTaskProgress) String() string
- type ExecStepTaskProgress_State
- func (ExecStepTaskProgress_State) Descriptor() protoreflect.EnumDescriptor
- func (x ExecStepTaskProgress_State) Enum() *ExecStepTaskProgress_State
- func (ExecStepTaskProgress_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecStepTaskProgress_State) Number() protoreflect.EnumNumber
- func (x ExecStepTaskProgress_State) String() string
- func (ExecStepTaskProgress_State) Type() protoreflect.EnumType
- type GcsObject
- func (*GcsObject) Descriptor() ([]byte, []int)deprecated
- func (x *GcsObject) GetBucket() string
- func (x *GcsObject) GetGenerationNumber() int64
- func (x *GcsObject) GetObject() string
- func (*GcsObject) ProtoMessage()
- func (x *GcsObject) ProtoReflect() protoreflect.Message
- func (x *GcsObject) Reset()
- func (x *GcsObject) String() string
- type GooSettings
- type Inventory
- func (*Inventory) Descriptor() ([]byte, []int)deprecated
- func (x *Inventory) GetAvailablePackages() []*Inventory_SoftwarePackage
- func (x *Inventory) GetInstalledPackages() []*Inventory_SoftwarePackage
- func (x *Inventory) GetOsInfo() *Inventory_OsInfo
- func (*Inventory) ProtoMessage()
- func (x *Inventory) ProtoReflect() protoreflect.Message
- func (x *Inventory) Reset()
- func (x *Inventory) String() string
- type Inventory_OsInfo
- func (*Inventory_OsInfo) Descriptor() ([]byte, []int)deprecated
- func (x *Inventory_OsInfo) GetArchitecture() string
- func (x *Inventory_OsInfo) GetHostname() string
- func (x *Inventory_OsInfo) GetKernelRelease() string
- func (x *Inventory_OsInfo) GetKernelVersion() string
- func (x *Inventory_OsInfo) GetLongName() string
- func (x *Inventory_OsInfo) GetOsconfigAgentVersion() string
- func (x *Inventory_OsInfo) GetShortName() string
- func (x *Inventory_OsInfo) GetVersion() string
- func (*Inventory_OsInfo) ProtoMessage()
- func (x *Inventory_OsInfo) ProtoReflect() protoreflect.Message
- func (x *Inventory_OsInfo) Reset()
- func (x *Inventory_OsInfo) String() string
- type Inventory_SoftwarePackage
- func (*Inventory_SoftwarePackage) Descriptor() ([]byte, []int)deprecated
- func (x *Inventory_SoftwarePackage) GetAptPackage() *Inventory_VersionedPackage
- func (x *Inventory_SoftwarePackage) GetCosPackage() *Inventory_VersionedPackage
- func (m *Inventory_SoftwarePackage) GetDetails() isInventory_SoftwarePackage_Details
- func (x *Inventory_SoftwarePackage) GetGoogetPackage() *Inventory_VersionedPackage
- func (x *Inventory_SoftwarePackage) GetQfePackage() *Inventory_WindowsQuickFixEngineeringPackage
- func (x *Inventory_SoftwarePackage) GetWindowsApplication() *Inventory_WindowsApplication
- func (x *Inventory_SoftwarePackage) GetWuaPackage() *Inventory_WindowsUpdatePackage
- func (x *Inventory_SoftwarePackage) GetYumPackage() *Inventory_VersionedPackage
- func (x *Inventory_SoftwarePackage) GetZypperPackage() *Inventory_VersionedPackage
- func (x *Inventory_SoftwarePackage) GetZypperPatch() *Inventory_ZypperPatch
- func (*Inventory_SoftwarePackage) ProtoMessage()
- func (x *Inventory_SoftwarePackage) ProtoReflect() protoreflect.Message
- func (x *Inventory_SoftwarePackage) Reset()
- func (x *Inventory_SoftwarePackage) String() string
- type Inventory_SoftwarePackage_AptPackage
- type Inventory_SoftwarePackage_CosPackage
- type Inventory_SoftwarePackage_GoogetPackage
- type Inventory_SoftwarePackage_QfePackage
- type Inventory_SoftwarePackage_WindowsApplication
- type Inventory_SoftwarePackage_WuaPackage
- type Inventory_SoftwarePackage_YumPackage
- type Inventory_SoftwarePackage_ZypperPackage
- type Inventory_SoftwarePackage_ZypperPatch
- type Inventory_VersionedPackage
- func (*Inventory_VersionedPackage) Descriptor() ([]byte, []int)deprecated
- func (x *Inventory_VersionedPackage) GetArchitecture() string
- func (x *Inventory_VersionedPackage) GetPackageName() string
- func (x *Inventory_VersionedPackage) GetSource() *Inventory_VersionedPackage_Source
- func (x *Inventory_VersionedPackage) GetVersion() string
- func (*Inventory_VersionedPackage) ProtoMessage()
- func (x *Inventory_VersionedPackage) ProtoReflect() protoreflect.Message
- func (x *Inventory_VersionedPackage) Reset()
- func (x *Inventory_VersionedPackage) String() string
- type Inventory_VersionedPackage_Source
- func (*Inventory_VersionedPackage_Source) Descriptor() ([]byte, []int)deprecated
- func (x *Inventory_VersionedPackage_Source) GetName() string
- func (x *Inventory_VersionedPackage_Source) GetVersion() string
- func (*Inventory_VersionedPackage_Source) ProtoMessage()
- func (x *Inventory_VersionedPackage_Source) ProtoReflect() protoreflect.Message
- func (x *Inventory_VersionedPackage_Source) Reset()
- func (x *Inventory_VersionedPackage_Source) String() string
- type Inventory_WindowsApplication
- func (*Inventory_WindowsApplication) Descriptor() ([]byte, []int)deprecated
- func (x *Inventory_WindowsApplication) GetDisplayName() string
- func (x *Inventory_WindowsApplication) GetDisplayVersion() string
- func (x *Inventory_WindowsApplication) GetHelpLink() string
- func (x *Inventory_WindowsApplication) GetInstallDate() *date.Date
- func (x *Inventory_WindowsApplication) GetPublisher() string
- func (*Inventory_WindowsApplication) ProtoMessage()
- func (x *Inventory_WindowsApplication) ProtoReflect() protoreflect.Message
- func (x *Inventory_WindowsApplication) Reset()
- func (x *Inventory_WindowsApplication) String() string
- type Inventory_WindowsQuickFixEngineeringPackage
- func (*Inventory_WindowsQuickFixEngineeringPackage) Descriptor() ([]byte, []int)deprecated
- func (x *Inventory_WindowsQuickFixEngineeringPackage) GetCaption() string
- func (x *Inventory_WindowsQuickFixEngineeringPackage) GetDescription() string
- func (x *Inventory_WindowsQuickFixEngineeringPackage) GetHotFixId() string
- func (x *Inventory_WindowsQuickFixEngineeringPackage) GetInstallTime() *timestamppb.Timestamp
- func (*Inventory_WindowsQuickFixEngineeringPackage) ProtoMessage()
- func (x *Inventory_WindowsQuickFixEngineeringPackage) ProtoReflect() protoreflect.Message
- func (x *Inventory_WindowsQuickFixEngineeringPackage) Reset()
- func (x *Inventory_WindowsQuickFixEngineeringPackage) String() string
- type Inventory_WindowsUpdatePackage
- func (*Inventory_WindowsUpdatePackage) Descriptor() ([]byte, []int)deprecated
- func (x *Inventory_WindowsUpdatePackage) GetCategories() []*Inventory_WindowsUpdatePackage_WindowsUpdateCategory
- func (x *Inventory_WindowsUpdatePackage) GetDescription() string
- func (x *Inventory_WindowsUpdatePackage) GetKbArticleIds() []string
- func (x *Inventory_WindowsUpdatePackage) GetLastDeploymentChangeTime() *timestamppb.Timestamp
- func (x *Inventory_WindowsUpdatePackage) GetMoreInfoUrls() []string
- func (x *Inventory_WindowsUpdatePackage) GetRevisionNumber() int32
- func (x *Inventory_WindowsUpdatePackage) GetSupportUrl() string
- func (x *Inventory_WindowsUpdatePackage) GetTitle() string
- func (x *Inventory_WindowsUpdatePackage) GetUpdateId() string
- func (*Inventory_WindowsUpdatePackage) ProtoMessage()
- func (x *Inventory_WindowsUpdatePackage) ProtoReflect() protoreflect.Message
- func (x *Inventory_WindowsUpdatePackage) Reset()
- func (x *Inventory_WindowsUpdatePackage) String() string
- type Inventory_WindowsUpdatePackage_WindowsUpdateCategory
- func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) Descriptor() ([]byte, []int)deprecated
- func (x *Inventory_WindowsUpdatePackage_WindowsUpdateCategory) GetId() string
- func (x *Inventory_WindowsUpdatePackage_WindowsUpdateCategory) GetName() string
- func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) ProtoMessage()
- func (x *Inventory_WindowsUpdatePackage_WindowsUpdateCategory) ProtoReflect() protoreflect.Message
- func (x *Inventory_WindowsUpdatePackage_WindowsUpdateCategory) Reset()
- func (x *Inventory_WindowsUpdatePackage_WindowsUpdateCategory) String() string
- type Inventory_ZypperPatch
- func (*Inventory_ZypperPatch) Descriptor() ([]byte, []int)deprecated
- func (x *Inventory_ZypperPatch) GetCategory() string
- func (x *Inventory_ZypperPatch) GetPatchName() string
- func (x *Inventory_ZypperPatch) GetSeverity() string
- func (x *Inventory_ZypperPatch) GetSummary() string
- func (*Inventory_ZypperPatch) ProtoMessage()
- func (x *Inventory_ZypperPatch) ProtoReflect() protoreflect.Message
- func (x *Inventory_ZypperPatch) Reset()
- func (x *Inventory_ZypperPatch) String() string
- type OSPolicy
- type OSPolicyComplianceState
- func (OSPolicyComplianceState) Descriptor() protoreflect.EnumDescriptor
- func (x OSPolicyComplianceState) Enum() *OSPolicyComplianceState
- func (OSPolicyComplianceState) EnumDescriptor() ([]byte, []int)deprecated
- func (x OSPolicyComplianceState) Number() protoreflect.EnumNumber
- func (x OSPolicyComplianceState) String() string
- func (OSPolicyComplianceState) Type() protoreflect.EnumType
- type OSPolicyResourceCompliance
- func (*OSPolicyResourceCompliance) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicyResourceCompliance) GetConfigSteps() []*OSPolicyResourceConfigStep
- func (x *OSPolicyResourceCompliance) GetExecResourceOutput() *OSPolicyResourceCompliance_ExecResourceOutput
- func (x *OSPolicyResourceCompliance) GetOsPolicyResourceId() string
- func (m *OSPolicyResourceCompliance) GetOutput() isOSPolicyResourceCompliance_Output
- func (x *OSPolicyResourceCompliance) GetState() OSPolicyComplianceState
- func (*OSPolicyResourceCompliance) ProtoMessage()
- func (x *OSPolicyResourceCompliance) ProtoReflect() protoreflect.Message
- func (x *OSPolicyResourceCompliance) Reset()
- func (x *OSPolicyResourceCompliance) String() string
- type OSPolicyResourceCompliance_ExecResourceOutput
- func (*OSPolicyResourceCompliance_ExecResourceOutput) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicyResourceCompliance_ExecResourceOutput) GetEnforcementOutput() []byte
- func (*OSPolicyResourceCompliance_ExecResourceOutput) ProtoMessage()
- func (x *OSPolicyResourceCompliance_ExecResourceOutput) ProtoReflect() protoreflect.Message
- func (x *OSPolicyResourceCompliance_ExecResourceOutput) Reset()
- func (x *OSPolicyResourceCompliance_ExecResourceOutput) String() string
- type OSPolicyResourceCompliance_ExecResourceOutput_
- type OSPolicyResourceConfigStep
- func (*OSPolicyResourceConfigStep) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicyResourceConfigStep) GetErrorMessage() string
- func (x *OSPolicyResourceConfigStep) GetOutcome() OSPolicyResourceConfigStep_Outcome
- func (x *OSPolicyResourceConfigStep) GetType() OSPolicyResourceConfigStep_Type
- func (*OSPolicyResourceConfigStep) ProtoMessage()
- func (x *OSPolicyResourceConfigStep) ProtoReflect() protoreflect.Message
- func (x *OSPolicyResourceConfigStep) Reset()
- func (x *OSPolicyResourceConfigStep) String() string
- type OSPolicyResourceConfigStep_Outcome
- func (OSPolicyResourceConfigStep_Outcome) Descriptor() protoreflect.EnumDescriptor
- func (x OSPolicyResourceConfigStep_Outcome) Enum() *OSPolicyResourceConfigStep_Outcome
- func (OSPolicyResourceConfigStep_Outcome) EnumDescriptor() ([]byte, []int)deprecated
- func (x OSPolicyResourceConfigStep_Outcome) Number() protoreflect.EnumNumber
- func (x OSPolicyResourceConfigStep_Outcome) String() string
- func (OSPolicyResourceConfigStep_Outcome) Type() protoreflect.EnumType
- type OSPolicyResourceConfigStep_Type
- func (OSPolicyResourceConfigStep_Type) Descriptor() protoreflect.EnumDescriptor
- func (x OSPolicyResourceConfigStep_Type) Enum() *OSPolicyResourceConfigStep_Type
- func (OSPolicyResourceConfigStep_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x OSPolicyResourceConfigStep_Type) Number() protoreflect.EnumNumber
- func (x OSPolicyResourceConfigStep_Type) String() string
- func (OSPolicyResourceConfigStep_Type) Type() protoreflect.EnumType
- type OSPolicy_Mode
- func (OSPolicy_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x OSPolicy_Mode) Enum() *OSPolicy_Mode
- func (OSPolicy_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x OSPolicy_Mode) Number() protoreflect.EnumNumber
- func (x OSPolicy_Mode) String() string
- func (OSPolicy_Mode) Type() protoreflect.EnumType
- type OSPolicy_Resource
- func (*OSPolicy_Resource) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicy_Resource) GetExec() *OSPolicy_Resource_ExecResource
- func (x *OSPolicy_Resource) GetFile() *OSPolicy_Resource_FileResource
- func (x *OSPolicy_Resource) GetId() string
- func (x *OSPolicy_Resource) GetPkg() *OSPolicy_Resource_PackageResource
- func (x *OSPolicy_Resource) GetRepository() *OSPolicy_Resource_RepositoryResource
- func (m *OSPolicy_Resource) GetResourceType() isOSPolicy_Resource_ResourceType
- func (*OSPolicy_Resource) ProtoMessage()
- func (x *OSPolicy_Resource) ProtoReflect() protoreflect.Message
- func (x *OSPolicy_Resource) Reset()
- func (x *OSPolicy_Resource) String() string
- type OSPolicy_Resource_Exec
- type OSPolicy_Resource_ExecResource
- func (*OSPolicy_Resource_ExecResource) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicy_Resource_ExecResource) GetEnforce() *OSPolicy_Resource_ExecResource_Exec
- func (x *OSPolicy_Resource_ExecResource) GetValidate() *OSPolicy_Resource_ExecResource_Exec
- func (*OSPolicy_Resource_ExecResource) ProtoMessage()
- func (x *OSPolicy_Resource_ExecResource) ProtoReflect() protoreflect.Message
- func (x *OSPolicy_Resource_ExecResource) Reset()
- func (x *OSPolicy_Resource_ExecResource) String() string
- type OSPolicy_Resource_ExecResource_Exec
- func (*OSPolicy_Resource_ExecResource_Exec) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicy_Resource_ExecResource_Exec) GetArgs() []string
- func (x *OSPolicy_Resource_ExecResource_Exec) GetFile() *OSPolicy_Resource_File
- func (x *OSPolicy_Resource_ExecResource_Exec) GetInterpreter() OSPolicy_Resource_ExecResource_Exec_Interpreter
- func (x *OSPolicy_Resource_ExecResource_Exec) GetOutputFilePath() string
- func (x *OSPolicy_Resource_ExecResource_Exec) GetScript() string
- func (m *OSPolicy_Resource_ExecResource_Exec) GetSource() isOSPolicy_Resource_ExecResource_Exec_Source
- func (*OSPolicy_Resource_ExecResource_Exec) ProtoMessage()
- func (x *OSPolicy_Resource_ExecResource_Exec) ProtoReflect() protoreflect.Message
- func (x *OSPolicy_Resource_ExecResource_Exec) Reset()
- func (x *OSPolicy_Resource_ExecResource_Exec) String() string
- type OSPolicy_Resource_ExecResource_Exec_File
- type OSPolicy_Resource_ExecResource_Exec_Interpreter
- func (OSPolicy_Resource_ExecResource_Exec_Interpreter) Descriptor() protoreflect.EnumDescriptor
- func (x OSPolicy_Resource_ExecResource_Exec_Interpreter) Enum() *OSPolicy_Resource_ExecResource_Exec_Interpreter
- func (OSPolicy_Resource_ExecResource_Exec_Interpreter) EnumDescriptor() ([]byte, []int)deprecated
- func (x OSPolicy_Resource_ExecResource_Exec_Interpreter) Number() protoreflect.EnumNumber
- func (x OSPolicy_Resource_ExecResource_Exec_Interpreter) String() string
- func (OSPolicy_Resource_ExecResource_Exec_Interpreter) Type() protoreflect.EnumType
- type OSPolicy_Resource_ExecResource_Exec_Script
- type OSPolicy_Resource_File
- func (*OSPolicy_Resource_File) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicy_Resource_File) GetAllowInsecure() bool
- func (x *OSPolicy_Resource_File) GetGcs() *OSPolicy_Resource_File_Gcs
- func (x *OSPolicy_Resource_File) GetLocalPath() string
- func (x *OSPolicy_Resource_File) GetRemote() *OSPolicy_Resource_File_Remote
- func (m *OSPolicy_Resource_File) GetType() isOSPolicy_Resource_File_Type
- func (*OSPolicy_Resource_File) ProtoMessage()
- func (x *OSPolicy_Resource_File) ProtoReflect() protoreflect.Message
- func (x *OSPolicy_Resource_File) Reset()
- func (x *OSPolicy_Resource_File) String() string
- type OSPolicy_Resource_FileResource
- func (*OSPolicy_Resource_FileResource) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicy_Resource_FileResource) GetContent() string
- func (x *OSPolicy_Resource_FileResource) GetFile() *OSPolicy_Resource_File
- func (x *OSPolicy_Resource_FileResource) GetPath() string
- func (x *OSPolicy_Resource_FileResource) GetPermissions() string
- func (m *OSPolicy_Resource_FileResource) GetSource() isOSPolicy_Resource_FileResource_Source
- func (x *OSPolicy_Resource_FileResource) GetState() OSPolicy_Resource_FileResource_DesiredState
- func (*OSPolicy_Resource_FileResource) ProtoMessage()
- func (x *OSPolicy_Resource_FileResource) ProtoReflect() protoreflect.Message
- func (x *OSPolicy_Resource_FileResource) Reset()
- func (x *OSPolicy_Resource_FileResource) String() string
- type OSPolicy_Resource_FileResource_Content
- type OSPolicy_Resource_FileResource_DesiredState
- func (OSPolicy_Resource_FileResource_DesiredState) Descriptor() protoreflect.EnumDescriptor
- func (x OSPolicy_Resource_FileResource_DesiredState) Enum() *OSPolicy_Resource_FileResource_DesiredState
- func (OSPolicy_Resource_FileResource_DesiredState) EnumDescriptor() ([]byte, []int)deprecated
- func (x OSPolicy_Resource_FileResource_DesiredState) Number() protoreflect.EnumNumber
- func (x OSPolicy_Resource_FileResource_DesiredState) String() string
- func (OSPolicy_Resource_FileResource_DesiredState) Type() protoreflect.EnumType
- type OSPolicy_Resource_FileResource_File
- type OSPolicy_Resource_File_
- type OSPolicy_Resource_File_Gcs
- func (*OSPolicy_Resource_File_Gcs) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicy_Resource_File_Gcs) GetBucket() string
- func (x *OSPolicy_Resource_File_Gcs) GetGeneration() int64
- func (x *OSPolicy_Resource_File_Gcs) GetObject() string
- func (*OSPolicy_Resource_File_Gcs) ProtoMessage()
- func (x *OSPolicy_Resource_File_Gcs) ProtoReflect() protoreflect.Message
- func (x *OSPolicy_Resource_File_Gcs) Reset()
- func (x *OSPolicy_Resource_File_Gcs) String() string
- type OSPolicy_Resource_File_Gcs_
- type OSPolicy_Resource_File_LocalPath
- type OSPolicy_Resource_File_Remote
- func (*OSPolicy_Resource_File_Remote) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicy_Resource_File_Remote) GetSha256Checksum() string
- func (x *OSPolicy_Resource_File_Remote) GetUri() string
- func (*OSPolicy_Resource_File_Remote) ProtoMessage()
- func (x *OSPolicy_Resource_File_Remote) ProtoReflect() protoreflect.Message
- func (x *OSPolicy_Resource_File_Remote) Reset()
- func (x *OSPolicy_Resource_File_Remote) String() string
- type OSPolicy_Resource_File_Remote_
- type OSPolicy_Resource_PackageResource
- func (*OSPolicy_Resource_PackageResource) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicy_Resource_PackageResource) GetApt() *OSPolicy_Resource_PackageResource_APT
- func (x *OSPolicy_Resource_PackageResource) GetDeb() *OSPolicy_Resource_PackageResource_Deb
- func (x *OSPolicy_Resource_PackageResource) GetDesiredState() OSPolicy_Resource_PackageResource_DesiredState
- func (x *OSPolicy_Resource_PackageResource) GetGooget() *OSPolicy_Resource_PackageResource_GooGet
- func (x *OSPolicy_Resource_PackageResource) GetMsi() *OSPolicy_Resource_PackageResource_MSI
- func (x *OSPolicy_Resource_PackageResource) GetRpm() *OSPolicy_Resource_PackageResource_RPM
- func (m *OSPolicy_Resource_PackageResource) GetSystemPackage() isOSPolicy_Resource_PackageResource_SystemPackage
- func (x *OSPolicy_Resource_PackageResource) GetYum() *OSPolicy_Resource_PackageResource_YUM
- func (x *OSPolicy_Resource_PackageResource) GetZypper() *OSPolicy_Resource_PackageResource_Zypper
- func (*OSPolicy_Resource_PackageResource) ProtoMessage()
- func (x *OSPolicy_Resource_PackageResource) ProtoReflect() protoreflect.Message
- func (x *OSPolicy_Resource_PackageResource) Reset()
- func (x *OSPolicy_Resource_PackageResource) String() string
- type OSPolicy_Resource_PackageResource_APT
- func (*OSPolicy_Resource_PackageResource_APT) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicy_Resource_PackageResource_APT) GetName() string
- func (*OSPolicy_Resource_PackageResource_APT) ProtoMessage()
- func (x *OSPolicy_Resource_PackageResource_APT) ProtoReflect() protoreflect.Message
- func (x *OSPolicy_Resource_PackageResource_APT) Reset()
- func (x *OSPolicy_Resource_PackageResource_APT) String() string
- type OSPolicy_Resource_PackageResource_Apt
- type OSPolicy_Resource_PackageResource_Deb
- func (*OSPolicy_Resource_PackageResource_Deb) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicy_Resource_PackageResource_Deb) GetPullDeps() bool
- func (x *OSPolicy_Resource_PackageResource_Deb) GetSource() *OSPolicy_Resource_File
- func (*OSPolicy_Resource_PackageResource_Deb) ProtoMessage()
- func (x *OSPolicy_Resource_PackageResource_Deb) ProtoReflect() protoreflect.Message
- func (x *OSPolicy_Resource_PackageResource_Deb) Reset()
- func (x *OSPolicy_Resource_PackageResource_Deb) String() string
- type OSPolicy_Resource_PackageResource_Deb_
- type OSPolicy_Resource_PackageResource_DesiredState
- func (OSPolicy_Resource_PackageResource_DesiredState) Descriptor() protoreflect.EnumDescriptor
- func (x OSPolicy_Resource_PackageResource_DesiredState) Enum() *OSPolicy_Resource_PackageResource_DesiredState
- func (OSPolicy_Resource_PackageResource_DesiredState) EnumDescriptor() ([]byte, []int)deprecated
- func (x OSPolicy_Resource_PackageResource_DesiredState) Number() protoreflect.EnumNumber
- func (x OSPolicy_Resource_PackageResource_DesiredState) String() string
- func (OSPolicy_Resource_PackageResource_DesiredState) Type() protoreflect.EnumType
- type OSPolicy_Resource_PackageResource_GooGet
- func (*OSPolicy_Resource_PackageResource_GooGet) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicy_Resource_PackageResource_GooGet) GetName() string
- func (*OSPolicy_Resource_PackageResource_GooGet) ProtoMessage()
- func (x *OSPolicy_Resource_PackageResource_GooGet) ProtoReflect() protoreflect.Message
- func (x *OSPolicy_Resource_PackageResource_GooGet) Reset()
- func (x *OSPolicy_Resource_PackageResource_GooGet) String() string
- type OSPolicy_Resource_PackageResource_Googet
- type OSPolicy_Resource_PackageResource_MSI
- func (*OSPolicy_Resource_PackageResource_MSI) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicy_Resource_PackageResource_MSI) GetProperties() []string
- func (x *OSPolicy_Resource_PackageResource_MSI) GetSource() *OSPolicy_Resource_File
- func (*OSPolicy_Resource_PackageResource_MSI) ProtoMessage()
- func (x *OSPolicy_Resource_PackageResource_MSI) ProtoReflect() protoreflect.Message
- func (x *OSPolicy_Resource_PackageResource_MSI) Reset()
- func (x *OSPolicy_Resource_PackageResource_MSI) String() string
- type OSPolicy_Resource_PackageResource_Msi
- type OSPolicy_Resource_PackageResource_RPM
- func (*OSPolicy_Resource_PackageResource_RPM) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicy_Resource_PackageResource_RPM) GetPullDeps() bool
- func (x *OSPolicy_Resource_PackageResource_RPM) GetSource() *OSPolicy_Resource_File
- func (*OSPolicy_Resource_PackageResource_RPM) ProtoMessage()
- func (x *OSPolicy_Resource_PackageResource_RPM) ProtoReflect() protoreflect.Message
- func (x *OSPolicy_Resource_PackageResource_RPM) Reset()
- func (x *OSPolicy_Resource_PackageResource_RPM) String() string
- type OSPolicy_Resource_PackageResource_Rpm
- type OSPolicy_Resource_PackageResource_YUM
- func (*OSPolicy_Resource_PackageResource_YUM) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicy_Resource_PackageResource_YUM) GetName() string
- func (*OSPolicy_Resource_PackageResource_YUM) ProtoMessage()
- func (x *OSPolicy_Resource_PackageResource_YUM) ProtoReflect() protoreflect.Message
- func (x *OSPolicy_Resource_PackageResource_YUM) Reset()
- func (x *OSPolicy_Resource_PackageResource_YUM) String() string
- type OSPolicy_Resource_PackageResource_Yum
- type OSPolicy_Resource_PackageResource_Zypper
- func (*OSPolicy_Resource_PackageResource_Zypper) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicy_Resource_PackageResource_Zypper) GetName() string
- func (*OSPolicy_Resource_PackageResource_Zypper) ProtoMessage()
- func (x *OSPolicy_Resource_PackageResource_Zypper) ProtoReflect() protoreflect.Message
- func (x *OSPolicy_Resource_PackageResource_Zypper) Reset()
- func (x *OSPolicy_Resource_PackageResource_Zypper) String() string
- type OSPolicy_Resource_PackageResource_Zypper_
- type OSPolicy_Resource_Pkg
- type OSPolicy_Resource_Repository
- type OSPolicy_Resource_RepositoryResource
- func (*OSPolicy_Resource_RepositoryResource) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicy_Resource_RepositoryResource) GetApt() *OSPolicy_Resource_RepositoryResource_AptRepository
- func (x *OSPolicy_Resource_RepositoryResource) GetGoo() *OSPolicy_Resource_RepositoryResource_GooRepository
- func (m *OSPolicy_Resource_RepositoryResource) GetRepository() isOSPolicy_Resource_RepositoryResource_Repository
- func (x *OSPolicy_Resource_RepositoryResource) GetYum() *OSPolicy_Resource_RepositoryResource_YumRepository
- func (x *OSPolicy_Resource_RepositoryResource) GetZypper() *OSPolicy_Resource_RepositoryResource_ZypperRepository
- func (*OSPolicy_Resource_RepositoryResource) ProtoMessage()
- func (x *OSPolicy_Resource_RepositoryResource) ProtoReflect() protoreflect.Message
- func (x *OSPolicy_Resource_RepositoryResource) Reset()
- func (x *OSPolicy_Resource_RepositoryResource) String() string
- type OSPolicy_Resource_RepositoryResource_Apt
- type OSPolicy_Resource_RepositoryResource_AptRepository
- func (*OSPolicy_Resource_RepositoryResource_AptRepository) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicy_Resource_RepositoryResource_AptRepository) GetArchiveType() OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType
- func (x *OSPolicy_Resource_RepositoryResource_AptRepository) GetComponents() []string
- func (x *OSPolicy_Resource_RepositoryResource_AptRepository) GetDistribution() string
- func (x *OSPolicy_Resource_RepositoryResource_AptRepository) GetGpgKey() string
- func (x *OSPolicy_Resource_RepositoryResource_AptRepository) GetUri() string
- func (*OSPolicy_Resource_RepositoryResource_AptRepository) ProtoMessage()
- func (x *OSPolicy_Resource_RepositoryResource_AptRepository) ProtoReflect() protoreflect.Message
- func (x *OSPolicy_Resource_RepositoryResource_AptRepository) Reset()
- func (x *OSPolicy_Resource_RepositoryResource_AptRepository) String() string
- type OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType
- func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Descriptor() protoreflect.EnumDescriptor
- func (x OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Enum() *OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType
- func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) EnumDescriptor() ([]byte, []int)deprecated
- func (x OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Number() protoreflect.EnumNumber
- func (x OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) String() string
- func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Type() protoreflect.EnumType
- type OSPolicy_Resource_RepositoryResource_Goo
- type OSPolicy_Resource_RepositoryResource_GooRepository
- func (*OSPolicy_Resource_RepositoryResource_GooRepository) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicy_Resource_RepositoryResource_GooRepository) GetName() string
- func (x *OSPolicy_Resource_RepositoryResource_GooRepository) GetUrl() string
- func (*OSPolicy_Resource_RepositoryResource_GooRepository) ProtoMessage()
- func (x *OSPolicy_Resource_RepositoryResource_GooRepository) ProtoReflect() protoreflect.Message
- func (x *OSPolicy_Resource_RepositoryResource_GooRepository) Reset()
- func (x *OSPolicy_Resource_RepositoryResource_GooRepository) String() string
- type OSPolicy_Resource_RepositoryResource_Yum
- type OSPolicy_Resource_RepositoryResource_YumRepository
- func (*OSPolicy_Resource_RepositoryResource_YumRepository) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicy_Resource_RepositoryResource_YumRepository) GetBaseUrl() string
- func (x *OSPolicy_Resource_RepositoryResource_YumRepository) GetDisplayName() string
- func (x *OSPolicy_Resource_RepositoryResource_YumRepository) GetGpgKeys() []string
- func (x *OSPolicy_Resource_RepositoryResource_YumRepository) GetId() string
- func (*OSPolicy_Resource_RepositoryResource_YumRepository) ProtoMessage()
- func (x *OSPolicy_Resource_RepositoryResource_YumRepository) ProtoReflect() protoreflect.Message
- func (x *OSPolicy_Resource_RepositoryResource_YumRepository) Reset()
- func (x *OSPolicy_Resource_RepositoryResource_YumRepository) String() string
- type OSPolicy_Resource_RepositoryResource_Zypper
- type OSPolicy_Resource_RepositoryResource_ZypperRepository
- func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) Descriptor() ([]byte, []int)deprecated
- func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) GetBaseUrl() string
- func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) GetDisplayName() string
- func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) GetGpgKeys() []string
- func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) GetId() string
- func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) ProtoMessage()
- func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) ProtoReflect() protoreflect.Message
- func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) Reset()
- func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) String() string
- type PatchConfig
- func (*PatchConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PatchConfig) GetApt() *AptSettings
- func (x *PatchConfig) GetGoo() *GooSettings
- func (x *PatchConfig) GetMigInstancesAllowed() bool
- func (x *PatchConfig) GetPostStep() *ExecStep
- func (x *PatchConfig) GetPreStep() *ExecStep
- func (x *PatchConfig) GetRebootConfig() PatchConfig_RebootConfig
- func (x *PatchConfig) GetRetryStrategy() *RetryStrategy
- func (x *PatchConfig) GetWindowsUpdate() *WindowsUpdateSettings
- func (x *PatchConfig) GetYum() *YumSettings
- func (x *PatchConfig) GetZypper() *ZypperSettings
- func (*PatchConfig) ProtoMessage()
- func (x *PatchConfig) ProtoReflect() protoreflect.Message
- func (x *PatchConfig) Reset()
- func (x *PatchConfig) String() string
- type PatchConfig_RebootConfig
- func (PatchConfig_RebootConfig) Descriptor() protoreflect.EnumDescriptor
- func (x PatchConfig_RebootConfig) Enum() *PatchConfig_RebootConfig
- func (PatchConfig_RebootConfig) EnumDescriptor() ([]byte, []int)deprecated
- func (x PatchConfig_RebootConfig) Number() protoreflect.EnumNumber
- func (x PatchConfig_RebootConfig) String() string
- func (PatchConfig_RebootConfig) Type() protoreflect.EnumType
- type ReceiveTaskNotificationRequest
- func (*ReceiveTaskNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiveTaskNotificationRequest) GetAgentVersion() string
- func (x *ReceiveTaskNotificationRequest) GetInstanceIdToken() string
- func (*ReceiveTaskNotificationRequest) ProtoMessage()
- func (x *ReceiveTaskNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *ReceiveTaskNotificationRequest) Reset()
- func (x *ReceiveTaskNotificationRequest) String() string
- type ReceiveTaskNotificationResponse
- func (*ReceiveTaskNotificationResponse) Descriptor() ([]byte, []int)deprecated
- func (*ReceiveTaskNotificationResponse) ProtoMessage()
- func (x *ReceiveTaskNotificationResponse) ProtoReflect() protoreflect.Message
- func (x *ReceiveTaskNotificationResponse) Reset()
- func (x *ReceiveTaskNotificationResponse) String() string
- type RegisterAgentRequest
- func (*RegisterAgentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterAgentRequest) GetAgentVersion() string
- func (x *RegisterAgentRequest) GetInstanceIdToken() string
- func (x *RegisterAgentRequest) GetOsArchitecture() string
- func (x *RegisterAgentRequest) GetOsLongName() string
- func (x *RegisterAgentRequest) GetOsShortName() string
- func (x *RegisterAgentRequest) GetOsVersion() string
- func (x *RegisterAgentRequest) GetSupportedCapabilities() []string
- func (*RegisterAgentRequest) ProtoMessage()
- func (x *RegisterAgentRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterAgentRequest) Reset()
- func (x *RegisterAgentRequest) String() string
- type RegisterAgentResponse
- type ReportInventoryRequest
- func (*ReportInventoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportInventoryRequest) GetInstanceIdToken() string
- func (x *ReportInventoryRequest) GetInventory() *Inventory
- func (x *ReportInventoryRequest) GetInventoryChecksum() string
- func (*ReportInventoryRequest) ProtoMessage()
- func (x *ReportInventoryRequest) ProtoReflect() protoreflect.Message
- func (x *ReportInventoryRequest) Reset()
- func (x *ReportInventoryRequest) String() string
- type ReportInventoryResponse
- func (*ReportInventoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReportInventoryResponse) GetReportFullInventory() bool
- func (*ReportInventoryResponse) ProtoMessage()
- func (x *ReportInventoryResponse) ProtoReflect() protoreflect.Message
- func (x *ReportInventoryResponse) Reset()
- func (x *ReportInventoryResponse) String() string
- type ReportTaskCompleteRequest
- func (*ReportTaskCompleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportTaskCompleteRequest) GetApplyConfigTaskOutput() *ApplyConfigTaskOutput
- func (x *ReportTaskCompleteRequest) GetApplyPatchesTaskOutput() *ApplyPatchesTaskOutput
- func (x *ReportTaskCompleteRequest) GetErrorMessage() string
- func (x *ReportTaskCompleteRequest) GetExecStepTaskOutput() *ExecStepTaskOutput
- func (x *ReportTaskCompleteRequest) GetInstanceIdToken() string
- func (m *ReportTaskCompleteRequest) GetOutput() isReportTaskCompleteRequest_Output
- func (x *ReportTaskCompleteRequest) GetTaskId() string
- func (x *ReportTaskCompleteRequest) GetTaskType() TaskType
- func (*ReportTaskCompleteRequest) ProtoMessage()
- func (x *ReportTaskCompleteRequest) ProtoReflect() protoreflect.Message
- func (x *ReportTaskCompleteRequest) Reset()
- func (x *ReportTaskCompleteRequest) String() string
- type ReportTaskCompleteRequest_ApplyConfigTaskOutput
- type ReportTaskCompleteRequest_ApplyPatchesTaskOutput
- type ReportTaskCompleteRequest_ExecStepTaskOutput
- type ReportTaskCompleteResponse
- type ReportTaskProgressRequest
- func (*ReportTaskProgressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportTaskProgressRequest) GetApplyConfigTaskProgress() *ApplyConfigTaskProgress
- func (x *ReportTaskProgressRequest) GetApplyPatchesTaskProgress() *ApplyPatchesTaskProgress
- func (x *ReportTaskProgressRequest) GetExecStepTaskProgress() *ExecStepTaskProgress
- func (x *ReportTaskProgressRequest) GetInstanceIdToken() string
- func (m *ReportTaskProgressRequest) GetProgress() isReportTaskProgressRequest_Progress
- func (x *ReportTaskProgressRequest) GetTaskId() string
- func (x *ReportTaskProgressRequest) GetTaskType() TaskType
- func (*ReportTaskProgressRequest) ProtoMessage()
- func (x *ReportTaskProgressRequest) ProtoReflect() protoreflect.Message
- func (x *ReportTaskProgressRequest) Reset()
- func (x *ReportTaskProgressRequest) String() string
- type ReportTaskProgressRequest_ApplyConfigTaskProgress
- type ReportTaskProgressRequest_ApplyPatchesTaskProgress
- type ReportTaskProgressRequest_ExecStepTaskProgress
- type ReportTaskProgressResponse
- func (*ReportTaskProgressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReportTaskProgressResponse) GetTaskDirective() TaskDirective
- func (*ReportTaskProgressResponse) ProtoMessage()
- func (x *ReportTaskProgressResponse) ProtoReflect() protoreflect.Message
- func (x *ReportTaskProgressResponse) Reset()
- func (x *ReportTaskProgressResponse) String() string
- type RetryStrategy
- type StartNextTaskRequest
- func (*StartNextTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartNextTaskRequest) GetInstanceIdToken() string
- func (*StartNextTaskRequest) ProtoMessage()
- func (x *StartNextTaskRequest) ProtoReflect() protoreflect.Message
- func (x *StartNextTaskRequest) Reset()
- func (x *StartNextTaskRequest) String() string
- type StartNextTaskResponse
- func (*StartNextTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StartNextTaskResponse) GetTask() *Task
- func (*StartNextTaskResponse) ProtoMessage()
- func (x *StartNextTaskResponse) ProtoReflect() protoreflect.Message
- func (x *StartNextTaskResponse) Reset()
- func (x *StartNextTaskResponse) String() string
- type Task
- func (*Task) Descriptor() ([]byte, []int)deprecated
- func (x *Task) GetApplyConfigTask() *ApplyConfigTask
- func (x *Task) GetApplyPatchesTask() *ApplyPatchesTask
- func (x *Task) GetExecStepTask() *ExecStepTask
- func (x *Task) GetServiceLabels() map[string]string
- func (m *Task) GetTaskDetails() isTask_TaskDetails
- func (x *Task) GetTaskDirective() TaskDirective
- func (x *Task) GetTaskId() string
- func (x *Task) GetTaskType() TaskType
- func (*Task) ProtoMessage()
- func (x *Task) ProtoReflect() protoreflect.Message
- func (x *Task) Reset()
- func (x *Task) String() string
- type TaskDirective
- func (TaskDirective) Descriptor() protoreflect.EnumDescriptor
- func (x TaskDirective) Enum() *TaskDirective
- func (TaskDirective) EnumDescriptor() ([]byte, []int)deprecated
- func (x TaskDirective) Number() protoreflect.EnumNumber
- func (x TaskDirective) String() string
- func (TaskDirective) Type() protoreflect.EnumType
- type TaskType
- type Task_ApplyConfigTask
- type Task_ApplyPatchesTask
- type Task_ExecStepTask
- type UnimplementedAgentEndpointServiceServer
- func (*UnimplementedAgentEndpointServiceServer) ReceiveTaskNotification(*ReceiveTaskNotificationRequest, ...) error
- func (*UnimplementedAgentEndpointServiceServer) RegisterAgent(context.Context, *RegisterAgentRequest) (*RegisterAgentResponse, error)
- func (*UnimplementedAgentEndpointServiceServer) ReportInventory(context.Context, *ReportInventoryRequest) (*ReportInventoryResponse, error)
- func (*UnimplementedAgentEndpointServiceServer) ReportTaskComplete(context.Context, *ReportTaskCompleteRequest) (*ReportTaskCompleteResponse, error)
- func (*UnimplementedAgentEndpointServiceServer) ReportTaskProgress(context.Context, *ReportTaskProgressRequest) (*ReportTaskProgressResponse, error)
- func (*UnimplementedAgentEndpointServiceServer) StartNextTask(context.Context, *StartNextTaskRequest) (*StartNextTaskResponse, error)
- type WindowsUpdateSettings
- func (*WindowsUpdateSettings) Descriptor() ([]byte, []int)deprecated
- func (x *WindowsUpdateSettings) GetClassifications() []WindowsUpdateSettings_Classification
- func (x *WindowsUpdateSettings) GetExcludes() []string
- func (x *WindowsUpdateSettings) GetExclusivePatches() []string
- func (*WindowsUpdateSettings) ProtoMessage()
- func (x *WindowsUpdateSettings) ProtoReflect() protoreflect.Message
- func (x *WindowsUpdateSettings) Reset()
- func (x *WindowsUpdateSettings) String() string
- type WindowsUpdateSettings_Classification
- func (WindowsUpdateSettings_Classification) Descriptor() protoreflect.EnumDescriptor
- func (x WindowsUpdateSettings_Classification) Enum() *WindowsUpdateSettings_Classification
- func (WindowsUpdateSettings_Classification) EnumDescriptor() ([]byte, []int)deprecated
- func (x WindowsUpdateSettings_Classification) Number() protoreflect.EnumNumber
- func (x WindowsUpdateSettings_Classification) String() string
- func (WindowsUpdateSettings_Classification) Type() protoreflect.EnumType
- type YumSettings
- func (*YumSettings) Descriptor() ([]byte, []int)deprecated
- func (x *YumSettings) GetExcludes() []string
- func (x *YumSettings) GetExclusivePackages() []string
- func (x *YumSettings) GetMinimal() bool
- func (x *YumSettings) GetSecurity() bool
- func (*YumSettings) ProtoMessage()
- func (x *YumSettings) ProtoReflect() protoreflect.Message
- func (x *YumSettings) Reset()
- func (x *YumSettings) String() string
- type ZypperSettings
- func (*ZypperSettings) Descriptor() ([]byte, []int)deprecated
- func (x *ZypperSettings) GetCategories() []string
- func (x *ZypperSettings) GetExcludes() []string
- func (x *ZypperSettings) GetExclusivePatches() []string
- func (x *ZypperSettings) GetSeverities() []string
- func (x *ZypperSettings) GetWithOptional() bool
- func (x *ZypperSettings) GetWithUpdate() bool
- func (*ZypperSettings) ProtoMessage()
- func (x *ZypperSettings) ProtoReflect() protoreflect.Message
- func (x *ZypperSettings) Reset()
- func (x *ZypperSettings) String() string
Constants ¶
This section is empty.
Variables ¶
var ( OSPolicyComplianceState_name = map[int32]string{ 0: "OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED", 1: "COMPLIANT", 2: "NON_COMPLIANT", 3: "UNKNOWN", 4: "NO_OS_POLICIES_APPLICABLE", } OSPolicyComplianceState_value = map[string]int32{ "OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED": 0, "COMPLIANT": 1, "NON_COMPLIANT": 2, "UNKNOWN": 3, "NO_OS_POLICIES_APPLICABLE": 4, } )
Enum value maps for OSPolicyComplianceState.
var ( OSPolicyResourceConfigStep_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "VALIDATION", 2: "DESIRED_STATE_CHECK", 3: "DESIRED_STATE_ENFORCEMENT", 4: "DESIRED_STATE_CHECK_POST_ENFORCEMENT", } OSPolicyResourceConfigStep_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "VALIDATION": 1, "DESIRED_STATE_CHECK": 2, "DESIRED_STATE_ENFORCEMENT": 3, "DESIRED_STATE_CHECK_POST_ENFORCEMENT": 4, } )
Enum value maps for OSPolicyResourceConfigStep_Type.
var ( OSPolicyResourceConfigStep_Outcome_name = map[int32]string{ 0: "OUTCOME_UNSPECIFIED", 1: "SUCCEEDED", 2: "FAILED", } OSPolicyResourceConfigStep_Outcome_value = map[string]int32{ "OUTCOME_UNSPECIFIED": 0, "SUCCEEDED": 1, "FAILED": 2, } )
Enum value maps for OSPolicyResourceConfigStep_Outcome.
var ( OSPolicy_Mode_name = map[int32]string{ 0: "MODE_UNSPECIFIED", 1: "VALIDATION", 2: "ENFORCEMENT", } OSPolicy_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "VALIDATION": 1, "ENFORCEMENT": 2, } )
Enum value maps for OSPolicy_Mode.
var ( OSPolicy_Resource_PackageResource_DesiredState_name = map[int32]string{ 0: "DESIRED_STATE_UNSPECIFIED", 1: "INSTALLED", 2: "REMOVED", } OSPolicy_Resource_PackageResource_DesiredState_value = map[string]int32{ "DESIRED_STATE_UNSPECIFIED": 0, "INSTALLED": 1, "REMOVED": 2, } )
Enum value maps for OSPolicy_Resource_PackageResource_DesiredState.
var ( OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType_name = map[int32]string{ 0: "ARCHIVE_TYPE_UNSPECIFIED", 1: "DEB", 2: "DEB_SRC", } OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType_value = map[string]int32{ "ARCHIVE_TYPE_UNSPECIFIED": 0, "DEB": 1, "DEB_SRC": 2, } )
Enum value maps for OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType.
var ( OSPolicy_Resource_ExecResource_Exec_Interpreter_name = map[int32]string{ 0: "INTERPRETER_UNSPECIFIED", 1: "NONE", 2: "SHELL", 3: "POWERSHELL", } OSPolicy_Resource_ExecResource_Exec_Interpreter_value = map[string]int32{ "INTERPRETER_UNSPECIFIED": 0, "NONE": 1, "SHELL": 2, "POWERSHELL": 3, } )
Enum value maps for OSPolicy_Resource_ExecResource_Exec_Interpreter.
var ( OSPolicy_Resource_FileResource_DesiredState_name = map[int32]string{ 0: "DESIRED_STATE_UNSPECIFIED", 1: "PRESENT", 2: "ABSENT", 3: "CONTENTS_MATCH", } OSPolicy_Resource_FileResource_DesiredState_value = map[string]int32{ "DESIRED_STATE_UNSPECIFIED": 0, "PRESENT": 1, "ABSENT": 2, "CONTENTS_MATCH": 3, } )
Enum value maps for OSPolicy_Resource_FileResource_DesiredState.
var ( PatchConfig_RebootConfig_name = map[int32]string{ 0: "REBOOT_CONFIG_UNSPECIFIED", 1: "DEFAULT", 2: "ALWAYS", 3: "NEVER", } PatchConfig_RebootConfig_value = map[string]int32{ "REBOOT_CONFIG_UNSPECIFIED": 0, "DEFAULT": 1, "ALWAYS": 2, "NEVER": 3, } )
Enum value maps for PatchConfig_RebootConfig.
var ( AptSettings_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "DIST", 2: "UPGRADE", } AptSettings_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "DIST": 1, "UPGRADE": 2, } )
Enum value maps for AptSettings_Type.
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", } 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, } )
Enum value maps for WindowsUpdateSettings_Classification.
var ( ExecStepConfig_Interpreter_name = map[int32]string{ 0: "INTERPRETER_UNSPECIFIED", 3: "NONE", 1: "SHELL", 2: "POWERSHELL", } ExecStepConfig_Interpreter_value = map[string]int32{ "INTERPRETER_UNSPECIFIED": 0, "NONE": 3, "SHELL": 1, "POWERSHELL": 2, } )
Enum value maps for ExecStepConfig_Interpreter.
var ( TaskDirective_name = map[int32]string{ 0: "TASK_DIRECTIVE_UNSPECIFIED", 1: "CONTINUE", 2: "STOP", } TaskDirective_value = map[string]int32{ "TASK_DIRECTIVE_UNSPECIFIED": 0, "CONTINUE": 1, "STOP": 2, } )
Enum value maps for TaskDirective.
var ( TaskType_name = map[int32]string{ 0: "TASK_TYPE_UNSPECIFIED", 1: "APPLY_PATCHES", 2: "EXEC_STEP_TASK", 3: "APPLY_CONFIG_TASK", } TaskType_value = map[string]int32{ "TASK_TYPE_UNSPECIFIED": 0, "APPLY_PATCHES": 1, "EXEC_STEP_TASK": 2, "APPLY_CONFIG_TASK": 3, } )
Enum value maps for TaskType.
var ( ApplyPatchesTaskProgress_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 4: "STARTED", 1: "DOWNLOADING_PATCHES", 2: "APPLYING_PATCHES", 3: "REBOOTING", } ApplyPatchesTaskProgress_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "STARTED": 4, "DOWNLOADING_PATCHES": 1, "APPLYING_PATCHES": 2, "REBOOTING": 3, } )
Enum value maps for ApplyPatchesTaskProgress_State.
var ( ApplyPatchesTaskOutput_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "SUCCEEDED", 2: "SUCCEEDED_REBOOT_REQUIRED", 3: "FAILED", } ApplyPatchesTaskOutput_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "SUCCEEDED": 1, "SUCCEEDED_REBOOT_REQUIRED": 2, "FAILED": 3, } )
Enum value maps for ApplyPatchesTaskOutput_State.
var ( ExecStepTaskProgress_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "STARTED", } ExecStepTaskProgress_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "STARTED": 1, } )
Enum value maps for ExecStepTaskProgress_State.
var ( ExecStepTaskOutput_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "COMPLETED", 2: "TIMED_OUT", 3: "CANCELLED", } ExecStepTaskOutput_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "COMPLETED": 1, "TIMED_OUT": 2, "CANCELLED": 3, } )
Enum value maps for ExecStepTaskOutput_State.
var ( ApplyConfigTaskProgress_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "STARTED", 2: "APPLYING_CONFIG", } ApplyConfigTaskProgress_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "STARTED": 1, "APPLYING_CONFIG": 2, } )
Enum value maps for ApplyConfigTaskProgress_State.
var ( ApplyConfigTaskOutput_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "SUCCEEDED", 2: "FAILED", 3: "CANCELLED", } ApplyConfigTaskOutput_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "SUCCEEDED": 1, "FAILED": 2, "CANCELLED": 3, } )
Enum value maps for ApplyConfigTaskOutput_State.
var File_google_cloud_osconfig_agentendpoint_v1_agentendpoint_proto protoreflect.FileDescriptor
var File_google_cloud_osconfig_agentendpoint_v1_config_common_proto protoreflect.FileDescriptor
var File_google_cloud_osconfig_agentendpoint_v1_inventory_proto protoreflect.FileDescriptor
var File_google_cloud_osconfig_agentendpoint_v1_os_policy_proto protoreflect.FileDescriptor
var File_google_cloud_osconfig_agentendpoint_v1_patch_jobs_proto protoreflect.FileDescriptor
var File_google_cloud_osconfig_agentendpoint_v1_tasks_proto protoreflect.FileDescriptor
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) // Reports the VMs current inventory. ReportInventory(ctx context.Context, in *ReportInventoryRequest, opts ...grpc.CallOption) (*ReportInventoryResponse, 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) // Reports the VMs current inventory. ReportInventory(context.Context, *ReportInventoryRequest) (*ReportInventoryResponse, 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 ApplyConfigTask ¶
type ApplyConfigTask struct { // List of os policies to be applied for the instance. OsPolicies []*ApplyConfigTask_OSPolicy `protobuf:"bytes,1,rep,name=os_policies,json=osPolicies,proto3" json:"os_policies,omitempty"` // contains filtered or unexported fields }
Message which instructs OS Config agent to apply the desired state configuration.
func (*ApplyConfigTask) Descriptor
deprecated
func (*ApplyConfigTask) Descriptor() ([]byte, []int)
Deprecated: Use ApplyConfigTask.ProtoReflect.Descriptor instead.
func (*ApplyConfigTask) GetOsPolicies ¶
func (x *ApplyConfigTask) GetOsPolicies() []*ApplyConfigTask_OSPolicy
func (*ApplyConfigTask) ProtoMessage ¶
func (*ApplyConfigTask) ProtoMessage()
func (*ApplyConfigTask) ProtoReflect ¶
func (x *ApplyConfigTask) ProtoReflect() protoreflect.Message
func (*ApplyConfigTask) Reset ¶
func (x *ApplyConfigTask) Reset()
func (*ApplyConfigTask) String ¶
func (x *ApplyConfigTask) String() string
type ApplyConfigTaskOutput ¶
type ApplyConfigTaskOutput struct { // Required. The final state of this task. State ApplyConfigTaskOutput_State `` /* 136-byte string literal not displayed */ // Results of applying desired state config for the OS policies. OsPolicyResults []*ApplyConfigTaskOutput_OSPolicyResult `protobuf:"bytes,2,rep,name=os_policy_results,json=osPolicyResults,proto3" json:"os_policy_results,omitempty"` // contains filtered or unexported fields }
Information reported from the agent regarding the output of the task of applying desired state configuration.
func (*ApplyConfigTaskOutput) Descriptor
deprecated
func (*ApplyConfigTaskOutput) Descriptor() ([]byte, []int)
Deprecated: Use ApplyConfigTaskOutput.ProtoReflect.Descriptor instead.
func (*ApplyConfigTaskOutput) GetOsPolicyResults ¶
func (x *ApplyConfigTaskOutput) GetOsPolicyResults() []*ApplyConfigTaskOutput_OSPolicyResult
func (*ApplyConfigTaskOutput) GetState ¶
func (x *ApplyConfigTaskOutput) GetState() ApplyConfigTaskOutput_State
func (*ApplyConfigTaskOutput) ProtoMessage ¶
func (*ApplyConfigTaskOutput) ProtoMessage()
func (*ApplyConfigTaskOutput) ProtoReflect ¶
func (x *ApplyConfigTaskOutput) ProtoReflect() protoreflect.Message
func (*ApplyConfigTaskOutput) Reset ¶
func (x *ApplyConfigTaskOutput) Reset()
func (*ApplyConfigTaskOutput) String ¶
func (x *ApplyConfigTaskOutput) String() string
type ApplyConfigTaskOutput_OSPolicyResult ¶
type ApplyConfigTaskOutput_OSPolicyResult struct { // The OS policy id OsPolicyId string `protobuf:"bytes,1,opt,name=os_policy_id,json=osPolicyId,proto3" json:"os_policy_id,omitempty"` // Reference to the `OSPolicyAssignment` API resource that this `OSPolicy` // belongs to. // Format: // projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id} // Used for reporting and logging by the agent. OsPolicyAssignment string `protobuf:"bytes,2,opt,name=os_policy_assignment,json=osPolicyAssignment,proto3" json:"os_policy_assignment,omitempty"` // Results of applying desired state config for the OS policy resources. OsPolicyResourceCompliances []*OSPolicyResourceCompliance `` /* 146-byte string literal not displayed */ // contains filtered or unexported fields }
Result of applying desired state config for an OS policy.
func (*ApplyConfigTaskOutput_OSPolicyResult) Descriptor
deprecated
func (*ApplyConfigTaskOutput_OSPolicyResult) Descriptor() ([]byte, []int)
Deprecated: Use ApplyConfigTaskOutput_OSPolicyResult.ProtoReflect.Descriptor instead.
func (*ApplyConfigTaskOutput_OSPolicyResult) GetOsPolicyAssignment ¶
func (x *ApplyConfigTaskOutput_OSPolicyResult) GetOsPolicyAssignment() string
func (*ApplyConfigTaskOutput_OSPolicyResult) GetOsPolicyId ¶
func (x *ApplyConfigTaskOutput_OSPolicyResult) GetOsPolicyId() string
func (*ApplyConfigTaskOutput_OSPolicyResult) GetOsPolicyResourceCompliances ¶
func (x *ApplyConfigTaskOutput_OSPolicyResult) GetOsPolicyResourceCompliances() []*OSPolicyResourceCompliance
func (*ApplyConfigTaskOutput_OSPolicyResult) ProtoMessage ¶
func (*ApplyConfigTaskOutput_OSPolicyResult) ProtoMessage()
func (*ApplyConfigTaskOutput_OSPolicyResult) ProtoReflect ¶
func (x *ApplyConfigTaskOutput_OSPolicyResult) ProtoReflect() protoreflect.Message
func (*ApplyConfigTaskOutput_OSPolicyResult) Reset ¶
func (x *ApplyConfigTaskOutput_OSPolicyResult) Reset()
func (*ApplyConfigTaskOutput_OSPolicyResult) String ¶
func (x *ApplyConfigTaskOutput_OSPolicyResult) String() string
type ApplyConfigTaskOutput_State ¶
type ApplyConfigTaskOutput_State int32
The final state of this task.
const ( // Unspecified is invalid. ApplyConfigTaskOutput_STATE_UNSPECIFIED ApplyConfigTaskOutput_State = 0 // The apply config task completed successfully. ApplyConfigTaskOutput_SUCCEEDED ApplyConfigTaskOutput_State = 1 // The apply config task failed. ApplyConfigTaskOutput_FAILED ApplyConfigTaskOutput_State = 2 // The apply config task was cancelled. ApplyConfigTaskOutput_CANCELLED ApplyConfigTaskOutput_State = 3 )
func (ApplyConfigTaskOutput_State) Descriptor ¶
func (ApplyConfigTaskOutput_State) Descriptor() protoreflect.EnumDescriptor
func (ApplyConfigTaskOutput_State) Enum ¶
func (x ApplyConfigTaskOutput_State) Enum() *ApplyConfigTaskOutput_State
func (ApplyConfigTaskOutput_State) EnumDescriptor
deprecated
func (ApplyConfigTaskOutput_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use ApplyConfigTaskOutput_State.Descriptor instead.
func (ApplyConfigTaskOutput_State) Number ¶
func (x ApplyConfigTaskOutput_State) Number() protoreflect.EnumNumber
func (ApplyConfigTaskOutput_State) String ¶
func (x ApplyConfigTaskOutput_State) String() string
func (ApplyConfigTaskOutput_State) Type ¶
func (ApplyConfigTaskOutput_State) Type() protoreflect.EnumType
type ApplyConfigTaskProgress ¶
type ApplyConfigTaskProgress struct { // The current state of this task. State ApplyConfigTaskProgress_State `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
Information reported from the agent regarding the progress of the task of applying desired state configuration.
func (*ApplyConfigTaskProgress) Descriptor
deprecated
func (*ApplyConfigTaskProgress) Descriptor() ([]byte, []int)
Deprecated: Use ApplyConfigTaskProgress.ProtoReflect.Descriptor instead.
func (*ApplyConfigTaskProgress) GetState ¶
func (x *ApplyConfigTaskProgress) GetState() ApplyConfigTaskProgress_State
func (*ApplyConfigTaskProgress) ProtoMessage ¶
func (*ApplyConfigTaskProgress) ProtoMessage()
func (*ApplyConfigTaskProgress) ProtoReflect ¶
func (x *ApplyConfigTaskProgress) ProtoReflect() protoreflect.Message
func (*ApplyConfigTaskProgress) Reset ¶
func (x *ApplyConfigTaskProgress) Reset()
func (*ApplyConfigTaskProgress) String ¶
func (x *ApplyConfigTaskProgress) String() string
type ApplyConfigTaskProgress_State ¶
type ApplyConfigTaskProgress_State int32
The intermediate states of apply config task.
const ( // Invalid state ApplyConfigTaskProgress_STATE_UNSPECIFIED ApplyConfigTaskProgress_State = 0 // The agent has started the task. ApplyConfigTaskProgress_STARTED ApplyConfigTaskProgress_State = 1 // The agent is in the process of applying the configuration. ApplyConfigTaskProgress_APPLYING_CONFIG ApplyConfigTaskProgress_State = 2 )
func (ApplyConfigTaskProgress_State) Descriptor ¶
func (ApplyConfigTaskProgress_State) Descriptor() protoreflect.EnumDescriptor
func (ApplyConfigTaskProgress_State) Enum ¶
func (x ApplyConfigTaskProgress_State) Enum() *ApplyConfigTaskProgress_State
func (ApplyConfigTaskProgress_State) EnumDescriptor
deprecated
func (ApplyConfigTaskProgress_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use ApplyConfigTaskProgress_State.Descriptor instead.
func (ApplyConfigTaskProgress_State) Number ¶
func (x ApplyConfigTaskProgress_State) Number() protoreflect.EnumNumber
func (ApplyConfigTaskProgress_State) String ¶
func (x ApplyConfigTaskProgress_State) String() string
func (ApplyConfigTaskProgress_State) Type ¶
func (ApplyConfigTaskProgress_State) Type() protoreflect.EnumType
type ApplyConfigTask_OSPolicy ¶
type ApplyConfigTask_OSPolicy struct { // User provided policy id. // Used for reporting and logging by the agent. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The policy mode Mode OSPolicy_Mode `protobuf:"varint,2,opt,name=mode,proto3,enum=google.cloud.osconfig.agentendpoint.v1.OSPolicy_Mode" json:"mode,omitempty"` // Reference to the `OSPolicyAssignment` API resource that this `OSPolicy` // belongs to. // Format: // projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id} // Used for reporting and logging by the agent. OsPolicyAssignment string `protobuf:"bytes,3,opt,name=os_policy_assignment,json=osPolicyAssignment,proto3" json:"os_policy_assignment,omitempty"` // List of resources associated with the policy to be set to their // desired state. Resources []*OSPolicy_Resource `protobuf:"bytes,4,rep,name=resources,proto3" json:"resources,omitempty"` // contains filtered or unexported fields }
Message representing an OS policy.
func (*ApplyConfigTask_OSPolicy) Descriptor
deprecated
func (*ApplyConfigTask_OSPolicy) Descriptor() ([]byte, []int)
Deprecated: Use ApplyConfigTask_OSPolicy.ProtoReflect.Descriptor instead.
func (*ApplyConfigTask_OSPolicy) GetId ¶
func (x *ApplyConfigTask_OSPolicy) GetId() string
func (*ApplyConfigTask_OSPolicy) GetMode ¶
func (x *ApplyConfigTask_OSPolicy) GetMode() OSPolicy_Mode
func (*ApplyConfigTask_OSPolicy) GetOsPolicyAssignment ¶
func (x *ApplyConfigTask_OSPolicy) GetOsPolicyAssignment() string
func (*ApplyConfigTask_OSPolicy) GetResources ¶
func (x *ApplyConfigTask_OSPolicy) GetResources() []*OSPolicy_Resource
func (*ApplyConfigTask_OSPolicy) ProtoMessage ¶
func (*ApplyConfigTask_OSPolicy) ProtoMessage()
func (*ApplyConfigTask_OSPolicy) ProtoReflect ¶
func (x *ApplyConfigTask_OSPolicy) ProtoReflect() protoreflect.Message
func (*ApplyConfigTask_OSPolicy) Reset ¶
func (x *ApplyConfigTask_OSPolicy) Reset()
func (*ApplyConfigTask_OSPolicy) String ¶
func (x *ApplyConfigTask_OSPolicy) String() string
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"` // contains filtered or unexported fields }
Message which instructs agent to apply patches.
func (*ApplyPatchesTask) Descriptor
deprecated
func (*ApplyPatchesTask) Descriptor() ([]byte, []int)
Deprecated: Use ApplyPatchesTask.ProtoReflect.Descriptor instead.
func (*ApplyPatchesTask) GetDryRun ¶
func (x *ApplyPatchesTask) GetDryRun() bool
func (*ApplyPatchesTask) GetPatchConfig ¶
func (x *ApplyPatchesTask) GetPatchConfig() *PatchConfig
func (*ApplyPatchesTask) ProtoMessage ¶
func (*ApplyPatchesTask) ProtoMessage()
func (*ApplyPatchesTask) ProtoReflect ¶
func (x *ApplyPatchesTask) ProtoReflect() protoreflect.Message
func (*ApplyPatchesTask) Reset ¶
func (x *ApplyPatchesTask) Reset()
func (*ApplyPatchesTask) String ¶
func (x *ApplyPatchesTask) String() string
type ApplyPatchesTaskOutput ¶
type ApplyPatchesTaskOutput struct { // Required. The final state of this task. State ApplyPatchesTaskOutput_State `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
Information reported from the agent about applying patches execution.
func (*ApplyPatchesTaskOutput) Descriptor
deprecated
func (*ApplyPatchesTaskOutput) Descriptor() ([]byte, []int)
Deprecated: Use ApplyPatchesTaskOutput.ProtoReflect.Descriptor instead.
func (*ApplyPatchesTaskOutput) GetState ¶
func (x *ApplyPatchesTaskOutput) GetState() ApplyPatchesTaskOutput_State
func (*ApplyPatchesTaskOutput) ProtoMessage ¶
func (*ApplyPatchesTaskOutput) ProtoMessage()
func (*ApplyPatchesTaskOutput) ProtoReflect ¶
func (x *ApplyPatchesTaskOutput) ProtoReflect() protoreflect.Message
func (*ApplyPatchesTaskOutput) Reset ¶
func (x *ApplyPatchesTaskOutput) Reset()
func (*ApplyPatchesTaskOutput) String ¶
func (x *ApplyPatchesTaskOutput) String() string
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) Descriptor ¶
func (ApplyPatchesTaskOutput_State) Descriptor() protoreflect.EnumDescriptor
func (ApplyPatchesTaskOutput_State) Enum ¶
func (x ApplyPatchesTaskOutput_State) Enum() *ApplyPatchesTaskOutput_State
func (ApplyPatchesTaskOutput_State) EnumDescriptor
deprecated
func (ApplyPatchesTaskOutput_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use ApplyPatchesTaskOutput_State.Descriptor instead.
func (ApplyPatchesTaskOutput_State) Number ¶
func (x ApplyPatchesTaskOutput_State) Number() protoreflect.EnumNumber
func (ApplyPatchesTaskOutput_State) String ¶
func (x ApplyPatchesTaskOutput_State) String() string
func (ApplyPatchesTaskOutput_State) Type ¶
func (ApplyPatchesTaskOutput_State) Type() protoreflect.EnumType
type ApplyPatchesTaskProgress ¶
type ApplyPatchesTaskProgress struct { // Required. The current state of this patch execution. State ApplyPatchesTaskProgress_State `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
Information reported from the agent about applying patches execution.
func (*ApplyPatchesTaskProgress) Descriptor
deprecated
func (*ApplyPatchesTaskProgress) Descriptor() ([]byte, []int)
Deprecated: Use ApplyPatchesTaskProgress.ProtoReflect.Descriptor instead.
func (*ApplyPatchesTaskProgress) GetState ¶
func (x *ApplyPatchesTaskProgress) GetState() ApplyPatchesTaskProgress_State
func (*ApplyPatchesTaskProgress) ProtoMessage ¶
func (*ApplyPatchesTaskProgress) ProtoMessage()
func (*ApplyPatchesTaskProgress) ProtoReflect ¶
func (x *ApplyPatchesTaskProgress) ProtoReflect() protoreflect.Message
func (*ApplyPatchesTaskProgress) Reset ¶
func (x *ApplyPatchesTaskProgress) Reset()
func (*ApplyPatchesTaskProgress) String ¶
func (x *ApplyPatchesTaskProgress) String() string
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 instance. ApplyPatchesTaskProgress_REBOOTING ApplyPatchesTaskProgress_State = 3 )
func (ApplyPatchesTaskProgress_State) Descriptor ¶
func (ApplyPatchesTaskProgress_State) Descriptor() protoreflect.EnumDescriptor
func (ApplyPatchesTaskProgress_State) Enum ¶
func (x ApplyPatchesTaskProgress_State) Enum() *ApplyPatchesTaskProgress_State
func (ApplyPatchesTaskProgress_State) EnumDescriptor
deprecated
func (ApplyPatchesTaskProgress_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use ApplyPatchesTaskProgress_State.Descriptor instead.
func (ApplyPatchesTaskProgress_State) Number ¶
func (x ApplyPatchesTaskProgress_State) Number() protoreflect.EnumNumber
func (ApplyPatchesTaskProgress_State) String ¶
func (x ApplyPatchesTaskProgress_State) String() string
func (ApplyPatchesTaskProgress_State) Type ¶
func (ApplyPatchesTaskProgress_State) Type() protoreflect.EnumType
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"` // contains filtered or unexported fields }
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
deprecated
func (*AptSettings) Descriptor() ([]byte, []int)
Deprecated: Use AptSettings.ProtoReflect.Descriptor instead.
func (*AptSettings) GetExcludes ¶
func (x *AptSettings) GetExcludes() []string
func (*AptSettings) GetExclusivePackages ¶
func (x *AptSettings) GetExclusivePackages() []string
func (*AptSettings) GetType ¶
func (x *AptSettings) GetType() AptSettings_Type
func (*AptSettings) ProtoMessage ¶
func (*AptSettings) ProtoMessage()
func (*AptSettings) ProtoReflect ¶
func (x *AptSettings) ProtoReflect() protoreflect.Message
func (*AptSettings) Reset ¶
func (x *AptSettings) Reset()
func (*AptSettings) String ¶
func (x *AptSettings) String() string
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) Descriptor ¶
func (AptSettings_Type) Descriptor() protoreflect.EnumDescriptor
func (AptSettings_Type) Enum ¶
func (x AptSettings_Type) Enum() *AptSettings_Type
func (AptSettings_Type) EnumDescriptor
deprecated
func (AptSettings_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use AptSettings_Type.Descriptor instead.
func (AptSettings_Type) Number ¶
func (x AptSettings_Type) Number() protoreflect.EnumNumber
func (AptSettings_Type) String ¶
func (x AptSettings_Type) String() string
func (AptSettings_Type) Type ¶
func (AptSettings_Type) Type() protoreflect.EnumType
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 */ // contains filtered or unexported fields }
A step that runs an executable for a PatchJob.
func (*ExecStep) Descriptor
deprecated
func (*ExecStep) GetLinuxExecStepConfig ¶
func (x *ExecStep) GetLinuxExecStepConfig() *ExecStepConfig
func (*ExecStep) GetWindowsExecStepConfig ¶
func (x *ExecStep) GetWindowsExecStepConfig() *ExecStepConfig
func (*ExecStep) ProtoMessage ¶
func (*ExecStep) ProtoMessage()
func (*ExecStep) ProtoReflect ¶
func (x *ExecStep) ProtoReflect() protoreflect.Message
type ExecStepConfig ¶
type ExecStepConfig struct { // Location of the executable. // // Types that are assignable 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 */ // contains filtered or unexported fields }
Common configurations for an ExecStep.
func (*ExecStepConfig) Descriptor
deprecated
func (*ExecStepConfig) Descriptor() ([]byte, []int)
Deprecated: Use ExecStepConfig.ProtoReflect.Descriptor instead.
func (*ExecStepConfig) GetAllowedSuccessCodes ¶
func (x *ExecStepConfig) GetAllowedSuccessCodes() []int32
func (*ExecStepConfig) GetExecutable ¶
func (m *ExecStepConfig) GetExecutable() isExecStepConfig_Executable
func (*ExecStepConfig) GetGcsObject ¶
func (x *ExecStepConfig) GetGcsObject() *GcsObject
func (*ExecStepConfig) GetInterpreter ¶
func (x *ExecStepConfig) GetInterpreter() ExecStepConfig_Interpreter
func (*ExecStepConfig) GetLocalPath ¶
func (x *ExecStepConfig) GetLocalPath() string
func (*ExecStepConfig) ProtoMessage ¶
func (*ExecStepConfig) ProtoMessage()
func (*ExecStepConfig) ProtoReflect ¶
func (x *ExecStepConfig) ProtoReflect() protoreflect.Message
func (*ExecStepConfig) Reset ¶
func (x *ExecStepConfig) Reset()
func (*ExecStepConfig) String ¶
func (x *ExecStepConfig) String() string
type ExecStepConfig_GcsObject ¶
type ExecStepConfig_GcsObject struct { // A GCS object containing the executable. GcsObject *GcsObject `protobuf:"bytes,2,opt,name=gcs_object,json=gcsObject,proto3,oneof"` }
type ExecStepConfig_Interpreter ¶
type ExecStepConfig_Interpreter int32
The interpreter used to run the file.
const ( // If the interpreter is not specified, the value defaults to `NONE`. ExecStepConfig_INTERPRETER_UNSPECIFIED ExecStepConfig_Interpreter = 0 // Indicates that the file is run as follows on each operating system: // + For Linux VMs, the file is ran as an executable and the interpreter // might be parsed from the [shebang // line](https://wikipedia.org/wiki/Shebang_(Unix)) of the file. // + For Windows VM, this value is not supported. ExecStepConfig_NONE ExecStepConfig_Interpreter = 3 // Indicates that the file is run with `/bin/sh` on Linux and `cmd` // on Windows. ExecStepConfig_SHELL ExecStepConfig_Interpreter = 1 // Indicates that the file is run with PowerShell. ExecStepConfig_POWERSHELL ExecStepConfig_Interpreter = 2 )
func (ExecStepConfig_Interpreter) Descriptor ¶
func (ExecStepConfig_Interpreter) Descriptor() protoreflect.EnumDescriptor
func (ExecStepConfig_Interpreter) Enum ¶
func (x ExecStepConfig_Interpreter) Enum() *ExecStepConfig_Interpreter
func (ExecStepConfig_Interpreter) EnumDescriptor
deprecated
func (ExecStepConfig_Interpreter) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecStepConfig_Interpreter.Descriptor instead.
func (ExecStepConfig_Interpreter) Number ¶
func (x ExecStepConfig_Interpreter) Number() protoreflect.EnumNumber
func (ExecStepConfig_Interpreter) String ¶
func (x ExecStepConfig_Interpreter) String() string
func (ExecStepConfig_Interpreter) Type ¶
func (ExecStepConfig_Interpreter) Type() protoreflect.EnumType
type ExecStepConfig_LocalPath ¶
type ExecStepConfig_LocalPath struct { // An absolute path to the executable on the VM. 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"` // contains filtered or unexported fields }
Message which instructs agent to execute the following command.
func (*ExecStepTask) Descriptor
deprecated
func (*ExecStepTask) Descriptor() ([]byte, []int)
Deprecated: Use ExecStepTask.ProtoReflect.Descriptor instead.
func (*ExecStepTask) GetExecStep ¶
func (x *ExecStepTask) GetExecStep() *ExecStep
func (*ExecStepTask) ProtoMessage ¶
func (*ExecStepTask) ProtoMessage()
func (*ExecStepTask) ProtoReflect ¶
func (x *ExecStepTask) ProtoReflect() protoreflect.Message
func (*ExecStepTask) Reset ¶
func (x *ExecStepTask) Reset()
func (*ExecStepTask) String ¶
func (x *ExecStepTask) String() string
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"` // contains filtered or unexported fields }
Information reported from the agent about the exec step execution.
func (*ExecStepTaskOutput) Descriptor
deprecated
func (*ExecStepTaskOutput) Descriptor() ([]byte, []int)
Deprecated: Use ExecStepTaskOutput.ProtoReflect.Descriptor instead.
func (*ExecStepTaskOutput) GetExitCode ¶
func (x *ExecStepTaskOutput) GetExitCode() int32
func (*ExecStepTaskOutput) GetState ¶
func (x *ExecStepTaskOutput) GetState() ExecStepTaskOutput_State
func (*ExecStepTaskOutput) ProtoMessage ¶
func (*ExecStepTaskOutput) ProtoMessage()
func (*ExecStepTaskOutput) ProtoReflect ¶
func (x *ExecStepTaskOutput) ProtoReflect() protoreflect.Message
func (*ExecStepTaskOutput) Reset ¶
func (x *ExecStepTaskOutput) Reset()
func (*ExecStepTaskOutput) String ¶
func (x *ExecStepTaskOutput) String() string
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) Descriptor ¶
func (ExecStepTaskOutput_State) Descriptor() protoreflect.EnumDescriptor
func (ExecStepTaskOutput_State) Enum ¶
func (x ExecStepTaskOutput_State) Enum() *ExecStepTaskOutput_State
func (ExecStepTaskOutput_State) EnumDescriptor
deprecated
func (ExecStepTaskOutput_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecStepTaskOutput_State.Descriptor instead.
func (ExecStepTaskOutput_State) Number ¶
func (x ExecStepTaskOutput_State) Number() protoreflect.EnumNumber
func (ExecStepTaskOutput_State) String ¶
func (x ExecStepTaskOutput_State) String() string
func (ExecStepTaskOutput_State) Type ¶
func (ExecStepTaskOutput_State) Type() protoreflect.EnumType
type ExecStepTaskProgress ¶
type ExecStepTaskProgress struct { // Required. The current state of this exec step. State ExecStepTaskProgress_State `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
Information reported from the agent about the exec step execution.
func (*ExecStepTaskProgress) Descriptor
deprecated
func (*ExecStepTaskProgress) Descriptor() ([]byte, []int)
Deprecated: Use ExecStepTaskProgress.ProtoReflect.Descriptor instead.
func (*ExecStepTaskProgress) GetState ¶
func (x *ExecStepTaskProgress) GetState() ExecStepTaskProgress_State
func (*ExecStepTaskProgress) ProtoMessage ¶
func (*ExecStepTaskProgress) ProtoMessage()
func (*ExecStepTaskProgress) ProtoReflect ¶
func (x *ExecStepTaskProgress) ProtoReflect() protoreflect.Message
func (*ExecStepTaskProgress) Reset ¶
func (x *ExecStepTaskProgress) Reset()
func (*ExecStepTaskProgress) String ¶
func (x *ExecStepTaskProgress) String() string
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) Descriptor ¶
func (ExecStepTaskProgress_State) Descriptor() protoreflect.EnumDescriptor
func (ExecStepTaskProgress_State) Enum ¶
func (x ExecStepTaskProgress_State) Enum() *ExecStepTaskProgress_State
func (ExecStepTaskProgress_State) EnumDescriptor
deprecated
func (ExecStepTaskProgress_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecStepTaskProgress_State.Descriptor instead.
func (ExecStepTaskProgress_State) Number ¶
func (x ExecStepTaskProgress_State) Number() protoreflect.EnumNumber
func (ExecStepTaskProgress_State) String ¶
func (x ExecStepTaskProgress_State) String() string
func (ExecStepTaskProgress_State) Type ¶
func (ExecStepTaskProgress_State) Type() protoreflect.EnumType
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"` // contains filtered or unexported fields }
GCS object representation.
func (*GcsObject) Descriptor
deprecated
func (*GcsObject) GetGenerationNumber ¶
func (*GcsObject) ProtoMessage ¶
func (*GcsObject) ProtoMessage()
func (*GcsObject) ProtoReflect ¶
func (x *GcsObject) ProtoReflect() protoreflect.Message
type GooSettings ¶
type GooSettings struct {
// contains filtered or unexported fields
}
Googet patching is performed by running `googet update`.
func (*GooSettings) Descriptor
deprecated
func (*GooSettings) Descriptor() ([]byte, []int)
Deprecated: Use GooSettings.ProtoReflect.Descriptor instead.
func (*GooSettings) ProtoMessage ¶
func (*GooSettings) ProtoMessage()
func (*GooSettings) ProtoReflect ¶
func (x *GooSettings) ProtoReflect() protoreflect.Message
func (*GooSettings) Reset ¶
func (x *GooSettings) Reset()
func (*GooSettings) String ¶
func (x *GooSettings) String() string
type Inventory ¶
type Inventory struct { // Base level operating system information for the VM. OsInfo *Inventory_OsInfo `protobuf:"bytes,1,opt,name=os_info,json=osInfo,proto3" json:"os_info,omitempty"` // A list of installed packages currently on the VM. InstalledPackages []*Inventory_SoftwarePackage `protobuf:"bytes,2,rep,name=installed_packages,json=installedPackages,proto3" json:"installed_packages,omitempty"` // A list of software updates available for the VM as reported by the update // managers. AvailablePackages []*Inventory_SoftwarePackage `protobuf:"bytes,3,rep,name=available_packages,json=availablePackages,proto3" json:"available_packages,omitempty"` // contains filtered or unexported fields }
The inventory details of a VM.
func (*Inventory) Descriptor
deprecated
func (*Inventory) GetAvailablePackages ¶
func (x *Inventory) GetAvailablePackages() []*Inventory_SoftwarePackage
func (*Inventory) GetInstalledPackages ¶
func (x *Inventory) GetInstalledPackages() []*Inventory_SoftwarePackage
func (*Inventory) GetOsInfo ¶
func (x *Inventory) GetOsInfo() *Inventory_OsInfo
func (*Inventory) ProtoMessage ¶
func (*Inventory) ProtoMessage()
func (*Inventory) ProtoReflect ¶
func (x *Inventory) ProtoReflect() protoreflect.Message
type Inventory_OsInfo ¶
type Inventory_OsInfo struct { // The VM hostname. Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` // The operating system long name. // For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 // Datacenter'. LongName string `protobuf:"bytes,2,opt,name=long_name,json=longName,proto3" json:"long_name,omitempty"` // The operating system short name. // For example, 'windows' or 'debian'. ShortName string `protobuf:"bytes,3,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"` // The version of the operating system. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // The system architecture of the operating system. Architecture string `protobuf:"bytes,5,opt,name=architecture,proto3" json:"architecture,omitempty"` // The kernel version of the operating system. KernelVersion string `protobuf:"bytes,6,opt,name=kernel_version,json=kernelVersion,proto3" json:"kernel_version,omitempty"` // The kernel release of the operating system. KernelRelease string `protobuf:"bytes,7,opt,name=kernel_release,json=kernelRelease,proto3" json:"kernel_release,omitempty"` // The current version of the OS Config agent running on the VM. OsconfigAgentVersion string `protobuf:"bytes,8,opt,name=osconfig_agent_version,json=osconfigAgentVersion,proto3" json:"osconfig_agent_version,omitempty"` // contains filtered or unexported fields }
Operating system information for the VM.
func (*Inventory_OsInfo) Descriptor
deprecated
func (*Inventory_OsInfo) Descriptor() ([]byte, []int)
Deprecated: Use Inventory_OsInfo.ProtoReflect.Descriptor instead.
func (*Inventory_OsInfo) GetArchitecture ¶
func (x *Inventory_OsInfo) GetArchitecture() string
func (*Inventory_OsInfo) GetHostname ¶
func (x *Inventory_OsInfo) GetHostname() string
func (*Inventory_OsInfo) GetKernelRelease ¶
func (x *Inventory_OsInfo) GetKernelRelease() string
func (*Inventory_OsInfo) GetKernelVersion ¶
func (x *Inventory_OsInfo) GetKernelVersion() string
func (*Inventory_OsInfo) GetLongName ¶
func (x *Inventory_OsInfo) GetLongName() string
func (*Inventory_OsInfo) GetOsconfigAgentVersion ¶
func (x *Inventory_OsInfo) GetOsconfigAgentVersion() string
func (*Inventory_OsInfo) GetShortName ¶
func (x *Inventory_OsInfo) GetShortName() string
func (*Inventory_OsInfo) GetVersion ¶
func (x *Inventory_OsInfo) GetVersion() string
func (*Inventory_OsInfo) ProtoMessage ¶
func (*Inventory_OsInfo) ProtoMessage()
func (*Inventory_OsInfo) ProtoReflect ¶
func (x *Inventory_OsInfo) ProtoReflect() protoreflect.Message
func (*Inventory_OsInfo) Reset ¶
func (x *Inventory_OsInfo) Reset()
func (*Inventory_OsInfo) String ¶
func (x *Inventory_OsInfo) String() string
type Inventory_SoftwarePackage ¶
type Inventory_SoftwarePackage struct { // Information about the different types of software packages. // // Types that are assignable to Details: // // *Inventory_SoftwarePackage_YumPackage // *Inventory_SoftwarePackage_AptPackage // *Inventory_SoftwarePackage_ZypperPackage // *Inventory_SoftwarePackage_GoogetPackage // *Inventory_SoftwarePackage_ZypperPatch // *Inventory_SoftwarePackage_WuaPackage // *Inventory_SoftwarePackage_QfePackage // *Inventory_SoftwarePackage_CosPackage // *Inventory_SoftwarePackage_WindowsApplication Details isInventory_SoftwarePackage_Details `protobuf_oneof:"details"` // contains filtered or unexported fields }
Software package information of the operating system.
func (*Inventory_SoftwarePackage) Descriptor
deprecated
func (*Inventory_SoftwarePackage) Descriptor() ([]byte, []int)
Deprecated: Use Inventory_SoftwarePackage.ProtoReflect.Descriptor instead.
func (*Inventory_SoftwarePackage) GetAptPackage ¶
func (x *Inventory_SoftwarePackage) GetAptPackage() *Inventory_VersionedPackage
func (*Inventory_SoftwarePackage) GetCosPackage ¶
func (x *Inventory_SoftwarePackage) GetCosPackage() *Inventory_VersionedPackage
func (*Inventory_SoftwarePackage) GetDetails ¶
func (m *Inventory_SoftwarePackage) GetDetails() isInventory_SoftwarePackage_Details
func (*Inventory_SoftwarePackage) GetGoogetPackage ¶
func (x *Inventory_SoftwarePackage) GetGoogetPackage() *Inventory_VersionedPackage
func (*Inventory_SoftwarePackage) GetQfePackage ¶
func (x *Inventory_SoftwarePackage) GetQfePackage() *Inventory_WindowsQuickFixEngineeringPackage
func (*Inventory_SoftwarePackage) GetWindowsApplication ¶
func (x *Inventory_SoftwarePackage) GetWindowsApplication() *Inventory_WindowsApplication
func (*Inventory_SoftwarePackage) GetWuaPackage ¶
func (x *Inventory_SoftwarePackage) GetWuaPackage() *Inventory_WindowsUpdatePackage
func (*Inventory_SoftwarePackage) GetYumPackage ¶
func (x *Inventory_SoftwarePackage) GetYumPackage() *Inventory_VersionedPackage
func (*Inventory_SoftwarePackage) GetZypperPackage ¶
func (x *Inventory_SoftwarePackage) GetZypperPackage() *Inventory_VersionedPackage
func (*Inventory_SoftwarePackage) GetZypperPatch ¶
func (x *Inventory_SoftwarePackage) GetZypperPatch() *Inventory_ZypperPatch
func (*Inventory_SoftwarePackage) ProtoMessage ¶
func (*Inventory_SoftwarePackage) ProtoMessage()
func (*Inventory_SoftwarePackage) ProtoReflect ¶
func (x *Inventory_SoftwarePackage) ProtoReflect() protoreflect.Message
func (*Inventory_SoftwarePackage) Reset ¶
func (x *Inventory_SoftwarePackage) Reset()
func (*Inventory_SoftwarePackage) String ¶
func (x *Inventory_SoftwarePackage) String() string
type Inventory_SoftwarePackage_AptPackage ¶
type Inventory_SoftwarePackage_AptPackage struct { // Details of an APT package. // For details about the apt package manager, see // https://wiki.debian.org/Apt. AptPackage *Inventory_VersionedPackage `protobuf:"bytes,2,opt,name=apt_package,json=aptPackage,proto3,oneof"` }
type Inventory_SoftwarePackage_CosPackage ¶
type Inventory_SoftwarePackage_CosPackage struct { // Details of a COS package. CosPackage *Inventory_VersionedPackage `protobuf:"bytes,8,opt,name=cos_package,json=cosPackage,proto3,oneof"` }
type Inventory_SoftwarePackage_GoogetPackage ¶
type Inventory_SoftwarePackage_GoogetPackage struct { // Details of a Googet package. // // For details about the googet package manager, see // https://github.com/google/googet. GoogetPackage *Inventory_VersionedPackage `protobuf:"bytes,4,opt,name=googet_package,json=googetPackage,proto3,oneof"` }
type Inventory_SoftwarePackage_QfePackage ¶
type Inventory_SoftwarePackage_QfePackage struct { // Details of a Windows Quick Fix engineering package. // See // https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering // for info in Windows Quick Fix Engineering. QfePackage *Inventory_WindowsQuickFixEngineeringPackage `protobuf:"bytes,7,opt,name=qfe_package,json=qfePackage,proto3,oneof"` }
type Inventory_SoftwarePackage_WindowsApplication ¶
type Inventory_SoftwarePackage_WindowsApplication struct { // Details of Windows Application. WindowsApplication *Inventory_WindowsApplication `protobuf:"bytes,9,opt,name=windows_application,json=windowsApplication,proto3,oneof"` }
type Inventory_SoftwarePackage_WuaPackage ¶
type Inventory_SoftwarePackage_WuaPackage struct { // Details of a Windows Update package. // See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for // information about Windows Update. WuaPackage *Inventory_WindowsUpdatePackage `protobuf:"bytes,6,opt,name=wua_package,json=wuaPackage,proto3,oneof"` }
type Inventory_SoftwarePackage_YumPackage ¶
type Inventory_SoftwarePackage_YumPackage struct { // Yum package info. // For details about the yum package manager, see // https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/ch-yum. YumPackage *Inventory_VersionedPackage `protobuf:"bytes,1,opt,name=yum_package,json=yumPackage,proto3,oneof"` }
type Inventory_SoftwarePackage_ZypperPackage ¶
type Inventory_SoftwarePackage_ZypperPackage struct { // Details of a Zypper package. // For details about the Zypper package manager, see // https://en.opensuse.org/SDB:Zypper_manual. ZypperPackage *Inventory_VersionedPackage `protobuf:"bytes,3,opt,name=zypper_package,json=zypperPackage,proto3,oneof"` }
type Inventory_SoftwarePackage_ZypperPatch ¶
type Inventory_SoftwarePackage_ZypperPatch struct { // Details of a Zypper patch. // For details about the Zypper package manager, see // https://en.opensuse.org/SDB:Zypper_manual. ZypperPatch *Inventory_ZypperPatch `protobuf:"bytes,5,opt,name=zypper_patch,json=zypperPatch,proto3,oneof"` }
type Inventory_VersionedPackage ¶
type Inventory_VersionedPackage struct { // The name of the package. PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` // The system architecture this package is intended for. Architecture string `protobuf:"bytes,2,opt,name=architecture,proto3" json:"architecture,omitempty"` // The version of the package. Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // Optional. The source of the package. Source *Inventory_VersionedPackage_Source `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
Information related to the a standard versioned package. This includes package info for APT, Yum, Zypper, and Googet package managers.
func (*Inventory_VersionedPackage) Descriptor
deprecated
func (*Inventory_VersionedPackage) Descriptor() ([]byte, []int)
Deprecated: Use Inventory_VersionedPackage.ProtoReflect.Descriptor instead.
func (*Inventory_VersionedPackage) GetArchitecture ¶
func (x *Inventory_VersionedPackage) GetArchitecture() string
func (*Inventory_VersionedPackage) GetPackageName ¶
func (x *Inventory_VersionedPackage) GetPackageName() string
func (*Inventory_VersionedPackage) GetSource ¶ added in v1.13.0
func (x *Inventory_VersionedPackage) GetSource() *Inventory_VersionedPackage_Source
func (*Inventory_VersionedPackage) GetVersion ¶
func (x *Inventory_VersionedPackage) GetVersion() string
func (*Inventory_VersionedPackage) ProtoMessage ¶
func (*Inventory_VersionedPackage) ProtoMessage()
func (*Inventory_VersionedPackage) ProtoReflect ¶
func (x *Inventory_VersionedPackage) ProtoReflect() protoreflect.Message
func (*Inventory_VersionedPackage) Reset ¶
func (x *Inventory_VersionedPackage) Reset()
func (*Inventory_VersionedPackage) String ¶
func (x *Inventory_VersionedPackage) String() string
type Inventory_VersionedPackage_Source ¶ added in v1.13.0
type Inventory_VersionedPackage_Source struct { // Required. The name of the source package. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The version of the source package. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Information related to the actuall source of the versioned package. This includes source package name and version if available.
func (*Inventory_VersionedPackage_Source) Descriptor
deprecated
added in
v1.13.0
func (*Inventory_VersionedPackage_Source) Descriptor() ([]byte, []int)
Deprecated: Use Inventory_VersionedPackage_Source.ProtoReflect.Descriptor instead.
func (*Inventory_VersionedPackage_Source) GetName ¶ added in v1.13.0
func (x *Inventory_VersionedPackage_Source) GetName() string
func (*Inventory_VersionedPackage_Source) GetVersion ¶ added in v1.13.0
func (x *Inventory_VersionedPackage_Source) GetVersion() string
func (*Inventory_VersionedPackage_Source) ProtoMessage ¶ added in v1.13.0
func (*Inventory_VersionedPackage_Source) ProtoMessage()
func (*Inventory_VersionedPackage_Source) ProtoReflect ¶ added in v1.13.0
func (x *Inventory_VersionedPackage_Source) ProtoReflect() protoreflect.Message
func (*Inventory_VersionedPackage_Source) Reset ¶ added in v1.13.0
func (x *Inventory_VersionedPackage_Source) Reset()
func (*Inventory_VersionedPackage_Source) String ¶ added in v1.13.0
func (x *Inventory_VersionedPackage_Source) String() string
type Inventory_WindowsApplication ¶
type Inventory_WindowsApplication struct { // DisplayName field from Windows Registry. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // DisplayVersion field from Windows Registry. DisplayVersion string `protobuf:"bytes,2,opt,name=display_version,json=displayVersion,proto3" json:"display_version,omitempty"` // Publisher field from Windows Registry. Publisher string `protobuf:"bytes,3,opt,name=publisher,proto3" json:"publisher,omitempty"` // Installation date field from Windows Registry. InstallDate *date.Date `protobuf:"bytes,4,opt,name=install_date,json=installDate,proto3" json:"install_date,omitempty"` // HelpLink field from Windows Registry. HelpLink string `protobuf:"bytes,5,opt,name=help_link,json=helpLink,proto3" json:"help_link,omitempty"` // contains filtered or unexported fields }
Details about Windows Application - based on Windows Registry. All fields in this message are taken from: https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key
func (*Inventory_WindowsApplication) Descriptor
deprecated
func (*Inventory_WindowsApplication) Descriptor() ([]byte, []int)
Deprecated: Use Inventory_WindowsApplication.ProtoReflect.Descriptor instead.
func (*Inventory_WindowsApplication) GetDisplayName ¶
func (x *Inventory_WindowsApplication) GetDisplayName() string
func (*Inventory_WindowsApplication) GetDisplayVersion ¶
func (x *Inventory_WindowsApplication) GetDisplayVersion() string
func (*Inventory_WindowsApplication) GetHelpLink ¶
func (x *Inventory_WindowsApplication) GetHelpLink() string
func (*Inventory_WindowsApplication) GetInstallDate ¶
func (x *Inventory_WindowsApplication) GetInstallDate() *date.Date
func (*Inventory_WindowsApplication) GetPublisher ¶
func (x *Inventory_WindowsApplication) GetPublisher() string
func (*Inventory_WindowsApplication) ProtoMessage ¶
func (*Inventory_WindowsApplication) ProtoMessage()
func (*Inventory_WindowsApplication) ProtoReflect ¶
func (x *Inventory_WindowsApplication) ProtoReflect() protoreflect.Message
func (*Inventory_WindowsApplication) Reset ¶
func (x *Inventory_WindowsApplication) Reset()
func (*Inventory_WindowsApplication) String ¶
func (x *Inventory_WindowsApplication) String() string
type Inventory_WindowsQuickFixEngineeringPackage ¶
type Inventory_WindowsQuickFixEngineeringPackage struct { // A short textual description of the QFE update. Caption string `protobuf:"bytes,1,opt,name=caption,proto3" json:"caption,omitempty"` // A textual description of the QFE update. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Unique identifier associated with a particular QFE update. HotFixId string `protobuf:"bytes,3,opt,name=hot_fix_id,json=hotFixId,proto3" json:"hot_fix_id,omitempty"` // Date that the QFE update was installed. Mapped from installed_on field. InstallTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=install_time,json=installTime,proto3" json:"install_time,omitempty"` // contains filtered or unexported fields }
Information related to a Quick Fix Engineering package. Fields are taken from Windows QuickFixEngineering Interface and match the source names: https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering
func (*Inventory_WindowsQuickFixEngineeringPackage) Descriptor
deprecated
func (*Inventory_WindowsQuickFixEngineeringPackage) Descriptor() ([]byte, []int)
Deprecated: Use Inventory_WindowsQuickFixEngineeringPackage.ProtoReflect.Descriptor instead.
func (*Inventory_WindowsQuickFixEngineeringPackage) GetCaption ¶
func (x *Inventory_WindowsQuickFixEngineeringPackage) GetCaption() string
func (*Inventory_WindowsQuickFixEngineeringPackage) GetDescription ¶
func (x *Inventory_WindowsQuickFixEngineeringPackage) GetDescription() string
func (*Inventory_WindowsQuickFixEngineeringPackage) GetHotFixId ¶
func (x *Inventory_WindowsQuickFixEngineeringPackage) GetHotFixId() string
func (*Inventory_WindowsQuickFixEngineeringPackage) GetInstallTime ¶
func (x *Inventory_WindowsQuickFixEngineeringPackage) GetInstallTime() *timestamppb.Timestamp
func (*Inventory_WindowsQuickFixEngineeringPackage) ProtoMessage ¶
func (*Inventory_WindowsQuickFixEngineeringPackage) ProtoMessage()
func (*Inventory_WindowsQuickFixEngineeringPackage) ProtoReflect ¶
func (x *Inventory_WindowsQuickFixEngineeringPackage) ProtoReflect() protoreflect.Message
func (*Inventory_WindowsQuickFixEngineeringPackage) Reset ¶
func (x *Inventory_WindowsQuickFixEngineeringPackage) Reset()
func (*Inventory_WindowsQuickFixEngineeringPackage) String ¶
func (x *Inventory_WindowsQuickFixEngineeringPackage) String() string
type Inventory_WindowsUpdatePackage ¶
type Inventory_WindowsUpdatePackage struct { // The localized title of the update package. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // The localized description of the update package. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // The categories that are associated with this update package. Categories []*Inventory_WindowsUpdatePackage_WindowsUpdateCategory `protobuf:"bytes,3,rep,name=categories,proto3" json:"categories,omitempty"` // A collection of Microsoft Knowledge Base article IDs that are associated // with the update package. KbArticleIds []string `protobuf:"bytes,4,rep,name=kb_article_ids,json=kbArticleIds,proto3" json:"kb_article_ids,omitempty"` // A hyperlink to the language-specific support information for the update. SupportUrl string `protobuf:"bytes,5,opt,name=support_url,json=supportUrl,proto3" json:"support_url,omitempty"` // A collection of URLs that provide more information about the update // package. MoreInfoUrls []string `protobuf:"bytes,6,rep,name=more_info_urls,json=moreInfoUrls,proto3" json:"more_info_urls,omitempty"` // Gets the identifier of an update package. Stays the same across // revisions. UpdateId string `protobuf:"bytes,7,opt,name=update_id,json=updateId,proto3" json:"update_id,omitempty"` // The revision number of this update package. RevisionNumber int32 `protobuf:"varint,8,opt,name=revision_number,json=revisionNumber,proto3" json:"revision_number,omitempty"` // The last published date of the update, in (UTC) date and time. LastDeploymentChangeTime *timestamppb.Timestamp `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
Details related to a Windows Update package. Field data and names are taken from Windows Update API IUpdate Interface: https://docs.microsoft.com/en-us/windows/win32/api/_wua/ Descriptive fields like title, and description are localized based on the locale of the VM being updated.
func (*Inventory_WindowsUpdatePackage) Descriptor
deprecated
func (*Inventory_WindowsUpdatePackage) Descriptor() ([]byte, []int)
Deprecated: Use Inventory_WindowsUpdatePackage.ProtoReflect.Descriptor instead.
func (*Inventory_WindowsUpdatePackage) GetCategories ¶
func (x *Inventory_WindowsUpdatePackage) GetCategories() []*Inventory_WindowsUpdatePackage_WindowsUpdateCategory
func (*Inventory_WindowsUpdatePackage) GetDescription ¶
func (x *Inventory_WindowsUpdatePackage) GetDescription() string
func (*Inventory_WindowsUpdatePackage) GetKbArticleIds ¶
func (x *Inventory_WindowsUpdatePackage) GetKbArticleIds() []string
func (*Inventory_WindowsUpdatePackage) GetLastDeploymentChangeTime ¶
func (x *Inventory_WindowsUpdatePackage) GetLastDeploymentChangeTime() *timestamppb.Timestamp
func (*Inventory_WindowsUpdatePackage) GetMoreInfoUrls ¶
func (x *Inventory_WindowsUpdatePackage) GetMoreInfoUrls() []string
func (*Inventory_WindowsUpdatePackage) GetRevisionNumber ¶
func (x *Inventory_WindowsUpdatePackage) GetRevisionNumber() int32
func (*Inventory_WindowsUpdatePackage) GetSupportUrl ¶
func (x *Inventory_WindowsUpdatePackage) GetSupportUrl() string
func (*Inventory_WindowsUpdatePackage) GetTitle ¶
func (x *Inventory_WindowsUpdatePackage) GetTitle() string
func (*Inventory_WindowsUpdatePackage) GetUpdateId ¶
func (x *Inventory_WindowsUpdatePackage) GetUpdateId() string
func (*Inventory_WindowsUpdatePackage) ProtoMessage ¶
func (*Inventory_WindowsUpdatePackage) ProtoMessage()
func (*Inventory_WindowsUpdatePackage) ProtoReflect ¶
func (x *Inventory_WindowsUpdatePackage) ProtoReflect() protoreflect.Message
func (*Inventory_WindowsUpdatePackage) Reset ¶
func (x *Inventory_WindowsUpdatePackage) Reset()
func (*Inventory_WindowsUpdatePackage) String ¶
func (x *Inventory_WindowsUpdatePackage) String() string
type Inventory_WindowsUpdatePackage_WindowsUpdateCategory ¶
type Inventory_WindowsUpdatePackage_WindowsUpdateCategory struct { // The identifier of the windows update category. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The name of the windows update category. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Categories specified by the Windows Update.
func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) Descriptor
deprecated
func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) Descriptor() ([]byte, []int)
Deprecated: Use Inventory_WindowsUpdatePackage_WindowsUpdateCategory.ProtoReflect.Descriptor instead.
func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) GetId ¶
func (x *Inventory_WindowsUpdatePackage_WindowsUpdateCategory) GetId() string
func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) GetName ¶
func (x *Inventory_WindowsUpdatePackage_WindowsUpdateCategory) GetName() string
func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) ProtoMessage ¶
func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) ProtoMessage()
func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) ProtoReflect ¶
func (x *Inventory_WindowsUpdatePackage_WindowsUpdateCategory) ProtoReflect() protoreflect.Message
func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) Reset ¶
func (x *Inventory_WindowsUpdatePackage_WindowsUpdateCategory) Reset()
func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) String ¶
func (x *Inventory_WindowsUpdatePackage_WindowsUpdateCategory) String() string
type Inventory_ZypperPatch ¶
type Inventory_ZypperPatch struct { // The name of the patch. PatchName string `protobuf:"bytes,1,opt,name=patch_name,json=patchName,proto3" json:"patch_name,omitempty"` // The category of the patch. Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"` // The severity specified for this patch Severity string `protobuf:"bytes,3,opt,name=severity,proto3" json:"severity,omitempty"` // Any summary information provided about this patch. Summary string `protobuf:"bytes,4,opt,name=summary,proto3" json:"summary,omitempty"` // contains filtered or unexported fields }
Details related to a Zypper Patch.
func (*Inventory_ZypperPatch) Descriptor
deprecated
func (*Inventory_ZypperPatch) Descriptor() ([]byte, []int)
Deprecated: Use Inventory_ZypperPatch.ProtoReflect.Descriptor instead.
func (*Inventory_ZypperPatch) GetCategory ¶
func (x *Inventory_ZypperPatch) GetCategory() string
func (*Inventory_ZypperPatch) GetPatchName ¶
func (x *Inventory_ZypperPatch) GetPatchName() string
func (*Inventory_ZypperPatch) GetSeverity ¶
func (x *Inventory_ZypperPatch) GetSeverity() string
func (*Inventory_ZypperPatch) GetSummary ¶
func (x *Inventory_ZypperPatch) GetSummary() string
func (*Inventory_ZypperPatch) ProtoMessage ¶
func (*Inventory_ZypperPatch) ProtoMessage()
func (*Inventory_ZypperPatch) ProtoReflect ¶
func (x *Inventory_ZypperPatch) ProtoReflect() protoreflect.Message
func (*Inventory_ZypperPatch) Reset ¶
func (x *Inventory_ZypperPatch) Reset()
func (*Inventory_ZypperPatch) String ¶
func (x *Inventory_ZypperPatch) String() string
type OSPolicy ¶
type OSPolicy struct {
// contains filtered or unexported fields
}
An OS policy defines the desired state configuration for an instance.
func (*OSPolicy) Descriptor
deprecated
func (*OSPolicy) ProtoMessage ¶
func (*OSPolicy) ProtoMessage()
func (*OSPolicy) ProtoReflect ¶
func (x *OSPolicy) ProtoReflect() protoreflect.Message
type OSPolicyComplianceState ¶
type OSPolicyComplianceState int32
Supported OSPolicy compliance states.
const ( // Default value. This value is unused. OSPolicyComplianceState_OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED OSPolicyComplianceState = 0 // Compliant state. OSPolicyComplianceState_COMPLIANT OSPolicyComplianceState = 1 // Non-compliant state OSPolicyComplianceState_NON_COMPLIANT OSPolicyComplianceState = 2 // Unknown compliance state. OSPolicyComplianceState_UNKNOWN OSPolicyComplianceState = 3 // No applicable OS policies were found for the instance. // This state is only applicable to the instance. OSPolicyComplianceState_NO_OS_POLICIES_APPLICABLE OSPolicyComplianceState = 4 )
func (OSPolicyComplianceState) Descriptor ¶
func (OSPolicyComplianceState) Descriptor() protoreflect.EnumDescriptor
func (OSPolicyComplianceState) Enum ¶
func (x OSPolicyComplianceState) Enum() *OSPolicyComplianceState
func (OSPolicyComplianceState) EnumDescriptor
deprecated
func (OSPolicyComplianceState) EnumDescriptor() ([]byte, []int)
Deprecated: Use OSPolicyComplianceState.Descriptor instead.
func (OSPolicyComplianceState) Number ¶
func (x OSPolicyComplianceState) Number() protoreflect.EnumNumber
func (OSPolicyComplianceState) String ¶
func (x OSPolicyComplianceState) String() string
func (OSPolicyComplianceState) Type ¶
func (OSPolicyComplianceState) Type() protoreflect.EnumType
type OSPolicyResourceCompliance ¶
type OSPolicyResourceCompliance struct { // The id of the OS policy resource. OsPolicyResourceId string `protobuf:"bytes,1,opt,name=os_policy_resource_id,json=osPolicyResourceId,proto3" json:"os_policy_resource_id,omitempty"` // Ordered list of configuration steps taken by the agent for the OS policy // resource. ConfigSteps []*OSPolicyResourceConfigStep `protobuf:"bytes,2,rep,name=config_steps,json=configSteps,proto3" json:"config_steps,omitempty"` // Compliance state of the OS policy resource. State OSPolicyComplianceState `` /* 132-byte string literal not displayed */ // Resource specific output. // // Types that are assignable to Output: // // *OSPolicyResourceCompliance_ExecResourceOutput_ Output isOSPolicyResourceCompliance_Output `protobuf_oneof:"output"` // contains filtered or unexported fields }
Compliance data for an OS policy resource.
func (*OSPolicyResourceCompliance) Descriptor
deprecated
func (*OSPolicyResourceCompliance) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicyResourceCompliance.ProtoReflect.Descriptor instead.
func (*OSPolicyResourceCompliance) GetConfigSteps ¶
func (x *OSPolicyResourceCompliance) GetConfigSteps() []*OSPolicyResourceConfigStep
func (*OSPolicyResourceCompliance) GetExecResourceOutput ¶
func (x *OSPolicyResourceCompliance) GetExecResourceOutput() *OSPolicyResourceCompliance_ExecResourceOutput
func (*OSPolicyResourceCompliance) GetOsPolicyResourceId ¶
func (x *OSPolicyResourceCompliance) GetOsPolicyResourceId() string
func (*OSPolicyResourceCompliance) GetOutput ¶
func (m *OSPolicyResourceCompliance) GetOutput() isOSPolicyResourceCompliance_Output
func (*OSPolicyResourceCompliance) GetState ¶
func (x *OSPolicyResourceCompliance) GetState() OSPolicyComplianceState
func (*OSPolicyResourceCompliance) ProtoMessage ¶
func (*OSPolicyResourceCompliance) ProtoMessage()
func (*OSPolicyResourceCompliance) ProtoReflect ¶
func (x *OSPolicyResourceCompliance) ProtoReflect() protoreflect.Message
func (*OSPolicyResourceCompliance) Reset ¶
func (x *OSPolicyResourceCompliance) Reset()
func (*OSPolicyResourceCompliance) String ¶
func (x *OSPolicyResourceCompliance) String() string
type OSPolicyResourceCompliance_ExecResourceOutput ¶
type OSPolicyResourceCompliance_ExecResourceOutput struct { // Output from Enforcement phase output file (if run). // Output size is limited to 100K bytes. EnforcementOutput []byte `protobuf:"bytes,2,opt,name=enforcement_output,json=enforcementOutput,proto3" json:"enforcement_output,omitempty"` // contains filtered or unexported fields }
ExecResource specific output.
func (*OSPolicyResourceCompliance_ExecResourceOutput) Descriptor
deprecated
func (*OSPolicyResourceCompliance_ExecResourceOutput) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicyResourceCompliance_ExecResourceOutput.ProtoReflect.Descriptor instead.
func (*OSPolicyResourceCompliance_ExecResourceOutput) GetEnforcementOutput ¶
func (x *OSPolicyResourceCompliance_ExecResourceOutput) GetEnforcementOutput() []byte
func (*OSPolicyResourceCompliance_ExecResourceOutput) ProtoMessage ¶
func (*OSPolicyResourceCompliance_ExecResourceOutput) ProtoMessage()
func (*OSPolicyResourceCompliance_ExecResourceOutput) ProtoReflect ¶
func (x *OSPolicyResourceCompliance_ExecResourceOutput) ProtoReflect() protoreflect.Message
func (*OSPolicyResourceCompliance_ExecResourceOutput) Reset ¶
func (x *OSPolicyResourceCompliance_ExecResourceOutput) Reset()
func (*OSPolicyResourceCompliance_ExecResourceOutput) String ¶
func (x *OSPolicyResourceCompliance_ExecResourceOutput) String() string
type OSPolicyResourceCompliance_ExecResourceOutput_ ¶
type OSPolicyResourceCompliance_ExecResourceOutput_ struct { // ExecResource specific output. ExecResourceOutput *OSPolicyResourceCompliance_ExecResourceOutput `protobuf:"bytes,4,opt,name=exec_resource_output,json=execResourceOutput,proto3,oneof"` }
type OSPolicyResourceConfigStep ¶
type OSPolicyResourceConfigStep struct { // Configuration step type. Type OSPolicyResourceConfigStep_Type `` /* 138-byte string literal not displayed */ // Outcome of the configuration step. Outcome OSPolicyResourceConfigStep_Outcome `` /* 147-byte string literal not displayed */ // An error message recorded during the execution of this step. // Only populated when outcome is FAILED. ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
Step performed by the OS Config agent for configuring an `OSPolicyResource` to its desired state.
func (*OSPolicyResourceConfigStep) Descriptor
deprecated
func (*OSPolicyResourceConfigStep) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicyResourceConfigStep.ProtoReflect.Descriptor instead.
func (*OSPolicyResourceConfigStep) GetErrorMessage ¶
func (x *OSPolicyResourceConfigStep) GetErrorMessage() string
func (*OSPolicyResourceConfigStep) GetOutcome ¶
func (x *OSPolicyResourceConfigStep) GetOutcome() OSPolicyResourceConfigStep_Outcome
func (*OSPolicyResourceConfigStep) GetType ¶
func (x *OSPolicyResourceConfigStep) GetType() OSPolicyResourceConfigStep_Type
func (*OSPolicyResourceConfigStep) ProtoMessage ¶
func (*OSPolicyResourceConfigStep) ProtoMessage()
func (*OSPolicyResourceConfigStep) ProtoReflect ¶
func (x *OSPolicyResourceConfigStep) ProtoReflect() protoreflect.Message
func (*OSPolicyResourceConfigStep) Reset ¶
func (x *OSPolicyResourceConfigStep) Reset()
func (*OSPolicyResourceConfigStep) String ¶
func (x *OSPolicyResourceConfigStep) String() string
type OSPolicyResourceConfigStep_Outcome ¶
type OSPolicyResourceConfigStep_Outcome int32
Supported outcomes for a configuration step.
const ( // Default value. This value is unused. OSPolicyResourceConfigStep_OUTCOME_UNSPECIFIED OSPolicyResourceConfigStep_Outcome = 0 // The step succeeded. OSPolicyResourceConfigStep_SUCCEEDED OSPolicyResourceConfigStep_Outcome = 1 // The step failed. OSPolicyResourceConfigStep_FAILED OSPolicyResourceConfigStep_Outcome = 2 )
func (OSPolicyResourceConfigStep_Outcome) Descriptor ¶
func (OSPolicyResourceConfigStep_Outcome) Descriptor() protoreflect.EnumDescriptor
func (OSPolicyResourceConfigStep_Outcome) Enum ¶
func (x OSPolicyResourceConfigStep_Outcome) Enum() *OSPolicyResourceConfigStep_Outcome
func (OSPolicyResourceConfigStep_Outcome) EnumDescriptor
deprecated
func (OSPolicyResourceConfigStep_Outcome) EnumDescriptor() ([]byte, []int)
Deprecated: Use OSPolicyResourceConfigStep_Outcome.Descriptor instead.
func (OSPolicyResourceConfigStep_Outcome) Number ¶
func (x OSPolicyResourceConfigStep_Outcome) Number() protoreflect.EnumNumber
func (OSPolicyResourceConfigStep_Outcome) String ¶
func (x OSPolicyResourceConfigStep_Outcome) String() string
func (OSPolicyResourceConfigStep_Outcome) Type ¶
func (OSPolicyResourceConfigStep_Outcome) Type() protoreflect.EnumType
type OSPolicyResourceConfigStep_Type ¶
type OSPolicyResourceConfigStep_Type int32
Supported configuration step types
const ( // Default value. This value is unused. OSPolicyResourceConfigStep_TYPE_UNSPECIFIED OSPolicyResourceConfigStep_Type = 0 // Validation to detect resource conflicts, schema errors, etc. OSPolicyResourceConfigStep_VALIDATION OSPolicyResourceConfigStep_Type = 1 // Check the current desired state status of the resource. OSPolicyResourceConfigStep_DESIRED_STATE_CHECK OSPolicyResourceConfigStep_Type = 2 // Enforce the desired state for a resource that is not in desired state. OSPolicyResourceConfigStep_DESIRED_STATE_ENFORCEMENT OSPolicyResourceConfigStep_Type = 3 // Re-check desired state status for a resource after enforcement of all // resources in the current configuration run. // // This step is used to determine the final desired state status for the // resource. It accounts for any resources that might have drifted from // their desired state due to side effects from configuring other resources // during the current configuration run. OSPolicyResourceConfigStep_DESIRED_STATE_CHECK_POST_ENFORCEMENT OSPolicyResourceConfigStep_Type = 4 )
func (OSPolicyResourceConfigStep_Type) Descriptor ¶
func (OSPolicyResourceConfigStep_Type) Descriptor() protoreflect.EnumDescriptor
func (OSPolicyResourceConfigStep_Type) Enum ¶
func (x OSPolicyResourceConfigStep_Type) Enum() *OSPolicyResourceConfigStep_Type
func (OSPolicyResourceConfigStep_Type) EnumDescriptor
deprecated
func (OSPolicyResourceConfigStep_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use OSPolicyResourceConfigStep_Type.Descriptor instead.
func (OSPolicyResourceConfigStep_Type) Number ¶
func (x OSPolicyResourceConfigStep_Type) Number() protoreflect.EnumNumber
func (OSPolicyResourceConfigStep_Type) String ¶
func (x OSPolicyResourceConfigStep_Type) String() string
func (OSPolicyResourceConfigStep_Type) Type ¶
func (OSPolicyResourceConfigStep_Type) Type() protoreflect.EnumType
type OSPolicy_Mode ¶
type OSPolicy_Mode int32
Policy mode
const ( // Invalid mode OSPolicy_MODE_UNSPECIFIED OSPolicy_Mode = 0 // This mode checks if the configuration resources in the policy are in // their desired state. No actions are performed if they are not in the // desired state. This mode is used for reporting purposes. OSPolicy_VALIDATION OSPolicy_Mode = 1 // This mode checks if the configuration resources in the policy are in // their desired state, and if not, enforces the desired state. OSPolicy_ENFORCEMENT OSPolicy_Mode = 2 )
func (OSPolicy_Mode) Descriptor ¶
func (OSPolicy_Mode) Descriptor() protoreflect.EnumDescriptor
func (OSPolicy_Mode) Enum ¶
func (x OSPolicy_Mode) Enum() *OSPolicy_Mode
func (OSPolicy_Mode) EnumDescriptor
deprecated
func (OSPolicy_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Mode.Descriptor instead.
func (OSPolicy_Mode) Number ¶
func (x OSPolicy_Mode) Number() protoreflect.EnumNumber
func (OSPolicy_Mode) String ¶
func (x OSPolicy_Mode) String() string
func (OSPolicy_Mode) Type ¶
func (OSPolicy_Mode) Type() protoreflect.EnumType
type OSPolicy_Resource ¶
type OSPolicy_Resource struct { // Required. The id of the resource with the following restrictions: // // * Must contain only lowercase letters, numbers, and hyphens. // * Must start with a letter. // * Must be between 1-63 characters. // * Must end with a number or a letter. // * Must be unique within the OS policy. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Resource type. // // Types that are assignable to ResourceType: // // *OSPolicy_Resource_Pkg // *OSPolicy_Resource_Repository // *OSPolicy_Resource_Exec // *OSPolicy_Resource_File_ ResourceType isOSPolicy_Resource_ResourceType `protobuf_oneof:"resource_type"` // contains filtered or unexported fields }
An OS policy resource is used to define the desired state configuration and provides a specific functionality like installing/removing packages, executing a script etc.
The system ensures that resources are always in their desired state by taking necessary actions if they have drifted from their desired state.
func (*OSPolicy_Resource) Descriptor
deprecated
func (*OSPolicy_Resource) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource.ProtoReflect.Descriptor instead.
func (*OSPolicy_Resource) GetExec ¶
func (x *OSPolicy_Resource) GetExec() *OSPolicy_Resource_ExecResource
func (*OSPolicy_Resource) GetFile ¶
func (x *OSPolicy_Resource) GetFile() *OSPolicy_Resource_FileResource
func (*OSPolicy_Resource) GetId ¶
func (x *OSPolicy_Resource) GetId() string
func (*OSPolicy_Resource) GetPkg ¶
func (x *OSPolicy_Resource) GetPkg() *OSPolicy_Resource_PackageResource
func (*OSPolicy_Resource) GetRepository ¶
func (x *OSPolicy_Resource) GetRepository() *OSPolicy_Resource_RepositoryResource
func (*OSPolicy_Resource) GetResourceType ¶
func (m *OSPolicy_Resource) GetResourceType() isOSPolicy_Resource_ResourceType
func (*OSPolicy_Resource) ProtoMessage ¶
func (*OSPolicy_Resource) ProtoMessage()
func (*OSPolicy_Resource) ProtoReflect ¶
func (x *OSPolicy_Resource) ProtoReflect() protoreflect.Message
func (*OSPolicy_Resource) Reset ¶
func (x *OSPolicy_Resource) Reset()
func (*OSPolicy_Resource) String ¶
func (x *OSPolicy_Resource) String() string
type OSPolicy_Resource_Exec ¶
type OSPolicy_Resource_Exec struct { // Exec resource Exec *OSPolicy_Resource_ExecResource `protobuf:"bytes,4,opt,name=exec,proto3,oneof"` }
type OSPolicy_Resource_ExecResource ¶
type OSPolicy_Resource_ExecResource struct { // Required. What to run to validate this resource is in the desired // state. An exit code of 100 indicates "in desired state", and exit code // of 101 indicates "not in desired state". Any other exit code indicates // a failure running validate. Validate *OSPolicy_Resource_ExecResource_Exec `protobuf:"bytes,1,opt,name=validate,proto3" json:"validate,omitempty"` // What to run to bring this resource into the desired state. // A exit code of 100 indicates "success", any other exit code idicates a // failure running enforce. Enforce *OSPolicy_Resource_ExecResource_Exec `protobuf:"bytes,2,opt,name=enforce,proto3" json:"enforce,omitempty"` // contains filtered or unexported fields }
A resource that contains custom validation and enforcement steps.
func (*OSPolicy_Resource_ExecResource) Descriptor
deprecated
func (*OSPolicy_Resource_ExecResource) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_ExecResource.ProtoReflect.Descriptor instead.
func (*OSPolicy_Resource_ExecResource) GetEnforce ¶
func (x *OSPolicy_Resource_ExecResource) GetEnforce() *OSPolicy_Resource_ExecResource_Exec
func (*OSPolicy_Resource_ExecResource) GetValidate ¶
func (x *OSPolicy_Resource_ExecResource) GetValidate() *OSPolicy_Resource_ExecResource_Exec
func (*OSPolicy_Resource_ExecResource) ProtoMessage ¶
func (*OSPolicy_Resource_ExecResource) ProtoMessage()
func (*OSPolicy_Resource_ExecResource) ProtoReflect ¶
func (x *OSPolicy_Resource_ExecResource) ProtoReflect() protoreflect.Message
func (*OSPolicy_Resource_ExecResource) Reset ¶
func (x *OSPolicy_Resource_ExecResource) Reset()
func (*OSPolicy_Resource_ExecResource) String ¶
func (x *OSPolicy_Resource_ExecResource) String() string
type OSPolicy_Resource_ExecResource_Exec ¶
type OSPolicy_Resource_ExecResource_Exec struct { // What to execute. // // Types that are assignable to Source: // // *OSPolicy_Resource_ExecResource_Exec_File // *OSPolicy_Resource_ExecResource_Exec_Script Source isOSPolicy_Resource_ExecResource_Exec_Source `protobuf_oneof:"source"` // Optional arguments to pass to the source during execution. Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` // Required. The script interpreter to use. Interpreter OSPolicy_Resource_ExecResource_Exec_Interpreter `` /* 168-byte string literal not displayed */ // Only recorded for enforce Exec. // Path to an output file (that is created by this Exec) whose // content will be recorded in OSPolicyResourceCompliance after a // successful run. Absence or failure to read this file will result in // this ExecResource being non-compliant. Output file size is limited to // 100K bytes. OutputFilePath string `protobuf:"bytes,5,opt,name=output_file_path,json=outputFilePath,proto3" json:"output_file_path,omitempty"` // contains filtered or unexported fields }
A file or script to execute.
func (*OSPolicy_Resource_ExecResource_Exec) Descriptor
deprecated
func (*OSPolicy_Resource_ExecResource_Exec) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_ExecResource_Exec.ProtoReflect.Descriptor instead.
func (*OSPolicy_Resource_ExecResource_Exec) GetArgs ¶
func (x *OSPolicy_Resource_ExecResource_Exec) GetArgs() []string
func (*OSPolicy_Resource_ExecResource_Exec) GetFile ¶
func (x *OSPolicy_Resource_ExecResource_Exec) GetFile() *OSPolicy_Resource_File
func (*OSPolicy_Resource_ExecResource_Exec) GetInterpreter ¶
func (x *OSPolicy_Resource_ExecResource_Exec) GetInterpreter() OSPolicy_Resource_ExecResource_Exec_Interpreter
func (*OSPolicy_Resource_ExecResource_Exec) GetOutputFilePath ¶
func (x *OSPolicy_Resource_ExecResource_Exec) GetOutputFilePath() string
func (*OSPolicy_Resource_ExecResource_Exec) GetScript ¶
func (x *OSPolicy_Resource_ExecResource_Exec) GetScript() string
func (*OSPolicy_Resource_ExecResource_Exec) GetSource ¶
func (m *OSPolicy_Resource_ExecResource_Exec) GetSource() isOSPolicy_Resource_ExecResource_Exec_Source
func (*OSPolicy_Resource_ExecResource_Exec) ProtoMessage ¶
func (*OSPolicy_Resource_ExecResource_Exec) ProtoMessage()
func (*OSPolicy_Resource_ExecResource_Exec) ProtoReflect ¶
func (x *OSPolicy_Resource_ExecResource_Exec) ProtoReflect() protoreflect.Message
func (*OSPolicy_Resource_ExecResource_Exec) Reset ¶
func (x *OSPolicy_Resource_ExecResource_Exec) Reset()
func (*OSPolicy_Resource_ExecResource_Exec) String ¶
func (x *OSPolicy_Resource_ExecResource_Exec) String() string
type OSPolicy_Resource_ExecResource_Exec_File ¶
type OSPolicy_Resource_ExecResource_Exec_File struct { // A remote or local file. File *OSPolicy_Resource_File `protobuf:"bytes,1,opt,name=file,proto3,oneof"` }
type OSPolicy_Resource_ExecResource_Exec_Interpreter ¶
type OSPolicy_Resource_ExecResource_Exec_Interpreter int32
The interpreter to use.
const ( // Invalid value, the request will return validation error. OSPolicy_Resource_ExecResource_Exec_INTERPRETER_UNSPECIFIED OSPolicy_Resource_ExecResource_Exec_Interpreter = 0 // If no interpreter is specified the // source will be executed directly, which will likely only // succeed for executables and scripts with shebang lines. // [Wikipedia // shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)). OSPolicy_Resource_ExecResource_Exec_NONE OSPolicy_Resource_ExecResource_Exec_Interpreter = 1 // Indicates that the script will be run with /bin/sh on Linux and // cmd.exe on windows. OSPolicy_Resource_ExecResource_Exec_SHELL OSPolicy_Resource_ExecResource_Exec_Interpreter = 2 // Indicates that the script will be run with powershell. OSPolicy_Resource_ExecResource_Exec_POWERSHELL OSPolicy_Resource_ExecResource_Exec_Interpreter = 3 )
func (OSPolicy_Resource_ExecResource_Exec_Interpreter) Descriptor ¶
func (OSPolicy_Resource_ExecResource_Exec_Interpreter) Descriptor() protoreflect.EnumDescriptor
func (OSPolicy_Resource_ExecResource_Exec_Interpreter) EnumDescriptor
deprecated
func (OSPolicy_Resource_ExecResource_Exec_Interpreter) EnumDescriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_ExecResource_Exec_Interpreter.Descriptor instead.
func (OSPolicy_Resource_ExecResource_Exec_Interpreter) Number ¶
func (x OSPolicy_Resource_ExecResource_Exec_Interpreter) Number() protoreflect.EnumNumber
func (OSPolicy_Resource_ExecResource_Exec_Interpreter) String ¶
func (x OSPolicy_Resource_ExecResource_Exec_Interpreter) String() string
type OSPolicy_Resource_ExecResource_Exec_Script ¶
type OSPolicy_Resource_ExecResource_Exec_Script struct { // An inline script. Script string `protobuf:"bytes,2,opt,name=script,proto3,oneof"` }
type OSPolicy_Resource_File ¶
type OSPolicy_Resource_File struct { // A specific type of file. // // Types that are assignable to Type: // // *OSPolicy_Resource_File_Remote_ // *OSPolicy_Resource_File_Gcs_ // *OSPolicy_Resource_File_LocalPath Type isOSPolicy_Resource_File_Type `protobuf_oneof:"type"` // Defaults to false. When false, files are subject to validations // based on the file type: // // Remote: A checksum must be specified. // Cloud Storage: An object generation number must be specified. AllowInsecure bool `protobuf:"varint,4,opt,name=allow_insecure,json=allowInsecure,proto3" json:"allow_insecure,omitempty"` // contains filtered or unexported fields }
A remote or local file.
func (*OSPolicy_Resource_File) Descriptor
deprecated
func (*OSPolicy_Resource_File) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_File.ProtoReflect.Descriptor instead.
func (*OSPolicy_Resource_File) GetAllowInsecure ¶
func (x *OSPolicy_Resource_File) GetAllowInsecure() bool
func (*OSPolicy_Resource_File) GetGcs ¶
func (x *OSPolicy_Resource_File) GetGcs() *OSPolicy_Resource_File_Gcs
func (*OSPolicy_Resource_File) GetLocalPath ¶
func (x *OSPolicy_Resource_File) GetLocalPath() string
func (*OSPolicy_Resource_File) GetRemote ¶
func (x *OSPolicy_Resource_File) GetRemote() *OSPolicy_Resource_File_Remote
func (*OSPolicy_Resource_File) GetType ¶
func (m *OSPolicy_Resource_File) GetType() isOSPolicy_Resource_File_Type
func (*OSPolicy_Resource_File) ProtoMessage ¶
func (*OSPolicy_Resource_File) ProtoMessage()
func (*OSPolicy_Resource_File) ProtoReflect ¶
func (x *OSPolicy_Resource_File) ProtoReflect() protoreflect.Message
func (*OSPolicy_Resource_File) Reset ¶
func (x *OSPolicy_Resource_File) Reset()
func (*OSPolicy_Resource_File) String ¶
func (x *OSPolicy_Resource_File) String() string
type OSPolicy_Resource_FileResource ¶
type OSPolicy_Resource_FileResource struct { // The source for the contents of the file. // // Types that are assignable to Source: // // *OSPolicy_Resource_FileResource_File // *OSPolicy_Resource_FileResource_Content Source isOSPolicy_Resource_FileResource_Source `protobuf_oneof:"source"` // Required. The absolute path of the file. Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // Required. Desired state of the file. State OSPolicy_Resource_FileResource_DesiredState `` /* 152-byte string literal not displayed */ // Consists of three octal digits which represent, in // order, the permissions of the owner, group, and other users for the // file (similarly to the numeric mode used in the linux chmod // utility). Each digit represents a three bit number with the 4 bit // corresponding to the read permissions, the 2 bit corresponds to the // write bit, and the one bit corresponds to the execute permission. // Default behavior is 755. // // Below are some examples of permissions and their associated values: // read, write, and execute: 7 // read and execute: 5 // read and write: 6 // read only: 4 Permissions string `protobuf:"bytes,5,opt,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
A resource that manages the state of a file.
func (*OSPolicy_Resource_FileResource) Descriptor
deprecated
func (*OSPolicy_Resource_FileResource) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_FileResource.ProtoReflect.Descriptor instead.
func (*OSPolicy_Resource_FileResource) GetContent ¶
func (x *OSPolicy_Resource_FileResource) GetContent() string
func (*OSPolicy_Resource_FileResource) GetFile ¶
func (x *OSPolicy_Resource_FileResource) GetFile() *OSPolicy_Resource_File
func (*OSPolicy_Resource_FileResource) GetPath ¶
func (x *OSPolicy_Resource_FileResource) GetPath() string
func (*OSPolicy_Resource_FileResource) GetPermissions ¶
func (x *OSPolicy_Resource_FileResource) GetPermissions() string
func (*OSPolicy_Resource_FileResource) GetSource ¶
func (m *OSPolicy_Resource_FileResource) GetSource() isOSPolicy_Resource_FileResource_Source
func (*OSPolicy_Resource_FileResource) GetState ¶
func (x *OSPolicy_Resource_FileResource) GetState() OSPolicy_Resource_FileResource_DesiredState
func (*OSPolicy_Resource_FileResource) ProtoMessage ¶
func (*OSPolicy_Resource_FileResource) ProtoMessage()
func (*OSPolicy_Resource_FileResource) ProtoReflect ¶
func (x *OSPolicy_Resource_FileResource) ProtoReflect() protoreflect.Message
func (*OSPolicy_Resource_FileResource) Reset ¶
func (x *OSPolicy_Resource_FileResource) Reset()
func (*OSPolicy_Resource_FileResource) String ¶
func (x *OSPolicy_Resource_FileResource) String() string
type OSPolicy_Resource_FileResource_Content ¶
type OSPolicy_Resource_FileResource_Content struct { // A a file with this content. Content string `protobuf:"bytes,2,opt,name=content,proto3,oneof"` }
type OSPolicy_Resource_FileResource_DesiredState ¶
type OSPolicy_Resource_FileResource_DesiredState int32
Desired state of the file.
const ( // Unspecified is invalid. OSPolicy_Resource_FileResource_DESIRED_STATE_UNSPECIFIED OSPolicy_Resource_FileResource_DesiredState = 0 // Ensure file at path is present. OSPolicy_Resource_FileResource_PRESENT OSPolicy_Resource_FileResource_DesiredState = 1 // Ensure file at path is absent. OSPolicy_Resource_FileResource_ABSENT OSPolicy_Resource_FileResource_DesiredState = 2 // Ensure the contents of the file at path matches. If the file does // not exist it will be created. OSPolicy_Resource_FileResource_CONTENTS_MATCH OSPolicy_Resource_FileResource_DesiredState = 3 )
func (OSPolicy_Resource_FileResource_DesiredState) Descriptor ¶
func (OSPolicy_Resource_FileResource_DesiredState) Descriptor() protoreflect.EnumDescriptor
func (OSPolicy_Resource_FileResource_DesiredState) EnumDescriptor
deprecated
func (OSPolicy_Resource_FileResource_DesiredState) EnumDescriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_FileResource_DesiredState.Descriptor instead.
func (OSPolicy_Resource_FileResource_DesiredState) Number ¶
func (x OSPolicy_Resource_FileResource_DesiredState) Number() protoreflect.EnumNumber
func (OSPolicy_Resource_FileResource_DesiredState) String ¶
func (x OSPolicy_Resource_FileResource_DesiredState) String() string
func (OSPolicy_Resource_FileResource_DesiredState) Type ¶
func (OSPolicy_Resource_FileResource_DesiredState) Type() protoreflect.EnumType
type OSPolicy_Resource_FileResource_File ¶
type OSPolicy_Resource_FileResource_File struct { // A remote or local source. File *OSPolicy_Resource_File `protobuf:"bytes,1,opt,name=file,proto3,oneof"` }
type OSPolicy_Resource_File_ ¶
type OSPolicy_Resource_File_ struct { // File resource File *OSPolicy_Resource_FileResource `protobuf:"bytes,5,opt,name=file,proto3,oneof"` }
type OSPolicy_Resource_File_Gcs ¶
type OSPolicy_Resource_File_Gcs struct { // Required. Bucket of the Cloud Storage object. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Required. Name of the Cloud Storage object. Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` // Generation number of the Cloud Storage object. Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` // contains filtered or unexported fields }
Specifies a file available as a Cloud Storage Object.
func (*OSPolicy_Resource_File_Gcs) Descriptor
deprecated
func (*OSPolicy_Resource_File_Gcs) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_File_Gcs.ProtoReflect.Descriptor instead.
func (*OSPolicy_Resource_File_Gcs) GetBucket ¶
func (x *OSPolicy_Resource_File_Gcs) GetBucket() string
func (*OSPolicy_Resource_File_Gcs) GetGeneration ¶
func (x *OSPolicy_Resource_File_Gcs) GetGeneration() int64
func (*OSPolicy_Resource_File_Gcs) GetObject ¶
func (x *OSPolicy_Resource_File_Gcs) GetObject() string
func (*OSPolicy_Resource_File_Gcs) ProtoMessage ¶
func (*OSPolicy_Resource_File_Gcs) ProtoMessage()
func (*OSPolicy_Resource_File_Gcs) ProtoReflect ¶
func (x *OSPolicy_Resource_File_Gcs) ProtoReflect() protoreflect.Message
func (*OSPolicy_Resource_File_Gcs) Reset ¶
func (x *OSPolicy_Resource_File_Gcs) Reset()
func (*OSPolicy_Resource_File_Gcs) String ¶
func (x *OSPolicy_Resource_File_Gcs) String() string
type OSPolicy_Resource_File_Gcs_ ¶
type OSPolicy_Resource_File_Gcs_ struct { // A Cloud Storage object. Gcs *OSPolicy_Resource_File_Gcs `protobuf:"bytes,2,opt,name=gcs,proto3,oneof"` }
type OSPolicy_Resource_File_LocalPath ¶
type OSPolicy_Resource_File_LocalPath struct { // A local path to use. LocalPath string `protobuf:"bytes,3,opt,name=local_path,json=localPath,proto3,oneof"` }
type OSPolicy_Resource_File_Remote ¶
type OSPolicy_Resource_File_Remote struct { // Required. URI from which to fetch the object. It should contain both // the protocol and path following the format `{protocol}://{location}`. Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // SHA256 checksum of the remote file. Sha256Checksum string `protobuf:"bytes,2,opt,name=sha256_checksum,json=sha256Checksum,proto3" json:"sha256_checksum,omitempty"` // contains filtered or unexported fields }
Specifies a file available via some URI.
func (*OSPolicy_Resource_File_Remote) Descriptor
deprecated
func (*OSPolicy_Resource_File_Remote) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_File_Remote.ProtoReflect.Descriptor instead.
func (*OSPolicy_Resource_File_Remote) GetSha256Checksum ¶
func (x *OSPolicy_Resource_File_Remote) GetSha256Checksum() string
func (*OSPolicy_Resource_File_Remote) GetUri ¶
func (x *OSPolicy_Resource_File_Remote) GetUri() string
func (*OSPolicy_Resource_File_Remote) ProtoMessage ¶
func (*OSPolicy_Resource_File_Remote) ProtoMessage()
func (*OSPolicy_Resource_File_Remote) ProtoReflect ¶
func (x *OSPolicy_Resource_File_Remote) ProtoReflect() protoreflect.Message
func (*OSPolicy_Resource_File_Remote) Reset ¶
func (x *OSPolicy_Resource_File_Remote) Reset()
func (*OSPolicy_Resource_File_Remote) String ¶
func (x *OSPolicy_Resource_File_Remote) String() string
type OSPolicy_Resource_File_Remote_ ¶
type OSPolicy_Resource_File_Remote_ struct { // A generic remote file. Remote *OSPolicy_Resource_File_Remote `protobuf:"bytes,1,opt,name=remote,proto3,oneof"` }
type OSPolicy_Resource_PackageResource ¶
type OSPolicy_Resource_PackageResource struct { // Required. The desired state the agent should maintain for this package. // The default is to ensure the package is installed. DesiredState OSPolicy_Resource_PackageResource_DesiredState `` /* 189-byte string literal not displayed */ // A system package. // // Types that are assignable to SystemPackage: // // *OSPolicy_Resource_PackageResource_Apt // *OSPolicy_Resource_PackageResource_Deb_ // *OSPolicy_Resource_PackageResource_Yum // *OSPolicy_Resource_PackageResource_Zypper_ // *OSPolicy_Resource_PackageResource_Rpm // *OSPolicy_Resource_PackageResource_Googet // *OSPolicy_Resource_PackageResource_Msi SystemPackage isOSPolicy_Resource_PackageResource_SystemPackage `protobuf_oneof:"system_package"` // contains filtered or unexported fields }
A resource that manages a system package.
func (*OSPolicy_Resource_PackageResource) Descriptor
deprecated
func (*OSPolicy_Resource_PackageResource) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_PackageResource.ProtoReflect.Descriptor instead.
func (*OSPolicy_Resource_PackageResource) GetApt ¶
func (x *OSPolicy_Resource_PackageResource) GetApt() *OSPolicy_Resource_PackageResource_APT
func (*OSPolicy_Resource_PackageResource) GetDeb ¶
func (x *OSPolicy_Resource_PackageResource) GetDeb() *OSPolicy_Resource_PackageResource_Deb
func (*OSPolicy_Resource_PackageResource) GetDesiredState ¶
func (x *OSPolicy_Resource_PackageResource) GetDesiredState() OSPolicy_Resource_PackageResource_DesiredState
func (*OSPolicy_Resource_PackageResource) GetGooget ¶
func (x *OSPolicy_Resource_PackageResource) GetGooget() *OSPolicy_Resource_PackageResource_GooGet
func (*OSPolicy_Resource_PackageResource) GetMsi ¶
func (x *OSPolicy_Resource_PackageResource) GetMsi() *OSPolicy_Resource_PackageResource_MSI
func (*OSPolicy_Resource_PackageResource) GetRpm ¶
func (x *OSPolicy_Resource_PackageResource) GetRpm() *OSPolicy_Resource_PackageResource_RPM
func (*OSPolicy_Resource_PackageResource) GetSystemPackage ¶
func (m *OSPolicy_Resource_PackageResource) GetSystemPackage() isOSPolicy_Resource_PackageResource_SystemPackage
func (*OSPolicy_Resource_PackageResource) GetYum ¶
func (x *OSPolicy_Resource_PackageResource) GetYum() *OSPolicy_Resource_PackageResource_YUM
func (*OSPolicy_Resource_PackageResource) GetZypper ¶
func (x *OSPolicy_Resource_PackageResource) GetZypper() *OSPolicy_Resource_PackageResource_Zypper
func (*OSPolicy_Resource_PackageResource) ProtoMessage ¶
func (*OSPolicy_Resource_PackageResource) ProtoMessage()
func (*OSPolicy_Resource_PackageResource) ProtoReflect ¶
func (x *OSPolicy_Resource_PackageResource) ProtoReflect() protoreflect.Message
func (*OSPolicy_Resource_PackageResource) Reset ¶
func (x *OSPolicy_Resource_PackageResource) Reset()
func (*OSPolicy_Resource_PackageResource) String ¶
func (x *OSPolicy_Resource_PackageResource) String() string
type OSPolicy_Resource_PackageResource_APT ¶
type OSPolicy_Resource_PackageResource_APT struct { // Required. Package name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
A package managed by APT. install: `apt-get update && apt-get -y install [name]` remove: `apt-get -y remove [name]`
func (*OSPolicy_Resource_PackageResource_APT) Descriptor
deprecated
func (*OSPolicy_Resource_PackageResource_APT) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_PackageResource_APT.ProtoReflect.Descriptor instead.
func (*OSPolicy_Resource_PackageResource_APT) GetName ¶
func (x *OSPolicy_Resource_PackageResource_APT) GetName() string
func (*OSPolicy_Resource_PackageResource_APT) ProtoMessage ¶
func (*OSPolicy_Resource_PackageResource_APT) ProtoMessage()
func (*OSPolicy_Resource_PackageResource_APT) ProtoReflect ¶
func (x *OSPolicy_Resource_PackageResource_APT) ProtoReflect() protoreflect.Message
func (*OSPolicy_Resource_PackageResource_APT) Reset ¶
func (x *OSPolicy_Resource_PackageResource_APT) Reset()
func (*OSPolicy_Resource_PackageResource_APT) String ¶
func (x *OSPolicy_Resource_PackageResource_APT) String() string
type OSPolicy_Resource_PackageResource_Apt ¶
type OSPolicy_Resource_PackageResource_Apt struct { // A package managed by Apt. Apt *OSPolicy_Resource_PackageResource_APT `protobuf:"bytes,2,opt,name=apt,proto3,oneof"` }
type OSPolicy_Resource_PackageResource_Deb ¶
type OSPolicy_Resource_PackageResource_Deb struct { // Required. A deb package. Source *OSPolicy_Resource_File `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // Whether dependencies should also be installed. // install when false: `dpkg -i package` // install when true: `apt-get update && apt-get -y install // package.deb` PullDeps bool `protobuf:"varint,2,opt,name=pull_deps,json=pullDeps,proto3" json:"pull_deps,omitempty"` // contains filtered or unexported fields }
A deb package file. dpkg packages only support INSTALLED state.
func (*OSPolicy_Resource_PackageResource_Deb) Descriptor
deprecated
func (*OSPolicy_Resource_PackageResource_Deb) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_PackageResource_Deb.ProtoReflect.Descriptor instead.
func (*OSPolicy_Resource_PackageResource_Deb) GetPullDeps ¶
func (x *OSPolicy_Resource_PackageResource_Deb) GetPullDeps() bool
func (*OSPolicy_Resource_PackageResource_Deb) GetSource ¶
func (x *OSPolicy_Resource_PackageResource_Deb) GetSource() *OSPolicy_Resource_File
func (*OSPolicy_Resource_PackageResource_Deb) ProtoMessage ¶
func (*OSPolicy_Resource_PackageResource_Deb) ProtoMessage()
func (*OSPolicy_Resource_PackageResource_Deb) ProtoReflect ¶
func (x *OSPolicy_Resource_PackageResource_Deb) ProtoReflect() protoreflect.Message
func (*OSPolicy_Resource_PackageResource_Deb) Reset ¶
func (x *OSPolicy_Resource_PackageResource_Deb) Reset()
func (*OSPolicy_Resource_PackageResource_Deb) String ¶
func (x *OSPolicy_Resource_PackageResource_Deb) String() string
type OSPolicy_Resource_PackageResource_Deb_ ¶
type OSPolicy_Resource_PackageResource_Deb_ struct { // A deb package file. Deb *OSPolicy_Resource_PackageResource_Deb `protobuf:"bytes,3,opt,name=deb,proto3,oneof"` }
type OSPolicy_Resource_PackageResource_DesiredState ¶
type OSPolicy_Resource_PackageResource_DesiredState int32
The desired state that the OS Config agent maintains on the VM.
const ( // Unspecified is invalid. OSPolicy_Resource_PackageResource_DESIRED_STATE_UNSPECIFIED OSPolicy_Resource_PackageResource_DesiredState = 0 // Ensure that the package is installed. OSPolicy_Resource_PackageResource_INSTALLED OSPolicy_Resource_PackageResource_DesiredState = 1 // The agent ensures that the package is not installed and // uninstalls it if detected. OSPolicy_Resource_PackageResource_REMOVED OSPolicy_Resource_PackageResource_DesiredState = 2 )
func (OSPolicy_Resource_PackageResource_DesiredState) Descriptor ¶
func (OSPolicy_Resource_PackageResource_DesiredState) Descriptor() protoreflect.EnumDescriptor
func (OSPolicy_Resource_PackageResource_DesiredState) EnumDescriptor
deprecated
func (OSPolicy_Resource_PackageResource_DesiredState) EnumDescriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_PackageResource_DesiredState.Descriptor instead.
func (OSPolicy_Resource_PackageResource_DesiredState) Number ¶
func (x OSPolicy_Resource_PackageResource_DesiredState) Number() protoreflect.EnumNumber
func (OSPolicy_Resource_PackageResource_DesiredState) String ¶
func (x OSPolicy_Resource_PackageResource_DesiredState) String() string
type OSPolicy_Resource_PackageResource_GooGet ¶
type OSPolicy_Resource_PackageResource_GooGet struct { // Required. Package name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
A package managed by GooGet. install: `googet -noconfirm install package` remove: `googet -noconfirm remove package`
func (*OSPolicy_Resource_PackageResource_GooGet) Descriptor
deprecated
func (*OSPolicy_Resource_PackageResource_GooGet) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_PackageResource_GooGet.ProtoReflect.Descriptor instead.
func (*OSPolicy_Resource_PackageResource_GooGet) GetName ¶
func (x *OSPolicy_Resource_PackageResource_GooGet) GetName() string
func (*OSPolicy_Resource_PackageResource_GooGet) ProtoMessage ¶
func (*OSPolicy_Resource_PackageResource_GooGet) ProtoMessage()
func (*OSPolicy_Resource_PackageResource_GooGet) ProtoReflect ¶
func (x *OSPolicy_Resource_PackageResource_GooGet) ProtoReflect() protoreflect.Message
func (*OSPolicy_Resource_PackageResource_GooGet) Reset ¶
func (x *OSPolicy_Resource_PackageResource_GooGet) Reset()
func (*OSPolicy_Resource_PackageResource_GooGet) String ¶
func (x *OSPolicy_Resource_PackageResource_GooGet) String() string
type OSPolicy_Resource_PackageResource_Googet ¶
type OSPolicy_Resource_PackageResource_Googet struct { // A package managed by GooGet. Googet *OSPolicy_Resource_PackageResource_GooGet `protobuf:"bytes,7,opt,name=googet,proto3,oneof"` }
type OSPolicy_Resource_PackageResource_MSI ¶
type OSPolicy_Resource_PackageResource_MSI struct { // Required. The MSI package. Source *OSPolicy_Resource_File `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // Additional properties to use during installation. // This should be in the format of Property=Setting. // Appended to the defaults of "ACTION=INSTALL // REBOOT=ReallySuppress". Properties []string `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
An MSI package. MSI packages only support INSTALLED state.
func (*OSPolicy_Resource_PackageResource_MSI) Descriptor
deprecated
func (*OSPolicy_Resource_PackageResource_MSI) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_PackageResource_MSI.ProtoReflect.Descriptor instead.
func (*OSPolicy_Resource_PackageResource_MSI) GetProperties ¶
func (x *OSPolicy_Resource_PackageResource_MSI) GetProperties() []string
func (*OSPolicy_Resource_PackageResource_MSI) GetSource ¶
func (x *OSPolicy_Resource_PackageResource_MSI) GetSource() *OSPolicy_Resource_File
func (*OSPolicy_Resource_PackageResource_MSI) ProtoMessage ¶
func (*OSPolicy_Resource_PackageResource_MSI) ProtoMessage()
func (*OSPolicy_Resource_PackageResource_MSI) ProtoReflect ¶
func (x *OSPolicy_Resource_PackageResource_MSI) ProtoReflect() protoreflect.Message
func (*OSPolicy_Resource_PackageResource_MSI) Reset ¶
func (x *OSPolicy_Resource_PackageResource_MSI) Reset()
func (*OSPolicy_Resource_PackageResource_MSI) String ¶
func (x *OSPolicy_Resource_PackageResource_MSI) String() string
type OSPolicy_Resource_PackageResource_Msi ¶
type OSPolicy_Resource_PackageResource_Msi struct { // An MSI package. Msi *OSPolicy_Resource_PackageResource_MSI `protobuf:"bytes,8,opt,name=msi,proto3,oneof"` }
type OSPolicy_Resource_PackageResource_RPM ¶
type OSPolicy_Resource_PackageResource_RPM struct { // Required. An rpm package. Source *OSPolicy_Resource_File `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // Whether dependencies should also be installed. // install when false: `rpm --upgrade --replacepkgs package.rpm` // install when true: `yum -y install package.rpm` or // `zypper -y install package.rpm` PullDeps bool `protobuf:"varint,2,opt,name=pull_deps,json=pullDeps,proto3" json:"pull_deps,omitempty"` // contains filtered or unexported fields }
An RPM package file. RPM packages only support INSTALLED state.
func (*OSPolicy_Resource_PackageResource_RPM) Descriptor
deprecated
func (*OSPolicy_Resource_PackageResource_RPM) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_PackageResource_RPM.ProtoReflect.Descriptor instead.
func (*OSPolicy_Resource_PackageResource_RPM) GetPullDeps ¶
func (x *OSPolicy_Resource_PackageResource_RPM) GetPullDeps() bool
func (*OSPolicy_Resource_PackageResource_RPM) GetSource ¶
func (x *OSPolicy_Resource_PackageResource_RPM) GetSource() *OSPolicy_Resource_File
func (*OSPolicy_Resource_PackageResource_RPM) ProtoMessage ¶
func (*OSPolicy_Resource_PackageResource_RPM) ProtoMessage()
func (*OSPolicy_Resource_PackageResource_RPM) ProtoReflect ¶
func (x *OSPolicy_Resource_PackageResource_RPM) ProtoReflect() protoreflect.Message
func (*OSPolicy_Resource_PackageResource_RPM) Reset ¶
func (x *OSPolicy_Resource_PackageResource_RPM) Reset()
func (*OSPolicy_Resource_PackageResource_RPM) String ¶
func (x *OSPolicy_Resource_PackageResource_RPM) String() string
type OSPolicy_Resource_PackageResource_Rpm ¶
type OSPolicy_Resource_PackageResource_Rpm struct { // An rpm package file. Rpm *OSPolicy_Resource_PackageResource_RPM `protobuf:"bytes,6,opt,name=rpm,proto3,oneof"` }
type OSPolicy_Resource_PackageResource_YUM ¶
type OSPolicy_Resource_PackageResource_YUM struct { // Required. Package name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
A package managed by YUM. install: `yum -y install package` remove: `yum -y remove package`
func (*OSPolicy_Resource_PackageResource_YUM) Descriptor
deprecated
func (*OSPolicy_Resource_PackageResource_YUM) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_PackageResource_YUM.ProtoReflect.Descriptor instead.
func (*OSPolicy_Resource_PackageResource_YUM) GetName ¶
func (x *OSPolicy_Resource_PackageResource_YUM) GetName() string
func (*OSPolicy_Resource_PackageResource_YUM) ProtoMessage ¶
func (*OSPolicy_Resource_PackageResource_YUM) ProtoMessage()
func (*OSPolicy_Resource_PackageResource_YUM) ProtoReflect ¶
func (x *OSPolicy_Resource_PackageResource_YUM) ProtoReflect() protoreflect.Message
func (*OSPolicy_Resource_PackageResource_YUM) Reset ¶
func (x *OSPolicy_Resource_PackageResource_YUM) Reset()
func (*OSPolicy_Resource_PackageResource_YUM) String ¶
func (x *OSPolicy_Resource_PackageResource_YUM) String() string
type OSPolicy_Resource_PackageResource_Yum ¶
type OSPolicy_Resource_PackageResource_Yum struct { // A package managed by YUM. Yum *OSPolicy_Resource_PackageResource_YUM `protobuf:"bytes,4,opt,name=yum,proto3,oneof"` }
type OSPolicy_Resource_PackageResource_Zypper ¶
type OSPolicy_Resource_PackageResource_Zypper struct { // Required. Package name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
A package managed by Zypper. install: `zypper -y install package` remove: `zypper -y rm package`
func (*OSPolicy_Resource_PackageResource_Zypper) Descriptor
deprecated
func (*OSPolicy_Resource_PackageResource_Zypper) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_PackageResource_Zypper.ProtoReflect.Descriptor instead.
func (*OSPolicy_Resource_PackageResource_Zypper) GetName ¶
func (x *OSPolicy_Resource_PackageResource_Zypper) GetName() string
func (*OSPolicy_Resource_PackageResource_Zypper) ProtoMessage ¶
func (*OSPolicy_Resource_PackageResource_Zypper) ProtoMessage()
func (*OSPolicy_Resource_PackageResource_Zypper) ProtoReflect ¶
func (x *OSPolicy_Resource_PackageResource_Zypper) ProtoReflect() protoreflect.Message
func (*OSPolicy_Resource_PackageResource_Zypper) Reset ¶
func (x *OSPolicy_Resource_PackageResource_Zypper) Reset()
func (*OSPolicy_Resource_PackageResource_Zypper) String ¶
func (x *OSPolicy_Resource_PackageResource_Zypper) String() string
type OSPolicy_Resource_PackageResource_Zypper_ ¶
type OSPolicy_Resource_PackageResource_Zypper_ struct { // A package managed by Zypper. Zypper *OSPolicy_Resource_PackageResource_Zypper `protobuf:"bytes,5,opt,name=zypper,proto3,oneof"` }
type OSPolicy_Resource_Pkg ¶
type OSPolicy_Resource_Pkg struct { // Package resource Pkg *OSPolicy_Resource_PackageResource `protobuf:"bytes,2,opt,name=pkg,proto3,oneof"` }
type OSPolicy_Resource_Repository ¶
type OSPolicy_Resource_Repository struct { // Package repository resource Repository *OSPolicy_Resource_RepositoryResource `protobuf:"bytes,3,opt,name=repository,proto3,oneof"` }
type OSPolicy_Resource_RepositoryResource ¶
type OSPolicy_Resource_RepositoryResource struct { // A specific type of repository. // // Types that are assignable to Repository: // // *OSPolicy_Resource_RepositoryResource_Apt // *OSPolicy_Resource_RepositoryResource_Yum // *OSPolicy_Resource_RepositoryResource_Zypper // *OSPolicy_Resource_RepositoryResource_Goo Repository isOSPolicy_Resource_RepositoryResource_Repository `protobuf_oneof:"repository"` // contains filtered or unexported fields }
A resource that manages a package repository.
func (*OSPolicy_Resource_RepositoryResource) Descriptor
deprecated
func (*OSPolicy_Resource_RepositoryResource) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_RepositoryResource.ProtoReflect.Descriptor instead.
func (*OSPolicy_Resource_RepositoryResource) GetRepository ¶
func (m *OSPolicy_Resource_RepositoryResource) GetRepository() isOSPolicy_Resource_RepositoryResource_Repository
func (*OSPolicy_Resource_RepositoryResource) GetZypper ¶
func (x *OSPolicy_Resource_RepositoryResource) GetZypper() *OSPolicy_Resource_RepositoryResource_ZypperRepository
func (*OSPolicy_Resource_RepositoryResource) ProtoMessage ¶
func (*OSPolicy_Resource_RepositoryResource) ProtoMessage()
func (*OSPolicy_Resource_RepositoryResource) ProtoReflect ¶
func (x *OSPolicy_Resource_RepositoryResource) ProtoReflect() protoreflect.Message
func (*OSPolicy_Resource_RepositoryResource) Reset ¶
func (x *OSPolicy_Resource_RepositoryResource) Reset()
func (*OSPolicy_Resource_RepositoryResource) String ¶
func (x *OSPolicy_Resource_RepositoryResource) String() string
type OSPolicy_Resource_RepositoryResource_Apt ¶
type OSPolicy_Resource_RepositoryResource_Apt struct { // An Apt Repository. Apt *OSPolicy_Resource_RepositoryResource_AptRepository `protobuf:"bytes,1,opt,name=apt,proto3,oneof"` }
type OSPolicy_Resource_RepositoryResource_AptRepository ¶
type OSPolicy_Resource_RepositoryResource_AptRepository struct { // Required. Type of archive files in this repository. The default // behavior is DEB. ArchiveType OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType `` /* 202-byte string literal not displayed */ // Required. URI for this repository. Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // Required. Distribution of this repository. Distribution string `protobuf:"bytes,3,opt,name=distribution,proto3" json:"distribution,omitempty"` // Required. List of components for this repository. Must contain at // least one item. Components []string `protobuf:"bytes,4,rep,name=components,proto3" json:"components,omitempty"` // URI of the key file for this repository. The agent maintains a // keyring at /etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg. GpgKey string `protobuf:"bytes,5,opt,name=gpg_key,json=gpgKey,proto3" json:"gpg_key,omitempty"` // contains filtered or unexported fields }
Represents a single apt package repository. These will be added to a repo file that will be managed at /etc/apt/sources.list.d/google_osconfig.list.
func (*OSPolicy_Resource_RepositoryResource_AptRepository) Descriptor
deprecated
func (*OSPolicy_Resource_RepositoryResource_AptRepository) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_RepositoryResource_AptRepository.ProtoReflect.Descriptor instead.
func (*OSPolicy_Resource_RepositoryResource_AptRepository) GetArchiveType ¶
func (x *OSPolicy_Resource_RepositoryResource_AptRepository) GetArchiveType() OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType
func (*OSPolicy_Resource_RepositoryResource_AptRepository) GetComponents ¶
func (x *OSPolicy_Resource_RepositoryResource_AptRepository) GetComponents() []string
func (*OSPolicy_Resource_RepositoryResource_AptRepository) GetDistribution ¶
func (x *OSPolicy_Resource_RepositoryResource_AptRepository) GetDistribution() string
func (*OSPolicy_Resource_RepositoryResource_AptRepository) GetGpgKey ¶
func (x *OSPolicy_Resource_RepositoryResource_AptRepository) GetGpgKey() string
func (*OSPolicy_Resource_RepositoryResource_AptRepository) GetUri ¶
func (x *OSPolicy_Resource_RepositoryResource_AptRepository) GetUri() string
func (*OSPolicy_Resource_RepositoryResource_AptRepository) ProtoMessage ¶
func (*OSPolicy_Resource_RepositoryResource_AptRepository) ProtoMessage()
func (*OSPolicy_Resource_RepositoryResource_AptRepository) ProtoReflect ¶
func (x *OSPolicy_Resource_RepositoryResource_AptRepository) ProtoReflect() protoreflect.Message
func (*OSPolicy_Resource_RepositoryResource_AptRepository) Reset ¶
func (x *OSPolicy_Resource_RepositoryResource_AptRepository) Reset()
func (*OSPolicy_Resource_RepositoryResource_AptRepository) String ¶
func (x *OSPolicy_Resource_RepositoryResource_AptRepository) String() string
type OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType ¶
type OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType int32
Type of archive.
const ( // Unspecified is invalid. OSPolicy_Resource_RepositoryResource_AptRepository_ARCHIVE_TYPE_UNSPECIFIED OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType = 0 // Deb indicates that the archive contains binary files. OSPolicy_Resource_RepositoryResource_AptRepository_DEB OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType = 1 // Deb-src indicates that the archive contains source files. OSPolicy_Resource_RepositoryResource_AptRepository_DEB_SRC OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType = 2 )
func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Descriptor ¶
func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Descriptor() protoreflect.EnumDescriptor
func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) EnumDescriptor
deprecated
func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) EnumDescriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType.Descriptor instead.
func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) String ¶
func (x OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) String() string
type OSPolicy_Resource_RepositoryResource_Goo ¶
type OSPolicy_Resource_RepositoryResource_Goo struct { // A Goo Repository. Goo *OSPolicy_Resource_RepositoryResource_GooRepository `protobuf:"bytes,4,opt,name=goo,proto3,oneof"` }
type OSPolicy_Resource_RepositoryResource_GooRepository ¶
type OSPolicy_Resource_RepositoryResource_GooRepository struct { // Required. The name of the repository. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The url of the repository. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
Represents a Goo package repository. These are added to a repo file that is managed at `C:/ProgramData/GooGet/repos/google_osconfig.repo`.
func (*OSPolicy_Resource_RepositoryResource_GooRepository) Descriptor
deprecated
func (*OSPolicy_Resource_RepositoryResource_GooRepository) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_RepositoryResource_GooRepository.ProtoReflect.Descriptor instead.
func (*OSPolicy_Resource_RepositoryResource_GooRepository) GetName ¶
func (x *OSPolicy_Resource_RepositoryResource_GooRepository) GetName() string
func (*OSPolicy_Resource_RepositoryResource_GooRepository) GetUrl ¶
func (x *OSPolicy_Resource_RepositoryResource_GooRepository) GetUrl() string
func (*OSPolicy_Resource_RepositoryResource_GooRepository) ProtoMessage ¶
func (*OSPolicy_Resource_RepositoryResource_GooRepository) ProtoMessage()
func (*OSPolicy_Resource_RepositoryResource_GooRepository) ProtoReflect ¶
func (x *OSPolicy_Resource_RepositoryResource_GooRepository) ProtoReflect() protoreflect.Message
func (*OSPolicy_Resource_RepositoryResource_GooRepository) Reset ¶
func (x *OSPolicy_Resource_RepositoryResource_GooRepository) Reset()
func (*OSPolicy_Resource_RepositoryResource_GooRepository) String ¶
func (x *OSPolicy_Resource_RepositoryResource_GooRepository) String() string
type OSPolicy_Resource_RepositoryResource_Yum ¶
type OSPolicy_Resource_RepositoryResource_Yum struct { // A Yum Repository. Yum *OSPolicy_Resource_RepositoryResource_YumRepository `protobuf:"bytes,2,opt,name=yum,proto3,oneof"` }
type OSPolicy_Resource_RepositoryResource_YumRepository ¶
type OSPolicy_Resource_RepositoryResource_YumRepository struct { // Required. A one word, unique name for this repository. This is the // `repo id` in the yum config file and also the `display_name` if // `display_name` is omitted. This id is also used as the unique // identifier when checking for resource conflicts. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The display name of the repository. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Required. The location of the repository directory. BaseUrl string `protobuf:"bytes,3,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"` // URIs of GPG keys. GpgKeys []string `protobuf:"bytes,4,rep,name=gpg_keys,json=gpgKeys,proto3" json:"gpg_keys,omitempty"` // contains filtered or unexported fields }
Represents a single yum package repository. These are added to a repo file that is managed at `/etc/yum.repos.d/google_osconfig.repo`.
func (*OSPolicy_Resource_RepositoryResource_YumRepository) Descriptor
deprecated
func (*OSPolicy_Resource_RepositoryResource_YumRepository) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_RepositoryResource_YumRepository.ProtoReflect.Descriptor instead.
func (*OSPolicy_Resource_RepositoryResource_YumRepository) GetBaseUrl ¶
func (x *OSPolicy_Resource_RepositoryResource_YumRepository) GetBaseUrl() string
func (*OSPolicy_Resource_RepositoryResource_YumRepository) GetDisplayName ¶
func (x *OSPolicy_Resource_RepositoryResource_YumRepository) GetDisplayName() string
func (*OSPolicy_Resource_RepositoryResource_YumRepository) GetGpgKeys ¶
func (x *OSPolicy_Resource_RepositoryResource_YumRepository) GetGpgKeys() []string
func (*OSPolicy_Resource_RepositoryResource_YumRepository) GetId ¶
func (x *OSPolicy_Resource_RepositoryResource_YumRepository) GetId() string
func (*OSPolicy_Resource_RepositoryResource_YumRepository) ProtoMessage ¶
func (*OSPolicy_Resource_RepositoryResource_YumRepository) ProtoMessage()
func (*OSPolicy_Resource_RepositoryResource_YumRepository) ProtoReflect ¶
func (x *OSPolicy_Resource_RepositoryResource_YumRepository) ProtoReflect() protoreflect.Message
func (*OSPolicy_Resource_RepositoryResource_YumRepository) Reset ¶
func (x *OSPolicy_Resource_RepositoryResource_YumRepository) Reset()
func (*OSPolicy_Resource_RepositoryResource_YumRepository) String ¶
func (x *OSPolicy_Resource_RepositoryResource_YumRepository) String() string
type OSPolicy_Resource_RepositoryResource_Zypper ¶
type OSPolicy_Resource_RepositoryResource_Zypper struct { // A Zypper Repository. Zypper *OSPolicy_Resource_RepositoryResource_ZypperRepository `protobuf:"bytes,3,opt,name=zypper,proto3,oneof"` }
type OSPolicy_Resource_RepositoryResource_ZypperRepository ¶
type OSPolicy_Resource_RepositoryResource_ZypperRepository struct { // Required. A one word, unique name for this repository. This is the // `repo id` in the zypper config file and also the `display_name` if // `display_name` is omitted. This id is also used as the unique // identifier when checking for GuestPolicy conflicts. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The display name of the repository. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Required. The location of the repository directory. BaseUrl string `protobuf:"bytes,3,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"` // URIs of GPG keys. GpgKeys []string `protobuf:"bytes,4,rep,name=gpg_keys,json=gpgKeys,proto3" json:"gpg_keys,omitempty"` // contains filtered or unexported fields }
Represents a single zypper package repository. These are added to a repo file that is managed at `/etc/zypp/repos.d/google_osconfig.repo`.
func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) Descriptor
deprecated
func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) Descriptor() ([]byte, []int)
Deprecated: Use OSPolicy_Resource_RepositoryResource_ZypperRepository.ProtoReflect.Descriptor instead.
func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) GetBaseUrl ¶
func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) GetBaseUrl() string
func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) GetDisplayName ¶
func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) GetDisplayName() string
func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) GetGpgKeys ¶
func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) GetGpgKeys() []string
func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) GetId ¶
func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) GetId() string
func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) ProtoMessage ¶
func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) ProtoMessage()
func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) ProtoReflect ¶
func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) ProtoReflect() protoreflect.Message
func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) Reset ¶
func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) Reset()
func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) String ¶
func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) String() string
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"` // Allows the patch job to run on Managed instance groups (MIGs). MigInstancesAllowed bool `protobuf:"varint,10,opt,name=mig_instances_allowed,json=migInstancesAllowed,proto3" json:"mig_instances_allowed,omitempty"` // contains filtered or unexported fields }
Patch configuration specifications. Contains details on how to apply patches to a VM instance.
func (*PatchConfig) Descriptor
deprecated
func (*PatchConfig) Descriptor() ([]byte, []int)
Deprecated: Use PatchConfig.ProtoReflect.Descriptor instead.
func (*PatchConfig) GetApt ¶
func (x *PatchConfig) GetApt() *AptSettings
func (*PatchConfig) GetGoo ¶
func (x *PatchConfig) GetGoo() *GooSettings
func (*PatchConfig) GetMigInstancesAllowed ¶
func (x *PatchConfig) GetMigInstancesAllowed() bool
func (*PatchConfig) GetPostStep ¶
func (x *PatchConfig) GetPostStep() *ExecStep
func (*PatchConfig) GetPreStep ¶
func (x *PatchConfig) GetPreStep() *ExecStep
func (*PatchConfig) GetRebootConfig ¶
func (x *PatchConfig) GetRebootConfig() PatchConfig_RebootConfig
func (*PatchConfig) GetRetryStrategy ¶
func (x *PatchConfig) GetRetryStrategy() *RetryStrategy
func (*PatchConfig) GetWindowsUpdate ¶
func (x *PatchConfig) GetWindowsUpdate() *WindowsUpdateSettings
func (*PatchConfig) GetYum ¶
func (x *PatchConfig) GetYum() *YumSettings
func (*PatchConfig) GetZypper ¶
func (x *PatchConfig) GetZypper() *ZypperSettings
func (*PatchConfig) ProtoMessage ¶
func (*PatchConfig) ProtoMessage()
func (*PatchConfig) ProtoReflect ¶
func (x *PatchConfig) ProtoReflect() protoreflect.Message
func (*PatchConfig) Reset ¶
func (x *PatchConfig) Reset()
func (*PatchConfig) String ¶
func (x *PatchConfig) String() string
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) Descriptor ¶
func (PatchConfig_RebootConfig) Descriptor() protoreflect.EnumDescriptor
func (PatchConfig_RebootConfig) Enum ¶
func (x PatchConfig_RebootConfig) Enum() *PatchConfig_RebootConfig
func (PatchConfig_RebootConfig) EnumDescriptor
deprecated
func (PatchConfig_RebootConfig) EnumDescriptor() ([]byte, []int)
Deprecated: Use PatchConfig_RebootConfig.Descriptor instead.
func (PatchConfig_RebootConfig) Number ¶
func (x PatchConfig_RebootConfig) Number() protoreflect.EnumNumber
func (PatchConfig_RebootConfig) String ¶
func (x PatchConfig_RebootConfig) String() string
func (PatchConfig_RebootConfig) Type ¶
func (PatchConfig_RebootConfig) Type() protoreflect.EnumType
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"` // contains filtered or unexported fields }
A request message to receive task notifications.
func (*ReceiveTaskNotificationRequest) Descriptor
deprecated
func (*ReceiveTaskNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveTaskNotificationRequest.ProtoReflect.Descriptor instead.
func (*ReceiveTaskNotificationRequest) GetAgentVersion ¶
func (x *ReceiveTaskNotificationRequest) GetAgentVersion() string
func (*ReceiveTaskNotificationRequest) GetInstanceIdToken ¶
func (x *ReceiveTaskNotificationRequest) GetInstanceIdToken() string
func (*ReceiveTaskNotificationRequest) ProtoMessage ¶
func (*ReceiveTaskNotificationRequest) ProtoMessage()
func (*ReceiveTaskNotificationRequest) ProtoReflect ¶
func (x *ReceiveTaskNotificationRequest) ProtoReflect() protoreflect.Message
func (*ReceiveTaskNotificationRequest) Reset ¶
func (x *ReceiveTaskNotificationRequest) Reset()
func (*ReceiveTaskNotificationRequest) String ¶
func (x *ReceiveTaskNotificationRequest) String() string
type ReceiveTaskNotificationResponse ¶
type ReceiveTaskNotificationResponse struct {
// contains filtered or unexported fields
}
The streaming rpc message that will notify the agent when it has a task it needs to perform on the instance.
func (*ReceiveTaskNotificationResponse) Descriptor
deprecated
func (*ReceiveTaskNotificationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveTaskNotificationResponse.ProtoReflect.Descriptor instead.
func (*ReceiveTaskNotificationResponse) ProtoMessage ¶
func (*ReceiveTaskNotificationResponse) ProtoMessage()
func (*ReceiveTaskNotificationResponse) ProtoReflect ¶
func (x *ReceiveTaskNotificationResponse) ProtoReflect() protoreflect.Message
func (*ReceiveTaskNotificationResponse) Reset ¶
func (x *ReceiveTaskNotificationResponse) Reset()
func (*ReceiveTaskNotificationResponse) String ¶
func (x *ReceiveTaskNotificationResponse) String() string
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 // CONFIG_V1 SupportedCapabilities []string `protobuf:"bytes,3,rep,name=supported_capabilities,json=supportedCapabilities,proto3" json:"supported_capabilities,omitempty"` // The operating system long name. // For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 // Datacenter'. OsLongName string `protobuf:"bytes,4,opt,name=os_long_name,json=osLongName,proto3" json:"os_long_name,omitempty"` // The operating system short name. // For example, 'windows' or 'debian'. OsShortName string `protobuf:"bytes,5,opt,name=os_short_name,json=osShortName,proto3" json:"os_short_name,omitempty"` // The version of the operating system. OsVersion string `protobuf:"bytes,6,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"` // The system architecture of the operating system. OsArchitecture string `protobuf:"bytes,7,opt,name=os_architecture,json=osArchitecture,proto3" json:"os_architecture,omitempty"` // contains filtered or unexported fields }
The request message for registering the agent.
func (*RegisterAgentRequest) Descriptor
deprecated
func (*RegisterAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterAgentRequest.ProtoReflect.Descriptor instead.
func (*RegisterAgentRequest) GetAgentVersion ¶
func (x *RegisterAgentRequest) GetAgentVersion() string
func (*RegisterAgentRequest) GetInstanceIdToken ¶
func (x *RegisterAgentRequest) GetInstanceIdToken() string
func (*RegisterAgentRequest) GetOsArchitecture ¶
func (x *RegisterAgentRequest) GetOsArchitecture() string
func (*RegisterAgentRequest) GetOsLongName ¶
func (x *RegisterAgentRequest) GetOsLongName() string
func (*RegisterAgentRequest) GetOsShortName ¶
func (x *RegisterAgentRequest) GetOsShortName() string
func (*RegisterAgentRequest) GetOsVersion ¶
func (x *RegisterAgentRequest) GetOsVersion() string
func (*RegisterAgentRequest) GetSupportedCapabilities ¶
func (x *RegisterAgentRequest) GetSupportedCapabilities() []string
func (*RegisterAgentRequest) ProtoMessage ¶
func (*RegisterAgentRequest) ProtoMessage()
func (*RegisterAgentRequest) ProtoReflect ¶
func (x *RegisterAgentRequest) ProtoReflect() protoreflect.Message
func (*RegisterAgentRequest) Reset ¶
func (x *RegisterAgentRequest) Reset()
func (*RegisterAgentRequest) String ¶
func (x *RegisterAgentRequest) String() string
type RegisterAgentResponse ¶
type RegisterAgentResponse struct {
// contains filtered or unexported fields
}
The response message after the agent registered.
func (*RegisterAgentResponse) Descriptor
deprecated
func (*RegisterAgentResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterAgentResponse.ProtoReflect.Descriptor instead.
func (*RegisterAgentResponse) ProtoMessage ¶
func (*RegisterAgentResponse) ProtoMessage()
func (*RegisterAgentResponse) ProtoReflect ¶
func (x *RegisterAgentResponse) ProtoReflect() protoreflect.Message
func (*RegisterAgentResponse) Reset ¶
func (x *RegisterAgentResponse) Reset()
func (*RegisterAgentResponse) String ¶
func (x *RegisterAgentResponse) String() string
type ReportInventoryRequest ¶
type ReportInventoryRequest 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. This is a client created checksum that should be generated based // on the contents of the reported inventory. This will be used by the // service to determine if it has the latest version of inventory. InventoryChecksum string `protobuf:"bytes,2,opt,name=inventory_checksum,json=inventoryChecksum,proto3" json:"inventory_checksum,omitempty"` // Optional. This is the details of the inventory. Should only be provided if // the inventory has changed since the last report, or if instructed by the // service to provide full inventory. Inventory *Inventory `protobuf:"bytes,3,opt,name=inventory,proto3" json:"inventory,omitempty"` // contains filtered or unexported fields }
The request message for having the agent report inventory.
func (*ReportInventoryRequest) Descriptor
deprecated
func (*ReportInventoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportInventoryRequest.ProtoReflect.Descriptor instead.
func (*ReportInventoryRequest) GetInstanceIdToken ¶
func (x *ReportInventoryRequest) GetInstanceIdToken() string
func (*ReportInventoryRequest) GetInventory ¶
func (x *ReportInventoryRequest) GetInventory() *Inventory
func (*ReportInventoryRequest) GetInventoryChecksum ¶
func (x *ReportInventoryRequest) GetInventoryChecksum() string
func (*ReportInventoryRequest) ProtoMessage ¶
func (*ReportInventoryRequest) ProtoMessage()
func (*ReportInventoryRequest) ProtoReflect ¶
func (x *ReportInventoryRequest) ProtoReflect() protoreflect.Message
func (*ReportInventoryRequest) Reset ¶
func (x *ReportInventoryRequest) Reset()
func (*ReportInventoryRequest) String ¶
func (x *ReportInventoryRequest) String() string
type ReportInventoryResponse ¶
type ReportInventoryResponse struct { // If true, the full inventory should be reported back to the server. ReportFullInventory bool `protobuf:"varint,1,opt,name=report_full_inventory,json=reportFullInventory,proto3" json:"report_full_inventory,omitempty"` // contains filtered or unexported fields }
The response message after the agent has reported inventory.
func (*ReportInventoryResponse) Descriptor
deprecated
func (*ReportInventoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportInventoryResponse.ProtoReflect.Descriptor instead.
func (*ReportInventoryResponse) GetReportFullInventory ¶
func (x *ReportInventoryResponse) GetReportFullInventory() bool
func (*ReportInventoryResponse) ProtoMessage ¶
func (*ReportInventoryResponse) ProtoMessage()
func (*ReportInventoryResponse) ProtoReflect ¶
func (x *ReportInventoryResponse) ProtoReflect() protoreflect.Message
func (*ReportInventoryResponse) Reset ¶
func (x *ReportInventoryResponse) Reset()
func (*ReportInventoryResponse) String ¶
func (x *ReportInventoryResponse) String() string
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. // // Output must include the appropriate message based on this enum as // specified below: // APPLY_PATCHES = ApplyPatchesTaskOutput // EXEC_STEP = ExecStepTaskOutput // APPLY_CONFIG_TASK = ApplyConfigTaskOutput 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 assignable to Output: // // *ReportTaskCompleteRequest_ApplyPatchesTaskOutput // *ReportTaskCompleteRequest_ExecStepTaskOutput // *ReportTaskCompleteRequest_ApplyConfigTaskOutput Output isReportTaskCompleteRequest_Output `protobuf_oneof:"output"` // contains filtered or unexported fields }
A request message for signaling the completion of a task execution.
func (*ReportTaskCompleteRequest) Descriptor
deprecated
func (*ReportTaskCompleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportTaskCompleteRequest.ProtoReflect.Descriptor instead.
func (*ReportTaskCompleteRequest) GetApplyConfigTaskOutput ¶
func (x *ReportTaskCompleteRequest) GetApplyConfigTaskOutput() *ApplyConfigTaskOutput
func (*ReportTaskCompleteRequest) GetApplyPatchesTaskOutput ¶
func (x *ReportTaskCompleteRequest) GetApplyPatchesTaskOutput() *ApplyPatchesTaskOutput
func (*ReportTaskCompleteRequest) GetErrorMessage ¶
func (x *ReportTaskCompleteRequest) GetErrorMessage() string
func (*ReportTaskCompleteRequest) GetExecStepTaskOutput ¶
func (x *ReportTaskCompleteRequest) GetExecStepTaskOutput() *ExecStepTaskOutput
func (*ReportTaskCompleteRequest) GetInstanceIdToken ¶
func (x *ReportTaskCompleteRequest) GetInstanceIdToken() string
func (*ReportTaskCompleteRequest) GetOutput ¶
func (m *ReportTaskCompleteRequest) GetOutput() isReportTaskCompleteRequest_Output
func (*ReportTaskCompleteRequest) GetTaskId ¶
func (x *ReportTaskCompleteRequest) GetTaskId() string
func (*ReportTaskCompleteRequest) GetTaskType ¶
func (x *ReportTaskCompleteRequest) GetTaskType() TaskType
func (*ReportTaskCompleteRequest) ProtoMessage ¶
func (*ReportTaskCompleteRequest) ProtoMessage()
func (*ReportTaskCompleteRequest) ProtoReflect ¶
func (x *ReportTaskCompleteRequest) ProtoReflect() protoreflect.Message
func (*ReportTaskCompleteRequest) Reset ¶
func (x *ReportTaskCompleteRequest) Reset()
func (*ReportTaskCompleteRequest) String ¶
func (x *ReportTaskCompleteRequest) String() string
type ReportTaskCompleteRequest_ApplyConfigTaskOutput ¶
type ReportTaskCompleteRequest_ApplyConfigTaskOutput struct { // Final output details of the apply config task; ApplyConfigTaskOutput *ApplyConfigTaskOutput `protobuf:"bytes,7,opt,name=apply_config_task_output,json=applyConfigTaskOutput,proto3,oneof"` }
type ReportTaskCompleteRequest_ApplyPatchesTaskOutput ¶
type ReportTaskCompleteRequest_ApplyPatchesTaskOutput struct { // Final output details of the apply patches task; ApplyPatchesTaskOutput *ApplyPatchesTaskOutput `protobuf:"bytes,5,opt,name=apply_patches_task_output,json=applyPatchesTaskOutput,proto3,oneof"` }
type ReportTaskCompleteRequest_ExecStepTaskOutput ¶
type ReportTaskCompleteRequest_ExecStepTaskOutput struct { // Final output details of the exec step task; ExecStepTaskOutput *ExecStepTaskOutput `protobuf:"bytes,6,opt,name=exec_step_task_output,json=execStepTaskOutput,proto3,oneof"` }
type ReportTaskCompleteResponse ¶
type ReportTaskCompleteResponse struct {
// contains filtered or unexported fields
}
The response message after the agent signaled the current task complete.
func (*ReportTaskCompleteResponse) Descriptor
deprecated
func (*ReportTaskCompleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportTaskCompleteResponse.ProtoReflect.Descriptor instead.
func (*ReportTaskCompleteResponse) ProtoMessage ¶
func (*ReportTaskCompleteResponse) ProtoMessage()
func (*ReportTaskCompleteResponse) ProtoReflect ¶
func (x *ReportTaskCompleteResponse) ProtoReflect() protoreflect.Message
func (*ReportTaskCompleteResponse) Reset ¶
func (x *ReportTaskCompleteResponse) Reset()
func (*ReportTaskCompleteResponse) String ¶
func (x *ReportTaskCompleteResponse) String() string
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. // `APPLY_CONFIG_TASK` = ApplyConfigTaskProgress TaskType TaskType `` /* 139-byte string literal not displayed */ // Intermediate progress of the current task. // // Types that are assignable to Progress: // // *ReportTaskProgressRequest_ApplyPatchesTaskProgress // *ReportTaskProgressRequest_ExecStepTaskProgress // *ReportTaskProgressRequest_ApplyConfigTaskProgress Progress isReportTaskProgressRequest_Progress `protobuf_oneof:"progress"` // contains filtered or unexported fields }
A request message for reporting the progress of current task.
func (*ReportTaskProgressRequest) Descriptor
deprecated
func (*ReportTaskProgressRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportTaskProgressRequest.ProtoReflect.Descriptor instead.
func (*ReportTaskProgressRequest) GetApplyConfigTaskProgress ¶
func (x *ReportTaskProgressRequest) GetApplyConfigTaskProgress() *ApplyConfigTaskProgress
func (*ReportTaskProgressRequest) GetApplyPatchesTaskProgress ¶
func (x *ReportTaskProgressRequest) GetApplyPatchesTaskProgress() *ApplyPatchesTaskProgress
func (*ReportTaskProgressRequest) GetExecStepTaskProgress ¶
func (x *ReportTaskProgressRequest) GetExecStepTaskProgress() *ExecStepTaskProgress
func (*ReportTaskProgressRequest) GetInstanceIdToken ¶
func (x *ReportTaskProgressRequest) GetInstanceIdToken() string
func (*ReportTaskProgressRequest) GetProgress ¶
func (m *ReportTaskProgressRequest) GetProgress() isReportTaskProgressRequest_Progress
func (*ReportTaskProgressRequest) GetTaskId ¶
func (x *ReportTaskProgressRequest) GetTaskId() string
func (*ReportTaskProgressRequest) GetTaskType ¶
func (x *ReportTaskProgressRequest) GetTaskType() TaskType
func (*ReportTaskProgressRequest) ProtoMessage ¶
func (*ReportTaskProgressRequest) ProtoMessage()
func (*ReportTaskProgressRequest) ProtoReflect ¶
func (x *ReportTaskProgressRequest) ProtoReflect() protoreflect.Message
func (*ReportTaskProgressRequest) Reset ¶
func (x *ReportTaskProgressRequest) Reset()
func (*ReportTaskProgressRequest) String ¶
func (x *ReportTaskProgressRequest) String() string
type ReportTaskProgressRequest_ApplyConfigTaskProgress ¶
type ReportTaskProgressRequest_ApplyConfigTaskProgress struct { // Details about the progress of the apply config task. ApplyConfigTaskProgress *ApplyConfigTaskProgress `protobuf:"bytes,6,opt,name=apply_config_task_progress,json=applyConfigTaskProgress,proto3,oneof"` }
type ReportTaskProgressRequest_ApplyPatchesTaskProgress ¶
type ReportTaskProgressRequest_ApplyPatchesTaskProgress struct { // Details about the progress of the apply patches task. ApplyPatchesTaskProgress *ApplyPatchesTaskProgress `protobuf:"bytes,4,opt,name=apply_patches_task_progress,json=applyPatchesTaskProgress,proto3,oneof"` }
type ReportTaskProgressRequest_ExecStepTaskProgress ¶
type ReportTaskProgressRequest_ExecStepTaskProgress struct { // Details about the progress of the exec step task. 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 */ // contains filtered or unexported fields }
The response message after the agent reported the current task progress.
func (*ReportTaskProgressResponse) Descriptor
deprecated
func (*ReportTaskProgressResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportTaskProgressResponse.ProtoReflect.Descriptor instead.
func (*ReportTaskProgressResponse) GetTaskDirective ¶
func (x *ReportTaskProgressResponse) GetTaskDirective() TaskDirective
func (*ReportTaskProgressResponse) ProtoMessage ¶
func (*ReportTaskProgressResponse) ProtoMessage()
func (*ReportTaskProgressResponse) ProtoReflect ¶
func (x *ReportTaskProgressResponse) ProtoReflect() protoreflect.Message
func (*ReportTaskProgressResponse) Reset ¶
func (x *ReportTaskProgressResponse) Reset()
func (*ReportTaskProgressResponse) String ¶
func (x *ReportTaskProgressResponse) String() string
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"` // contains filtered or unexported fields }
The strategy for retrying failed patches during the patch window.
func (*RetryStrategy) Descriptor
deprecated
func (*RetryStrategy) Descriptor() ([]byte, []int)
Deprecated: Use RetryStrategy.ProtoReflect.Descriptor instead.
func (*RetryStrategy) GetEnabled ¶
func (x *RetryStrategy) GetEnabled() bool
func (*RetryStrategy) ProtoMessage ¶
func (*RetryStrategy) ProtoMessage()
func (*RetryStrategy) ProtoReflect ¶
func (x *RetryStrategy) ProtoReflect() protoreflect.Message
func (*RetryStrategy) Reset ¶
func (x *RetryStrategy) Reset()
func (*RetryStrategy) String ¶
func (x *RetryStrategy) String() string
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"` // contains filtered or unexported fields }
A request message for signaling the start of a task execution.
func (*StartNextTaskRequest) Descriptor
deprecated
func (*StartNextTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartNextTaskRequest.ProtoReflect.Descriptor instead.
func (*StartNextTaskRequest) GetInstanceIdToken ¶
func (x *StartNextTaskRequest) GetInstanceIdToken() string
func (*StartNextTaskRequest) ProtoMessage ¶
func (*StartNextTaskRequest) ProtoMessage()
func (*StartNextTaskRequest) ProtoReflect ¶
func (x *StartNextTaskRequest) ProtoReflect() protoreflect.Message
func (*StartNextTaskRequest) Reset ¶
func (x *StartNextTaskRequest) Reset()
func (*StartNextTaskRequest) String ¶
func (x *StartNextTaskRequest) String() string
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"` // contains filtered or unexported fields }
A response message that contains the details of the task to work on.
func (*StartNextTaskResponse) Descriptor
deprecated
func (*StartNextTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartNextTaskResponse.ProtoReflect.Descriptor instead.
func (*StartNextTaskResponse) GetTask ¶
func (x *StartNextTaskResponse) GetTask() *Task
func (*StartNextTaskResponse) ProtoMessage ¶
func (*StartNextTaskResponse) ProtoMessage()
func (*StartNextTaskResponse) ProtoReflect ¶
func (x *StartNextTaskResponse) ProtoReflect() protoreflect.Message
func (*StartNextTaskResponse) Reset ¶
func (x *StartNextTaskResponse) Reset()
func (*StartNextTaskResponse) String ¶
func (x *StartNextTaskResponse) String() string
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 // APPLY_CONFIG_TASK = ApplyConfigTask 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 assignable to TaskDetails: // // *Task_ApplyPatchesTask // *Task_ExecStepTask // *Task_ApplyConfigTask 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 */ // contains filtered or unexported fields }
A unit of work to be performed by the agent.
func (*Task) Descriptor
deprecated
func (*Task) GetApplyConfigTask ¶
func (x *Task) GetApplyConfigTask() *ApplyConfigTask
func (*Task) GetApplyPatchesTask ¶
func (x *Task) GetApplyPatchesTask() *ApplyPatchesTask
func (*Task) GetExecStepTask ¶
func (x *Task) GetExecStepTask() *ExecStepTask
func (*Task) GetServiceLabels ¶
func (*Task) GetTaskDetails ¶
func (m *Task) GetTaskDetails() isTask_TaskDetails
func (*Task) GetTaskDirective ¶
func (x *Task) GetTaskDirective() TaskDirective
func (*Task) GetTaskType ¶
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) ProtoReflect ¶
func (x *Task) ProtoReflect() protoreflect.Message
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) Descriptor ¶
func (TaskDirective) Descriptor() protoreflect.EnumDescriptor
func (TaskDirective) Enum ¶
func (x TaskDirective) Enum() *TaskDirective
func (TaskDirective) EnumDescriptor
deprecated
func (TaskDirective) EnumDescriptor() ([]byte, []int)
Deprecated: Use TaskDirective.Descriptor instead.
func (TaskDirective) Number ¶
func (x TaskDirective) Number() protoreflect.EnumNumber
func (TaskDirective) String ¶
func (x TaskDirective) String() string
func (TaskDirective) Type ¶
func (TaskDirective) Type() protoreflect.EnumType
type TaskType ¶
type TaskType int32
Specifies the type of task to perform.
func (TaskType) Descriptor ¶
func (TaskType) Descriptor() protoreflect.EnumDescriptor
func (TaskType) EnumDescriptor
deprecated
func (TaskType) Number ¶
func (x TaskType) Number() protoreflect.EnumNumber
func (TaskType) Type ¶
func (TaskType) Type() protoreflect.EnumType
type Task_ApplyConfigTask ¶
type Task_ApplyConfigTask struct { // Details about the apply config step task to perform. ApplyConfigTask *ApplyConfigTask `protobuf:"bytes,7,opt,name=apply_config_task,json=applyConfigTask,proto3,oneof"` }
type Task_ApplyPatchesTask ¶
type Task_ApplyPatchesTask struct { // Details about the apply patches task to perform. ApplyPatchesTask *ApplyPatchesTask `protobuf:"bytes,4,opt,name=apply_patches_task,json=applyPatchesTask,proto3,oneof"` }
type Task_ExecStepTask ¶
type Task_ExecStepTask struct { // Details about the exec step task to perform. 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(*ReceiveTaskNotificationRequest, AgentEndpointService_ReceiveTaskNotificationServer) error
func (*UnimplementedAgentEndpointServiceServer) RegisterAgent ¶
func (*UnimplementedAgentEndpointServiceServer) RegisterAgent(context.Context, *RegisterAgentRequest) (*RegisterAgentResponse, error)
func (*UnimplementedAgentEndpointServiceServer) ReportInventory ¶
func (*UnimplementedAgentEndpointServiceServer) ReportInventory(context.Context, *ReportInventoryRequest) (*ReportInventoryResponse, error)
func (*UnimplementedAgentEndpointServiceServer) ReportTaskComplete ¶
func (*UnimplementedAgentEndpointServiceServer) ReportTaskComplete(context.Context, *ReportTaskCompleteRequest) (*ReportTaskCompleteResponse, error)
func (*UnimplementedAgentEndpointServiceServer) ReportTaskProgress ¶
func (*UnimplementedAgentEndpointServiceServer) ReportTaskProgress(context.Context, *ReportTaskProgressRequest) (*ReportTaskProgressResponse, error)
func (*UnimplementedAgentEndpointServiceServer) StartNextTask ¶
func (*UnimplementedAgentEndpointServiceServer) StartNextTask(context.Context, *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"` // contains filtered or unexported fields }
Windows patching is performed using the Windows Update Agent.
func (*WindowsUpdateSettings) Descriptor
deprecated
func (*WindowsUpdateSettings) Descriptor() ([]byte, []int)
Deprecated: Use WindowsUpdateSettings.ProtoReflect.Descriptor instead.
func (*WindowsUpdateSettings) GetClassifications ¶
func (x *WindowsUpdateSettings) GetClassifications() []WindowsUpdateSettings_Classification
func (*WindowsUpdateSettings) GetExcludes ¶
func (x *WindowsUpdateSettings) GetExcludes() []string
func (*WindowsUpdateSettings) GetExclusivePatches ¶
func (x *WindowsUpdateSettings) GetExclusivePatches() []string
func (*WindowsUpdateSettings) ProtoMessage ¶
func (*WindowsUpdateSettings) ProtoMessage()
func (*WindowsUpdateSettings) ProtoReflect ¶
func (x *WindowsUpdateSettings) ProtoReflect() protoreflect.Message
func (*WindowsUpdateSettings) Reset ¶
func (x *WindowsUpdateSettings) Reset()
func (*WindowsUpdateSettings) String ¶
func (x *WindowsUpdateSettings) String() string
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) Descriptor ¶
func (WindowsUpdateSettings_Classification) Descriptor() protoreflect.EnumDescriptor
func (WindowsUpdateSettings_Classification) Enum ¶
func (x WindowsUpdateSettings_Classification) Enum() *WindowsUpdateSettings_Classification
func (WindowsUpdateSettings_Classification) EnumDescriptor
deprecated
func (WindowsUpdateSettings_Classification) EnumDescriptor() ([]byte, []int)
Deprecated: Use WindowsUpdateSettings_Classification.Descriptor instead.
func (WindowsUpdateSettings_Classification) Number ¶
func (x WindowsUpdateSettings_Classification) Number() protoreflect.EnumNumber
func (WindowsUpdateSettings_Classification) String ¶
func (x WindowsUpdateSettings_Classification) String() string
func (WindowsUpdateSettings_Classification) Type ¶
func (WindowsUpdateSettings_Classification) Type() protoreflect.EnumType
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"` // contains filtered or unexported fields }
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
deprecated
func (*YumSettings) Descriptor() ([]byte, []int)
Deprecated: Use YumSettings.ProtoReflect.Descriptor instead.
func (*YumSettings) GetExcludes ¶
func (x *YumSettings) GetExcludes() []string
func (*YumSettings) GetExclusivePackages ¶
func (x *YumSettings) GetExclusivePackages() []string
func (*YumSettings) GetMinimal ¶
func (x *YumSettings) GetMinimal() bool
func (*YumSettings) GetSecurity ¶
func (x *YumSettings) GetSecurity() bool
func (*YumSettings) ProtoMessage ¶
func (*YumSettings) ProtoMessage()
func (*YumSettings) ProtoReflect ¶
func (x *YumSettings) ProtoReflect() protoreflect.Message
func (*YumSettings) Reset ¶
func (x *YumSettings) Reset()
func (*YumSettings) String ¶
func (x *YumSettings) String() string
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"` // contains filtered or unexported fields }
Zypper patching is performed by running `zypper patch`. See also https://en.opensuse.org/SDB:Zypper_manual.
func (*ZypperSettings) Descriptor
deprecated
func (*ZypperSettings) Descriptor() ([]byte, []int)
Deprecated: Use ZypperSettings.ProtoReflect.Descriptor instead.
func (*ZypperSettings) GetCategories ¶
func (x *ZypperSettings) GetCategories() []string
func (*ZypperSettings) GetExcludes ¶
func (x *ZypperSettings) GetExcludes() []string
func (*ZypperSettings) GetExclusivePatches ¶
func (x *ZypperSettings) GetExclusivePatches() []string
func (*ZypperSettings) GetSeverities ¶
func (x *ZypperSettings) GetSeverities() []string
func (*ZypperSettings) GetWithOptional ¶
func (x *ZypperSettings) GetWithOptional() bool
func (*ZypperSettings) GetWithUpdate ¶
func (x *ZypperSettings) GetWithUpdate() bool
func (*ZypperSettings) ProtoMessage ¶
func (*ZypperSettings) ProtoMessage()
func (*ZypperSettings) ProtoReflect ¶
func (x *ZypperSettings) ProtoReflect() protoreflect.Message
func (*ZypperSettings) Reset ¶
func (x *ZypperSettings) Reset()
func (*ZypperSettings) String ¶
func (x *ZypperSettings) String() string