service

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxRetries                    = 10
	RetrySleepTime                = 1000 * time.Millisecond
	AccessZoneParam               = "AccessZone"
	ExportPathParam               = "Path"
	IsiPathParam                  = "IsiPath"
	AzServiceIPParam              = "AzServiceIP"
	RootClientEnabledParam        = "RootClientEnabled"
	RootClientEnabledParamDefault = "false"
	DeleteSnapshotMarker          = "DELETE_SNAPSHOT"
	IgnoreDotAndDotDotSubDirs     = 2
	ClusterNameParam              = "ClusterName"
)

constants

Variables

View Source
var Manifest = map[string]string{
	"url":    "http://github.com/dell/csi-isilon",
	"semver": core.SemVer,
	"commit": core.CommitSha32,
	"formed": core.CommitTime.Format(time.RFC1123),
}

Manifest is the SP's manifest.

Functions

func GetLogger added in v1.5.0

func GetLogger(ctx context.Context) (context.Context, *logrus.Entry)

GetLogger creates custom logger handler

func GetRunIDLog added in v1.5.0

func GetRunIDLog(ctx context.Context) (context.Context, *logrus.Entry, string)

GetRunIDLog function returns logger with runID

Types

type IsilonClusterConfig added in v1.5.0

type IsilonClusterConfig struct {
	ClusterName               string `json:"clusterName" yaml:"clusterName"`
	IsiIP                     string `json:"isiIP,omitempty" yaml:"isiIP,omitempty"` // deprecate this attribute in future release
	Endpoint                  string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"`
	IsiPort                   string `json:"isiPort,omitempty" yaml:"isiPort,omitempty"`
	EndpointURL               string
	User                      string `json:"username" yaml:"username"`
	Password                  string `json:"password" yaml:"password"`
	IsiInsecure               *bool  `json:"isiInsecure,omitempty" yaml:"isiInsecure,omitempty"` // deprecate this attribute in future release
	SkipCertificateValidation *bool  `json:"skipCertificateValidation,omitempty" yaml:"skipCertificateValidation,omitempty"`
	IsiPath                   string `json:"isiPath,omitempty" yaml:"isiPath,omitempty"`
	IsDefaultCluster          *bool  `json:"isDefaultCluster,omitempty" yaml:"isDefaultCluster,omitempty"` // deprecate this attribute in future release
	IsDefault                 *bool  `json:"isDefault,omitempty" yaml:"isDefault,omitempty"`
	// contains filtered or unexported fields
}

IsilonClusterConfig To hold config details of a isilon cluster

func (IsilonClusterConfig) String added in v1.5.0

func (s IsilonClusterConfig) String() string

To display the IsilonClusterConfig of a cluster

type IsilonClusters added in v1.5.0

type IsilonClusters struct {
	IsilonClusters []IsilonClusterConfig `json:"isilonClusters" yaml:"isilonClusters"`
	LogLevel       string                `json:"logLevel,omitempty" yaml:"logLevel,omitempty"`
}

IsilonClusters To unmarshal secret.json file

type Opts

type Opts struct {
	Port                  string
	AccessZone            string
	Path                  string
	Insecure              bool
	AutoProbe             bool
	QuotaEnabled          bool
	DebugEnabled          bool
	Verbose               uint
	NfsV3                 bool
	CustomTopologyEnabled bool
	KubeConfigPath        string

	MaxVolumesPerNode int64
	// contains filtered or unexported fields
}

Opts defines service configuration options.

type Service

Service is the CSI service provider.

func New

func New() Service

New returns a new Service.

Jump to

Keyboard shortcuts

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