serviceaccount

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceAccount

type ServiceAccount struct {
	// contains filtered or unexported fields
}

ServiceAccount -

func NewServiceAccount

func NewServiceAccount(
	serviceAccount *corev1.ServiceAccount,
	timeout time.Duration,
) *ServiceAccount

NewServiceAccount returns an initialized ServiceAccount

func (*ServiceAccount) CreateOrPatch

func (s *ServiceAccount) CreateOrPatch(
	ctx context.Context,
	h *helper.Helper,
) (ctrl.Result, error)

CreateOrPatch - creates or patches a service account, reconciles after Xs if object won't exist.

func (*ServiceAccount) Delete

func (s *ServiceAccount) Delete(
	ctx context.Context,
	h *helper.Helper,
) error

Delete - delete a service.

Jump to

Keyboard shortcuts

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