local

package
v0.0.0-...-a8f75d9 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 95 Imported by: 0

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) AutoscalingV2beta1

func (*MinCoreClient) AutoscalingV2beta2

func (*MinCoreClient) BatchV1

func (*MinCoreClient) BatchV1beta1

func (*MinCoreClient) CertificatesV1

func (*MinCoreClient) CertificatesV1beta1

func (*MinCoreClient) CoordinationV1

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) FlowcontrolV1alpha1

func (*MinCoreClient) FlowcontrolV1beta1

func (*MinCoreClient) FlowcontrolV1beta2

func (*MinCoreClient) FlowcontrolV1beta3

func (*MinCoreClient) InternalV1alpha1

func (*MinCoreClient) NetworkingV1

func (*MinCoreClient) NetworkingV1alpha1

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) ResourceV1alpha1

func (*MinCoreClient) SchedulingV1

func (*MinCoreClient) SchedulingV1alpha1

func (*MinCoreClient) SchedulingV1beta1

func (*MinCoreClient) StorageV1

func (*MinCoreClient) StorageV1alpha1

func (*MinCoreClient) StorageV1beta1

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 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