solidfire

package
v0.0.0-...-e704281 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() terraform.ResourceProvider

Types

type APIError

type APIError struct {
	Id    int `json:"id"`
	Error struct {
		Code    int    `json:"code"`
		Message string `json:"message"`
		Name    string `json:"name"`
	} `json:"error"`
}

type Client

type Client struct {
	Endpoint string
}

type Config

type Config struct {
	User            string
	Password        string
	SolidFireServer string
	APIVersion      string
}

func (*Config) Client

func (c *Config) Client() (*element.Client, error)

type CreateAccountRequest

type CreateAccountRequest struct {
	Username        string      `structs:"username"`
	InitiatorSecret string      `structs:"initiatorSecret,omitempty"`
	TargetSecret    string      `structs:"targetSecret,omitempty"`
	Attributes      interface{} `structs:"attributes,omitempty"`
}

type CreateAccountResult

type CreateAccountResult struct {
	Account element.Account `json:"account"`
}

type CreateInitiatorsRequest

type CreateInitiatorsRequest struct {
	Initiators []element.Initiator `structs:"initiators"`
}

type CreateInitiatorsResult

type CreateInitiatorsResult struct {
	Initiators []element.InitiatorResponse `json:"initiators"`
}

type CreateVolumeAccessGroupRequest

type CreateVolumeAccessGroupRequest struct {
	Name       string      `structs:"name"`
	Initiators []string    `structs:"initiators"`
	Volumes    []int       `structs:"volumes"`
	Attributes interface{} `structs:"attributes"`
	ID         int         `structs:"id"`
}

type CreateVolumeAccessGroupResult

type CreateVolumeAccessGroupResult struct {
	VolumeAccessGroupID int `json:"volumeAccessGroupID"`
	element.VolumeAccessGroup
}

type CreateVolumeRequest

type CreateVolumeRequest struct {
	Name       string           `structs:"name"`
	AccountID  int              `structs:"accountID"`
	TotalSize  int              `structs:"totalSize"`
	Enable512E bool             `structs:"enable512e"`
	Attributes interface{}      `structs:"attributes"`
	QOS        QualityOfService `structs:"qos"`
}

type CreateVolumeResult

type CreateVolumeResult struct {
	VolumeID int            `json:"volumeID"`
	Volume   element.Volume `json:"volume"`
}

type DeleteInitiatorsRequest

type DeleteInitiatorsRequest struct {
	Initiators []int `structs:"initiators"`
}

type DeleteVolumeAccessGroupRequest

type DeleteVolumeAccessGroupRequest struct {
	VolumeAccessGroupID    int  `structs:"volumeAccessGroupID"`
	DeleteOrphanInitiators bool `structs:"deleteOrphanInitiators"`
	Force                  bool `structs:"force"`
}

type DeleteVolumeRequest

type DeleteVolumeRequest struct {
	VolumeID int `structs:"volumeID"`
}

type ModifyAccountRequest

type ModifyAccountRequest struct {
	AccountID       int         `structs:"accountID"`
	InitiatorSecret string      `structs:"initiatorSecret,omitempty"`
	TargetSecret    string      `structs:"targetSecret,omitempty"`
	Attributes      interface{} `structs:"attributes,omitempty"`
	Username        string      `structs:"username,omitempty"`
}

type ModifyInitiatorsRequest

type ModifyInitiatorsRequest struct {
	Initiators []element.Initiator `structs:"initiators"`
}

type ModifyVolumeAccessGroupRequest

type ModifyVolumeAccessGroupRequest struct {
	VolumeAccessGroupID    int         `structs:"volumeAccessGroupID"`
	Name                   string      `structs:"name"`
	Attributes             interface{} `structs:"attributes"`
	Initiators             []int       `structs:"initiators"`
	DeleteOrphanInitiators bool        `structs:"deleteOrphanInitiators"`
	Volumes                []int       `structs:"volumes"`
}

type ModifyVolumeRequest

type ModifyVolumeRequest struct {
	VolumeID   int              `structs:"volumeID"`
	AccountID  int              `structs:"accountID"`
	Attributes interface{}      `structs:"attributes"`
	QOS        QualityOfService `structs:"qos"`
	TotalSize  int              `structs:"totalSize"`
}

type QualityOfService

type QualityOfService struct {
	MinIOPS   int `structs:"minIOPS"`
	MaxIOPS   int `structs:"maxIOPS"`
	BurstIOPS int `structs:"burstIOPS"`
}

type RemoveAccountRequest

type RemoveAccountRequest struct {
	AccountID int `structs:"accountID"`
}

type StorageDevice

type StorageDevice struct {
	Device string
	IQN    string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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