nfscsi

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AgentImageLoader = "ImageLoader"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type NFS

type NFS struct {
	ImageRepoMirror  string   `json:"imageRepoMirror"` // optional
	Namespace        string   `json:"namespace"`       // optional
	Replicas         int      `json:"replicas"`
	ManifestsDir     string   `json:"manifestsDir"`  // optional
	ServerAddr       string   `json:"serverAddr"`    // required
	SharedPath       string   `json:"sharedPath"`    // required
	StorageClassName string   `json:"scName"`        // optional
	IsDefault        bool     `json:"isDefaultSC"`   // optional
	ReclaimPolicy    string   `json:"reclaimPolicy"` // optional
	MountOptions     []string `json:"mountOptions"`  // optional
	KubeletRootDir   string   `json:"kubeletRootDir"`
	// contains filtered or unexported fields
}

func (*NFS) CompleteWithExtraCluster

func (n *NFS) CompleteWithExtraCluster(extra map[string]component.ExtraMetadata) error

func (NFS) GetComponentMeta

func (n NFS) GetComponentMeta(lang component.Lang) component.Meta

func (*NFS) GetDependence

func (n *NFS) GetDependence() []string

func (*NFS) GetImageRepoMirror

func (n *NFS) GetImageRepoMirror() string

GetImageRepoMirror return ImageRepoMirror

func (*NFS) GetInstallSteps

func (n *NFS) GetInstallSteps() []v1.Step

func (*NFS) GetInstanceName

func (n *NFS) GetInstanceName() string

func (*NFS) GetUninstallSteps

func (n *NFS) GetUninstallSteps() []v1.Step

func (*NFS) GetUpgradeSteps

func (n *NFS) GetUpgradeSteps() []v1.Step

func (*NFS) InitSteps

func (n *NFS) InitSteps(ctx context.Context) error

func (*NFS) Install

func (n *NFS) Install(ctx context.Context) error

func (*NFS) NewInstance

func (n *NFS) NewInstance() component.ObjectMeta

func (*NFS) Ns

func (n *NFS) Ns() string

func (*NFS) Render

func (n *NFS) Render(ctx context.Context, opts component.Options) error

func (*NFS) RequestPath

func (n *NFS) RequestPath() string

func (*NFS) RequireExtraCluster

func (n *NFS) RequireExtraCluster() []string

func (*NFS) Supported

func (n *NFS) Supported() bool

func (*NFS) Svc

func (n *NFS) Svc() string

func (*NFS) UnInstall

func (n *NFS) UnInstall(ctx context.Context) error

func (*NFS) Validate

func (n *NFS) Validate() error

Jump to

Keyboard shortcuts

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