Documentation ¶
Index ¶
- func NewStatefulPod(client client.Client) services.ServiceInf
- type StatefulPodService
- func (sfp *StatefulPodService) Create(ctx context.Context, obj interface{}) (interface{}, error)
- func (sfp *StatefulPodService) CreateTemplate(ctx context.Context, statefulPod *iapetosapiv1.StatefulPod, name string, ...) interface{}
- func (sfp *StatefulPodService) Delete(ctx context.Context, obj interface{}) error
- func (sfp *StatefulPodService) DeleteMandatory(ctx context.Context, obj interface{}, statefulPod *iapetosapiv1.StatefulPod) error
- func (sfp *StatefulPodService) Get(ctx context.Context, nameSpaceName types.NamespacedName) (interface{}, error)
- func (sfp *StatefulPodService) GetName(statefulPod *iapetosapiv1.StatefulPod, index int) *string
- func (sfp *StatefulPodService) IsExists(ctx context.Context, nameSpaceName types.NamespacedName) (interface{}, bool)
- func (sfp *StatefulPodService) IsResourceVersionSame(ctx context.Context, obj interface{}) bool
- func (sfp *StatefulPodService) Update(ctx context.Context, obj interface{}) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStatefulPod ¶
func NewStatefulPod(client client.Client) services.ServiceInf
Types ¶
type StatefulPodService ¶
func (*StatefulPodService) Create ¶
func (sfp *StatefulPodService) Create(ctx context.Context, obj interface{}) (interface{}, error)
func (*StatefulPodService) CreateTemplate ¶
func (sfp *StatefulPodService) CreateTemplate(ctx context.Context, statefulPod *iapetosapiv1.StatefulPod, name string, index int) interface{}
func (*StatefulPodService) Delete ¶
func (sfp *StatefulPodService) Delete(ctx context.Context, obj interface{}) error
func (*StatefulPodService) DeleteMandatory ¶
func (sfp *StatefulPodService) DeleteMandatory(ctx context.Context, obj interface{}, statefulPod *iapetosapiv1.StatefulPod) error
func (*StatefulPodService) Get ¶
func (sfp *StatefulPodService) Get(ctx context.Context, nameSpaceName types.NamespacedName) (interface{}, error)
func (*StatefulPodService) GetName ¶
func (sfp *StatefulPodService) GetName(statefulPod *iapetosapiv1.StatefulPod, index int) *string
func (*StatefulPodService) IsExists ¶
func (sfp *StatefulPodService) IsExists(ctx context.Context, nameSpaceName types.NamespacedName) (interface{}, bool)
func (*StatefulPodService) IsResourceVersionSame ¶
func (sfp *StatefulPodService) IsResourceVersionSame(ctx context.Context, obj interface{}) bool
Click to show internal directories.
Click to hide internal directories.