Documentation
¶
Index ¶
- func NewUnstructuredWrapper(obj *unstructured.Unstructured) stream.Definition
- type UnstructuredWrapper
- func (u *UnstructuredWrapper) GetBackend() stream.Backend
- func (u *UnstructuredWrapper) GetJobTemplate(request *v1.BackfillRequest) types.NamespacedName
- func (u *UnstructuredWrapper) GetPreviousBackend(_ context.Context, _ client.Client) (*stream.Backend, error)
- func (u *UnstructuredWrapper) GetSchedule() (string, error)
- func (u *UnstructuredWrapper) NamespacedName() types.NamespacedName
- func (u *UnstructuredWrapper) SetSuspended(suspended bool) error
- func (u *UnstructuredWrapper) StateString() string
- func (u *UnstructuredWrapper) Suspended() bool
- func (u *UnstructuredWrapper) ToUnstructured() *unstructured.Unstructured
- func (u *UnstructuredWrapper) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUnstructuredWrapper ¶
func NewUnstructuredWrapper(obj *unstructured.Unstructured) stream.Definition
NewUnstructuredWrapper creates a new UnstructuredWrapper from the given unstructured object.
Types ¶
type UnstructuredWrapper ¶
type UnstructuredWrapper struct {
common.SecretReferenceReader
*status_v0.StatusWrapper
*common.ConfiguratorProvider
*common.OwnerReferenceProvider
Underlying *unstructured.Unstructured
// contains filtered or unexported fields
}
func (*UnstructuredWrapper) GetBackend ¶
func (u *UnstructuredWrapper) GetBackend() stream.Backend
func (*UnstructuredWrapper) GetJobTemplate ¶
func (u *UnstructuredWrapper) GetJobTemplate(request *v1.BackfillRequest) types.NamespacedName
func (*UnstructuredWrapper) GetPreviousBackend ¶
func (*UnstructuredWrapper) GetSchedule ¶
func (u *UnstructuredWrapper) GetSchedule() (string, error)
func (*UnstructuredWrapper) NamespacedName ¶
func (u *UnstructuredWrapper) NamespacedName() types.NamespacedName
func (*UnstructuredWrapper) SetSuspended ¶
func (u *UnstructuredWrapper) SetSuspended(suspended bool) error
func (*UnstructuredWrapper) StateString ¶
func (u *UnstructuredWrapper) StateString() string
func (*UnstructuredWrapper) Suspended ¶
func (u *UnstructuredWrapper) Suspended() bool
func (*UnstructuredWrapper) ToUnstructured ¶
func (u *UnstructuredWrapper) ToUnstructured() *unstructured.Unstructured
func (*UnstructuredWrapper) Validate ¶
func (u *UnstructuredWrapper) Validate() error
Click to show internal directories.
Click to hide internal directories.