service

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 35 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"`
	IsiIP            string `json:"isiIP"`
	IsiPort          string `json:"isiPort,omitempty"`
	EndpointURL      string
	User             string `json:"username"`
	Password         string `json:"password"`
	IsiInsecure      *bool  `json:"isiInsecure,omitempty"`
	IsiPath          string `json:"isiPath,omitempty"`
	IsDefaultCluster bool   `json:"isDefaultCluster,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"`
}

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
	// 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