pkg

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: UPL-1.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDriver

func NewDriver() types.Driver

Types

type OCIOCNEDriver

type OCIOCNEDriver struct {
	Logger *zap.SugaredLogger
	// contains filtered or unexported fields
}

func (*OCIOCNEDriver) Create

Create implements driver interface

func (*OCIOCNEDriver) ETCDRemoveSnapshot

func (d *OCIOCNEDriver) ETCDRemoveSnapshot(ctx context.Context, clusterInfo *types.ClusterInfo, opts *types.DriverOptions, snapshotName string) error

func (*OCIOCNEDriver) ETCDRestore

func (d *OCIOCNEDriver) ETCDRestore(ctx context.Context, clusterInfo *types.ClusterInfo, opts *types.DriverOptions, snapshotName string) (*types.ClusterInfo, error)

func (*OCIOCNEDriver) ETCDSave

func (d *OCIOCNEDriver) ETCDSave(ctx context.Context, clusterInfo *types.ClusterInfo, opts *types.DriverOptions, snapshotName string) error

func (*OCIOCNEDriver) GetCapabilities

func (d *OCIOCNEDriver) GetCapabilities(_ context.Context) (*types.Capabilities, error)

func (*OCIOCNEDriver) GetClusterSize

func (d *OCIOCNEDriver) GetClusterSize(_ context.Context, info *types.ClusterInfo) (*types.NodeCount, error)

func (*OCIOCNEDriver) GetDriverCreateOptions

func (d *OCIOCNEDriver) GetDriverCreateOptions(ctx context.Context) (*types.DriverFlags, error)

GetDriverCreateOptions implements driver interface

func (*OCIOCNEDriver) GetDriverUpdateOptions

func (d *OCIOCNEDriver) GetDriverUpdateOptions(ctx context.Context) (*types.DriverFlags, error)

GetDriverUpdateOptions implements driver interface

func (*OCIOCNEDriver) GetK8SCapabilities

func (d *OCIOCNEDriver) GetK8SCapabilities(ctx context.Context, options *types.DriverOptions) (*types.K8SCapabilities, error)

func (*OCIOCNEDriver) GetVersion

func (*OCIOCNEDriver) NewCAPIClient added in v0.15.0

func (d *OCIOCNEDriver) NewCAPIClient(logger *provisioning.Logger) *capi.CAPIClient

func (*OCIOCNEDriver) PostCheck

func (d *OCIOCNEDriver) PostCheck(ctx context.Context, info *types.ClusterInfo) (*types.ClusterInfo, error)

func (*OCIOCNEDriver) Remove

func (d *OCIOCNEDriver) Remove(ctx context.Context, info *types.ClusterInfo) error

func (*OCIOCNEDriver) RemoveLegacyServiceAccount

func (d *OCIOCNEDriver) RemoveLegacyServiceAccount(ctx context.Context, info *types.ClusterInfo) error

func (*OCIOCNEDriver) SetClusterSize

func (d *OCIOCNEDriver) SetClusterSize(ctx context.Context, info *types.ClusterInfo, count *types.NodeCount) error

func (*OCIOCNEDriver) SetVersion

func (d *OCIOCNEDriver) SetVersion(ctx context.Context, info *types.ClusterInfo, version *types.KubernetesVersion) error

SetVersion sets the Kubernetes Version of cluster

func (*OCIOCNEDriver) Update

Update implements driver interface

Directories

Path Synopsis
oci

Jump to

Keyboard shortcuts

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