Documentation ¶
Overview ¶
Generate deepcopy object for osconfig/v1alpha1 API group
Package v1alpha1 contains API Schema definitions for the osconfig v1alpha1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/osconfig +k8s:defaulter-gen=TypeMeta +groupName=osconfig.cnrm.cloud.google.com
Index ¶
- Variables
- type OSConfigPatchDeployment
- type OSConfigPatchDeploymentList
- type OSConfigPatchDeploymentSpec
- type OSConfigPatchDeploymentStatus
- type PatchdeploymentApt
- type PatchdeploymentDisruptionBudget
- type PatchdeploymentGcsObject
- type PatchdeploymentGoo
- type PatchdeploymentGroupLabels
- type PatchdeploymentInstanceFilter
- type PatchdeploymentLinuxExecStepConfig
- type PatchdeploymentMonthly
- type PatchdeploymentOneTimeSchedule
- type PatchdeploymentPatchConfig
- type PatchdeploymentPostStep
- type PatchdeploymentPreStep
- type PatchdeploymentRecurringSchedule
- type PatchdeploymentRollout
- type PatchdeploymentTimeOfDay
- type PatchdeploymentTimeZone
- type PatchdeploymentWeekDayOfMonth
- type PatchdeploymentWeekly
- type PatchdeploymentWindowsExecStepConfig
- type PatchdeploymentWindowsUpdate
- type PatchdeploymentYum
- type PatchdeploymentZypper
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "osconfig.cnrm.cloud.google.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme OSConfigPatchDeploymentGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(OSConfigPatchDeployment{}).Name(), } )
Functions ¶
This section is empty.
Types ¶
type OSConfigPatchDeployment ¶
type OSConfigPatchDeployment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OSConfigPatchDeploymentSpec `json:"spec,omitempty"` Status OSConfigPatchDeploymentStatus `json:"status,omitempty"` }
OSConfigPatchDeployment is the Schema for the osconfig API +k8s:openapi-gen=true
func (*OSConfigPatchDeployment) DeepCopy ¶
func (in *OSConfigPatchDeployment) DeepCopy() *OSConfigPatchDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OSConfigPatchDeployment.
func (*OSConfigPatchDeployment) DeepCopyInto ¶
func (in *OSConfigPatchDeployment) DeepCopyInto(out *OSConfigPatchDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OSConfigPatchDeployment) DeepCopyObject ¶
func (in *OSConfigPatchDeployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OSConfigPatchDeploymentList ¶
type OSConfigPatchDeploymentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OSConfigPatchDeployment `json:"items"` }
OSConfigPatchDeploymentList contains a list of OSConfigPatchDeployment
func (*OSConfigPatchDeploymentList) DeepCopy ¶
func (in *OSConfigPatchDeploymentList) DeepCopy() *OSConfigPatchDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OSConfigPatchDeploymentList.
func (*OSConfigPatchDeploymentList) DeepCopyInto ¶
func (in *OSConfigPatchDeploymentList) DeepCopyInto(out *OSConfigPatchDeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OSConfigPatchDeploymentList) DeepCopyObject ¶
func (in *OSConfigPatchDeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OSConfigPatchDeploymentSpec ¶
type OSConfigPatchDeploymentSpec struct { /* Immutable. Description of the patch deployment. Length of the description is limited to 1024 characters. */ // +optional Description *string `json:"description,omitempty"` /* Immutable. Duration of the patch. After the duration ends, the patch times out. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". */ // +optional Duration *string `json:"duration,omitempty"` /* Immutable. VM instances to patch. */ InstanceFilter PatchdeploymentInstanceFilter `json:"instanceFilter"` /* Immutable. Schedule a one-time execution. */ // +optional OneTimeSchedule *PatchdeploymentOneTimeSchedule `json:"oneTimeSchedule,omitempty"` /* Immutable. Patch configuration that is applied. */ // +optional PatchConfig *PatchdeploymentPatchConfig `json:"patchConfig,omitempty"` /* Immutable. A name for the patch deployment in the project. When creating a name the following rules apply: * 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 project. */ PatchDeploymentId string `json:"patchDeploymentId"` /* The project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Immutable. Schedule recurring executions. */ // +optional RecurringSchedule *PatchdeploymentRecurringSchedule `json:"recurringSchedule,omitempty"` /* Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. */ // +optional ResourceID *string `json:"resourceID,omitempty"` /* Immutable. Rollout strategy of the patch job. */ // +optional Rollout *PatchdeploymentRollout `json:"rollout,omitempty"` }
func (*OSConfigPatchDeploymentSpec) DeepCopy ¶
func (in *OSConfigPatchDeploymentSpec) DeepCopy() *OSConfigPatchDeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OSConfigPatchDeploymentSpec.
func (*OSConfigPatchDeploymentSpec) DeepCopyInto ¶
func (in *OSConfigPatchDeploymentSpec) DeepCopyInto(out *OSConfigPatchDeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OSConfigPatchDeploymentStatus ¶
type OSConfigPatchDeploymentStatus struct { /* Conditions represent the latest available observations of the OSConfigPatchDeployment's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* Time the patch deployment was created. Timestamp is in RFC3339 text format. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". */ // +optional CreateTime *string `json:"createTime,omitempty"` /* The last time a patch job was started by this deployment. Timestamp is in RFC3339 text format. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". */ // +optional LastExecuteTime *string `json:"lastExecuteTime,omitempty"` /* Unique name for the patch deployment resource in a project. The patch deployment name is in the form: projects/{project_id}/patchDeployments/{patchDeploymentId}. */ // +optional Name *string `json:"name,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ // +optional ObservedGeneration *int64 `json:"observedGeneration,omitempty"` /* Time the patch deployment was last updated. Timestamp is in RFC3339 text format. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". */ // +optional UpdateTime *string `json:"updateTime,omitempty"` }
func (*OSConfigPatchDeploymentStatus) DeepCopy ¶
func (in *OSConfigPatchDeploymentStatus) DeepCopy() *OSConfigPatchDeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OSConfigPatchDeploymentStatus.
func (*OSConfigPatchDeploymentStatus) DeepCopyInto ¶
func (in *OSConfigPatchDeploymentStatus) DeepCopyInto(out *OSConfigPatchDeploymentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentApt ¶
type PatchdeploymentApt struct { /* Immutable. List of packages to exclude from update. These packages will be excluded. */ // +optional Excludes []string `json:"excludes,omitempty"` /* Immutable. 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. */ // +optional ExclusivePackages []string `json:"exclusivePackages,omitempty"` /* Immutable. By changing the type to DIST, the patching is performed using apt-get dist-upgrade instead. Possible values: ["DIST", "UPGRADE"]. */ // +optional Type *string `json:"type,omitempty"` }
func (*PatchdeploymentApt) DeepCopy ¶
func (in *PatchdeploymentApt) DeepCopy() *PatchdeploymentApt
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentApt.
func (*PatchdeploymentApt) DeepCopyInto ¶
func (in *PatchdeploymentApt) DeepCopyInto(out *PatchdeploymentApt)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentDisruptionBudget ¶
type PatchdeploymentDisruptionBudget struct { /* Immutable. Specifies a fixed value. */ // +optional Fixed *int64 `json:"fixed,omitempty"` /* Immutable. Specifies the relative value defined as a percentage, which will be multiplied by a reference value. */ // +optional Percentage *int64 `json:"percentage,omitempty"` }
func (*PatchdeploymentDisruptionBudget) DeepCopy ¶
func (in *PatchdeploymentDisruptionBudget) DeepCopy() *PatchdeploymentDisruptionBudget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentDisruptionBudget.
func (*PatchdeploymentDisruptionBudget) DeepCopyInto ¶
func (in *PatchdeploymentDisruptionBudget) DeepCopyInto(out *PatchdeploymentDisruptionBudget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentGcsObject ¶
type PatchdeploymentGcsObject struct { /* Immutable. Bucket of the Cloud Storage object. */ Bucket string `json:"bucket"` /* Immutable. Generation number of the Cloud Storage object. This is used to ensure that the ExecStep specified by this PatchJob does not change. */ GenerationNumber string `json:"generationNumber"` /* Immutable. Name of the Cloud Storage object. */ Object string `json:"object"` }
func (*PatchdeploymentGcsObject) DeepCopy ¶
func (in *PatchdeploymentGcsObject) DeepCopy() *PatchdeploymentGcsObject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentGcsObject.
func (*PatchdeploymentGcsObject) DeepCopyInto ¶
func (in *PatchdeploymentGcsObject) DeepCopyInto(out *PatchdeploymentGcsObject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentGoo ¶
type PatchdeploymentGoo struct { /* Immutable. goo update settings. Use this setting to override the default goo patch rules. */ Enabled bool `json:"enabled"` }
func (*PatchdeploymentGoo) DeepCopy ¶
func (in *PatchdeploymentGoo) DeepCopy() *PatchdeploymentGoo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentGoo.
func (*PatchdeploymentGoo) DeepCopyInto ¶
func (in *PatchdeploymentGoo) DeepCopyInto(out *PatchdeploymentGoo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentGroupLabels ¶
type PatchdeploymentGroupLabels struct { /* Immutable. Compute Engine instance labels that must be present for a VM instance to be targeted by this filter. */ Labels map[string]string `json:"labels"` }
func (*PatchdeploymentGroupLabels) DeepCopy ¶
func (in *PatchdeploymentGroupLabels) DeepCopy() *PatchdeploymentGroupLabels
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentGroupLabels.
func (*PatchdeploymentGroupLabels) DeepCopyInto ¶
func (in *PatchdeploymentGroupLabels) DeepCopyInto(out *PatchdeploymentGroupLabels)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentInstanceFilter ¶
type PatchdeploymentInstanceFilter struct { /* Immutable. Target all VM instances in the project. If true, no other criteria is permitted. */ // +optional All *bool `json:"all,omitempty"` /* Immutable. Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances. */ // +optional GroupLabels []PatchdeploymentGroupLabels `json:"groupLabels,omitempty"` /* Immutable. Targets VMs whose name starts with one of these prefixes. Similar to labels, this is another way to group VMs when targeting configs, for example prefix="prod-". */ // +optional InstanceNamePrefixes []string `json:"instanceNamePrefixes,omitempty"` /* Immutable. Targets any of the VM instances specified. Instances are specified by their URI in the 'form zones/{{zone}}/instances/{{instance_name}}', 'projects/{{project_id}}/zones/{{zone}}/instances/{{instance_name}}', or 'https://www.googleapis.com/compute/v1/projects/{{project_id}}/zones/{{zone}}/instances/{{instance_name}}'. */ // +optional Instances []string `json:"instances,omitempty"` /* Immutable. Targets VM instances in ANY of these zones. Leave empty to target VM instances in any zone. */ // +optional Zones []string `json:"zones,omitempty"` }
func (*PatchdeploymentInstanceFilter) DeepCopy ¶
func (in *PatchdeploymentInstanceFilter) DeepCopy() *PatchdeploymentInstanceFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentInstanceFilter.
func (*PatchdeploymentInstanceFilter) DeepCopyInto ¶
func (in *PatchdeploymentInstanceFilter) DeepCopyInto(out *PatchdeploymentInstanceFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentLinuxExecStepConfig ¶
type PatchdeploymentLinuxExecStepConfig struct { /* Immutable. Defaults to [0]. A list of possible return values that the execution can return to indicate a success. */ // +optional AllowedSuccessCodes []int64 `json:"allowedSuccessCodes,omitempty"` /* Immutable. A Cloud Storage object containing the executable. */ // +optional GcsObject *PatchdeploymentGcsObject `json:"gcsObject,omitempty"` /* Immutable. 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. Possible values: ["SHELL", "POWERSHELL"]. */ // +optional Interpreter *string `json:"interpreter,omitempty"` /* Immutable. An absolute path to the executable on the VM. */ // +optional LocalPath *string `json:"localPath,omitempty"` }
func (*PatchdeploymentLinuxExecStepConfig) DeepCopy ¶
func (in *PatchdeploymentLinuxExecStepConfig) DeepCopy() *PatchdeploymentLinuxExecStepConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentLinuxExecStepConfig.
func (*PatchdeploymentLinuxExecStepConfig) DeepCopyInto ¶
func (in *PatchdeploymentLinuxExecStepConfig) DeepCopyInto(out *PatchdeploymentLinuxExecStepConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentMonthly ¶
type PatchdeploymentMonthly struct { /* Immutable. One day of the month. 1-31 indicates the 1st to the 31st day. -1 indicates the last day of the month. Months without the target day will be skipped. For example, a schedule to run "every month on the 31st" will not run in February, April, June, etc. */ // +optional MonthDay *int64 `json:"monthDay,omitempty"` /* Immutable. Week day in a month. */ // +optional WeekDayOfMonth *PatchdeploymentWeekDayOfMonth `json:"weekDayOfMonth,omitempty"` }
func (*PatchdeploymentMonthly) DeepCopy ¶
func (in *PatchdeploymentMonthly) DeepCopy() *PatchdeploymentMonthly
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentMonthly.
func (*PatchdeploymentMonthly) DeepCopyInto ¶
func (in *PatchdeploymentMonthly) DeepCopyInto(out *PatchdeploymentMonthly)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentOneTimeSchedule ¶
type PatchdeploymentOneTimeSchedule struct { /* Immutable. The desired patch job execution time. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". */ ExecuteTime string `json:"executeTime"` }
func (*PatchdeploymentOneTimeSchedule) DeepCopy ¶
func (in *PatchdeploymentOneTimeSchedule) DeepCopy() *PatchdeploymentOneTimeSchedule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentOneTimeSchedule.
func (*PatchdeploymentOneTimeSchedule) DeepCopyInto ¶
func (in *PatchdeploymentOneTimeSchedule) DeepCopyInto(out *PatchdeploymentOneTimeSchedule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentPatchConfig ¶
type PatchdeploymentPatchConfig struct { /* Immutable. Apt update settings. Use this setting to override the default apt patch rules. */ // +optional Apt *PatchdeploymentApt `json:"apt,omitempty"` /* Immutable. goo update settings. Use this setting to override the default goo patch rules. */ // +optional Goo *PatchdeploymentGoo `json:"goo,omitempty"` /* Immutable. Allows the patch job to run on Managed instance groups (MIGs). */ // +optional MigInstancesAllowed *bool `json:"migInstancesAllowed,omitempty"` /* Immutable. The ExecStep to run after the patch update. */ // +optional PostStep *PatchdeploymentPostStep `json:"postStep,omitempty"` /* Immutable. The ExecStep to run before the patch update. */ // +optional PreStep *PatchdeploymentPreStep `json:"preStep,omitempty"` /* Immutable. Post-patch reboot settings. Possible values: ["DEFAULT", "ALWAYS", "NEVER"]. */ // +optional RebootConfig *string `json:"rebootConfig,omitempty"` /* Immutable. Windows update settings. Use this setting to override the default Windows patch rules. */ // +optional WindowsUpdate *PatchdeploymentWindowsUpdate `json:"windowsUpdate,omitempty"` /* Immutable. Yum update settings. Use this setting to override the default yum patch rules. */ // +optional Yum *PatchdeploymentYum `json:"yum,omitempty"` /* Immutable. zypper update settings. Use this setting to override the default zypper patch rules. */ // +optional Zypper *PatchdeploymentZypper `json:"zypper,omitempty"` }
func (*PatchdeploymentPatchConfig) DeepCopy ¶
func (in *PatchdeploymentPatchConfig) DeepCopy() *PatchdeploymentPatchConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentPatchConfig.
func (*PatchdeploymentPatchConfig) DeepCopyInto ¶
func (in *PatchdeploymentPatchConfig) DeepCopyInto(out *PatchdeploymentPatchConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentPostStep ¶
type PatchdeploymentPostStep struct { /* Immutable. The ExecStepConfig for all Linux VMs targeted by the PatchJob. */ // +optional LinuxExecStepConfig *PatchdeploymentLinuxExecStepConfig `json:"linuxExecStepConfig,omitempty"` /* Immutable. The ExecStepConfig for all Windows VMs targeted by the PatchJob. */ // +optional WindowsExecStepConfig *PatchdeploymentWindowsExecStepConfig `json:"windowsExecStepConfig,omitempty"` }
func (*PatchdeploymentPostStep) DeepCopy ¶
func (in *PatchdeploymentPostStep) DeepCopy() *PatchdeploymentPostStep
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentPostStep.
func (*PatchdeploymentPostStep) DeepCopyInto ¶
func (in *PatchdeploymentPostStep) DeepCopyInto(out *PatchdeploymentPostStep)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentPreStep ¶
type PatchdeploymentPreStep struct { /* Immutable. The ExecStepConfig for all Linux VMs targeted by the PatchJob. */ // +optional LinuxExecStepConfig *PatchdeploymentLinuxExecStepConfig `json:"linuxExecStepConfig,omitempty"` /* Immutable. The ExecStepConfig for all Windows VMs targeted by the PatchJob. */ // +optional WindowsExecStepConfig *PatchdeploymentWindowsExecStepConfig `json:"windowsExecStepConfig,omitempty"` }
func (*PatchdeploymentPreStep) DeepCopy ¶
func (in *PatchdeploymentPreStep) DeepCopy() *PatchdeploymentPreStep
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentPreStep.
func (*PatchdeploymentPreStep) DeepCopyInto ¶
func (in *PatchdeploymentPreStep) DeepCopyInto(out *PatchdeploymentPreStep)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentRecurringSchedule ¶
type PatchdeploymentRecurringSchedule struct { /* Immutable. The end time at which a recurring patch deployment schedule is no longer active. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". */ // +optional EndTime *string `json:"endTime,omitempty"` /* The time the last patch job ran successfully. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". */ // +optional LastExecuteTime *string `json:"lastExecuteTime,omitempty"` /* Immutable. Schedule with monthly executions. */ // +optional Monthly *PatchdeploymentMonthly `json:"monthly,omitempty"` /* The time the next patch job is scheduled to run. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". */ // +optional NextExecuteTime *string `json:"nextExecuteTime,omitempty"` /* Immutable. The time that the recurring schedule becomes effective. Defaults to createTime of the patch deployment. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". */ // +optional StartTime *string `json:"startTime,omitempty"` /* Immutable. Time of the day to run a recurring deployment. */ TimeOfDay PatchdeploymentTimeOfDay `json:"timeOfDay"` /* Immutable. Defines the time zone that timeOfDay is relative to. The rules for daylight saving time are determined by the chosen time zone. */ TimeZone PatchdeploymentTimeZone `json:"timeZone"` /* Immutable. Schedule with weekly executions. */ // +optional Weekly *PatchdeploymentWeekly `json:"weekly,omitempty"` }
func (*PatchdeploymentRecurringSchedule) DeepCopy ¶
func (in *PatchdeploymentRecurringSchedule) DeepCopy() *PatchdeploymentRecurringSchedule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentRecurringSchedule.
func (*PatchdeploymentRecurringSchedule) DeepCopyInto ¶
func (in *PatchdeploymentRecurringSchedule) DeepCopyInto(out *PatchdeploymentRecurringSchedule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentRollout ¶
type PatchdeploymentRollout struct { /* Immutable. The maximum number (or percentage) of VMs per zone to disrupt at any given moment. The number of VMs calculated from multiplying the percentage by the total number of VMs in a zone is rounded up. During patching, a VM is considered disrupted from the time the agent is notified to begin until patching has completed. This disruption time includes the time to complete reboot and any post-patch steps. A VM contributes to the disruption budget if its patching operation fails either when applying the patches, running pre or post patch steps, or if it fails to respond with a success notification before timing out. VMs that are not running or do not have an active agent do not count toward this disruption budget. For zone-by-zone rollouts, if the disruption budget in a zone is exceeded, the patch job stops, because continuing to the next zone requires completion of the patch process in the previous zone. For example, if the disruption budget has a fixed value of 10, and 8 VMs fail to patch in the current zone, the patch job continues to patch 2 VMs at a time until the zone is completed. When that zone is completed successfully, patching begins with 10 VMs at a time in the next zone. If 10 VMs in the next zone fail to patch, the patch job stops. */ DisruptionBudget PatchdeploymentDisruptionBudget `json:"disruptionBudget"` /* Immutable. Mode of the patch rollout. Possible values: ["ZONE_BY_ZONE", "CONCURRENT_ZONES"]. */ Mode string `json:"mode"` }
func (*PatchdeploymentRollout) DeepCopy ¶
func (in *PatchdeploymentRollout) DeepCopy() *PatchdeploymentRollout
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentRollout.
func (*PatchdeploymentRollout) DeepCopyInto ¶
func (in *PatchdeploymentRollout) DeepCopyInto(out *PatchdeploymentRollout)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentTimeOfDay ¶
type PatchdeploymentTimeOfDay struct { /* Immutable. Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. */ // +optional Hours *int64 `json:"hours,omitempty"` /* Immutable. Minutes of hour of day. Must be from 0 to 59. */ // +optional Minutes *int64 `json:"minutes,omitempty"` /* Immutable. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. */ // +optional Nanos *int64 `json:"nanos,omitempty"` /* Immutable. Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds. */ // +optional Seconds *int64 `json:"seconds,omitempty"` }
func (*PatchdeploymentTimeOfDay) DeepCopy ¶
func (in *PatchdeploymentTimeOfDay) DeepCopy() *PatchdeploymentTimeOfDay
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentTimeOfDay.
func (*PatchdeploymentTimeOfDay) DeepCopyInto ¶
func (in *PatchdeploymentTimeOfDay) DeepCopyInto(out *PatchdeploymentTimeOfDay)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentTimeZone ¶
type PatchdeploymentTimeZone struct { /* Immutable. IANA Time Zone Database time zone, e.g. "America/New_York". */ Id string `json:"id"` /* Immutable. IANA Time Zone Database version number, e.g. "2019a". */ // +optional Version *string `json:"version,omitempty"` }
func (*PatchdeploymentTimeZone) DeepCopy ¶
func (in *PatchdeploymentTimeZone) DeepCopy() *PatchdeploymentTimeZone
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentTimeZone.
func (*PatchdeploymentTimeZone) DeepCopyInto ¶
func (in *PatchdeploymentTimeZone) DeepCopyInto(out *PatchdeploymentTimeZone)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentWeekDayOfMonth ¶
type PatchdeploymentWeekDayOfMonth struct { /* Immutable. A day of the week. Possible values: ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]. */ DayOfWeek string `json:"dayOfWeek"` /* Immutable. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1 indicates the last week of the month. */ WeekOrdinal int64 `json:"weekOrdinal"` }
func (*PatchdeploymentWeekDayOfMonth) DeepCopy ¶
func (in *PatchdeploymentWeekDayOfMonth) DeepCopy() *PatchdeploymentWeekDayOfMonth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentWeekDayOfMonth.
func (*PatchdeploymentWeekDayOfMonth) DeepCopyInto ¶
func (in *PatchdeploymentWeekDayOfMonth) DeepCopyInto(out *PatchdeploymentWeekDayOfMonth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentWeekly ¶
type PatchdeploymentWeekly struct { /* Immutable. IANA Time Zone Database time zone, e.g. "America/New_York". Possible values: ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]. */ DayOfWeek string `json:"dayOfWeek"` }
func (*PatchdeploymentWeekly) DeepCopy ¶
func (in *PatchdeploymentWeekly) DeepCopy() *PatchdeploymentWeekly
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentWeekly.
func (*PatchdeploymentWeekly) DeepCopyInto ¶
func (in *PatchdeploymentWeekly) DeepCopyInto(out *PatchdeploymentWeekly)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentWindowsExecStepConfig ¶
type PatchdeploymentWindowsExecStepConfig struct { /* Immutable. Defaults to [0]. A list of possible return values that the execution can return to indicate a success. */ // +optional AllowedSuccessCodes []int64 `json:"allowedSuccessCodes,omitempty"` /* Immutable. A Cloud Storage object containing the executable. */ // +optional GcsObject *PatchdeploymentGcsObject `json:"gcsObject,omitempty"` /* Immutable. 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. Possible values: ["SHELL", "POWERSHELL"]. */ // +optional Interpreter *string `json:"interpreter,omitempty"` /* Immutable. An absolute path to the executable on the VM. */ // +optional LocalPath *string `json:"localPath,omitempty"` }
func (*PatchdeploymentWindowsExecStepConfig) DeepCopy ¶
func (in *PatchdeploymentWindowsExecStepConfig) DeepCopy() *PatchdeploymentWindowsExecStepConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentWindowsExecStepConfig.
func (*PatchdeploymentWindowsExecStepConfig) DeepCopyInto ¶
func (in *PatchdeploymentWindowsExecStepConfig) DeepCopyInto(out *PatchdeploymentWindowsExecStepConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentWindowsUpdate ¶
type PatchdeploymentWindowsUpdate struct { /* Immutable. Only apply updates of these windows update classifications. If empty, all updates are applied. Possible values: ["CRITICAL", "SECURITY", "DEFINITION", "DRIVER", "FEATURE_PACK", "SERVICE_PACK", "TOOL", "UPDATE_ROLLUP", "UPDATE"]. */ // +optional Classifications []string `json:"classifications,omitempty"` /* Immutable. List of KBs to exclude from update. */ // +optional Excludes []string `json:"excludes,omitempty"` /* Immutable. 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. */ // +optional ExclusivePatches []string `json:"exclusivePatches,omitempty"` }
func (*PatchdeploymentWindowsUpdate) DeepCopy ¶
func (in *PatchdeploymentWindowsUpdate) DeepCopy() *PatchdeploymentWindowsUpdate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentWindowsUpdate.
func (*PatchdeploymentWindowsUpdate) DeepCopyInto ¶
func (in *PatchdeploymentWindowsUpdate) DeepCopyInto(out *PatchdeploymentWindowsUpdate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentYum ¶
type PatchdeploymentYum struct { /* Immutable. List of packages to exclude from update. These packages will be excluded. */ // +optional Excludes []string `json:"excludes,omitempty"` /* Immutable. 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. */ // +optional ExclusivePackages []string `json:"exclusivePackages,omitempty"` /* Immutable. Will cause patch to run yum update-minimal instead. */ // +optional Minimal *bool `json:"minimal,omitempty"` /* Immutable. Adds the --security flag to yum update. Not supported on all platforms. */ // +optional Security *bool `json:"security,omitempty"` }
func (*PatchdeploymentYum) DeepCopy ¶
func (in *PatchdeploymentYum) DeepCopy() *PatchdeploymentYum
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentYum.
func (*PatchdeploymentYum) DeepCopyInto ¶
func (in *PatchdeploymentYum) DeepCopyInto(out *PatchdeploymentYum)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchdeploymentZypper ¶
type PatchdeploymentZypper struct { /* Immutable. Install only patches with these categories. Common categories include security, recommended, and feature. */ // +optional Categories []string `json:"categories,omitempty"` /* Immutable. List of packages to exclude from update. */ // +optional Excludes []string `json:"excludes,omitempty"` /* Immutable. An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:' command. This field must not be used with any other patch configuration fields. */ // +optional ExclusivePatches []string `json:"exclusivePatches,omitempty"` /* Immutable. Install only patches with these severities. Common severities include critical, important, moderate, and low. */ // +optional Severities []string `json:"severities,omitempty"` /* Immutable. Adds the --with-optional flag to zypper patch. */ // +optional WithOptional *bool `json:"withOptional,omitempty"` /* Immutable. Adds the --with-update flag, to zypper patch. */ // +optional WithUpdate *bool `json:"withUpdate,omitempty"` }
func (*PatchdeploymentZypper) DeepCopy ¶
func (in *PatchdeploymentZypper) DeepCopy() *PatchdeploymentZypper
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchdeploymentZypper.
func (*PatchdeploymentZypper) DeepCopyInto ¶
func (in *PatchdeploymentZypper) DeepCopyInto(out *PatchdeploymentZypper)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.