Documentation ¶
Index ¶
- func NewDriver() types.Driver
- type OCIOCNEDriver
- func (d *OCIOCNEDriver) Create(ctx context.Context, opts *types.DriverOptions, _ *types.ClusterInfo) (*types.ClusterInfo, error)
- func (d *OCIOCNEDriver) ETCDRemoveSnapshot(ctx context.Context, clusterInfo *types.ClusterInfo, opts *types.DriverOptions, ...) error
- func (d *OCIOCNEDriver) ETCDRestore(ctx context.Context, clusterInfo *types.ClusterInfo, opts *types.DriverOptions, ...) (*types.ClusterInfo, error)
- func (d *OCIOCNEDriver) ETCDSave(ctx context.Context, clusterInfo *types.ClusterInfo, opts *types.DriverOptions, ...) error
- func (d *OCIOCNEDriver) GetCapabilities(_ context.Context) (*types.Capabilities, error)
- func (d *OCIOCNEDriver) GetClusterSize(_ context.Context, info *types.ClusterInfo) (*types.NodeCount, error)
- func (d *OCIOCNEDriver) GetDriverCreateOptions(ctx context.Context) (*types.DriverFlags, error)
- func (d *OCIOCNEDriver) GetDriverUpdateOptions(ctx context.Context) (*types.DriverFlags, error)
- func (d *OCIOCNEDriver) GetK8SCapabilities(ctx context.Context, options *types.DriverOptions) (*types.K8SCapabilities, error)
- func (d *OCIOCNEDriver) GetVersion(_ context.Context, info *types.ClusterInfo) (*types.KubernetesVersion, error)
- func (d *OCIOCNEDriver) NewCAPIClient(logger *provisioning.Logger) *capi.CAPIClient
- func (d *OCIOCNEDriver) PostCheck(ctx context.Context, info *types.ClusterInfo) (*types.ClusterInfo, error)
- func (d *OCIOCNEDriver) Remove(ctx context.Context, info *types.ClusterInfo) error
- func (d *OCIOCNEDriver) RemoveLegacyServiceAccount(ctx context.Context, info *types.ClusterInfo) error
- func (d *OCIOCNEDriver) SetClusterSize(ctx context.Context, info *types.ClusterInfo, count *types.NodeCount) error
- func (d *OCIOCNEDriver) SetVersion(ctx context.Context, info *types.ClusterInfo, version *types.KubernetesVersion) error
- func (d *OCIOCNEDriver) Update(ctx context.Context, info *types.ClusterInfo, opts *types.DriverOptions) (*types.ClusterInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OCIOCNEDriver ¶
type OCIOCNEDriver struct { Logger *zap.SugaredLogger // contains filtered or unexported fields }
func (*OCIOCNEDriver) Create ¶
func (d *OCIOCNEDriver) Create(ctx context.Context, opts *types.DriverOptions, _ *types.ClusterInfo) (*types.ClusterInfo, error)
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 (d *OCIOCNEDriver) GetVersion(_ context.Context, info *types.ClusterInfo) (*types.KubernetesVersion, error)
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 ¶
func (d *OCIOCNEDriver) Update(ctx context.Context, info *types.ClusterInfo, opts *types.DriverOptions) (*types.ClusterInfo, error)
Update implements driver interface
Click to show internal directories.
Click to hide internal directories.