kubernetes

package
v0.0.0-...-db3a1d9 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MpMaxSize   = 500
	MpFirstPage = 0
)
View Source
var (
	MaxSize   = 500
	FirstPage = 0
)

Functions

func NewRepository

func NewRepository(namespace, piNamespace string, k8sClient client.Client,
	k8sConfig *rest.Config) mp_repository.Repository

func TransformMpToK8s

func TransformMpToK8s(mp *packaging.ModelPackaging, k8sNamespace string) (*v1alpha1.ModelPackaging, error)

Take a look to the documentation of TransformPackagingIntegrationFromK8s

func TransformPackagingIntegrationFromK8s

func TransformPackagingIntegrationFromK8s(pi *v1alpha1.PackagingIntegration) (*packaging.PackagingIntegration, error)

We should save the arguments structure inside json string in k8s -repository Because before < 2.0.0 kubebuilder, it can not handle interface{} field. TODO: make upgrade https://github.com/kubernetes-sigs/kubebuilder/releases/tag/v2.0.0

func TransformPiToK8s

func TransformPiToK8s(pi *packaging.PackagingIntegration, k8sNamespace string) (*v1alpha1.PackagingIntegration, error)

Take a look to the documentation of TransformPackagingIntegrationFromK8s

Types

This section is empty.

Jump to

Keyboard shortcuts

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