infomanifest

package
v0.4.1-rc1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const LocalServiceConfigMap = "kubean-localservice"
View Source
const Loop = time.Second * 30
View Source
const OriginLabel = "origin"

Variables

This section is empty.

Functions

func NewGlobalInfoManifest added in v0.2.3

func NewGlobalInfoManifest(latestInfoManifest *manifestv1alpha1.Manifest) *manifestv1alpha1.Manifest

Types

type Controller

type Controller struct {
	client.Client
	InfoManifestClientSet manifestClientSet.Interface
	ClientSet             kubernetes.Interface
}

func (*Controller) EnsureGlobalInfoManifestBeingLatest added in v0.2.3

func (c *Controller) EnsureGlobalInfoManifestBeingLatest(latestInfoManifest *manifestv1alpha1.Manifest) (*manifestv1alpha1.Manifest, error)

func (*Controller) FetchGlobalInfoManifest added in v0.2.3

func (c *Controller) FetchGlobalInfoManifest() (*manifestv1alpha1.Manifest, error)

func (*Controller) FetchLatestInfoManifest added in v0.2.3

func (c *Controller) FetchLatestInfoManifest() (*manifestv1alpha1.Manifest, error)

FetchLatestInfoManifest , get infomanifest exclude the global-infomanifest.

func (*Controller) FetchLocalServiceCM added in v0.2.3

func (c *Controller) FetchLocalServiceCM(namespace string) (*corev1.ConfigMap, error)

func (*Controller) ParseConfigMapToLocalService added in v0.2.3

func (c *Controller) ParseConfigMapToLocalService(localServiceConfigMap *corev1.ConfigMap) (*manifestv1alpha1.LocalService, error)

func (*Controller) Reconcile

func (*Controller) SetupWithManager

func (c *Controller) SetupWithManager(mgr controllerruntime.Manager) error

func (*Controller) Start

func (c *Controller) Start(ctx context.Context) error

func (*Controller) UpdateGlobalLocalService added in v0.2.3

func (c *Controller) UpdateGlobalLocalService()

func (*Controller) UpdateLocalAvailableImage added in v0.2.3

func (c *Controller) UpdateLocalAvailableImage()

Jump to

Keyboard shortcuts

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