statefulpod

package
v0.0.0-...-2af97ec Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStatefulPod

func NewStatefulPod(client client.Client) services.ServiceInf

Types

type StatefulPodService

type StatefulPodService struct {
	*services.Resource
}

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

func (*StatefulPodService) Update

func (sfp *StatefulPodService) Update(ctx context.Context, obj interface{}) (interface{}, error)

Jump to

Keyboard shortcuts

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