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