Documentation ¶
Index ¶
- type LogEntryApplyConfiguration
- func (b *LogEntryApplyConfiguration) WithLatency(value v1.Duration) *LogEntryApplyConfiguration
- func (b *LogEntryApplyConfiguration) WithMessage(value string) *LogEntryApplyConfiguration
- func (b *LogEntryApplyConfiguration) WithReason(value string) *LogEntryApplyConfiguration
- func (b *LogEntryApplyConfiguration) WithStart(value v1.Time) *LogEntryApplyConfiguration
- func (b *LogEntryApplyConfiguration) WithSuccess(value bool) *LogEntryApplyConfiguration
- type OutageEntryApplyConfiguration
- func (b *OutageEntryApplyConfiguration) WithEnd(value v1.Time) *OutageEntryApplyConfiguration
- func (b *OutageEntryApplyConfiguration) WithEndLogs(values ...*LogEntryApplyConfiguration) *OutageEntryApplyConfiguration
- func (b *OutageEntryApplyConfiguration) WithMessage(value string) *OutageEntryApplyConfiguration
- func (b *OutageEntryApplyConfiguration) WithStart(value v1.Time) *OutageEntryApplyConfiguration
- func (b *OutageEntryApplyConfiguration) WithStartLogs(values ...*LogEntryApplyConfiguration) *OutageEntryApplyConfiguration
- type PodNetworkConnectivityCheckApplyConfiguration
- func ExtractPodNetworkConnectivityCheck(...) (*PodNetworkConnectivityCheckApplyConfiguration, error)
- func ExtractPodNetworkConnectivityCheckStatus(...) (*PodNetworkConnectivityCheckApplyConfiguration, error)
- func PodNetworkConnectivityCheck(name, namespace string) *PodNetworkConnectivityCheckApplyConfiguration
- func (b *PodNetworkConnectivityCheckApplyConfiguration) WithAPIVersion(value string) *PodNetworkConnectivityCheckApplyConfiguration
- func (b *PodNetworkConnectivityCheckApplyConfiguration) WithAnnotations(entries map[string]string) *PodNetworkConnectivityCheckApplyConfiguration
- func (b *PodNetworkConnectivityCheckApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PodNetworkConnectivityCheckApplyConfiguration
- func (b *PodNetworkConnectivityCheckApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PodNetworkConnectivityCheckApplyConfiguration
- func (b *PodNetworkConnectivityCheckApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PodNetworkConnectivityCheckApplyConfiguration
- func (b *PodNetworkConnectivityCheckApplyConfiguration) WithFinalizers(values ...string) *PodNetworkConnectivityCheckApplyConfiguration
- func (b *PodNetworkConnectivityCheckApplyConfiguration) WithGenerateName(value string) *PodNetworkConnectivityCheckApplyConfiguration
- func (b *PodNetworkConnectivityCheckApplyConfiguration) WithGeneration(value int64) *PodNetworkConnectivityCheckApplyConfiguration
- func (b *PodNetworkConnectivityCheckApplyConfiguration) WithKind(value string) *PodNetworkConnectivityCheckApplyConfiguration
- func (b *PodNetworkConnectivityCheckApplyConfiguration) WithLabels(entries map[string]string) *PodNetworkConnectivityCheckApplyConfiguration
- func (b *PodNetworkConnectivityCheckApplyConfiguration) WithName(value string) *PodNetworkConnectivityCheckApplyConfiguration
- func (b *PodNetworkConnectivityCheckApplyConfiguration) WithNamespace(value string) *PodNetworkConnectivityCheckApplyConfiguration
- func (b *PodNetworkConnectivityCheckApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PodNetworkConnectivityCheckApplyConfiguration
- func (b *PodNetworkConnectivityCheckApplyConfiguration) WithResourceVersion(value string) *PodNetworkConnectivityCheckApplyConfiguration
- func (b *PodNetworkConnectivityCheckApplyConfiguration) WithSpec(value *PodNetworkConnectivityCheckSpecApplyConfiguration) *PodNetworkConnectivityCheckApplyConfiguration
- func (b *PodNetworkConnectivityCheckApplyConfiguration) WithStatus(value *PodNetworkConnectivityCheckStatusApplyConfiguration) *PodNetworkConnectivityCheckApplyConfiguration
- func (b *PodNetworkConnectivityCheckApplyConfiguration) WithUID(value types.UID) *PodNetworkConnectivityCheckApplyConfiguration
- type PodNetworkConnectivityCheckConditionApplyConfiguration
- func (b *PodNetworkConnectivityCheckConditionApplyConfiguration) WithLastTransitionTime(value v1.Time) *PodNetworkConnectivityCheckConditionApplyConfiguration
- func (b *PodNetworkConnectivityCheckConditionApplyConfiguration) WithMessage(value string) *PodNetworkConnectivityCheckConditionApplyConfiguration
- func (b *PodNetworkConnectivityCheckConditionApplyConfiguration) WithReason(value string) *PodNetworkConnectivityCheckConditionApplyConfiguration
- func (b *PodNetworkConnectivityCheckConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *PodNetworkConnectivityCheckConditionApplyConfiguration
- func (b *PodNetworkConnectivityCheckConditionApplyConfiguration) WithType(value v1alpha1.PodNetworkConnectivityCheckConditionType) *PodNetworkConnectivityCheckConditionApplyConfiguration
- type PodNetworkConnectivityCheckSpecApplyConfiguration
- func (b *PodNetworkConnectivityCheckSpecApplyConfiguration) WithSourcePod(value string) *PodNetworkConnectivityCheckSpecApplyConfiguration
- func (b *PodNetworkConnectivityCheckSpecApplyConfiguration) WithTLSClientCert(value v1.SecretNameReference) *PodNetworkConnectivityCheckSpecApplyConfiguration
- func (b *PodNetworkConnectivityCheckSpecApplyConfiguration) WithTargetEndpoint(value string) *PodNetworkConnectivityCheckSpecApplyConfiguration
- type PodNetworkConnectivityCheckStatusApplyConfiguration
- func (b *PodNetworkConnectivityCheckStatusApplyConfiguration) WithConditions(values ...*PodNetworkConnectivityCheckConditionApplyConfiguration) *PodNetworkConnectivityCheckStatusApplyConfiguration
- func (b *PodNetworkConnectivityCheckStatusApplyConfiguration) WithFailures(values ...*LogEntryApplyConfiguration) *PodNetworkConnectivityCheckStatusApplyConfiguration
- func (b *PodNetworkConnectivityCheckStatusApplyConfiguration) WithOutages(values ...*OutageEntryApplyConfiguration) *PodNetworkConnectivityCheckStatusApplyConfiguration
- func (b *PodNetworkConnectivityCheckStatusApplyConfiguration) WithSuccesses(values ...*LogEntryApplyConfiguration) *PodNetworkConnectivityCheckStatusApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogEntryApplyConfiguration ¶
type LogEntryApplyConfiguration struct { Start *v1.Time `json:"time,omitempty"` Success *bool `json:"success,omitempty"` Reason *string `json:"reason,omitempty"` Message *string `json:"message,omitempty"` Latency *v1.Duration `json:"latency,omitempty"` }
LogEntryApplyConfiguration represents an declarative configuration of the LogEntry type for use with apply.
func LogEntry ¶
func LogEntry() *LogEntryApplyConfiguration
LogEntryApplyConfiguration constructs an declarative configuration of the LogEntry type for use with apply.
func (*LogEntryApplyConfiguration) WithLatency ¶
func (b *LogEntryApplyConfiguration) WithLatency(value v1.Duration) *LogEntryApplyConfiguration
WithLatency sets the Latency field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Latency field is set to the value of the last call.
func (*LogEntryApplyConfiguration) WithMessage ¶
func (b *LogEntryApplyConfiguration) WithMessage(value string) *LogEntryApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*LogEntryApplyConfiguration) WithReason ¶
func (b *LogEntryApplyConfiguration) WithReason(value string) *LogEntryApplyConfiguration
WithReason sets the Reason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reason field is set to the value of the last call.
func (*LogEntryApplyConfiguration) WithStart ¶
func (b *LogEntryApplyConfiguration) WithStart(value v1.Time) *LogEntryApplyConfiguration
WithStart sets the Start field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Start field is set to the value of the last call.
func (*LogEntryApplyConfiguration) WithSuccess ¶
func (b *LogEntryApplyConfiguration) WithSuccess(value bool) *LogEntryApplyConfiguration
WithSuccess sets the Success field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Success field is set to the value of the last call.
type OutageEntryApplyConfiguration ¶
type OutageEntryApplyConfiguration struct { Start *v1.Time `json:"start,omitempty"` End *v1.Time `json:"end,omitempty"` StartLogs []LogEntryApplyConfiguration `json:"startLogs,omitempty"` EndLogs []LogEntryApplyConfiguration `json:"endLogs,omitempty"` Message *string `json:"message,omitempty"` }
OutageEntryApplyConfiguration represents an declarative configuration of the OutageEntry type for use with apply.
func OutageEntry ¶
func OutageEntry() *OutageEntryApplyConfiguration
OutageEntryApplyConfiguration constructs an declarative configuration of the OutageEntry type for use with apply.
func (*OutageEntryApplyConfiguration) WithEnd ¶
func (b *OutageEntryApplyConfiguration) WithEnd(value v1.Time) *OutageEntryApplyConfiguration
WithEnd sets the End field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the End field is set to the value of the last call.
func (*OutageEntryApplyConfiguration) WithEndLogs ¶
func (b *OutageEntryApplyConfiguration) WithEndLogs(values ...*LogEntryApplyConfiguration) *OutageEntryApplyConfiguration
WithEndLogs adds the given value to the EndLogs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the EndLogs field.
func (*OutageEntryApplyConfiguration) WithMessage ¶
func (b *OutageEntryApplyConfiguration) WithMessage(value string) *OutageEntryApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*OutageEntryApplyConfiguration) WithStart ¶
func (b *OutageEntryApplyConfiguration) WithStart(value v1.Time) *OutageEntryApplyConfiguration
WithStart sets the Start field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Start field is set to the value of the last call.
func (*OutageEntryApplyConfiguration) WithStartLogs ¶
func (b *OutageEntryApplyConfiguration) WithStartLogs(values ...*LogEntryApplyConfiguration) *OutageEntryApplyConfiguration
WithStartLogs adds the given value to the StartLogs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the StartLogs field.
type PodNetworkConnectivityCheckApplyConfiguration ¶
type PodNetworkConnectivityCheckApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *PodNetworkConnectivityCheckSpecApplyConfiguration `json:"spec,omitempty"` Status *PodNetworkConnectivityCheckStatusApplyConfiguration `json:"status,omitempty"` }
PodNetworkConnectivityCheckApplyConfiguration represents an declarative configuration of the PodNetworkConnectivityCheck type for use with apply.
func ExtractPodNetworkConnectivityCheck ¶
func ExtractPodNetworkConnectivityCheck(podNetworkConnectivityCheck *operatorcontrolplanev1alpha1.PodNetworkConnectivityCheck, fieldManager string) (*PodNetworkConnectivityCheckApplyConfiguration, error)
ExtractPodNetworkConnectivityCheck extracts the applied configuration owned by fieldManager from podNetworkConnectivityCheck. If no managedFields are found in podNetworkConnectivityCheck for fieldManager, a PodNetworkConnectivityCheckApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. podNetworkConnectivityCheck must be a unmodified PodNetworkConnectivityCheck API object that was retrieved from the Kubernetes API. ExtractPodNetworkConnectivityCheck provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractPodNetworkConnectivityCheckStatus ¶
func ExtractPodNetworkConnectivityCheckStatus(podNetworkConnectivityCheck *operatorcontrolplanev1alpha1.PodNetworkConnectivityCheck, fieldManager string) (*PodNetworkConnectivityCheckApplyConfiguration, error)
ExtractPodNetworkConnectivityCheckStatus is the same as ExtractPodNetworkConnectivityCheck except that it extracts the status subresource applied configuration. Experimental!
func PodNetworkConnectivityCheck ¶
func PodNetworkConnectivityCheck(name, namespace string) *PodNetworkConnectivityCheckApplyConfiguration
PodNetworkConnectivityCheck constructs an declarative configuration of the PodNetworkConnectivityCheck type for use with apply.
func (*PodNetworkConnectivityCheckApplyConfiguration) WithAPIVersion ¶
func (b *PodNetworkConnectivityCheckApplyConfiguration) WithAPIVersion(value string) *PodNetworkConnectivityCheckApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*PodNetworkConnectivityCheckApplyConfiguration) WithAnnotations ¶
func (b *PodNetworkConnectivityCheckApplyConfiguration) WithAnnotations(entries map[string]string) *PodNetworkConnectivityCheckApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*PodNetworkConnectivityCheckApplyConfiguration) WithCreationTimestamp ¶
func (b *PodNetworkConnectivityCheckApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PodNetworkConnectivityCheckApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*PodNetworkConnectivityCheckApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *PodNetworkConnectivityCheckApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PodNetworkConnectivityCheckApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*PodNetworkConnectivityCheckApplyConfiguration) WithDeletionTimestamp ¶
func (b *PodNetworkConnectivityCheckApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PodNetworkConnectivityCheckApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*PodNetworkConnectivityCheckApplyConfiguration) WithFinalizers ¶
func (b *PodNetworkConnectivityCheckApplyConfiguration) WithFinalizers(values ...string) *PodNetworkConnectivityCheckApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*PodNetworkConnectivityCheckApplyConfiguration) WithGenerateName ¶
func (b *PodNetworkConnectivityCheckApplyConfiguration) WithGenerateName(value string) *PodNetworkConnectivityCheckApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*PodNetworkConnectivityCheckApplyConfiguration) WithGeneration ¶
func (b *PodNetworkConnectivityCheckApplyConfiguration) WithGeneration(value int64) *PodNetworkConnectivityCheckApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*PodNetworkConnectivityCheckApplyConfiguration) WithKind ¶
func (b *PodNetworkConnectivityCheckApplyConfiguration) WithKind(value string) *PodNetworkConnectivityCheckApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*PodNetworkConnectivityCheckApplyConfiguration) WithLabels ¶
func (b *PodNetworkConnectivityCheckApplyConfiguration) WithLabels(entries map[string]string) *PodNetworkConnectivityCheckApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*PodNetworkConnectivityCheckApplyConfiguration) WithName ¶
func (b *PodNetworkConnectivityCheckApplyConfiguration) WithName(value string) *PodNetworkConnectivityCheckApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*PodNetworkConnectivityCheckApplyConfiguration) WithNamespace ¶
func (b *PodNetworkConnectivityCheckApplyConfiguration) WithNamespace(value string) *PodNetworkConnectivityCheckApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*PodNetworkConnectivityCheckApplyConfiguration) WithOwnerReferences ¶
func (b *PodNetworkConnectivityCheckApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PodNetworkConnectivityCheckApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*PodNetworkConnectivityCheckApplyConfiguration) WithResourceVersion ¶
func (b *PodNetworkConnectivityCheckApplyConfiguration) WithResourceVersion(value string) *PodNetworkConnectivityCheckApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*PodNetworkConnectivityCheckApplyConfiguration) WithSpec ¶
func (b *PodNetworkConnectivityCheckApplyConfiguration) WithSpec(value *PodNetworkConnectivityCheckSpecApplyConfiguration) *PodNetworkConnectivityCheckApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*PodNetworkConnectivityCheckApplyConfiguration) WithStatus ¶
func (b *PodNetworkConnectivityCheckApplyConfiguration) WithStatus(value *PodNetworkConnectivityCheckStatusApplyConfiguration) *PodNetworkConnectivityCheckApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*PodNetworkConnectivityCheckApplyConfiguration) WithUID ¶
func (b *PodNetworkConnectivityCheckApplyConfiguration) WithUID(value types.UID) *PodNetworkConnectivityCheckApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type PodNetworkConnectivityCheckConditionApplyConfiguration ¶
type PodNetworkConnectivityCheckConditionApplyConfiguration struct { Type *v1alpha1.PodNetworkConnectivityCheckConditionType `json:"type,omitempty"` Status *v1.ConditionStatus `json:"status,omitempty"` Reason *string `json:"reason,omitempty"` Message *string `json:"message,omitempty"` LastTransitionTime *v1.Time `json:"lastTransitionTime,omitempty"` }
PodNetworkConnectivityCheckConditionApplyConfiguration represents an declarative configuration of the PodNetworkConnectivityCheckCondition type for use with apply.
func PodNetworkConnectivityCheckCondition ¶
func PodNetworkConnectivityCheckCondition() *PodNetworkConnectivityCheckConditionApplyConfiguration
PodNetworkConnectivityCheckConditionApplyConfiguration constructs an declarative configuration of the PodNetworkConnectivityCheckCondition type for use with apply.
func (*PodNetworkConnectivityCheckConditionApplyConfiguration) WithLastTransitionTime ¶
func (b *PodNetworkConnectivityCheckConditionApplyConfiguration) WithLastTransitionTime(value v1.Time) *PodNetworkConnectivityCheckConditionApplyConfiguration
WithLastTransitionTime sets the LastTransitionTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastTransitionTime field is set to the value of the last call.
func (*PodNetworkConnectivityCheckConditionApplyConfiguration) WithMessage ¶
func (b *PodNetworkConnectivityCheckConditionApplyConfiguration) WithMessage(value string) *PodNetworkConnectivityCheckConditionApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*PodNetworkConnectivityCheckConditionApplyConfiguration) WithReason ¶
func (b *PodNetworkConnectivityCheckConditionApplyConfiguration) WithReason(value string) *PodNetworkConnectivityCheckConditionApplyConfiguration
WithReason sets the Reason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reason field is set to the value of the last call.
func (*PodNetworkConnectivityCheckConditionApplyConfiguration) WithStatus ¶
func (b *PodNetworkConnectivityCheckConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *PodNetworkConnectivityCheckConditionApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*PodNetworkConnectivityCheckConditionApplyConfiguration) WithType ¶
func (b *PodNetworkConnectivityCheckConditionApplyConfiguration) WithType(value v1alpha1.PodNetworkConnectivityCheckConditionType) *PodNetworkConnectivityCheckConditionApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type PodNetworkConnectivityCheckSpecApplyConfiguration ¶
type PodNetworkConnectivityCheckSpecApplyConfiguration struct { SourcePod *string `json:"sourcePod,omitempty"` TargetEndpoint *string `json:"targetEndpoint,omitempty"` TLSClientCert *v1.SecretNameReference `json:"tlsClientCert,omitempty"` }
PodNetworkConnectivityCheckSpecApplyConfiguration represents an declarative configuration of the PodNetworkConnectivityCheckSpec type for use with apply.
func PodNetworkConnectivityCheckSpec ¶
func PodNetworkConnectivityCheckSpec() *PodNetworkConnectivityCheckSpecApplyConfiguration
PodNetworkConnectivityCheckSpecApplyConfiguration constructs an declarative configuration of the PodNetworkConnectivityCheckSpec type for use with apply.
func (*PodNetworkConnectivityCheckSpecApplyConfiguration) WithSourcePod ¶
func (b *PodNetworkConnectivityCheckSpecApplyConfiguration) WithSourcePod(value string) *PodNetworkConnectivityCheckSpecApplyConfiguration
WithSourcePod sets the SourcePod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SourcePod field is set to the value of the last call.
func (*PodNetworkConnectivityCheckSpecApplyConfiguration) WithTLSClientCert ¶
func (b *PodNetworkConnectivityCheckSpecApplyConfiguration) WithTLSClientCert(value v1.SecretNameReference) *PodNetworkConnectivityCheckSpecApplyConfiguration
WithTLSClientCert sets the TLSClientCert field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TLSClientCert field is set to the value of the last call.
func (*PodNetworkConnectivityCheckSpecApplyConfiguration) WithTargetEndpoint ¶
func (b *PodNetworkConnectivityCheckSpecApplyConfiguration) WithTargetEndpoint(value string) *PodNetworkConnectivityCheckSpecApplyConfiguration
WithTargetEndpoint sets the TargetEndpoint field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TargetEndpoint field is set to the value of the last call.
type PodNetworkConnectivityCheckStatusApplyConfiguration ¶
type PodNetworkConnectivityCheckStatusApplyConfiguration struct { Successes []LogEntryApplyConfiguration `json:"successes,omitempty"` Failures []LogEntryApplyConfiguration `json:"failures,omitempty"` Outages []OutageEntryApplyConfiguration `json:"outages,omitempty"` Conditions []PodNetworkConnectivityCheckConditionApplyConfiguration `json:"conditions,omitempty"` }
PodNetworkConnectivityCheckStatusApplyConfiguration represents an declarative configuration of the PodNetworkConnectivityCheckStatus type for use with apply.
func PodNetworkConnectivityCheckStatus ¶
func PodNetworkConnectivityCheckStatus() *PodNetworkConnectivityCheckStatusApplyConfiguration
PodNetworkConnectivityCheckStatusApplyConfiguration constructs an declarative configuration of the PodNetworkConnectivityCheckStatus type for use with apply.
func (*PodNetworkConnectivityCheckStatusApplyConfiguration) WithConditions ¶
func (b *PodNetworkConnectivityCheckStatusApplyConfiguration) WithConditions(values ...*PodNetworkConnectivityCheckConditionApplyConfiguration) *PodNetworkConnectivityCheckStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*PodNetworkConnectivityCheckStatusApplyConfiguration) WithFailures ¶
func (b *PodNetworkConnectivityCheckStatusApplyConfiguration) WithFailures(values ...*LogEntryApplyConfiguration) *PodNetworkConnectivityCheckStatusApplyConfiguration
WithFailures adds the given value to the Failures field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Failures field.
func (*PodNetworkConnectivityCheckStatusApplyConfiguration) WithOutages ¶
func (b *PodNetworkConnectivityCheckStatusApplyConfiguration) WithOutages(values ...*OutageEntryApplyConfiguration) *PodNetworkConnectivityCheckStatusApplyConfiguration
WithOutages adds the given value to the Outages field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Outages field.
func (*PodNetworkConnectivityCheckStatusApplyConfiguration) WithSuccesses ¶
func (b *PodNetworkConnectivityCheckStatusApplyConfiguration) WithSuccesses(values ...*LogEntryApplyConfiguration) *PodNetworkConnectivityCheckStatusApplyConfiguration
WithSuccesses adds the given value to the Successes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Successes field.