Documentation
¶
Overview ¶
Package models ...
Package models ...
Package models ...
Package models ...
Package models ...
Package models ...
Package models ...
Package models ...
Package models ...
Package models ...
Package models ...
Package models ...
Package models ...
Index ¶
- Constants
- type BackupPolicyPlan
- type CapIops
- type Deleted
- type EncryptionKey
- type Error
- type ErrorCode
- type ErrorItem
- type ErrorTarget
- type ErrorType
- type HReference
- type IksError
- type InitialOwner
- type LisSnapshotFilters
- type ListSecurityGroupFilters
- type ListShareFilters
- type ListShareTargetFilters
- type ListSubnetFilters
- type Profile
- type ProfileDetails
- type Remote
- type ResourceGroup
- type SecurityGroup
- type SecurityGroupList
- type Share
- type ShareList
- type ShareTarget
- type ShareTargetList
- type Snapshot
- type SnapshotList
- type StatusType
- type Subnet
- type SubnetList
- type SubnetRef
- type VirtualNetworkInterface
- type Zone
Constants ¶
const ( // APIVersion is the target RIaaS API spec version APIVersion = "2025-08-05" // 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 BackupPolicyPlan ¶ added in v1.2.16
type BackupPolicyPlan struct {
ID string `json:"id,omitempty"`
Href string `json:"href,omitempty"`
Name string `json:"name,omitempty"`
Deleted *Deleted `json:"deleted,omitempty"`
Remote *Remote `json:"remote,omitempty"`
ResourceType string `json:"resource_type,omitempty"`
}
BackupPolicyPlan ...
type CapIops ¶ added in v1.2.11
type CapIops struct {
Default int32 `json:"default,omitempty"`
Max int32 `json:"max,omitempty"`
Min int32 `json:"min,omitempty"`
Step int32 `json:"step,omitempty"`
Type string `json:"type,omitempty"`
Value int32 `json:"value,omitempty"`
}
CapIops
type Deleted ¶ added in v1.2.16
type Deleted struct {
MoreInfo string `json:"more_info,omitempty"`
}
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"`
Status string `json:"status,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 LisSnapshotFilters ¶ added in v1.2.16
type LisSnapshotFilters struct {
Name string `json:"name,omitempty"`
}
LisSnapshotFilters ...
type ListSecurityGroupFilters ¶
type ListSecurityGroupFilters struct {
ResourceGroupID string `json:"resource_group.id,omitempty"`
VPCID string `json:"vpc.id,omitempty"`
}
ListSecurityGroupFilters ...
type ListSubnetFilters ¶
type ListSubnetFilters struct {
ResourceGroupID string `json:"resource_group.id,omitempty"`
VPCID string `json:"vpc.id,omitempty"`
ZoneName string `json:"zone.name,omitempty"`
}
ListSubnetFilters ...
type Profile ¶
type Profile struct {
CRN string `json:"crn,omitempty"`
Href string `json:"href,omitempty"`
Name string `json:"name,omitempty"`
}
Profile ...
type ProfileDetails ¶ added in v1.2.11
type ResourceGroup ¶
type ResourceGroup struct {
Href string `json:"href,omitempty"`
ID string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
}
ResourceGroup ...
type SecurityGroup ¶
type SecurityGroup struct {
CRN string `json:"crn,omitempty"`
Href string `json:"href,omitempty"`
ID string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
ResourceGroup *ResourceGroup `json:"resource_group,omitempty"`
VPC *provider.VPC `json:"vpc,omitempty"`
}
SecurityGroup ...
type SecurityGroupList ¶
type SecurityGroupList struct {
First *HReference `json:"first,omitempty"`
Next *HReference `json:"next,omitempty"`
SecurityGroups []SecurityGroup `json:"security_groups,omitempty"`
Limit int `json:"limit,omitempty"`
TotalCount int `json:"total_count,omitempty"`
}
SecurityGroupList ...
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
//EncryptionInTransit
//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
type Snapshot ¶ added in v1.2.16
type Snapshot struct {
Href string `json:"href,omitempty"`
ID string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
CRN string `json:"crn,omitempty"`
FingerPrint string `json:"fingerprint,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
CapturedAt *time.Time `json:"captured_at,omitempty"`
MinimumSize int64 `json:"minimum_size,omitempty"`
ResourceGroup *ResourceGroup `json:"resource_group,omitempty"`
Status string `json:"status,omitempty"`
ResourceType string `json:"resource_type,omitempty"`
LifecycleState string `json:"lifecycle_state,omitempty"`
UserTags []string `json:"user_tags,omitempty"`
BackupPolicyPlan *BackupPolicyPlan `json:"backup_policy_plan,omitempty"`
Zone *Zone `json:"zone,omitempty"`
}
Snapshot ...
type SnapshotList ¶ added in v1.2.16
type SnapshotList struct {
First *HReference `json:"first,omitempty"`
Next *HReference `json:"next,omitempty"`
Snapshots []*Snapshot `json:"snapshots"`
Limit int `json:"limit,omitempty"`
TotalCount int `json:"total_count,omitempty"`
}
SnapshotList ...
type Subnet ¶
type Subnet struct {
CRN string `json:"crn,omitempty"`
Href string `json:"href,omitempty"`
ID string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
ResourceGroup *ResourceGroup `json:"resource_group,omitempty"`
VPC *provider.VPC `json:"vpc,omitempty"`
Zone *Zone `json:"zone,omitempty"`
}
Subnet ...
type SubnetList ¶
type SubnetList struct {
First *HReference `json:"first,omitempty"`
Next *HReference `json:"next,omitempty"`
Subnets []Subnet `json:"subnets,omitempty"`
Limit int `json:"limit,omitempty"`
TotalCount int `json:"total_count,omitempty"`
}
SubnetList ...
type SubnetRef ¶
type SubnetRef struct {
CRN string `json:"crn,omitempty"`
ID string `json:"id,omitempty"`
Href string `json:"href,omitempty"`
}
SubnetRef ...
type VirtualNetworkInterface ¶
type VirtualNetworkInterface struct {
Name string `json:"name,omitempty"`
Subnet *SubnetRef `json:"subnet,omitempty"`
SecurityGroups *[]provider.SecurityGroup `json:"security_groups,omitempty"`
PrimaryIP *provider.PrimaryIP `json:"primary_ip,omitempty"`
ResourceGroup *provider.ResourceGroup `json:"resource_group,omitempty"`
}
VirtualNetworkInterface