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 ...
Index ¶
- Constants
- type EncryptionKey
- type Error
- type ErrorCode
- type ErrorItem
- type ErrorTarget
- type ErrorType
- type HReference
- type IksError
- type InitialOwner
- type ListSecurityGroupFilters
- type ListShareFilters
- type ListShareTargetFilters
- type ListSubnetFilters
- type Profile
- type ResourceGroup
- type SecurityGroup
- type SecurityGroupList
- type Share
- type ShareList
- type ShareTarget
- type ShareTargetList
- type StatusType
- type Subnet
- type SubnetList
- type SubnetRef
- type VirtualNetworkInterface
- type Zone
Constants ¶
const ( // APIVersion is the target RIaaS API spec version APIVersion = "2023-07-11" // 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 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 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 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