kubernetes

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SecretNameSecretStoreCA = "ca"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Syncer

type Syncer struct {
	client.Client
}

func (Syncer) GetAccessInfo

func (m Syncer) GetAccessInfo(ctx context.Context, cluster nautescrd.Cluster) (*interfaces.AccessInfo, error)

GetAccessInfo get connect info from cluster resource

func (Syncer) Remove

func (m Syncer) Remove(ctx context.Context, task interfaces.RuntimeSyncTask) error

Remove will cleaa up resouces Sync create.

func (Syncer) Sync

Sync create or update a usable env for the next step, it will create namespaces, rolebinding and other resources runtime required.

Jump to

Keyboard shortcuts

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