Documentation
¶
Overview ¶
Package models ...
Package models ...
Package models ...
Package models ...
Package models ...
Package models ...
Package models ...
Package models ...
Package models ...
Package models ...
Index ¶
- Constants
- type EncryptionKey
- type Error
- type ErrorCode
- type ErrorItem
- type ErrorTarget
- type ErrorType
- type HReference
- type IksError
- type InitialOwner
- type ListShareFilters
- type ListShareTargetFilters
- type Profile
- type ResourceGroup
- type Share
- type ShareList
- type ShareTarget
- type ShareTargetList
- type StatusType
- type Zone
Constants ¶
View Source
const ( // APIVersion is the target RIaaS API spec version APIVersion = "2021-04-20" // APIGeneration ... APIGeneration = 1 // UserAgent identifies IKS to the RIaaS API UserAgent = "IBM-Kubernetes-Service" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncryptionKey ¶
type EncryptionKey struct {
CRN string `json:"crn,omitempty"`
}
EncryptionKey ...
type ErrorCode ¶
type ErrorCode string
ErrorCode ...
type ErrorItem ¶
type ErrorItem struct { Code ErrorCode `json:"code,omitempty"` Message string `json:"message,omitempty"` MoreInfo string `json:"more_info,omitempty"` Target *ErrorTarget `json:"reqID,omitempty"` }
ErrorItem ...
type ErrorTarget ¶
type ErrorTarget struct { Name string `json:"name,omitempty"` Type ErrorType `json:"type,omitempty"` }
ErrorTarget ...
type ErrorType ¶
type ErrorType string
ErrorType ...
type IksError ¶
type IksError struct { ReqID string `json:"incidentID" binding:"required"` Code string `json:"code" binding:"required"` Err string `json:"description" binding:"required"` Type ErrorType `json:"type" binding:"required"` RecoveryCLI string `json:"recoveryCLI,omitempty"` RecoveryUI string `json:"recoveryUI,omitempty"` RC int `json:"rc,omitempty"` }
IksError ...
type InitialOwner ¶
type InitialOwner struct { GroupID int64 `json:"gid,omitempty"` UserID int64 `json:"uid,omitempty"` }
InitialOwner ...
type Profile ¶
type Profile struct { CRN string `json:"crn,omitempty"` Href string `json:"href,omitempty"` Name string `json:"name,omitempty"` }
Profile ...
type ResourceGroup ¶
type ResourceGroup struct { Href string `json:"href,omitempty"` ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` }
ResourceGroup ...
type Share ¶
type Share struct { // Status of share named - deleted, deleting, failed, pending, stable, updating, waiting, suspended }
Share ...
type ShareTarget ¶
type ShareTarget struct { // Status of share target named - deleted, deleting, failed, pending, stable, updating, waiting, suspended //Share ID this target is associated to }
ShareTarget for riaas client
func NewShareTarget ¶
func NewShareTarget(volumeAccessPointRequest provider.VolumeAccessPointRequest) ShareTarget
NewShareTarget creates ShareTarget from VolumeAccessPointRequest
func (*ShareTarget) ToVolumeAccessPointResponse ¶
func (va *ShareTarget) ToVolumeAccessPointResponse() *provider.VolumeAccessPointResponse
ToVolumeAccessPointResponse converts ShareTargetResponse to VolumeAccessPointResponse
Click to show internal directories.
Click to hide internal directories.