local

package
v0.0.0-...-d512ffd Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 101 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMaps

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

func (*ConfigMaps) Apply

func (*ConfigMaps) Create

func (*ConfigMaps) Delete

func (*ConfigMaps) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

func (*ConfigMaps) DeleteCollection

func (*ConfigMaps) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

func (*ConfigMaps) Get

func (cm *ConfigMaps) Get(ctx context.Context, name string, opts metav1.GetOptions) (*corev1api.ConfigMap, error)

func (*ConfigMaps) List

func (*ConfigMaps) Patch

func (*ConfigMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *corev1api.ConfigMap, err error)

func (*ConfigMaps) Update

func (*ConfigMaps) Watch

type Configs

type Configs struct {
	Apps         []kcv1alpha1.App
	PkgInstalls  []pkgv1alpha1.PackageInstall
	Pkgs         []dpv1alpha1.Package
	PkgMetadatas []dpv1alpha1.PackageMetadata
	Secrets      []corev1.Secret
	ConfigMaps   []corev1.ConfigMap
}

func NewConfigFromFiles

func NewConfigFromFiles(paths []string) (Configs, error)

func (*Configs) ApplyNamespace

func (c *Configs) ApplyNamespace(ns string)

func (*Configs) PkgsAsObjects

func (c *Configs) PkgsAsObjects() []runtime.Object

type DetailedCmdRunner

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

func NewDetailedCmdRunner

func NewDetailedCmdRunner(log io.Writer, fullOutput bool) *DetailedCmdRunner

func (DetailedCmdRunner) Run

func (r DetailedCmdRunner) Run(cmd *goexec.Cmd) error

func (DetailedCmdRunner) RunWithCancel

func (r DetailedCmdRunner) RunWithCancel(cmd *goexec.Cmd, cancelCh chan struct{}) error

type MinCoreClient

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

func (*MinCoreClient) AdmissionregistrationV1

func (*MinCoreClient) AppsV1

func (*MinCoreClient) AppsV1beta1

func (*MinCoreClient) AppsV1beta2

func (*MinCoreClient) AuthenticationV1

func (*MinCoreClient) AuthenticationV1alpha1

func (*MinCoreClient) AuthenticationV1beta1

func (*MinCoreClient) AuthorizationV1

func (*MinCoreClient) AuthorizationV1beta1

func (*MinCoreClient) AutoscalingV1

func (*MinCoreClient) AutoscalingV2

func (*MinCoreClient) BatchV1

func (*MinCoreClient) BatchV1beta1

func (*MinCoreClient) CertificatesV1

func (*MinCoreClient) CertificatesV1alpha1

func (*MinCoreClient) CertificatesV1beta1

func (*MinCoreClient) CoordinationV1

func (*MinCoreClient) CoordinationV1alpha2

func (*MinCoreClient) CoordinationV1beta1

func (*MinCoreClient) CoreV1

func (c *MinCoreClient) CoreV1() corev1.CoreV1Interface

func (*MinCoreClient) Discovery

func (*MinCoreClient) DiscoveryV1

func (*MinCoreClient) DiscoveryV1beta1

func (*MinCoreClient) EventsV1

func (*MinCoreClient) EventsV1beta1

func (*MinCoreClient) ExtensionsV1beta1

func (*MinCoreClient) FlowcontrolV1

func (*MinCoreClient) FlowcontrolV1beta1

func (*MinCoreClient) FlowcontrolV1beta2

func (*MinCoreClient) FlowcontrolV1beta3

func (*MinCoreClient) InternalV1alpha1

func (*MinCoreClient) NetworkingV1

func (*MinCoreClient) NetworkingV1beta1

func (*MinCoreClient) NodeV1

func (*MinCoreClient) NodeV1alpha1

func (*MinCoreClient) NodeV1beta1

func (*MinCoreClient) PolicyV1

func (*MinCoreClient) PolicyV1beta1

func (*MinCoreClient) RbacV1

func (*MinCoreClient) RbacV1alpha1

func (*MinCoreClient) RbacV1beta1

func (*MinCoreClient) ResourceV1

Not called; kept for kubernetes.Interface compliance.

func (*MinCoreClient) ResourceV1alpha3

func (*MinCoreClient) ResourceV1beta1

func (*MinCoreClient) ResourceV1beta2

func (*MinCoreClient) SchedulingV1

func (*MinCoreClient) SchedulingV1alpha2

func (*MinCoreClient) SchedulingV1beta1

func (*MinCoreClient) StorageV1

func (*MinCoreClient) StorageV1alpha1

func (*MinCoreClient) StorageV1beta1

func (*MinCoreClient) StoragemigrationV1beta1

type MinCoreV1Client

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

func (*MinCoreV1Client) ComponentStatuses

func (*MinCoreV1Client) ComponentStatuses() corev1.ComponentStatusInterface

func (*MinCoreV1Client) ConfigMaps

func (c *MinCoreV1Client) ConfigMaps(namespace string) corev1.ConfigMapInterface

func (*MinCoreV1Client) Endpoints

func (*MinCoreV1Client) Endpoints(namespace string) corev1.EndpointsInterface

func (*MinCoreV1Client) Events

func (*MinCoreV1Client) Events(namespace string) corev1.EventInterface

func (*MinCoreV1Client) LimitRanges

func (*MinCoreV1Client) LimitRanges(namespace string) corev1.LimitRangeInterface

func (*MinCoreV1Client) Namespaces

func (*MinCoreV1Client) Nodes

func (*MinCoreV1Client) PersistentVolumeClaims

func (*MinCoreV1Client) PersistentVolumeClaims(namespace string) corev1.PersistentVolumeClaimInterface

func (*MinCoreV1Client) PersistentVolumes

func (*MinCoreV1Client) PersistentVolumes() corev1.PersistentVolumeInterface

func (*MinCoreV1Client) PodTemplates

func (*MinCoreV1Client) PodTemplates(namespace string) corev1.PodTemplateInterface

func (*MinCoreV1Client) Pods

func (*MinCoreV1Client) Pods(namespace string) corev1.PodInterface

func (*MinCoreV1Client) RESTClient

func (*MinCoreV1Client) RESTClient() rest.Interface

func (*MinCoreV1Client) ReplicationControllers

func (*MinCoreV1Client) ReplicationControllers(namespace string) corev1.ReplicationControllerInterface

func (*MinCoreV1Client) ResourceQuotas

func (*MinCoreV1Client) ResourceQuotas(namespace string) corev1.ResourceQuotaInterface

func (*MinCoreV1Client) Secrets

func (c *MinCoreV1Client) Secrets(namespace string) corev1.SecretInterface

func (*MinCoreV1Client) ServiceAccounts

func (c *MinCoreV1Client) ServiceAccounts(namespace string) corev1.ServiceAccountInterface

func (*MinCoreV1Client) Services

func (*MinCoreV1Client) Services(namespace string) corev1.ServiceInterface

type MinDiscoveryClient

type MinDiscoveryClient struct{}

Minimum required values to

func (*MinDiscoveryClient) OpenAPISchema

func (*MinDiscoveryClient) OpenAPISchema() (*openapi_v2.Document, error)

func (*MinDiscoveryClient) OpenAPIV3

func (*MinDiscoveryClient) OpenAPIV3() openapi.Client

func (*MinDiscoveryClient) RESTClient

func (*MinDiscoveryClient) RESTClient() rest.Interface

func (*MinDiscoveryClient) ServerGroups

func (*MinDiscoveryClient) ServerGroups() (*metav1.APIGroupList, error)

func (*MinDiscoveryClient) ServerGroupsAndResources

func (*MinDiscoveryClient) ServerGroupsAndResources() ([]*metav1.APIGroup, []*metav1.APIResourceList, error)

func (*MinDiscoveryClient) ServerPreferredNamespacedResources

func (*MinDiscoveryClient) ServerPreferredNamespacedResources() ([]*metav1.APIResourceList, error)

func (*MinDiscoveryClient) ServerPreferredResources

func (*MinDiscoveryClient) ServerPreferredResources() ([]*metav1.APIResourceList, error)

func (*MinDiscoveryClient) ServerResourcesForGroupVersion

func (*MinDiscoveryClient) ServerResourcesForGroupVersion(groupVersion string) (*metav1.APIResourceList, error)

func (*MinDiscoveryClient) ServerVersion

func (*MinDiscoveryClient) ServerVersion() (*version.Info, error)

func (*MinDiscoveryClient) WithLegacy

type ReconcileOpts

type ReconcileOpts struct {
	Local           bool
	KbldBuild       bool
	Delete          bool
	Debug           bool
	DeployResources bool

	BeforeAppReconcile func(kcv1alpha1.App, *fakekc.Clientset) error
	AfterAppReconcile  func(kcv1alpha1.App, *fakekc.Clientset) error
}

type Reconciler

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

func NewReconciler

func NewReconciler(depsFactory cmdcore.DepsFactory,
	cmdRunner exec.CmdRunner, logger logger.Logger) *Reconciler

func (*Reconciler) Reconcile

func (o *Reconciler) Reconcile(configs Configs, opts ReconcileOpts) error

type Secrets

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

func (*Secrets) Apply

func (*Secrets) Create

func (sec *Secrets) Create(ctx context.Context, secret *corev1api.Secret, opts metav1.CreateOptions) (*corev1api.Secret, error)

func (*Secrets) Delete

func (*Secrets) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

func (*Secrets) DeleteCollection

func (*Secrets) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

func (*Secrets) Get

func (sec *Secrets) Get(ctx context.Context, name string, opts metav1.GetOptions) (*corev1api.Secret, error)

func (*Secrets) List

func (*Secrets) Patch

func (*Secrets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *corev1api.Secret, err error)

func (*Secrets) Update

func (*Secrets) Update(ctx context.Context, secret *corev1api.Secret, opts metav1.UpdateOptions) (*corev1api.Secret, error)

func (*Secrets) Watch

type ServiceAccounts

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

func (*ServiceAccounts) Apply

func (*ServiceAccounts) Create

func (*ServiceAccounts) CreateToken

func (sa *ServiceAccounts) CreateToken(ctx context.Context, serviceAccountName string, tokenRequest *authenticationv1api.TokenRequest, opts metav1.CreateOptions) (*authenticationv1api.TokenRequest, error)

func (*ServiceAccounts) Delete

func (*ServiceAccounts) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

func (*ServiceAccounts) DeleteCollection

func (*ServiceAccounts) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

func (*ServiceAccounts) Get

func (*ServiceAccounts) List

func (*ServiceAccounts) Patch

func (*ServiceAccounts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *corev1api.ServiceAccount, err error)

func (*ServiceAccounts) Update

func (*ServiceAccounts) Watch

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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