v1alpha1

package
v0.0.0-...-d24fd3e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL