Documentation ¶
Index ¶
- Constants
- type Syncer
- func (m Syncer) GetAccessInfo(ctx context.Context, cluster nautescrd.Cluster) (*interfaces.AccessInfo, error)
- func (m Syncer) Remove(ctx context.Context, task interfaces.RuntimeSyncTask) error
- func (m Syncer) Sync(ctx context.Context, task interfaces.RuntimeSyncTask) (*interfaces.EnvironmentDeploymentResult, error)
Constants ¶
View Source
const (
SecretNameSecretStoreCA = "ca"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Syncer ¶
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 ¶
func (m Syncer) Sync(ctx context.Context, task interfaces.RuntimeSyncTask) (*interfaces.EnvironmentDeploymentResult, error)
Sync create or update a usable env for the next step, it will create namespaces, rolebinding and other resources runtime required.
Click to show internal directories.
Click to hide internal directories.