Documentation
¶
Overview ¶
Package shared contains types and functions used by API definitions in the operators package +groupName=operators.webcenter.fr
Index ¶
- type DefaultObjectStatus
- func (in *DefaultObjectStatus) DeepCopy() *DefaultObjectStatus
- func (in *DefaultObjectStatus) DeepCopyInto(out *DefaultObjectStatus)
- func (h *DefaultObjectStatus) GetConditions() []metav1.Condition
- func (h *DefaultObjectStatus) GetIsOnError() bool
- func (h *DefaultObjectStatus) GetLastErrorMessage() string
- func (h *DefaultObjectStatus) GetObservedGeneration() int64
- func (h *DefaultObjectStatus) SetConditions(conditions []metav1.Condition)
- func (h *DefaultObjectStatus) SetIsOnError(isError bool)
- func (h *DefaultObjectStatus) SetLastErrorMessage(message string)
- func (h *DefaultObjectStatus) SetObservedGeneration(version int64)
- type MapAny
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultObjectStatus ¶
type DefaultObjectStatus struct {
// IsOnError is true if controller is stuck on Error
// +operator-sdk:csv:customresourcedefinitions:type=status
IsOnError *bool `json:"isOnError,omitempty"`
// List of conditions
// +operator-sdk:csv:customresourcedefinitions:type=status
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
// LastErrorMessage is the current error message
// +operator-sdk:csv:customresourcedefinitions:type=status
LastErrorMessage string `json:"lastErrorMessage,omitempty"`
// observedGeneration is the current generation applied
// +operator-sdk:csv:customresourcedefinitions:type=status
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}
DefaultObjectStatus is the default status for default Object
func (*DefaultObjectStatus) DeepCopy ¶
func (in *DefaultObjectStatus) DeepCopy() *DefaultObjectStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultObjectStatus.
func (*DefaultObjectStatus) DeepCopyInto ¶
func (in *DefaultObjectStatus) DeepCopyInto(out *DefaultObjectStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DefaultObjectStatus) GetConditions ¶
func (h *DefaultObjectStatus) GetConditions() []metav1.Condition
func (*DefaultObjectStatus) GetIsOnError ¶
func (h *DefaultObjectStatus) GetIsOnError() bool
func (*DefaultObjectStatus) GetLastErrorMessage ¶
func (h *DefaultObjectStatus) GetLastErrorMessage() string
func (*DefaultObjectStatus) GetObservedGeneration ¶
func (h *DefaultObjectStatus) GetObservedGeneration() int64
func (*DefaultObjectStatus) SetConditions ¶
func (h *DefaultObjectStatus) SetConditions(conditions []metav1.Condition)
func (*DefaultObjectStatus) SetIsOnError ¶
func (h *DefaultObjectStatus) SetIsOnError(isError bool)
func (*DefaultObjectStatus) SetLastErrorMessage ¶
func (h *DefaultObjectStatus) SetLastErrorMessage(message string)
func (*DefaultObjectStatus) SetObservedGeneration ¶
func (h *DefaultObjectStatus) SetObservedGeneration(version int64)
type MapAny ¶
MapAny is YAML map[string]any representation +kubebuilder:validation:Type=object
func (*MapAny) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MapAny.
func (*MapAny) DeepCopyInto ¶
DeepCopyInto is needed by controller
func (MapAny) MarshalJSON ¶
MarshalJSON implements the Marshaler interface.
func (*MapAny) UnmarshalJSON ¶
UnmarshalJSON implements the Unmarshaler interface.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package shared contains types and functions used by API definitions in the operators package +groupName=operators.webcenter.fr
|
Package shared contains types and functions used by API definitions in the operators package +groupName=operators.webcenter.fr |
|
Package shared contains types and functions used by API definitions in the operators package +groupName=operators.webcenter.fr
|
Package shared contains types and functions used by API definitions in the operators package +groupName=operators.webcenter.fr |
|
Package shared contains types and functions used by API definitions in the operators package +groupName=operators.webcenter.fr
|
Package shared contains types and functions used by API definitions in the operators package +groupName=operators.webcenter.fr |