Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleResource ¶
type SimpleResource[T client.Object] struct { *types.ConvergedGroup DisableUpdate bool Obj T // contains filtered or unexported fields }
func NewSimpleResource ¶
func NewSimpleResource[T client.Object](typeName string, obj T) *SimpleResource[T]
func NewSimpleResourceWithOnCreate ¶
func NewSimpleResourceWithOnCreate[T client.Object](typeName string, obj T, onCreate func(T)) *SimpleResource[T]
func (*SimpleResource[T]) Name ¶
func (s *SimpleResource[T]) Name() string
func (*SimpleResource[T]) Runtime ¶
func (s *SimpleResource[T]) Runtime() client.Object
Runtime returns a new instance of the object without calling DeepCopy. This method uses reflection to create a new instance of the object. If the object is a pointer, it will be dereferenced before creating a new instance. Returns a pointer to the new instance of the object.
func (*SimpleResource[T]) Type ¶
func (s *SimpleResource[T]) Type() string
Click to show internal directories.
Click to hide internal directories.