infomanifest

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 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

Types

type Controller

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

func (*Controller) EnsureGlobalInfoManifestBeingLatest added in v0.2.3

func (c *Controller) EnsureGlobalInfoManifestBeingLatest(latestInfoManifest *kubeaninfomanifestv1alpha1.KubeanInfoManifest) (*kubeaninfomanifestv1alpha1.KubeanInfoManifest, error)

func (*Controller) FetchGlobalInfoManifest added in v0.2.3

func (c *Controller) FetchGlobalInfoManifest() (*kubeaninfomanifestv1alpha1.KubeanInfoManifest, error)

func (*Controller) FetchLatestInfoManifest added in v0.2.3

func (c *Controller) FetchLatestInfoManifest() (*kubeaninfomanifestv1alpha1.KubeanInfoManifest, 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) (*kubeaninfomanifestv1alpha1.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