apis

package
v2.0.10 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2025 License: MIT Imports: 3 Imported by: 6

Documentation

Overview

Package shared contains types and functions used by API definitions in the operators package +groupName=operators.webcenter.fr

Index

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

type MapAny struct {
	// Data is the map[string]any contend
	Data map[string]any `json:"-"`
}

MapAny is YAML map[string]any representation +kubebuilder:validation:Type=object

func (*MapAny) DeepCopy

func (in *MapAny) DeepCopy() *MapAny

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MapAny.

func (*MapAny) DeepCopyInto

func (ma *MapAny) DeepCopyInto(maCopy *MapAny)

DeepCopyInto is needed by controller

func (MapAny) MarshalJSON

func (ma MapAny) MarshalJSON() ([]byte, error)

MarshalJSON implements the Marshaler interface.

func (*MapAny) UnmarshalJSON

func (ma *MapAny) UnmarshalJSON(data []byte) error

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

Jump to

Keyboard shortcuts

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