Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type Adapter
- func (o *Adapter) GetAddresses() []string
- func (o *Adapter) GetAddressesOk() ([]string, bool)
- func (o *Adapter) GetDescription() string
- func (o *Adapter) GetDescriptionOk() (*string, bool)
- func (o *Adapter) GetId() string
- func (o *Adapter) GetIdOk() (*string, bool)
- func (o *Adapter) GetMac() string
- func (o *Adapter) GetMacOk() (*string, bool)
- func (o *Adapter) GetName() string
- func (o *Adapter) GetNameOk() (*string, bool)
- func (o *Adapter) GetReserved() bool
- func (o *Adapter) GetReservedOk() (*bool, bool)
- func (o *Adapter) HasAddresses() bool
- func (o *Adapter) HasDescription() bool
- func (o *Adapter) HasId() bool
- func (o *Adapter) HasMac() bool
- func (o *Adapter) HasReserved() bool
- func (o Adapter) MarshalJSON() ([]byte, error)
- func (o *Adapter) SetAddresses(v []string)
- func (o *Adapter) SetDescription(v string)
- func (o *Adapter) SetId(v string)
- func (o *Adapter) SetMac(v string)
- func (o *Adapter) SetName(v string)
- func (o *Adapter) SetReserved(v bool)
- func (o Adapter) ToMap() (map[string]interface{}, error)
- func (o *Adapter) UnmarshalJSON(data []byte) (err error)
- type AdapterAPIService
- func (a *AdapterAPIService) DeleteAdapter(ctx context.Context, adapterId string) ApiDeleteAdapterRequest
- func (a *AdapterAPIService) DeleteAdapterExecute(r ApiDeleteAdapterRequest) (*http.Response, error)
- func (a *AdapterAPIService) ListAdapters(ctx context.Context) ApiListAdaptersRequest
- func (a *AdapterAPIService) ListAdaptersExecute(r ApiListAdaptersRequest) ([]string, *http.Response, error)
- func (a *AdapterAPIService) ReadAdapter(ctx context.Context, adapterId string) ApiReadAdapterRequest
- func (a *AdapterAPIService) ReadAdapterExecute(r ApiReadAdapterRequest) (*Adapter, *http.Response, error)
- func (a *AdapterAPIService) UpdateAdapter(ctx context.Context, adapterId string) ApiUpdateAdapterRequest
- func (a *AdapterAPIService) UpdateAdapterExecute(r ApiUpdateAdapterRequest) (*Adapter, *http.Response, error)
- type Agent
- func (o *Agent) GetDescription() string
- func (o *Agent) GetDescriptionOk() (*string, bool)
- func (o *Agent) GetId() string
- func (o *Agent) GetIdOk() (*string, bool)
- func (o *Agent) GetName() string
- func (o *Agent) GetNameOk() (*string, bool)
- func (o *Agent) GetType() string
- func (o *Agent) GetTypeOk() (*string, bool)
- func (o *Agent) HasDescription() bool
- func (o *Agent) HasId() bool
- func (o Agent) MarshalJSON() ([]byte, error)
- func (o *Agent) SetDescription(v string)
- func (o *Agent) SetId(v string)
- func (o *Agent) SetName(v string)
- func (o *Agent) SetType(v string)
- func (o Agent) ToMap() (map[string]interface{}, error)
- func (o *Agent) UnmarshalJSON(data []byte) (err error)
- type AgentAPIService
- func (a *AgentAPIService) CreateAgent(ctx context.Context) ApiCreateAgentRequest
- func (a *AgentAPIService) CreateAgentExecute(r ApiCreateAgentRequest) (*Agent, *http.Response, error)
- func (a *AgentAPIService) DeleteAgent(ctx context.Context, agentId string) ApiDeleteAgentRequest
- func (a *AgentAPIService) DeleteAgentExecute(r ApiDeleteAgentRequest) (*http.Response, error)
- func (a *AgentAPIService) ListAgents(ctx context.Context) ApiListAgentsRequest
- func (a *AgentAPIService) ListAgentsExecute(r ApiListAgentsRequest) ([]string, *http.Response, error)
- func (a *AgentAPIService) ReadAgent(ctx context.Context, agentId string) ApiReadAgentRequest
- func (a *AgentAPIService) ReadAgentExecute(r ApiReadAgentRequest) (*Agent, *http.Response, error)
- func (a *AgentAPIService) SetAgentApiToken(ctx context.Context, agentId string) ApiSetAgentApiTokenRequest
- func (a *AgentAPIService) SetAgentApiTokenExecute(r ApiSetAgentApiTokenRequest) (*ApiToken, *http.Response, error)
- func (a *AgentAPIService) UpdateAgent(ctx context.Context, agentId string) ApiUpdateAgentRequest
- func (a *AgentAPIService) UpdateAgentExecute(r ApiUpdateAgentRequest) (*Agent, *http.Response, error)
- type ApiCreateAdapterRequest
- type ApiCreateAgentRequest
- type ApiCreateKaktusRequest
- type ApiCreateKawaiiIpSecRequest
- type ApiCreateKiwiRequest
- type ApiCreateProjectDnsRecordRequest
- type ApiCreateProjectRegionKawaiiRequest
- type ApiCreateProjectRegionKonveyRequest
- type ApiCreateProjectRegionKyloRequest
- type ApiCreateProjectRegionVolumeRequest
- func (r ApiCreateProjectRegionVolumeRequest) Execute() (*Volume, *http.Response, error)
- func (r ApiCreateProjectRegionVolumeRequest) PoolId(poolId string) ApiCreateProjectRegionVolumeRequest
- func (r ApiCreateProjectRegionVolumeRequest) TemplateId(templateId string) ApiCreateProjectRegionVolumeRequest
- func (r ApiCreateProjectRegionVolumeRequest) Volume(volume Volume) ApiCreateProjectRegionVolumeRequest
- type ApiCreateProjectRequest
- type ApiCreateProjectZoneInstanceRequest
- type ApiCreateProjectZoneKomputeRequest
- func (r ApiCreateProjectZoneKomputeRequest) Execute() (*Kompute, *http.Response, error)
- func (r ApiCreateProjectZoneKomputeRequest) Kompute(kompute Kompute) ApiCreateProjectZoneKomputeRequest
- func (r ApiCreateProjectZoneKomputeRequest) PoolId(poolId string) ApiCreateProjectZoneKomputeRequest
- func (r ApiCreateProjectZoneKomputeRequest) Public(public bool) ApiCreateProjectZoneKomputeRequest
- func (r ApiCreateProjectZoneKomputeRequest) TemplateId(templateId string) ApiCreateProjectZoneKomputeRequest
- type ApiCreateProjectZoneKonveyRequest
- type ApiCreateRegionRequest
- type ApiCreateStorageNFSRequest
- type ApiCreateStoragePoolRequest
- type ApiCreateSubnetRequest
- type ApiCreateTeamRequest
- type ApiCreateTemplateRequest
- type ApiCreateUserRequest
- type ApiCreateVNetRequest
- type ApiCreateZoneRequest
- type ApiDeleteAdapterRequest
- type ApiDeleteAgentRequest
- type ApiDeleteApiTokenRequest
- type ApiDeleteDnsRecordRequest
- type ApiDeleteInstanceRequest
- type ApiDeleteKaktusRequest
- type ApiDeleteKawaiiIpSecRequest
- type ApiDeleteKawaiiRequest
- type ApiDeleteKiwiRequest
- type ApiDeleteKomputeRequest
- type ApiDeleteKonveyRequest
- type ApiDeleteKyloRequest
- type ApiDeleteProjectRequest
- type ApiDeleteRegionRequest
- type ApiDeleteStorageNFSRequest
- type ApiDeleteStoragePoolRequest
- type ApiDeleteSubnetRequest
- type ApiDeleteTeamRequest
- type ApiDeleteTemplateRequest
- type ApiDeleteUserRequest
- type ApiDeleteVNetRequest
- type ApiDeleteVolumeRequest
- type ApiDeleteZoneRequest
- type ApiErrorBadRequest
- func (o *ApiErrorBadRequest) GetError() string
- func (o *ApiErrorBadRequest) GetErrorOk() (*string, bool)
- func (o *ApiErrorBadRequest) GetReason() string
- func (o *ApiErrorBadRequest) GetReasonOk() (*string, bool)
- func (o *ApiErrorBadRequest) GetStatus() int32
- func (o *ApiErrorBadRequest) GetStatusOk() (*int32, bool)
- func (o ApiErrorBadRequest) MarshalJSON() ([]byte, error)
- func (o *ApiErrorBadRequest) SetError(v string)
- func (o *ApiErrorBadRequest) SetReason(v string)
- func (o *ApiErrorBadRequest) SetStatus(v int32)
- func (o ApiErrorBadRequest) ToMap() (map[string]interface{}, error)
- func (o *ApiErrorBadRequest) UnmarshalJSON(data []byte) (err error)
- type ApiErrorConflict
- func (o *ApiErrorConflict) GetError() string
- func (o *ApiErrorConflict) GetErrorOk() (*string, bool)
- func (o *ApiErrorConflict) GetReason() string
- func (o *ApiErrorConflict) GetReasonOk() (*string, bool)
- func (o *ApiErrorConflict) GetStatus() int32
- func (o *ApiErrorConflict) GetStatusOk() (*int32, bool)
- func (o ApiErrorConflict) MarshalJSON() ([]byte, error)
- func (o *ApiErrorConflict) SetError(v string)
- func (o *ApiErrorConflict) SetReason(v string)
- func (o *ApiErrorConflict) SetStatus(v int32)
- func (o ApiErrorConflict) ToMap() (map[string]interface{}, error)
- func (o *ApiErrorConflict) UnmarshalJSON(data []byte) (err error)
- type ApiErrorForbidden
- func (o *ApiErrorForbidden) GetError() string
- func (o *ApiErrorForbidden) GetErrorOk() (*string, bool)
- func (o *ApiErrorForbidden) GetReason() string
- func (o *ApiErrorForbidden) GetReasonOk() (*string, bool)
- func (o *ApiErrorForbidden) GetStatus() int32
- func (o *ApiErrorForbidden) GetStatusOk() (*int32, bool)
- func (o ApiErrorForbidden) MarshalJSON() ([]byte, error)
- func (o *ApiErrorForbidden) SetError(v string)
- func (o *ApiErrorForbidden) SetReason(v string)
- func (o *ApiErrorForbidden) SetStatus(v int32)
- func (o ApiErrorForbidden) ToMap() (map[string]interface{}, error)
- func (o *ApiErrorForbidden) UnmarshalJSON(data []byte) (err error)
- type ApiErrorInsufficientResource
- func (o *ApiErrorInsufficientResource) GetError() string
- func (o *ApiErrorInsufficientResource) GetErrorOk() (*string, bool)
- func (o *ApiErrorInsufficientResource) GetReason() string
- func (o *ApiErrorInsufficientResource) GetReasonOk() (*string, bool)
- func (o *ApiErrorInsufficientResource) GetStatus() int32
- func (o *ApiErrorInsufficientResource) GetStatusOk() (*int32, bool)
- func (o ApiErrorInsufficientResource) MarshalJSON() ([]byte, error)
- func (o *ApiErrorInsufficientResource) SetError(v string)
- func (o *ApiErrorInsufficientResource) SetReason(v string)
- func (o *ApiErrorInsufficientResource) SetStatus(v int32)
- func (o ApiErrorInsufficientResource) ToMap() (map[string]interface{}, error)
- func (o *ApiErrorInsufficientResource) UnmarshalJSON(data []byte) (err error)
- type ApiErrorNotFound
- func (o *ApiErrorNotFound) GetError() string
- func (o *ApiErrorNotFound) GetErrorOk() (*string, bool)
- func (o *ApiErrorNotFound) GetReason() string
- func (o *ApiErrorNotFound) GetReasonOk() (*string, bool)
- func (o *ApiErrorNotFound) GetStatus() int32
- func (o *ApiErrorNotFound) GetStatusOk() (*int32, bool)
- func (o ApiErrorNotFound) MarshalJSON() ([]byte, error)
- func (o *ApiErrorNotFound) SetError(v string)
- func (o *ApiErrorNotFound) SetReason(v string)
- func (o *ApiErrorNotFound) SetStatus(v int32)
- func (o ApiErrorNotFound) ToMap() (map[string]interface{}, error)
- func (o *ApiErrorNotFound) UnmarshalJSON(data []byte) (err error)
- type ApiErrorUnauthorized
- func (o *ApiErrorUnauthorized) GetError() string
- func (o *ApiErrorUnauthorized) GetErrorOk() (*string, bool)
- func (o *ApiErrorUnauthorized) GetReason() string
- func (o *ApiErrorUnauthorized) GetReasonOk() (*string, bool)
- func (o *ApiErrorUnauthorized) GetStatus() int32
- func (o *ApiErrorUnauthorized) GetStatusOk() (*int32, bool)
- func (o ApiErrorUnauthorized) MarshalJSON() ([]byte, error)
- func (o *ApiErrorUnauthorized) SetError(v string)
- func (o *ApiErrorUnauthorized) SetReason(v string)
- func (o *ApiErrorUnauthorized) SetStatus(v int32)
- func (o ApiErrorUnauthorized) ToMap() (map[string]interface{}, error)
- func (o *ApiErrorUnauthorized) UnmarshalJSON(data []byte) (err error)
- type ApiErrorUnprocessableEntity
- func (o *ApiErrorUnprocessableEntity) GetError() string
- func (o *ApiErrorUnprocessableEntity) GetErrorOk() (*string, bool)
- func (o *ApiErrorUnprocessableEntity) GetReason() string
- func (o *ApiErrorUnprocessableEntity) GetReasonOk() (*string, bool)
- func (o *ApiErrorUnprocessableEntity) GetStatus() int32
- func (o *ApiErrorUnprocessableEntity) GetStatusOk() (*int32, bool)
- func (o ApiErrorUnprocessableEntity) MarshalJSON() ([]byte, error)
- func (o *ApiErrorUnprocessableEntity) SetError(v string)
- func (o *ApiErrorUnprocessableEntity) SetReason(v string)
- func (o *ApiErrorUnprocessableEntity) SetStatus(v int32)
- func (o ApiErrorUnprocessableEntity) ToMap() (map[string]interface{}, error)
- func (o *ApiErrorUnprocessableEntity) UnmarshalJSON(data []byte) (err error)
- type ApiListAdaptersRequest
- type ApiListAgentsRequest
- type ApiListApiTokensRequest
- type ApiListInstancesRequest
- type ApiListKaktusInstancesRequest
- type ApiListKaktussRequest
- type ApiListKawaiiIpSecsRequest
- type ApiListKawaiisRequest
- type ApiListKiwisRequest
- type ApiListKomputesRequest
- type ApiListKonveysRequest
- type ApiListKylosRequest
- type ApiListProjectDnsRecordsRequest
- type ApiListProjectRegionKawaiisRequest
- type ApiListProjectRegionKonveysRequest
- type ApiListProjectRegionKylosRequest
- type ApiListProjectRegionVolumesRequest
- type ApiListProjectZoneInstancesRequest
- type ApiListProjectZoneKomputesRequest
- type ApiListProjectZoneKonveysRequest
- type ApiListProjectsRequest
- type ApiListRegionKiwisRequest
- type ApiListRegionStorageNFSsRequest
- type ApiListRegionStoragePoolsRequest
- type ApiListRegionVNetsRequest
- type ApiListRegionZonesRequest
- type ApiListRegionsRequest
- type ApiListStorageNFSKylosRequest
- type ApiListStorageNFSsRequest
- type ApiListStoragePoolTemplatesRequest
- type ApiListStoragePoolVolumesRequest
- type ApiListStoragePoolsRequest
- type ApiListSubnetAdaptersRequest
- type ApiListSubnetsRequest
- type ApiListTeamsRequest
- type ApiListTemplatesRequest
- type ApiListUsersRequest
- type ApiListVNetSubnetsRequest
- type ApiListVNetsRequest
- type ApiListVolumesRequest
- type ApiListZoneKaktusesRequest
- type ApiListZonesRequest
- type ApiLoginRequest
- type ApiLogoutRequest
- type ApiReadAdapterRequest
- type ApiReadAgentRequest
- type ApiReadApiTokenRequest
- type ApiReadDnsRecordRequest
- type ApiReadInstanceRemoteConnectionRequest
- type ApiReadInstanceRequest
- type ApiReadInstanceStateRequest
- type ApiReadKaktusCapsRequest
- type ApiReadKaktusRequest
- type ApiReadKawaiiIpSecRequest
- type ApiReadKawaiiRequest
- type ApiReadKiwiRequest
- type ApiReadKomputeRequest
- type ApiReadKomputeStateRequest
- type ApiReadKonveyRequest
- type ApiReadKyloRequest
- type ApiReadProjectCostRequest
- type ApiReadProjectRequest
- type ApiReadProjectUsageRequest
- type ApiReadRegionRequest
- type ApiReadStorageNFSRequest
- type ApiReadStoragePoolRequest
- type ApiReadSubnetRequest
- type ApiReadTeamRequest
- type ApiReadTemplateRequest
- type ApiReadUserRequest
- type ApiReadVNetRequest
- type ApiReadVolumeRequest
- type ApiReadZoneRequest
- type ApiRebootInstanceRequest
- type ApiRebootKomputeRequest
- type ApiResetInstanceRequest
- type ApiResetKomputeRequest
- type ApiResetPasswordRequest
- type ApiResetUserPasswordRequest
- type ApiResumeInstanceRequest
- type ApiResumeKomputeRequest
- type ApiSetAgentApiTokenRequest
- type ApiSetRegionDefaultStorageNFSRequest
- type ApiSetRegionDefaultStoragePoolRequest
- type ApiSetStoragePoolDefaultTemplateRequest
- type ApiSetUserApiTokenRequest
- type ApiSetUserPasswordRequest
- type ApiSetVNetDefaultSubnetRequest
- type ApiShutdownInstanceRequest
- type ApiShutdownKomputeRequest
- type ApiStartInstanceRequest
- type ApiStartKomputeRequest
- type ApiStopInstanceRequest
- type ApiStopKomputeRequest
- type ApiSuspendInstanceRequest
- type ApiSuspendKomputeRequest
- type ApiToken
- func (o *ApiToken) GetDescription() string
- func (o *ApiToken) GetDescriptionOk() (*string, bool)
- func (o *ApiToken) GetExpirationDate() string
- func (o *ApiToken) GetExpirationDateOk() (*string, bool)
- func (o *ApiToken) GetExpire() bool
- func (o *ApiToken) GetExpireOk() (*bool, bool)
- func (o *ApiToken) GetId() string
- func (o *ApiToken) GetIdOk() (*string, bool)
- func (o *ApiToken) GetName() string
- func (o *ApiToken) GetNameOk() (*string, bool)
- func (o *ApiToken) HasDescription() bool
- func (o *ApiToken) HasExpirationDate() bool
- func (o *ApiToken) HasId() bool
- func (o ApiToken) MarshalJSON() ([]byte, error)
- func (o *ApiToken) SetDescription(v string)
- func (o *ApiToken) SetExpirationDate(v string)
- func (o *ApiToken) SetExpire(v bool)
- func (o *ApiToken) SetId(v string)
- func (o *ApiToken) SetName(v string)
- func (o ApiToken) ToMap() (map[string]interface{}, error)
- func (o *ApiToken) UnmarshalJSON(data []byte) (err error)
- type ApiUpdateAdapterRequest
- type ApiUpdateAgentRequest
- type ApiUpdateApiTokenRequest
- type ApiUpdateDnsRecordRequest
- type ApiUpdateInstanceRequest
- type ApiUpdateKaktusRequest
- type ApiUpdateKawaiiIpSecRequest
- type ApiUpdateKawaiiRequest
- type ApiUpdateKiwiRequest
- type ApiUpdateKomputeRequest
- type ApiUpdateKonveyRequest
- type ApiUpdateKyloRequest
- type ApiUpdateProjectRequest
- type ApiUpdateRegionRequest
- type ApiUpdateStorageNFSRequest
- type ApiUpdateStoragePoolRequest
- type ApiUpdateSubnetRequest
- type ApiUpdateTeamRequest
- type ApiUpdateTemplateRequest
- type ApiUpdateUserRequest
- type ApiUpdateVNetRequest
- type ApiUpdateVolumeRequest
- type ApiUpdateZoneRequest
- type BasicAuth
- type Configuration
- type Cost
- func (o *Cost) GetCurrency() string
- func (o *Cost) GetCurrencyOk() (*string, bool)
- func (o *Cost) GetPrice() float32
- func (o *Cost) GetPriceOk() (*float32, bool)
- func (o Cost) MarshalJSON() ([]byte, error)
- func (o *Cost) SetCurrency(v string)
- func (o *Cost) SetPrice(v float32)
- func (o Cost) ToMap() (map[string]interface{}, error)
- func (o *Cost) UnmarshalJSON(data []byte) (err error)
- type DnsRecord
- func (o *DnsRecord) GetAddresses() []string
- func (o *DnsRecord) GetAddressesOk() ([]string, bool)
- func (o *DnsRecord) GetDescription() string
- func (o *DnsRecord) GetDescriptionOk() (*string, bool)
- func (o *DnsRecord) GetDomain() string
- func (o *DnsRecord) GetDomainOk() (*string, bool)
- func (o *DnsRecord) GetId() string
- func (o *DnsRecord) GetIdOk() (*string, bool)
- func (o *DnsRecord) GetName() string
- func (o *DnsRecord) GetNameOk() (*string, bool)
- func (o *DnsRecord) HasDescription() bool
- func (o *DnsRecord) HasDomain() bool
- func (o *DnsRecord) HasId() bool
- func (o DnsRecord) MarshalJSON() ([]byte, error)
- func (o *DnsRecord) SetAddresses(v []string)
- func (o *DnsRecord) SetDescription(v string)
- func (o *DnsRecord) SetDomain(v string)
- func (o *DnsRecord) SetId(v string)
- func (o *DnsRecord) SetName(v string)
- func (o DnsRecord) ToMap() (map[string]interface{}, error)
- func (o *DnsRecord) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type Instance
- func (o *Instance) GetAdapters() []string
- func (o *Instance) GetAdaptersOk() ([]string, bool)
- func (o *Instance) GetDescription() string
- func (o *Instance) GetDescriptionOk() (*string, bool)
- func (o *Instance) GetId() string
- func (o *Instance) GetIdOk() (*string, bool)
- func (o *Instance) GetMemory() int64
- func (o *Instance) GetMemoryOk() (*int64, bool)
- func (o *Instance) GetName() string
- func (o *Instance) GetNameOk() (*string, bool)
- func (o *Instance) GetVcpus() int64
- func (o *Instance) GetVcpusOk() (*int64, bool)
- func (o *Instance) GetVolumes() []string
- func (o *Instance) GetVolumesOk() ([]string, bool)
- func (o *Instance) HasAdapters() bool
- func (o *Instance) HasDescription() bool
- func (o *Instance) HasId() bool
- func (o *Instance) HasVolumes() bool
- func (o Instance) MarshalJSON() ([]byte, error)
- func (o *Instance) SetAdapters(v []string)
- func (o *Instance) SetDescription(v string)
- func (o *Instance) SetId(v string)
- func (o *Instance) SetMemory(v int64)
- func (o *Instance) SetName(v string)
- func (o *Instance) SetVcpus(v int64)
- func (o *Instance) SetVolumes(v []string)
- func (o Instance) ToMap() (map[string]interface{}, error)
- func (o *Instance) UnmarshalJSON(data []byte) (err error)
- type InstanceAPIService
- func (a *InstanceAPIService) DeleteInstance(ctx context.Context, instanceId string) ApiDeleteInstanceRequest
- func (a *InstanceAPIService) DeleteInstanceExecute(r ApiDeleteInstanceRequest) (*http.Response, error)
- func (a *InstanceAPIService) ListInstances(ctx context.Context) ApiListInstancesRequest
- func (a *InstanceAPIService) ListInstancesExecute(r ApiListInstancesRequest) ([]string, *http.Response, error)
- func (a *InstanceAPIService) ReadInstance(ctx context.Context, instanceId string) ApiReadInstanceRequest
- func (a *InstanceAPIService) ReadInstanceExecute(r ApiReadInstanceRequest) (*Instance, *http.Response, error)
- func (a *InstanceAPIService) ReadInstanceRemoteConnection(ctx context.Context, instanceId string) ApiReadInstanceRemoteConnectionRequest
- func (a *InstanceAPIService) ReadInstanceRemoteConnectionExecute(r ApiReadInstanceRemoteConnectionRequest) (*InstanceRemoteAccess, *http.Response, error)
- func (a *InstanceAPIService) ReadInstanceState(ctx context.Context, instanceId string) ApiReadInstanceStateRequest
- func (a *InstanceAPIService) ReadInstanceStateExecute(r ApiReadInstanceStateRequest) (*InstanceState, *http.Response, error)
- func (a *InstanceAPIService) RebootInstance(ctx context.Context, instanceId string) ApiRebootInstanceRequest
- func (a *InstanceAPIService) RebootInstanceExecute(r ApiRebootInstanceRequest) (*http.Response, error)
- func (a *InstanceAPIService) ResetInstance(ctx context.Context, instanceId string) ApiResetInstanceRequest
- func (a *InstanceAPIService) ResetInstanceExecute(r ApiResetInstanceRequest) (*http.Response, error)
- func (a *InstanceAPIService) ResumeInstance(ctx context.Context, instanceId string) ApiResumeInstanceRequest
- func (a *InstanceAPIService) ResumeInstanceExecute(r ApiResumeInstanceRequest) (*http.Response, error)
- func (a *InstanceAPIService) ShutdownInstance(ctx context.Context, instanceId string) ApiShutdownInstanceRequest
- func (a *InstanceAPIService) ShutdownInstanceExecute(r ApiShutdownInstanceRequest) (*http.Response, error)
- func (a *InstanceAPIService) StartInstance(ctx context.Context, instanceId string) ApiStartInstanceRequest
- func (a *InstanceAPIService) StartInstanceExecute(r ApiStartInstanceRequest) (*http.Response, error)
- func (a *InstanceAPIService) StopInstance(ctx context.Context, instanceId string) ApiStopInstanceRequest
- func (a *InstanceAPIService) StopInstanceExecute(r ApiStopInstanceRequest) (*http.Response, error)
- func (a *InstanceAPIService) SuspendInstance(ctx context.Context, instanceId string) ApiSuspendInstanceRequest
- func (a *InstanceAPIService) SuspendInstanceExecute(r ApiSuspendInstanceRequest) (*http.Response, error)
- func (a *InstanceAPIService) UpdateInstance(ctx context.Context, instanceId string) ApiUpdateInstanceRequest
- func (a *InstanceAPIService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) (*Instance, *http.Response, error)
- type InstanceRemoteAccess
- func (o *InstanceRemoteAccess) GetUrl() string
- func (o *InstanceRemoteAccess) GetUrlOk() (*string, bool)
- func (o InstanceRemoteAccess) MarshalJSON() ([]byte, error)
- func (o *InstanceRemoteAccess) SetUrl(v string)
- func (o InstanceRemoteAccess) ToMap() (map[string]interface{}, error)
- func (o *InstanceRemoteAccess) UnmarshalJSON(data []byte) (err error)
- type InstanceState
- func (o *InstanceState) GetReason() string
- func (o *InstanceState) GetReasonOk() (*string, bool)
- func (o *InstanceState) GetState() string
- func (o *InstanceState) GetStateOk() (*string, bool)
- func (o InstanceState) MarshalJSON() ([]byte, error)
- func (o *InstanceState) SetReason(v string)
- func (o *InstanceState) SetState(v string)
- func (o InstanceState) ToMap() (map[string]interface{}, error)
- func (o *InstanceState) UnmarshalJSON(data []byte) (err error)
- type IpRange
- func (o *IpRange) GetFirst() string
- func (o *IpRange) GetFirstOk() (*string, bool)
- func (o *IpRange) GetLast() string
- func (o *IpRange) GetLastOk() (*string, bool)
- func (o IpRange) MarshalJSON() ([]byte, error)
- func (o *IpRange) SetFirst(v string)
- func (o *IpRange) SetLast(v string)
- func (o IpRange) ToMap() (map[string]interface{}, error)
- func (o *IpRange) UnmarshalJSON(data []byte) (err error)
- type Kaktus
- func (o *Kaktus) GetAgents() []string
- func (o *Kaktus) GetAgentsOk() ([]string, bool)
- func (o *Kaktus) GetCpuCost() Cost
- func (o *Kaktus) GetCpuCostOk() (Cost, bool)
- func (o *Kaktus) GetDescription() string
- func (o *Kaktus) GetDescriptionOk() (*string, bool)
- func (o *Kaktus) GetId() string
- func (o *Kaktus) GetIdOk() (*string, bool)
- func (o *Kaktus) GetMemoryCost() Cost
- func (o *Kaktus) GetMemoryCostOk() (Cost, bool)
- func (o *Kaktus) GetName() string
- func (o *Kaktus) GetNameOk() (*string, bool)
- func (o *Kaktus) GetOvercommitCpuRatio() int64
- func (o *Kaktus) GetOvercommitCpuRatioOk() (*int64, bool)
- func (o *Kaktus) GetOvercommitMemoryRatio() int64
- func (o *Kaktus) GetOvercommitMemoryRatioOk() (*int64, bool)
- func (o *Kaktus) HasCpuCost() bool
- func (o *Kaktus) HasDescription() bool
- func (o *Kaktus) HasId() bool
- func (o *Kaktus) HasMemoryCost() bool
- func (o *Kaktus) HasOvercommitCpuRatio() bool
- func (o *Kaktus) HasOvercommitMemoryRatio() bool
- func (o Kaktus) MarshalJSON() ([]byte, error)
- func (o *Kaktus) SetAgents(v []string)
- func (o *Kaktus) SetCpuCost(v Cost)
- func (o *Kaktus) SetDescription(v string)
- func (o *Kaktus) SetId(v string)
- func (o *Kaktus) SetMemoryCost(v Cost)
- func (o *Kaktus) SetName(v string)
- func (o *Kaktus) SetOvercommitCpuRatio(v int64)
- func (o *Kaktus) SetOvercommitMemoryRatio(v int64)
- func (o Kaktus) ToMap() (map[string]interface{}, error)
- func (o *Kaktus) UnmarshalJSON(data []byte) (err error)
- type KaktusAPIService
- func (a *KaktusAPIService) DeleteKaktus(ctx context.Context, kaktusId string) ApiDeleteKaktusRequest
- func (a *KaktusAPIService) DeleteKaktusExecute(r ApiDeleteKaktusRequest) (*http.Response, error)
- func (a *KaktusAPIService) ListKaktusInstances(ctx context.Context, kaktusId string) ApiListKaktusInstancesRequest
- func (a *KaktusAPIService) ListKaktusInstancesExecute(r ApiListKaktusInstancesRequest) ([]string, *http.Response, error)
- func (a *KaktusAPIService) ListKaktuss(ctx context.Context) ApiListKaktussRequest
- func (a *KaktusAPIService) ListKaktussExecute(r ApiListKaktussRequest) ([]string, *http.Response, error)
- func (a *KaktusAPIService) ReadKaktus(ctx context.Context, kaktusId string) ApiReadKaktusRequest
- func (a *KaktusAPIService) ReadKaktusCaps(ctx context.Context, kaktusId string) ApiReadKaktusCapsRequest
- func (a *KaktusAPIService) ReadKaktusCapsExecute(r ApiReadKaktusCapsRequest) (*KaktusCaps, *http.Response, error)
- func (a *KaktusAPIService) ReadKaktusExecute(r ApiReadKaktusRequest) (*Kaktus, *http.Response, error)
- func (a *KaktusAPIService) UpdateKaktus(ctx context.Context, kaktusId string) ApiUpdateKaktusRequest
- func (a *KaktusAPIService) UpdateKaktusExecute(r ApiUpdateKaktusRequest) (*Kaktus, *http.Response, error)
- type KaktusCPU
- func (o *KaktusCPU) GetArch() string
- func (o *KaktusCPU) GetArchOk() (*string, bool)
- func (o *KaktusCPU) GetCores() int64
- func (o *KaktusCPU) GetCoresOk() (*int64, bool)
- func (o *KaktusCPU) GetModel() string
- func (o *KaktusCPU) GetModelOk() (*string, bool)
- func (o *KaktusCPU) GetSockets() int64
- func (o *KaktusCPU) GetSocketsOk() (*int64, bool)
- func (o *KaktusCPU) GetThreads() int64
- func (o *KaktusCPU) GetThreadsOk() (*int64, bool)
- func (o *KaktusCPU) GetVendor() string
- func (o *KaktusCPU) GetVendorOk() (*string, bool)
- func (o KaktusCPU) MarshalJSON() ([]byte, error)
- func (o *KaktusCPU) SetArch(v string)
- func (o *KaktusCPU) SetCores(v int64)
- func (o *KaktusCPU) SetModel(v string)
- func (o *KaktusCPU) SetSockets(v int64)
- func (o *KaktusCPU) SetThreads(v int64)
- func (o *KaktusCPU) SetVendor(v string)
- func (o KaktusCPU) ToMap() (map[string]interface{}, error)
- func (o *KaktusCPU) UnmarshalJSON(data []byte) (err error)
- type KaktusCaps
- func (o *KaktusCaps) GetCpu() KaktusCPU
- func (o *KaktusCaps) GetCpuOk() (KaktusCPU, bool)
- func (o *KaktusCaps) GetMemory() int64
- func (o *KaktusCaps) GetMemoryOk() (*int64, bool)
- func (o KaktusCaps) MarshalJSON() ([]byte, error)
- func (o *KaktusCaps) SetCpu(v KaktusCPU)
- func (o *KaktusCaps) SetMemory(v int64)
- func (o KaktusCaps) ToMap() (map[string]interface{}, error)
- func (o *KaktusCaps) UnmarshalJSON(data []byte) (err error)
- type Kawaii
- func (o *Kawaii) GetDescription() string
- func (o *Kawaii) GetDescriptionOk() (*string, bool)
- func (o *Kawaii) GetDnat() []KawaiiDNatRule
- func (o *Kawaii) GetDnatOk() ([]KawaiiDNatRule, bool)
- func (o *Kawaii) GetFirewall() KawaiiFirewall
- func (o *Kawaii) GetFirewallOk() (KawaiiFirewall, bool)
- func (o *Kawaii) GetId() string
- func (o *Kawaii) GetIdOk() (*string, bool)
- func (o *Kawaii) GetIpsecConnections() []KawaiiIpSec
- func (o *Kawaii) GetIpsecConnectionsOk() ([]KawaiiIpSec, bool)
- func (o *Kawaii) GetName() string
- func (o *Kawaii) GetNameOk() (*string, bool)
- func (o *Kawaii) GetNetip() KawaiiNetIp
- func (o *Kawaii) GetNetipOk() (KawaiiNetIp, bool)
- func (o *Kawaii) GetVpcPeerings() []KawaiiVpcPeering
- func (o *Kawaii) GetVpcPeeringsOk() ([]KawaiiVpcPeering, bool)
- func (o *Kawaii) HasDescription() bool
- func (o *Kawaii) HasDnat() bool
- func (o *Kawaii) HasFirewall() bool
- func (o *Kawaii) HasId() bool
- func (o *Kawaii) HasIpsecConnections() bool
- func (o *Kawaii) HasName() bool
- func (o *Kawaii) HasNetip() bool
- func (o *Kawaii) HasVpcPeerings() bool
- func (o Kawaii) MarshalJSON() ([]byte, error)
- func (o *Kawaii) SetDescription(v string)
- func (o *Kawaii) SetDnat(v []KawaiiDNatRule)
- func (o *Kawaii) SetFirewall(v KawaiiFirewall)
- func (o *Kawaii) SetId(v string)
- func (o *Kawaii) SetIpsecConnections(v []KawaiiIpSec)
- func (o *Kawaii) SetName(v string)
- func (o *Kawaii) SetNetip(v KawaiiNetIp)
- func (o *Kawaii) SetVpcPeerings(v []KawaiiVpcPeering)
- func (o Kawaii) ToMap() (map[string]interface{}, error)
- type KawaiiAPIService
- func (a *KawaiiAPIService) CreateKawaiiIpSec(ctx context.Context, kawaiiId string) ApiCreateKawaiiIpSecRequest
- func (a *KawaiiAPIService) CreateKawaiiIpSecExecute(r ApiCreateKawaiiIpSecRequest) (*KawaiiIpSec, *http.Response, error)
- func (a *KawaiiAPIService) DeleteKawaii(ctx context.Context, kawaiiId string) ApiDeleteKawaiiRequest
- func (a *KawaiiAPIService) DeleteKawaiiExecute(r ApiDeleteKawaiiRequest) (*http.Response, error)
- func (a *KawaiiAPIService) DeleteKawaiiIpSec(ctx context.Context, kawaiiId string, kawaiiIpSecId string) ApiDeleteKawaiiIpSecRequest
- func (a *KawaiiAPIService) DeleteKawaiiIpSecExecute(r ApiDeleteKawaiiIpSecRequest) (*http.Response, error)
- func (a *KawaiiAPIService) ListKawaiiIpSecs(ctx context.Context, kawaiiId string) ApiListKawaiiIpSecsRequest
- func (a *KawaiiAPIService) ListKawaiiIpSecsExecute(r ApiListKawaiiIpSecsRequest) ([]string, *http.Response, error)
- func (a *KawaiiAPIService) ListKawaiis(ctx context.Context) ApiListKawaiisRequest
- func (a *KawaiiAPIService) ListKawaiisExecute(r ApiListKawaiisRequest) ([]string, *http.Response, error)
- func (a *KawaiiAPIService) ReadKawaii(ctx context.Context, kawaiiId string) ApiReadKawaiiRequest
- func (a *KawaiiAPIService) ReadKawaiiExecute(r ApiReadKawaiiRequest) (*Kawaii, *http.Response, error)
- func (a *KawaiiAPIService) ReadKawaiiIpSec(ctx context.Context, kawaiiId string, kawaiiIpSecId string) ApiReadKawaiiIpSecRequest
- func (a *KawaiiAPIService) ReadKawaiiIpSecExecute(r ApiReadKawaiiIpSecRequest) (*KawaiiIpSec, *http.Response, error)
- func (a *KawaiiAPIService) UpdateKawaii(ctx context.Context, kawaiiId string) ApiUpdateKawaiiRequest
- func (a *KawaiiAPIService) UpdateKawaiiExecute(r ApiUpdateKawaiiRequest) (*Kawaii, *http.Response, error)
- func (a *KawaiiAPIService) UpdateKawaiiIpSec(ctx context.Context, kawaiiId string, kawaiiIpSecId string) ApiUpdateKawaiiIpSecRequest
- func (a *KawaiiAPIService) UpdateKawaiiIpSecExecute(r ApiUpdateKawaiiIpSecRequest) (*KawaiiIpSec, *http.Response, error)
- type KawaiiDNatRule
- func (o *KawaiiDNatRule) GetDestination() string
- func (o *KawaiiDNatRule) GetDestinationOk() (*string, bool)
- func (o *KawaiiDNatRule) GetPorts() string
- func (o *KawaiiDNatRule) GetPortsOk() (*string, bool)
- func (o *KawaiiDNatRule) GetProtocol() string
- func (o *KawaiiDNatRule) GetProtocolOk() (*string, bool)
- func (o *KawaiiDNatRule) HasProtocol() bool
- func (o KawaiiDNatRule) MarshalJSON() ([]byte, error)
- func (o *KawaiiDNatRule) SetDestination(v string)
- func (o *KawaiiDNatRule) SetPorts(v string)
- func (o *KawaiiDNatRule) SetProtocol(v string)
- func (o KawaiiDNatRule) ToMap() (map[string]interface{}, error)
- func (o *KawaiiDNatRule) UnmarshalJSON(data []byte) (err error)
- type KawaiiFirewall
- func (o *KawaiiFirewall) GetEgress() []KawaiiFirewallEgressRule
- func (o *KawaiiFirewall) GetEgressOk() ([]KawaiiFirewallEgressRule, bool)
- func (o *KawaiiFirewall) GetEgressPolicy() string
- func (o *KawaiiFirewall) GetEgressPolicyOk() (*string, bool)
- func (o *KawaiiFirewall) GetIngress() []KawaiiFirewallIngressRule
- func (o *KawaiiFirewall) GetIngressOk() ([]KawaiiFirewallIngressRule, bool)
- func (o *KawaiiFirewall) HasEgress() bool
- func (o *KawaiiFirewall) HasEgressPolicy() bool
- func (o *KawaiiFirewall) HasIngress() bool
- func (o KawaiiFirewall) MarshalJSON() ([]byte, error)
- func (o *KawaiiFirewall) SetEgress(v []KawaiiFirewallEgressRule)
- func (o *KawaiiFirewall) SetEgressPolicy(v string)
- func (o *KawaiiFirewall) SetIngress(v []KawaiiFirewallIngressRule)
- func (o KawaiiFirewall) ToMap() (map[string]interface{}, error)
- type KawaiiFirewallEgressRule
- func (o *KawaiiFirewallEgressRule) GetDestination() string
- func (o *KawaiiFirewallEgressRule) GetDestinationOk() (*string, bool)
- func (o *KawaiiFirewallEgressRule) GetPorts() string
- func (o *KawaiiFirewallEgressRule) GetPortsOk() (*string, bool)
- func (o *KawaiiFirewallEgressRule) GetProtocol() string
- func (o *KawaiiFirewallEgressRule) GetProtocolOk() (*string, bool)
- func (o *KawaiiFirewallEgressRule) HasDestination() bool
- func (o *KawaiiFirewallEgressRule) HasProtocol() bool
- func (o KawaiiFirewallEgressRule) MarshalJSON() ([]byte, error)
- func (o *KawaiiFirewallEgressRule) SetDestination(v string)
- func (o *KawaiiFirewallEgressRule) SetPorts(v string)
- func (o *KawaiiFirewallEgressRule) SetProtocol(v string)
- func (o KawaiiFirewallEgressRule) ToMap() (map[string]interface{}, error)
- func (o *KawaiiFirewallEgressRule) UnmarshalJSON(data []byte) (err error)
- type KawaiiFirewallIngressRule
- func (o *KawaiiFirewallIngressRule) GetPorts() string
- func (o *KawaiiFirewallIngressRule) GetPortsOk() (*string, bool)
- func (o *KawaiiFirewallIngressRule) GetProtocol() string
- func (o *KawaiiFirewallIngressRule) GetProtocolOk() (*string, bool)
- func (o *KawaiiFirewallIngressRule) GetSource() string
- func (o *KawaiiFirewallIngressRule) GetSourceOk() (*string, bool)
- func (o *KawaiiFirewallIngressRule) HasProtocol() bool
- func (o *KawaiiFirewallIngressRule) HasSource() bool
- func (o KawaiiFirewallIngressRule) MarshalJSON() ([]byte, error)
- func (o *KawaiiFirewallIngressRule) SetPorts(v string)
- func (o *KawaiiFirewallIngressRule) SetProtocol(v string)
- func (o *KawaiiFirewallIngressRule) SetSource(v string)
- func (o KawaiiFirewallIngressRule) ToMap() (map[string]interface{}, error)
- func (o *KawaiiFirewallIngressRule) UnmarshalJSON(data []byte) (err error)
- type KawaiiIpSec
- func (o *KawaiiIpSec) GetDescription() string
- func (o *KawaiiIpSec) GetDescriptionOk() (*string, bool)
- func (o *KawaiiIpSec) GetDpdTimeout() string
- func (o *KawaiiIpSec) GetDpdTimeoutAction() string
- func (o *KawaiiIpSec) GetDpdTimeoutActionOk() (*string, bool)
- func (o *KawaiiIpSec) GetDpdTimeoutOk() (*string, bool)
- func (o *KawaiiIpSec) GetFirewall() KawaiiFirewall
- func (o *KawaiiIpSec) GetFirewallOk() (KawaiiFirewall, bool)
- func (o *KawaiiIpSec) GetId() string
- func (o *KawaiiIpSec) GetIdOk() (*string, bool)
- func (o *KawaiiIpSec) GetIp() string
- func (o *KawaiiIpSec) GetIpOk() (*string, bool)
- func (o *KawaiiIpSec) GetName() string
- func (o *KawaiiIpSec) GetNameOk() (*string, bool)
- func (o *KawaiiIpSec) GetPhase1DhGroupNumber() int64
- func (o *KawaiiIpSec) GetPhase1DhGroupNumberOk() (*int64, bool)
- func (o *KawaiiIpSec) GetPhase1EncryptionAlgorithm() string
- func (o *KawaiiIpSec) GetPhase1EncryptionAlgorithmOk() (*string, bool)
- func (o *KawaiiIpSec) GetPhase1IntegrityAlgorithm() string
- func (o *KawaiiIpSec) GetPhase1IntegrityAlgorithmOk() (*string, bool)
- func (o *KawaiiIpSec) GetPhase1Lifetime() string
- func (o *KawaiiIpSec) GetPhase1LifetimeOk() (*string, bool)
- func (o *KawaiiIpSec) GetPhase2DhGroupNumber() int64
- func (o *KawaiiIpSec) GetPhase2DhGroupNumberOk() (*int64, bool)
- func (o *KawaiiIpSec) GetPhase2EncryptionAlgorithm() string
- func (o *KawaiiIpSec) GetPhase2EncryptionAlgorithmOk() (*string, bool)
- func (o *KawaiiIpSec) GetPhase2IntegrityAlgorithm() string
- func (o *KawaiiIpSec) GetPhase2IntegrityAlgorithmOk() (*string, bool)
- func (o *KawaiiIpSec) GetPhase2Lifetime() string
- func (o *KawaiiIpSec) GetPhase2LifetimeOk() (*string, bool)
- func (o *KawaiiIpSec) GetPreSharedKey() string
- func (o *KawaiiIpSec) GetPreSharedKeyOk() (*string, bool)
- func (o *KawaiiIpSec) GetRekeyTime() string
- func (o *KawaiiIpSec) GetRekeyTimeOk() (*string, bool)
- func (o *KawaiiIpSec) GetRemoteIp() string
- func (o *KawaiiIpSec) GetRemoteIpOk() (*string, bool)
- func (o *KawaiiIpSec) GetRemoteSubnet() string
- func (o *KawaiiIpSec) GetRemoteSubnetOk() (*string, bool)
- func (o *KawaiiIpSec) GetStartAction() string
- func (o *KawaiiIpSec) GetStartActionOk() (*string, bool)
- func (o *KawaiiIpSec) HasDescription() bool
- func (o *KawaiiIpSec) HasDpdTimeout() bool
- func (o *KawaiiIpSec) HasDpdTimeoutAction() bool
- func (o *KawaiiIpSec) HasFirewall() bool
- func (o *KawaiiIpSec) HasId() bool
- func (o *KawaiiIpSec) HasIp() bool
- func (o *KawaiiIpSec) HasPhase1Lifetime() bool
- func (o *KawaiiIpSec) HasPhase2Lifetime() bool
- func (o *KawaiiIpSec) HasRekeyTime() bool
- func (o *KawaiiIpSec) HasStartAction() bool
- func (o KawaiiIpSec) MarshalJSON() ([]byte, error)
- func (o *KawaiiIpSec) SetDescription(v string)
- func (o *KawaiiIpSec) SetDpdTimeout(v string)
- func (o *KawaiiIpSec) SetDpdTimeoutAction(v string)
- func (o *KawaiiIpSec) SetFirewall(v KawaiiFirewall)
- func (o *KawaiiIpSec) SetId(v string)
- func (o *KawaiiIpSec) SetIp(v string)
- func (o *KawaiiIpSec) SetName(v string)
- func (o *KawaiiIpSec) SetPhase1DhGroupNumber(v int64)
- func (o *KawaiiIpSec) SetPhase1EncryptionAlgorithm(v string)
- func (o *KawaiiIpSec) SetPhase1IntegrityAlgorithm(v string)
- func (o *KawaiiIpSec) SetPhase1Lifetime(v string)
- func (o *KawaiiIpSec) SetPhase2DhGroupNumber(v int64)
- func (o *KawaiiIpSec) SetPhase2EncryptionAlgorithm(v string)
- func (o *KawaiiIpSec) SetPhase2IntegrityAlgorithm(v string)
- func (o *KawaiiIpSec) SetPhase2Lifetime(v string)
- func (o *KawaiiIpSec) SetPreSharedKey(v string)
- func (o *KawaiiIpSec) SetRekeyTime(v string)
- func (o *KawaiiIpSec) SetRemoteIp(v string)
- func (o *KawaiiIpSec) SetRemoteSubnet(v string)
- func (o *KawaiiIpSec) SetStartAction(v string)
- func (o KawaiiIpSec) ToMap() (map[string]interface{}, error)
- func (o *KawaiiIpSec) UnmarshalJSON(data []byte) (err error)
- type KawaiiNetIp
- func (o *KawaiiNetIp) GetPrivate() []string
- func (o *KawaiiNetIp) GetPrivateOk() ([]string, bool)
- func (o *KawaiiNetIp) GetPublic() []string
- func (o *KawaiiNetIp) GetPublicOk() ([]string, bool)
- func (o *KawaiiNetIp) GetZones() []KawaiiNetIpZone
- func (o *KawaiiNetIp) GetZonesOk() ([]KawaiiNetIpZone, bool)
- func (o KawaiiNetIp) MarshalJSON() ([]byte, error)
- func (o *KawaiiNetIp) SetPrivate(v []string)
- func (o *KawaiiNetIp) SetPublic(v []string)
- func (o *KawaiiNetIp) SetZones(v []KawaiiNetIpZone)
- func (o KawaiiNetIp) ToMap() (map[string]interface{}, error)
- func (o *KawaiiNetIp) UnmarshalJSON(data []byte) (err error)
- type KawaiiNetIpZone
- func (o *KawaiiNetIpZone) GetPrivate() string
- func (o *KawaiiNetIpZone) GetPrivateOk() (*string, bool)
- func (o *KawaiiNetIpZone) GetPublic() string
- func (o *KawaiiNetIpZone) GetPublicOk() (*string, bool)
- func (o *KawaiiNetIpZone) GetZone() string
- func (o *KawaiiNetIpZone) GetZoneOk() (*string, bool)
- func (o KawaiiNetIpZone) MarshalJSON() ([]byte, error)
- func (o *KawaiiNetIpZone) SetPrivate(v string)
- func (o *KawaiiNetIpZone) SetPublic(v string)
- func (o *KawaiiNetIpZone) SetZone(v string)
- func (o KawaiiNetIpZone) ToMap() (map[string]interface{}, error)
- func (o *KawaiiNetIpZone) UnmarshalJSON(data []byte) (err error)
- type KawaiiVpcForwardRule
- func (o *KawaiiVpcForwardRule) GetPorts() string
- func (o *KawaiiVpcForwardRule) GetPortsOk() (*string, bool)
- func (o *KawaiiVpcForwardRule) GetProtocol() string
- func (o *KawaiiVpcForwardRule) GetProtocolOk() (*string, bool)
- func (o *KawaiiVpcForwardRule) HasProtocol() bool
- func (o KawaiiVpcForwardRule) MarshalJSON() ([]byte, error)
- func (o *KawaiiVpcForwardRule) SetPorts(v string)
- func (o *KawaiiVpcForwardRule) SetProtocol(v string)
- func (o KawaiiVpcForwardRule) ToMap() (map[string]interface{}, error)
- func (o *KawaiiVpcForwardRule) UnmarshalJSON(data []byte) (err error)
- type KawaiiVpcNetIpZone
- func (o *KawaiiVpcNetIpZone) GetPrivate() string
- func (o *KawaiiVpcNetIpZone) GetPrivateOk() (*string, bool)
- func (o *KawaiiVpcNetIpZone) GetZone() string
- func (o *KawaiiVpcNetIpZone) GetZoneOk() (*string, bool)
- func (o KawaiiVpcNetIpZone) MarshalJSON() ([]byte, error)
- func (o *KawaiiVpcNetIpZone) SetPrivate(v string)
- func (o *KawaiiVpcNetIpZone) SetZone(v string)
- func (o KawaiiVpcNetIpZone) ToMap() (map[string]interface{}, error)
- func (o *KawaiiVpcNetIpZone) UnmarshalJSON(data []byte) (err error)
- type KawaiiVpcPeering
- func (o *KawaiiVpcPeering) GetEgress() []KawaiiVpcForwardRule
- func (o *KawaiiVpcPeering) GetEgressOk() ([]KawaiiVpcForwardRule, bool)
- func (o *KawaiiVpcPeering) GetIngress() []KawaiiVpcForwardRule
- func (o *KawaiiVpcPeering) GetIngressOk() ([]KawaiiVpcForwardRule, bool)
- func (o *KawaiiVpcPeering) GetNetip() []KawaiiVpcNetIpZone
- func (o *KawaiiVpcPeering) GetNetipOk() ([]KawaiiVpcNetIpZone, bool)
- func (o *KawaiiVpcPeering) GetPolicy() string
- func (o *KawaiiVpcPeering) GetPolicyOk() (*string, bool)
- func (o *KawaiiVpcPeering) GetSubnet() string
- func (o *KawaiiVpcPeering) GetSubnetOk() (*string, bool)
- func (o *KawaiiVpcPeering) HasEgress() bool
- func (o *KawaiiVpcPeering) HasIngress() bool
- func (o *KawaiiVpcPeering) HasNetip() bool
- func (o *KawaiiVpcPeering) HasPolicy() bool
- func (o KawaiiVpcPeering) MarshalJSON() ([]byte, error)
- func (o *KawaiiVpcPeering) SetEgress(v []KawaiiVpcForwardRule)
- func (o *KawaiiVpcPeering) SetIngress(v []KawaiiVpcForwardRule)
- func (o *KawaiiVpcPeering) SetNetip(v []KawaiiVpcNetIpZone)
- func (o *KawaiiVpcPeering) SetPolicy(v string)
- func (o *KawaiiVpcPeering) SetSubnet(v string)
- func (o KawaiiVpcPeering) ToMap() (map[string]interface{}, error)
- func (o *KawaiiVpcPeering) UnmarshalJSON(data []byte) (err error)
- type Kiwi
- func (o *Kiwi) GetAgents() []string
- func (o *Kiwi) GetAgentsOk() ([]string, bool)
- func (o *Kiwi) GetDescription() string
- func (o *Kiwi) GetDescriptionOk() (*string, bool)
- func (o *Kiwi) GetId() string
- func (o *Kiwi) GetIdOk() (*string, bool)
- func (o *Kiwi) GetName() string
- func (o *Kiwi) GetNameOk() (*string, bool)
- func (o *Kiwi) HasAgents() bool
- func (o *Kiwi) HasDescription() bool
- func (o *Kiwi) HasId() bool
- func (o Kiwi) MarshalJSON() ([]byte, error)
- func (o *Kiwi) SetAgents(v []string)
- func (o *Kiwi) SetDescription(v string)
- func (o *Kiwi) SetId(v string)
- func (o *Kiwi) SetName(v string)
- func (o Kiwi) ToMap() (map[string]interface{}, error)
- func (o *Kiwi) UnmarshalJSON(data []byte) (err error)
- type KiwiAPIService
- func (a *KiwiAPIService) DeleteKiwi(ctx context.Context, kiwiId string) ApiDeleteKiwiRequest
- func (a *KiwiAPIService) DeleteKiwiExecute(r ApiDeleteKiwiRequest) (*http.Response, error)
- func (a *KiwiAPIService) ListKiwis(ctx context.Context) ApiListKiwisRequest
- func (a *KiwiAPIService) ListKiwisExecute(r ApiListKiwisRequest) ([]string, *http.Response, error)
- func (a *KiwiAPIService) ReadKiwi(ctx context.Context, kiwiId string) ApiReadKiwiRequest
- func (a *KiwiAPIService) ReadKiwiExecute(r ApiReadKiwiRequest) (*Kiwi, *http.Response, error)
- func (a *KiwiAPIService) UpdateKiwi(ctx context.Context, kiwiId string) ApiUpdateKiwiRequest
- func (a *KiwiAPIService) UpdateKiwiExecute(r ApiUpdateKiwiRequest) (*Kiwi, *http.Response, error)
- type Kompute
- func (o *Kompute) GetDataDisk() int64
- func (o *Kompute) GetDataDiskOk() (*int64, bool)
- func (o *Kompute) GetDescription() string
- func (o *Kompute) GetDescriptionOk() (*string, bool)
- func (o *Kompute) GetDisk() int64
- func (o *Kompute) GetDiskOk() (*int64, bool)
- func (o *Kompute) GetId() string
- func (o *Kompute) GetIdOk() (*string, bool)
- func (o *Kompute) GetIp() string
- func (o *Kompute) GetIpOk() (*string, bool)
- func (o *Kompute) GetMemory() int64
- func (o *Kompute) GetMemoryOk() (*int64, bool)
- func (o *Kompute) GetName() string
- func (o *Kompute) GetNameOk() (*string, bool)
- func (o *Kompute) GetVcpus() int64
- func (o *Kompute) GetVcpusOk() (*int64, bool)
- func (o *Kompute) HasDataDisk() bool
- func (o *Kompute) HasDescription() bool
- func (o *Kompute) HasId() bool
- func (o *Kompute) HasIp() bool
- func (o Kompute) MarshalJSON() ([]byte, error)
- func (o *Kompute) SetDataDisk(v int64)
- func (o *Kompute) SetDescription(v string)
- func (o *Kompute) SetDisk(v int64)
- func (o *Kompute) SetId(v string)
- func (o *Kompute) SetIp(v string)
- func (o *Kompute) SetMemory(v int64)
- func (o *Kompute) SetName(v string)
- func (o *Kompute) SetVcpus(v int64)
- func (o Kompute) ToMap() (map[string]interface{}, error)
- func (o *Kompute) UnmarshalJSON(data []byte) (err error)
- type KomputeAPIService
- func (a *KomputeAPIService) DeleteKompute(ctx context.Context, komputeId string) ApiDeleteKomputeRequest
- func (a *KomputeAPIService) DeleteKomputeExecute(r ApiDeleteKomputeRequest) (*http.Response, error)
- func (a *KomputeAPIService) ListKomputes(ctx context.Context) ApiListKomputesRequest
- func (a *KomputeAPIService) ListKomputesExecute(r ApiListKomputesRequest) ([]string, *http.Response, error)
- func (a *KomputeAPIService) ReadKompute(ctx context.Context, komputeId string) ApiReadKomputeRequest
- func (a *KomputeAPIService) ReadKomputeExecute(r ApiReadKomputeRequest) (*Kompute, *http.Response, error)
- func (a *KomputeAPIService) ReadKomputeState(ctx context.Context, komputeId string) ApiReadKomputeStateRequest
- func (a *KomputeAPIService) ReadKomputeStateExecute(r ApiReadKomputeStateRequest) (*InstanceState, *http.Response, error)
- func (a *KomputeAPIService) RebootKompute(ctx context.Context, komputeId string) ApiRebootKomputeRequest
- func (a *KomputeAPIService) RebootKomputeExecute(r ApiRebootKomputeRequest) (*http.Response, error)
- func (a *KomputeAPIService) ResetKompute(ctx context.Context, komputeId string) ApiResetKomputeRequest
- func (a *KomputeAPIService) ResetKomputeExecute(r ApiResetKomputeRequest) (*http.Response, error)
- func (a *KomputeAPIService) ResumeKompute(ctx context.Context, komputeId string) ApiResumeKomputeRequest
- func (a *KomputeAPIService) ResumeKomputeExecute(r ApiResumeKomputeRequest) (*http.Response, error)
- func (a *KomputeAPIService) ShutdownKompute(ctx context.Context, komputeId string) ApiShutdownKomputeRequest
- func (a *KomputeAPIService) ShutdownKomputeExecute(r ApiShutdownKomputeRequest) (*http.Response, error)
- func (a *KomputeAPIService) StartKompute(ctx context.Context, komputeId string) ApiStartKomputeRequest
- func (a *KomputeAPIService) StartKomputeExecute(r ApiStartKomputeRequest) (*http.Response, error)
- func (a *KomputeAPIService) StopKompute(ctx context.Context, komputeId string) ApiStopKomputeRequest
- func (a *KomputeAPIService) StopKomputeExecute(r ApiStopKomputeRequest) (*http.Response, error)
- func (a *KomputeAPIService) SuspendKompute(ctx context.Context, komputeId string) ApiSuspendKomputeRequest
- func (a *KomputeAPIService) SuspendKomputeExecute(r ApiSuspendKomputeRequest) (*http.Response, error)
- func (a *KomputeAPIService) UpdateKompute(ctx context.Context, komputeId string) ApiUpdateKomputeRequest
- func (a *KomputeAPIService) UpdateKomputeExecute(r ApiUpdateKomputeRequest) (*Kompute, *http.Response, error)
- type Konvey
- func (o *Konvey) GetDescription() string
- func (o *Konvey) GetDescriptionOk() (*string, bool)
- func (o *Konvey) GetEndpoints() []KonveyEndpoint
- func (o *Konvey) GetEndpointsOk() ([]KonveyEndpoint, bool)
- func (o *Konvey) GetFailover() bool
- func (o *Konvey) GetFailoverOk() (*bool, bool)
- func (o *Konvey) GetId() string
- func (o *Konvey) GetIdOk() (*string, bool)
- func (o *Konvey) GetName() string
- func (o *Konvey) GetNameOk() (*string, bool)
- func (o *Konvey) GetVip() string
- func (o *Konvey) GetVipOk() (*string, bool)
- func (o *Konvey) HasDescription() bool
- func (o *Konvey) HasFailover() bool
- func (o *Konvey) HasId() bool
- func (o *Konvey) HasName() bool
- func (o *Konvey) HasVip() bool
- func (o Konvey) MarshalJSON() ([]byte, error)
- func (o *Konvey) SetDescription(v string)
- func (o *Konvey) SetEndpoints(v []KonveyEndpoint)
- func (o *Konvey) SetFailover(v bool)
- func (o *Konvey) SetId(v string)
- func (o *Konvey) SetName(v string)
- func (o *Konvey) SetVip(v string)
- func (o Konvey) ToMap() (map[string]interface{}, error)
- func (o *Konvey) UnmarshalJSON(data []byte) (err error)
- type KonveyAPIService
- func (a *KonveyAPIService) DeleteKonvey(ctx context.Context, konveyId string) ApiDeleteKonveyRequest
- func (a *KonveyAPIService) DeleteKonveyExecute(r ApiDeleteKonveyRequest) (*http.Response, error)
- func (a *KonveyAPIService) ListKonveys(ctx context.Context) ApiListKonveysRequest
- func (a *KonveyAPIService) ListKonveysExecute(r ApiListKonveysRequest) ([]string, *http.Response, error)
- func (a *KonveyAPIService) ReadKonvey(ctx context.Context, konveyId string) ApiReadKonveyRequest
- func (a *KonveyAPIService) ReadKonveyExecute(r ApiReadKonveyRequest) (*Konvey, *http.Response, error)
- func (a *KonveyAPIService) UpdateKonvey(ctx context.Context, konveyId string) ApiUpdateKonveyRequest
- func (a *KonveyAPIService) UpdateKonveyExecute(r ApiUpdateKonveyRequest) (*Konvey, *http.Response, error)
- type KonveyBackends
- func (o *KonveyBackends) GetHosts() []string
- func (o *KonveyBackends) GetHostsOk() ([]string, bool)
- func (o *KonveyBackends) GetPort() int64
- func (o *KonveyBackends) GetPortOk() (*int64, bool)
- func (o KonveyBackends) MarshalJSON() ([]byte, error)
- func (o *KonveyBackends) SetHosts(v []string)
- func (o *KonveyBackends) SetPort(v int64)
- func (o KonveyBackends) ToMap() (map[string]interface{}, error)
- func (o *KonveyBackends) UnmarshalJSON(data []byte) (err error)
- type KonveyEndpoint
- func (o *KonveyEndpoint) GetBackends() KonveyBackends
- func (o *KonveyEndpoint) GetBackendsOk() (KonveyBackends, bool)
- func (o *KonveyEndpoint) GetName() string
- func (o *KonveyEndpoint) GetNameOk() (*string, bool)
- func (o *KonveyEndpoint) GetPort() int64
- func (o *KonveyEndpoint) GetPortOk() (*int64, bool)
- func (o *KonveyEndpoint) GetProtocol() string
- func (o *KonveyEndpoint) GetProtocolOk() (*string, bool)
- func (o KonveyEndpoint) MarshalJSON() ([]byte, error)
- func (o *KonveyEndpoint) SetBackends(v KonveyBackends)
- func (o *KonveyEndpoint) SetName(v string)
- func (o *KonveyEndpoint) SetPort(v int64)
- func (o *KonveyEndpoint) SetProtocol(v string)
- func (o KonveyEndpoint) ToMap() (map[string]interface{}, error)
- func (o *KonveyEndpoint) UnmarshalJSON(data []byte) (err error)
- type Kylo
- func (o *Kylo) GetAccess() string
- func (o *Kylo) GetAccessOk() (*string, bool)
- func (o *Kylo) GetDescription() string
- func (o *Kylo) GetDescriptionOk() (*string, bool)
- func (o *Kylo) GetEndpoint() string
- func (o *Kylo) GetEndpointOk() (*string, bool)
- func (o *Kylo) GetId() string
- func (o *Kylo) GetIdOk() (*string, bool)
- func (o *Kylo) GetName() string
- func (o *Kylo) GetNameOk() (*string, bool)
- func (o *Kylo) GetProtocols() []int32
- func (o *Kylo) GetProtocolsOk() ([]int32, bool)
- func (o *Kylo) GetSize() int64
- func (o *Kylo) GetSizeOk() (*int64, bool)
- func (o *Kylo) HasAccess() bool
- func (o *Kylo) HasDescription() bool
- func (o *Kylo) HasEndpoint() bool
- func (o *Kylo) HasId() bool
- func (o *Kylo) HasProtocols() bool
- func (o *Kylo) HasSize() bool
- func (o Kylo) MarshalJSON() ([]byte, error)
- func (o *Kylo) SetAccess(v string)
- func (o *Kylo) SetDescription(v string)
- func (o *Kylo) SetEndpoint(v string)
- func (o *Kylo) SetId(v string)
- func (o *Kylo) SetName(v string)
- func (o *Kylo) SetProtocols(v []int32)
- func (o *Kylo) SetSize(v int64)
- func (o Kylo) ToMap() (map[string]interface{}, error)
- func (o *Kylo) UnmarshalJSON(data []byte) (err error)
- type KyloAPIService
- func (a *KyloAPIService) DeleteKylo(ctx context.Context, kyloId string) ApiDeleteKyloRequest
- func (a *KyloAPIService) DeleteKyloExecute(r ApiDeleteKyloRequest) (*http.Response, error)
- func (a *KyloAPIService) ListKylos(ctx context.Context) ApiListKylosRequest
- func (a *KyloAPIService) ListKylosExecute(r ApiListKylosRequest) ([]string, *http.Response, error)
- func (a *KyloAPIService) ReadKylo(ctx context.Context, kyloId string) ApiReadKyloRequest
- func (a *KyloAPIService) ReadKyloExecute(r ApiReadKyloRequest) (*Kylo, *http.Response, error)
- func (a *KyloAPIService) UpdateKylo(ctx context.Context, kyloId string) ApiUpdateKyloRequest
- func (a *KyloAPIService) UpdateKyloExecute(r ApiUpdateKyloRequest) (*Kylo, *http.Response, error)
- type MappedNullable
- type Metadata
- func (o *Metadata) GetKey() string
- func (o *Metadata) GetKeyOk() (*string, bool)
- func (o *Metadata) GetValue() string
- func (o *Metadata) GetValueOk() (*string, bool)
- func (o Metadata) MarshalJSON() ([]byte, error)
- func (o *Metadata) SetKey(v string)
- func (o *Metadata) SetValue(v string)
- func (o Metadata) ToMap() (map[string]interface{}, error)
- func (o *Metadata) UnmarshalJSON(data []byte) (err error)
- type NfsAPIService
- func (a *NfsAPIService) DeleteStorageNFS(ctx context.Context, nfsId string) ApiDeleteStorageNFSRequest
- func (a *NfsAPIService) DeleteStorageNFSExecute(r ApiDeleteStorageNFSRequest) (*http.Response, error)
- func (a *NfsAPIService) ListStorageNFSKylos(ctx context.Context, nfsId string) ApiListStorageNFSKylosRequest
- func (a *NfsAPIService) ListStorageNFSKylosExecute(r ApiListStorageNFSKylosRequest) ([]string, *http.Response, error)
- func (a *NfsAPIService) ListStorageNFSs(ctx context.Context) ApiListStorageNFSsRequest
- func (a *NfsAPIService) ListStorageNFSsExecute(r ApiListStorageNFSsRequest) ([]string, *http.Response, error)
- func (a *NfsAPIService) ReadStorageNFS(ctx context.Context, nfsId string) ApiReadStorageNFSRequest
- func (a *NfsAPIService) ReadStorageNFSExecute(r ApiReadStorageNFSRequest) (*StorageNFS, *http.Response, error)
- func (a *NfsAPIService) UpdateStorageNFS(ctx context.Context, nfsId string) ApiUpdateStorageNFSRequest
- func (a *NfsAPIService) UpdateStorageNFSExecute(r ApiUpdateStorageNFSRequest) (*StorageNFS, *http.Response, error)
- type NullableAdapter
- type NullableAgent
- type NullableApiErrorBadRequest
- func (v NullableApiErrorBadRequest) Get() *ApiErrorBadRequest
- func (v NullableApiErrorBadRequest) IsSet() bool
- func (v NullableApiErrorBadRequest) MarshalJSON() ([]byte, error)
- func (v *NullableApiErrorBadRequest) Set(val *ApiErrorBadRequest)
- func (v *NullableApiErrorBadRequest) UnmarshalJSON(src []byte) error
- func (v *NullableApiErrorBadRequest) Unset()
- type NullableApiErrorConflict
- func (v NullableApiErrorConflict) Get() *ApiErrorConflict
- func (v NullableApiErrorConflict) IsSet() bool
- func (v NullableApiErrorConflict) MarshalJSON() ([]byte, error)
- func (v *NullableApiErrorConflict) Set(val *ApiErrorConflict)
- func (v *NullableApiErrorConflict) UnmarshalJSON(src []byte) error
- func (v *NullableApiErrorConflict) Unset()
- type NullableApiErrorForbidden
- func (v NullableApiErrorForbidden) Get() *ApiErrorForbidden
- func (v NullableApiErrorForbidden) IsSet() bool
- func (v NullableApiErrorForbidden) MarshalJSON() ([]byte, error)
- func (v *NullableApiErrorForbidden) Set(val *ApiErrorForbidden)
- func (v *NullableApiErrorForbidden) UnmarshalJSON(src []byte) error
- func (v *NullableApiErrorForbidden) Unset()
- type NullableApiErrorInsufficientResource
- func (v NullableApiErrorInsufficientResource) Get() *ApiErrorInsufficientResource
- func (v NullableApiErrorInsufficientResource) IsSet() bool
- func (v NullableApiErrorInsufficientResource) MarshalJSON() ([]byte, error)
- func (v *NullableApiErrorInsufficientResource) Set(val *ApiErrorInsufficientResource)
- func (v *NullableApiErrorInsufficientResource) UnmarshalJSON(src []byte) error
- func (v *NullableApiErrorInsufficientResource) Unset()
- type NullableApiErrorNotFound
- func (v NullableApiErrorNotFound) Get() *ApiErrorNotFound
- func (v NullableApiErrorNotFound) IsSet() bool
- func (v NullableApiErrorNotFound) MarshalJSON() ([]byte, error)
- func (v *NullableApiErrorNotFound) Set(val *ApiErrorNotFound)
- func (v *NullableApiErrorNotFound) UnmarshalJSON(src []byte) error
- func (v *NullableApiErrorNotFound) Unset()
- type NullableApiErrorUnauthorized
- func (v NullableApiErrorUnauthorized) Get() *ApiErrorUnauthorized
- func (v NullableApiErrorUnauthorized) IsSet() bool
- func (v NullableApiErrorUnauthorized) MarshalJSON() ([]byte, error)
- func (v *NullableApiErrorUnauthorized) Set(val *ApiErrorUnauthorized)
- func (v *NullableApiErrorUnauthorized) UnmarshalJSON(src []byte) error
- func (v *NullableApiErrorUnauthorized) Unset()
- type NullableApiErrorUnprocessableEntity
- func (v NullableApiErrorUnprocessableEntity) Get() *ApiErrorUnprocessableEntity
- func (v NullableApiErrorUnprocessableEntity) IsSet() bool
- func (v NullableApiErrorUnprocessableEntity) MarshalJSON() ([]byte, error)
- func (v *NullableApiErrorUnprocessableEntity) Set(val *ApiErrorUnprocessableEntity)
- func (v *NullableApiErrorUnprocessableEntity) UnmarshalJSON(src []byte) error
- func (v *NullableApiErrorUnprocessableEntity) Unset()
- type NullableApiToken
- type NullableBool
- type NullableCost
- type NullableDnsRecord
- type NullableFloat32
- type NullableFloat64
- type NullableInstance
- type NullableInstanceRemoteAccess
- func (v NullableInstanceRemoteAccess) Get() *InstanceRemoteAccess
- func (v NullableInstanceRemoteAccess) IsSet() bool
- func (v NullableInstanceRemoteAccess) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceRemoteAccess) Set(val *InstanceRemoteAccess)
- func (v *NullableInstanceRemoteAccess) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceRemoteAccess) Unset()
- type NullableInstanceState
- func (v NullableInstanceState) Get() *InstanceState
- func (v NullableInstanceState) IsSet() bool
- func (v NullableInstanceState) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceState) Set(val *InstanceState)
- func (v *NullableInstanceState) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceState) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableIpRange
- type NullableKaktus
- type NullableKaktusCPU
- type NullableKaktusCaps
- type NullableKawaii
- type NullableKawaiiDNatRule
- func (v NullableKawaiiDNatRule) Get() *KawaiiDNatRule
- func (v NullableKawaiiDNatRule) IsSet() bool
- func (v NullableKawaiiDNatRule) MarshalJSON() ([]byte, error)
- func (v *NullableKawaiiDNatRule) Set(val *KawaiiDNatRule)
- func (v *NullableKawaiiDNatRule) UnmarshalJSON(src []byte) error
- func (v *NullableKawaiiDNatRule) Unset()
- type NullableKawaiiFirewall
- func (v NullableKawaiiFirewall) Get() *KawaiiFirewall
- func (v NullableKawaiiFirewall) IsSet() bool
- func (v NullableKawaiiFirewall) MarshalJSON() ([]byte, error)
- func (v *NullableKawaiiFirewall) Set(val *KawaiiFirewall)
- func (v *NullableKawaiiFirewall) UnmarshalJSON(src []byte) error
- func (v *NullableKawaiiFirewall) Unset()
- type NullableKawaiiFirewallEgressRule
- func (v NullableKawaiiFirewallEgressRule) Get() *KawaiiFirewallEgressRule
- func (v NullableKawaiiFirewallEgressRule) IsSet() bool
- func (v NullableKawaiiFirewallEgressRule) MarshalJSON() ([]byte, error)
- func (v *NullableKawaiiFirewallEgressRule) Set(val *KawaiiFirewallEgressRule)
- func (v *NullableKawaiiFirewallEgressRule) UnmarshalJSON(src []byte) error
- func (v *NullableKawaiiFirewallEgressRule) Unset()
- type NullableKawaiiFirewallIngressRule
- func (v NullableKawaiiFirewallIngressRule) Get() *KawaiiFirewallIngressRule
- func (v NullableKawaiiFirewallIngressRule) IsSet() bool
- func (v NullableKawaiiFirewallIngressRule) MarshalJSON() ([]byte, error)
- func (v *NullableKawaiiFirewallIngressRule) Set(val *KawaiiFirewallIngressRule)
- func (v *NullableKawaiiFirewallIngressRule) UnmarshalJSON(src []byte) error
- func (v *NullableKawaiiFirewallIngressRule) Unset()
- type NullableKawaiiIpSec
- func (v NullableKawaiiIpSec) Get() *KawaiiIpSec
- func (v NullableKawaiiIpSec) IsSet() bool
- func (v NullableKawaiiIpSec) MarshalJSON() ([]byte, error)
- func (v *NullableKawaiiIpSec) Set(val *KawaiiIpSec)
- func (v *NullableKawaiiIpSec) UnmarshalJSON(src []byte) error
- func (v *NullableKawaiiIpSec) Unset()
- type NullableKawaiiNetIp
- func (v NullableKawaiiNetIp) Get() *KawaiiNetIp
- func (v NullableKawaiiNetIp) IsSet() bool
- func (v NullableKawaiiNetIp) MarshalJSON() ([]byte, error)
- func (v *NullableKawaiiNetIp) Set(val *KawaiiNetIp)
- func (v *NullableKawaiiNetIp) UnmarshalJSON(src []byte) error
- func (v *NullableKawaiiNetIp) Unset()
- type NullableKawaiiNetIpZone
- func (v NullableKawaiiNetIpZone) Get() *KawaiiNetIpZone
- func (v NullableKawaiiNetIpZone) IsSet() bool
- func (v NullableKawaiiNetIpZone) MarshalJSON() ([]byte, error)
- func (v *NullableKawaiiNetIpZone) Set(val *KawaiiNetIpZone)
- func (v *NullableKawaiiNetIpZone) UnmarshalJSON(src []byte) error
- func (v *NullableKawaiiNetIpZone) Unset()
- type NullableKawaiiVpcForwardRule
- func (v NullableKawaiiVpcForwardRule) Get() *KawaiiVpcForwardRule
- func (v NullableKawaiiVpcForwardRule) IsSet() bool
- func (v NullableKawaiiVpcForwardRule) MarshalJSON() ([]byte, error)
- func (v *NullableKawaiiVpcForwardRule) Set(val *KawaiiVpcForwardRule)
- func (v *NullableKawaiiVpcForwardRule) UnmarshalJSON(src []byte) error
- func (v *NullableKawaiiVpcForwardRule) Unset()
- type NullableKawaiiVpcNetIpZone
- func (v NullableKawaiiVpcNetIpZone) Get() *KawaiiVpcNetIpZone
- func (v NullableKawaiiVpcNetIpZone) IsSet() bool
- func (v NullableKawaiiVpcNetIpZone) MarshalJSON() ([]byte, error)
- func (v *NullableKawaiiVpcNetIpZone) Set(val *KawaiiVpcNetIpZone)
- func (v *NullableKawaiiVpcNetIpZone) UnmarshalJSON(src []byte) error
- func (v *NullableKawaiiVpcNetIpZone) Unset()
- type NullableKawaiiVpcPeering
- func (v NullableKawaiiVpcPeering) Get() *KawaiiVpcPeering
- func (v NullableKawaiiVpcPeering) IsSet() bool
- func (v NullableKawaiiVpcPeering) MarshalJSON() ([]byte, error)
- func (v *NullableKawaiiVpcPeering) Set(val *KawaiiVpcPeering)
- func (v *NullableKawaiiVpcPeering) UnmarshalJSON(src []byte) error
- func (v *NullableKawaiiVpcPeering) Unset()
- type NullableKiwi
- type NullableKompute
- type NullableKonvey
- type NullableKonveyBackends
- func (v NullableKonveyBackends) Get() *KonveyBackends
- func (v NullableKonveyBackends) IsSet() bool
- func (v NullableKonveyBackends) MarshalJSON() ([]byte, error)
- func (v *NullableKonveyBackends) Set(val *KonveyBackends)
- func (v *NullableKonveyBackends) UnmarshalJSON(src []byte) error
- func (v *NullableKonveyBackends) Unset()
- type NullableKonveyEndpoint
- func (v NullableKonveyEndpoint) Get() *KonveyEndpoint
- func (v NullableKonveyEndpoint) IsSet() bool
- func (v NullableKonveyEndpoint) MarshalJSON() ([]byte, error)
- func (v *NullableKonveyEndpoint) Set(val *KonveyEndpoint)
- func (v *NullableKonveyEndpoint) UnmarshalJSON(src []byte) error
- func (v *NullableKonveyEndpoint) Unset()
- type NullableKylo
- type NullableMetadata
- type NullablePassword
- type NullableProject
- type NullableProjectResources
- func (v NullableProjectResources) Get() *ProjectResources
- func (v NullableProjectResources) IsSet() bool
- func (v NullableProjectResources) MarshalJSON() ([]byte, error)
- func (v *NullableProjectResources) Set(val *ProjectResources)
- func (v *NullableProjectResources) UnmarshalJSON(src []byte) error
- func (v *NullableProjectResources) Unset()
- type NullableRegion
- type NullableRegionSubnet
- func (v NullableRegionSubnet) Get() *RegionSubnet
- func (v NullableRegionSubnet) IsSet() bool
- func (v NullableRegionSubnet) MarshalJSON() ([]byte, error)
- func (v *NullableRegionSubnet) Set(val *RegionSubnet)
- func (v *NullableRegionSubnet) UnmarshalJSON(src []byte) error
- func (v *NullableRegionSubnet) Unset()
- type NullableStorageNFS
- type NullableStoragePool
- func (v NullableStoragePool) Get() *StoragePool
- func (v NullableStoragePool) IsSet() bool
- func (v NullableStoragePool) MarshalJSON() ([]byte, error)
- func (v *NullableStoragePool) Set(val *StoragePool)
- func (v *NullableStoragePool) UnmarshalJSON(src []byte) error
- func (v *NullableStoragePool) Unset()
- type NullableString
- type NullableSubnet
- type NullableTeam
- type NullableTemplate
- type NullableTime
- type NullableUser
- type NullableUserCredentials
- func (v NullableUserCredentials) Get() *UserCredentials
- func (v NullableUserCredentials) IsSet() bool
- func (v NullableUserCredentials) MarshalJSON() ([]byte, error)
- func (v *NullableUserCredentials) Set(val *UserCredentials)
- func (v *NullableUserCredentials) UnmarshalJSON(src []byte) error
- func (v *NullableUserCredentials) Unset()
- type NullableUserEmail
- type NullableVNet
- type NullableVolume
- type NullableZone
- type Password
- type PoolAPIService
- func (a *PoolAPIService) CreateTemplate(ctx context.Context, poolId string) ApiCreateTemplateRequest
- func (a *PoolAPIService) CreateTemplateExecute(r ApiCreateTemplateRequest) (*Template, *http.Response, error)
- func (a *PoolAPIService) DeleteStoragePool(ctx context.Context, poolId string) ApiDeleteStoragePoolRequest
- func (a *PoolAPIService) DeleteStoragePoolExecute(r ApiDeleteStoragePoolRequest) (*http.Response, error)
- func (a *PoolAPIService) ListStoragePoolTemplates(ctx context.Context, poolId string) ApiListStoragePoolTemplatesRequest
- func (a *PoolAPIService) ListStoragePoolTemplatesExecute(r ApiListStoragePoolTemplatesRequest) ([]string, *http.Response, error)
- func (a *PoolAPIService) ListStoragePoolVolumes(ctx context.Context, poolId string) ApiListStoragePoolVolumesRequest
- func (a *PoolAPIService) ListStoragePoolVolumesExecute(r ApiListStoragePoolVolumesRequest) ([]string, *http.Response, error)
- func (a *PoolAPIService) ListStoragePools(ctx context.Context) ApiListStoragePoolsRequest
- func (a *PoolAPIService) ListStoragePoolsExecute(r ApiListStoragePoolsRequest) ([]string, *http.Response, error)
- func (a *PoolAPIService) ReadStoragePool(ctx context.Context, poolId string) ApiReadStoragePoolRequest
- func (a *PoolAPIService) ReadStoragePoolExecute(r ApiReadStoragePoolRequest) (*StoragePool, *http.Response, error)
- func (a *PoolAPIService) SetStoragePoolDefaultTemplate(ctx context.Context, poolId string, templateId string) ApiSetStoragePoolDefaultTemplateRequest
- func (a *PoolAPIService) SetStoragePoolDefaultTemplateExecute(r ApiSetStoragePoolDefaultTemplateRequest) (*http.Response, error)
- func (a *PoolAPIService) UpdateStoragePool(ctx context.Context, poolId string) ApiUpdateStoragePoolRequest
- func (a *PoolAPIService) UpdateStoragePoolExecute(r ApiUpdateStoragePoolRequest) (*StoragePool, *http.Response, error)
- type Project
- func (o *Project) GetBootstrapPubkey() string
- func (o *Project) GetBootstrapPubkeyOk() (*string, bool)
- func (o *Project) GetBootstrapUser() string
- func (o *Project) GetBootstrapUserOk() (*string, bool)
- func (o *Project) GetDescription() string
- func (o *Project) GetDescriptionOk() (*string, bool)
- func (o *Project) GetDomain() string
- func (o *Project) GetDomainOk() (*string, bool)
- func (o *Project) GetId() string
- func (o *Project) GetIdOk() (*string, bool)
- func (o *Project) GetMetadatas() []Metadata
- func (o *Project) GetMetadatasOk() ([]Metadata, bool)
- func (o *Project) GetName() string
- func (o *Project) GetNameOk() (*string, bool)
- func (o *Project) GetPrivateSubnets() []RegionSubnet
- func (o *Project) GetPrivateSubnetsOk() ([]RegionSubnet, bool)
- func (o *Project) GetQuotas() ProjectResources
- func (o *Project) GetQuotasOk() (ProjectResources, bool)
- func (o *Project) GetRegions() []string
- func (o *Project) GetRegionsOk() ([]string, bool)
- func (o *Project) GetReservedVrrpIds() []int32
- func (o *Project) GetReservedVrrpIdsOk() ([]int32, bool)
- func (o *Project) GetRootPassword() string
- func (o *Project) GetRootPasswordOk() (*string, bool)
- func (o *Project) GetTags() []string
- func (o *Project) GetTagsOk() ([]string, bool)
- func (o *Project) GetTeams() []string
- func (o *Project) GetTeamsOk() ([]string, bool)
- func (o *Project) HasBootstrapPubkey() bool
- func (o *Project) HasBootstrapUser() bool
- func (o *Project) HasDescription() bool
- func (o *Project) HasDomain() bool
- func (o *Project) HasId() bool
- func (o *Project) HasMetadatas() bool
- func (o *Project) HasPrivateSubnets() bool
- func (o *Project) HasQuotas() bool
- func (o *Project) HasReservedVrrpIds() bool
- func (o *Project) HasRootPassword() bool
- func (o *Project) HasTags() bool
- func (o Project) MarshalJSON() ([]byte, error)
- func (o *Project) SetBootstrapPubkey(v string)
- func (o *Project) SetBootstrapUser(v string)
- func (o *Project) SetDescription(v string)
- func (o *Project) SetDomain(v string)
- func (o *Project) SetId(v string)
- func (o *Project) SetMetadatas(v []Metadata)
- func (o *Project) SetName(v string)
- func (o *Project) SetPrivateSubnets(v []RegionSubnet)
- func (o *Project) SetQuotas(v ProjectResources)
- func (o *Project) SetRegions(v []string)
- func (o *Project) SetReservedVrrpIds(v []int32)
- func (o *Project) SetRootPassword(v string)
- func (o *Project) SetTags(v []string)
- func (o *Project) SetTeams(v []string)
- func (o Project) ToMap() (map[string]interface{}, error)
- func (o *Project) UnmarshalJSON(data []byte) (err error)
- type ProjectAPIService
- func (a *ProjectAPIService) CreateProject(ctx context.Context) ApiCreateProjectRequest
- func (a *ProjectAPIService) CreateProjectDnsRecord(ctx context.Context, projectId string) ApiCreateProjectDnsRecordRequest
- func (a *ProjectAPIService) CreateProjectDnsRecordExecute(r ApiCreateProjectDnsRecordRequest) (*DnsRecord, *http.Response, error)
- func (a *ProjectAPIService) CreateProjectExecute(r ApiCreateProjectRequest) (*Project, *http.Response, error)
- func (a *ProjectAPIService) CreateProjectRegionKawaii(ctx context.Context, projectId string, regionId string) ApiCreateProjectRegionKawaiiRequest
- func (a *ProjectAPIService) CreateProjectRegionKawaiiExecute(r ApiCreateProjectRegionKawaiiRequest) (*Kawaii, *http.Response, error)
- func (a *ProjectAPIService) CreateProjectRegionKonvey(ctx context.Context, projectId string, regionId string) ApiCreateProjectRegionKonveyRequest
- func (a *ProjectAPIService) CreateProjectRegionKonveyExecute(r ApiCreateProjectRegionKonveyRequest) (*Konvey, *http.Response, error)
- func (a *ProjectAPIService) CreateProjectRegionKylo(ctx context.Context, projectId string, regionId string) ApiCreateProjectRegionKyloRequest
- func (a *ProjectAPIService) CreateProjectRegionKyloExecute(r ApiCreateProjectRegionKyloRequest) (*Kylo, *http.Response, error)
- func (a *ProjectAPIService) CreateProjectRegionVolume(ctx context.Context, projectId string, regionId string) ApiCreateProjectRegionVolumeRequest
- func (a *ProjectAPIService) CreateProjectRegionVolumeExecute(r ApiCreateProjectRegionVolumeRequest) (*Volume, *http.Response, error)
- func (a *ProjectAPIService) CreateProjectZoneInstance(ctx context.Context, projectId string, zoneId string) ApiCreateProjectZoneInstanceRequest
- func (a *ProjectAPIService) CreateProjectZoneInstanceExecute(r ApiCreateProjectZoneInstanceRequest) (*Instance, *http.Response, error)
- func (a *ProjectAPIService) CreateProjectZoneKompute(ctx context.Context, projectId string, zoneId string) ApiCreateProjectZoneKomputeRequest
- func (a *ProjectAPIService) CreateProjectZoneKomputeExecute(r ApiCreateProjectZoneKomputeRequest) (*Kompute, *http.Response, error)
- func (a *ProjectAPIService) CreateProjectZoneKonvey(ctx context.Context, projectId string, zoneId string) ApiCreateProjectZoneKonveyRequest
- func (a *ProjectAPIService) CreateProjectZoneKonveyExecute(r ApiCreateProjectZoneKonveyRequest) (*Konvey, *http.Response, error)
- func (a *ProjectAPIService) DeleteProject(ctx context.Context, projectId string) ApiDeleteProjectRequest
- func (a *ProjectAPIService) DeleteProjectExecute(r ApiDeleteProjectRequest) (*http.Response, error)
- func (a *ProjectAPIService) ListProjectDnsRecords(ctx context.Context, projectId string) ApiListProjectDnsRecordsRequest
- func (a *ProjectAPIService) ListProjectDnsRecordsExecute(r ApiListProjectDnsRecordsRequest) ([]string, *http.Response, error)
- func (a *ProjectAPIService) ListProjectRegionKawaiis(ctx context.Context, projectId string, regionId string) ApiListProjectRegionKawaiisRequest
- func (a *ProjectAPIService) ListProjectRegionKawaiisExecute(r ApiListProjectRegionKawaiisRequest) ([]string, *http.Response, error)
- func (a *ProjectAPIService) ListProjectRegionKonveys(ctx context.Context, projectId string, regionId string) ApiListProjectRegionKonveysRequest
- func (a *ProjectAPIService) ListProjectRegionKonveysExecute(r ApiListProjectRegionKonveysRequest) ([]string, *http.Response, error)
- func (a *ProjectAPIService) ListProjectRegionKylos(ctx context.Context, projectId string, regionId string) ApiListProjectRegionKylosRequest
- func (a *ProjectAPIService) ListProjectRegionKylosExecute(r ApiListProjectRegionKylosRequest) ([]string, *http.Response, error)
- func (a *ProjectAPIService) ListProjectRegionVolumes(ctx context.Context, projectId string, regionId string) ApiListProjectRegionVolumesRequest
- func (a *ProjectAPIService) ListProjectRegionVolumesExecute(r ApiListProjectRegionVolumesRequest) ([]string, *http.Response, error)
- func (a *ProjectAPIService) ListProjectZoneInstances(ctx context.Context, projectId string, zoneId string) ApiListProjectZoneInstancesRequest
- func (a *ProjectAPIService) ListProjectZoneInstancesExecute(r ApiListProjectZoneInstancesRequest) ([]string, *http.Response, error)
- func (a *ProjectAPIService) ListProjectZoneKomputes(ctx context.Context, projectId string, zoneId string) ApiListProjectZoneKomputesRequest
- func (a *ProjectAPIService) ListProjectZoneKomputesExecute(r ApiListProjectZoneKomputesRequest) ([]string, *http.Response, error)
- func (a *ProjectAPIService) ListProjectZoneKonveys(ctx context.Context, projectId string, zoneId string) ApiListProjectZoneKonveysRequest
- func (a *ProjectAPIService) ListProjectZoneKonveysExecute(r ApiListProjectZoneKonveysRequest) ([]string, *http.Response, error)
- func (a *ProjectAPIService) ListProjects(ctx context.Context) ApiListProjectsRequest
- func (a *ProjectAPIService) ListProjectsExecute(r ApiListProjectsRequest) ([]string, *http.Response, error)
- func (a *ProjectAPIService) ReadProject(ctx context.Context, projectId string) ApiReadProjectRequest
- func (a *ProjectAPIService) ReadProjectCost(ctx context.Context, projectId string) ApiReadProjectCostRequest
- func (a *ProjectAPIService) ReadProjectCostExecute(r ApiReadProjectCostRequest) (*Cost, *http.Response, error)
- func (a *ProjectAPIService) ReadProjectExecute(r ApiReadProjectRequest) (*Project, *http.Response, error)
- func (a *ProjectAPIService) ReadProjectUsage(ctx context.Context, projectId string) ApiReadProjectUsageRequest
- func (a *ProjectAPIService) ReadProjectUsageExecute(r ApiReadProjectUsageRequest) (*ProjectResources, *http.Response, error)
- func (a *ProjectAPIService) UpdateProject(ctx context.Context, projectId string) ApiUpdateProjectRequest
- func (a *ProjectAPIService) UpdateProjectExecute(r ApiUpdateProjectRequest) (*Project, *http.Response, error)
- type ProjectResources
- func (o *ProjectResources) GetInstances() int32
- func (o *ProjectResources) GetInstancesOk() (*int32, bool)
- func (o *ProjectResources) GetMemory() int64
- func (o *ProjectResources) GetMemoryOk() (*int64, bool)
- func (o *ProjectResources) GetStorage() int64
- func (o *ProjectResources) GetStorageOk() (*int64, bool)
- func (o *ProjectResources) GetVcpus() int32
- func (o *ProjectResources) GetVcpusOk() (*int32, bool)
- func (o *ProjectResources) HasInstances() bool
- func (o *ProjectResources) HasMemory() bool
- func (o *ProjectResources) HasStorage() bool
- func (o *ProjectResources) HasVcpus() bool
- func (o ProjectResources) MarshalJSON() ([]byte, error)
- func (o *ProjectResources) SetInstances(v int32)
- func (o *ProjectResources) SetMemory(v int64)
- func (o *ProjectResources) SetStorage(v int64)
- func (o *ProjectResources) SetVcpus(v int32)
- func (o ProjectResources) ToMap() (map[string]interface{}, error)
- type RecordAPIService
- func (a *RecordAPIService) DeleteDnsRecord(ctx context.Context, recordId string) ApiDeleteDnsRecordRequest
- func (a *RecordAPIService) DeleteDnsRecordExecute(r ApiDeleteDnsRecordRequest) (*http.Response, error)
- func (a *RecordAPIService) ReadDnsRecord(ctx context.Context, recordId string) ApiReadDnsRecordRequest
- func (a *RecordAPIService) ReadDnsRecordExecute(r ApiReadDnsRecordRequest) (*DnsRecord, *http.Response, error)
- func (a *RecordAPIService) UpdateDnsRecord(ctx context.Context, recordId string) ApiUpdateDnsRecordRequest
- func (a *RecordAPIService) UpdateDnsRecordExecute(r ApiUpdateDnsRecordRequest) (*DnsRecord, *http.Response, error)
- type Region
- func (o *Region) GetDescription() string
- func (o *Region) GetDescriptionOk() (*string, bool)
- func (o *Region) GetId() string
- func (o *Region) GetIdOk() (*string, bool)
- func (o *Region) GetName() string
- func (o *Region) GetNameOk() (*string, bool)
- func (o *Region) HasDescription() bool
- func (o *Region) HasId() bool
- func (o Region) MarshalJSON() ([]byte, error)
- func (o *Region) SetDescription(v string)
- func (o *Region) SetId(v string)
- func (o *Region) SetName(v string)
- func (o Region) ToMap() (map[string]interface{}, error)
- func (o *Region) UnmarshalJSON(data []byte) (err error)
- type RegionAPIService
- func (a *RegionAPIService) CreateKiwi(ctx context.Context, regionId string) ApiCreateKiwiRequest
- func (a *RegionAPIService) CreateKiwiExecute(r ApiCreateKiwiRequest) (*Kiwi, *http.Response, error)
- func (a *RegionAPIService) CreateRegion(ctx context.Context) ApiCreateRegionRequest
- func (a *RegionAPIService) CreateRegionExecute(r ApiCreateRegionRequest) (*Region, *http.Response, error)
- func (a *RegionAPIService) CreateStorageNFS(ctx context.Context, regionId string) ApiCreateStorageNFSRequest
- func (a *RegionAPIService) CreateStorageNFSExecute(r ApiCreateStorageNFSRequest) (*StorageNFS, *http.Response, error)
- func (a *RegionAPIService) CreateStoragePool(ctx context.Context, regionId string) ApiCreateStoragePoolRequest
- func (a *RegionAPIService) CreateStoragePoolExecute(r ApiCreateStoragePoolRequest) (*StoragePool, *http.Response, error)
- func (a *RegionAPIService) CreateVNet(ctx context.Context, regionId string) ApiCreateVNetRequest
- func (a *RegionAPIService) CreateVNetExecute(r ApiCreateVNetRequest) (*VNet, *http.Response, error)
- func (a *RegionAPIService) CreateZone(ctx context.Context, regionId string) ApiCreateZoneRequest
- func (a *RegionAPIService) CreateZoneExecute(r ApiCreateZoneRequest) (*Zone, *http.Response, error)
- func (a *RegionAPIService) DeleteRegion(ctx context.Context, regionId string) ApiDeleteRegionRequest
- func (a *RegionAPIService) DeleteRegionExecute(r ApiDeleteRegionRequest) (*http.Response, error)
- func (a *RegionAPIService) ListRegionKiwis(ctx context.Context, regionId string) ApiListRegionKiwisRequest
- func (a *RegionAPIService) ListRegionKiwisExecute(r ApiListRegionKiwisRequest) ([]string, *http.Response, error)
- func (a *RegionAPIService) ListRegionStorageNFSs(ctx context.Context, regionId string) ApiListRegionStorageNFSsRequest
- func (a *RegionAPIService) ListRegionStorageNFSsExecute(r ApiListRegionStorageNFSsRequest) ([]string, *http.Response, error)
- func (a *RegionAPIService) ListRegionStoragePools(ctx context.Context, regionId string) ApiListRegionStoragePoolsRequest
- func (a *RegionAPIService) ListRegionStoragePoolsExecute(r ApiListRegionStoragePoolsRequest) ([]string, *http.Response, error)
- func (a *RegionAPIService) ListRegionVNets(ctx context.Context, regionId string) ApiListRegionVNetsRequest
- func (a *RegionAPIService) ListRegionVNetsExecute(r ApiListRegionVNetsRequest) ([]string, *http.Response, error)
- func (a *RegionAPIService) ListRegionZones(ctx context.Context, regionId string) ApiListRegionZonesRequest
- func (a *RegionAPIService) ListRegionZonesExecute(r ApiListRegionZonesRequest) ([]string, *http.Response, error)
- func (a *RegionAPIService) ListRegions(ctx context.Context) ApiListRegionsRequest
- func (a *RegionAPIService) ListRegionsExecute(r ApiListRegionsRequest) ([]string, *http.Response, error)
- func (a *RegionAPIService) ReadRegion(ctx context.Context, regionId string) ApiReadRegionRequest
- func (a *RegionAPIService) ReadRegionExecute(r ApiReadRegionRequest) (*Region, *http.Response, error)
- func (a *RegionAPIService) SetRegionDefaultStorageNFS(ctx context.Context, regionId string, nfsId string) ApiSetRegionDefaultStorageNFSRequest
- func (a *RegionAPIService) SetRegionDefaultStorageNFSExecute(r ApiSetRegionDefaultStorageNFSRequest) (*http.Response, error)
- func (a *RegionAPIService) SetRegionDefaultStoragePool(ctx context.Context, regionId string, poolId string) ApiSetRegionDefaultStoragePoolRequest
- func (a *RegionAPIService) SetRegionDefaultStoragePoolExecute(r ApiSetRegionDefaultStoragePoolRequest) (*http.Response, error)
- func (a *RegionAPIService) UpdateRegion(ctx context.Context, regionId string) ApiUpdateRegionRequest
- func (a *RegionAPIService) UpdateRegionExecute(r ApiUpdateRegionRequest) (*Region, *http.Response, error)
- type RegionSubnet
- func (o *RegionSubnet) GetKey() string
- func (o *RegionSubnet) GetKeyOk() (*string, bool)
- func (o *RegionSubnet) GetValue() string
- func (o *RegionSubnet) GetValueOk() (*string, bool)
- func (o *RegionSubnet) HasKey() bool
- func (o *RegionSubnet) HasValue() bool
- func (o RegionSubnet) MarshalJSON() ([]byte, error)
- func (o *RegionSubnet) SetKey(v string)
- func (o *RegionSubnet) SetValue(v string)
- func (o RegionSubnet) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type StorageNFS
- func (o *StorageNFS) GetBackends() []string
- func (o *StorageNFS) GetBackendsOk() ([]string, bool)
- func (o *StorageNFS) GetDescription() string
- func (o *StorageNFS) GetDescriptionOk() (*string, bool)
- func (o *StorageNFS) GetEndpoint() string
- func (o *StorageNFS) GetEndpointOk() (*string, bool)
- func (o *StorageNFS) GetFs() string
- func (o *StorageNFS) GetFsOk() (*string, bool)
- func (o *StorageNFS) GetId() string
- func (o *StorageNFS) GetIdOk() (*string, bool)
- func (o *StorageNFS) GetName() string
- func (o *StorageNFS) GetNameOk() (*string, bool)
- func (o *StorageNFS) GetPort() int64
- func (o *StorageNFS) GetPortOk() (*int64, bool)
- func (o *StorageNFS) HasBackends() bool
- func (o *StorageNFS) HasDescription() bool
- func (o *StorageNFS) HasFs() bool
- func (o *StorageNFS) HasId() bool
- func (o *StorageNFS) HasPort() bool
- func (o StorageNFS) MarshalJSON() ([]byte, error)
- func (o *StorageNFS) SetBackends(v []string)
- func (o *StorageNFS) SetDescription(v string)
- func (o *StorageNFS) SetEndpoint(v string)
- func (o *StorageNFS) SetFs(v string)
- func (o *StorageNFS) SetId(v string)
- func (o *StorageNFS) SetName(v string)
- func (o *StorageNFS) SetPort(v int64)
- func (o StorageNFS) ToMap() (map[string]interface{}, error)
- func (o *StorageNFS) UnmarshalJSON(data []byte) (err error)
- type StoragePool
- func (o *StoragePool) GetAgents() []string
- func (o *StoragePool) GetAgentsOk() ([]string, bool)
- func (o *StoragePool) GetCephAddress() string
- func (o *StoragePool) GetCephAddressOk() (*string, bool)
- func (o *StoragePool) GetCephPort() int64
- func (o *StoragePool) GetCephPortOk() (*int64, bool)
- func (o *StoragePool) GetCephSecretUuid() string
- func (o *StoragePool) GetCephSecretUuidOk() (*string, bool)
- func (o *StoragePool) GetCost() Cost
- func (o *StoragePool) GetCostOk() (Cost, bool)
- func (o *StoragePool) GetDescription() string
- func (o *StoragePool) GetDescriptionOk() (*string, bool)
- func (o *StoragePool) GetId() string
- func (o *StoragePool) GetIdOk() (*string, bool)
- func (o *StoragePool) GetName() string
- func (o *StoragePool) GetNameOk() (*string, bool)
- func (o *StoragePool) GetPool() string
- func (o *StoragePool) GetPoolOk() (*string, bool)
- func (o *StoragePool) HasCephAddress() bool
- func (o *StoragePool) HasCephPort() bool
- func (o *StoragePool) HasCephSecretUuid() bool
- func (o *StoragePool) HasCost() bool
- func (o *StoragePool) HasDescription() bool
- func (o *StoragePool) HasId() bool
- func (o StoragePool) MarshalJSON() ([]byte, error)
- func (o *StoragePool) SetAgents(v []string)
- func (o *StoragePool) SetCephAddress(v string)
- func (o *StoragePool) SetCephPort(v int64)
- func (o *StoragePool) SetCephSecretUuid(v string)
- func (o *StoragePool) SetCost(v Cost)
- func (o *StoragePool) SetDescription(v string)
- func (o *StoragePool) SetId(v string)
- func (o *StoragePool) SetName(v string)
- func (o *StoragePool) SetPool(v string)
- func (o StoragePool) ToMap() (map[string]interface{}, error)
- func (o *StoragePool) UnmarshalJSON(data []byte) (err error)
- type Subnet
- func (o *Subnet) GetApplication() string
- func (o *Subnet) GetApplicationOk() (*string, bool)
- func (o *Subnet) GetCidr() string
- func (o *Subnet) GetCidrOk() (*string, bool)
- func (o *Subnet) GetDescription() string
- func (o *Subnet) GetDescriptionOk() (*string, bool)
- func (o *Subnet) GetDns() string
- func (o *Subnet) GetDnsOk() (*string, bool)
- func (o *Subnet) GetExtraRoutes() []string
- func (o *Subnet) GetExtraRoutesOk() ([]string, bool)
- func (o *Subnet) GetGateway() string
- func (o *Subnet) GetGatewayOk() (*string, bool)
- func (o *Subnet) GetGwPool() []IpRange
- func (o *Subnet) GetGwPoolOk() ([]IpRange, bool)
- func (o *Subnet) GetId() string
- func (o *Subnet) GetIdOk() (*string, bool)
- func (o *Subnet) GetName() string
- func (o *Subnet) GetNameOk() (*string, bool)
- func (o *Subnet) GetReserved() []IpRange
- func (o *Subnet) GetReservedOk() ([]IpRange, bool)
- func (o *Subnet) HasApplication() bool
- func (o *Subnet) HasDescription() bool
- func (o *Subnet) HasDns() bool
- func (o *Subnet) HasExtraRoutes() bool
- func (o *Subnet) HasGwPool() bool
- func (o *Subnet) HasId() bool
- func (o *Subnet) HasReserved() bool
- func (o Subnet) MarshalJSON() ([]byte, error)
- func (o *Subnet) SetApplication(v string)
- func (o *Subnet) SetCidr(v string)
- func (o *Subnet) SetDescription(v string)
- func (o *Subnet) SetDns(v string)
- func (o *Subnet) SetExtraRoutes(v []string)
- func (o *Subnet) SetGateway(v string)
- func (o *Subnet) SetGwPool(v []IpRange)
- func (o *Subnet) SetId(v string)
- func (o *Subnet) SetName(v string)
- func (o *Subnet) SetReserved(v []IpRange)
- func (o Subnet) ToMap() (map[string]interface{}, error)
- func (o *Subnet) UnmarshalJSON(data []byte) (err error)
- type SubnetAPIService
- func (a *SubnetAPIService) CreateAdapter(ctx context.Context, subnetId string) ApiCreateAdapterRequest
- func (a *SubnetAPIService) CreateAdapterExecute(r ApiCreateAdapterRequest) (*Adapter, *http.Response, error)
- func (a *SubnetAPIService) DeleteSubnet(ctx context.Context, subnetId string) ApiDeleteSubnetRequest
- func (a *SubnetAPIService) DeleteSubnetExecute(r ApiDeleteSubnetRequest) (*http.Response, error)
- func (a *SubnetAPIService) ListSubnetAdapters(ctx context.Context, subnetId string) ApiListSubnetAdaptersRequest
- func (a *SubnetAPIService) ListSubnetAdaptersExecute(r ApiListSubnetAdaptersRequest) ([]string, *http.Response, error)
- func (a *SubnetAPIService) ListSubnets(ctx context.Context) ApiListSubnetsRequest
- func (a *SubnetAPIService) ListSubnetsExecute(r ApiListSubnetsRequest) ([]string, *http.Response, error)
- func (a *SubnetAPIService) ReadSubnet(ctx context.Context, subnetId string) ApiReadSubnetRequest
- func (a *SubnetAPIService) ReadSubnetExecute(r ApiReadSubnetRequest) (*Subnet, *http.Response, error)
- func (a *SubnetAPIService) UpdateSubnet(ctx context.Context, subnetId string) ApiUpdateSubnetRequest
- func (a *SubnetAPIService) UpdateSubnetExecute(r ApiUpdateSubnetRequest) (*Subnet, *http.Response, error)
- type Team
- func (o *Team) GetDescription() string
- func (o *Team) GetDescriptionOk() (*string, bool)
- func (o *Team) GetId() string
- func (o *Team) GetIdOk() (*string, bool)
- func (o *Team) GetName() string
- func (o *Team) GetNameOk() (*string, bool)
- func (o *Team) GetUsers() []string
- func (o *Team) GetUsersOk() ([]string, bool)
- func (o *Team) HasDescription() bool
- func (o *Team) HasId() bool
- func (o Team) MarshalJSON() ([]byte, error)
- func (o *Team) SetDescription(v string)
- func (o *Team) SetId(v string)
- func (o *Team) SetName(v string)
- func (o *Team) SetUsers(v []string)
- func (o Team) ToMap() (map[string]interface{}, error)
- func (o *Team) UnmarshalJSON(data []byte) (err error)
- type TeamAPIService
- func (a *TeamAPIService) CreateTeam(ctx context.Context) ApiCreateTeamRequest
- func (a *TeamAPIService) CreateTeamExecute(r ApiCreateTeamRequest) (*Team, *http.Response, error)
- func (a *TeamAPIService) DeleteTeam(ctx context.Context, teamId string) ApiDeleteTeamRequest
- func (a *TeamAPIService) DeleteTeamExecute(r ApiDeleteTeamRequest) (*http.Response, error)
- func (a *TeamAPIService) ListTeams(ctx context.Context) ApiListTeamsRequest
- func (a *TeamAPIService) ListTeamsExecute(r ApiListTeamsRequest) ([]string, *http.Response, error)
- func (a *TeamAPIService) ReadTeam(ctx context.Context, teamId string) ApiReadTeamRequest
- func (a *TeamAPIService) ReadTeamExecute(r ApiReadTeamRequest) (*Team, *http.Response, error)
- func (a *TeamAPIService) UpdateTeam(ctx context.Context, teamId string) ApiUpdateTeamRequest
- func (a *TeamAPIService) UpdateTeamExecute(r ApiUpdateTeamRequest) (*Team, *http.Response, error)
- type Template
- func (o *Template) GetDescription() string
- func (o *Template) GetDescriptionOk() (*string, bool)
- func (o *Template) GetId() string
- func (o *Template) GetIdOk() (*string, bool)
- func (o *Template) GetName() string
- func (o *Template) GetNameOk() (*string, bool)
- func (o *Template) GetOs() string
- func (o *Template) GetOsOk() (*string, bool)
- func (o *Template) GetSource() string
- func (o *Template) GetSourceOk() (*string, bool)
- func (o *Template) HasDescription() bool
- func (o *Template) HasId() bool
- func (o *Template) HasOs() bool
- func (o Template) MarshalJSON() ([]byte, error)
- func (o *Template) SetDescription(v string)
- func (o *Template) SetId(v string)
- func (o *Template) SetName(v string)
- func (o *Template) SetOs(v string)
- func (o *Template) SetSource(v string)
- func (o Template) ToMap() (map[string]interface{}, error)
- func (o *Template) UnmarshalJSON(data []byte) (err error)
- type TemplateAPIService
- func (a *TemplateAPIService) DeleteTemplate(ctx context.Context, templateId string) ApiDeleteTemplateRequest
- func (a *TemplateAPIService) DeleteTemplateExecute(r ApiDeleteTemplateRequest) (*http.Response, error)
- func (a *TemplateAPIService) ListTemplates(ctx context.Context) ApiListTemplatesRequest
- func (a *TemplateAPIService) ListTemplatesExecute(r ApiListTemplatesRequest) ([]string, *http.Response, error)
- func (a *TemplateAPIService) ReadTemplate(ctx context.Context, templateId string) ApiReadTemplateRequest
- func (a *TemplateAPIService) ReadTemplateExecute(r ApiReadTemplateRequest) (*Template, *http.Response, error)
- func (a *TemplateAPIService) UpdateTemplate(ctx context.Context, templateId string) ApiUpdateTemplateRequest
- func (a *TemplateAPIService) UpdateTemplateExecute(r ApiUpdateTemplateRequest) (*Template, *http.Response, error)
- type TokenAPIService
- func (a *TokenAPIService) DeleteApiToken(ctx context.Context, tokenId string) ApiDeleteApiTokenRequest
- func (a *TokenAPIService) DeleteApiTokenExecute(r ApiDeleteApiTokenRequest) (*http.Response, error)
- func (a *TokenAPIService) ListApiTokens(ctx context.Context) ApiListApiTokensRequest
- func (a *TokenAPIService) ListApiTokensExecute(r ApiListApiTokensRequest) ([]string, *http.Response, error)
- func (a *TokenAPIService) ReadApiToken(ctx context.Context, tokenId string) ApiReadApiTokenRequest
- func (a *TokenAPIService) ReadApiTokenExecute(r ApiReadApiTokenRequest) (*ApiToken, *http.Response, error)
- func (a *TokenAPIService) UpdateApiToken(ctx context.Context, tokenId string) ApiUpdateApiTokenRequest
- func (a *TokenAPIService) UpdateApiTokenExecute(r ApiUpdateApiTokenRequest) (*ApiToken, *http.Response, error)
- type User
- func (o *User) GetDescription() string
- func (o *User) GetDescriptionOk() (*string, bool)
- func (o *User) GetEmail() string
- func (o *User) GetEmailOk() (*string, bool)
- func (o *User) GetId() string
- func (o *User) GetIdOk() (*string, bool)
- func (o *User) GetName() string
- func (o *User) GetNameOk() (*string, bool)
- func (o *User) GetNotifications() bool
- func (o *User) GetNotificationsOk() (*bool, bool)
- func (o *User) GetRole() string
- func (o *User) GetRoleOk() (*string, bool)
- func (o *User) HasDescription() bool
- func (o *User) HasId() bool
- func (o *User) HasNotifications() bool
- func (o User) MarshalJSON() ([]byte, error)
- func (o *User) SetDescription(v string)
- func (o *User) SetEmail(v string)
- func (o *User) SetId(v string)
- func (o *User) SetName(v string)
- func (o *User) SetNotifications(v bool)
- func (o *User) SetRole(v string)
- func (o User) ToMap() (map[string]interface{}, error)
- func (o *User) UnmarshalJSON(data []byte) (err error)
- type UserAPIService
- func (a *UserAPIService) CreateUser(ctx context.Context) ApiCreateUserRequest
- func (a *UserAPIService) CreateUserExecute(r ApiCreateUserRequest) (*User, *http.Response, error)
- func (a *UserAPIService) DeleteUser(ctx context.Context, userId string) ApiDeleteUserRequest
- func (a *UserAPIService) DeleteUserExecute(r ApiDeleteUserRequest) (*http.Response, error)
- func (a *UserAPIService) ListUsers(ctx context.Context) ApiListUsersRequest
- func (a *UserAPIService) ListUsersExecute(r ApiListUsersRequest) ([]string, *http.Response, error)
- func (a *UserAPIService) Login(ctx context.Context) ApiLoginRequest
- func (a *UserAPIService) LoginExecute(r ApiLoginRequest) (*UserCredentials, *http.Response, error)
- func (a *UserAPIService) Logout(ctx context.Context) ApiLogoutRequest
- func (a *UserAPIService) LogoutExecute(r ApiLogoutRequest) (*http.Response, error)
- func (a *UserAPIService) ReadUser(ctx context.Context, userId string) ApiReadUserRequest
- func (a *UserAPIService) ReadUserExecute(r ApiReadUserRequest) (*User, *http.Response, error)
- func (a *UserAPIService) ResetPassword(ctx context.Context) ApiResetPasswordRequest
- func (a *UserAPIService) ResetPasswordExecute(r ApiResetPasswordRequest) (*http.Response, error)
- func (a *UserAPIService) ResetUserPassword(ctx context.Context, userId string) ApiResetUserPasswordRequest
- func (a *UserAPIService) ResetUserPasswordExecute(r ApiResetUserPasswordRequest) (*http.Response, error)
- func (a *UserAPIService) SetUserApiToken(ctx context.Context, userId string) ApiSetUserApiTokenRequest
- func (a *UserAPIService) SetUserApiTokenExecute(r ApiSetUserApiTokenRequest) (*http.Response, error)
- func (a *UserAPIService) SetUserPassword(ctx context.Context, userId string) ApiSetUserPasswordRequest
- func (a *UserAPIService) SetUserPasswordExecute(r ApiSetUserPasswordRequest) (*http.Response, error)
- func (a *UserAPIService) UpdateUser(ctx context.Context, userId string) ApiUpdateUserRequest
- func (a *UserAPIService) UpdateUserExecute(r ApiUpdateUserRequest) (*User, *http.Response, error)
- type UserCredentials
- func (o *UserCredentials) GetEmail() string
- func (o *UserCredentials) GetEmailOk() (*string, bool)
- func (o *UserCredentials) GetJwt() string
- func (o *UserCredentials) GetJwtOk() (*string, bool)
- func (o *UserCredentials) GetPassword() string
- func (o *UserCredentials) GetPasswordOk() (*string, bool)
- func (o *UserCredentials) HasJwt() bool
- func (o UserCredentials) MarshalJSON() ([]byte, error)
- func (o *UserCredentials) SetEmail(v string)
- func (o *UserCredentials) SetJwt(v string)
- func (o *UserCredentials) SetPassword(v string)
- func (o UserCredentials) ToMap() (map[string]interface{}, error)
- func (o *UserCredentials) UnmarshalJSON(data []byte) (err error)
- type UserEmail
- type VNet
- func (o *VNet) GetDescription() string
- func (o *VNet) GetDescriptionOk() (*string, bool)
- func (o *VNet) GetId() string
- func (o *VNet) GetIdOk() (*string, bool)
- func (o *VNet) GetInterface() string
- func (o *VNet) GetInterfaceOk() (*string, bool)
- func (o *VNet) GetName() string
- func (o *VNet) GetNameOk() (*string, bool)
- func (o *VNet) GetPrivate() bool
- func (o *VNet) GetPrivateOk() (*bool, bool)
- func (o *VNet) GetVlan() int64
- func (o *VNet) GetVlanOk() (*int64, bool)
- func (o *VNet) HasDescription() bool
- func (o *VNet) HasId() bool
- func (o *VNet) HasPrivate() bool
- func (o *VNet) HasVlan() bool
- func (o VNet) MarshalJSON() ([]byte, error)
- func (o *VNet) SetDescription(v string)
- func (o *VNet) SetId(v string)
- func (o *VNet) SetInterface(v string)
- func (o *VNet) SetName(v string)
- func (o *VNet) SetPrivate(v bool)
- func (o *VNet) SetVlan(v int64)
- func (o VNet) ToMap() (map[string]interface{}, error)
- func (o *VNet) UnmarshalJSON(data []byte) (err error)
- type VnetAPIService
- func (a *VnetAPIService) CreateSubnet(ctx context.Context, vnetId string) ApiCreateSubnetRequest
- func (a *VnetAPIService) CreateSubnetExecute(r ApiCreateSubnetRequest) (*Subnet, *http.Response, error)
- func (a *VnetAPIService) DeleteVNet(ctx context.Context, vnetId string) ApiDeleteVNetRequest
- func (a *VnetAPIService) DeleteVNetExecute(r ApiDeleteVNetRequest) (*http.Response, error)
- func (a *VnetAPIService) ListVNetSubnets(ctx context.Context, vnetId string) ApiListVNetSubnetsRequest
- func (a *VnetAPIService) ListVNetSubnetsExecute(r ApiListVNetSubnetsRequest) ([]string, *http.Response, error)
- func (a *VnetAPIService) ListVNets(ctx context.Context) ApiListVNetsRequest
- func (a *VnetAPIService) ListVNetsExecute(r ApiListVNetsRequest) ([]string, *http.Response, error)
- func (a *VnetAPIService) ReadVNet(ctx context.Context, vnetId string) ApiReadVNetRequest
- func (a *VnetAPIService) ReadVNetExecute(r ApiReadVNetRequest) (*VNet, *http.Response, error)
- func (a *VnetAPIService) SetVNetDefaultSubnet(ctx context.Context, vnetId string, subnetId string) ApiSetVNetDefaultSubnetRequest
- func (a *VnetAPIService) SetVNetDefaultSubnetExecute(r ApiSetVNetDefaultSubnetRequest) (*http.Response, error)
- func (a *VnetAPIService) UpdateVNet(ctx context.Context, vnetId string) ApiUpdateVNetRequest
- func (a *VnetAPIService) UpdateVNetExecute(r ApiUpdateVNetRequest) (*VNet, *http.Response, error)
- type Volume
- func (o *Volume) GetDescription() string
- func (o *Volume) GetDescriptionOk() (*string, bool)
- func (o *Volume) GetId() string
- func (o *Volume) GetIdOk() (*string, bool)
- func (o *Volume) GetName() string
- func (o *Volume) GetNameOk() (*string, bool)
- func (o *Volume) GetSize() int64
- func (o *Volume) GetSizeOk() (*int64, bool)
- func (o *Volume) GetType() string
- func (o *Volume) GetTypeOk() (*string, bool)
- func (o *Volume) HasDescription() bool
- func (o *Volume) HasId() bool
- func (o Volume) MarshalJSON() ([]byte, error)
- func (o *Volume) SetDescription(v string)
- func (o *Volume) SetId(v string)
- func (o *Volume) SetName(v string)
- func (o *Volume) SetSize(v int64)
- func (o *Volume) SetType(v string)
- func (o Volume) ToMap() (map[string]interface{}, error)
- func (o *Volume) UnmarshalJSON(data []byte) (err error)
- type VolumeAPIService
- func (a *VolumeAPIService) DeleteVolume(ctx context.Context, volumeId string) ApiDeleteVolumeRequest
- func (a *VolumeAPIService) DeleteVolumeExecute(r ApiDeleteVolumeRequest) (*http.Response, error)
- func (a *VolumeAPIService) ListVolumes(ctx context.Context) ApiListVolumesRequest
- func (a *VolumeAPIService) ListVolumesExecute(r ApiListVolumesRequest) ([]string, *http.Response, error)
- func (a *VolumeAPIService) ReadVolume(ctx context.Context, volumeId string) ApiReadVolumeRequest
- func (a *VolumeAPIService) ReadVolumeExecute(r ApiReadVolumeRequest) (*Volume, *http.Response, error)
- func (a *VolumeAPIService) UpdateVolume(ctx context.Context, volumeId string) ApiUpdateVolumeRequest
- func (a *VolumeAPIService) UpdateVolumeExecute(r ApiUpdateVolumeRequest) (*Volume, *http.Response, error)
- type Zone
- func (o *Zone) GetDescription() string
- func (o *Zone) GetDescriptionOk() (*string, bool)
- func (o *Zone) GetId() string
- func (o *Zone) GetIdOk() (*string, bool)
- func (o *Zone) GetName() string
- func (o *Zone) GetNameOk() (*string, bool)
- func (o *Zone) HasDescription() bool
- func (o *Zone) HasId() bool
- func (o Zone) MarshalJSON() ([]byte, error)
- func (o *Zone) SetDescription(v string)
- func (o *Zone) SetId(v string)
- func (o *Zone) SetName(v string)
- func (o Zone) ToMap() (map[string]interface{}, error)
- func (o *Zone) UnmarshalJSON(data []byte) (err error)
- type ZoneAPIService
- func (a *ZoneAPIService) CreateKaktus(ctx context.Context, zoneId string) ApiCreateKaktusRequest
- func (a *ZoneAPIService) CreateKaktusExecute(r ApiCreateKaktusRequest) (*Kaktus, *http.Response, error)
- func (a *ZoneAPIService) DeleteZone(ctx context.Context, zoneId string) ApiDeleteZoneRequest
- func (a *ZoneAPIService) DeleteZoneExecute(r ApiDeleteZoneRequest) (*http.Response, error)
- func (a *ZoneAPIService) ListZoneKaktuses(ctx context.Context, zoneId string) ApiListZoneKaktusesRequest
- func (a *ZoneAPIService) ListZoneKaktusesExecute(r ApiListZoneKaktusesRequest) ([]string, *http.Response, error)
- func (a *ZoneAPIService) ListZones(ctx context.Context) ApiListZonesRequest
- func (a *ZoneAPIService) ListZonesExecute(r ApiListZonesRequest) ([]string, *http.Response, error)
- func (a *ZoneAPIService) ReadZone(ctx context.Context, zoneId string) ApiReadZoneRequest
- func (a *ZoneAPIService) ReadZoneExecute(r ApiReadZoneRequest) (*Zone, *http.Response, error)
- func (a *ZoneAPIService) UpdateZone(ctx context.Context, zoneId string) ApiUpdateZoneRequest
- func (a *ZoneAPIService) UpdateZoneExecute(r ApiUpdateZoneRequest) (*Zone, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { AdapterAPI *AdapterAPIService AgentAPI *AgentAPIService InstanceAPI *InstanceAPIService KaktusAPI *KaktusAPIService KawaiiAPI *KawaiiAPIService KiwiAPI *KiwiAPIService KomputeAPI *KomputeAPIService KonveyAPI *KonveyAPIService KyloAPI *KyloAPIService NfsAPI *NfsAPIService PoolAPI *PoolAPIService ProjectAPI *ProjectAPIService RecordAPI *RecordAPIService RegionAPI *RegionAPIService SubnetAPI *SubnetAPIService TeamAPI *TeamAPIService TemplateAPI *TemplateAPIService TokenAPI *TokenAPIService UserAPI *UserAPIService VnetAPI *VnetAPIService VolumeAPI *VolumeAPIService ZoneAPI *ZoneAPIService // contains filtered or unexported fields }
APIClient manages communication with the Kowabunga API documentation API v0.52.5 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type Adapter ¶
type Adapter struct { // The network adapter ID (auto-generated). Id *string `json:"id,omitempty"` // The network adapter name. Name string `json:"name"` // The network adapter description. Description *string `json:"description,omitempty"` // The network adapter hardware address (e.g. 00:11:22:33:44:55). Auto-generated if unspecified. Mac *string `json:"mac,omitempty"` // The network adapter list of associated IPv4 addresses. Addresses []string `json:"addresses,omitempty"` // The network adapter is a reserved adapter (e.g. router), where the same hardware address can be reused over several subnets. Reserved *bool `json:"reserved,omitempty"` }
Adapter A network adapter.
func NewAdapter ¶
NewAdapter instantiates a new Adapter object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAdapterWithDefaults ¶
func NewAdapterWithDefaults() *Adapter
NewAdapterWithDefaults instantiates a new Adapter object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Adapter) GetAddresses ¶
GetAddresses returns the Addresses field value if set, zero value otherwise.
func (*Adapter) GetAddressesOk ¶
GetAddressesOk returns a tuple with the Addresses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Adapter) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Adapter) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Adapter) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Adapter) GetMacOk ¶
GetMacOk returns a tuple with the Mac field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Adapter) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Adapter) GetReserved ¶
GetReserved returns the Reserved field value if set, zero value otherwise.
func (*Adapter) GetReservedOk ¶
GetReservedOk returns a tuple with the Reserved field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Adapter) HasAddresses ¶
HasAddresses returns a boolean if a field has been set.
func (*Adapter) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Adapter) HasReserved ¶
HasReserved returns a boolean if a field has been set.
func (Adapter) MarshalJSON ¶
func (*Adapter) SetAddresses ¶
SetAddresses gets a reference to the given []string and assigns it to the Addresses field.
func (*Adapter) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Adapter) SetMac ¶
SetMac gets a reference to the given string and assigns it to the Mac field.
func (*Adapter) SetReserved ¶
SetReserved gets a reference to the given bool and assigns it to the Reserved field.
func (*Adapter) UnmarshalJSON ¶
type AdapterAPIService ¶
type AdapterAPIService service
AdapterAPIService AdapterAPI service
func (*AdapterAPIService) DeleteAdapter ¶
func (a *AdapterAPIService) DeleteAdapter(ctx context.Context, adapterId string) ApiDeleteAdapterRequest
DeleteAdapter Method for DeleteAdapter
Deletes an existing network adapter.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param adapterId The ID of the network adapter. @return ApiDeleteAdapterRequest
func (*AdapterAPIService) DeleteAdapterExecute ¶
func (a *AdapterAPIService) DeleteAdapterExecute(r ApiDeleteAdapterRequest) (*http.Response, error)
Execute executes the request
func (*AdapterAPIService) ListAdapters ¶
func (a *AdapterAPIService) ListAdapters(ctx context.Context) ApiListAdaptersRequest
ListAdapters Method for ListAdapters
Returns the IDs of network adapter objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListAdaptersRequest
func (*AdapterAPIService) ListAdaptersExecute ¶
func (a *AdapterAPIService) ListAdaptersExecute(r ApiListAdaptersRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*AdapterAPIService) ReadAdapter ¶
func (a *AdapterAPIService) ReadAdapter(ctx context.Context, adapterId string) ApiReadAdapterRequest
ReadAdapter Method for ReadAdapter
Returns a network adapter.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param adapterId The ID of the network adapter. @return ApiReadAdapterRequest
func (*AdapterAPIService) ReadAdapterExecute ¶
func (a *AdapterAPIService) ReadAdapterExecute(r ApiReadAdapterRequest) (*Adapter, *http.Response, error)
Execute executes the request
@return Adapter
func (*AdapterAPIService) UpdateAdapter ¶
func (a *AdapterAPIService) UpdateAdapter(ctx context.Context, adapterId string) ApiUpdateAdapterRequest
UpdateAdapter Method for UpdateAdapter
Updates a network adapter configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param adapterId The ID of the network adapter. @return ApiUpdateAdapterRequest
func (*AdapterAPIService) UpdateAdapterExecute ¶
func (a *AdapterAPIService) UpdateAdapterExecute(r ApiUpdateAdapterRequest) (*Adapter, *http.Response, error)
Execute executes the request
@return Adapter
type Agent ¶
type Agent struct { // The Kowabunga remote agent ID (auto-generated). Id *string `json:"id,omitempty"` // The Kowabunga remote agent name. Name string `json:"name"` // The Kowabunga remote agent description. Description *string `json:"description,omitempty"` // The Kowabunga agent type. Type string `json:"type"` }
Agent A Kowabunga remote agent.
func NewAgent ¶
NewAgent instantiates a new Agent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAgentWithDefaults ¶
func NewAgentWithDefaults() *Agent
NewAgentWithDefaults instantiates a new Agent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Agent) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Agent) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Agent) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Agent) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Agent) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Agent) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (Agent) MarshalJSON ¶
func (*Agent) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Agent) UnmarshalJSON ¶
type AgentAPIService ¶
type AgentAPIService service
AgentAPIService AgentAPI service
func (*AgentAPIService) CreateAgent ¶
func (a *AgentAPIService) CreateAgent(ctx context.Context) ApiCreateAgentRequest
CreateAgent Method for CreateAgent
Creates a new Kowabunga remote agent.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateAgentRequest
func (*AgentAPIService) CreateAgentExecute ¶
func (a *AgentAPIService) CreateAgentExecute(r ApiCreateAgentRequest) (*Agent, *http.Response, error)
Execute executes the request
@return Agent
func (*AgentAPIService) DeleteAgent ¶
func (a *AgentAPIService) DeleteAgent(ctx context.Context, agentId string) ApiDeleteAgentRequest
DeleteAgent Method for DeleteAgent
Deletes an existing Kowabunga remote agent.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentId The ID of the Kowabunga remote agent. @return ApiDeleteAgentRequest
func (*AgentAPIService) DeleteAgentExecute ¶
func (a *AgentAPIService) DeleteAgentExecute(r ApiDeleteAgentRequest) (*http.Response, error)
Execute executes the request
func (*AgentAPIService) ListAgents ¶
func (a *AgentAPIService) ListAgents(ctx context.Context) ApiListAgentsRequest
ListAgents Method for ListAgents
Returns the IDs of Kowabunga remote agent objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListAgentsRequest
func (*AgentAPIService) ListAgentsExecute ¶
func (a *AgentAPIService) ListAgentsExecute(r ApiListAgentsRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*AgentAPIService) ReadAgent ¶
func (a *AgentAPIService) ReadAgent(ctx context.Context, agentId string) ApiReadAgentRequest
ReadAgent Method for ReadAgent
Returns a Kowabunga remote agent.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentId The ID of the Kowabunga remote agent. @return ApiReadAgentRequest
func (*AgentAPIService) ReadAgentExecute ¶
func (a *AgentAPIService) ReadAgentExecute(r ApiReadAgentRequest) (*Agent, *http.Response, error)
Execute executes the request
@return Agent
func (*AgentAPIService) SetAgentApiToken ¶
func (a *AgentAPIService) SetAgentApiToken(ctx context.Context, agentId string) ApiSetAgentApiTokenRequest
SetAgentApiToken Method for SetAgentApiToken
Performs a Kowabunga remote agent setting of API token (will replace any existing one).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentId The ID of the Kowabunga remote agent. @return ApiSetAgentApiTokenRequest
func (*AgentAPIService) SetAgentApiTokenExecute ¶
func (a *AgentAPIService) SetAgentApiTokenExecute(r ApiSetAgentApiTokenRequest) (*ApiToken, *http.Response, error)
Execute executes the request
@return ApiToken
func (*AgentAPIService) UpdateAgent ¶
func (a *AgentAPIService) UpdateAgent(ctx context.Context, agentId string) ApiUpdateAgentRequest
UpdateAgent Method for UpdateAgent
Updates a Kowabunga remote agent configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentId The ID of the Kowabunga remote agent. @return ApiUpdateAgentRequest
func (*AgentAPIService) UpdateAgentExecute ¶
func (a *AgentAPIService) UpdateAgentExecute(r ApiUpdateAgentRequest) (*Agent, *http.Response, error)
Execute executes the request
@return Agent
type ApiCreateAdapterRequest ¶
type ApiCreateAdapterRequest struct { ApiService *SubnetAPIService // contains filtered or unexported fields }
func (ApiCreateAdapterRequest) Adapter ¶
func (r ApiCreateAdapterRequest) Adapter(adapter Adapter) ApiCreateAdapterRequest
Adapter payload.
func (ApiCreateAdapterRequest) AssignIP ¶
func (r ApiCreateAdapterRequest) AssignIP(assignIP bool) ApiCreateAdapterRequest
Whether Kowabunga should pick and assign an IP address to this adapter.
type ApiCreateAgentRequest ¶
type ApiCreateAgentRequest struct { ApiService *AgentAPIService // contains filtered or unexported fields }
func (ApiCreateAgentRequest) Agent ¶
func (r ApiCreateAgentRequest) Agent(agent Agent) ApiCreateAgentRequest
Agent payload.
type ApiCreateKaktusRequest ¶
type ApiCreateKaktusRequest struct { ApiService *ZoneAPIService // contains filtered or unexported fields }
func (ApiCreateKaktusRequest) Execute ¶
func (r ApiCreateKaktusRequest) Execute() (*Kaktus, *http.Response, error)
func (ApiCreateKaktusRequest) Kaktus ¶
func (r ApiCreateKaktusRequest) Kaktus(kaktus Kaktus) ApiCreateKaktusRequest
Kaktus payload.
type ApiCreateKawaiiIpSecRequest ¶
type ApiCreateKawaiiIpSecRequest struct { ApiService *KawaiiAPIService // contains filtered or unexported fields }
func (ApiCreateKawaiiIpSecRequest) Execute ¶
func (r ApiCreateKawaiiIpSecRequest) Execute() (*KawaiiIpSec, *http.Response, error)
func (ApiCreateKawaiiIpSecRequest) KawaiiIpSec ¶
func (r ApiCreateKawaiiIpSecRequest) KawaiiIpSec(kawaiiIpSec KawaiiIpSec) ApiCreateKawaiiIpSecRequest
KawaiiIpSec payload.
type ApiCreateKiwiRequest ¶
type ApiCreateKiwiRequest struct { ApiService *RegionAPIService // contains filtered or unexported fields }
func (ApiCreateKiwiRequest) Execute ¶
func (r ApiCreateKiwiRequest) Execute() (*Kiwi, *http.Response, error)
func (ApiCreateKiwiRequest) Kiwi ¶
func (r ApiCreateKiwiRequest) Kiwi(kiwi Kiwi) ApiCreateKiwiRequest
Kiwi payload.
type ApiCreateProjectDnsRecordRequest ¶
type ApiCreateProjectDnsRecordRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
func (ApiCreateProjectDnsRecordRequest) DnsRecord ¶
func (r ApiCreateProjectDnsRecordRequest) DnsRecord(dnsRecord DnsRecord) ApiCreateProjectDnsRecordRequest
DnsRecord payload.
type ApiCreateProjectRegionKawaiiRequest ¶
type ApiCreateProjectRegionKawaiiRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
func (ApiCreateProjectRegionKawaiiRequest) Execute ¶
func (r ApiCreateProjectRegionKawaiiRequest) Execute() (*Kawaii, *http.Response, error)
func (ApiCreateProjectRegionKawaiiRequest) Kawaii ¶
func (r ApiCreateProjectRegionKawaiiRequest) Kawaii(kawaii Kawaii) ApiCreateProjectRegionKawaiiRequest
Kawaii payload.
type ApiCreateProjectRegionKonveyRequest ¶
type ApiCreateProjectRegionKonveyRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
func (ApiCreateProjectRegionKonveyRequest) Execute ¶
func (r ApiCreateProjectRegionKonveyRequest) Execute() (*Konvey, *http.Response, error)
func (ApiCreateProjectRegionKonveyRequest) Konvey ¶
func (r ApiCreateProjectRegionKonveyRequest) Konvey(konvey Konvey) ApiCreateProjectRegionKonveyRequest
Konvey payload.
type ApiCreateProjectRegionKyloRequest ¶
type ApiCreateProjectRegionKyloRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
func (ApiCreateProjectRegionKyloRequest) Execute ¶
func (r ApiCreateProjectRegionKyloRequest) Execute() (*Kylo, *http.Response, error)
func (ApiCreateProjectRegionKyloRequest) Kylo ¶
func (r ApiCreateProjectRegionKyloRequest) Kylo(kylo Kylo) ApiCreateProjectRegionKyloRequest
Kylo payload.
func (ApiCreateProjectRegionKyloRequest) NfsId ¶
func (r ApiCreateProjectRegionKyloRequest) NfsId(nfsId string) ApiCreateProjectRegionKyloRequest
NFS storage ID (optional, region's default if unspecified).
type ApiCreateProjectRegionVolumeRequest ¶
type ApiCreateProjectRegionVolumeRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
func (ApiCreateProjectRegionVolumeRequest) Execute ¶
func (r ApiCreateProjectRegionVolumeRequest) Execute() (*Volume, *http.Response, error)
func (ApiCreateProjectRegionVolumeRequest) PoolId ¶
func (r ApiCreateProjectRegionVolumeRequest) PoolId(poolId string) ApiCreateProjectRegionVolumeRequest
Storage pool ID (optional, region's default if unspecified).
func (ApiCreateProjectRegionVolumeRequest) TemplateId ¶
func (r ApiCreateProjectRegionVolumeRequest) TemplateId(templateId string) ApiCreateProjectRegionVolumeRequest
Template to clone the storage volume from (optional, region's default if unspecified).
func (ApiCreateProjectRegionVolumeRequest) Volume ¶
func (r ApiCreateProjectRegionVolumeRequest) Volume(volume Volume) ApiCreateProjectRegionVolumeRequest
Volume payload.
type ApiCreateProjectRequest ¶
type ApiCreateProjectRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
func (ApiCreateProjectRequest) Execute ¶
func (r ApiCreateProjectRequest) Execute() (*Project, *http.Response, error)
func (ApiCreateProjectRequest) Project ¶
func (r ApiCreateProjectRequest) Project(project Project) ApiCreateProjectRequest
Project payload.
func (ApiCreateProjectRequest) SubnetSize ¶
func (r ApiCreateProjectRequest) SubnetSize(subnetSize int32) ApiCreateProjectRequest
The minimum VPC subnet size to be affected to the project. WARNING, this cannot be changed later.
type ApiCreateProjectZoneInstanceRequest ¶
type ApiCreateProjectZoneInstanceRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
func (ApiCreateProjectZoneInstanceRequest) Execute ¶
func (r ApiCreateProjectZoneInstanceRequest) Execute() (*Instance, *http.Response, error)
func (ApiCreateProjectZoneInstanceRequest) Instance ¶
func (r ApiCreateProjectZoneInstanceRequest) Instance(instance Instance) ApiCreateProjectZoneInstanceRequest
Instance payload.
type ApiCreateProjectZoneKomputeRequest ¶
type ApiCreateProjectZoneKomputeRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
func (ApiCreateProjectZoneKomputeRequest) Execute ¶
func (r ApiCreateProjectZoneKomputeRequest) Execute() (*Kompute, *http.Response, error)
func (ApiCreateProjectZoneKomputeRequest) Kompute ¶
func (r ApiCreateProjectZoneKomputeRequest) Kompute(kompute Kompute) ApiCreateProjectZoneKomputeRequest
Kompute payload.
func (ApiCreateProjectZoneKomputeRequest) PoolId ¶
func (r ApiCreateProjectZoneKomputeRequest) PoolId(poolId string) ApiCreateProjectZoneKomputeRequest
Storage pool ID (optional, region's default if unspecified).
func (ApiCreateProjectZoneKomputeRequest) Public ¶
func (r ApiCreateProjectZoneKomputeRequest) Public(public bool) ApiCreateProjectZoneKomputeRequest
Should Kompute be exposed over public Internet ? (a public IPv4 address will then be auto-assigned, default to false).
func (ApiCreateProjectZoneKomputeRequest) TemplateId ¶
func (r ApiCreateProjectZoneKomputeRequest) TemplateId(templateId string) ApiCreateProjectZoneKomputeRequest
Template to clone the storage volume from (optional, region's default if unspecified).
type ApiCreateProjectZoneKonveyRequest ¶
type ApiCreateProjectZoneKonveyRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
func (ApiCreateProjectZoneKonveyRequest) Execute ¶
func (r ApiCreateProjectZoneKonveyRequest) Execute() (*Konvey, *http.Response, error)
func (ApiCreateProjectZoneKonveyRequest) Konvey ¶
func (r ApiCreateProjectZoneKonveyRequest) Konvey(konvey Konvey) ApiCreateProjectZoneKonveyRequest
Konvey payload.
type ApiCreateRegionRequest ¶
type ApiCreateRegionRequest struct { ApiService *RegionAPIService // contains filtered or unexported fields }
func (ApiCreateRegionRequest) Execute ¶
func (r ApiCreateRegionRequest) Execute() (*Region, *http.Response, error)
func (ApiCreateRegionRequest) Region ¶
func (r ApiCreateRegionRequest) Region(region Region) ApiCreateRegionRequest
Region payload.
type ApiCreateStorageNFSRequest ¶
type ApiCreateStorageNFSRequest struct { ApiService *RegionAPIService // contains filtered or unexported fields }
func (ApiCreateStorageNFSRequest) Execute ¶
func (r ApiCreateStorageNFSRequest) Execute() (*StorageNFS, *http.Response, error)
func (ApiCreateStorageNFSRequest) PoolId ¶
func (r ApiCreateStorageNFSRequest) PoolId(poolId string) ApiCreateStorageNFSRequest
Storage pool ID (optional, region's default if unspecified).
func (ApiCreateStorageNFSRequest) StorageNFS ¶
func (r ApiCreateStorageNFSRequest) StorageNFS(storageNFS StorageNFS) ApiCreateStorageNFSRequest
StorageNFS payload.
type ApiCreateStoragePoolRequest ¶
type ApiCreateStoragePoolRequest struct { ApiService *RegionAPIService // contains filtered or unexported fields }
func (ApiCreateStoragePoolRequest) Execute ¶
func (r ApiCreateStoragePoolRequest) Execute() (*StoragePool, *http.Response, error)
func (ApiCreateStoragePoolRequest) StoragePool ¶
func (r ApiCreateStoragePoolRequest) StoragePool(storagePool StoragePool) ApiCreateStoragePoolRequest
StoragePool payload.
type ApiCreateSubnetRequest ¶
type ApiCreateSubnetRequest struct { ApiService *VnetAPIService // contains filtered or unexported fields }
func (ApiCreateSubnetRequest) Execute ¶
func (r ApiCreateSubnetRequest) Execute() (*Subnet, *http.Response, error)
func (ApiCreateSubnetRequest) Subnet ¶
func (r ApiCreateSubnetRequest) Subnet(subnet Subnet) ApiCreateSubnetRequest
Subnet payload.
type ApiCreateTeamRequest ¶
type ApiCreateTeamRequest struct { ApiService *TeamAPIService // contains filtered or unexported fields }
func (ApiCreateTeamRequest) Execute ¶
func (r ApiCreateTeamRequest) Execute() (*Team, *http.Response, error)
func (ApiCreateTeamRequest) Team ¶
func (r ApiCreateTeamRequest) Team(team Team) ApiCreateTeamRequest
Team payload.
type ApiCreateTemplateRequest ¶
type ApiCreateTemplateRequest struct { ApiService *PoolAPIService // contains filtered or unexported fields }
func (ApiCreateTemplateRequest) Execute ¶
func (r ApiCreateTemplateRequest) Execute() (*Template, *http.Response, error)
func (ApiCreateTemplateRequest) Template ¶
func (r ApiCreateTemplateRequest) Template(template Template) ApiCreateTemplateRequest
Template payload.
type ApiCreateUserRequest ¶
type ApiCreateUserRequest struct { ApiService *UserAPIService // contains filtered or unexported fields }
func (ApiCreateUserRequest) Execute ¶
func (r ApiCreateUserRequest) Execute() (*User, *http.Response, error)
func (ApiCreateUserRequest) User ¶
func (r ApiCreateUserRequest) User(user User) ApiCreateUserRequest
User payload.
type ApiCreateVNetRequest ¶
type ApiCreateVNetRequest struct { ApiService *RegionAPIService // contains filtered or unexported fields }
func (ApiCreateVNetRequest) Execute ¶
func (r ApiCreateVNetRequest) Execute() (*VNet, *http.Response, error)
func (ApiCreateVNetRequest) VNet ¶
func (r ApiCreateVNetRequest) VNet(vNet VNet) ApiCreateVNetRequest
VNet payload.
type ApiCreateZoneRequest ¶
type ApiCreateZoneRequest struct { ApiService *RegionAPIService // contains filtered or unexported fields }
func (ApiCreateZoneRequest) Execute ¶
func (r ApiCreateZoneRequest) Execute() (*Zone, *http.Response, error)
func (ApiCreateZoneRequest) Zone ¶
func (r ApiCreateZoneRequest) Zone(zone Zone) ApiCreateZoneRequest
Zone payload.
type ApiDeleteAdapterRequest ¶
type ApiDeleteAdapterRequest struct { ApiService *AdapterAPIService // contains filtered or unexported fields }
type ApiDeleteAgentRequest ¶
type ApiDeleteAgentRequest struct { ApiService *AgentAPIService // contains filtered or unexported fields }
type ApiDeleteApiTokenRequest ¶
type ApiDeleteApiTokenRequest struct { ApiService *TokenAPIService // contains filtered or unexported fields }
type ApiDeleteDnsRecordRequest ¶
type ApiDeleteDnsRecordRequest struct { ApiService *RecordAPIService // contains filtered or unexported fields }
type ApiDeleteInstanceRequest ¶
type ApiDeleteInstanceRequest struct { ApiService *InstanceAPIService // contains filtered or unexported fields }
type ApiDeleteKaktusRequest ¶
type ApiDeleteKaktusRequest struct { ApiService *KaktusAPIService // contains filtered or unexported fields }
type ApiDeleteKawaiiIpSecRequest ¶
type ApiDeleteKawaiiIpSecRequest struct { ApiService *KawaiiAPIService // contains filtered or unexported fields }
type ApiDeleteKawaiiRequest ¶
type ApiDeleteKawaiiRequest struct { ApiService *KawaiiAPIService // contains filtered or unexported fields }
type ApiDeleteKiwiRequest ¶
type ApiDeleteKiwiRequest struct { ApiService *KiwiAPIService // contains filtered or unexported fields }
type ApiDeleteKomputeRequest ¶
type ApiDeleteKomputeRequest struct { ApiService *KomputeAPIService // contains filtered or unexported fields }
type ApiDeleteKonveyRequest ¶
type ApiDeleteKonveyRequest struct { ApiService *KonveyAPIService // contains filtered or unexported fields }
type ApiDeleteKyloRequest ¶
type ApiDeleteKyloRequest struct { ApiService *KyloAPIService // contains filtered or unexported fields }
type ApiDeleteProjectRequest ¶
type ApiDeleteProjectRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
type ApiDeleteRegionRequest ¶
type ApiDeleteRegionRequest struct { ApiService *RegionAPIService // contains filtered or unexported fields }
type ApiDeleteStorageNFSRequest ¶
type ApiDeleteStorageNFSRequest struct { ApiService *NfsAPIService // contains filtered or unexported fields }
type ApiDeleteStoragePoolRequest ¶
type ApiDeleteStoragePoolRequest struct { ApiService *PoolAPIService // contains filtered or unexported fields }
type ApiDeleteSubnetRequest ¶
type ApiDeleteSubnetRequest struct { ApiService *SubnetAPIService // contains filtered or unexported fields }
type ApiDeleteTeamRequest ¶
type ApiDeleteTeamRequest struct { ApiService *TeamAPIService // contains filtered or unexported fields }
type ApiDeleteTemplateRequest ¶
type ApiDeleteTemplateRequest struct { ApiService *TemplateAPIService // contains filtered or unexported fields }
type ApiDeleteUserRequest ¶
type ApiDeleteUserRequest struct { ApiService *UserAPIService // contains filtered or unexported fields }
type ApiDeleteVNetRequest ¶
type ApiDeleteVNetRequest struct { ApiService *VnetAPIService // contains filtered or unexported fields }
type ApiDeleteVolumeRequest ¶
type ApiDeleteVolumeRequest struct { ApiService *VolumeAPIService // contains filtered or unexported fields }
type ApiDeleteZoneRequest ¶
type ApiDeleteZoneRequest struct { ApiService *ZoneAPIService // contains filtered or unexported fields }
type ApiErrorBadRequest ¶
type ApiErrorBadRequest struct { Status int32 `json:"status"` Error string `json:"error"` Reason string `json:"reason"` }
ApiErrorBadRequest struct for ApiErrorBadRequest
func NewApiErrorBadRequest ¶
func NewApiErrorBadRequest(status int32, error_ string, reason string) *ApiErrorBadRequest
NewApiErrorBadRequest instantiates a new ApiErrorBadRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiErrorBadRequestWithDefaults ¶
func NewApiErrorBadRequestWithDefaults() *ApiErrorBadRequest
NewApiErrorBadRequestWithDefaults instantiates a new ApiErrorBadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiErrorBadRequest) GetError ¶
func (o *ApiErrorBadRequest) GetError() string
GetError returns the Error field value
func (*ApiErrorBadRequest) GetErrorOk ¶
func (o *ApiErrorBadRequest) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*ApiErrorBadRequest) GetReason ¶
func (o *ApiErrorBadRequest) GetReason() string
GetReason returns the Reason field value
func (*ApiErrorBadRequest) GetReasonOk ¶
func (o *ApiErrorBadRequest) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.
func (*ApiErrorBadRequest) GetStatus ¶
func (o *ApiErrorBadRequest) GetStatus() int32
GetStatus returns the Status field value
func (*ApiErrorBadRequest) GetStatusOk ¶
func (o *ApiErrorBadRequest) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (ApiErrorBadRequest) MarshalJSON ¶
func (o ApiErrorBadRequest) MarshalJSON() ([]byte, error)
func (*ApiErrorBadRequest) SetError ¶
func (o *ApiErrorBadRequest) SetError(v string)
SetError sets field value
func (*ApiErrorBadRequest) SetReason ¶
func (o *ApiErrorBadRequest) SetReason(v string)
SetReason sets field value
func (*ApiErrorBadRequest) SetStatus ¶
func (o *ApiErrorBadRequest) SetStatus(v int32)
SetStatus sets field value
func (ApiErrorBadRequest) ToMap ¶
func (o ApiErrorBadRequest) ToMap() (map[string]interface{}, error)
func (*ApiErrorBadRequest) UnmarshalJSON ¶
func (o *ApiErrorBadRequest) UnmarshalJSON(data []byte) (err error)
type ApiErrorConflict ¶
type ApiErrorConflict struct { Status int32 `json:"status"` Error string `json:"error"` Reason string `json:"reason"` }
ApiErrorConflict struct for ApiErrorConflict
func NewApiErrorConflict ¶
func NewApiErrorConflict(status int32, error_ string, reason string) *ApiErrorConflict
NewApiErrorConflict instantiates a new ApiErrorConflict object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiErrorConflictWithDefaults ¶
func NewApiErrorConflictWithDefaults() *ApiErrorConflict
NewApiErrorConflictWithDefaults instantiates a new ApiErrorConflict object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiErrorConflict) GetError ¶
func (o *ApiErrorConflict) GetError() string
GetError returns the Error field value
func (*ApiErrorConflict) GetErrorOk ¶
func (o *ApiErrorConflict) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*ApiErrorConflict) GetReason ¶
func (o *ApiErrorConflict) GetReason() string
GetReason returns the Reason field value
func (*ApiErrorConflict) GetReasonOk ¶
func (o *ApiErrorConflict) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.
func (*ApiErrorConflict) GetStatus ¶
func (o *ApiErrorConflict) GetStatus() int32
GetStatus returns the Status field value
func (*ApiErrorConflict) GetStatusOk ¶
func (o *ApiErrorConflict) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (ApiErrorConflict) MarshalJSON ¶
func (o ApiErrorConflict) MarshalJSON() ([]byte, error)
func (*ApiErrorConflict) SetError ¶
func (o *ApiErrorConflict) SetError(v string)
SetError sets field value
func (*ApiErrorConflict) SetReason ¶
func (o *ApiErrorConflict) SetReason(v string)
SetReason sets field value
func (*ApiErrorConflict) SetStatus ¶
func (o *ApiErrorConflict) SetStatus(v int32)
SetStatus sets field value
func (ApiErrorConflict) ToMap ¶
func (o ApiErrorConflict) ToMap() (map[string]interface{}, error)
func (*ApiErrorConflict) UnmarshalJSON ¶
func (o *ApiErrorConflict) UnmarshalJSON(data []byte) (err error)
type ApiErrorForbidden ¶
type ApiErrorForbidden struct { Status int32 `json:"status"` Error string `json:"error"` Reason string `json:"reason"` }
ApiErrorForbidden struct for ApiErrorForbidden
func NewApiErrorForbidden ¶
func NewApiErrorForbidden(status int32, error_ string, reason string) *ApiErrorForbidden
NewApiErrorForbidden instantiates a new ApiErrorForbidden object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiErrorForbiddenWithDefaults ¶
func NewApiErrorForbiddenWithDefaults() *ApiErrorForbidden
NewApiErrorForbiddenWithDefaults instantiates a new ApiErrorForbidden object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiErrorForbidden) GetError ¶
func (o *ApiErrorForbidden) GetError() string
GetError returns the Error field value
func (*ApiErrorForbidden) GetErrorOk ¶
func (o *ApiErrorForbidden) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*ApiErrorForbidden) GetReason ¶
func (o *ApiErrorForbidden) GetReason() string
GetReason returns the Reason field value
func (*ApiErrorForbidden) GetReasonOk ¶
func (o *ApiErrorForbidden) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.
func (*ApiErrorForbidden) GetStatus ¶
func (o *ApiErrorForbidden) GetStatus() int32
GetStatus returns the Status field value
func (*ApiErrorForbidden) GetStatusOk ¶
func (o *ApiErrorForbidden) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (ApiErrorForbidden) MarshalJSON ¶
func (o ApiErrorForbidden) MarshalJSON() ([]byte, error)
func (*ApiErrorForbidden) SetError ¶
func (o *ApiErrorForbidden) SetError(v string)
SetError sets field value
func (*ApiErrorForbidden) SetReason ¶
func (o *ApiErrorForbidden) SetReason(v string)
SetReason sets field value
func (*ApiErrorForbidden) SetStatus ¶
func (o *ApiErrorForbidden) SetStatus(v int32)
SetStatus sets field value
func (ApiErrorForbidden) ToMap ¶
func (o ApiErrorForbidden) ToMap() (map[string]interface{}, error)
func (*ApiErrorForbidden) UnmarshalJSON ¶
func (o *ApiErrorForbidden) UnmarshalJSON(data []byte) (err error)
type ApiErrorInsufficientResource ¶ added in v0.52.5
type ApiErrorInsufficientResource struct { Status int32 `json:"status"` Error string `json:"error"` Reason string `json:"reason"` }
ApiErrorInsufficientResource struct for ApiErrorInsufficientResource
func NewApiErrorInsufficientResource ¶ added in v0.52.5
func NewApiErrorInsufficientResource(status int32, error_ string, reason string) *ApiErrorInsufficientResource
NewApiErrorInsufficientResource instantiates a new ApiErrorInsufficientResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiErrorInsufficientResourceWithDefaults ¶ added in v0.52.5
func NewApiErrorInsufficientResourceWithDefaults() *ApiErrorInsufficientResource
NewApiErrorInsufficientResourceWithDefaults instantiates a new ApiErrorInsufficientResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiErrorInsufficientResource) GetError ¶ added in v0.52.5
func (o *ApiErrorInsufficientResource) GetError() string
GetError returns the Error field value
func (*ApiErrorInsufficientResource) GetErrorOk ¶ added in v0.52.5
func (o *ApiErrorInsufficientResource) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*ApiErrorInsufficientResource) GetReason ¶ added in v0.52.5
func (o *ApiErrorInsufficientResource) GetReason() string
GetReason returns the Reason field value
func (*ApiErrorInsufficientResource) GetReasonOk ¶ added in v0.52.5
func (o *ApiErrorInsufficientResource) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.
func (*ApiErrorInsufficientResource) GetStatus ¶ added in v0.52.5
func (o *ApiErrorInsufficientResource) GetStatus() int32
GetStatus returns the Status field value
func (*ApiErrorInsufficientResource) GetStatusOk ¶ added in v0.52.5
func (o *ApiErrorInsufficientResource) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (ApiErrorInsufficientResource) MarshalJSON ¶ added in v0.52.5
func (o ApiErrorInsufficientResource) MarshalJSON() ([]byte, error)
func (*ApiErrorInsufficientResource) SetError ¶ added in v0.52.5
func (o *ApiErrorInsufficientResource) SetError(v string)
SetError sets field value
func (*ApiErrorInsufficientResource) SetReason ¶ added in v0.52.5
func (o *ApiErrorInsufficientResource) SetReason(v string)
SetReason sets field value
func (*ApiErrorInsufficientResource) SetStatus ¶ added in v0.52.5
func (o *ApiErrorInsufficientResource) SetStatus(v int32)
SetStatus sets field value
func (ApiErrorInsufficientResource) ToMap ¶ added in v0.52.5
func (o ApiErrorInsufficientResource) ToMap() (map[string]interface{}, error)
func (*ApiErrorInsufficientResource) UnmarshalJSON ¶ added in v0.52.5
func (o *ApiErrorInsufficientResource) UnmarshalJSON(data []byte) (err error)
type ApiErrorNotFound ¶
type ApiErrorNotFound struct { Status int32 `json:"status"` Error string `json:"error"` Reason string `json:"reason"` }
ApiErrorNotFound struct for ApiErrorNotFound
func NewApiErrorNotFound ¶
func NewApiErrorNotFound(status int32, error_ string, reason string) *ApiErrorNotFound
NewApiErrorNotFound instantiates a new ApiErrorNotFound object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiErrorNotFoundWithDefaults ¶
func NewApiErrorNotFoundWithDefaults() *ApiErrorNotFound
NewApiErrorNotFoundWithDefaults instantiates a new ApiErrorNotFound object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiErrorNotFound) GetError ¶
func (o *ApiErrorNotFound) GetError() string
GetError returns the Error field value
func (*ApiErrorNotFound) GetErrorOk ¶
func (o *ApiErrorNotFound) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*ApiErrorNotFound) GetReason ¶
func (o *ApiErrorNotFound) GetReason() string
GetReason returns the Reason field value
func (*ApiErrorNotFound) GetReasonOk ¶
func (o *ApiErrorNotFound) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.
func (*ApiErrorNotFound) GetStatus ¶
func (o *ApiErrorNotFound) GetStatus() int32
GetStatus returns the Status field value
func (*ApiErrorNotFound) GetStatusOk ¶
func (o *ApiErrorNotFound) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (ApiErrorNotFound) MarshalJSON ¶
func (o ApiErrorNotFound) MarshalJSON() ([]byte, error)
func (*ApiErrorNotFound) SetError ¶
func (o *ApiErrorNotFound) SetError(v string)
SetError sets field value
func (*ApiErrorNotFound) SetReason ¶
func (o *ApiErrorNotFound) SetReason(v string)
SetReason sets field value
func (*ApiErrorNotFound) SetStatus ¶
func (o *ApiErrorNotFound) SetStatus(v int32)
SetStatus sets field value
func (ApiErrorNotFound) ToMap ¶
func (o ApiErrorNotFound) ToMap() (map[string]interface{}, error)
func (*ApiErrorNotFound) UnmarshalJSON ¶
func (o *ApiErrorNotFound) UnmarshalJSON(data []byte) (err error)
type ApiErrorUnauthorized ¶
type ApiErrorUnauthorized struct {}
ApiErrorUnauthorized struct for ApiErrorUnauthorized
func NewApiErrorUnauthorized ¶
func NewApiErrorUnauthorized(status int32, error_ string, reason string) *ApiErrorUnauthorized
NewApiErrorUnauthorized instantiates a new ApiErrorUnauthorized object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiErrorUnauthorizedWithDefaults ¶
func NewApiErrorUnauthorizedWithDefaults() *ApiErrorUnauthorized
NewApiErrorUnauthorizedWithDefaults instantiates a new ApiErrorUnauthorized object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiErrorUnauthorized) GetError ¶
func (o *ApiErrorUnauthorized) GetError() string
GetError returns the Error field value
func (*ApiErrorUnauthorized) GetErrorOk ¶
func (o *ApiErrorUnauthorized) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*ApiErrorUnauthorized) GetReason ¶
func (o *ApiErrorUnauthorized) GetReason() string
GetReason returns the Reason field value
func (*ApiErrorUnauthorized) GetReasonOk ¶
func (o *ApiErrorUnauthorized) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.
func (*ApiErrorUnauthorized) GetStatus ¶
func (o *ApiErrorUnauthorized) GetStatus() int32
GetStatus returns the Status field value
func (*ApiErrorUnauthorized) GetStatusOk ¶
func (o *ApiErrorUnauthorized) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (ApiErrorUnauthorized) MarshalJSON ¶
func (o ApiErrorUnauthorized) MarshalJSON() ([]byte, error)
func (*ApiErrorUnauthorized) SetError ¶
func (o *ApiErrorUnauthorized) SetError(v string)
SetError sets field value
func (*ApiErrorUnauthorized) SetReason ¶
func (o *ApiErrorUnauthorized) SetReason(v string)
SetReason sets field value
func (*ApiErrorUnauthorized) SetStatus ¶
func (o *ApiErrorUnauthorized) SetStatus(v int32)
SetStatus sets field value
func (ApiErrorUnauthorized) ToMap ¶
func (o ApiErrorUnauthorized) ToMap() (map[string]interface{}, error)
func (*ApiErrorUnauthorized) UnmarshalJSON ¶
func (o *ApiErrorUnauthorized) UnmarshalJSON(data []byte) (err error)
type ApiErrorUnprocessableEntity ¶
type ApiErrorUnprocessableEntity struct { Status int32 `json:"status"` Error string `json:"error"` Reason string `json:"reason"` }
ApiErrorUnprocessableEntity struct for ApiErrorUnprocessableEntity
func NewApiErrorUnprocessableEntity ¶
func NewApiErrorUnprocessableEntity(status int32, error_ string, reason string) *ApiErrorUnprocessableEntity
NewApiErrorUnprocessableEntity instantiates a new ApiErrorUnprocessableEntity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiErrorUnprocessableEntityWithDefaults ¶
func NewApiErrorUnprocessableEntityWithDefaults() *ApiErrorUnprocessableEntity
NewApiErrorUnprocessableEntityWithDefaults instantiates a new ApiErrorUnprocessableEntity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiErrorUnprocessableEntity) GetError ¶
func (o *ApiErrorUnprocessableEntity) GetError() string
GetError returns the Error field value
func (*ApiErrorUnprocessableEntity) GetErrorOk ¶
func (o *ApiErrorUnprocessableEntity) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*ApiErrorUnprocessableEntity) GetReason ¶
func (o *ApiErrorUnprocessableEntity) GetReason() string
GetReason returns the Reason field value
func (*ApiErrorUnprocessableEntity) GetReasonOk ¶
func (o *ApiErrorUnprocessableEntity) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.
func (*ApiErrorUnprocessableEntity) GetStatus ¶
func (o *ApiErrorUnprocessableEntity) GetStatus() int32
GetStatus returns the Status field value
func (*ApiErrorUnprocessableEntity) GetStatusOk ¶
func (o *ApiErrorUnprocessableEntity) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (ApiErrorUnprocessableEntity) MarshalJSON ¶
func (o ApiErrorUnprocessableEntity) MarshalJSON() ([]byte, error)
func (*ApiErrorUnprocessableEntity) SetError ¶
func (o *ApiErrorUnprocessableEntity) SetError(v string)
SetError sets field value
func (*ApiErrorUnprocessableEntity) SetReason ¶
func (o *ApiErrorUnprocessableEntity) SetReason(v string)
SetReason sets field value
func (*ApiErrorUnprocessableEntity) SetStatus ¶
func (o *ApiErrorUnprocessableEntity) SetStatus(v int32)
SetStatus sets field value
func (ApiErrorUnprocessableEntity) ToMap ¶
func (o ApiErrorUnprocessableEntity) ToMap() (map[string]interface{}, error)
func (*ApiErrorUnprocessableEntity) UnmarshalJSON ¶
func (o *ApiErrorUnprocessableEntity) UnmarshalJSON(data []byte) (err error)
type ApiListAdaptersRequest ¶
type ApiListAdaptersRequest struct { ApiService *AdapterAPIService // contains filtered or unexported fields }
type ApiListAgentsRequest ¶
type ApiListAgentsRequest struct { ApiService *AgentAPIService // contains filtered or unexported fields }
type ApiListApiTokensRequest ¶
type ApiListApiTokensRequest struct { ApiService *TokenAPIService // contains filtered or unexported fields }
type ApiListInstancesRequest ¶
type ApiListInstancesRequest struct { ApiService *InstanceAPIService // contains filtered or unexported fields }
type ApiListKaktusInstancesRequest ¶
type ApiListKaktusInstancesRequest struct { ApiService *KaktusAPIService // contains filtered or unexported fields }
type ApiListKaktussRequest ¶
type ApiListKaktussRequest struct { ApiService *KaktusAPIService // contains filtered or unexported fields }
type ApiListKawaiiIpSecsRequest ¶
type ApiListKawaiiIpSecsRequest struct { ApiService *KawaiiAPIService // contains filtered or unexported fields }
type ApiListKawaiisRequest ¶
type ApiListKawaiisRequest struct { ApiService *KawaiiAPIService // contains filtered or unexported fields }
type ApiListKiwisRequest ¶
type ApiListKiwisRequest struct { ApiService *KiwiAPIService // contains filtered or unexported fields }
type ApiListKomputesRequest ¶
type ApiListKomputesRequest struct { ApiService *KomputeAPIService // contains filtered or unexported fields }
type ApiListKonveysRequest ¶
type ApiListKonveysRequest struct { ApiService *KonveyAPIService // contains filtered or unexported fields }
type ApiListKylosRequest ¶
type ApiListKylosRequest struct { ApiService *KyloAPIService // contains filtered or unexported fields }
type ApiListProjectDnsRecordsRequest ¶
type ApiListProjectDnsRecordsRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
type ApiListProjectRegionKawaiisRequest ¶
type ApiListProjectRegionKawaiisRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
type ApiListProjectRegionKonveysRequest ¶
type ApiListProjectRegionKonveysRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
type ApiListProjectRegionKylosRequest ¶
type ApiListProjectRegionKylosRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
func (ApiListProjectRegionKylosRequest) Execute ¶
func (r ApiListProjectRegionKylosRequest) Execute() ([]string, *http.Response, error)
func (ApiListProjectRegionKylosRequest) NfsId ¶
func (r ApiListProjectRegionKylosRequest) NfsId(nfsId string) ApiListProjectRegionKylosRequest
NFS storage ID (optional, region's default if unspecified).
type ApiListProjectRegionVolumesRequest ¶
type ApiListProjectRegionVolumesRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
type ApiListProjectZoneInstancesRequest ¶
type ApiListProjectZoneInstancesRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
type ApiListProjectZoneKomputesRequest ¶
type ApiListProjectZoneKomputesRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
type ApiListProjectZoneKonveysRequest ¶
type ApiListProjectZoneKonveysRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
type ApiListProjectsRequest ¶
type ApiListProjectsRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
func (ApiListProjectsRequest) Execute ¶
func (r ApiListProjectsRequest) Execute() ([]string, *http.Response, error)
func (ApiListProjectsRequest) SubnetSize ¶
func (r ApiListProjectsRequest) SubnetSize(subnetSize int32) ApiListProjectsRequest
The minimum VPC subnet size to be affected to the project. WARNING, this cannot be changed later.
type ApiListRegionKiwisRequest ¶
type ApiListRegionKiwisRequest struct { ApiService *RegionAPIService // contains filtered or unexported fields }
type ApiListRegionStorageNFSsRequest ¶
type ApiListRegionStorageNFSsRequest struct { ApiService *RegionAPIService // contains filtered or unexported fields }
func (ApiListRegionStorageNFSsRequest) Execute ¶
func (r ApiListRegionStorageNFSsRequest) Execute() ([]string, *http.Response, error)
func (ApiListRegionStorageNFSsRequest) PoolId ¶
func (r ApiListRegionStorageNFSsRequest) PoolId(poolId string) ApiListRegionStorageNFSsRequest
Storage pool ID (optional, region's default if unspecified).
type ApiListRegionStoragePoolsRequest ¶
type ApiListRegionStoragePoolsRequest struct { ApiService *RegionAPIService // contains filtered or unexported fields }
type ApiListRegionVNetsRequest ¶
type ApiListRegionVNetsRequest struct { ApiService *RegionAPIService // contains filtered or unexported fields }
type ApiListRegionZonesRequest ¶
type ApiListRegionZonesRequest struct { ApiService *RegionAPIService // contains filtered or unexported fields }
type ApiListRegionsRequest ¶
type ApiListRegionsRequest struct { ApiService *RegionAPIService // contains filtered or unexported fields }
type ApiListStorageNFSKylosRequest ¶
type ApiListStorageNFSKylosRequest struct { ApiService *NfsAPIService // contains filtered or unexported fields }
type ApiListStorageNFSsRequest ¶
type ApiListStorageNFSsRequest struct { ApiService *NfsAPIService // contains filtered or unexported fields }
type ApiListStoragePoolTemplatesRequest ¶
type ApiListStoragePoolTemplatesRequest struct { ApiService *PoolAPIService // contains filtered or unexported fields }
type ApiListStoragePoolVolumesRequest ¶
type ApiListStoragePoolVolumesRequest struct { ApiService *PoolAPIService // contains filtered or unexported fields }
type ApiListStoragePoolsRequest ¶
type ApiListStoragePoolsRequest struct { ApiService *PoolAPIService // contains filtered or unexported fields }
type ApiListSubnetAdaptersRequest ¶
type ApiListSubnetAdaptersRequest struct { ApiService *SubnetAPIService // contains filtered or unexported fields }
type ApiListSubnetsRequest ¶
type ApiListSubnetsRequest struct { ApiService *SubnetAPIService // contains filtered or unexported fields }
type ApiListTeamsRequest ¶
type ApiListTeamsRequest struct { ApiService *TeamAPIService // contains filtered or unexported fields }
type ApiListTemplatesRequest ¶
type ApiListTemplatesRequest struct { ApiService *TemplateAPIService // contains filtered or unexported fields }
type ApiListUsersRequest ¶
type ApiListUsersRequest struct { ApiService *UserAPIService // contains filtered or unexported fields }
type ApiListVNetSubnetsRequest ¶
type ApiListVNetSubnetsRequest struct { ApiService *VnetAPIService // contains filtered or unexported fields }
type ApiListVNetsRequest ¶
type ApiListVNetsRequest struct { ApiService *VnetAPIService // contains filtered or unexported fields }
type ApiListVolumesRequest ¶
type ApiListVolumesRequest struct { ApiService *VolumeAPIService // contains filtered or unexported fields }
type ApiListZoneKaktusesRequest ¶
type ApiListZoneKaktusesRequest struct { ApiService *ZoneAPIService // contains filtered or unexported fields }
type ApiListZonesRequest ¶
type ApiListZonesRequest struct { ApiService *ZoneAPIService // contains filtered or unexported fields }
type ApiLoginRequest ¶
type ApiLoginRequest struct { ApiService *UserAPIService // contains filtered or unexported fields }
func (ApiLoginRequest) Execute ¶
func (r ApiLoginRequest) Execute() (*UserCredentials, *http.Response, error)
func (ApiLoginRequest) UserCredentials ¶
func (r ApiLoginRequest) UserCredentials(userCredentials UserCredentials) ApiLoginRequest
UserCredentials payload.
type ApiLogoutRequest ¶
type ApiLogoutRequest struct { ApiService *UserAPIService // contains filtered or unexported fields }
type ApiReadAdapterRequest ¶
type ApiReadAdapterRequest struct { ApiService *AdapterAPIService // contains filtered or unexported fields }
type ApiReadAgentRequest ¶
type ApiReadAgentRequest struct { ApiService *AgentAPIService // contains filtered or unexported fields }
type ApiReadApiTokenRequest ¶
type ApiReadApiTokenRequest struct { ApiService *TokenAPIService // contains filtered or unexported fields }
type ApiReadDnsRecordRequest ¶
type ApiReadDnsRecordRequest struct { ApiService *RecordAPIService // contains filtered or unexported fields }
type ApiReadInstanceRemoteConnectionRequest ¶
type ApiReadInstanceRemoteConnectionRequest struct { ApiService *InstanceAPIService // contains filtered or unexported fields }
func (ApiReadInstanceRemoteConnectionRequest) Execute ¶
func (r ApiReadInstanceRemoteConnectionRequest) Execute() (*InstanceRemoteAccess, *http.Response, error)
type ApiReadInstanceRequest ¶
type ApiReadInstanceRequest struct { ApiService *InstanceAPIService // contains filtered or unexported fields }
type ApiReadInstanceStateRequest ¶
type ApiReadInstanceStateRequest struct { ApiService *InstanceAPIService // contains filtered or unexported fields }
func (ApiReadInstanceStateRequest) Execute ¶
func (r ApiReadInstanceStateRequest) Execute() (*InstanceState, *http.Response, error)
type ApiReadKaktusCapsRequest ¶
type ApiReadKaktusCapsRequest struct { ApiService *KaktusAPIService // contains filtered or unexported fields }
func (ApiReadKaktusCapsRequest) Execute ¶
func (r ApiReadKaktusCapsRequest) Execute() (*KaktusCaps, *http.Response, error)
type ApiReadKaktusRequest ¶
type ApiReadKaktusRequest struct { ApiService *KaktusAPIService // contains filtered or unexported fields }
type ApiReadKawaiiIpSecRequest ¶
type ApiReadKawaiiIpSecRequest struct { ApiService *KawaiiAPIService // contains filtered or unexported fields }
func (ApiReadKawaiiIpSecRequest) Execute ¶
func (r ApiReadKawaiiIpSecRequest) Execute() (*KawaiiIpSec, *http.Response, error)
type ApiReadKawaiiRequest ¶
type ApiReadKawaiiRequest struct { ApiService *KawaiiAPIService // contains filtered or unexported fields }
type ApiReadKiwiRequest ¶
type ApiReadKiwiRequest struct { ApiService *KiwiAPIService // contains filtered or unexported fields }
type ApiReadKomputeRequest ¶
type ApiReadKomputeRequest struct { ApiService *KomputeAPIService // contains filtered or unexported fields }
type ApiReadKomputeStateRequest ¶
type ApiReadKomputeStateRequest struct { ApiService *KomputeAPIService // contains filtered or unexported fields }
func (ApiReadKomputeStateRequest) Execute ¶
func (r ApiReadKomputeStateRequest) Execute() (*InstanceState, *http.Response, error)
type ApiReadKonveyRequest ¶
type ApiReadKonveyRequest struct { ApiService *KonveyAPIService // contains filtered or unexported fields }
type ApiReadKyloRequest ¶
type ApiReadKyloRequest struct { ApiService *KyloAPIService // contains filtered or unexported fields }
type ApiReadProjectCostRequest ¶
type ApiReadProjectCostRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
type ApiReadProjectRequest ¶
type ApiReadProjectRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
type ApiReadProjectUsageRequest ¶
type ApiReadProjectUsageRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
func (ApiReadProjectUsageRequest) Execute ¶
func (r ApiReadProjectUsageRequest) Execute() (*ProjectResources, *http.Response, error)
type ApiReadRegionRequest ¶
type ApiReadRegionRequest struct { ApiService *RegionAPIService // contains filtered or unexported fields }
type ApiReadStorageNFSRequest ¶
type ApiReadStorageNFSRequest struct { ApiService *NfsAPIService // contains filtered or unexported fields }
func (ApiReadStorageNFSRequest) Execute ¶
func (r ApiReadStorageNFSRequest) Execute() (*StorageNFS, *http.Response, error)
type ApiReadStoragePoolRequest ¶
type ApiReadStoragePoolRequest struct { ApiService *PoolAPIService // contains filtered or unexported fields }
func (ApiReadStoragePoolRequest) Execute ¶
func (r ApiReadStoragePoolRequest) Execute() (*StoragePool, *http.Response, error)
type ApiReadSubnetRequest ¶
type ApiReadSubnetRequest struct { ApiService *SubnetAPIService // contains filtered or unexported fields }
type ApiReadTeamRequest ¶
type ApiReadTeamRequest struct { ApiService *TeamAPIService // contains filtered or unexported fields }
type ApiReadTemplateRequest ¶
type ApiReadTemplateRequest struct { ApiService *TemplateAPIService // contains filtered or unexported fields }
type ApiReadUserRequest ¶
type ApiReadUserRequest struct { ApiService *UserAPIService // contains filtered or unexported fields }
type ApiReadVNetRequest ¶
type ApiReadVNetRequest struct { ApiService *VnetAPIService // contains filtered or unexported fields }
type ApiReadVolumeRequest ¶
type ApiReadVolumeRequest struct { ApiService *VolumeAPIService // contains filtered or unexported fields }
type ApiReadZoneRequest ¶
type ApiReadZoneRequest struct { ApiService *ZoneAPIService // contains filtered or unexported fields }
type ApiRebootInstanceRequest ¶
type ApiRebootInstanceRequest struct { ApiService *InstanceAPIService // contains filtered or unexported fields }
type ApiRebootKomputeRequest ¶
type ApiRebootKomputeRequest struct { ApiService *KomputeAPIService // contains filtered or unexported fields }
type ApiResetInstanceRequest ¶
type ApiResetInstanceRequest struct { ApiService *InstanceAPIService // contains filtered or unexported fields }
type ApiResetKomputeRequest ¶
type ApiResetKomputeRequest struct { ApiService *KomputeAPIService // contains filtered or unexported fields }
type ApiResetPasswordRequest ¶
type ApiResetPasswordRequest struct { ApiService *UserAPIService // contains filtered or unexported fields }
func (ApiResetPasswordRequest) Execute ¶
func (r ApiResetPasswordRequest) Execute() (*http.Response, error)
func (ApiResetPasswordRequest) UserEmail ¶
func (r ApiResetPasswordRequest) UserEmail(userEmail UserEmail) ApiResetPasswordRequest
UserEmail payload.
type ApiResetUserPasswordRequest ¶
type ApiResetUserPasswordRequest struct { ApiService *UserAPIService // contains filtered or unexported fields }
type ApiResumeInstanceRequest ¶
type ApiResumeInstanceRequest struct { ApiService *InstanceAPIService // contains filtered or unexported fields }
type ApiResumeKomputeRequest ¶
type ApiResumeKomputeRequest struct { ApiService *KomputeAPIService // contains filtered or unexported fields }
type ApiSetAgentApiTokenRequest ¶
type ApiSetAgentApiTokenRequest struct { ApiService *AgentAPIService // contains filtered or unexported fields }
func (ApiSetAgentApiTokenRequest) Execute ¶
func (r ApiSetAgentApiTokenRequest) Execute() (*ApiToken, *http.Response, error)
func (ApiSetAgentApiTokenRequest) ExpirationDate ¶
func (r ApiSetAgentApiTokenRequest) ExpirationDate(expirationDate string) ApiSetAgentApiTokenRequest
Token's expiration date (YYYY-MM-DD format).
func (ApiSetAgentApiTokenRequest) Expire ¶
func (r ApiSetAgentApiTokenRequest) Expire(expire bool) ApiSetAgentApiTokenRequest
Whether or not the token should expire.
type ApiSetRegionDefaultStorageNFSRequest ¶
type ApiSetRegionDefaultStorageNFSRequest struct { ApiService *RegionAPIService // contains filtered or unexported fields }
type ApiSetRegionDefaultStoragePoolRequest ¶
type ApiSetRegionDefaultStoragePoolRequest struct { ApiService *RegionAPIService // contains filtered or unexported fields }
type ApiSetStoragePoolDefaultTemplateRequest ¶
type ApiSetStoragePoolDefaultTemplateRequest struct { ApiService *PoolAPIService // contains filtered or unexported fields }
type ApiSetUserApiTokenRequest ¶
type ApiSetUserApiTokenRequest struct { ApiService *UserAPIService // contains filtered or unexported fields }
func (ApiSetUserApiTokenRequest) Execute ¶
func (r ApiSetUserApiTokenRequest) Execute() (*http.Response, error)
func (ApiSetUserApiTokenRequest) ExpirationDate ¶
func (r ApiSetUserApiTokenRequest) ExpirationDate(expirationDate string) ApiSetUserApiTokenRequest
Token's expiration date (YYYY-MM-DD format).
func (ApiSetUserApiTokenRequest) Expire ¶
func (r ApiSetUserApiTokenRequest) Expire(expire bool) ApiSetUserApiTokenRequest
Whether or not the token should expire.
type ApiSetUserPasswordRequest ¶
type ApiSetUserPasswordRequest struct { ApiService *UserAPIService // contains filtered or unexported fields }
func (ApiSetUserPasswordRequest) Execute ¶
func (r ApiSetUserPasswordRequest) Execute() (*http.Response, error)
func (ApiSetUserPasswordRequest) Password ¶
func (r ApiSetUserPasswordRequest) Password(password Password) ApiSetUserPasswordRequest
Password payload.
type ApiSetVNetDefaultSubnetRequest ¶
type ApiSetVNetDefaultSubnetRequest struct { ApiService *VnetAPIService // contains filtered or unexported fields }
type ApiShutdownInstanceRequest ¶
type ApiShutdownInstanceRequest struct { ApiService *InstanceAPIService // contains filtered or unexported fields }
type ApiShutdownKomputeRequest ¶
type ApiShutdownKomputeRequest struct { ApiService *KomputeAPIService // contains filtered or unexported fields }
type ApiStartInstanceRequest ¶
type ApiStartInstanceRequest struct { ApiService *InstanceAPIService // contains filtered or unexported fields }
type ApiStartKomputeRequest ¶
type ApiStartKomputeRequest struct { ApiService *KomputeAPIService // contains filtered or unexported fields }
type ApiStopInstanceRequest ¶
type ApiStopInstanceRequest struct { ApiService *InstanceAPIService // contains filtered or unexported fields }
type ApiStopKomputeRequest ¶
type ApiStopKomputeRequest struct { ApiService *KomputeAPIService // contains filtered or unexported fields }
type ApiSuspendInstanceRequest ¶
type ApiSuspendInstanceRequest struct { ApiService *InstanceAPIService // contains filtered or unexported fields }
type ApiSuspendKomputeRequest ¶
type ApiSuspendKomputeRequest struct { ApiService *KomputeAPIService // contains filtered or unexported fields }
type ApiToken ¶
type ApiToken struct { // The server-to-server authentication security token ID (auto-generated). Id *string `json:"id,omitempty"` // The server-to-server authentication security token name. Name string `json:"name"` // The server-to-server authentication security token description. Description *string `json:"description,omitempty"` // Does the API token expires at some stage ?. Expire bool `json:"expire"` // Expiration date of the token (YYYY-MM-DD format). ExpirationDate *string `json:"expiration_date,omitempty"` }
ApiToken A Kowabunga authentication security token consists of an API key granting access to resources.
func NewApiToken ¶
NewApiToken instantiates a new ApiToken object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiTokenWithDefaults ¶
func NewApiTokenWithDefaults() *ApiToken
NewApiTokenWithDefaults instantiates a new ApiToken object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiToken) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*ApiToken) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiToken) GetExpirationDate ¶
GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise.
func (*ApiToken) GetExpirationDateOk ¶
GetExpirationDateOk returns a tuple with the ExpirationDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiToken) GetExpireOk ¶
GetExpireOk returns a tuple with the Expire field value and a boolean to check if the value has been set.
func (*ApiToken) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiToken) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ApiToken) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*ApiToken) HasExpirationDate ¶
HasExpirationDate returns a boolean if a field has been set.
func (ApiToken) MarshalJSON ¶
func (*ApiToken) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ApiToken) SetExpirationDate ¶
SetExpirationDate gets a reference to the given string and assigns it to the ExpirationDate field.
func (*ApiToken) UnmarshalJSON ¶
type ApiUpdateAdapterRequest ¶
type ApiUpdateAdapterRequest struct { ApiService *AdapterAPIService // contains filtered or unexported fields }
func (ApiUpdateAdapterRequest) Adapter ¶
func (r ApiUpdateAdapterRequest) Adapter(adapter Adapter) ApiUpdateAdapterRequest
Adapter payload.
type ApiUpdateAgentRequest ¶
type ApiUpdateAgentRequest struct { ApiService *AgentAPIService // contains filtered or unexported fields }
func (ApiUpdateAgentRequest) Agent ¶
func (r ApiUpdateAgentRequest) Agent(agent Agent) ApiUpdateAgentRequest
Agent payload.
type ApiUpdateApiTokenRequest ¶
type ApiUpdateApiTokenRequest struct { ApiService *TokenAPIService // contains filtered or unexported fields }
func (ApiUpdateApiTokenRequest) ApiToken ¶
func (r ApiUpdateApiTokenRequest) ApiToken(apiToken ApiToken) ApiUpdateApiTokenRequest
ApiToken payload.
type ApiUpdateDnsRecordRequest ¶
type ApiUpdateDnsRecordRequest struct { ApiService *RecordAPIService // contains filtered or unexported fields }
func (ApiUpdateDnsRecordRequest) DnsRecord ¶
func (r ApiUpdateDnsRecordRequest) DnsRecord(dnsRecord DnsRecord) ApiUpdateDnsRecordRequest
DnsRecord payload.
type ApiUpdateInstanceRequest ¶
type ApiUpdateInstanceRequest struct { ApiService *InstanceAPIService // contains filtered or unexported fields }
func (ApiUpdateInstanceRequest) Execute ¶
func (r ApiUpdateInstanceRequest) Execute() (*Instance, *http.Response, error)
func (ApiUpdateInstanceRequest) Instance ¶
func (r ApiUpdateInstanceRequest) Instance(instance Instance) ApiUpdateInstanceRequest
Instance payload.
type ApiUpdateKaktusRequest ¶
type ApiUpdateKaktusRequest struct { ApiService *KaktusAPIService // contains filtered or unexported fields }
func (ApiUpdateKaktusRequest) Execute ¶
func (r ApiUpdateKaktusRequest) Execute() (*Kaktus, *http.Response, error)
func (ApiUpdateKaktusRequest) Kaktus ¶
func (r ApiUpdateKaktusRequest) Kaktus(kaktus Kaktus) ApiUpdateKaktusRequest
Kaktus payload.
type ApiUpdateKawaiiIpSecRequest ¶
type ApiUpdateKawaiiIpSecRequest struct { ApiService *KawaiiAPIService // contains filtered or unexported fields }
func (ApiUpdateKawaiiIpSecRequest) Execute ¶
func (r ApiUpdateKawaiiIpSecRequest) Execute() (*KawaiiIpSec, *http.Response, error)
func (ApiUpdateKawaiiIpSecRequest) KawaiiIpSec ¶
func (r ApiUpdateKawaiiIpSecRequest) KawaiiIpSec(kawaiiIpSec KawaiiIpSec) ApiUpdateKawaiiIpSecRequest
KawaiiIpSec payload.
type ApiUpdateKawaiiRequest ¶
type ApiUpdateKawaiiRequest struct { ApiService *KawaiiAPIService // contains filtered or unexported fields }
func (ApiUpdateKawaiiRequest) Execute ¶
func (r ApiUpdateKawaiiRequest) Execute() (*Kawaii, *http.Response, error)
func (ApiUpdateKawaiiRequest) Kawaii ¶
func (r ApiUpdateKawaiiRequest) Kawaii(kawaii Kawaii) ApiUpdateKawaiiRequest
Kawaii payload.
type ApiUpdateKiwiRequest ¶
type ApiUpdateKiwiRequest struct { ApiService *KiwiAPIService // contains filtered or unexported fields }
func (ApiUpdateKiwiRequest) Execute ¶
func (r ApiUpdateKiwiRequest) Execute() (*Kiwi, *http.Response, error)
func (ApiUpdateKiwiRequest) Kiwi ¶
func (r ApiUpdateKiwiRequest) Kiwi(kiwi Kiwi) ApiUpdateKiwiRequest
Kiwi payload.
type ApiUpdateKomputeRequest ¶
type ApiUpdateKomputeRequest struct { ApiService *KomputeAPIService // contains filtered or unexported fields }
func (ApiUpdateKomputeRequest) Execute ¶
func (r ApiUpdateKomputeRequest) Execute() (*Kompute, *http.Response, error)
func (ApiUpdateKomputeRequest) Kompute ¶
func (r ApiUpdateKomputeRequest) Kompute(kompute Kompute) ApiUpdateKomputeRequest
Kompute payload.
type ApiUpdateKonveyRequest ¶
type ApiUpdateKonveyRequest struct { ApiService *KonveyAPIService // contains filtered or unexported fields }
func (ApiUpdateKonveyRequest) Execute ¶
func (r ApiUpdateKonveyRequest) Execute() (*Konvey, *http.Response, error)
func (ApiUpdateKonveyRequest) Konvey ¶
func (r ApiUpdateKonveyRequest) Konvey(konvey Konvey) ApiUpdateKonveyRequest
Konvey payload.
type ApiUpdateKyloRequest ¶
type ApiUpdateKyloRequest struct { ApiService *KyloAPIService // contains filtered or unexported fields }
func (ApiUpdateKyloRequest) Execute ¶
func (r ApiUpdateKyloRequest) Execute() (*Kylo, *http.Response, error)
func (ApiUpdateKyloRequest) Kylo ¶
func (r ApiUpdateKyloRequest) Kylo(kylo Kylo) ApiUpdateKyloRequest
Kylo payload.
type ApiUpdateProjectRequest ¶
type ApiUpdateProjectRequest struct { ApiService *ProjectAPIService // contains filtered or unexported fields }
func (ApiUpdateProjectRequest) Execute ¶
func (r ApiUpdateProjectRequest) Execute() (*Project, *http.Response, error)
func (ApiUpdateProjectRequest) Project ¶
func (r ApiUpdateProjectRequest) Project(project Project) ApiUpdateProjectRequest
Project payload.
type ApiUpdateRegionRequest ¶
type ApiUpdateRegionRequest struct { ApiService *RegionAPIService // contains filtered or unexported fields }
func (ApiUpdateRegionRequest) Execute ¶
func (r ApiUpdateRegionRequest) Execute() (*Region, *http.Response, error)
func (ApiUpdateRegionRequest) Region ¶
func (r ApiUpdateRegionRequest) Region(region Region) ApiUpdateRegionRequest
Region payload.
type ApiUpdateStorageNFSRequest ¶
type ApiUpdateStorageNFSRequest struct { ApiService *NfsAPIService // contains filtered or unexported fields }
func (ApiUpdateStorageNFSRequest) Execute ¶
func (r ApiUpdateStorageNFSRequest) Execute() (*StorageNFS, *http.Response, error)
func (ApiUpdateStorageNFSRequest) StorageNFS ¶
func (r ApiUpdateStorageNFSRequest) StorageNFS(storageNFS StorageNFS) ApiUpdateStorageNFSRequest
StorageNFS payload.
type ApiUpdateStoragePoolRequest ¶
type ApiUpdateStoragePoolRequest struct { ApiService *PoolAPIService // contains filtered or unexported fields }
func (ApiUpdateStoragePoolRequest) Execute ¶
func (r ApiUpdateStoragePoolRequest) Execute() (*StoragePool, *http.Response, error)
func (ApiUpdateStoragePoolRequest) StoragePool ¶
func (r ApiUpdateStoragePoolRequest) StoragePool(storagePool StoragePool) ApiUpdateStoragePoolRequest
StoragePool payload.
type ApiUpdateSubnetRequest ¶
type ApiUpdateSubnetRequest struct { ApiService *SubnetAPIService // contains filtered or unexported fields }
func (ApiUpdateSubnetRequest) Execute ¶
func (r ApiUpdateSubnetRequest) Execute() (*Subnet, *http.Response, error)
func (ApiUpdateSubnetRequest) Subnet ¶
func (r ApiUpdateSubnetRequest) Subnet(subnet Subnet) ApiUpdateSubnetRequest
Subnet payload.
type ApiUpdateTeamRequest ¶
type ApiUpdateTeamRequest struct { ApiService *TeamAPIService // contains filtered or unexported fields }
func (ApiUpdateTeamRequest) Execute ¶
func (r ApiUpdateTeamRequest) Execute() (*Team, *http.Response, error)
func (ApiUpdateTeamRequest) Team ¶
func (r ApiUpdateTeamRequest) Team(team Team) ApiUpdateTeamRequest
Team payload.
type ApiUpdateTemplateRequest ¶
type ApiUpdateTemplateRequest struct { ApiService *TemplateAPIService // contains filtered or unexported fields }
func (ApiUpdateTemplateRequest) Execute ¶
func (r ApiUpdateTemplateRequest) Execute() (*Template, *http.Response, error)
func (ApiUpdateTemplateRequest) Template ¶
func (r ApiUpdateTemplateRequest) Template(template Template) ApiUpdateTemplateRequest
Template payload.
type ApiUpdateUserRequest ¶
type ApiUpdateUserRequest struct { ApiService *UserAPIService // contains filtered or unexported fields }
func (ApiUpdateUserRequest) Execute ¶
func (r ApiUpdateUserRequest) Execute() (*User, *http.Response, error)
func (ApiUpdateUserRequest) User ¶
func (r ApiUpdateUserRequest) User(user User) ApiUpdateUserRequest
User payload.
type ApiUpdateVNetRequest ¶
type ApiUpdateVNetRequest struct { ApiService *VnetAPIService // contains filtered or unexported fields }
func (ApiUpdateVNetRequest) Execute ¶
func (r ApiUpdateVNetRequest) Execute() (*VNet, *http.Response, error)
func (ApiUpdateVNetRequest) VNet ¶
func (r ApiUpdateVNetRequest) VNet(vNet VNet) ApiUpdateVNetRequest
VNet payload.
type ApiUpdateVolumeRequest ¶
type ApiUpdateVolumeRequest struct { ApiService *VolumeAPIService // contains filtered or unexported fields }
func (ApiUpdateVolumeRequest) Execute ¶
func (r ApiUpdateVolumeRequest) Execute() (*Volume, *http.Response, error)
func (ApiUpdateVolumeRequest) Volume ¶
func (r ApiUpdateVolumeRequest) Volume(volume Volume) ApiUpdateVolumeRequest
Volume payload.
type ApiUpdateZoneRequest ¶
type ApiUpdateZoneRequest struct { ApiService *ZoneAPIService // contains filtered or unexported fields }
func (ApiUpdateZoneRequest) Execute ¶
func (r ApiUpdateZoneRequest) Execute() (*Zone, *http.Response, error)
func (ApiUpdateZoneRequest) Zone ¶
func (r ApiUpdateZoneRequest) Zone(zone Zone) ApiUpdateZoneRequest
Zone payload.
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type Cost ¶
type Cost struct { // The unit price information. Price float32 `json:"price"` // The associated currency. Currency string `json:"currency"` }
Cost A resource cost.
func NewCost ¶
NewCost instantiates a new Cost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCostWithDefaults ¶
func NewCostWithDefaults() *Cost
NewCostWithDefaults instantiates a new Cost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Cost) GetCurrency ¶
GetCurrency returns the Currency field value
func (*Cost) GetCurrencyOk ¶
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*Cost) GetPriceOk ¶
GetPriceOk returns a tuple with the Price field value and a boolean to check if the value has been set.
func (Cost) MarshalJSON ¶
func (*Cost) UnmarshalJSON ¶
type DnsRecord ¶
type DnsRecord struct { // The DNS record ID (auto-generated). Id *string `json:"id,omitempty"` // The DNS record name. Name string `json:"name"` // The DNS record description. Description *string `json:"description,omitempty"` // The DNS record associated domain (inherited from associated project). Domain *string `json:"domain,omitempty"` // A list of IPv4 addresses to be associated to the record. Addresses []string `json:"addresses"` }
DnsRecord A DNS record.
func NewDnsRecord ¶
NewDnsRecord instantiates a new DnsRecord object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDnsRecordWithDefaults ¶
func NewDnsRecordWithDefaults() *DnsRecord
NewDnsRecordWithDefaults instantiates a new DnsRecord object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DnsRecord) GetAddresses ¶
GetAddresses returns the Addresses field value
func (*DnsRecord) GetAddressesOk ¶
GetAddressesOk returns a tuple with the Addresses field value and a boolean to check if the value has been set.
func (*DnsRecord) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*DnsRecord) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DnsRecord) GetDomain ¶
GetDomain returns the Domain field value if set, zero value otherwise.
func (*DnsRecord) GetDomainOk ¶
GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DnsRecord) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DnsRecord) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*DnsRecord) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (DnsRecord) MarshalJSON ¶
func (*DnsRecord) SetAddresses ¶
SetAddresses sets field value
func (*DnsRecord) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*DnsRecord) SetDomain ¶
SetDomain gets a reference to the given string and assigns it to the Domain field.
func (*DnsRecord) SetId ¶
SetId gets a reference to the given string and assigns it to the Id field.
func (*DnsRecord) UnmarshalJSON ¶
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type Instance ¶
type Instance struct { // The virtual machine instance ID (auto-generated). Id *string `json:"id,omitempty"` // The virtual machine instance name. Name string `json:"name"` // The virtual machine instance description. Description *string `json:"description,omitempty"` // The virtual machine instance memory size (in bytes). Memory int64 `json:"memory"` // The virtual machine instance number of vCPUs. Vcpus int64 `json:"vcpus"` // a list of existing network adapters to be connected to the instance. Adapters []string `json:"adapters,omitempty"` // volumes list of existing storage volumes (i.e. disks) to be connected to the instance. Volumes []string `json:"volumes,omitempty"` }
Instance A virtual machine instance.
func NewInstance ¶
NewInstance instantiates a new Instance object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceWithDefaults ¶
func NewInstanceWithDefaults() *Instance
NewInstanceWithDefaults instantiates a new Instance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Instance) GetAdapters ¶
GetAdapters returns the Adapters field value if set, zero value otherwise.
func (*Instance) GetAdaptersOk ¶
GetAdaptersOk returns a tuple with the Adapters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Instance) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Instance) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Instance) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Instance) GetMemoryOk ¶
GetMemoryOk returns a tuple with the Memory field value and a boolean to check if the value has been set.
func (*Instance) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Instance) GetVcpusOk ¶
GetVcpusOk returns a tuple with the Vcpus field value and a boolean to check if the value has been set.
func (*Instance) GetVolumes ¶
GetVolumes returns the Volumes field value if set, zero value otherwise.
func (*Instance) GetVolumesOk ¶
GetVolumesOk returns a tuple with the Volumes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Instance) HasAdapters ¶
HasAdapters returns a boolean if a field has been set.
func (*Instance) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Instance) HasVolumes ¶
HasVolumes returns a boolean if a field has been set.
func (Instance) MarshalJSON ¶
func (*Instance) SetAdapters ¶
SetAdapters gets a reference to the given []string and assigns it to the Adapters field.
func (*Instance) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Instance) SetVolumes ¶
SetVolumes gets a reference to the given []string and assigns it to the Volumes field.
func (*Instance) UnmarshalJSON ¶
type InstanceAPIService ¶
type InstanceAPIService service
InstanceAPIService InstanceAPI service
func (*InstanceAPIService) DeleteInstance ¶
func (a *InstanceAPIService) DeleteInstance(ctx context.Context, instanceId string) ApiDeleteInstanceRequest
DeleteInstance Method for DeleteInstance
Deletes an existing virtual machine instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instanceId The ID of the virtual machine instance. @return ApiDeleteInstanceRequest
func (*InstanceAPIService) DeleteInstanceExecute ¶
func (a *InstanceAPIService) DeleteInstanceExecute(r ApiDeleteInstanceRequest) (*http.Response, error)
Execute executes the request
func (*InstanceAPIService) ListInstances ¶
func (a *InstanceAPIService) ListInstances(ctx context.Context) ApiListInstancesRequest
ListInstances Method for ListInstances
Returns the IDs of virtual machine instance objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListInstancesRequest
func (*InstanceAPIService) ListInstancesExecute ¶
func (a *InstanceAPIService) ListInstancesExecute(r ApiListInstancesRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*InstanceAPIService) ReadInstance ¶
func (a *InstanceAPIService) ReadInstance(ctx context.Context, instanceId string) ApiReadInstanceRequest
ReadInstance Method for ReadInstance
Returns a virtual machine instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instanceId The ID of the virtual machine instance. @return ApiReadInstanceRequest
func (*InstanceAPIService) ReadInstanceExecute ¶
func (a *InstanceAPIService) ReadInstanceExecute(r ApiReadInstanceRequest) (*Instance, *http.Response, error)
Execute executes the request
@return Instance
func (*InstanceAPIService) ReadInstanceRemoteConnection ¶
func (a *InstanceAPIService) ReadInstanceRemoteConnection(ctx context.Context, instanceId string) ApiReadInstanceRemoteConnectionRequest
ReadInstanceRemoteConnection Method for ReadInstanceRemoteConnection
Returns a virtual machine instance remote access characteristics.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instanceId The ID of the virtual machine instance. @return ApiReadInstanceRemoteConnectionRequest
func (*InstanceAPIService) ReadInstanceRemoteConnectionExecute ¶
func (a *InstanceAPIService) ReadInstanceRemoteConnectionExecute(r ApiReadInstanceRemoteConnectionRequest) (*InstanceRemoteAccess, *http.Response, error)
Execute executes the request
@return InstanceRemoteAccess
func (*InstanceAPIService) ReadInstanceState ¶
func (a *InstanceAPIService) ReadInstanceState(ctx context.Context, instanceId string) ApiReadInstanceStateRequest
ReadInstanceState Method for ReadInstanceState
Returns a virtual machine instance state.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instanceId The ID of the virtual machine instance. @return ApiReadInstanceStateRequest
func (*InstanceAPIService) ReadInstanceStateExecute ¶
func (a *InstanceAPIService) ReadInstanceStateExecute(r ApiReadInstanceStateRequest) (*InstanceState, *http.Response, error)
Execute executes the request
@return InstanceState
func (*InstanceAPIService) RebootInstance ¶
func (a *InstanceAPIService) RebootInstance(ctx context.Context, instanceId string) ApiRebootInstanceRequest
RebootInstance Method for RebootInstance
Performs a virtual machine instance software reboot.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instanceId The ID of the virtual machine instance. @return ApiRebootInstanceRequest
func (*InstanceAPIService) RebootInstanceExecute ¶
func (a *InstanceAPIService) RebootInstanceExecute(r ApiRebootInstanceRequest) (*http.Response, error)
Execute executes the request
func (*InstanceAPIService) ResetInstance ¶
func (a *InstanceAPIService) ResetInstance(ctx context.Context, instanceId string) ApiResetInstanceRequest
ResetInstance Method for ResetInstance
Performs a virtual machine instance hardware reset.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instanceId The ID of the virtual machine instance. @return ApiResetInstanceRequest
func (*InstanceAPIService) ResetInstanceExecute ¶
func (a *InstanceAPIService) ResetInstanceExecute(r ApiResetInstanceRequest) (*http.Response, error)
Execute executes the request
func (*InstanceAPIService) ResumeInstance ¶
func (a *InstanceAPIService) ResumeInstance(ctx context.Context, instanceId string) ApiResumeInstanceRequest
ResumeInstance Method for ResumeInstance
Performs a virtual machine instance software PM resume.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instanceId The ID of the virtual machine instance. @return ApiResumeInstanceRequest
func (*InstanceAPIService) ResumeInstanceExecute ¶
func (a *InstanceAPIService) ResumeInstanceExecute(r ApiResumeInstanceRequest) (*http.Response, error)
Execute executes the request
func (*InstanceAPIService) ShutdownInstance ¶
func (a *InstanceAPIService) ShutdownInstance(ctx context.Context, instanceId string) ApiShutdownInstanceRequest
ShutdownInstance Method for ShutdownInstance
Performs a virtual machine instance software shutdown.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instanceId The ID of the virtual machine instance. @return ApiShutdownInstanceRequest
func (*InstanceAPIService) ShutdownInstanceExecute ¶
func (a *InstanceAPIService) ShutdownInstanceExecute(r ApiShutdownInstanceRequest) (*http.Response, error)
Execute executes the request
func (*InstanceAPIService) StartInstance ¶
func (a *InstanceAPIService) StartInstance(ctx context.Context, instanceId string) ApiStartInstanceRequest
StartInstance Method for StartInstance
Performs a virtual machine instance hardware boot-up.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instanceId The ID of the virtual machine instance. @return ApiStartInstanceRequest
func (*InstanceAPIService) StartInstanceExecute ¶
func (a *InstanceAPIService) StartInstanceExecute(r ApiStartInstanceRequest) (*http.Response, error)
Execute executes the request
func (*InstanceAPIService) StopInstance ¶
func (a *InstanceAPIService) StopInstance(ctx context.Context, instanceId string) ApiStopInstanceRequest
StopInstance Method for StopInstance
Performs a virtual machine instance hardware stop.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instanceId The ID of the virtual machine instance. @return ApiStopInstanceRequest
func (*InstanceAPIService) StopInstanceExecute ¶
func (a *InstanceAPIService) StopInstanceExecute(r ApiStopInstanceRequest) (*http.Response, error)
Execute executes the request
func (*InstanceAPIService) SuspendInstance ¶
func (a *InstanceAPIService) SuspendInstance(ctx context.Context, instanceId string) ApiSuspendInstanceRequest
SuspendInstance Method for SuspendInstance
Performs a virtual machine instance software PM suspend.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instanceId The ID of the virtual machine instance. @return ApiSuspendInstanceRequest
func (*InstanceAPIService) SuspendInstanceExecute ¶
func (a *InstanceAPIService) SuspendInstanceExecute(r ApiSuspendInstanceRequest) (*http.Response, error)
Execute executes the request
func (*InstanceAPIService) UpdateInstance ¶
func (a *InstanceAPIService) UpdateInstance(ctx context.Context, instanceId string) ApiUpdateInstanceRequest
UpdateInstance Method for UpdateInstance
Updates a virtual machine instance configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instanceId The ID of the virtual machine instance. @return ApiUpdateInstanceRequest
func (*InstanceAPIService) UpdateInstanceExecute ¶
func (a *InstanceAPIService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) (*Instance, *http.Response, error)
Execute executes the request
@return Instance
type InstanceRemoteAccess ¶
type InstanceRemoteAccess struct { // The virtual machine instance remote access URL. Url string `json:"url"` }
InstanceRemoteAccess A virtual machine instance remote access characteristics.
func NewInstanceRemoteAccess ¶
func NewInstanceRemoteAccess(url string) *InstanceRemoteAccess
NewInstanceRemoteAccess instantiates a new InstanceRemoteAccess object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceRemoteAccessWithDefaults ¶
func NewInstanceRemoteAccessWithDefaults() *InstanceRemoteAccess
NewInstanceRemoteAccessWithDefaults instantiates a new InstanceRemoteAccess object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InstanceRemoteAccess) GetUrl ¶
func (o *InstanceRemoteAccess) GetUrl() string
GetUrl returns the Url field value
func (*InstanceRemoteAccess) GetUrlOk ¶
func (o *InstanceRemoteAccess) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (InstanceRemoteAccess) MarshalJSON ¶
func (o InstanceRemoteAccess) MarshalJSON() ([]byte, error)
func (*InstanceRemoteAccess) SetUrl ¶
func (o *InstanceRemoteAccess) SetUrl(v string)
SetUrl sets field value
func (InstanceRemoteAccess) ToMap ¶
func (o InstanceRemoteAccess) ToMap() (map[string]interface{}, error)
func (*InstanceRemoteAccess) UnmarshalJSON ¶
func (o *InstanceRemoteAccess) UnmarshalJSON(data []byte) (err error)
type InstanceState ¶
type InstanceState struct { // The virtual machine instance state. State string `json:"state"` // The virtual machine instance reason of the state. Reason string `json:"reason"` }
InstanceState A virtual machine instance state.
func NewInstanceState ¶
func NewInstanceState(state string, reason string) *InstanceState
NewInstanceState instantiates a new InstanceState object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceStateWithDefaults ¶
func NewInstanceStateWithDefaults() *InstanceState
NewInstanceStateWithDefaults instantiates a new InstanceState object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InstanceState) GetReason ¶
func (o *InstanceState) GetReason() string
GetReason returns the Reason field value
func (*InstanceState) GetReasonOk ¶
func (o *InstanceState) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.
func (*InstanceState) GetState ¶
func (o *InstanceState) GetState() string
GetState returns the State field value
func (*InstanceState) GetStateOk ¶
func (o *InstanceState) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (InstanceState) MarshalJSON ¶
func (o InstanceState) MarshalJSON() ([]byte, error)
func (*InstanceState) SetReason ¶
func (o *InstanceState) SetReason(v string)
SetReason sets field value
func (*InstanceState) SetState ¶
func (o *InstanceState) SetState(v string)
SetState sets field value
func (InstanceState) ToMap ¶
func (o InstanceState) ToMap() (map[string]interface{}, error)
func (*InstanceState) UnmarshalJSON ¶
func (o *InstanceState) UnmarshalJSON(data []byte) (err error)
type IpRange ¶
type IpRange struct { // The range's first IP address. First string `json:"first"` // The range's last IP address. Last string `json:"last"` }
IpRange A reserved IPv4 addresses pool range, non-addressable by Kowabunga.
func NewIpRange ¶
NewIpRange instantiates a new IpRange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIpRangeWithDefaults ¶
func NewIpRangeWithDefaults() *IpRange
NewIpRangeWithDefaults instantiates a new IpRange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*IpRange) GetFirstOk ¶
GetFirstOk returns a tuple with the First field value and a boolean to check if the value has been set.
func (*IpRange) GetLastOk ¶
GetLastOk returns a tuple with the Last field value and a boolean to check if the value has been set.
func (IpRange) MarshalJSON ¶
func (*IpRange) UnmarshalJSON ¶
type Kaktus ¶
type Kaktus struct { // The Kaktus computing node ID (auto-generated). Id *string `json:"id,omitempty"` // The Kaktus computing node name. Name string `json:"name"` // The Kaktus computing node description. Description *string `json:"description,omitempty"` // Cost associated to the Kaktus node's CPU resources. CpuCost Cost `json:"cpu_cost,omitempty"` // Cost associated to the Kaktus node's memory resources. MemoryCost Cost `json:"memory_cost,omitempty"` // The Kaktus node CPU resource over-commit ratio. Overcommitting CPU resources for VMs means allocating more virtual CPUs (vCPUs) to the virtual machines (VMs) than the physical cores available on the node. This can help optimize the utilization of the node CPU and increase the density of VMs per node. OvercommitCpuRatio *int64 `json:"overcommit_cpu_ratio,omitempty"` // The Kaktus node memory resource over-commit ratio. Memory overcommitment is a concept in computing that covers the assignment of more memory to virtual computing devices (or processes) than the physical machine they are hosted, or running on, actually has. OvercommitMemoryRatio *int64 `json:"overcommit_memory_ratio,omitempty"` // a list of existing remote agents managing the Kaktus node. Agents []string `json:"agents"` }
Kaktus A Kaktus (Kowabunga Affordable KVM and Tight Underneath Storage) is an hyper-converged infrastructure (HCI) bare-metal node offering computing and distributed storage capabilites.
func NewKaktus ¶
NewKaktus instantiates a new Kaktus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKaktusWithDefaults ¶
func NewKaktusWithDefaults() *Kaktus
NewKaktusWithDefaults instantiates a new Kaktus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Kaktus) GetAgentsOk ¶
GetAgentsOk returns a tuple with the Agents field value and a boolean to check if the value has been set.
func (*Kaktus) GetCpuCost ¶
GetCpuCost returns the CpuCost field value if set, zero value otherwise.
func (*Kaktus) GetCpuCostOk ¶
GetCpuCostOk returns a tuple with the CpuCost field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kaktus) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Kaktus) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kaktus) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kaktus) GetMemoryCost ¶
GetMemoryCost returns the MemoryCost field value if set, zero value otherwise.
func (*Kaktus) GetMemoryCostOk ¶
GetMemoryCostOk returns a tuple with the MemoryCost field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kaktus) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Kaktus) GetOvercommitCpuRatio ¶
GetOvercommitCpuRatio returns the OvercommitCpuRatio field value if set, zero value otherwise.
func (*Kaktus) GetOvercommitCpuRatioOk ¶
GetOvercommitCpuRatioOk returns a tuple with the OvercommitCpuRatio field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kaktus) GetOvercommitMemoryRatio ¶
GetOvercommitMemoryRatio returns the OvercommitMemoryRatio field value if set, zero value otherwise.
func (*Kaktus) GetOvercommitMemoryRatioOk ¶
GetOvercommitMemoryRatioOk returns a tuple with the OvercommitMemoryRatio field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kaktus) HasCpuCost ¶
HasCpuCost returns a boolean if a field has been set.
func (*Kaktus) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Kaktus) HasMemoryCost ¶
HasMemoryCost returns a boolean if a field has been set.
func (*Kaktus) HasOvercommitCpuRatio ¶
HasOvercommitCpuRatio returns a boolean if a field has been set.
func (*Kaktus) HasOvercommitMemoryRatio ¶
HasOvercommitMemoryRatio returns a boolean if a field has been set.
func (Kaktus) MarshalJSON ¶
func (*Kaktus) SetCpuCost ¶
SetCpuCost gets a reference to the given Cost and assigns it to the CpuCost field.
func (*Kaktus) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Kaktus) SetMemoryCost ¶
SetMemoryCost gets a reference to the given Cost and assigns it to the MemoryCost field.
func (*Kaktus) SetOvercommitCpuRatio ¶
SetOvercommitCpuRatio gets a reference to the given int64 and assigns it to the OvercommitCpuRatio field.
func (*Kaktus) SetOvercommitMemoryRatio ¶
SetOvercommitMemoryRatio gets a reference to the given int64 and assigns it to the OvercommitMemoryRatio field.
func (*Kaktus) UnmarshalJSON ¶
type KaktusAPIService ¶
type KaktusAPIService service
KaktusAPIService KaktusAPI service
func (*KaktusAPIService) DeleteKaktus ¶
func (a *KaktusAPIService) DeleteKaktus(ctx context.Context, kaktusId string) ApiDeleteKaktusRequest
DeleteKaktus Method for DeleteKaktus
Deletes an existing Kaktus computing node.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kaktusId The ID of the Kaktus computing node. @return ApiDeleteKaktusRequest
func (*KaktusAPIService) DeleteKaktusExecute ¶
func (a *KaktusAPIService) DeleteKaktusExecute(r ApiDeleteKaktusRequest) (*http.Response, error)
Execute executes the request
func (*KaktusAPIService) ListKaktusInstances ¶
func (a *KaktusAPIService) ListKaktusInstances(ctx context.Context, kaktusId string) ApiListKaktusInstancesRequest
ListKaktusInstances Method for ListKaktusInstances
Returns the IDs of virtual machine instance objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kaktusId The ID of the Kaktus computing node. @return ApiListKaktusInstancesRequest
func (*KaktusAPIService) ListKaktusInstancesExecute ¶
func (a *KaktusAPIService) ListKaktusInstancesExecute(r ApiListKaktusInstancesRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*KaktusAPIService) ListKaktuss ¶
func (a *KaktusAPIService) ListKaktuss(ctx context.Context) ApiListKaktussRequest
ListKaktuss Method for ListKaktuss
Returns the IDs of Kaktus computing node objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListKaktussRequest
func (*KaktusAPIService) ListKaktussExecute ¶
func (a *KaktusAPIService) ListKaktussExecute(r ApiListKaktussRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*KaktusAPIService) ReadKaktus ¶
func (a *KaktusAPIService) ReadKaktus(ctx context.Context, kaktusId string) ApiReadKaktusRequest
ReadKaktus Method for ReadKaktus
Returns a Kaktus computing node.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kaktusId The ID of the Kaktus computing node. @return ApiReadKaktusRequest
func (*KaktusAPIService) ReadKaktusCaps ¶
func (a *KaktusAPIService) ReadKaktusCaps(ctx context.Context, kaktusId string) ApiReadKaktusCapsRequest
ReadKaktusCaps Method for ReadKaktusCaps
Returns a Kaktus computing node capability.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kaktusId The ID of the Kaktus computing node. @return ApiReadKaktusCapsRequest
func (*KaktusAPIService) ReadKaktusCapsExecute ¶
func (a *KaktusAPIService) ReadKaktusCapsExecute(r ApiReadKaktusCapsRequest) (*KaktusCaps, *http.Response, error)
Execute executes the request
@return KaktusCaps
func (*KaktusAPIService) ReadKaktusExecute ¶
func (a *KaktusAPIService) ReadKaktusExecute(r ApiReadKaktusRequest) (*Kaktus, *http.Response, error)
Execute executes the request
@return Kaktus
func (*KaktusAPIService) UpdateKaktus ¶
func (a *KaktusAPIService) UpdateKaktus(ctx context.Context, kaktusId string) ApiUpdateKaktusRequest
UpdateKaktus Method for UpdateKaktus
Updates a Kaktus computing node configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kaktusId The ID of the Kaktus computing node. @return ApiUpdateKaktusRequest
func (*KaktusAPIService) UpdateKaktusExecute ¶
func (a *KaktusAPIService) UpdateKaktusExecute(r ApiUpdateKaktusRequest) (*Kaktus, *http.Response, error)
Execute executes the request
@return Kaktus
type KaktusCPU ¶
type KaktusCPU struct { // The Kaktus computing node CPU architecture. Arch string `json:"arch"` // The Kaktus computing node CPU model. Model string `json:"model"` // The Kaktus computing node CPU vendor. Vendor string `json:"vendor"` // The Kaktus computing node CPU number of sockets. Sockets int64 `json:"sockets"` // The Kaktus computing node CPU number of cores. Cores int64 `json:"cores"` // The Kaktus computing node CPU number of threads. Threads int64 `json:"threads"` }
KaktusCPU A Kaktus computing node CPU characteristics.
func NewKaktusCPU ¶
func NewKaktusCPU(arch string, model string, vendor string, sockets int64, cores int64, threads int64) *KaktusCPU
NewKaktusCPU instantiates a new KaktusCPU object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKaktusCPUWithDefaults ¶
func NewKaktusCPUWithDefaults() *KaktusCPU
NewKaktusCPUWithDefaults instantiates a new KaktusCPU object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KaktusCPU) GetArchOk ¶
GetArchOk returns a tuple with the Arch field value and a boolean to check if the value has been set.
func (*KaktusCPU) GetCoresOk ¶
GetCoresOk returns a tuple with the Cores field value and a boolean to check if the value has been set.
func (*KaktusCPU) GetModelOk ¶
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*KaktusCPU) GetSockets ¶
GetSockets returns the Sockets field value
func (*KaktusCPU) GetSocketsOk ¶
GetSocketsOk returns a tuple with the Sockets field value and a boolean to check if the value has been set.
func (*KaktusCPU) GetThreads ¶
GetThreads returns the Threads field value
func (*KaktusCPU) GetThreadsOk ¶
GetThreadsOk returns a tuple with the Threads field value and a boolean to check if the value has been set.
func (*KaktusCPU) GetVendorOk ¶
GetVendorOk returns a tuple with the Vendor field value and a boolean to check if the value has been set.
func (KaktusCPU) MarshalJSON ¶
func (*KaktusCPU) UnmarshalJSON ¶
type KaktusCaps ¶
type KaktusCaps struct { // The Kaktus computing node CPU characteristics. Cpu KaktusCPU `json:"cpu"` // The Kaktus computing node memory size (bytes). Memory int64 `json:"memory"` }
KaktusCaps A Kaktus computing node capability.
func NewKaktusCaps ¶
func NewKaktusCaps(cpu KaktusCPU, memory int64) *KaktusCaps
NewKaktusCaps instantiates a new KaktusCaps object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKaktusCapsWithDefaults ¶
func NewKaktusCapsWithDefaults() *KaktusCaps
NewKaktusCapsWithDefaults instantiates a new KaktusCaps object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KaktusCaps) GetCpu ¶
func (o *KaktusCaps) GetCpu() KaktusCPU
GetCpu returns the Cpu field value
func (*KaktusCaps) GetCpuOk ¶
func (o *KaktusCaps) GetCpuOk() (KaktusCPU, bool)
GetCpuOk returns a tuple with the Cpu field value and a boolean to check if the value has been set.
func (*KaktusCaps) GetMemory ¶
func (o *KaktusCaps) GetMemory() int64
GetMemory returns the Memory field value
func (*KaktusCaps) GetMemoryOk ¶
func (o *KaktusCaps) GetMemoryOk() (*int64, bool)
GetMemoryOk returns a tuple with the Memory field value and a boolean to check if the value has been set.
func (KaktusCaps) MarshalJSON ¶
func (o KaktusCaps) MarshalJSON() ([]byte, error)
func (KaktusCaps) ToMap ¶
func (o KaktusCaps) ToMap() (map[string]interface{}, error)
func (*KaktusCaps) UnmarshalJSON ¶
func (o *KaktusCaps) UnmarshalJSON(data []byte) (err error)
type Kawaii ¶
type Kawaii struct { // The Kawaii ID (auto-generated). Id *string `json:"id,omitempty"` // The Kawaii name. Name *string `json:"name,omitempty"` // The Kawaii description. Description *string `json:"description,omitempty"` // The Kawaii list of assigned virtual IPs per-zone addresses (read-only). Netip KawaiiNetIp `json:"netip,omitempty"` // The Kawaii firewall settings from/to public Internet). Firewall KawaiiFirewall `json:"firewall,omitempty"` // The Kawaii list of NAT forwarding entries. Kawaii will forward public Internet traffic from all public virtual IPs to requested private subnet IP addresses. Dnat []KawaiiDNatRule `json:"dnat,omitempty"` // The Kawaii list of Kowabunga private VPC subnet peering entries. VpcPeerings []KawaiiVpcPeering `json:"vpc_peerings,omitempty"` // The Kawaii list of Kowabunga IPsec connections. IpsecConnections []KawaiiIpSec `json:"ipsec_connections,omitempty"` }
Kawaii A Kawaii (Kowabunga Adapative WAn Intelligent Interface) is a network gateway used for your Internet inbound and outbound traffic.
func NewKawaii ¶
func NewKawaii() *Kawaii
NewKawaii instantiates a new Kawaii object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKawaiiWithDefaults ¶
func NewKawaiiWithDefaults() *Kawaii
NewKawaiiWithDefaults instantiates a new Kawaii object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Kawaii) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Kawaii) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kawaii) GetDnat ¶
func (o *Kawaii) GetDnat() []KawaiiDNatRule
GetDnat returns the Dnat field value if set, zero value otherwise.
func (*Kawaii) GetDnatOk ¶
func (o *Kawaii) GetDnatOk() ([]KawaiiDNatRule, bool)
GetDnatOk returns a tuple with the Dnat field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kawaii) GetFirewall ¶
func (o *Kawaii) GetFirewall() KawaiiFirewall
GetFirewall returns the Firewall field value if set, zero value otherwise.
func (*Kawaii) GetFirewallOk ¶
func (o *Kawaii) GetFirewallOk() (KawaiiFirewall, bool)
GetFirewallOk returns a tuple with the Firewall field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kawaii) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kawaii) GetIpsecConnections ¶
func (o *Kawaii) GetIpsecConnections() []KawaiiIpSec
GetIpsecConnections returns the IpsecConnections field value if set, zero value otherwise.
func (*Kawaii) GetIpsecConnectionsOk ¶
func (o *Kawaii) GetIpsecConnectionsOk() ([]KawaiiIpSec, bool)
GetIpsecConnectionsOk returns a tuple with the IpsecConnections field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kawaii) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kawaii) GetNetip ¶
func (o *Kawaii) GetNetip() KawaiiNetIp
GetNetip returns the Netip field value if set, zero value otherwise.
func (*Kawaii) GetNetipOk ¶
func (o *Kawaii) GetNetipOk() (KawaiiNetIp, bool)
GetNetipOk returns a tuple with the Netip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kawaii) GetVpcPeerings ¶
func (o *Kawaii) GetVpcPeerings() []KawaiiVpcPeering
GetVpcPeerings returns the VpcPeerings field value if set, zero value otherwise.
func (*Kawaii) GetVpcPeeringsOk ¶
func (o *Kawaii) GetVpcPeeringsOk() ([]KawaiiVpcPeering, bool)
GetVpcPeeringsOk returns a tuple with the VpcPeerings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kawaii) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Kawaii) HasFirewall ¶
HasFirewall returns a boolean if a field has been set.
func (*Kawaii) HasIpsecConnections ¶
HasIpsecConnections returns a boolean if a field has been set.
func (*Kawaii) HasVpcPeerings ¶
HasVpcPeerings returns a boolean if a field has been set.
func (Kawaii) MarshalJSON ¶
func (*Kawaii) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Kawaii) SetDnat ¶
func (o *Kawaii) SetDnat(v []KawaiiDNatRule)
SetDnat gets a reference to the given []KawaiiDNatRule and assigns it to the Dnat field.
func (*Kawaii) SetFirewall ¶
func (o *Kawaii) SetFirewall(v KawaiiFirewall)
SetFirewall gets a reference to the given KawaiiFirewall and assigns it to the Firewall field.
func (*Kawaii) SetIpsecConnections ¶
func (o *Kawaii) SetIpsecConnections(v []KawaiiIpSec)
SetIpsecConnections gets a reference to the given []KawaiiIpSec and assigns it to the IpsecConnections field.
func (*Kawaii) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Kawaii) SetNetip ¶
func (o *Kawaii) SetNetip(v KawaiiNetIp)
SetNetip gets a reference to the given KawaiiNetIp and assigns it to the Netip field.
func (*Kawaii) SetVpcPeerings ¶
func (o *Kawaii) SetVpcPeerings(v []KawaiiVpcPeering)
SetVpcPeerings gets a reference to the given []KawaiiVpcPeering and assigns it to the VpcPeerings field.
type KawaiiAPIService ¶
type KawaiiAPIService service
KawaiiAPIService KawaiiAPI service
func (*KawaiiAPIService) CreateKawaiiIpSec ¶
func (a *KawaiiAPIService) CreateKawaiiIpSec(ctx context.Context, kawaiiId string) ApiCreateKawaiiIpSecRequest
CreateKawaiiIpSec Method for CreateKawaiiIpSec
Creates a new Kawaii IPsec connection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kawaiiId The ID of the Kawaii. @return ApiCreateKawaiiIpSecRequest
func (*KawaiiAPIService) CreateKawaiiIpSecExecute ¶
func (a *KawaiiAPIService) CreateKawaiiIpSecExecute(r ApiCreateKawaiiIpSecRequest) (*KawaiiIpSec, *http.Response, error)
Execute executes the request
@return KawaiiIpSec
func (*KawaiiAPIService) DeleteKawaii ¶
func (a *KawaiiAPIService) DeleteKawaii(ctx context.Context, kawaiiId string) ApiDeleteKawaiiRequest
DeleteKawaii Method for DeleteKawaii
Deletes an existing Kawaii.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kawaiiId The ID of the Kawaii. @return ApiDeleteKawaiiRequest
func (*KawaiiAPIService) DeleteKawaiiExecute ¶
func (a *KawaiiAPIService) DeleteKawaiiExecute(r ApiDeleteKawaiiRequest) (*http.Response, error)
Execute executes the request
func (*KawaiiAPIService) DeleteKawaiiIpSec ¶
func (a *KawaiiAPIService) DeleteKawaiiIpSec(ctx context.Context, kawaiiId string, kawaiiIpSecId string) ApiDeleteKawaiiIpSecRequest
DeleteKawaiiIpSec Method for DeleteKawaiiIpSec
Deletes an existing Kawaii IPsec connection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kawaiiId The ID of the Kawaii. @param kawaiiIpSecId The ID of the Kawaii IPsec connection. @return ApiDeleteKawaiiIpSecRequest
func (*KawaiiAPIService) DeleteKawaiiIpSecExecute ¶
func (a *KawaiiAPIService) DeleteKawaiiIpSecExecute(r ApiDeleteKawaiiIpSecRequest) (*http.Response, error)
Execute executes the request
func (*KawaiiAPIService) ListKawaiiIpSecs ¶
func (a *KawaiiAPIService) ListKawaiiIpSecs(ctx context.Context, kawaiiId string) ApiListKawaiiIpSecsRequest
ListKawaiiIpSecs Method for ListKawaiiIpSecs
Returns the IDs of Kawaii IPsec connection objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kawaiiId The ID of the Kawaii. @return ApiListKawaiiIpSecsRequest
func (*KawaiiAPIService) ListKawaiiIpSecsExecute ¶
func (a *KawaiiAPIService) ListKawaiiIpSecsExecute(r ApiListKawaiiIpSecsRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*KawaiiAPIService) ListKawaiis ¶
func (a *KawaiiAPIService) ListKawaiis(ctx context.Context) ApiListKawaiisRequest
ListKawaiis Method for ListKawaiis
Returns the IDs of Kawaii objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListKawaiisRequest
func (*KawaiiAPIService) ListKawaiisExecute ¶
func (a *KawaiiAPIService) ListKawaiisExecute(r ApiListKawaiisRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*KawaiiAPIService) ReadKawaii ¶
func (a *KawaiiAPIService) ReadKawaii(ctx context.Context, kawaiiId string) ApiReadKawaiiRequest
ReadKawaii Method for ReadKawaii
Returns a Kawaii.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kawaiiId The ID of the Kawaii. @return ApiReadKawaiiRequest
func (*KawaiiAPIService) ReadKawaiiExecute ¶
func (a *KawaiiAPIService) ReadKawaiiExecute(r ApiReadKawaiiRequest) (*Kawaii, *http.Response, error)
Execute executes the request
@return Kawaii
func (*KawaiiAPIService) ReadKawaiiIpSec ¶
func (a *KawaiiAPIService) ReadKawaiiIpSec(ctx context.Context, kawaiiId string, kawaiiIpSecId string) ApiReadKawaiiIpSecRequest
ReadKawaiiIpSec Method for ReadKawaiiIpSec
Returns a Kawaii IPsec connection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kawaiiId The ID of the Kawaii. @param kawaiiIpSecId The ID of the Kawaii IPsec connection. @return ApiReadKawaiiIpSecRequest
func (*KawaiiAPIService) ReadKawaiiIpSecExecute ¶
func (a *KawaiiAPIService) ReadKawaiiIpSecExecute(r ApiReadKawaiiIpSecRequest) (*KawaiiIpSec, *http.Response, error)
Execute executes the request
@return KawaiiIpSec
func (*KawaiiAPIService) UpdateKawaii ¶
func (a *KawaiiAPIService) UpdateKawaii(ctx context.Context, kawaiiId string) ApiUpdateKawaiiRequest
UpdateKawaii Method for UpdateKawaii
Updates a Kawaii configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kawaiiId The ID of the Kawaii. @return ApiUpdateKawaiiRequest
func (*KawaiiAPIService) UpdateKawaiiExecute ¶
func (a *KawaiiAPIService) UpdateKawaiiExecute(r ApiUpdateKawaiiRequest) (*Kawaii, *http.Response, error)
Execute executes the request
@return Kawaii
func (*KawaiiAPIService) UpdateKawaiiIpSec ¶
func (a *KawaiiAPIService) UpdateKawaiiIpSec(ctx context.Context, kawaiiId string, kawaiiIpSecId string) ApiUpdateKawaiiIpSecRequest
UpdateKawaiiIpSec Method for UpdateKawaiiIpSec
Updates a Kawaii IPsec connection configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kawaiiId The ID of the Kawaii. @param kawaiiIpSecId The ID of the Kawaii IPsec connection. @return ApiUpdateKawaiiIpSecRequest
func (*KawaiiAPIService) UpdateKawaiiIpSecExecute ¶
func (a *KawaiiAPIService) UpdateKawaiiIpSecExecute(r ApiUpdateKawaiiIpSecRequest) (*KawaiiIpSec, *http.Response, error)
Execute executes the request
@return KawaiiIpSec
type KawaiiDNatRule ¶
type KawaiiDNatRule struct { // Target private IP address to forward public traffic to. Destination string `json:"destination"` // The transport layer protocol to forward public traffic to. Protocol *string `json:"protocol,omitempty"` // The port (or list of ports) to forward public traffic from. Ranges are accepted. Format is a-b,c-d (e.g. 443; 22,80,443; 80,443,3000-3005). Ports string `json:"ports"` }
KawaiiDNatRule A Kawaii public firewall destination NAT rule.
func NewKawaiiDNatRule ¶
func NewKawaiiDNatRule(destination string, ports string) *KawaiiDNatRule
NewKawaiiDNatRule instantiates a new KawaiiDNatRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKawaiiDNatRuleWithDefaults ¶
func NewKawaiiDNatRuleWithDefaults() *KawaiiDNatRule
NewKawaiiDNatRuleWithDefaults instantiates a new KawaiiDNatRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KawaiiDNatRule) GetDestination ¶
func (o *KawaiiDNatRule) GetDestination() string
GetDestination returns the Destination field value
func (*KawaiiDNatRule) GetDestinationOk ¶
func (o *KawaiiDNatRule) GetDestinationOk() (*string, bool)
GetDestinationOk returns a tuple with the Destination field value and a boolean to check if the value has been set.
func (*KawaiiDNatRule) GetPorts ¶
func (o *KawaiiDNatRule) GetPorts() string
GetPorts returns the Ports field value
func (*KawaiiDNatRule) GetPortsOk ¶
func (o *KawaiiDNatRule) GetPortsOk() (*string, bool)
GetPortsOk returns a tuple with the Ports field value and a boolean to check if the value has been set.
func (*KawaiiDNatRule) GetProtocol ¶
func (o *KawaiiDNatRule) GetProtocol() string
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*KawaiiDNatRule) GetProtocolOk ¶
func (o *KawaiiDNatRule) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiDNatRule) HasProtocol ¶
func (o *KawaiiDNatRule) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (KawaiiDNatRule) MarshalJSON ¶
func (o KawaiiDNatRule) MarshalJSON() ([]byte, error)
func (*KawaiiDNatRule) SetDestination ¶
func (o *KawaiiDNatRule) SetDestination(v string)
SetDestination sets field value
func (*KawaiiDNatRule) SetPorts ¶
func (o *KawaiiDNatRule) SetPorts(v string)
SetPorts sets field value
func (*KawaiiDNatRule) SetProtocol ¶
func (o *KawaiiDNatRule) SetProtocol(v string)
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (KawaiiDNatRule) ToMap ¶
func (o KawaiiDNatRule) ToMap() (map[string]interface{}, error)
func (*KawaiiDNatRule) UnmarshalJSON ¶
func (o *KawaiiDNatRule) UnmarshalJSON(data []byte) (err error)
type KawaiiFirewall ¶
type KawaiiFirewall struct { // The Kawaii public firewall list of ingress rules. Kawaii default policy is to drop all incoming traffic, including ICMP. Specified ruleset will be explicitly accepted. Ingress []KawaiiFirewallIngressRule `json:"ingress,omitempty"` // The default public traffic egress policy. EgressPolicy *string `json:"egress_policy,omitempty"` // The Kawaii public firewall list of egress rules. Kawaii default policy is to accept all outgoing traffic, including ICMP. Specified ruleset will be explicitly dropped if egress_policy is set to accept, and explicitly accepted if egress policy is set to drop.. Egress []KawaiiFirewallEgressRule `json:"egress,omitempty"` }
KawaiiFirewall A Kawaii public firewall settings.
func NewKawaiiFirewall ¶
func NewKawaiiFirewall() *KawaiiFirewall
NewKawaiiFirewall instantiates a new KawaiiFirewall object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKawaiiFirewallWithDefaults ¶
func NewKawaiiFirewallWithDefaults() *KawaiiFirewall
NewKawaiiFirewallWithDefaults instantiates a new KawaiiFirewall object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KawaiiFirewall) GetEgress ¶
func (o *KawaiiFirewall) GetEgress() []KawaiiFirewallEgressRule
GetEgress returns the Egress field value if set, zero value otherwise.
func (*KawaiiFirewall) GetEgressOk ¶
func (o *KawaiiFirewall) GetEgressOk() ([]KawaiiFirewallEgressRule, bool)
GetEgressOk returns a tuple with the Egress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiFirewall) GetEgressPolicy ¶
func (o *KawaiiFirewall) GetEgressPolicy() string
GetEgressPolicy returns the EgressPolicy field value if set, zero value otherwise.
func (*KawaiiFirewall) GetEgressPolicyOk ¶
func (o *KawaiiFirewall) GetEgressPolicyOk() (*string, bool)
GetEgressPolicyOk returns a tuple with the EgressPolicy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiFirewall) GetIngress ¶
func (o *KawaiiFirewall) GetIngress() []KawaiiFirewallIngressRule
GetIngress returns the Ingress field value if set, zero value otherwise.
func (*KawaiiFirewall) GetIngressOk ¶
func (o *KawaiiFirewall) GetIngressOk() ([]KawaiiFirewallIngressRule, bool)
GetIngressOk returns a tuple with the Ingress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiFirewall) HasEgress ¶
func (o *KawaiiFirewall) HasEgress() bool
HasEgress returns a boolean if a field has been set.
func (*KawaiiFirewall) HasEgressPolicy ¶
func (o *KawaiiFirewall) HasEgressPolicy() bool
HasEgressPolicy returns a boolean if a field has been set.
func (*KawaiiFirewall) HasIngress ¶
func (o *KawaiiFirewall) HasIngress() bool
HasIngress returns a boolean if a field has been set.
func (KawaiiFirewall) MarshalJSON ¶
func (o KawaiiFirewall) MarshalJSON() ([]byte, error)
func (*KawaiiFirewall) SetEgress ¶
func (o *KawaiiFirewall) SetEgress(v []KawaiiFirewallEgressRule)
SetEgress gets a reference to the given []KawaiiFirewallEgressRule and assigns it to the Egress field.
func (*KawaiiFirewall) SetEgressPolicy ¶
func (o *KawaiiFirewall) SetEgressPolicy(v string)
SetEgressPolicy gets a reference to the given string and assigns it to the EgressPolicy field.
func (*KawaiiFirewall) SetIngress ¶
func (o *KawaiiFirewall) SetIngress(v []KawaiiFirewallIngressRule)
SetIngress gets a reference to the given []KawaiiFirewallIngressRule and assigns it to the Ingress field.
func (KawaiiFirewall) ToMap ¶
func (o KawaiiFirewall) ToMap() (map[string]interface{}, error)
type KawaiiFirewallEgressRule ¶
type KawaiiFirewallEgressRule struct { // The destination IP or CIDR to accept/drop public traffic to. Destination *string `json:"destination,omitempty"` // The transport layer protocol to accept/drop public traffic to. Protocol *string `json:"protocol,omitempty"` // The port (or list of ports) to accept/drop public traffic from. Ranges are accepted. Format is a-b,c-d (e.g. 443; 22,80,443; 80,443,3000-3005). Ports string `json:"ports"` }
KawaiiFirewallEgressRule A Kawaii public firewall egress rule.
func NewKawaiiFirewallEgressRule ¶
func NewKawaiiFirewallEgressRule(ports string) *KawaiiFirewallEgressRule
NewKawaiiFirewallEgressRule instantiates a new KawaiiFirewallEgressRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKawaiiFirewallEgressRuleWithDefaults ¶
func NewKawaiiFirewallEgressRuleWithDefaults() *KawaiiFirewallEgressRule
NewKawaiiFirewallEgressRuleWithDefaults instantiates a new KawaiiFirewallEgressRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KawaiiFirewallEgressRule) GetDestination ¶
func (o *KawaiiFirewallEgressRule) GetDestination() string
GetDestination returns the Destination field value if set, zero value otherwise.
func (*KawaiiFirewallEgressRule) GetDestinationOk ¶
func (o *KawaiiFirewallEgressRule) GetDestinationOk() (*string, bool)
GetDestinationOk returns a tuple with the Destination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiFirewallEgressRule) GetPorts ¶
func (o *KawaiiFirewallEgressRule) GetPorts() string
GetPorts returns the Ports field value
func (*KawaiiFirewallEgressRule) GetPortsOk ¶
func (o *KawaiiFirewallEgressRule) GetPortsOk() (*string, bool)
GetPortsOk returns a tuple with the Ports field value and a boolean to check if the value has been set.
func (*KawaiiFirewallEgressRule) GetProtocol ¶
func (o *KawaiiFirewallEgressRule) GetProtocol() string
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*KawaiiFirewallEgressRule) GetProtocolOk ¶
func (o *KawaiiFirewallEgressRule) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiFirewallEgressRule) HasDestination ¶
func (o *KawaiiFirewallEgressRule) HasDestination() bool
HasDestination returns a boolean if a field has been set.
func (*KawaiiFirewallEgressRule) HasProtocol ¶
func (o *KawaiiFirewallEgressRule) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (KawaiiFirewallEgressRule) MarshalJSON ¶
func (o KawaiiFirewallEgressRule) MarshalJSON() ([]byte, error)
func (*KawaiiFirewallEgressRule) SetDestination ¶
func (o *KawaiiFirewallEgressRule) SetDestination(v string)
SetDestination gets a reference to the given string and assigns it to the Destination field.
func (*KawaiiFirewallEgressRule) SetPorts ¶
func (o *KawaiiFirewallEgressRule) SetPorts(v string)
SetPorts sets field value
func (*KawaiiFirewallEgressRule) SetProtocol ¶
func (o *KawaiiFirewallEgressRule) SetProtocol(v string)
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (KawaiiFirewallEgressRule) ToMap ¶
func (o KawaiiFirewallEgressRule) ToMap() (map[string]interface{}, error)
func (*KawaiiFirewallEgressRule) UnmarshalJSON ¶
func (o *KawaiiFirewallEgressRule) UnmarshalJSON(data []byte) (err error)
type KawaiiFirewallIngressRule ¶
type KawaiiFirewallIngressRule struct { // The source IP or CIDR to accept public traffic from. Source *string `json:"source,omitempty"` // The transport layer protocol to accept public traffic from. Protocol *string `json:"protocol,omitempty"` // The port (or list of ports) to accept public traffic from. Ranges are accepted. Format is a-b,c-d (e.g. 443; 22,80,443; 80,443,3000-3005). Ports string `json:"ports"` }
KawaiiFirewallIngressRule A Kawaii public firewall ingress rule.
func NewKawaiiFirewallIngressRule ¶
func NewKawaiiFirewallIngressRule(ports string) *KawaiiFirewallIngressRule
NewKawaiiFirewallIngressRule instantiates a new KawaiiFirewallIngressRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKawaiiFirewallIngressRuleWithDefaults ¶
func NewKawaiiFirewallIngressRuleWithDefaults() *KawaiiFirewallIngressRule
NewKawaiiFirewallIngressRuleWithDefaults instantiates a new KawaiiFirewallIngressRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KawaiiFirewallIngressRule) GetPorts ¶
func (o *KawaiiFirewallIngressRule) GetPorts() string
GetPorts returns the Ports field value
func (*KawaiiFirewallIngressRule) GetPortsOk ¶
func (o *KawaiiFirewallIngressRule) GetPortsOk() (*string, bool)
GetPortsOk returns a tuple with the Ports field value and a boolean to check if the value has been set.
func (*KawaiiFirewallIngressRule) GetProtocol ¶
func (o *KawaiiFirewallIngressRule) GetProtocol() string
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*KawaiiFirewallIngressRule) GetProtocolOk ¶
func (o *KawaiiFirewallIngressRule) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiFirewallIngressRule) GetSource ¶
func (o *KawaiiFirewallIngressRule) GetSource() string
GetSource returns the Source field value if set, zero value otherwise.
func (*KawaiiFirewallIngressRule) GetSourceOk ¶
func (o *KawaiiFirewallIngressRule) GetSourceOk() (*string, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiFirewallIngressRule) HasProtocol ¶
func (o *KawaiiFirewallIngressRule) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (*KawaiiFirewallIngressRule) HasSource ¶
func (o *KawaiiFirewallIngressRule) HasSource() bool
HasSource returns a boolean if a field has been set.
func (KawaiiFirewallIngressRule) MarshalJSON ¶
func (o KawaiiFirewallIngressRule) MarshalJSON() ([]byte, error)
func (*KawaiiFirewallIngressRule) SetPorts ¶
func (o *KawaiiFirewallIngressRule) SetPorts(v string)
SetPorts sets field value
func (*KawaiiFirewallIngressRule) SetProtocol ¶
func (o *KawaiiFirewallIngressRule) SetProtocol(v string)
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (*KawaiiFirewallIngressRule) SetSource ¶
func (o *KawaiiFirewallIngressRule) SetSource(v string)
SetSource gets a reference to the given string and assigns it to the Source field.
func (KawaiiFirewallIngressRule) ToMap ¶
func (o KawaiiFirewallIngressRule) ToMap() (map[string]interface{}, error)
func (*KawaiiFirewallIngressRule) UnmarshalJSON ¶
func (o *KawaiiFirewallIngressRule) UnmarshalJSON(data []byte) (err error)
type KawaiiIpSec ¶
type KawaiiIpSec struct { // The Kawaii IPsec connection ID (auto-generated). Id *string `json:"id,omitempty"` // The Kawaii IPsec connection name. Name string `json:"name"` // The Kawaii IPsec connection description. Description *string `json:"description,omitempty"` // The Kawaii IPsec connection IPSec IP. Ip *string `json:"ip,omitempty"` // The Kawaii IPsec connection remote peer VPN Gateway. RemoteIp string `json:"remote_ip"` // The Kawaii IPsec connection remote subnet. RemoteSubnet string `json:"remote_subnet"` PreSharedKey string `json:"pre_shared_key"` // The Kawaii IPsec connection Dead Peer Detection Action (clear,restart or trap). DpdTimeoutAction *string `json:"dpd_timeout_action,omitempty"` // The Kawaii IPsec connection Dead Peer Detection Timeout. DpdTimeout *string `json:"dpd_timeout,omitempty"` // The Kawaii IPsec connection start action (none, start, trap). StartAction *string `json:"start_action,omitempty"` // The Kawaii IPsec connection rekey time. Default is 2h. RekeyTime *string `json:"rekey_time,omitempty"` // The Kawaii IPsec connection Lifetime for phase 1 negociation. Default is 1h. Phase1Lifetime *string `json:"phase1_lifetime,omitempty"` // The Kawaii IPsec connection phase 1 Diffie Hellman IANA algorithm. Phase1DhGroupNumber int64 `json:"phase1_dh_group_number"` // The Kawaii IPsec connection phase 1 integrity algorithm.. Phase1IntegrityAlgorithm string `json:"phase1_integrity_algorithm"` // The Kawaii IPsec connection phase 1 encryption algorithm.. Phase1EncryptionAlgorithm string `json:"phase1_encryption_algorithm"` // The Kawaii IPsec connection Lifetime for phase 2 negociation. Default is 1h. Phase2Lifetime *string `json:"phase2_lifetime,omitempty"` // The Kawaii IPsec connection phase 2 Diffie Hellman IANA algorithm. Phase2DhGroupNumber int64 `json:"phase2_dh_group_number"` // The Kawaii IPsec connection phase 2 integrity algorithm.. Phase2IntegrityAlgorithm string `json:"phase2_integrity_algorithm"` // The Kawaii IPsec connection phase 2 encryption algorithm.. Phase2EncryptionAlgorithm string `json:"phase2_encryption_algorithm"` // The Kawaii IPsec connection firewall settings on the IPsec interface. Firewall KawaiiFirewall `json:"firewall,omitempty"` }
KawaiiIpSec A Kawaii IPsec connection.
func NewKawaiiIpSec ¶
func NewKawaiiIpSec(name string, remoteIp string, remoteSubnet string, preSharedKey string, phase1DhGroupNumber int64, phase1IntegrityAlgorithm string, phase1EncryptionAlgorithm string, phase2DhGroupNumber int64, phase2IntegrityAlgorithm string, phase2EncryptionAlgorithm string) *KawaiiIpSec
NewKawaiiIpSec instantiates a new KawaiiIpSec object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKawaiiIpSecWithDefaults ¶
func NewKawaiiIpSecWithDefaults() *KawaiiIpSec
NewKawaiiIpSecWithDefaults instantiates a new KawaiiIpSec object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KawaiiIpSec) GetDescription ¶
func (o *KawaiiIpSec) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*KawaiiIpSec) GetDescriptionOk ¶
func (o *KawaiiIpSec) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiIpSec) GetDpdTimeout ¶
func (o *KawaiiIpSec) GetDpdTimeout() string
GetDpdTimeout returns the DpdTimeout field value if set, zero value otherwise.
func (*KawaiiIpSec) GetDpdTimeoutAction ¶
func (o *KawaiiIpSec) GetDpdTimeoutAction() string
GetDpdTimeoutAction returns the DpdTimeoutAction field value if set, zero value otherwise.
func (*KawaiiIpSec) GetDpdTimeoutActionOk ¶
func (o *KawaiiIpSec) GetDpdTimeoutActionOk() (*string, bool)
GetDpdTimeoutActionOk returns a tuple with the DpdTimeoutAction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiIpSec) GetDpdTimeoutOk ¶
func (o *KawaiiIpSec) GetDpdTimeoutOk() (*string, bool)
GetDpdTimeoutOk returns a tuple with the DpdTimeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiIpSec) GetFirewall ¶
func (o *KawaiiIpSec) GetFirewall() KawaiiFirewall
GetFirewall returns the Firewall field value if set, zero value otherwise.
func (*KawaiiIpSec) GetFirewallOk ¶
func (o *KawaiiIpSec) GetFirewallOk() (KawaiiFirewall, bool)
GetFirewallOk returns a tuple with the Firewall field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiIpSec) GetId ¶
func (o *KawaiiIpSec) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*KawaiiIpSec) GetIdOk ¶
func (o *KawaiiIpSec) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiIpSec) GetIp ¶
func (o *KawaiiIpSec) GetIp() string
GetIp returns the Ip field value if set, zero value otherwise.
func (*KawaiiIpSec) GetIpOk ¶
func (o *KawaiiIpSec) GetIpOk() (*string, bool)
GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiIpSec) GetName ¶
func (o *KawaiiIpSec) GetName() string
GetName returns the Name field value
func (*KawaiiIpSec) GetNameOk ¶
func (o *KawaiiIpSec) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*KawaiiIpSec) GetPhase1DhGroupNumber ¶
func (o *KawaiiIpSec) GetPhase1DhGroupNumber() int64
GetPhase1DhGroupNumber returns the Phase1DhGroupNumber field value
func (*KawaiiIpSec) GetPhase1DhGroupNumberOk ¶
func (o *KawaiiIpSec) GetPhase1DhGroupNumberOk() (*int64, bool)
GetPhase1DhGroupNumberOk returns a tuple with the Phase1DhGroupNumber field value and a boolean to check if the value has been set.
func (*KawaiiIpSec) GetPhase1EncryptionAlgorithm ¶
func (o *KawaiiIpSec) GetPhase1EncryptionAlgorithm() string
GetPhase1EncryptionAlgorithm returns the Phase1EncryptionAlgorithm field value
func (*KawaiiIpSec) GetPhase1EncryptionAlgorithmOk ¶
func (o *KawaiiIpSec) GetPhase1EncryptionAlgorithmOk() (*string, bool)
GetPhase1EncryptionAlgorithmOk returns a tuple with the Phase1EncryptionAlgorithm field value and a boolean to check if the value has been set.
func (*KawaiiIpSec) GetPhase1IntegrityAlgorithm ¶
func (o *KawaiiIpSec) GetPhase1IntegrityAlgorithm() string
GetPhase1IntegrityAlgorithm returns the Phase1IntegrityAlgorithm field value
func (*KawaiiIpSec) GetPhase1IntegrityAlgorithmOk ¶
func (o *KawaiiIpSec) GetPhase1IntegrityAlgorithmOk() (*string, bool)
GetPhase1IntegrityAlgorithmOk returns a tuple with the Phase1IntegrityAlgorithm field value and a boolean to check if the value has been set.
func (*KawaiiIpSec) GetPhase1Lifetime ¶
func (o *KawaiiIpSec) GetPhase1Lifetime() string
GetPhase1Lifetime returns the Phase1Lifetime field value if set, zero value otherwise.
func (*KawaiiIpSec) GetPhase1LifetimeOk ¶
func (o *KawaiiIpSec) GetPhase1LifetimeOk() (*string, bool)
GetPhase1LifetimeOk returns a tuple with the Phase1Lifetime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiIpSec) GetPhase2DhGroupNumber ¶
func (o *KawaiiIpSec) GetPhase2DhGroupNumber() int64
GetPhase2DhGroupNumber returns the Phase2DhGroupNumber field value
func (*KawaiiIpSec) GetPhase2DhGroupNumberOk ¶
func (o *KawaiiIpSec) GetPhase2DhGroupNumberOk() (*int64, bool)
GetPhase2DhGroupNumberOk returns a tuple with the Phase2DhGroupNumber field value and a boolean to check if the value has been set.
func (*KawaiiIpSec) GetPhase2EncryptionAlgorithm ¶
func (o *KawaiiIpSec) GetPhase2EncryptionAlgorithm() string
GetPhase2EncryptionAlgorithm returns the Phase2EncryptionAlgorithm field value
func (*KawaiiIpSec) GetPhase2EncryptionAlgorithmOk ¶
func (o *KawaiiIpSec) GetPhase2EncryptionAlgorithmOk() (*string, bool)
GetPhase2EncryptionAlgorithmOk returns a tuple with the Phase2EncryptionAlgorithm field value and a boolean to check if the value has been set.
func (*KawaiiIpSec) GetPhase2IntegrityAlgorithm ¶
func (o *KawaiiIpSec) GetPhase2IntegrityAlgorithm() string
GetPhase2IntegrityAlgorithm returns the Phase2IntegrityAlgorithm field value
func (*KawaiiIpSec) GetPhase2IntegrityAlgorithmOk ¶
func (o *KawaiiIpSec) GetPhase2IntegrityAlgorithmOk() (*string, bool)
GetPhase2IntegrityAlgorithmOk returns a tuple with the Phase2IntegrityAlgorithm field value and a boolean to check if the value has been set.
func (*KawaiiIpSec) GetPhase2Lifetime ¶
func (o *KawaiiIpSec) GetPhase2Lifetime() string
GetPhase2Lifetime returns the Phase2Lifetime field value if set, zero value otherwise.
func (*KawaiiIpSec) GetPhase2LifetimeOk ¶
func (o *KawaiiIpSec) GetPhase2LifetimeOk() (*string, bool)
GetPhase2LifetimeOk returns a tuple with the Phase2Lifetime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiIpSec) GetPreSharedKey ¶
func (o *KawaiiIpSec) GetPreSharedKey() string
GetPreSharedKey returns the PreSharedKey field value
func (*KawaiiIpSec) GetPreSharedKeyOk ¶
func (o *KawaiiIpSec) GetPreSharedKeyOk() (*string, bool)
GetPreSharedKeyOk returns a tuple with the PreSharedKey field value and a boolean to check if the value has been set.
func (*KawaiiIpSec) GetRekeyTime ¶
func (o *KawaiiIpSec) GetRekeyTime() string
GetRekeyTime returns the RekeyTime field value if set, zero value otherwise.
func (*KawaiiIpSec) GetRekeyTimeOk ¶
func (o *KawaiiIpSec) GetRekeyTimeOk() (*string, bool)
GetRekeyTimeOk returns a tuple with the RekeyTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiIpSec) GetRemoteIp ¶
func (o *KawaiiIpSec) GetRemoteIp() string
GetRemoteIp returns the RemoteIp field value
func (*KawaiiIpSec) GetRemoteIpOk ¶
func (o *KawaiiIpSec) GetRemoteIpOk() (*string, bool)
GetRemoteIpOk returns a tuple with the RemoteIp field value and a boolean to check if the value has been set.
func (*KawaiiIpSec) GetRemoteSubnet ¶
func (o *KawaiiIpSec) GetRemoteSubnet() string
GetRemoteSubnet returns the RemoteSubnet field value
func (*KawaiiIpSec) GetRemoteSubnetOk ¶
func (o *KawaiiIpSec) GetRemoteSubnetOk() (*string, bool)
GetRemoteSubnetOk returns a tuple with the RemoteSubnet field value and a boolean to check if the value has been set.
func (*KawaiiIpSec) GetStartAction ¶
func (o *KawaiiIpSec) GetStartAction() string
GetStartAction returns the StartAction field value if set, zero value otherwise.
func (*KawaiiIpSec) GetStartActionOk ¶
func (o *KawaiiIpSec) GetStartActionOk() (*string, bool)
GetStartActionOk returns a tuple with the StartAction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiIpSec) HasDescription ¶
func (o *KawaiiIpSec) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*KawaiiIpSec) HasDpdTimeout ¶
func (o *KawaiiIpSec) HasDpdTimeout() bool
HasDpdTimeout returns a boolean if a field has been set.
func (*KawaiiIpSec) HasDpdTimeoutAction ¶
func (o *KawaiiIpSec) HasDpdTimeoutAction() bool
HasDpdTimeoutAction returns a boolean if a field has been set.
func (*KawaiiIpSec) HasFirewall ¶
func (o *KawaiiIpSec) HasFirewall() bool
HasFirewall returns a boolean if a field has been set.
func (*KawaiiIpSec) HasId ¶
func (o *KawaiiIpSec) HasId() bool
HasId returns a boolean if a field has been set.
func (*KawaiiIpSec) HasIp ¶
func (o *KawaiiIpSec) HasIp() bool
HasIp returns a boolean if a field has been set.
func (*KawaiiIpSec) HasPhase1Lifetime ¶
func (o *KawaiiIpSec) HasPhase1Lifetime() bool
HasPhase1Lifetime returns a boolean if a field has been set.
func (*KawaiiIpSec) HasPhase2Lifetime ¶
func (o *KawaiiIpSec) HasPhase2Lifetime() bool
HasPhase2Lifetime returns a boolean if a field has been set.
func (*KawaiiIpSec) HasRekeyTime ¶
func (o *KawaiiIpSec) HasRekeyTime() bool
HasRekeyTime returns a boolean if a field has been set.
func (*KawaiiIpSec) HasStartAction ¶
func (o *KawaiiIpSec) HasStartAction() bool
HasStartAction returns a boolean if a field has been set.
func (KawaiiIpSec) MarshalJSON ¶
func (o KawaiiIpSec) MarshalJSON() ([]byte, error)
func (*KawaiiIpSec) SetDescription ¶
func (o *KawaiiIpSec) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*KawaiiIpSec) SetDpdTimeout ¶
func (o *KawaiiIpSec) SetDpdTimeout(v string)
SetDpdTimeout gets a reference to the given string and assigns it to the DpdTimeout field.
func (*KawaiiIpSec) SetDpdTimeoutAction ¶
func (o *KawaiiIpSec) SetDpdTimeoutAction(v string)
SetDpdTimeoutAction gets a reference to the given string and assigns it to the DpdTimeoutAction field.
func (*KawaiiIpSec) SetFirewall ¶
func (o *KawaiiIpSec) SetFirewall(v KawaiiFirewall)
SetFirewall gets a reference to the given KawaiiFirewall and assigns it to the Firewall field.
func (*KawaiiIpSec) SetId ¶
func (o *KawaiiIpSec) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*KawaiiIpSec) SetIp ¶
func (o *KawaiiIpSec) SetIp(v string)
SetIp gets a reference to the given string and assigns it to the Ip field.
func (*KawaiiIpSec) SetPhase1DhGroupNumber ¶
func (o *KawaiiIpSec) SetPhase1DhGroupNumber(v int64)
SetPhase1DhGroupNumber sets field value
func (*KawaiiIpSec) SetPhase1EncryptionAlgorithm ¶
func (o *KawaiiIpSec) SetPhase1EncryptionAlgorithm(v string)
SetPhase1EncryptionAlgorithm sets field value
func (*KawaiiIpSec) SetPhase1IntegrityAlgorithm ¶
func (o *KawaiiIpSec) SetPhase1IntegrityAlgorithm(v string)
SetPhase1IntegrityAlgorithm sets field value
func (*KawaiiIpSec) SetPhase1Lifetime ¶
func (o *KawaiiIpSec) SetPhase1Lifetime(v string)
SetPhase1Lifetime gets a reference to the given string and assigns it to the Phase1Lifetime field.
func (*KawaiiIpSec) SetPhase2DhGroupNumber ¶
func (o *KawaiiIpSec) SetPhase2DhGroupNumber(v int64)
SetPhase2DhGroupNumber sets field value
func (*KawaiiIpSec) SetPhase2EncryptionAlgorithm ¶
func (o *KawaiiIpSec) SetPhase2EncryptionAlgorithm(v string)
SetPhase2EncryptionAlgorithm sets field value
func (*KawaiiIpSec) SetPhase2IntegrityAlgorithm ¶
func (o *KawaiiIpSec) SetPhase2IntegrityAlgorithm(v string)
SetPhase2IntegrityAlgorithm sets field value
func (*KawaiiIpSec) SetPhase2Lifetime ¶
func (o *KawaiiIpSec) SetPhase2Lifetime(v string)
SetPhase2Lifetime gets a reference to the given string and assigns it to the Phase2Lifetime field.
func (*KawaiiIpSec) SetPreSharedKey ¶
func (o *KawaiiIpSec) SetPreSharedKey(v string)
SetPreSharedKey sets field value
func (*KawaiiIpSec) SetRekeyTime ¶
func (o *KawaiiIpSec) SetRekeyTime(v string)
SetRekeyTime gets a reference to the given string and assigns it to the RekeyTime field.
func (*KawaiiIpSec) SetRemoteIp ¶
func (o *KawaiiIpSec) SetRemoteIp(v string)
SetRemoteIp sets field value
func (*KawaiiIpSec) SetRemoteSubnet ¶
func (o *KawaiiIpSec) SetRemoteSubnet(v string)
SetRemoteSubnet sets field value
func (*KawaiiIpSec) SetStartAction ¶
func (o *KawaiiIpSec) SetStartAction(v string)
SetStartAction gets a reference to the given string and assigns it to the StartAction field.
func (KawaiiIpSec) ToMap ¶
func (o KawaiiIpSec) ToMap() (map[string]interface{}, error)
func (*KawaiiIpSec) UnmarshalJSON ¶
func (o *KawaiiIpSec) UnmarshalJSON(data []byte) (err error)
type KawaiiNetIp ¶
type KawaiiNetIp struct { // The Kawaii global public gateways virtual IP addresses (read-only). Public []string `json:"public"` // The Kawaii global private gateways virtual IP addresses (read-only). Private []string `json:"private"` // The Kawaii per-zone list of Kowabunga virtual IP addresses. Zones []KawaiiNetIpZone `json:"zones"` }
KawaiiNetIp A Kawaii Network IP settings.
func NewKawaiiNetIp ¶
func NewKawaiiNetIp(public []string, private []string, zones []KawaiiNetIpZone) *KawaiiNetIp
NewKawaiiNetIp instantiates a new KawaiiNetIp object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKawaiiNetIpWithDefaults ¶
func NewKawaiiNetIpWithDefaults() *KawaiiNetIp
NewKawaiiNetIpWithDefaults instantiates a new KawaiiNetIp object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KawaiiNetIp) GetPrivate ¶
func (o *KawaiiNetIp) GetPrivate() []string
GetPrivate returns the Private field value
func (*KawaiiNetIp) GetPrivateOk ¶
func (o *KawaiiNetIp) GetPrivateOk() ([]string, bool)
GetPrivateOk returns a tuple with the Private field value and a boolean to check if the value has been set.
func (*KawaiiNetIp) GetPublic ¶
func (o *KawaiiNetIp) GetPublic() []string
GetPublic returns the Public field value
func (*KawaiiNetIp) GetPublicOk ¶
func (o *KawaiiNetIp) GetPublicOk() ([]string, bool)
GetPublicOk returns a tuple with the Public field value and a boolean to check if the value has been set.
func (*KawaiiNetIp) GetZones ¶
func (o *KawaiiNetIp) GetZones() []KawaiiNetIpZone
GetZones returns the Zones field value
func (*KawaiiNetIp) GetZonesOk ¶
func (o *KawaiiNetIp) GetZonesOk() ([]KawaiiNetIpZone, bool)
GetZonesOk returns a tuple with the Zones field value and a boolean to check if the value has been set.
func (KawaiiNetIp) MarshalJSON ¶
func (o KawaiiNetIp) MarshalJSON() ([]byte, error)
func (*KawaiiNetIp) SetPrivate ¶
func (o *KawaiiNetIp) SetPrivate(v []string)
SetPrivate sets field value
func (*KawaiiNetIp) SetPublic ¶
func (o *KawaiiNetIp) SetPublic(v []string)
SetPublic sets field value
func (*KawaiiNetIp) SetZones ¶
func (o *KawaiiNetIp) SetZones(v []KawaiiNetIpZone)
SetZones sets field value
func (KawaiiNetIp) ToMap ¶
func (o KawaiiNetIp) ToMap() (map[string]interface{}, error)
func (*KawaiiNetIp) UnmarshalJSON ¶
func (o *KawaiiNetIp) UnmarshalJSON(data []byte) (err error)
type KawaiiNetIpZone ¶
type KawaiiNetIpZone struct { // The Kawaii zone name (read-only). Zone string `json:"zone"` // The Kawaii zone gateway public virtual IP (read-only). Public string `json:"public"` // The Kawaii zone gateway private virtual IP (read-only). Private string `json:"private"` }
KawaiiNetIpZone A Kawaii Network IP zone settings.
func NewKawaiiNetIpZone ¶
func NewKawaiiNetIpZone(zone string, public string, private string) *KawaiiNetIpZone
NewKawaiiNetIpZone instantiates a new KawaiiNetIpZone object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKawaiiNetIpZoneWithDefaults ¶
func NewKawaiiNetIpZoneWithDefaults() *KawaiiNetIpZone
NewKawaiiNetIpZoneWithDefaults instantiates a new KawaiiNetIpZone object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KawaiiNetIpZone) GetPrivate ¶
func (o *KawaiiNetIpZone) GetPrivate() string
GetPrivate returns the Private field value
func (*KawaiiNetIpZone) GetPrivateOk ¶
func (o *KawaiiNetIpZone) GetPrivateOk() (*string, bool)
GetPrivateOk returns a tuple with the Private field value and a boolean to check if the value has been set.
func (*KawaiiNetIpZone) GetPublic ¶
func (o *KawaiiNetIpZone) GetPublic() string
GetPublic returns the Public field value
func (*KawaiiNetIpZone) GetPublicOk ¶
func (o *KawaiiNetIpZone) GetPublicOk() (*string, bool)
GetPublicOk returns a tuple with the Public field value and a boolean to check if the value has been set.
func (*KawaiiNetIpZone) GetZone ¶
func (o *KawaiiNetIpZone) GetZone() string
GetZone returns the Zone field value
func (*KawaiiNetIpZone) GetZoneOk ¶
func (o *KawaiiNetIpZone) GetZoneOk() (*string, bool)
GetZoneOk returns a tuple with the Zone field value and a boolean to check if the value has been set.
func (KawaiiNetIpZone) MarshalJSON ¶
func (o KawaiiNetIpZone) MarshalJSON() ([]byte, error)
func (*KawaiiNetIpZone) SetPrivate ¶
func (o *KawaiiNetIpZone) SetPrivate(v string)
SetPrivate sets field value
func (*KawaiiNetIpZone) SetPublic ¶
func (o *KawaiiNetIpZone) SetPublic(v string)
SetPublic sets field value
func (*KawaiiNetIpZone) SetZone ¶
func (o *KawaiiNetIpZone) SetZone(v string)
SetZone sets field value
func (KawaiiNetIpZone) ToMap ¶
func (o KawaiiNetIpZone) ToMap() (map[string]interface{}, error)
func (*KawaiiNetIpZone) UnmarshalJSON ¶
func (o *KawaiiNetIpZone) UnmarshalJSON(data []byte) (err error)
type KawaiiVpcForwardRule ¶
type KawaiiVpcForwardRule struct { // The transport layer protocol to forward public traffic to. Protocol *string `json:"protocol,omitempty"` // The port (or list of ports) to forward public traffic from. Ranges are accepted. Format is a-b,c-d (e.g. 443; 22,80,443; 80,443,3000-3005). Ports string `json:"ports"` }
KawaiiVpcForwardRule A Kawaii VPC firewall forwarding rule.
func NewKawaiiVpcForwardRule ¶
func NewKawaiiVpcForwardRule(ports string) *KawaiiVpcForwardRule
NewKawaiiVpcForwardRule instantiates a new KawaiiVpcForwardRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKawaiiVpcForwardRuleWithDefaults ¶
func NewKawaiiVpcForwardRuleWithDefaults() *KawaiiVpcForwardRule
NewKawaiiVpcForwardRuleWithDefaults instantiates a new KawaiiVpcForwardRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KawaiiVpcForwardRule) GetPorts ¶
func (o *KawaiiVpcForwardRule) GetPorts() string
GetPorts returns the Ports field value
func (*KawaiiVpcForwardRule) GetPortsOk ¶
func (o *KawaiiVpcForwardRule) GetPortsOk() (*string, bool)
GetPortsOk returns a tuple with the Ports field value and a boolean to check if the value has been set.
func (*KawaiiVpcForwardRule) GetProtocol ¶
func (o *KawaiiVpcForwardRule) GetProtocol() string
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*KawaiiVpcForwardRule) GetProtocolOk ¶
func (o *KawaiiVpcForwardRule) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiVpcForwardRule) HasProtocol ¶
func (o *KawaiiVpcForwardRule) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (KawaiiVpcForwardRule) MarshalJSON ¶
func (o KawaiiVpcForwardRule) MarshalJSON() ([]byte, error)
func (*KawaiiVpcForwardRule) SetPorts ¶
func (o *KawaiiVpcForwardRule) SetPorts(v string)
SetPorts sets field value
func (*KawaiiVpcForwardRule) SetProtocol ¶
func (o *KawaiiVpcForwardRule) SetProtocol(v string)
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (KawaiiVpcForwardRule) ToMap ¶
func (o KawaiiVpcForwardRule) ToMap() (map[string]interface{}, error)
func (*KawaiiVpcForwardRule) UnmarshalJSON ¶
func (o *KawaiiVpcForwardRule) UnmarshalJSON(data []byte) (err error)
type KawaiiVpcNetIpZone ¶
type KawaiiVpcNetIpZone struct { // The Kawaii zone name (read-only). Zone string `json:"zone"` // The Kawaii zone gateway private IP address in VPC peered subnet (read-only). Private string `json:"private"` }
KawaiiVpcNetIpZone A Kawaii VPC Network IP zone settings.
func NewKawaiiVpcNetIpZone ¶
func NewKawaiiVpcNetIpZone(zone string, private string) *KawaiiVpcNetIpZone
NewKawaiiVpcNetIpZone instantiates a new KawaiiVpcNetIpZone object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKawaiiVpcNetIpZoneWithDefaults ¶
func NewKawaiiVpcNetIpZoneWithDefaults() *KawaiiVpcNetIpZone
NewKawaiiVpcNetIpZoneWithDefaults instantiates a new KawaiiVpcNetIpZone object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KawaiiVpcNetIpZone) GetPrivate ¶
func (o *KawaiiVpcNetIpZone) GetPrivate() string
GetPrivate returns the Private field value
func (*KawaiiVpcNetIpZone) GetPrivateOk ¶
func (o *KawaiiVpcNetIpZone) GetPrivateOk() (*string, bool)
GetPrivateOk returns a tuple with the Private field value and a boolean to check if the value has been set.
func (*KawaiiVpcNetIpZone) GetZone ¶
func (o *KawaiiVpcNetIpZone) GetZone() string
GetZone returns the Zone field value
func (*KawaiiVpcNetIpZone) GetZoneOk ¶
func (o *KawaiiVpcNetIpZone) GetZoneOk() (*string, bool)
GetZoneOk returns a tuple with the Zone field value and a boolean to check if the value has been set.
func (KawaiiVpcNetIpZone) MarshalJSON ¶
func (o KawaiiVpcNetIpZone) MarshalJSON() ([]byte, error)
func (*KawaiiVpcNetIpZone) SetPrivate ¶
func (o *KawaiiVpcNetIpZone) SetPrivate(v string)
SetPrivate sets field value
func (*KawaiiVpcNetIpZone) SetZone ¶
func (o *KawaiiVpcNetIpZone) SetZone(v string)
SetZone sets field value
func (KawaiiVpcNetIpZone) ToMap ¶
func (o KawaiiVpcNetIpZone) ToMap() (map[string]interface{}, error)
func (*KawaiiVpcNetIpZone) UnmarshalJSON ¶
func (o *KawaiiVpcNetIpZone) UnmarshalJSON(data []byte) (err error)
type KawaiiVpcPeering ¶
type KawaiiVpcPeering struct { // Kowabunga Subnet ID to be peered with (subnet local IP addresses will be automatically assigned to Kawaii instances).. Subnet string `json:"subnet"` // The default VPC traffic forwarding policy. Policy *string `json:"policy,omitempty"` // The firewall list of forwarding ingress rules from VPC peered subnet. ICMP traffic is always accepted. The specified ruleset will be explicitly accepted if drop is the default policy (useless otherwise). Ingress []KawaiiVpcForwardRule `json:"ingress,omitempty"` // The firewall list of forwarding egress rules to VPC peered subnet. ICMP traffic is always accepted. The specified ruleset will be explicitly accepted if drop is the default policy (useless otherwise). Egress []KawaiiVpcForwardRule `json:"egress,omitempty"` // The per-zone auto-assigned private IPs in peered subnet (read-only). Netip []KawaiiVpcNetIpZone `json:"netip,omitempty"` }
KawaiiVpcPeering A Kawaii internal VPC subnet peering.
func NewKawaiiVpcPeering ¶
func NewKawaiiVpcPeering(subnet string) *KawaiiVpcPeering
NewKawaiiVpcPeering instantiates a new KawaiiVpcPeering object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKawaiiVpcPeeringWithDefaults ¶
func NewKawaiiVpcPeeringWithDefaults() *KawaiiVpcPeering
NewKawaiiVpcPeeringWithDefaults instantiates a new KawaiiVpcPeering object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KawaiiVpcPeering) GetEgress ¶
func (o *KawaiiVpcPeering) GetEgress() []KawaiiVpcForwardRule
GetEgress returns the Egress field value if set, zero value otherwise.
func (*KawaiiVpcPeering) GetEgressOk ¶
func (o *KawaiiVpcPeering) GetEgressOk() ([]KawaiiVpcForwardRule, bool)
GetEgressOk returns a tuple with the Egress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiVpcPeering) GetIngress ¶
func (o *KawaiiVpcPeering) GetIngress() []KawaiiVpcForwardRule
GetIngress returns the Ingress field value if set, zero value otherwise.
func (*KawaiiVpcPeering) GetIngressOk ¶
func (o *KawaiiVpcPeering) GetIngressOk() ([]KawaiiVpcForwardRule, bool)
GetIngressOk returns a tuple with the Ingress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiVpcPeering) GetNetip ¶
func (o *KawaiiVpcPeering) GetNetip() []KawaiiVpcNetIpZone
GetNetip returns the Netip field value if set, zero value otherwise.
func (*KawaiiVpcPeering) GetNetipOk ¶
func (o *KawaiiVpcPeering) GetNetipOk() ([]KawaiiVpcNetIpZone, bool)
GetNetipOk returns a tuple with the Netip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiVpcPeering) GetPolicy ¶
func (o *KawaiiVpcPeering) GetPolicy() string
GetPolicy returns the Policy field value if set, zero value otherwise.
func (*KawaiiVpcPeering) GetPolicyOk ¶
func (o *KawaiiVpcPeering) GetPolicyOk() (*string, bool)
GetPolicyOk returns a tuple with the Policy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KawaiiVpcPeering) GetSubnet ¶
func (o *KawaiiVpcPeering) GetSubnet() string
GetSubnet returns the Subnet field value
func (*KawaiiVpcPeering) GetSubnetOk ¶
func (o *KawaiiVpcPeering) GetSubnetOk() (*string, bool)
GetSubnetOk returns a tuple with the Subnet field value and a boolean to check if the value has been set.
func (*KawaiiVpcPeering) HasEgress ¶
func (o *KawaiiVpcPeering) HasEgress() bool
HasEgress returns a boolean if a field has been set.
func (*KawaiiVpcPeering) HasIngress ¶
func (o *KawaiiVpcPeering) HasIngress() bool
HasIngress returns a boolean if a field has been set.
func (*KawaiiVpcPeering) HasNetip ¶
func (o *KawaiiVpcPeering) HasNetip() bool
HasNetip returns a boolean if a field has been set.
func (*KawaiiVpcPeering) HasPolicy ¶
func (o *KawaiiVpcPeering) HasPolicy() bool
HasPolicy returns a boolean if a field has been set.
func (KawaiiVpcPeering) MarshalJSON ¶
func (o KawaiiVpcPeering) MarshalJSON() ([]byte, error)
func (*KawaiiVpcPeering) SetEgress ¶
func (o *KawaiiVpcPeering) SetEgress(v []KawaiiVpcForwardRule)
SetEgress gets a reference to the given []KawaiiVpcForwardRule and assigns it to the Egress field.
func (*KawaiiVpcPeering) SetIngress ¶
func (o *KawaiiVpcPeering) SetIngress(v []KawaiiVpcForwardRule)
SetIngress gets a reference to the given []KawaiiVpcForwardRule and assigns it to the Ingress field.
func (*KawaiiVpcPeering) SetNetip ¶
func (o *KawaiiVpcPeering) SetNetip(v []KawaiiVpcNetIpZone)
SetNetip gets a reference to the given []KawaiiVpcNetIpZone and assigns it to the Netip field.
func (*KawaiiVpcPeering) SetPolicy ¶
func (o *KawaiiVpcPeering) SetPolicy(v string)
SetPolicy gets a reference to the given string and assigns it to the Policy field.
func (*KawaiiVpcPeering) SetSubnet ¶
func (o *KawaiiVpcPeering) SetSubnet(v string)
SetSubnet sets field value
func (KawaiiVpcPeering) ToMap ¶
func (o KawaiiVpcPeering) ToMap() (map[string]interface{}, error)
func (*KawaiiVpcPeering) UnmarshalJSON ¶
func (o *KawaiiVpcPeering) UnmarshalJSON(data []byte) (err error)
type Kiwi ¶
type Kiwi struct { // The Kiwi (Kowabunga Inner Wan Interface) provides edge-network services. ID (auto-generated). Id *string `json:"id,omitempty"` // The Kiwi (Kowabunga Inner Wan Interface) provides edge-network services. name. Name string `json:"name"` // The Kiwi (Kowabunga Inner Wan Interface) provides edge-network services. description. Description *string `json:"description,omitempty"` // a list of existing remote agents managing the network gateway. Agents []string `json:"agents,omitempty"` }
Kiwi A Kiwi (Kowabunga Inner Wan Interface) provides edge-network services..
func NewKiwi ¶
NewKiwi instantiates a new Kiwi object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKiwiWithDefaults ¶
func NewKiwiWithDefaults() *Kiwi
NewKiwiWithDefaults instantiates a new Kiwi object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Kiwi) GetAgentsOk ¶
GetAgentsOk returns a tuple with the Agents field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kiwi) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Kiwi) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kiwi) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kiwi) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Kiwi) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (Kiwi) MarshalJSON ¶
func (*Kiwi) SetAgents ¶
SetAgents gets a reference to the given []string and assigns it to the Agents field.
func (*Kiwi) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Kiwi) UnmarshalJSON ¶
type KiwiAPIService ¶
type KiwiAPIService service
KiwiAPIService KiwiAPI service
func (*KiwiAPIService) DeleteKiwi ¶
func (a *KiwiAPIService) DeleteKiwi(ctx context.Context, kiwiId string) ApiDeleteKiwiRequest
DeleteKiwi Method for DeleteKiwi
Deletes an existing Kiwi (Kowabunga Inner Wan Interface) provides edge-network services..
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kiwiId The ID of the Kiwi (Kowabunga Inner Wan Interface) provides edge-network services.. @return ApiDeleteKiwiRequest
func (*KiwiAPIService) DeleteKiwiExecute ¶
func (a *KiwiAPIService) DeleteKiwiExecute(r ApiDeleteKiwiRequest) (*http.Response, error)
Execute executes the request
func (*KiwiAPIService) ListKiwis ¶
func (a *KiwiAPIService) ListKiwis(ctx context.Context) ApiListKiwisRequest
ListKiwis Method for ListKiwis
Returns the IDs of Kiwi (Kowabunga Inner Wan Interface) provides edge-network services. objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListKiwisRequest
func (*KiwiAPIService) ListKiwisExecute ¶
func (a *KiwiAPIService) ListKiwisExecute(r ApiListKiwisRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*KiwiAPIService) ReadKiwi ¶
func (a *KiwiAPIService) ReadKiwi(ctx context.Context, kiwiId string) ApiReadKiwiRequest
ReadKiwi Method for ReadKiwi
Returns a Kiwi (Kowabunga Inner Wan Interface) provides edge-network services..
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kiwiId The ID of the Kiwi (Kowabunga Inner Wan Interface) provides edge-network services.. @return ApiReadKiwiRequest
func (*KiwiAPIService) ReadKiwiExecute ¶
func (a *KiwiAPIService) ReadKiwiExecute(r ApiReadKiwiRequest) (*Kiwi, *http.Response, error)
Execute executes the request
@return Kiwi
func (*KiwiAPIService) UpdateKiwi ¶
func (a *KiwiAPIService) UpdateKiwi(ctx context.Context, kiwiId string) ApiUpdateKiwiRequest
UpdateKiwi Method for UpdateKiwi
Updates a Kiwi (Kowabunga Inner Wan Interface) provides edge-network services. configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kiwiId The ID of the Kiwi (Kowabunga Inner Wan Interface) provides edge-network services.. @return ApiUpdateKiwiRequest
func (*KiwiAPIService) UpdateKiwiExecute ¶
func (a *KiwiAPIService) UpdateKiwiExecute(r ApiUpdateKiwiRequest) (*Kiwi, *http.Response, error)
Execute executes the request
@return Kiwi
type Kompute ¶
type Kompute struct { // The Kompute ID (auto-generated). Id *string `json:"id,omitempty"` // The Kompute name. Name string `json:"name"` // The Kompute description. Description *string `json:"description,omitempty"` // The Kompute memory size (in bytes). Memory int64 `json:"memory"` // The Kompute number of vCPUs. Vcpus int64 `json:"vcpus"` // The Kompute OS disk size (in bytes). Disk int64 `json:"disk"` // The Kompute extra data disk size (in bytes). If unspecified, no extra data disk will be assigned. DataDisk *int64 `json:"data_disk,omitempty"` // The Kompute assigned private IPv4 address (read-only). Ip *string `json:"ip,omitempty"` }
Kompute A Kompute is a wrapper object for bare virtual machines. It consists of an instance, one to several attached volumes and 2 network adapters (a private one, a public one). This is the prefered way for creating virtual machines. IP addresses will be automatically assigned.
func NewKompute ¶
NewKompute instantiates a new Kompute object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKomputeWithDefaults ¶
func NewKomputeWithDefaults() *Kompute
NewKomputeWithDefaults instantiates a new Kompute object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Kompute) GetDataDisk ¶
GetDataDisk returns the DataDisk field value if set, zero value otherwise.
func (*Kompute) GetDataDiskOk ¶
GetDataDiskOk returns a tuple with the DataDisk field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kompute) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Kompute) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kompute) GetDiskOk ¶
GetDiskOk returns a tuple with the Disk field value and a boolean to check if the value has been set.
func (*Kompute) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kompute) GetIpOk ¶
GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kompute) GetMemoryOk ¶
GetMemoryOk returns a tuple with the Memory field value and a boolean to check if the value has been set.
func (*Kompute) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Kompute) GetVcpusOk ¶
GetVcpusOk returns a tuple with the Vcpus field value and a boolean to check if the value has been set.
func (*Kompute) HasDataDisk ¶
HasDataDisk returns a boolean if a field has been set.
func (*Kompute) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (Kompute) MarshalJSON ¶
func (*Kompute) SetDataDisk ¶
SetDataDisk gets a reference to the given int64 and assigns it to the DataDisk field.
func (*Kompute) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Kompute) UnmarshalJSON ¶
type KomputeAPIService ¶
type KomputeAPIService service
KomputeAPIService KomputeAPI service
func (*KomputeAPIService) DeleteKompute ¶
func (a *KomputeAPIService) DeleteKompute(ctx context.Context, komputeId string) ApiDeleteKomputeRequest
DeleteKompute Method for DeleteKompute
Deletes an existing Kompute.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param komputeId The ID of the Kompute. @return ApiDeleteKomputeRequest
func (*KomputeAPIService) DeleteKomputeExecute ¶
func (a *KomputeAPIService) DeleteKomputeExecute(r ApiDeleteKomputeRequest) (*http.Response, error)
Execute executes the request
func (*KomputeAPIService) ListKomputes ¶
func (a *KomputeAPIService) ListKomputes(ctx context.Context) ApiListKomputesRequest
ListKomputes Method for ListKomputes
Returns the IDs of Kompute objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListKomputesRequest
func (*KomputeAPIService) ListKomputesExecute ¶
func (a *KomputeAPIService) ListKomputesExecute(r ApiListKomputesRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*KomputeAPIService) ReadKompute ¶
func (a *KomputeAPIService) ReadKompute(ctx context.Context, komputeId string) ApiReadKomputeRequest
ReadKompute Method for ReadKompute
Returns a Kompute.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param komputeId The ID of the Kompute. @return ApiReadKomputeRequest
func (*KomputeAPIService) ReadKomputeExecute ¶
func (a *KomputeAPIService) ReadKomputeExecute(r ApiReadKomputeRequest) (*Kompute, *http.Response, error)
Execute executes the request
@return Kompute
func (*KomputeAPIService) ReadKomputeState ¶
func (a *KomputeAPIService) ReadKomputeState(ctx context.Context, komputeId string) ApiReadKomputeStateRequest
ReadKomputeState Method for ReadKomputeState
Returns a virtual machine instance state.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param komputeId The ID of the Kompute. @return ApiReadKomputeStateRequest
func (*KomputeAPIService) ReadKomputeStateExecute ¶
func (a *KomputeAPIService) ReadKomputeStateExecute(r ApiReadKomputeStateRequest) (*InstanceState, *http.Response, error)
Execute executes the request
@return InstanceState
func (*KomputeAPIService) RebootKompute ¶
func (a *KomputeAPIService) RebootKompute(ctx context.Context, komputeId string) ApiRebootKomputeRequest
RebootKompute Method for RebootKompute
Performs a Kompute software reboot.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param komputeId The ID of the Kompute. @return ApiRebootKomputeRequest
func (*KomputeAPIService) RebootKomputeExecute ¶
func (a *KomputeAPIService) RebootKomputeExecute(r ApiRebootKomputeRequest) (*http.Response, error)
Execute executes the request
func (*KomputeAPIService) ResetKompute ¶
func (a *KomputeAPIService) ResetKompute(ctx context.Context, komputeId string) ApiResetKomputeRequest
ResetKompute Method for ResetKompute
Performs a Kompute hardware reset.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param komputeId The ID of the Kompute. @return ApiResetKomputeRequest
func (*KomputeAPIService) ResetKomputeExecute ¶
func (a *KomputeAPIService) ResetKomputeExecute(r ApiResetKomputeRequest) (*http.Response, error)
Execute executes the request
func (*KomputeAPIService) ResumeKompute ¶
func (a *KomputeAPIService) ResumeKompute(ctx context.Context, komputeId string) ApiResumeKomputeRequest
ResumeKompute Method for ResumeKompute
Performs a Kompute software PM resume.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param komputeId The ID of the Kompute. @return ApiResumeKomputeRequest
func (*KomputeAPIService) ResumeKomputeExecute ¶
func (a *KomputeAPIService) ResumeKomputeExecute(r ApiResumeKomputeRequest) (*http.Response, error)
Execute executes the request
func (*KomputeAPIService) ShutdownKompute ¶
func (a *KomputeAPIService) ShutdownKompute(ctx context.Context, komputeId string) ApiShutdownKomputeRequest
ShutdownKompute Method for ShutdownKompute
Performs a Kompute software shutdown.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param komputeId The ID of the Kompute. @return ApiShutdownKomputeRequest
func (*KomputeAPIService) ShutdownKomputeExecute ¶
func (a *KomputeAPIService) ShutdownKomputeExecute(r ApiShutdownKomputeRequest) (*http.Response, error)
Execute executes the request
func (*KomputeAPIService) StartKompute ¶
func (a *KomputeAPIService) StartKompute(ctx context.Context, komputeId string) ApiStartKomputeRequest
StartKompute Method for StartKompute
Performs a Kompute hardware boot-up.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param komputeId The ID of the Kompute. @return ApiStartKomputeRequest
func (*KomputeAPIService) StartKomputeExecute ¶
func (a *KomputeAPIService) StartKomputeExecute(r ApiStartKomputeRequest) (*http.Response, error)
Execute executes the request
func (*KomputeAPIService) StopKompute ¶
func (a *KomputeAPIService) StopKompute(ctx context.Context, komputeId string) ApiStopKomputeRequest
StopKompute Method for StopKompute
Performs a Kompute hardware stop.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param komputeId The ID of the Kompute. @return ApiStopKomputeRequest
func (*KomputeAPIService) StopKomputeExecute ¶
func (a *KomputeAPIService) StopKomputeExecute(r ApiStopKomputeRequest) (*http.Response, error)
Execute executes the request
func (*KomputeAPIService) SuspendKompute ¶
func (a *KomputeAPIService) SuspendKompute(ctx context.Context, komputeId string) ApiSuspendKomputeRequest
SuspendKompute Method for SuspendKompute
Performs a Kompute software PM suspend.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param komputeId The ID of the Kompute. @return ApiSuspendKomputeRequest
func (*KomputeAPIService) SuspendKomputeExecute ¶
func (a *KomputeAPIService) SuspendKomputeExecute(r ApiSuspendKomputeRequest) (*http.Response, error)
Execute executes the request
func (*KomputeAPIService) UpdateKompute ¶
func (a *KomputeAPIService) UpdateKompute(ctx context.Context, komputeId string) ApiUpdateKomputeRequest
UpdateKompute Method for UpdateKompute
Updates a Kompute configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param komputeId The ID of the Kompute. @return ApiUpdateKomputeRequest
func (*KomputeAPIService) UpdateKomputeExecute ¶
func (a *KomputeAPIService) UpdateKomputeExecute(r ApiUpdateKomputeRequest) (*Kompute, *http.Response, error)
Execute executes the request
@return Kompute
type Konvey ¶
type Konvey struct { // The Konvey (Kowabunga Network Load-Balancer) ID (auto-generated). Id *string `json:"id,omitempty"` // The Konvey (Kowabunga Network Load-Balancer) name. Name *string `json:"name,omitempty"` // The Konvey (Kowabunga Network Load-Balancer) description. Description *string `json:"description,omitempty"` // The Konvey (Kowabunga Network Load-Balancer) assigned private virtual IP address (read-only). Vip *string `json:"vip,omitempty"` // Whether Konvey (Kowabunga Network Load-Balancer) must be deployed in a highly-available replicated state to support service failover. Failover *bool `json:"failover,omitempty"` // The Konvey (Kowabunga Network Load-Balancer) list of load-balanced endpoints. Endpoints []KonveyEndpoint `json:"endpoints"` }
Konvey A Kowabunga Konvey is a layer-4 network load-balancer used to distribute service requests to associated backend instances.
func NewKonvey ¶
func NewKonvey(endpoints []KonveyEndpoint) *Konvey
NewKonvey instantiates a new Konvey object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKonveyWithDefaults ¶
func NewKonveyWithDefaults() *Konvey
NewKonveyWithDefaults instantiates a new Konvey object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Konvey) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Konvey) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Konvey) GetEndpoints ¶
func (o *Konvey) GetEndpoints() []KonveyEndpoint
GetEndpoints returns the Endpoints field value
func (*Konvey) GetEndpointsOk ¶
func (o *Konvey) GetEndpointsOk() ([]KonveyEndpoint, bool)
GetEndpointsOk returns a tuple with the Endpoints field value and a boolean to check if the value has been set.
func (*Konvey) GetFailover ¶
GetFailover returns the Failover field value if set, zero value otherwise.
func (*Konvey) GetFailoverOk ¶
GetFailoverOk returns a tuple with the Failover field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Konvey) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Konvey) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Konvey) GetVipOk ¶
GetVipOk returns a tuple with the Vip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Konvey) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Konvey) HasFailover ¶
HasFailover returns a boolean if a field has been set.
func (Konvey) MarshalJSON ¶
func (*Konvey) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Konvey) SetEndpoints ¶
func (o *Konvey) SetEndpoints(v []KonveyEndpoint)
SetEndpoints sets field value
func (*Konvey) SetFailover ¶
SetFailover gets a reference to the given bool and assigns it to the Failover field.
func (*Konvey) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Konvey) SetVip ¶
SetVip gets a reference to the given string and assigns it to the Vip field.
func (*Konvey) UnmarshalJSON ¶
type KonveyAPIService ¶
type KonveyAPIService service
KonveyAPIService KonveyAPI service
func (*KonveyAPIService) DeleteKonvey ¶
func (a *KonveyAPIService) DeleteKonvey(ctx context.Context, konveyId string) ApiDeleteKonveyRequest
DeleteKonvey Method for DeleteKonvey
Deletes an existing Konvey (Kowabunga Network Load-Balancer).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param konveyId The ID of the Konvey (Kowabunga Network Load-Balancer). @return ApiDeleteKonveyRequest
func (*KonveyAPIService) DeleteKonveyExecute ¶
func (a *KonveyAPIService) DeleteKonveyExecute(r ApiDeleteKonveyRequest) (*http.Response, error)
Execute executes the request
func (*KonveyAPIService) ListKonveys ¶
func (a *KonveyAPIService) ListKonveys(ctx context.Context) ApiListKonveysRequest
ListKonveys Method for ListKonveys
Returns the IDs of Konvey (Kowabunga Network Load-Balancer) objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListKonveysRequest
func (*KonveyAPIService) ListKonveysExecute ¶
func (a *KonveyAPIService) ListKonveysExecute(r ApiListKonveysRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*KonveyAPIService) ReadKonvey ¶
func (a *KonveyAPIService) ReadKonvey(ctx context.Context, konveyId string) ApiReadKonveyRequest
ReadKonvey Method for ReadKonvey
Returns a Konvey (Kowabunga Network Load-Balancer).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param konveyId The ID of the Konvey (Kowabunga Network Load-Balancer). @return ApiReadKonveyRequest
func (*KonveyAPIService) ReadKonveyExecute ¶
func (a *KonveyAPIService) ReadKonveyExecute(r ApiReadKonveyRequest) (*Konvey, *http.Response, error)
Execute executes the request
@return Konvey
func (*KonveyAPIService) UpdateKonvey ¶
func (a *KonveyAPIService) UpdateKonvey(ctx context.Context, konveyId string) ApiUpdateKonveyRequest
UpdateKonvey Method for UpdateKonvey
Updates a Konvey (Kowabunga Network Load-Balancer) configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param konveyId The ID of the Konvey (Kowabunga Network Load-Balancer). @return ApiUpdateKonveyRequest
func (*KonveyAPIService) UpdateKonveyExecute ¶
func (a *KonveyAPIService) UpdateKonveyExecute(r ApiUpdateKonveyRequest) (*Konvey, *http.Response, error)
Execute executes the request
@return Konvey
type KonveyBackends ¶
type KonveyBackends struct { // The Konvey (Kowabunga Network Load-Balancer) endpoint list of load-balanced backend hosts. Hosts []string `json:"hosts"` // The Konvey (Kowabunga Network Load-Balancer) endpoint backend service port. Port int64 `json:"port"` }
KonveyBackends A Konvey Backends settings.
func NewKonveyBackends ¶
func NewKonveyBackends(hosts []string, port int64) *KonveyBackends
NewKonveyBackends instantiates a new KonveyBackends object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKonveyBackendsWithDefaults ¶
func NewKonveyBackendsWithDefaults() *KonveyBackends
NewKonveyBackendsWithDefaults instantiates a new KonveyBackends object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KonveyBackends) GetHosts ¶
func (o *KonveyBackends) GetHosts() []string
GetHosts returns the Hosts field value
func (*KonveyBackends) GetHostsOk ¶
func (o *KonveyBackends) GetHostsOk() ([]string, bool)
GetHostsOk returns a tuple with the Hosts field value and a boolean to check if the value has been set.
func (*KonveyBackends) GetPort ¶
func (o *KonveyBackends) GetPort() int64
GetPort returns the Port field value
func (*KonveyBackends) GetPortOk ¶
func (o *KonveyBackends) GetPortOk() (*int64, bool)
GetPortOk returns a tuple with the Port field value and a boolean to check if the value has been set.
func (KonveyBackends) MarshalJSON ¶
func (o KonveyBackends) MarshalJSON() ([]byte, error)
func (*KonveyBackends) SetHosts ¶
func (o *KonveyBackends) SetHosts(v []string)
SetHosts sets field value
func (KonveyBackends) ToMap ¶
func (o KonveyBackends) ToMap() (map[string]interface{}, error)
func (*KonveyBackends) UnmarshalJSON ¶
func (o *KonveyBackends) UnmarshalJSON(data []byte) (err error)
type KonveyEndpoint ¶
type KonveyEndpoint struct { // The Konvey (Kowabunga Network Load-Balancer) endpoint name. Name string `json:"name"` // The port to be exposed. Port int64 `json:"port"` // The transport layer protocol to be exposed. Protocol string `json:"protocol"` // The Konvey (Kowabunga Network Load-Balancer) list of load-balanced backends. Backends KonveyBackends `json:"backends"` }
KonveyEndpoint A Konvey Endpoint Service settings.
func NewKonveyEndpoint ¶
func NewKonveyEndpoint(name string, port int64, protocol string, backends KonveyBackends) *KonveyEndpoint
NewKonveyEndpoint instantiates a new KonveyEndpoint object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKonveyEndpointWithDefaults ¶
func NewKonveyEndpointWithDefaults() *KonveyEndpoint
NewKonveyEndpointWithDefaults instantiates a new KonveyEndpoint object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KonveyEndpoint) GetBackends ¶
func (o *KonveyEndpoint) GetBackends() KonveyBackends
GetBackends returns the Backends field value
func (*KonveyEndpoint) GetBackendsOk ¶
func (o *KonveyEndpoint) GetBackendsOk() (KonveyBackends, bool)
GetBackendsOk returns a tuple with the Backends field value and a boolean to check if the value has been set.
func (*KonveyEndpoint) GetName ¶
func (o *KonveyEndpoint) GetName() string
GetName returns the Name field value
func (*KonveyEndpoint) GetNameOk ¶
func (o *KonveyEndpoint) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*KonveyEndpoint) GetPort ¶
func (o *KonveyEndpoint) GetPort() int64
GetPort returns the Port field value
func (*KonveyEndpoint) GetPortOk ¶
func (o *KonveyEndpoint) GetPortOk() (*int64, bool)
GetPortOk returns a tuple with the Port field value and a boolean to check if the value has been set.
func (*KonveyEndpoint) GetProtocol ¶
func (o *KonveyEndpoint) GetProtocol() string
GetProtocol returns the Protocol field value
func (*KonveyEndpoint) GetProtocolOk ¶
func (o *KonveyEndpoint) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value and a boolean to check if the value has been set.
func (KonveyEndpoint) MarshalJSON ¶
func (o KonveyEndpoint) MarshalJSON() ([]byte, error)
func (*KonveyEndpoint) SetBackends ¶
func (o *KonveyEndpoint) SetBackends(v KonveyBackends)
SetBackends sets field value
func (*KonveyEndpoint) SetName ¶
func (o *KonveyEndpoint) SetName(v string)
SetName sets field value
func (*KonveyEndpoint) SetProtocol ¶
func (o *KonveyEndpoint) SetProtocol(v string)
SetProtocol sets field value
func (KonveyEndpoint) ToMap ¶
func (o KonveyEndpoint) ToMap() (map[string]interface{}, error)
func (*KonveyEndpoint) UnmarshalJSON ¶
func (o *KonveyEndpoint) UnmarshalJSON(data []byte) (err error)
type Kylo ¶
type Kylo struct { // The Kylo ID (auto-generated). Id *string `json:"id,omitempty"` // The Kylo name. Name string `json:"name"` // The Kylo description. Description *string `json:"description,omitempty"` // The Kylo volume access type. Access *string `json:"access,omitempty"` // The Kylo NFS protocol versions to be supported. Protocols []int32 `json:"protocols,omitempty"` // The Kylo endpoint FQDN (read-only). Endpoint *string `json:"endpoint,omitempty"` // The Kylo volume bytes used (read-only). Size *int64 `json:"size,omitempty"` }
Kylo A Kylo provides an elastic NFS-like remote storage volume.
func NewKylo ¶
NewKylo instantiates a new Kylo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKyloWithDefaults ¶
func NewKyloWithDefaults() *Kylo
NewKyloWithDefaults instantiates a new Kylo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Kylo) GetAccessOk ¶
GetAccessOk returns a tuple with the Access field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kylo) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Kylo) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kylo) GetEndpoint ¶
GetEndpoint returns the Endpoint field value if set, zero value otherwise.
func (*Kylo) GetEndpointOk ¶
GetEndpointOk returns a tuple with the Endpoint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kylo) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kylo) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Kylo) GetProtocols ¶
GetProtocols returns the Protocols field value if set, zero value otherwise.
func (*Kylo) GetProtocolsOk ¶
GetProtocolsOk returns a tuple with the Protocols field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kylo) GetSizeOk ¶
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kylo) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Kylo) HasEndpoint ¶
HasEndpoint returns a boolean if a field has been set.
func (*Kylo) HasProtocols ¶
HasProtocols returns a boolean if a field has been set.
func (Kylo) MarshalJSON ¶
func (*Kylo) SetAccess ¶
SetAccess gets a reference to the given string and assigns it to the Access field.
func (*Kylo) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Kylo) SetEndpoint ¶
SetEndpoint gets a reference to the given string and assigns it to the Endpoint field.
func (*Kylo) SetProtocols ¶
SetProtocols gets a reference to the given []int32 and assigns it to the Protocols field.
func (*Kylo) SetSize ¶
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*Kylo) UnmarshalJSON ¶
type KyloAPIService ¶
type KyloAPIService service
KyloAPIService KyloAPI service
func (*KyloAPIService) DeleteKylo ¶
func (a *KyloAPIService) DeleteKylo(ctx context.Context, kyloId string) ApiDeleteKyloRequest
DeleteKylo Method for DeleteKylo
Deletes an existing Kylo.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kyloId The ID of the Kylo. @return ApiDeleteKyloRequest
func (*KyloAPIService) DeleteKyloExecute ¶
func (a *KyloAPIService) DeleteKyloExecute(r ApiDeleteKyloRequest) (*http.Response, error)
Execute executes the request
func (*KyloAPIService) ListKylos ¶
func (a *KyloAPIService) ListKylos(ctx context.Context) ApiListKylosRequest
ListKylos Method for ListKylos
Returns the IDs of Kylo objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListKylosRequest
func (*KyloAPIService) ListKylosExecute ¶
func (a *KyloAPIService) ListKylosExecute(r ApiListKylosRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*KyloAPIService) ReadKylo ¶
func (a *KyloAPIService) ReadKylo(ctx context.Context, kyloId string) ApiReadKyloRequest
ReadKylo Method for ReadKylo
Returns a Kylo.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kyloId The ID of the Kylo. @return ApiReadKyloRequest
func (*KyloAPIService) ReadKyloExecute ¶
func (a *KyloAPIService) ReadKyloExecute(r ApiReadKyloRequest) (*Kylo, *http.Response, error)
Execute executes the request
@return Kylo
func (*KyloAPIService) UpdateKylo ¶
func (a *KyloAPIService) UpdateKylo(ctx context.Context, kyloId string) ApiUpdateKyloRequest
UpdateKylo Method for UpdateKylo
Updates a Kylo configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kyloId The ID of the Kylo. @return ApiUpdateKyloRequest
func (*KyloAPIService) UpdateKyloExecute ¶
func (a *KyloAPIService) UpdateKyloExecute(r ApiUpdateKyloRequest) (*Kylo, *http.Response, error)
Execute executes the request
@return Kylo
type MappedNullable ¶
type Metadata ¶
type Metadata struct { // The metadata key. Key string `json:"key"` // The metadata value. Value string `json:"value"` }
Metadata A key/value metadata.
func NewMetadata ¶
NewMetadata instantiates a new Metadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMetadataWithDefaults ¶
func NewMetadataWithDefaults() *Metadata
NewMetadataWithDefaults instantiates a new Metadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Metadata) GetKeyOk ¶
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*Metadata) GetValueOk ¶
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (Metadata) MarshalJSON ¶
func (*Metadata) UnmarshalJSON ¶
type NfsAPIService ¶
type NfsAPIService service
NfsAPIService NfsAPI service
func (*NfsAPIService) DeleteStorageNFS ¶
func (a *NfsAPIService) DeleteStorageNFS(ctx context.Context, nfsId string) ApiDeleteStorageNFSRequest
DeleteStorageNFS Method for DeleteStorageNFS
Deletes an existing NFS storage.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param nfsId The ID of the NFS storage. @return ApiDeleteStorageNFSRequest
func (*NfsAPIService) DeleteStorageNFSExecute ¶
func (a *NfsAPIService) DeleteStorageNFSExecute(r ApiDeleteStorageNFSRequest) (*http.Response, error)
Execute executes the request
func (*NfsAPIService) ListStorageNFSKylos ¶
func (a *NfsAPIService) ListStorageNFSKylos(ctx context.Context, nfsId string) ApiListStorageNFSKylosRequest
ListStorageNFSKylos Method for ListStorageNFSKylos
Returns the IDs of Kylo objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param nfsId The ID of the NFS storage. @return ApiListStorageNFSKylosRequest
func (*NfsAPIService) ListStorageNFSKylosExecute ¶
func (a *NfsAPIService) ListStorageNFSKylosExecute(r ApiListStorageNFSKylosRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*NfsAPIService) ListStorageNFSs ¶
func (a *NfsAPIService) ListStorageNFSs(ctx context.Context) ApiListStorageNFSsRequest
ListStorageNFSs Method for ListStorageNFSs
Returns the IDs of NFS storage objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListStorageNFSsRequest
func (*NfsAPIService) ListStorageNFSsExecute ¶
func (a *NfsAPIService) ListStorageNFSsExecute(r ApiListStorageNFSsRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*NfsAPIService) ReadStorageNFS ¶
func (a *NfsAPIService) ReadStorageNFS(ctx context.Context, nfsId string) ApiReadStorageNFSRequest
ReadStorageNFS Method for ReadStorageNFS
Returns a NFS storage.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param nfsId The ID of the NFS storage. @return ApiReadStorageNFSRequest
func (*NfsAPIService) ReadStorageNFSExecute ¶
func (a *NfsAPIService) ReadStorageNFSExecute(r ApiReadStorageNFSRequest) (*StorageNFS, *http.Response, error)
Execute executes the request
@return StorageNFS
func (*NfsAPIService) UpdateStorageNFS ¶
func (a *NfsAPIService) UpdateStorageNFS(ctx context.Context, nfsId string) ApiUpdateStorageNFSRequest
UpdateStorageNFS Method for UpdateStorageNFS
Updates a NFS storage configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param nfsId The ID of the NFS storage. @return ApiUpdateStorageNFSRequest
func (*NfsAPIService) UpdateStorageNFSExecute ¶
func (a *NfsAPIService) UpdateStorageNFSExecute(r ApiUpdateStorageNFSRequest) (*StorageNFS, *http.Response, error)
Execute executes the request
@return StorageNFS
type NullableAdapter ¶
type NullableAdapter struct {
// contains filtered or unexported fields
}
func NewNullableAdapter ¶
func NewNullableAdapter(val *Adapter) *NullableAdapter
func (NullableAdapter) Get ¶
func (v NullableAdapter) Get() *Adapter
func (NullableAdapter) IsSet ¶
func (v NullableAdapter) IsSet() bool
func (NullableAdapter) MarshalJSON ¶
func (v NullableAdapter) MarshalJSON() ([]byte, error)
func (*NullableAdapter) Set ¶
func (v *NullableAdapter) Set(val *Adapter)
func (*NullableAdapter) UnmarshalJSON ¶
func (v *NullableAdapter) UnmarshalJSON(src []byte) error
func (*NullableAdapter) Unset ¶
func (v *NullableAdapter) Unset()
type NullableAgent ¶
type NullableAgent struct {
// contains filtered or unexported fields
}
func NewNullableAgent ¶
func NewNullableAgent(val *Agent) *NullableAgent
func (NullableAgent) Get ¶
func (v NullableAgent) Get() *Agent
func (NullableAgent) IsSet ¶
func (v NullableAgent) IsSet() bool
func (NullableAgent) MarshalJSON ¶
func (v NullableAgent) MarshalJSON() ([]byte, error)
func (*NullableAgent) Set ¶
func (v *NullableAgent) Set(val *Agent)
func (*NullableAgent) UnmarshalJSON ¶
func (v *NullableAgent) UnmarshalJSON(src []byte) error
func (*NullableAgent) Unset ¶
func (v *NullableAgent) Unset()
type NullableApiErrorBadRequest ¶
type NullableApiErrorBadRequest struct {
// contains filtered or unexported fields
}
func NewNullableApiErrorBadRequest ¶
func NewNullableApiErrorBadRequest(val *ApiErrorBadRequest) *NullableApiErrorBadRequest
func (NullableApiErrorBadRequest) Get ¶
func (v NullableApiErrorBadRequest) Get() *ApiErrorBadRequest
func (NullableApiErrorBadRequest) IsSet ¶
func (v NullableApiErrorBadRequest) IsSet() bool
func (NullableApiErrorBadRequest) MarshalJSON ¶
func (v NullableApiErrorBadRequest) MarshalJSON() ([]byte, error)
func (*NullableApiErrorBadRequest) Set ¶
func (v *NullableApiErrorBadRequest) Set(val *ApiErrorBadRequest)
func (*NullableApiErrorBadRequest) UnmarshalJSON ¶
func (v *NullableApiErrorBadRequest) UnmarshalJSON(src []byte) error
func (*NullableApiErrorBadRequest) Unset ¶
func (v *NullableApiErrorBadRequest) Unset()
type NullableApiErrorConflict ¶
type NullableApiErrorConflict struct {
// contains filtered or unexported fields
}
func NewNullableApiErrorConflict ¶
func NewNullableApiErrorConflict(val *ApiErrorConflict) *NullableApiErrorConflict
func (NullableApiErrorConflict) Get ¶
func (v NullableApiErrorConflict) Get() *ApiErrorConflict
func (NullableApiErrorConflict) IsSet ¶
func (v NullableApiErrorConflict) IsSet() bool
func (NullableApiErrorConflict) MarshalJSON ¶
func (v NullableApiErrorConflict) MarshalJSON() ([]byte, error)
func (*NullableApiErrorConflict) Set ¶
func (v *NullableApiErrorConflict) Set(val *ApiErrorConflict)
func (*NullableApiErrorConflict) UnmarshalJSON ¶
func (v *NullableApiErrorConflict) UnmarshalJSON(src []byte) error
func (*NullableApiErrorConflict) Unset ¶
func (v *NullableApiErrorConflict) Unset()
type NullableApiErrorForbidden ¶
type NullableApiErrorForbidden struct {
// contains filtered or unexported fields
}
func NewNullableApiErrorForbidden ¶
func NewNullableApiErrorForbidden(val *ApiErrorForbidden) *NullableApiErrorForbidden
func (NullableApiErrorForbidden) Get ¶
func (v NullableApiErrorForbidden) Get() *ApiErrorForbidden
func (NullableApiErrorForbidden) IsSet ¶
func (v NullableApiErrorForbidden) IsSet() bool
func (NullableApiErrorForbidden) MarshalJSON ¶
func (v NullableApiErrorForbidden) MarshalJSON() ([]byte, error)
func (*NullableApiErrorForbidden) Set ¶
func (v *NullableApiErrorForbidden) Set(val *ApiErrorForbidden)
func (*NullableApiErrorForbidden) UnmarshalJSON ¶
func (v *NullableApiErrorForbidden) UnmarshalJSON(src []byte) error
func (*NullableApiErrorForbidden) Unset ¶
func (v *NullableApiErrorForbidden) Unset()
type NullableApiErrorInsufficientResource ¶ added in v0.52.5
type NullableApiErrorInsufficientResource struct {
// contains filtered or unexported fields
}
func NewNullableApiErrorInsufficientResource ¶ added in v0.52.5
func NewNullableApiErrorInsufficientResource(val *ApiErrorInsufficientResource) *NullableApiErrorInsufficientResource
func (NullableApiErrorInsufficientResource) Get ¶ added in v0.52.5
func (v NullableApiErrorInsufficientResource) Get() *ApiErrorInsufficientResource
func (NullableApiErrorInsufficientResource) IsSet ¶ added in v0.52.5
func (v NullableApiErrorInsufficientResource) IsSet() bool
func (NullableApiErrorInsufficientResource) MarshalJSON ¶ added in v0.52.5
func (v NullableApiErrorInsufficientResource) MarshalJSON() ([]byte, error)
func (*NullableApiErrorInsufficientResource) Set ¶ added in v0.52.5
func (v *NullableApiErrorInsufficientResource) Set(val *ApiErrorInsufficientResource)
func (*NullableApiErrorInsufficientResource) UnmarshalJSON ¶ added in v0.52.5
func (v *NullableApiErrorInsufficientResource) UnmarshalJSON(src []byte) error
func (*NullableApiErrorInsufficientResource) Unset ¶ added in v0.52.5
func (v *NullableApiErrorInsufficientResource) Unset()
type NullableApiErrorNotFound ¶
type NullableApiErrorNotFound struct {
// contains filtered or unexported fields
}
func NewNullableApiErrorNotFound ¶
func NewNullableApiErrorNotFound(val *ApiErrorNotFound) *NullableApiErrorNotFound
func (NullableApiErrorNotFound) Get ¶
func (v NullableApiErrorNotFound) Get() *ApiErrorNotFound
func (NullableApiErrorNotFound) IsSet ¶
func (v NullableApiErrorNotFound) IsSet() bool
func (NullableApiErrorNotFound) MarshalJSON ¶
func (v NullableApiErrorNotFound) MarshalJSON() ([]byte, error)
func (*NullableApiErrorNotFound) Set ¶
func (v *NullableApiErrorNotFound) Set(val *ApiErrorNotFound)
func (*NullableApiErrorNotFound) UnmarshalJSON ¶
func (v *NullableApiErrorNotFound) UnmarshalJSON(src []byte) error
func (*NullableApiErrorNotFound) Unset ¶
func (v *NullableApiErrorNotFound) Unset()
type NullableApiErrorUnauthorized ¶
type NullableApiErrorUnauthorized struct {
// contains filtered or unexported fields
}
func NewNullableApiErrorUnauthorized ¶
func NewNullableApiErrorUnauthorized(val *ApiErrorUnauthorized) *NullableApiErrorUnauthorized
func (NullableApiErrorUnauthorized) Get ¶
func (v NullableApiErrorUnauthorized) Get() *ApiErrorUnauthorized
func (NullableApiErrorUnauthorized) IsSet ¶
func (v NullableApiErrorUnauthorized) IsSet() bool
func (NullableApiErrorUnauthorized) MarshalJSON ¶
func (v NullableApiErrorUnauthorized) MarshalJSON() ([]byte, error)
func (*NullableApiErrorUnauthorized) Set ¶
func (v *NullableApiErrorUnauthorized) Set(val *ApiErrorUnauthorized)
func (*NullableApiErrorUnauthorized) UnmarshalJSON ¶
func (v *NullableApiErrorUnauthorized) UnmarshalJSON(src []byte) error
func (*NullableApiErrorUnauthorized) Unset ¶
func (v *NullableApiErrorUnauthorized) Unset()
type NullableApiErrorUnprocessableEntity ¶
type NullableApiErrorUnprocessableEntity struct {
// contains filtered or unexported fields
}
func NewNullableApiErrorUnprocessableEntity ¶
func NewNullableApiErrorUnprocessableEntity(val *ApiErrorUnprocessableEntity) *NullableApiErrorUnprocessableEntity
func (NullableApiErrorUnprocessableEntity) Get ¶
func (v NullableApiErrorUnprocessableEntity) Get() *ApiErrorUnprocessableEntity
func (NullableApiErrorUnprocessableEntity) IsSet ¶
func (v NullableApiErrorUnprocessableEntity) IsSet() bool
func (NullableApiErrorUnprocessableEntity) MarshalJSON ¶
func (v NullableApiErrorUnprocessableEntity) MarshalJSON() ([]byte, error)
func (*NullableApiErrorUnprocessableEntity) Set ¶
func (v *NullableApiErrorUnprocessableEntity) Set(val *ApiErrorUnprocessableEntity)
func (*NullableApiErrorUnprocessableEntity) UnmarshalJSON ¶
func (v *NullableApiErrorUnprocessableEntity) UnmarshalJSON(src []byte) error
func (*NullableApiErrorUnprocessableEntity) Unset ¶
func (v *NullableApiErrorUnprocessableEntity) Unset()
type NullableApiToken ¶
type NullableApiToken struct {
// contains filtered or unexported fields
}
func NewNullableApiToken ¶
func NewNullableApiToken(val *ApiToken) *NullableApiToken
func (NullableApiToken) Get ¶
func (v NullableApiToken) Get() *ApiToken
func (NullableApiToken) IsSet ¶
func (v NullableApiToken) IsSet() bool
func (NullableApiToken) MarshalJSON ¶
func (v NullableApiToken) MarshalJSON() ([]byte, error)
func (*NullableApiToken) Set ¶
func (v *NullableApiToken) Set(val *ApiToken)
func (*NullableApiToken) UnmarshalJSON ¶
func (v *NullableApiToken) UnmarshalJSON(src []byte) error
func (*NullableApiToken) Unset ¶
func (v *NullableApiToken) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCost ¶
type NullableCost struct {
// contains filtered or unexported fields
}
func NewNullableCost ¶
func NewNullableCost(val *Cost) *NullableCost
func (NullableCost) Get ¶
func (v NullableCost) Get() *Cost
func (NullableCost) IsSet ¶
func (v NullableCost) IsSet() bool
func (NullableCost) MarshalJSON ¶
func (v NullableCost) MarshalJSON() ([]byte, error)
func (*NullableCost) Set ¶
func (v *NullableCost) Set(val *Cost)
func (*NullableCost) UnmarshalJSON ¶
func (v *NullableCost) UnmarshalJSON(src []byte) error
func (*NullableCost) Unset ¶
func (v *NullableCost) Unset()
type NullableDnsRecord ¶
type NullableDnsRecord struct {
// contains filtered or unexported fields
}
func NewNullableDnsRecord ¶
func NewNullableDnsRecord(val *DnsRecord) *NullableDnsRecord
func (NullableDnsRecord) Get ¶
func (v NullableDnsRecord) Get() *DnsRecord
func (NullableDnsRecord) IsSet ¶
func (v NullableDnsRecord) IsSet() bool
func (NullableDnsRecord) MarshalJSON ¶
func (v NullableDnsRecord) MarshalJSON() ([]byte, error)
func (*NullableDnsRecord) Set ¶
func (v *NullableDnsRecord) Set(val *DnsRecord)
func (*NullableDnsRecord) UnmarshalJSON ¶
func (v *NullableDnsRecord) UnmarshalJSON(src []byte) error
func (*NullableDnsRecord) Unset ¶
func (v *NullableDnsRecord) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInstance ¶
type NullableInstance struct {
// contains filtered or unexported fields
}
func NewNullableInstance ¶
func NewNullableInstance(val *Instance) *NullableInstance
func (NullableInstance) Get ¶
func (v NullableInstance) Get() *Instance
func (NullableInstance) IsSet ¶
func (v NullableInstance) IsSet() bool
func (NullableInstance) MarshalJSON ¶
func (v NullableInstance) MarshalJSON() ([]byte, error)
func (*NullableInstance) Set ¶
func (v *NullableInstance) Set(val *Instance)
func (*NullableInstance) UnmarshalJSON ¶
func (v *NullableInstance) UnmarshalJSON(src []byte) error
func (*NullableInstance) Unset ¶
func (v *NullableInstance) Unset()
type NullableInstanceRemoteAccess ¶
type NullableInstanceRemoteAccess struct {
// contains filtered or unexported fields
}
func NewNullableInstanceRemoteAccess ¶
func NewNullableInstanceRemoteAccess(val *InstanceRemoteAccess) *NullableInstanceRemoteAccess
func (NullableInstanceRemoteAccess) Get ¶
func (v NullableInstanceRemoteAccess) Get() *InstanceRemoteAccess
func (NullableInstanceRemoteAccess) IsSet ¶
func (v NullableInstanceRemoteAccess) IsSet() bool
func (NullableInstanceRemoteAccess) MarshalJSON ¶
func (v NullableInstanceRemoteAccess) MarshalJSON() ([]byte, error)
func (*NullableInstanceRemoteAccess) Set ¶
func (v *NullableInstanceRemoteAccess) Set(val *InstanceRemoteAccess)
func (*NullableInstanceRemoteAccess) UnmarshalJSON ¶
func (v *NullableInstanceRemoteAccess) UnmarshalJSON(src []byte) error
func (*NullableInstanceRemoteAccess) Unset ¶
func (v *NullableInstanceRemoteAccess) Unset()
type NullableInstanceState ¶
type NullableInstanceState struct {
// contains filtered or unexported fields
}
func NewNullableInstanceState ¶
func NewNullableInstanceState(val *InstanceState) *NullableInstanceState
func (NullableInstanceState) Get ¶
func (v NullableInstanceState) Get() *InstanceState
func (NullableInstanceState) IsSet ¶
func (v NullableInstanceState) IsSet() bool
func (NullableInstanceState) MarshalJSON ¶
func (v NullableInstanceState) MarshalJSON() ([]byte, error)
func (*NullableInstanceState) Set ¶
func (v *NullableInstanceState) Set(val *InstanceState)
func (*NullableInstanceState) UnmarshalJSON ¶
func (v *NullableInstanceState) UnmarshalJSON(src []byte) error
func (*NullableInstanceState) Unset ¶
func (v *NullableInstanceState) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableIpRange ¶
type NullableIpRange struct {
// contains filtered or unexported fields
}
func NewNullableIpRange ¶
func NewNullableIpRange(val *IpRange) *NullableIpRange
func (NullableIpRange) Get ¶
func (v NullableIpRange) Get() *IpRange
func (NullableIpRange) IsSet ¶
func (v NullableIpRange) IsSet() bool
func (NullableIpRange) MarshalJSON ¶
func (v NullableIpRange) MarshalJSON() ([]byte, error)
func (*NullableIpRange) Set ¶
func (v *NullableIpRange) Set(val *IpRange)
func (*NullableIpRange) UnmarshalJSON ¶
func (v *NullableIpRange) UnmarshalJSON(src []byte) error
func (*NullableIpRange) Unset ¶
func (v *NullableIpRange) Unset()
type NullableKaktus ¶
type NullableKaktus struct {
// contains filtered or unexported fields
}
func NewNullableKaktus ¶
func NewNullableKaktus(val *Kaktus) *NullableKaktus
func (NullableKaktus) Get ¶
func (v NullableKaktus) Get() *Kaktus
func (NullableKaktus) IsSet ¶
func (v NullableKaktus) IsSet() bool
func (NullableKaktus) MarshalJSON ¶
func (v NullableKaktus) MarshalJSON() ([]byte, error)
func (*NullableKaktus) Set ¶
func (v *NullableKaktus) Set(val *Kaktus)
func (*NullableKaktus) UnmarshalJSON ¶
func (v *NullableKaktus) UnmarshalJSON(src []byte) error
func (*NullableKaktus) Unset ¶
func (v *NullableKaktus) Unset()
type NullableKaktusCPU ¶
type NullableKaktusCPU struct {
// contains filtered or unexported fields
}
func NewNullableKaktusCPU ¶
func NewNullableKaktusCPU(val *KaktusCPU) *NullableKaktusCPU
func (NullableKaktusCPU) Get ¶
func (v NullableKaktusCPU) Get() *KaktusCPU
func (NullableKaktusCPU) IsSet ¶
func (v NullableKaktusCPU) IsSet() bool
func (NullableKaktusCPU) MarshalJSON ¶
func (v NullableKaktusCPU) MarshalJSON() ([]byte, error)
func (*NullableKaktusCPU) Set ¶
func (v *NullableKaktusCPU) Set(val *KaktusCPU)
func (*NullableKaktusCPU) UnmarshalJSON ¶
func (v *NullableKaktusCPU) UnmarshalJSON(src []byte) error
func (*NullableKaktusCPU) Unset ¶
func (v *NullableKaktusCPU) Unset()
type NullableKaktusCaps ¶
type NullableKaktusCaps struct {
// contains filtered or unexported fields
}
func NewNullableKaktusCaps ¶
func NewNullableKaktusCaps(val *KaktusCaps) *NullableKaktusCaps
func (NullableKaktusCaps) Get ¶
func (v NullableKaktusCaps) Get() *KaktusCaps
func (NullableKaktusCaps) IsSet ¶
func (v NullableKaktusCaps) IsSet() bool
func (NullableKaktusCaps) MarshalJSON ¶
func (v NullableKaktusCaps) MarshalJSON() ([]byte, error)
func (*NullableKaktusCaps) Set ¶
func (v *NullableKaktusCaps) Set(val *KaktusCaps)
func (*NullableKaktusCaps) UnmarshalJSON ¶
func (v *NullableKaktusCaps) UnmarshalJSON(src []byte) error
func (*NullableKaktusCaps) Unset ¶
func (v *NullableKaktusCaps) Unset()
type NullableKawaii ¶
type NullableKawaii struct {
// contains filtered or unexported fields
}
func NewNullableKawaii ¶
func NewNullableKawaii(val *Kawaii) *NullableKawaii
func (NullableKawaii) Get ¶
func (v NullableKawaii) Get() *Kawaii
func (NullableKawaii) IsSet ¶
func (v NullableKawaii) IsSet() bool
func (NullableKawaii) MarshalJSON ¶
func (v NullableKawaii) MarshalJSON() ([]byte, error)
func (*NullableKawaii) Set ¶
func (v *NullableKawaii) Set(val *Kawaii)
func (*NullableKawaii) UnmarshalJSON ¶
func (v *NullableKawaii) UnmarshalJSON(src []byte) error
func (*NullableKawaii) Unset ¶
func (v *NullableKawaii) Unset()
type NullableKawaiiDNatRule ¶
type NullableKawaiiDNatRule struct {
// contains filtered or unexported fields
}
func NewNullableKawaiiDNatRule ¶
func NewNullableKawaiiDNatRule(val *KawaiiDNatRule) *NullableKawaiiDNatRule
func (NullableKawaiiDNatRule) Get ¶
func (v NullableKawaiiDNatRule) Get() *KawaiiDNatRule
func (NullableKawaiiDNatRule) IsSet ¶
func (v NullableKawaiiDNatRule) IsSet() bool
func (NullableKawaiiDNatRule) MarshalJSON ¶
func (v NullableKawaiiDNatRule) MarshalJSON() ([]byte, error)
func (*NullableKawaiiDNatRule) Set ¶
func (v *NullableKawaiiDNatRule) Set(val *KawaiiDNatRule)
func (*NullableKawaiiDNatRule) UnmarshalJSON ¶
func (v *NullableKawaiiDNatRule) UnmarshalJSON(src []byte) error
func (*NullableKawaiiDNatRule) Unset ¶
func (v *NullableKawaiiDNatRule) Unset()
type NullableKawaiiFirewall ¶
type NullableKawaiiFirewall struct {
// contains filtered or unexported fields
}
func NewNullableKawaiiFirewall ¶
func NewNullableKawaiiFirewall(val *KawaiiFirewall) *NullableKawaiiFirewall
func (NullableKawaiiFirewall) Get ¶
func (v NullableKawaiiFirewall) Get() *KawaiiFirewall
func (NullableKawaiiFirewall) IsSet ¶
func (v NullableKawaiiFirewall) IsSet() bool
func (NullableKawaiiFirewall) MarshalJSON ¶
func (v NullableKawaiiFirewall) MarshalJSON() ([]byte, error)
func (*NullableKawaiiFirewall) Set ¶
func (v *NullableKawaiiFirewall) Set(val *KawaiiFirewall)
func (*NullableKawaiiFirewall) UnmarshalJSON ¶
func (v *NullableKawaiiFirewall) UnmarshalJSON(src []byte) error
func (*NullableKawaiiFirewall) Unset ¶
func (v *NullableKawaiiFirewall) Unset()
type NullableKawaiiFirewallEgressRule ¶
type NullableKawaiiFirewallEgressRule struct {
// contains filtered or unexported fields
}
func NewNullableKawaiiFirewallEgressRule ¶
func NewNullableKawaiiFirewallEgressRule(val *KawaiiFirewallEgressRule) *NullableKawaiiFirewallEgressRule
func (NullableKawaiiFirewallEgressRule) Get ¶
func (v NullableKawaiiFirewallEgressRule) Get() *KawaiiFirewallEgressRule
func (NullableKawaiiFirewallEgressRule) IsSet ¶
func (v NullableKawaiiFirewallEgressRule) IsSet() bool
func (NullableKawaiiFirewallEgressRule) MarshalJSON ¶
func (v NullableKawaiiFirewallEgressRule) MarshalJSON() ([]byte, error)
func (*NullableKawaiiFirewallEgressRule) Set ¶
func (v *NullableKawaiiFirewallEgressRule) Set(val *KawaiiFirewallEgressRule)
func (*NullableKawaiiFirewallEgressRule) UnmarshalJSON ¶
func (v *NullableKawaiiFirewallEgressRule) UnmarshalJSON(src []byte) error
func (*NullableKawaiiFirewallEgressRule) Unset ¶
func (v *NullableKawaiiFirewallEgressRule) Unset()
type NullableKawaiiFirewallIngressRule ¶
type NullableKawaiiFirewallIngressRule struct {
// contains filtered or unexported fields
}
func NewNullableKawaiiFirewallIngressRule ¶
func NewNullableKawaiiFirewallIngressRule(val *KawaiiFirewallIngressRule) *NullableKawaiiFirewallIngressRule
func (NullableKawaiiFirewallIngressRule) Get ¶
func (v NullableKawaiiFirewallIngressRule) Get() *KawaiiFirewallIngressRule
func (NullableKawaiiFirewallIngressRule) IsSet ¶
func (v NullableKawaiiFirewallIngressRule) IsSet() bool
func (NullableKawaiiFirewallIngressRule) MarshalJSON ¶
func (v NullableKawaiiFirewallIngressRule) MarshalJSON() ([]byte, error)
func (*NullableKawaiiFirewallIngressRule) Set ¶
func (v *NullableKawaiiFirewallIngressRule) Set(val *KawaiiFirewallIngressRule)
func (*NullableKawaiiFirewallIngressRule) UnmarshalJSON ¶
func (v *NullableKawaiiFirewallIngressRule) UnmarshalJSON(src []byte) error
func (*NullableKawaiiFirewallIngressRule) Unset ¶
func (v *NullableKawaiiFirewallIngressRule) Unset()
type NullableKawaiiIpSec ¶
type NullableKawaiiIpSec struct {
// contains filtered or unexported fields
}
func NewNullableKawaiiIpSec ¶
func NewNullableKawaiiIpSec(val *KawaiiIpSec) *NullableKawaiiIpSec
func (NullableKawaiiIpSec) Get ¶
func (v NullableKawaiiIpSec) Get() *KawaiiIpSec
func (NullableKawaiiIpSec) IsSet ¶
func (v NullableKawaiiIpSec) IsSet() bool
func (NullableKawaiiIpSec) MarshalJSON ¶
func (v NullableKawaiiIpSec) MarshalJSON() ([]byte, error)
func (*NullableKawaiiIpSec) Set ¶
func (v *NullableKawaiiIpSec) Set(val *KawaiiIpSec)
func (*NullableKawaiiIpSec) UnmarshalJSON ¶
func (v *NullableKawaiiIpSec) UnmarshalJSON(src []byte) error
func (*NullableKawaiiIpSec) Unset ¶
func (v *NullableKawaiiIpSec) Unset()
type NullableKawaiiNetIp ¶
type NullableKawaiiNetIp struct {
// contains filtered or unexported fields
}
func NewNullableKawaiiNetIp ¶
func NewNullableKawaiiNetIp(val *KawaiiNetIp) *NullableKawaiiNetIp
func (NullableKawaiiNetIp) Get ¶
func (v NullableKawaiiNetIp) Get() *KawaiiNetIp
func (NullableKawaiiNetIp) IsSet ¶
func (v NullableKawaiiNetIp) IsSet() bool
func (NullableKawaiiNetIp) MarshalJSON ¶
func (v NullableKawaiiNetIp) MarshalJSON() ([]byte, error)
func (*NullableKawaiiNetIp) Set ¶
func (v *NullableKawaiiNetIp) Set(val *KawaiiNetIp)
func (*NullableKawaiiNetIp) UnmarshalJSON ¶
func (v *NullableKawaiiNetIp) UnmarshalJSON(src []byte) error
func (*NullableKawaiiNetIp) Unset ¶
func (v *NullableKawaiiNetIp) Unset()
type NullableKawaiiNetIpZone ¶
type NullableKawaiiNetIpZone struct {
// contains filtered or unexported fields
}
func NewNullableKawaiiNetIpZone ¶
func NewNullableKawaiiNetIpZone(val *KawaiiNetIpZone) *NullableKawaiiNetIpZone
func (NullableKawaiiNetIpZone) Get ¶
func (v NullableKawaiiNetIpZone) Get() *KawaiiNetIpZone
func (NullableKawaiiNetIpZone) IsSet ¶
func (v NullableKawaiiNetIpZone) IsSet() bool
func (NullableKawaiiNetIpZone) MarshalJSON ¶
func (v NullableKawaiiNetIpZone) MarshalJSON() ([]byte, error)
func (*NullableKawaiiNetIpZone) Set ¶
func (v *NullableKawaiiNetIpZone) Set(val *KawaiiNetIpZone)
func (*NullableKawaiiNetIpZone) UnmarshalJSON ¶
func (v *NullableKawaiiNetIpZone) UnmarshalJSON(src []byte) error
func (*NullableKawaiiNetIpZone) Unset ¶
func (v *NullableKawaiiNetIpZone) Unset()
type NullableKawaiiVpcForwardRule ¶
type NullableKawaiiVpcForwardRule struct {
// contains filtered or unexported fields
}
func NewNullableKawaiiVpcForwardRule ¶
func NewNullableKawaiiVpcForwardRule(val *KawaiiVpcForwardRule) *NullableKawaiiVpcForwardRule
func (NullableKawaiiVpcForwardRule) Get ¶
func (v NullableKawaiiVpcForwardRule) Get() *KawaiiVpcForwardRule
func (NullableKawaiiVpcForwardRule) IsSet ¶
func (v NullableKawaiiVpcForwardRule) IsSet() bool
func (NullableKawaiiVpcForwardRule) MarshalJSON ¶
func (v NullableKawaiiVpcForwardRule) MarshalJSON() ([]byte, error)
func (*NullableKawaiiVpcForwardRule) Set ¶
func (v *NullableKawaiiVpcForwardRule) Set(val *KawaiiVpcForwardRule)
func (*NullableKawaiiVpcForwardRule) UnmarshalJSON ¶
func (v *NullableKawaiiVpcForwardRule) UnmarshalJSON(src []byte) error
func (*NullableKawaiiVpcForwardRule) Unset ¶
func (v *NullableKawaiiVpcForwardRule) Unset()
type NullableKawaiiVpcNetIpZone ¶
type NullableKawaiiVpcNetIpZone struct {
// contains filtered or unexported fields
}
func NewNullableKawaiiVpcNetIpZone ¶
func NewNullableKawaiiVpcNetIpZone(val *KawaiiVpcNetIpZone) *NullableKawaiiVpcNetIpZone
func (NullableKawaiiVpcNetIpZone) Get ¶
func (v NullableKawaiiVpcNetIpZone) Get() *KawaiiVpcNetIpZone
func (NullableKawaiiVpcNetIpZone) IsSet ¶
func (v NullableKawaiiVpcNetIpZone) IsSet() bool
func (NullableKawaiiVpcNetIpZone) MarshalJSON ¶
func (v NullableKawaiiVpcNetIpZone) MarshalJSON() ([]byte, error)
func (*NullableKawaiiVpcNetIpZone) Set ¶
func (v *NullableKawaiiVpcNetIpZone) Set(val *KawaiiVpcNetIpZone)
func (*NullableKawaiiVpcNetIpZone) UnmarshalJSON ¶
func (v *NullableKawaiiVpcNetIpZone) UnmarshalJSON(src []byte) error
func (*NullableKawaiiVpcNetIpZone) Unset ¶
func (v *NullableKawaiiVpcNetIpZone) Unset()
type NullableKawaiiVpcPeering ¶
type NullableKawaiiVpcPeering struct {
// contains filtered or unexported fields
}
func NewNullableKawaiiVpcPeering ¶
func NewNullableKawaiiVpcPeering(val *KawaiiVpcPeering) *NullableKawaiiVpcPeering
func (NullableKawaiiVpcPeering) Get ¶
func (v NullableKawaiiVpcPeering) Get() *KawaiiVpcPeering
func (NullableKawaiiVpcPeering) IsSet ¶
func (v NullableKawaiiVpcPeering) IsSet() bool
func (NullableKawaiiVpcPeering) MarshalJSON ¶
func (v NullableKawaiiVpcPeering) MarshalJSON() ([]byte, error)
func (*NullableKawaiiVpcPeering) Set ¶
func (v *NullableKawaiiVpcPeering) Set(val *KawaiiVpcPeering)
func (*NullableKawaiiVpcPeering) UnmarshalJSON ¶
func (v *NullableKawaiiVpcPeering) UnmarshalJSON(src []byte) error
func (*NullableKawaiiVpcPeering) Unset ¶
func (v *NullableKawaiiVpcPeering) Unset()
type NullableKiwi ¶
type NullableKiwi struct {
// contains filtered or unexported fields
}
func NewNullableKiwi ¶
func NewNullableKiwi(val *Kiwi) *NullableKiwi
func (NullableKiwi) Get ¶
func (v NullableKiwi) Get() *Kiwi
func (NullableKiwi) IsSet ¶
func (v NullableKiwi) IsSet() bool
func (NullableKiwi) MarshalJSON ¶
func (v NullableKiwi) MarshalJSON() ([]byte, error)
func (*NullableKiwi) Set ¶
func (v *NullableKiwi) Set(val *Kiwi)
func (*NullableKiwi) UnmarshalJSON ¶
func (v *NullableKiwi) UnmarshalJSON(src []byte) error
func (*NullableKiwi) Unset ¶
func (v *NullableKiwi) Unset()
type NullableKompute ¶
type NullableKompute struct {
// contains filtered or unexported fields
}
func NewNullableKompute ¶
func NewNullableKompute(val *Kompute) *NullableKompute
func (NullableKompute) Get ¶
func (v NullableKompute) Get() *Kompute
func (NullableKompute) IsSet ¶
func (v NullableKompute) IsSet() bool
func (NullableKompute) MarshalJSON ¶
func (v NullableKompute) MarshalJSON() ([]byte, error)
func (*NullableKompute) Set ¶
func (v *NullableKompute) Set(val *Kompute)
func (*NullableKompute) UnmarshalJSON ¶
func (v *NullableKompute) UnmarshalJSON(src []byte) error
func (*NullableKompute) Unset ¶
func (v *NullableKompute) Unset()
type NullableKonvey ¶
type NullableKonvey struct {
// contains filtered or unexported fields
}
func NewNullableKonvey ¶
func NewNullableKonvey(val *Konvey) *NullableKonvey
func (NullableKonvey) Get ¶
func (v NullableKonvey) Get() *Konvey
func (NullableKonvey) IsSet ¶
func (v NullableKonvey) IsSet() bool
func (NullableKonvey) MarshalJSON ¶
func (v NullableKonvey) MarshalJSON() ([]byte, error)
func (*NullableKonvey) Set ¶
func (v *NullableKonvey) Set(val *Konvey)
func (*NullableKonvey) UnmarshalJSON ¶
func (v *NullableKonvey) UnmarshalJSON(src []byte) error
func (*NullableKonvey) Unset ¶
func (v *NullableKonvey) Unset()
type NullableKonveyBackends ¶
type NullableKonveyBackends struct {
// contains filtered or unexported fields
}
func NewNullableKonveyBackends ¶
func NewNullableKonveyBackends(val *KonveyBackends) *NullableKonveyBackends
func (NullableKonveyBackends) Get ¶
func (v NullableKonveyBackends) Get() *KonveyBackends
func (NullableKonveyBackends) IsSet ¶
func (v NullableKonveyBackends) IsSet() bool
func (NullableKonveyBackends) MarshalJSON ¶
func (v NullableKonveyBackends) MarshalJSON() ([]byte, error)
func (*NullableKonveyBackends) Set ¶
func (v *NullableKonveyBackends) Set(val *KonveyBackends)
func (*NullableKonveyBackends) UnmarshalJSON ¶
func (v *NullableKonveyBackends) UnmarshalJSON(src []byte) error
func (*NullableKonveyBackends) Unset ¶
func (v *NullableKonveyBackends) Unset()
type NullableKonveyEndpoint ¶
type NullableKonveyEndpoint struct {
// contains filtered or unexported fields
}
func NewNullableKonveyEndpoint ¶
func NewNullableKonveyEndpoint(val *KonveyEndpoint) *NullableKonveyEndpoint
func (NullableKonveyEndpoint) Get ¶
func (v NullableKonveyEndpoint) Get() *KonveyEndpoint
func (NullableKonveyEndpoint) IsSet ¶
func (v NullableKonveyEndpoint) IsSet() bool
func (NullableKonveyEndpoint) MarshalJSON ¶
func (v NullableKonveyEndpoint) MarshalJSON() ([]byte, error)
func (*NullableKonveyEndpoint) Set ¶
func (v *NullableKonveyEndpoint) Set(val *KonveyEndpoint)
func (*NullableKonveyEndpoint) UnmarshalJSON ¶
func (v *NullableKonveyEndpoint) UnmarshalJSON(src []byte) error
func (*NullableKonveyEndpoint) Unset ¶
func (v *NullableKonveyEndpoint) Unset()
type NullableKylo ¶
type NullableKylo struct {
// contains filtered or unexported fields
}
func NewNullableKylo ¶
func NewNullableKylo(val *Kylo) *NullableKylo
func (NullableKylo) Get ¶
func (v NullableKylo) Get() *Kylo
func (NullableKylo) IsSet ¶
func (v NullableKylo) IsSet() bool
func (NullableKylo) MarshalJSON ¶
func (v NullableKylo) MarshalJSON() ([]byte, error)
func (*NullableKylo) Set ¶
func (v *NullableKylo) Set(val *Kylo)
func (*NullableKylo) UnmarshalJSON ¶
func (v *NullableKylo) UnmarshalJSON(src []byte) error
func (*NullableKylo) Unset ¶
func (v *NullableKylo) Unset()
type NullableMetadata ¶
type NullableMetadata struct {
// contains filtered or unexported fields
}
func NewNullableMetadata ¶
func NewNullableMetadata(val *Metadata) *NullableMetadata
func (NullableMetadata) Get ¶
func (v NullableMetadata) Get() *Metadata
func (NullableMetadata) IsSet ¶
func (v NullableMetadata) IsSet() bool
func (NullableMetadata) MarshalJSON ¶
func (v NullableMetadata) MarshalJSON() ([]byte, error)
func (*NullableMetadata) Set ¶
func (v *NullableMetadata) Set(val *Metadata)
func (*NullableMetadata) UnmarshalJSON ¶
func (v *NullableMetadata) UnmarshalJSON(src []byte) error
func (*NullableMetadata) Unset ¶
func (v *NullableMetadata) Unset()
type NullablePassword ¶
type NullablePassword struct {
// contains filtered or unexported fields
}
func NewNullablePassword ¶
func NewNullablePassword(val *Password) *NullablePassword
func (NullablePassword) Get ¶
func (v NullablePassword) Get() *Password
func (NullablePassword) IsSet ¶
func (v NullablePassword) IsSet() bool
func (NullablePassword) MarshalJSON ¶
func (v NullablePassword) MarshalJSON() ([]byte, error)
func (*NullablePassword) Set ¶
func (v *NullablePassword) Set(val *Password)
func (*NullablePassword) UnmarshalJSON ¶
func (v *NullablePassword) UnmarshalJSON(src []byte) error
func (*NullablePassword) Unset ¶
func (v *NullablePassword) Unset()
type NullableProject ¶
type NullableProject struct {
// contains filtered or unexported fields
}
func NewNullableProject ¶
func NewNullableProject(val *Project) *NullableProject
func (NullableProject) Get ¶
func (v NullableProject) Get() *Project
func (NullableProject) IsSet ¶
func (v NullableProject) IsSet() bool
func (NullableProject) MarshalJSON ¶
func (v NullableProject) MarshalJSON() ([]byte, error)
func (*NullableProject) Set ¶
func (v *NullableProject) Set(val *Project)
func (*NullableProject) UnmarshalJSON ¶
func (v *NullableProject) UnmarshalJSON(src []byte) error
func (*NullableProject) Unset ¶
func (v *NullableProject) Unset()
type NullableProjectResources ¶
type NullableProjectResources struct {
// contains filtered or unexported fields
}
func NewNullableProjectResources ¶
func NewNullableProjectResources(val *ProjectResources) *NullableProjectResources
func (NullableProjectResources) Get ¶
func (v NullableProjectResources) Get() *ProjectResources
func (NullableProjectResources) IsSet ¶
func (v NullableProjectResources) IsSet() bool
func (NullableProjectResources) MarshalJSON ¶
func (v NullableProjectResources) MarshalJSON() ([]byte, error)
func (*NullableProjectResources) Set ¶
func (v *NullableProjectResources) Set(val *ProjectResources)
func (*NullableProjectResources) UnmarshalJSON ¶
func (v *NullableProjectResources) UnmarshalJSON(src []byte) error
func (*NullableProjectResources) Unset ¶
func (v *NullableProjectResources) Unset()
type NullableRegion ¶
type NullableRegion struct {
// contains filtered or unexported fields
}
func NewNullableRegion ¶
func NewNullableRegion(val *Region) *NullableRegion
func (NullableRegion) Get ¶
func (v NullableRegion) Get() *Region
func (NullableRegion) IsSet ¶
func (v NullableRegion) IsSet() bool
func (NullableRegion) MarshalJSON ¶
func (v NullableRegion) MarshalJSON() ([]byte, error)
func (*NullableRegion) Set ¶
func (v *NullableRegion) Set(val *Region)
func (*NullableRegion) UnmarshalJSON ¶
func (v *NullableRegion) UnmarshalJSON(src []byte) error
func (*NullableRegion) Unset ¶
func (v *NullableRegion) Unset()
type NullableRegionSubnet ¶
type NullableRegionSubnet struct {
// contains filtered or unexported fields
}
func NewNullableRegionSubnet ¶
func NewNullableRegionSubnet(val *RegionSubnet) *NullableRegionSubnet
func (NullableRegionSubnet) Get ¶
func (v NullableRegionSubnet) Get() *RegionSubnet
func (NullableRegionSubnet) IsSet ¶
func (v NullableRegionSubnet) IsSet() bool
func (NullableRegionSubnet) MarshalJSON ¶
func (v NullableRegionSubnet) MarshalJSON() ([]byte, error)
func (*NullableRegionSubnet) Set ¶
func (v *NullableRegionSubnet) Set(val *RegionSubnet)
func (*NullableRegionSubnet) UnmarshalJSON ¶
func (v *NullableRegionSubnet) UnmarshalJSON(src []byte) error
func (*NullableRegionSubnet) Unset ¶
func (v *NullableRegionSubnet) Unset()
type NullableStorageNFS ¶
type NullableStorageNFS struct {
// contains filtered or unexported fields
}
func NewNullableStorageNFS ¶
func NewNullableStorageNFS(val *StorageNFS) *NullableStorageNFS
func (NullableStorageNFS) Get ¶
func (v NullableStorageNFS) Get() *StorageNFS
func (NullableStorageNFS) IsSet ¶
func (v NullableStorageNFS) IsSet() bool
func (NullableStorageNFS) MarshalJSON ¶
func (v NullableStorageNFS) MarshalJSON() ([]byte, error)
func (*NullableStorageNFS) Set ¶
func (v *NullableStorageNFS) Set(val *StorageNFS)
func (*NullableStorageNFS) UnmarshalJSON ¶
func (v *NullableStorageNFS) UnmarshalJSON(src []byte) error
func (*NullableStorageNFS) Unset ¶
func (v *NullableStorageNFS) Unset()
type NullableStoragePool ¶
type NullableStoragePool struct {
// contains filtered or unexported fields
}
func NewNullableStoragePool ¶
func NewNullableStoragePool(val *StoragePool) *NullableStoragePool
func (NullableStoragePool) Get ¶
func (v NullableStoragePool) Get() *StoragePool
func (NullableStoragePool) IsSet ¶
func (v NullableStoragePool) IsSet() bool
func (NullableStoragePool) MarshalJSON ¶
func (v NullableStoragePool) MarshalJSON() ([]byte, error)
func (*NullableStoragePool) Set ¶
func (v *NullableStoragePool) Set(val *StoragePool)
func (*NullableStoragePool) UnmarshalJSON ¶
func (v *NullableStoragePool) UnmarshalJSON(src []byte) error
func (*NullableStoragePool) Unset ¶
func (v *NullableStoragePool) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableSubnet ¶
type NullableSubnet struct {
// contains filtered or unexported fields
}
func NewNullableSubnet ¶
func NewNullableSubnet(val *Subnet) *NullableSubnet
func (NullableSubnet) Get ¶
func (v NullableSubnet) Get() *Subnet
func (NullableSubnet) IsSet ¶
func (v NullableSubnet) IsSet() bool
func (NullableSubnet) MarshalJSON ¶
func (v NullableSubnet) MarshalJSON() ([]byte, error)
func (*NullableSubnet) Set ¶
func (v *NullableSubnet) Set(val *Subnet)
func (*NullableSubnet) UnmarshalJSON ¶
func (v *NullableSubnet) UnmarshalJSON(src []byte) error
func (*NullableSubnet) Unset ¶
func (v *NullableSubnet) Unset()
type NullableTeam ¶
type NullableTeam struct {
// contains filtered or unexported fields
}
func NewNullableTeam ¶
func NewNullableTeam(val *Team) *NullableTeam
func (NullableTeam) Get ¶
func (v NullableTeam) Get() *Team
func (NullableTeam) IsSet ¶
func (v NullableTeam) IsSet() bool
func (NullableTeam) MarshalJSON ¶
func (v NullableTeam) MarshalJSON() ([]byte, error)
func (*NullableTeam) Set ¶
func (v *NullableTeam) Set(val *Team)
func (*NullableTeam) UnmarshalJSON ¶
func (v *NullableTeam) UnmarshalJSON(src []byte) error
func (*NullableTeam) Unset ¶
func (v *NullableTeam) Unset()
type NullableTemplate ¶
type NullableTemplate struct {
// contains filtered or unexported fields
}
func NewNullableTemplate ¶
func NewNullableTemplate(val *Template) *NullableTemplate
func (NullableTemplate) Get ¶
func (v NullableTemplate) Get() *Template
func (NullableTemplate) IsSet ¶
func (v NullableTemplate) IsSet() bool
func (NullableTemplate) MarshalJSON ¶
func (v NullableTemplate) MarshalJSON() ([]byte, error)
func (*NullableTemplate) Set ¶
func (v *NullableTemplate) Set(val *Template)
func (*NullableTemplate) UnmarshalJSON ¶
func (v *NullableTemplate) UnmarshalJSON(src []byte) error
func (*NullableTemplate) Unset ¶
func (v *NullableTemplate) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUser ¶
type NullableUser struct {
// contains filtered or unexported fields
}
func NewNullableUser ¶
func NewNullableUser(val *User) *NullableUser
func (NullableUser) Get ¶
func (v NullableUser) Get() *User
func (NullableUser) IsSet ¶
func (v NullableUser) IsSet() bool
func (NullableUser) MarshalJSON ¶
func (v NullableUser) MarshalJSON() ([]byte, error)
func (*NullableUser) Set ¶
func (v *NullableUser) Set(val *User)
func (*NullableUser) UnmarshalJSON ¶
func (v *NullableUser) UnmarshalJSON(src []byte) error
func (*NullableUser) Unset ¶
func (v *NullableUser) Unset()
type NullableUserCredentials ¶
type NullableUserCredentials struct {
// contains filtered or unexported fields
}
func NewNullableUserCredentials ¶
func NewNullableUserCredentials(val *UserCredentials) *NullableUserCredentials
func (NullableUserCredentials) Get ¶
func (v NullableUserCredentials) Get() *UserCredentials
func (NullableUserCredentials) IsSet ¶
func (v NullableUserCredentials) IsSet() bool
func (NullableUserCredentials) MarshalJSON ¶
func (v NullableUserCredentials) MarshalJSON() ([]byte, error)
func (*NullableUserCredentials) Set ¶
func (v *NullableUserCredentials) Set(val *UserCredentials)
func (*NullableUserCredentials) UnmarshalJSON ¶
func (v *NullableUserCredentials) UnmarshalJSON(src []byte) error
func (*NullableUserCredentials) Unset ¶
func (v *NullableUserCredentials) Unset()
type NullableUserEmail ¶
type NullableUserEmail struct {
// contains filtered or unexported fields
}
func NewNullableUserEmail ¶
func NewNullableUserEmail(val *UserEmail) *NullableUserEmail
func (NullableUserEmail) Get ¶
func (v NullableUserEmail) Get() *UserEmail
func (NullableUserEmail) IsSet ¶
func (v NullableUserEmail) IsSet() bool
func (NullableUserEmail) MarshalJSON ¶
func (v NullableUserEmail) MarshalJSON() ([]byte, error)
func (*NullableUserEmail) Set ¶
func (v *NullableUserEmail) Set(val *UserEmail)
func (*NullableUserEmail) UnmarshalJSON ¶
func (v *NullableUserEmail) UnmarshalJSON(src []byte) error
func (*NullableUserEmail) Unset ¶
func (v *NullableUserEmail) Unset()
type NullableVNet ¶
type NullableVNet struct {
// contains filtered or unexported fields
}
func NewNullableVNet ¶
func NewNullableVNet(val *VNet) *NullableVNet
func (NullableVNet) Get ¶
func (v NullableVNet) Get() *VNet
func (NullableVNet) IsSet ¶
func (v NullableVNet) IsSet() bool
func (NullableVNet) MarshalJSON ¶
func (v NullableVNet) MarshalJSON() ([]byte, error)
func (*NullableVNet) Set ¶
func (v *NullableVNet) Set(val *VNet)
func (*NullableVNet) UnmarshalJSON ¶
func (v *NullableVNet) UnmarshalJSON(src []byte) error
func (*NullableVNet) Unset ¶
func (v *NullableVNet) Unset()
type NullableVolume ¶
type NullableVolume struct {
// contains filtered or unexported fields
}
func NewNullableVolume ¶
func NewNullableVolume(val *Volume) *NullableVolume
func (NullableVolume) Get ¶
func (v NullableVolume) Get() *Volume
func (NullableVolume) IsSet ¶
func (v NullableVolume) IsSet() bool
func (NullableVolume) MarshalJSON ¶
func (v NullableVolume) MarshalJSON() ([]byte, error)
func (*NullableVolume) Set ¶
func (v *NullableVolume) Set(val *Volume)
func (*NullableVolume) UnmarshalJSON ¶
func (v *NullableVolume) UnmarshalJSON(src []byte) error
func (*NullableVolume) Unset ¶
func (v *NullableVolume) Unset()
type NullableZone ¶
type NullableZone struct {
// contains filtered or unexported fields
}
func NewNullableZone ¶
func NewNullableZone(val *Zone) *NullableZone
func (NullableZone) Get ¶
func (v NullableZone) Get() *Zone
func (NullableZone) IsSet ¶
func (v NullableZone) IsSet() bool
func (NullableZone) MarshalJSON ¶
func (v NullableZone) MarshalJSON() ([]byte, error)
func (*NullableZone) Set ¶
func (v *NullableZone) Set(val *Zone)
func (*NullableZone) UnmarshalJSON ¶
func (v *NullableZone) UnmarshalJSON(src []byte) error
func (*NullableZone) Unset ¶
func (v *NullableZone) Unset()
type Password ¶
type Password struct { // The plain-text password. Value string `json:"value"` }
Password A user plain-text password.
func NewPassword ¶
NewPassword instantiates a new Password object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPasswordWithDefaults ¶
func NewPasswordWithDefaults() *Password
NewPasswordWithDefaults instantiates a new Password object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Password) GetValueOk ¶
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (Password) MarshalJSON ¶
func (*Password) UnmarshalJSON ¶
type PoolAPIService ¶
type PoolAPIService service
PoolAPIService PoolAPI service
func (*PoolAPIService) CreateTemplate ¶
func (a *PoolAPIService) CreateTemplate(ctx context.Context, poolId string) ApiCreateTemplateRequest
CreateTemplate Method for CreateTemplate
Creates a new image template.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId The ID of the storage pool. @return ApiCreateTemplateRequest
func (*PoolAPIService) CreateTemplateExecute ¶
func (a *PoolAPIService) CreateTemplateExecute(r ApiCreateTemplateRequest) (*Template, *http.Response, error)
Execute executes the request
@return Template
func (*PoolAPIService) DeleteStoragePool ¶
func (a *PoolAPIService) DeleteStoragePool(ctx context.Context, poolId string) ApiDeleteStoragePoolRequest
DeleteStoragePool Method for DeleteStoragePool
Deletes an existing storage pool.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId The ID of the storage pool. @return ApiDeleteStoragePoolRequest
func (*PoolAPIService) DeleteStoragePoolExecute ¶
func (a *PoolAPIService) DeleteStoragePoolExecute(r ApiDeleteStoragePoolRequest) (*http.Response, error)
Execute executes the request
func (*PoolAPIService) ListStoragePoolTemplates ¶
func (a *PoolAPIService) ListStoragePoolTemplates(ctx context.Context, poolId string) ApiListStoragePoolTemplatesRequest
ListStoragePoolTemplates Method for ListStoragePoolTemplates
Returns the IDs of image template objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId The ID of the storage pool. @return ApiListStoragePoolTemplatesRequest
func (*PoolAPIService) ListStoragePoolTemplatesExecute ¶
func (a *PoolAPIService) ListStoragePoolTemplatesExecute(r ApiListStoragePoolTemplatesRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*PoolAPIService) ListStoragePoolVolumes ¶
func (a *PoolAPIService) ListStoragePoolVolumes(ctx context.Context, poolId string) ApiListStoragePoolVolumesRequest
ListStoragePoolVolumes Method for ListStoragePoolVolumes
Returns the IDs of storage volume objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId The ID of the storage pool. @return ApiListStoragePoolVolumesRequest
func (*PoolAPIService) ListStoragePoolVolumesExecute ¶
func (a *PoolAPIService) ListStoragePoolVolumesExecute(r ApiListStoragePoolVolumesRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*PoolAPIService) ListStoragePools ¶
func (a *PoolAPIService) ListStoragePools(ctx context.Context) ApiListStoragePoolsRequest
ListStoragePools Method for ListStoragePools
Returns the IDs of storage pool objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListStoragePoolsRequest
func (*PoolAPIService) ListStoragePoolsExecute ¶
func (a *PoolAPIService) ListStoragePoolsExecute(r ApiListStoragePoolsRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*PoolAPIService) ReadStoragePool ¶
func (a *PoolAPIService) ReadStoragePool(ctx context.Context, poolId string) ApiReadStoragePoolRequest
ReadStoragePool Method for ReadStoragePool
Returns a storage pool.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId The ID of the storage pool. @return ApiReadStoragePoolRequest
func (*PoolAPIService) ReadStoragePoolExecute ¶
func (a *PoolAPIService) ReadStoragePoolExecute(r ApiReadStoragePoolRequest) (*StoragePool, *http.Response, error)
Execute executes the request
@return StoragePool
func (*PoolAPIService) SetStoragePoolDefaultTemplate ¶
func (a *PoolAPIService) SetStoragePoolDefaultTemplate(ctx context.Context, poolId string, templateId string) ApiSetStoragePoolDefaultTemplateRequest
SetStoragePoolDefaultTemplate Method for SetStoragePoolDefaultTemplate
Performs a storage pool setting of default template.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId The ID of the storage pool. @param templateId The ID of the image template. @return ApiSetStoragePoolDefaultTemplateRequest
func (*PoolAPIService) SetStoragePoolDefaultTemplateExecute ¶
func (a *PoolAPIService) SetStoragePoolDefaultTemplateExecute(r ApiSetStoragePoolDefaultTemplateRequest) (*http.Response, error)
Execute executes the request
func (*PoolAPIService) UpdateStoragePool ¶
func (a *PoolAPIService) UpdateStoragePool(ctx context.Context, poolId string) ApiUpdateStoragePoolRequest
UpdateStoragePool Method for UpdateStoragePool
Updates a storage pool configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId The ID of the storage pool. @return ApiUpdateStoragePoolRequest
func (*PoolAPIService) UpdateStoragePoolExecute ¶
func (a *PoolAPIService) UpdateStoragePoolExecute(r ApiUpdateStoragePoolRequest) (*StoragePool, *http.Response, error)
Execute executes the request
@return StoragePool
type Project ¶
type Project struct { // The project ID (auto-generated). Id *string `json:"id,omitempty"` // The project name. Name string `json:"name"` // The project description. Description *string `json:"description,omitempty"` // Internal domain name (e.g. myproject.acme.com). Domain *string `json:"domain,omitempty"` // Default root password, set at cloud-init instance bootstrap phase. Will be randomly auto-generated at each instance creation if unspecified. RootPassword *string `json:"root_password,omitempty"` // Default service user name, created at cloud-init instance bootstrap phase. Will use Kowabunga's default configuration one if unspecified. BootstrapUser *string `json:"bootstrap_user,omitempty"` // Default public SSH key, to be associated to bootstrap user. Will use Kowabunga's default configuration one if unspecified. BootstrapPubkey *string `json:"bootstrap_pubkey,omitempty"` // A list of tags to be associated to the project. Tags []string `json:"tags,omitempty"` // A list of metadata to be associated to the project. Metadatas []Metadata `json:"metadatas,omitempty"` // The global project resource quotas (0 for unlimited). Quotas ProjectResources `json:"quotas,omitempty"` // The assigned project VPC private subnets IDs (read-only). PrivateSubnets []RegionSubnet `json:"private_subnets,omitempty"` // The list of VRRP IDs used by -as-a-service resources within the project virtual network (read-only). Should your application use VRRP for service redundancy, you should use different IDs to prevent issues.. ReservedVrrpIds []int32 `json:"reserved_vrrp_ids,omitempty"` // A list of user teams allowed to administrate the project (i.e. capable of managing internal resources). Teams []string `json:"teams"` // A list of Kowabunga regions the project is managing resources from. Regions []string `json:"regions"` }
Project A Kowabunga project corresponds to a single tenant, isolated set of resources.
func NewProject ¶
NewProject instantiates a new Project object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProjectWithDefaults ¶
func NewProjectWithDefaults() *Project
NewProjectWithDefaults instantiates a new Project object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Project) GetBootstrapPubkey ¶
GetBootstrapPubkey returns the BootstrapPubkey field value if set, zero value otherwise.
func (*Project) GetBootstrapPubkeyOk ¶
GetBootstrapPubkeyOk returns a tuple with the BootstrapPubkey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetBootstrapUser ¶
GetBootstrapUser returns the BootstrapUser field value if set, zero value otherwise.
func (*Project) GetBootstrapUserOk ¶
GetBootstrapUserOk returns a tuple with the BootstrapUser field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Project) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetDomainOk ¶
GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetMetadatas ¶
GetMetadatas returns the Metadatas field value if set, zero value otherwise.
func (*Project) GetMetadatasOk ¶
GetMetadatasOk returns a tuple with the Metadatas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Project) GetPrivateSubnets ¶
func (o *Project) GetPrivateSubnets() []RegionSubnet
GetPrivateSubnets returns the PrivateSubnets field value if set, zero value otherwise.
func (*Project) GetPrivateSubnetsOk ¶
func (o *Project) GetPrivateSubnetsOk() ([]RegionSubnet, bool)
GetPrivateSubnetsOk returns a tuple with the PrivateSubnets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetQuotas ¶
func (o *Project) GetQuotas() ProjectResources
GetQuotas returns the Quotas field value if set, zero value otherwise.
func (*Project) GetQuotasOk ¶
func (o *Project) GetQuotasOk() (ProjectResources, bool)
GetQuotasOk returns a tuple with the Quotas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetRegions ¶
GetRegions returns the Regions field value
func (*Project) GetRegionsOk ¶
GetRegionsOk returns a tuple with the Regions field value and a boolean to check if the value has been set.
func (*Project) GetReservedVrrpIds ¶
GetReservedVrrpIds returns the ReservedVrrpIds field value if set, zero value otherwise.
func (*Project) GetReservedVrrpIdsOk ¶
GetReservedVrrpIdsOk returns a tuple with the ReservedVrrpIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetRootPassword ¶
GetRootPassword returns the RootPassword field value if set, zero value otherwise.
func (*Project) GetRootPasswordOk ¶
GetRootPasswordOk returns a tuple with the RootPassword field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetTagsOk ¶
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetTeamsOk ¶
GetTeamsOk returns a tuple with the Teams field value and a boolean to check if the value has been set.
func (*Project) HasBootstrapPubkey ¶
HasBootstrapPubkey returns a boolean if a field has been set.
func (*Project) HasBootstrapUser ¶
HasBootstrapUser returns a boolean if a field has been set.
func (*Project) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Project) HasMetadatas ¶
HasMetadatas returns a boolean if a field has been set.
func (*Project) HasPrivateSubnets ¶
HasPrivateSubnets returns a boolean if a field has been set.
func (*Project) HasReservedVrrpIds ¶
HasReservedVrrpIds returns a boolean if a field has been set.
func (*Project) HasRootPassword ¶
HasRootPassword returns a boolean if a field has been set.
func (Project) MarshalJSON ¶
func (*Project) SetBootstrapPubkey ¶
SetBootstrapPubkey gets a reference to the given string and assigns it to the BootstrapPubkey field.
func (*Project) SetBootstrapUser ¶
SetBootstrapUser gets a reference to the given string and assigns it to the BootstrapUser field.
func (*Project) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Project) SetDomain ¶
SetDomain gets a reference to the given string and assigns it to the Domain field.
func (*Project) SetMetadatas ¶
SetMetadatas gets a reference to the given []Metadata and assigns it to the Metadatas field.
func (*Project) SetPrivateSubnets ¶
func (o *Project) SetPrivateSubnets(v []RegionSubnet)
SetPrivateSubnets gets a reference to the given []RegionSubnet and assigns it to the PrivateSubnets field.
func (*Project) SetQuotas ¶
func (o *Project) SetQuotas(v ProjectResources)
SetQuotas gets a reference to the given ProjectResources and assigns it to the Quotas field.
func (*Project) SetReservedVrrpIds ¶
SetReservedVrrpIds gets a reference to the given []int32 and assigns it to the ReservedVrrpIds field.
func (*Project) SetRootPassword ¶
SetRootPassword gets a reference to the given string and assigns it to the RootPassword field.
func (*Project) SetTags ¶
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*Project) UnmarshalJSON ¶
type ProjectAPIService ¶
type ProjectAPIService service
ProjectAPIService ProjectAPI service
func (*ProjectAPIService) CreateProject ¶
func (a *ProjectAPIService) CreateProject(ctx context.Context) ApiCreateProjectRequest
CreateProject Method for CreateProject
Creates a new project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateProjectRequest
func (*ProjectAPIService) CreateProjectDnsRecord ¶
func (a *ProjectAPIService) CreateProjectDnsRecord(ctx context.Context, projectId string) ApiCreateProjectDnsRecordRequest
CreateProjectDnsRecord Method for CreateProjectDnsRecord
Creates a new DNS record.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @return ApiCreateProjectDnsRecordRequest
func (*ProjectAPIService) CreateProjectDnsRecordExecute ¶
func (a *ProjectAPIService) CreateProjectDnsRecordExecute(r ApiCreateProjectDnsRecordRequest) (*DnsRecord, *http.Response, error)
Execute executes the request
@return DnsRecord
func (*ProjectAPIService) CreateProjectExecute ¶
func (a *ProjectAPIService) CreateProjectExecute(r ApiCreateProjectRequest) (*Project, *http.Response, error)
Execute executes the request
@return Project
func (*ProjectAPIService) CreateProjectRegionKawaii ¶
func (a *ProjectAPIService) CreateProjectRegionKawaii(ctx context.Context, projectId string, regionId string) ApiCreateProjectRegionKawaiiRequest
CreateProjectRegionKawaii Method for CreateProjectRegionKawaii
Creates a new Kawaii.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param regionId The ID of the region. @return ApiCreateProjectRegionKawaiiRequest
func (*ProjectAPIService) CreateProjectRegionKawaiiExecute ¶
func (a *ProjectAPIService) CreateProjectRegionKawaiiExecute(r ApiCreateProjectRegionKawaiiRequest) (*Kawaii, *http.Response, error)
Execute executes the request
@return Kawaii
func (*ProjectAPIService) CreateProjectRegionKonvey ¶
func (a *ProjectAPIService) CreateProjectRegionKonvey(ctx context.Context, projectId string, regionId string) ApiCreateProjectRegionKonveyRequest
CreateProjectRegionKonvey Method for CreateProjectRegionKonvey
Creates a new Konvey (Kowabunga Network Load-Balancer).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param regionId The ID of the region. @return ApiCreateProjectRegionKonveyRequest
func (*ProjectAPIService) CreateProjectRegionKonveyExecute ¶
func (a *ProjectAPIService) CreateProjectRegionKonveyExecute(r ApiCreateProjectRegionKonveyRequest) (*Konvey, *http.Response, error)
Execute executes the request
@return Konvey
func (*ProjectAPIService) CreateProjectRegionKylo ¶
func (a *ProjectAPIService) CreateProjectRegionKylo(ctx context.Context, projectId string, regionId string) ApiCreateProjectRegionKyloRequest
CreateProjectRegionKylo Method for CreateProjectRegionKylo
Creates a new Kylo.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param regionId The ID of the region. @return ApiCreateProjectRegionKyloRequest
func (*ProjectAPIService) CreateProjectRegionKyloExecute ¶
func (a *ProjectAPIService) CreateProjectRegionKyloExecute(r ApiCreateProjectRegionKyloRequest) (*Kylo, *http.Response, error)
Execute executes the request
@return Kylo
func (*ProjectAPIService) CreateProjectRegionVolume ¶
func (a *ProjectAPIService) CreateProjectRegionVolume(ctx context.Context, projectId string, regionId string) ApiCreateProjectRegionVolumeRequest
CreateProjectRegionVolume Method for CreateProjectRegionVolume
Creates a new storage volume.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param regionId The ID of the region. @return ApiCreateProjectRegionVolumeRequest
func (*ProjectAPIService) CreateProjectRegionVolumeExecute ¶
func (a *ProjectAPIService) CreateProjectRegionVolumeExecute(r ApiCreateProjectRegionVolumeRequest) (*Volume, *http.Response, error)
Execute executes the request
@return Volume
func (*ProjectAPIService) CreateProjectZoneInstance ¶
func (a *ProjectAPIService) CreateProjectZoneInstance(ctx context.Context, projectId string, zoneId string) ApiCreateProjectZoneInstanceRequest
CreateProjectZoneInstance Method for CreateProjectZoneInstance
Creates a new virtual machine instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param zoneId The ID of the availability zone. @return ApiCreateProjectZoneInstanceRequest
func (*ProjectAPIService) CreateProjectZoneInstanceExecute ¶
func (a *ProjectAPIService) CreateProjectZoneInstanceExecute(r ApiCreateProjectZoneInstanceRequest) (*Instance, *http.Response, error)
Execute executes the request
@return Instance
func (*ProjectAPIService) CreateProjectZoneKompute ¶
func (a *ProjectAPIService) CreateProjectZoneKompute(ctx context.Context, projectId string, zoneId string) ApiCreateProjectZoneKomputeRequest
CreateProjectZoneKompute Method for CreateProjectZoneKompute
Creates a new Kompute.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param zoneId The ID of the availability zone. @return ApiCreateProjectZoneKomputeRequest
func (*ProjectAPIService) CreateProjectZoneKomputeExecute ¶
func (a *ProjectAPIService) CreateProjectZoneKomputeExecute(r ApiCreateProjectZoneKomputeRequest) (*Kompute, *http.Response, error)
Execute executes the request
@return Kompute
func (*ProjectAPIService) CreateProjectZoneKonvey ¶
func (a *ProjectAPIService) CreateProjectZoneKonvey(ctx context.Context, projectId string, zoneId string) ApiCreateProjectZoneKonveyRequest
CreateProjectZoneKonvey Method for CreateProjectZoneKonvey
Creates a new Konvey (Kowabunga Network Load-Balancer).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param zoneId The ID of the availability zone. @return ApiCreateProjectZoneKonveyRequest
func (*ProjectAPIService) CreateProjectZoneKonveyExecute ¶
func (a *ProjectAPIService) CreateProjectZoneKonveyExecute(r ApiCreateProjectZoneKonveyRequest) (*Konvey, *http.Response, error)
Execute executes the request
@return Konvey
func (*ProjectAPIService) DeleteProject ¶
func (a *ProjectAPIService) DeleteProject(ctx context.Context, projectId string) ApiDeleteProjectRequest
DeleteProject Method for DeleteProject
Deletes an existing project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @return ApiDeleteProjectRequest
func (*ProjectAPIService) DeleteProjectExecute ¶
func (a *ProjectAPIService) DeleteProjectExecute(r ApiDeleteProjectRequest) (*http.Response, error)
Execute executes the request
func (*ProjectAPIService) ListProjectDnsRecords ¶
func (a *ProjectAPIService) ListProjectDnsRecords(ctx context.Context, projectId string) ApiListProjectDnsRecordsRequest
ListProjectDnsRecords Method for ListProjectDnsRecords
Returns the IDs of DNS record objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @return ApiListProjectDnsRecordsRequest
func (*ProjectAPIService) ListProjectDnsRecordsExecute ¶
func (a *ProjectAPIService) ListProjectDnsRecordsExecute(r ApiListProjectDnsRecordsRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*ProjectAPIService) ListProjectRegionKawaiis ¶
func (a *ProjectAPIService) ListProjectRegionKawaiis(ctx context.Context, projectId string, regionId string) ApiListProjectRegionKawaiisRequest
ListProjectRegionKawaiis Method for ListProjectRegionKawaiis
Returns the IDs of Kawaii objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param regionId The ID of the region. @return ApiListProjectRegionKawaiisRequest
func (*ProjectAPIService) ListProjectRegionKawaiisExecute ¶
func (a *ProjectAPIService) ListProjectRegionKawaiisExecute(r ApiListProjectRegionKawaiisRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*ProjectAPIService) ListProjectRegionKonveys ¶
func (a *ProjectAPIService) ListProjectRegionKonveys(ctx context.Context, projectId string, regionId string) ApiListProjectRegionKonveysRequest
ListProjectRegionKonveys Method for ListProjectRegionKonveys
Returns the IDs of Konvey (Kowabunga Network Load-Balancer) objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param regionId The ID of the region. @return ApiListProjectRegionKonveysRequest
func (*ProjectAPIService) ListProjectRegionKonveysExecute ¶
func (a *ProjectAPIService) ListProjectRegionKonveysExecute(r ApiListProjectRegionKonveysRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*ProjectAPIService) ListProjectRegionKylos ¶
func (a *ProjectAPIService) ListProjectRegionKylos(ctx context.Context, projectId string, regionId string) ApiListProjectRegionKylosRequest
ListProjectRegionKylos Method for ListProjectRegionKylos
Returns the IDs of Kylo objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param regionId The ID of the region. @return ApiListProjectRegionKylosRequest
func (*ProjectAPIService) ListProjectRegionKylosExecute ¶
func (a *ProjectAPIService) ListProjectRegionKylosExecute(r ApiListProjectRegionKylosRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*ProjectAPIService) ListProjectRegionVolumes ¶
func (a *ProjectAPIService) ListProjectRegionVolumes(ctx context.Context, projectId string, regionId string) ApiListProjectRegionVolumesRequest
ListProjectRegionVolumes Method for ListProjectRegionVolumes
Returns the IDs of storage volume objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param regionId The ID of the region. @return ApiListProjectRegionVolumesRequest
func (*ProjectAPIService) ListProjectRegionVolumesExecute ¶
func (a *ProjectAPIService) ListProjectRegionVolumesExecute(r ApiListProjectRegionVolumesRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*ProjectAPIService) ListProjectZoneInstances ¶
func (a *ProjectAPIService) ListProjectZoneInstances(ctx context.Context, projectId string, zoneId string) ApiListProjectZoneInstancesRequest
ListProjectZoneInstances Method for ListProjectZoneInstances
Returns the IDs of virtual machine instance objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param zoneId The ID of the availability zone. @return ApiListProjectZoneInstancesRequest
func (*ProjectAPIService) ListProjectZoneInstancesExecute ¶
func (a *ProjectAPIService) ListProjectZoneInstancesExecute(r ApiListProjectZoneInstancesRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*ProjectAPIService) ListProjectZoneKomputes ¶
func (a *ProjectAPIService) ListProjectZoneKomputes(ctx context.Context, projectId string, zoneId string) ApiListProjectZoneKomputesRequest
ListProjectZoneKomputes Method for ListProjectZoneKomputes
Returns the IDs of Kompute objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param zoneId The ID of the availability zone. @return ApiListProjectZoneKomputesRequest
func (*ProjectAPIService) ListProjectZoneKomputesExecute ¶
func (a *ProjectAPIService) ListProjectZoneKomputesExecute(r ApiListProjectZoneKomputesRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*ProjectAPIService) ListProjectZoneKonveys ¶
func (a *ProjectAPIService) ListProjectZoneKonveys(ctx context.Context, projectId string, zoneId string) ApiListProjectZoneKonveysRequest
ListProjectZoneKonveys Method for ListProjectZoneKonveys
Returns the IDs of Konvey (Kowabunga Network Load-Balancer) objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param zoneId The ID of the availability zone. @return ApiListProjectZoneKonveysRequest
func (*ProjectAPIService) ListProjectZoneKonveysExecute ¶
func (a *ProjectAPIService) ListProjectZoneKonveysExecute(r ApiListProjectZoneKonveysRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*ProjectAPIService) ListProjects ¶
func (a *ProjectAPIService) ListProjects(ctx context.Context) ApiListProjectsRequest
ListProjects Method for ListProjects
Returns the IDs of project objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListProjectsRequest
func (*ProjectAPIService) ListProjectsExecute ¶
func (a *ProjectAPIService) ListProjectsExecute(r ApiListProjectsRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*ProjectAPIService) ReadProject ¶
func (a *ProjectAPIService) ReadProject(ctx context.Context, projectId string) ApiReadProjectRequest
ReadProject Method for ReadProject
Returns a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @return ApiReadProjectRequest
func (*ProjectAPIService) ReadProjectCost ¶
func (a *ProjectAPIService) ReadProjectCost(ctx context.Context, projectId string) ApiReadProjectCostRequest
ReadProjectCost Method for ReadProjectCost
Returns a resource cost.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @return ApiReadProjectCostRequest
func (*ProjectAPIService) ReadProjectCostExecute ¶
func (a *ProjectAPIService) ReadProjectCostExecute(r ApiReadProjectCostRequest) (*Cost, *http.Response, error)
Execute executes the request
@return Cost
func (*ProjectAPIService) ReadProjectExecute ¶
func (a *ProjectAPIService) ReadProjectExecute(r ApiReadProjectRequest) (*Project, *http.Response, error)
Execute executes the request
@return Project
func (*ProjectAPIService) ReadProjectUsage ¶
func (a *ProjectAPIService) ReadProjectUsage(ctx context.Context, projectId string) ApiReadProjectUsageRequest
ReadProjectUsage Method for ReadProjectUsage
Returns a global project resource quotas/usage (0 for unlimited).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @return ApiReadProjectUsageRequest
func (*ProjectAPIService) ReadProjectUsageExecute ¶
func (a *ProjectAPIService) ReadProjectUsageExecute(r ApiReadProjectUsageRequest) (*ProjectResources, *http.Response, error)
Execute executes the request
@return ProjectResources
func (*ProjectAPIService) UpdateProject ¶
func (a *ProjectAPIService) UpdateProject(ctx context.Context, projectId string) ApiUpdateProjectRequest
UpdateProject Method for UpdateProject
Updates a project configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @return ApiUpdateProjectRequest
func (*ProjectAPIService) UpdateProjectExecute ¶
func (a *ProjectAPIService) UpdateProjectExecute(r ApiUpdateProjectRequest) (*Project, *http.Response, error)
Execute executes the request
@return Project
type ProjectResources ¶
type ProjectResources struct { // The maximum total number of vCPUs allowed to be consumed by sum of all instances. Vcpus *int32 `json:"vcpus,omitempty"` // The maximum total memory (in bytes) allowed to be consumed by sum of all instances. Memory *int64 `json:"memory,omitempty"` // The maximum total disk capacity allowed to be consumed by sum of all instances. Storage *int64 `json:"storage,omitempty"` // The maximum number of instances allowed to be spawned. Instances *int32 `json:"instances,omitempty"` }
ProjectResources A global project resource quotas/usage (0 for unlimited).
func NewProjectResources ¶
func NewProjectResources() *ProjectResources
NewProjectResources instantiates a new ProjectResources object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProjectResourcesWithDefaults ¶
func NewProjectResourcesWithDefaults() *ProjectResources
NewProjectResourcesWithDefaults instantiates a new ProjectResources object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProjectResources) GetInstances ¶
func (o *ProjectResources) GetInstances() int32
GetInstances returns the Instances field value if set, zero value otherwise.
func (*ProjectResources) GetInstancesOk ¶
func (o *ProjectResources) GetInstancesOk() (*int32, bool)
GetInstancesOk returns a tuple with the Instances field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectResources) GetMemory ¶
func (o *ProjectResources) GetMemory() int64
GetMemory returns the Memory field value if set, zero value otherwise.
func (*ProjectResources) GetMemoryOk ¶
func (o *ProjectResources) GetMemoryOk() (*int64, bool)
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectResources) GetStorage ¶
func (o *ProjectResources) GetStorage() int64
GetStorage returns the Storage field value if set, zero value otherwise.
func (*ProjectResources) GetStorageOk ¶
func (o *ProjectResources) GetStorageOk() (*int64, bool)
GetStorageOk returns a tuple with the Storage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectResources) GetVcpus ¶
func (o *ProjectResources) GetVcpus() int32
GetVcpus returns the Vcpus field value if set, zero value otherwise.
func (*ProjectResources) GetVcpusOk ¶
func (o *ProjectResources) GetVcpusOk() (*int32, bool)
GetVcpusOk returns a tuple with the Vcpus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectResources) HasInstances ¶
func (o *ProjectResources) HasInstances() bool
HasInstances returns a boolean if a field has been set.
func (*ProjectResources) HasMemory ¶
func (o *ProjectResources) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (*ProjectResources) HasStorage ¶
func (o *ProjectResources) HasStorage() bool
HasStorage returns a boolean if a field has been set.
func (*ProjectResources) HasVcpus ¶
func (o *ProjectResources) HasVcpus() bool
HasVcpus returns a boolean if a field has been set.
func (ProjectResources) MarshalJSON ¶
func (o ProjectResources) MarshalJSON() ([]byte, error)
func (*ProjectResources) SetInstances ¶
func (o *ProjectResources) SetInstances(v int32)
SetInstances gets a reference to the given int32 and assigns it to the Instances field.
func (*ProjectResources) SetMemory ¶
func (o *ProjectResources) SetMemory(v int64)
SetMemory gets a reference to the given int64 and assigns it to the Memory field.
func (*ProjectResources) SetStorage ¶
func (o *ProjectResources) SetStorage(v int64)
SetStorage gets a reference to the given int64 and assigns it to the Storage field.
func (*ProjectResources) SetVcpus ¶
func (o *ProjectResources) SetVcpus(v int32)
SetVcpus gets a reference to the given int32 and assigns it to the Vcpus field.
func (ProjectResources) ToMap ¶
func (o ProjectResources) ToMap() (map[string]interface{}, error)
type RecordAPIService ¶
type RecordAPIService service
RecordAPIService RecordAPI service
func (*RecordAPIService) DeleteDnsRecord ¶
func (a *RecordAPIService) DeleteDnsRecord(ctx context.Context, recordId string) ApiDeleteDnsRecordRequest
DeleteDnsRecord Method for DeleteDnsRecord
Deletes an existing DNS record.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param recordId The ID of the DNS record. @return ApiDeleteDnsRecordRequest
func (*RecordAPIService) DeleteDnsRecordExecute ¶
func (a *RecordAPIService) DeleteDnsRecordExecute(r ApiDeleteDnsRecordRequest) (*http.Response, error)
Execute executes the request
func (*RecordAPIService) ReadDnsRecord ¶
func (a *RecordAPIService) ReadDnsRecord(ctx context.Context, recordId string) ApiReadDnsRecordRequest
ReadDnsRecord Method for ReadDnsRecord
Returns a DNS record.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param recordId The ID of the DNS record. @return ApiReadDnsRecordRequest
func (*RecordAPIService) ReadDnsRecordExecute ¶
func (a *RecordAPIService) ReadDnsRecordExecute(r ApiReadDnsRecordRequest) (*DnsRecord, *http.Response, error)
Execute executes the request
@return DnsRecord
func (*RecordAPIService) UpdateDnsRecord ¶
func (a *RecordAPIService) UpdateDnsRecord(ctx context.Context, recordId string) ApiUpdateDnsRecordRequest
UpdateDnsRecord Method for UpdateDnsRecord
Updates a DNS record configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param recordId The ID of the DNS record. @return ApiUpdateDnsRecordRequest
func (*RecordAPIService) UpdateDnsRecordExecute ¶
func (a *RecordAPIService) UpdateDnsRecordExecute(r ApiUpdateDnsRecordRequest) (*DnsRecord, *http.Response, error)
Execute executes the request
@return DnsRecord
type Region ¶
type Region struct { // The region ID (auto-generated). Id *string `json:"id,omitempty"` // The region name. Name string `json:"name"` // The region description. Description *string `json:"description,omitempty"` }
Region A region.
func NewRegion ¶
NewRegion instantiates a new Region object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRegionWithDefaults ¶
func NewRegionWithDefaults() *Region
NewRegionWithDefaults instantiates a new Region object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Region) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Region) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Region) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Region) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Region) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (Region) MarshalJSON ¶
func (*Region) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Region) UnmarshalJSON ¶
type RegionAPIService ¶
type RegionAPIService service
RegionAPIService RegionAPI service
func (*RegionAPIService) CreateKiwi ¶
func (a *RegionAPIService) CreateKiwi(ctx context.Context, regionId string) ApiCreateKiwiRequest
CreateKiwi Method for CreateKiwi
Creates a new Kiwi (Kowabunga Inner Wan Interface) provides edge-network services..
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId The ID of the region. @return ApiCreateKiwiRequest
func (*RegionAPIService) CreateKiwiExecute ¶
func (a *RegionAPIService) CreateKiwiExecute(r ApiCreateKiwiRequest) (*Kiwi, *http.Response, error)
Execute executes the request
@return Kiwi
func (*RegionAPIService) CreateRegion ¶
func (a *RegionAPIService) CreateRegion(ctx context.Context) ApiCreateRegionRequest
CreateRegion Method for CreateRegion
Creates a new region.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateRegionRequest
func (*RegionAPIService) CreateRegionExecute ¶
func (a *RegionAPIService) CreateRegionExecute(r ApiCreateRegionRequest) (*Region, *http.Response, error)
Execute executes the request
@return Region
func (*RegionAPIService) CreateStorageNFS ¶
func (a *RegionAPIService) CreateStorageNFS(ctx context.Context, regionId string) ApiCreateStorageNFSRequest
CreateStorageNFS Method for CreateStorageNFS
Creates a new NFS storage.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId The ID of the region. @return ApiCreateStorageNFSRequest
func (*RegionAPIService) CreateStorageNFSExecute ¶
func (a *RegionAPIService) CreateStorageNFSExecute(r ApiCreateStorageNFSRequest) (*StorageNFS, *http.Response, error)
Execute executes the request
@return StorageNFS
func (*RegionAPIService) CreateStoragePool ¶
func (a *RegionAPIService) CreateStoragePool(ctx context.Context, regionId string) ApiCreateStoragePoolRequest
CreateStoragePool Method for CreateStoragePool
Creates a new storage pool.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId The ID of the region. @return ApiCreateStoragePoolRequest
func (*RegionAPIService) CreateStoragePoolExecute ¶
func (a *RegionAPIService) CreateStoragePoolExecute(r ApiCreateStoragePoolRequest) (*StoragePool, *http.Response, error)
Execute executes the request
@return StoragePool
func (*RegionAPIService) CreateVNet ¶
func (a *RegionAPIService) CreateVNet(ctx context.Context, regionId string) ApiCreateVNetRequest
CreateVNet Method for CreateVNet
Creates a new virtual network.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId The ID of the region. @return ApiCreateVNetRequest
func (*RegionAPIService) CreateVNetExecute ¶
func (a *RegionAPIService) CreateVNetExecute(r ApiCreateVNetRequest) (*VNet, *http.Response, error)
Execute executes the request
@return VNet
func (*RegionAPIService) CreateZone ¶
func (a *RegionAPIService) CreateZone(ctx context.Context, regionId string) ApiCreateZoneRequest
CreateZone Method for CreateZone
Creates a new availability zone.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId The ID of the region. @return ApiCreateZoneRequest
func (*RegionAPIService) CreateZoneExecute ¶
func (a *RegionAPIService) CreateZoneExecute(r ApiCreateZoneRequest) (*Zone, *http.Response, error)
Execute executes the request
@return Zone
func (*RegionAPIService) DeleteRegion ¶
func (a *RegionAPIService) DeleteRegion(ctx context.Context, regionId string) ApiDeleteRegionRequest
DeleteRegion Method for DeleteRegion
Deletes an existing region.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId The ID of the region. @return ApiDeleteRegionRequest
func (*RegionAPIService) DeleteRegionExecute ¶
func (a *RegionAPIService) DeleteRegionExecute(r ApiDeleteRegionRequest) (*http.Response, error)
Execute executes the request
func (*RegionAPIService) ListRegionKiwis ¶
func (a *RegionAPIService) ListRegionKiwis(ctx context.Context, regionId string) ApiListRegionKiwisRequest
ListRegionKiwis Method for ListRegionKiwis
Returns the IDs of Kiwi (Kowabunga Inner Wan Interface) provides edge-network services. objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId The ID of the region. @return ApiListRegionKiwisRequest
func (*RegionAPIService) ListRegionKiwisExecute ¶
func (a *RegionAPIService) ListRegionKiwisExecute(r ApiListRegionKiwisRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*RegionAPIService) ListRegionStorageNFSs ¶
func (a *RegionAPIService) ListRegionStorageNFSs(ctx context.Context, regionId string) ApiListRegionStorageNFSsRequest
ListRegionStorageNFSs Method for ListRegionStorageNFSs
Returns the IDs of NFS storage objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId The ID of the region. @return ApiListRegionStorageNFSsRequest
func (*RegionAPIService) ListRegionStorageNFSsExecute ¶
func (a *RegionAPIService) ListRegionStorageNFSsExecute(r ApiListRegionStorageNFSsRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*RegionAPIService) ListRegionStoragePools ¶
func (a *RegionAPIService) ListRegionStoragePools(ctx context.Context, regionId string) ApiListRegionStoragePoolsRequest
ListRegionStoragePools Method for ListRegionStoragePools
Returns the IDs of storage pool objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId The ID of the region. @return ApiListRegionStoragePoolsRequest
func (*RegionAPIService) ListRegionStoragePoolsExecute ¶
func (a *RegionAPIService) ListRegionStoragePoolsExecute(r ApiListRegionStoragePoolsRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*RegionAPIService) ListRegionVNets ¶
func (a *RegionAPIService) ListRegionVNets(ctx context.Context, regionId string) ApiListRegionVNetsRequest
ListRegionVNets Method for ListRegionVNets
Returns the IDs of virtual network objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId The ID of the region. @return ApiListRegionVNetsRequest
func (*RegionAPIService) ListRegionVNetsExecute ¶
func (a *RegionAPIService) ListRegionVNetsExecute(r ApiListRegionVNetsRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*RegionAPIService) ListRegionZones ¶
func (a *RegionAPIService) ListRegionZones(ctx context.Context, regionId string) ApiListRegionZonesRequest
ListRegionZones Method for ListRegionZones
Returns the IDs of availability zone objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId The ID of the region. @return ApiListRegionZonesRequest
func (*RegionAPIService) ListRegionZonesExecute ¶
func (a *RegionAPIService) ListRegionZonesExecute(r ApiListRegionZonesRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*RegionAPIService) ListRegions ¶
func (a *RegionAPIService) ListRegions(ctx context.Context) ApiListRegionsRequest
ListRegions Method for ListRegions
Returns the IDs of region objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListRegionsRequest
func (*RegionAPIService) ListRegionsExecute ¶
func (a *RegionAPIService) ListRegionsExecute(r ApiListRegionsRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*RegionAPIService) ReadRegion ¶
func (a *RegionAPIService) ReadRegion(ctx context.Context, regionId string) ApiReadRegionRequest
ReadRegion Method for ReadRegion
Returns a region.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId The ID of the region. @return ApiReadRegionRequest
func (*RegionAPIService) ReadRegionExecute ¶
func (a *RegionAPIService) ReadRegionExecute(r ApiReadRegionRequest) (*Region, *http.Response, error)
Execute executes the request
@return Region
func (*RegionAPIService) SetRegionDefaultStorageNFS ¶
func (a *RegionAPIService) SetRegionDefaultStorageNFS(ctx context.Context, regionId string, nfsId string) ApiSetRegionDefaultStorageNFSRequest
SetRegionDefaultStorageNFS Method for SetRegionDefaultStorageNFS
Performs a region setting of default NFS storage.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId The ID of the region. @param nfsId The ID of the NFS storage. @return ApiSetRegionDefaultStorageNFSRequest
func (*RegionAPIService) SetRegionDefaultStorageNFSExecute ¶
func (a *RegionAPIService) SetRegionDefaultStorageNFSExecute(r ApiSetRegionDefaultStorageNFSRequest) (*http.Response, error)
Execute executes the request
func (*RegionAPIService) SetRegionDefaultStoragePool ¶
func (a *RegionAPIService) SetRegionDefaultStoragePool(ctx context.Context, regionId string, poolId string) ApiSetRegionDefaultStoragePoolRequest
SetRegionDefaultStoragePool Method for SetRegionDefaultStoragePool
Performs a region setting of default storage pool.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId The ID of the region. @param poolId The ID of the storage pool. @return ApiSetRegionDefaultStoragePoolRequest
func (*RegionAPIService) SetRegionDefaultStoragePoolExecute ¶
func (a *RegionAPIService) SetRegionDefaultStoragePoolExecute(r ApiSetRegionDefaultStoragePoolRequest) (*http.Response, error)
Execute executes the request
func (*RegionAPIService) UpdateRegion ¶
func (a *RegionAPIService) UpdateRegion(ctx context.Context, regionId string) ApiUpdateRegionRequest
UpdateRegion Method for UpdateRegion
Updates a region configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId The ID of the region. @return ApiUpdateRegionRequest
func (*RegionAPIService) UpdateRegionExecute ¶
func (a *RegionAPIService) UpdateRegionExecute(r ApiUpdateRegionRequest) (*Region, *http.Response, error)
Execute executes the request
@return Region
type RegionSubnet ¶
type RegionSubnet struct { // The region key. Key *string `json:"key,omitempty"` // The subnet ID. Value *string `json:"value,omitempty"` }
RegionSubnet A region/subnet map.
func NewRegionSubnet ¶
func NewRegionSubnet() *RegionSubnet
NewRegionSubnet instantiates a new RegionSubnet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRegionSubnetWithDefaults ¶
func NewRegionSubnetWithDefaults() *RegionSubnet
NewRegionSubnetWithDefaults instantiates a new RegionSubnet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RegionSubnet) GetKey ¶
func (o *RegionSubnet) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*RegionSubnet) GetKeyOk ¶
func (o *RegionSubnet) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegionSubnet) GetValue ¶
func (o *RegionSubnet) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*RegionSubnet) GetValueOk ¶
func (o *RegionSubnet) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegionSubnet) HasKey ¶
func (o *RegionSubnet) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*RegionSubnet) HasValue ¶
func (o *RegionSubnet) HasValue() bool
HasValue returns a boolean if a field has been set.
func (RegionSubnet) MarshalJSON ¶
func (o RegionSubnet) MarshalJSON() ([]byte, error)
func (*RegionSubnet) SetKey ¶
func (o *RegionSubnet) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (*RegionSubnet) SetValue ¶
func (o *RegionSubnet) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (RegionSubnet) ToMap ¶
func (o RegionSubnet) ToMap() (map[string]interface{}, error)
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type StorageNFS ¶
type StorageNFS struct { // The NFS storage ID (auto-generated). Id *string `json:"id,omitempty"` // The NFS storage name. Name string `json:"name"` // The NFS storage description. Description *string `json:"description,omitempty"` // The associated NFS endpoint FQDN. Endpoint string `json:"endpoint"` // The underlying associated Ceph volume name. Fs *string `json:"fs,omitempty"` // List of NFS Ganesha API server IP addresses. Backends []string `json:"backends,omitempty"` // NFS Ganesha API server port (default 54934). Port *int64 `json:"port,omitempty"` }
StorageNFS A NFS storage.
func NewStorageNFS ¶
func NewStorageNFS(name string, endpoint string) *StorageNFS
NewStorageNFS instantiates a new StorageNFS object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStorageNFSWithDefaults ¶
func NewStorageNFSWithDefaults() *StorageNFS
NewStorageNFSWithDefaults instantiates a new StorageNFS object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*StorageNFS) GetBackends ¶
func (o *StorageNFS) GetBackends() []string
GetBackends returns the Backends field value if set, zero value otherwise.
func (*StorageNFS) GetBackendsOk ¶
func (o *StorageNFS) GetBackendsOk() ([]string, bool)
GetBackendsOk returns a tuple with the Backends field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNFS) GetDescription ¶
func (o *StorageNFS) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*StorageNFS) GetDescriptionOk ¶
func (o *StorageNFS) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNFS) GetEndpoint ¶
func (o *StorageNFS) GetEndpoint() string
GetEndpoint returns the Endpoint field value
func (*StorageNFS) GetEndpointOk ¶
func (o *StorageNFS) GetEndpointOk() (*string, bool)
GetEndpointOk returns a tuple with the Endpoint field value and a boolean to check if the value has been set.
func (*StorageNFS) GetFs ¶
func (o *StorageNFS) GetFs() string
GetFs returns the Fs field value if set, zero value otherwise.
func (*StorageNFS) GetFsOk ¶
func (o *StorageNFS) GetFsOk() (*string, bool)
GetFsOk returns a tuple with the Fs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNFS) GetId ¶
func (o *StorageNFS) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*StorageNFS) GetIdOk ¶
func (o *StorageNFS) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNFS) GetName ¶
func (o *StorageNFS) GetName() string
GetName returns the Name field value
func (*StorageNFS) GetNameOk ¶
func (o *StorageNFS) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*StorageNFS) GetPort ¶
func (o *StorageNFS) GetPort() int64
GetPort returns the Port field value if set, zero value otherwise.
func (*StorageNFS) GetPortOk ¶
func (o *StorageNFS) GetPortOk() (*int64, bool)
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNFS) HasBackends ¶
func (o *StorageNFS) HasBackends() bool
HasBackends returns a boolean if a field has been set.
func (*StorageNFS) HasDescription ¶
func (o *StorageNFS) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*StorageNFS) HasFs ¶
func (o *StorageNFS) HasFs() bool
HasFs returns a boolean if a field has been set.
func (*StorageNFS) HasId ¶
func (o *StorageNFS) HasId() bool
HasId returns a boolean if a field has been set.
func (*StorageNFS) HasPort ¶
func (o *StorageNFS) HasPort() bool
HasPort returns a boolean if a field has been set.
func (StorageNFS) MarshalJSON ¶
func (o StorageNFS) MarshalJSON() ([]byte, error)
func (*StorageNFS) SetBackends ¶
func (o *StorageNFS) SetBackends(v []string)
SetBackends gets a reference to the given []string and assigns it to the Backends field.
func (*StorageNFS) SetDescription ¶
func (o *StorageNFS) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*StorageNFS) SetEndpoint ¶
func (o *StorageNFS) SetEndpoint(v string)
SetEndpoint sets field value
func (*StorageNFS) SetFs ¶
func (o *StorageNFS) SetFs(v string)
SetFs gets a reference to the given string and assigns it to the Fs field.
func (*StorageNFS) SetId ¶
func (o *StorageNFS) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*StorageNFS) SetPort ¶
func (o *StorageNFS) SetPort(v int64)
SetPort gets a reference to the given int64 and assigns it to the Port field.
func (StorageNFS) ToMap ¶
func (o StorageNFS) ToMap() (map[string]interface{}, error)
func (*StorageNFS) UnmarshalJSON ¶
func (o *StorageNFS) UnmarshalJSON(data []byte) (err error)
type StoragePool ¶
type StoragePool struct { // The storage pool ID (auto-generated). Id *string `json:"id,omitempty"` // The storage pool name. Name string `json:"name"` // The storage pool description. Description *string `json:"description,omitempty"` // Ceph pool name. Pool string `json:"pool"` // Ceph Monitor(s) address or FQDN. CephAddress *string `json:"ceph_address,omitempty"` // Ceph Monitor(s) port (default 3300). CephPort *int64 `json:"ceph_port,omitempty"` // The libvirt secret UUID for CephX authentication. CephSecretUuid *string `json:"ceph_secret_uuid,omitempty"` // Cost associated to the storage pool. Cost Cost `json:"cost,omitempty"` // a list of existing remote agents managing the storage pool. Agents []string `json:"agents"` }
StoragePool A storage pool.
func NewStoragePool ¶
func NewStoragePool(name string, pool string, agents []string) *StoragePool
NewStoragePool instantiates a new StoragePool object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStoragePoolWithDefaults ¶
func NewStoragePoolWithDefaults() *StoragePool
NewStoragePoolWithDefaults instantiates a new StoragePool object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*StoragePool) GetAgents ¶
func (o *StoragePool) GetAgents() []string
GetAgents returns the Agents field value
func (*StoragePool) GetAgentsOk ¶
func (o *StoragePool) GetAgentsOk() ([]string, bool)
GetAgentsOk returns a tuple with the Agents field value and a boolean to check if the value has been set.
func (*StoragePool) GetCephAddress ¶
func (o *StoragePool) GetCephAddress() string
GetCephAddress returns the CephAddress field value if set, zero value otherwise.
func (*StoragePool) GetCephAddressOk ¶
func (o *StoragePool) GetCephAddressOk() (*string, bool)
GetCephAddressOk returns a tuple with the CephAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StoragePool) GetCephPort ¶
func (o *StoragePool) GetCephPort() int64
GetCephPort returns the CephPort field value if set, zero value otherwise.
func (*StoragePool) GetCephPortOk ¶
func (o *StoragePool) GetCephPortOk() (*int64, bool)
GetCephPortOk returns a tuple with the CephPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StoragePool) GetCephSecretUuid ¶
func (o *StoragePool) GetCephSecretUuid() string
GetCephSecretUuid returns the CephSecretUuid field value if set, zero value otherwise.
func (*StoragePool) GetCephSecretUuidOk ¶
func (o *StoragePool) GetCephSecretUuidOk() (*string, bool)
GetCephSecretUuidOk returns a tuple with the CephSecretUuid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StoragePool) GetCost ¶
func (o *StoragePool) GetCost() Cost
GetCost returns the Cost field value if set, zero value otherwise.
func (*StoragePool) GetCostOk ¶
func (o *StoragePool) GetCostOk() (Cost, bool)
GetCostOk returns a tuple with the Cost field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StoragePool) GetDescription ¶
func (o *StoragePool) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*StoragePool) GetDescriptionOk ¶
func (o *StoragePool) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StoragePool) GetId ¶
func (o *StoragePool) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*StoragePool) GetIdOk ¶
func (o *StoragePool) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StoragePool) GetName ¶
func (o *StoragePool) GetName() string
GetName returns the Name field value
func (*StoragePool) GetNameOk ¶
func (o *StoragePool) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*StoragePool) GetPool ¶
func (o *StoragePool) GetPool() string
GetPool returns the Pool field value
func (*StoragePool) GetPoolOk ¶
func (o *StoragePool) GetPoolOk() (*string, bool)
GetPoolOk returns a tuple with the Pool field value and a boolean to check if the value has been set.
func (*StoragePool) HasCephAddress ¶
func (o *StoragePool) HasCephAddress() bool
HasCephAddress returns a boolean if a field has been set.
func (*StoragePool) HasCephPort ¶
func (o *StoragePool) HasCephPort() bool
HasCephPort returns a boolean if a field has been set.
func (*StoragePool) HasCephSecretUuid ¶
func (o *StoragePool) HasCephSecretUuid() bool
HasCephSecretUuid returns a boolean if a field has been set.
func (*StoragePool) HasCost ¶
func (o *StoragePool) HasCost() bool
HasCost returns a boolean if a field has been set.
func (*StoragePool) HasDescription ¶
func (o *StoragePool) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*StoragePool) HasId ¶
func (o *StoragePool) HasId() bool
HasId returns a boolean if a field has been set.
func (StoragePool) MarshalJSON ¶
func (o StoragePool) MarshalJSON() ([]byte, error)
func (*StoragePool) SetAgents ¶
func (o *StoragePool) SetAgents(v []string)
SetAgents sets field value
func (*StoragePool) SetCephAddress ¶
func (o *StoragePool) SetCephAddress(v string)
SetCephAddress gets a reference to the given string and assigns it to the CephAddress field.
func (*StoragePool) SetCephPort ¶
func (o *StoragePool) SetCephPort(v int64)
SetCephPort gets a reference to the given int64 and assigns it to the CephPort field.
func (*StoragePool) SetCephSecretUuid ¶
func (o *StoragePool) SetCephSecretUuid(v string)
SetCephSecretUuid gets a reference to the given string and assigns it to the CephSecretUuid field.
func (*StoragePool) SetCost ¶
func (o *StoragePool) SetCost(v Cost)
SetCost gets a reference to the given Cost and assigns it to the Cost field.
func (*StoragePool) SetDescription ¶
func (o *StoragePool) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*StoragePool) SetId ¶
func (o *StoragePool) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (StoragePool) ToMap ¶
func (o StoragePool) ToMap() (map[string]interface{}, error)
func (*StoragePool) UnmarshalJSON ¶
func (o *StoragePool) UnmarshalJSON(data []byte) (err error)
type Subnet ¶
type Subnet struct { // The network subnet ID (auto-generated). Id *string `json:"id,omitempty"` // The network subnet name. Name string `json:"name"` // The network subnet description. Description *string `json:"description,omitempty"` // The network subnet CIDR (e.g. 192.168.0.0/24). Cidr string `json:"cidr"` // The network subnet router/gateway IP address (e.g. 192.168.0.254). Gateway string `json:"gateway"` // The network subnet DNS server IP address (gateway value if unspecified). Dns *string `json:"dns,omitempty"` // The list of extra routes to be access through designated gateway (format is 10.0.0.0/8). ExtraRoutes []string `json:"extra_routes,omitempty"` // The network subnet reserved IPv4 ranges (i.e. no IP address can be assigned from there). Reserved []IpRange `json:"reserved,omitempty"` // The network subnet IPv4 ranges reserved for per-zone local network gateways (range size must be at least equal to region number of zones). GwPool []IpRange `json:"gw_pool,omitempty"` // Optional application service type. Application *string `json:"application,omitempty"` }
Subnet A network subnet.
func NewSubnet ¶
NewSubnet instantiates a new Subnet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSubnetWithDefaults ¶
func NewSubnetWithDefaults() *Subnet
NewSubnetWithDefaults instantiates a new Subnet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Subnet) GetApplication ¶
GetApplication returns the Application field value if set, zero value otherwise.
func (*Subnet) GetApplicationOk ¶
GetApplicationOk returns a tuple with the Application field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetCidrOk ¶
GetCidrOk returns a tuple with the Cidr field value and a boolean to check if the value has been set.
func (*Subnet) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Subnet) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetDnsOk ¶
GetDnsOk returns a tuple with the Dns field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetExtraRoutes ¶
GetExtraRoutes returns the ExtraRoutes field value if set, zero value otherwise.
func (*Subnet) GetExtraRoutesOk ¶
GetExtraRoutesOk returns a tuple with the ExtraRoutes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetGateway ¶
GetGateway returns the Gateway field value
func (*Subnet) GetGatewayOk ¶
GetGatewayOk returns a tuple with the Gateway field value and a boolean to check if the value has been set.
func (*Subnet) GetGwPoolOk ¶
GetGwPoolOk returns a tuple with the GwPool field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Subnet) GetReserved ¶
GetReserved returns the Reserved field value if set, zero value otherwise.
func (*Subnet) GetReservedOk ¶
GetReservedOk returns a tuple with the Reserved field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) HasApplication ¶
HasApplication returns a boolean if a field has been set.
func (*Subnet) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Subnet) HasExtraRoutes ¶
HasExtraRoutes returns a boolean if a field has been set.
func (*Subnet) HasReserved ¶
HasReserved returns a boolean if a field has been set.
func (Subnet) MarshalJSON ¶
func (*Subnet) SetApplication ¶
SetApplication gets a reference to the given string and assigns it to the Application field.
func (*Subnet) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Subnet) SetDns ¶
SetDns gets a reference to the given string and assigns it to the Dns field.
func (*Subnet) SetExtraRoutes ¶
SetExtraRoutes gets a reference to the given []string and assigns it to the ExtraRoutes field.
func (*Subnet) SetGwPool ¶
SetGwPool gets a reference to the given []IpRange and assigns it to the GwPool field.
func (*Subnet) SetReserved ¶
SetReserved gets a reference to the given []IpRange and assigns it to the Reserved field.
func (*Subnet) UnmarshalJSON ¶
type SubnetAPIService ¶
type SubnetAPIService service
SubnetAPIService SubnetAPI service
func (*SubnetAPIService) CreateAdapter ¶
func (a *SubnetAPIService) CreateAdapter(ctx context.Context, subnetId string) ApiCreateAdapterRequest
CreateAdapter Method for CreateAdapter
Creates a new network adapter.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param subnetId The ID of the network subnet. @return ApiCreateAdapterRequest
func (*SubnetAPIService) CreateAdapterExecute ¶
func (a *SubnetAPIService) CreateAdapterExecute(r ApiCreateAdapterRequest) (*Adapter, *http.Response, error)
Execute executes the request
@return Adapter
func (*SubnetAPIService) DeleteSubnet ¶
func (a *SubnetAPIService) DeleteSubnet(ctx context.Context, subnetId string) ApiDeleteSubnetRequest
DeleteSubnet Method for DeleteSubnet
Deletes an existing network subnet.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param subnetId The ID of the network subnet. @return ApiDeleteSubnetRequest
func (*SubnetAPIService) DeleteSubnetExecute ¶
func (a *SubnetAPIService) DeleteSubnetExecute(r ApiDeleteSubnetRequest) (*http.Response, error)
Execute executes the request
func (*SubnetAPIService) ListSubnetAdapters ¶
func (a *SubnetAPIService) ListSubnetAdapters(ctx context.Context, subnetId string) ApiListSubnetAdaptersRequest
ListSubnetAdapters Method for ListSubnetAdapters
Returns the IDs of network adapter objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param subnetId The ID of the network subnet. @return ApiListSubnetAdaptersRequest
func (*SubnetAPIService) ListSubnetAdaptersExecute ¶
func (a *SubnetAPIService) ListSubnetAdaptersExecute(r ApiListSubnetAdaptersRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*SubnetAPIService) ListSubnets ¶
func (a *SubnetAPIService) ListSubnets(ctx context.Context) ApiListSubnetsRequest
ListSubnets Method for ListSubnets
Returns the IDs of network subnet objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListSubnetsRequest
func (*SubnetAPIService) ListSubnetsExecute ¶
func (a *SubnetAPIService) ListSubnetsExecute(r ApiListSubnetsRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*SubnetAPIService) ReadSubnet ¶
func (a *SubnetAPIService) ReadSubnet(ctx context.Context, subnetId string) ApiReadSubnetRequest
ReadSubnet Method for ReadSubnet
Returns a network subnet.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param subnetId The ID of the network subnet. @return ApiReadSubnetRequest
func (*SubnetAPIService) ReadSubnetExecute ¶
func (a *SubnetAPIService) ReadSubnetExecute(r ApiReadSubnetRequest) (*Subnet, *http.Response, error)
Execute executes the request
@return Subnet
func (*SubnetAPIService) UpdateSubnet ¶
func (a *SubnetAPIService) UpdateSubnet(ctx context.Context, subnetId string) ApiUpdateSubnetRequest
UpdateSubnet Method for UpdateSubnet
Updates a network subnet configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param subnetId The ID of the network subnet. @return ApiUpdateSubnetRequest
func (*SubnetAPIService) UpdateSubnetExecute ¶
func (a *SubnetAPIService) UpdateSubnetExecute(r ApiUpdateSubnetRequest) (*Subnet, *http.Response, error)
Execute executes the request
@return Subnet
type Team ¶
type Team struct { // The Kowabunga users team ID (auto-generated). Id *string `json:"id,omitempty"` // The Kowabunga users team name. Name string `json:"name"` // The Kowabunga users team description. Description *string `json:"description,omitempty"` // List of user IDs that are part of the team. Users []string `json:"users"` }
Team A Kowabunga users team.
func NewTeam ¶
NewTeam instantiates a new Team object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTeamWithDefaults ¶
func NewTeamWithDefaults() *Team
NewTeamWithDefaults instantiates a new Team object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Team) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Team) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Team) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Team) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Team) GetUsersOk ¶
GetUsersOk returns a tuple with the Users field value and a boolean to check if the value has been set.
func (*Team) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (Team) MarshalJSON ¶
func (*Team) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Team) UnmarshalJSON ¶
type TeamAPIService ¶
type TeamAPIService service
TeamAPIService TeamAPI service
func (*TeamAPIService) CreateTeam ¶
func (a *TeamAPIService) CreateTeam(ctx context.Context) ApiCreateTeamRequest
CreateTeam Method for CreateTeam
Creates a new Kowabunga users team.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateTeamRequest
func (*TeamAPIService) CreateTeamExecute ¶
func (a *TeamAPIService) CreateTeamExecute(r ApiCreateTeamRequest) (*Team, *http.Response, error)
Execute executes the request
@return Team
func (*TeamAPIService) DeleteTeam ¶
func (a *TeamAPIService) DeleteTeam(ctx context.Context, teamId string) ApiDeleteTeamRequest
DeleteTeam Method for DeleteTeam
Deletes an existing Kowabunga users team.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param teamId The ID of the Kowabunga users team. @return ApiDeleteTeamRequest
func (*TeamAPIService) DeleteTeamExecute ¶
func (a *TeamAPIService) DeleteTeamExecute(r ApiDeleteTeamRequest) (*http.Response, error)
Execute executes the request
func (*TeamAPIService) ListTeams ¶
func (a *TeamAPIService) ListTeams(ctx context.Context) ApiListTeamsRequest
ListTeams Method for ListTeams
Returns the IDs of Kowabunga users team objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListTeamsRequest
func (*TeamAPIService) ListTeamsExecute ¶
func (a *TeamAPIService) ListTeamsExecute(r ApiListTeamsRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*TeamAPIService) ReadTeam ¶
func (a *TeamAPIService) ReadTeam(ctx context.Context, teamId string) ApiReadTeamRequest
ReadTeam Method for ReadTeam
Returns a Kowabunga users team.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param teamId The ID of the Kowabunga users team. @return ApiReadTeamRequest
func (*TeamAPIService) ReadTeamExecute ¶
func (a *TeamAPIService) ReadTeamExecute(r ApiReadTeamRequest) (*Team, *http.Response, error)
Execute executes the request
@return Team
func (*TeamAPIService) UpdateTeam ¶
func (a *TeamAPIService) UpdateTeam(ctx context.Context, teamId string) ApiUpdateTeamRequest
UpdateTeam Method for UpdateTeam
Updates a Kowabunga users team configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param teamId The ID of the Kowabunga users team. @return ApiUpdateTeamRequest
func (*TeamAPIService) UpdateTeamExecute ¶
func (a *TeamAPIService) UpdateTeamExecute(r ApiUpdateTeamRequest) (*Team, *http.Response, error)
Execute executes the request
@return Team
type Template ¶
type Template struct { // The image template ID (auto-generated). Id *string `json:"id,omitempty"` // The image template name. Name string `json:"name"` // The image template description. Description *string `json:"description,omitempty"` // Type of operating system if OS kind (useful to determine cloud-init parameters for instance). Os *string `json:"os,omitempty"` // HTTP(s) source URL of the KVM-ready OS image. Source string `json:"source"` }
Template A image template.
func NewTemplate ¶
NewTemplate instantiates a new Template object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTemplateWithDefaults ¶
func NewTemplateWithDefaults() *Template
NewTemplateWithDefaults instantiates a new Template object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Template) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Template) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Template) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Template) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Template) GetOsOk ¶
GetOsOk returns a tuple with the Os field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Template) GetSourceOk ¶
GetSourceOk returns a tuple with the Source field value and a boolean to check if the value has been set.
func (*Template) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (Template) MarshalJSON ¶
func (*Template) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Template) UnmarshalJSON ¶
type TemplateAPIService ¶
type TemplateAPIService service
TemplateAPIService TemplateAPI service
func (*TemplateAPIService) DeleteTemplate ¶
func (a *TemplateAPIService) DeleteTemplate(ctx context.Context, templateId string) ApiDeleteTemplateRequest
DeleteTemplate Method for DeleteTemplate
Deletes an existing image template.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param templateId The ID of the image template. @return ApiDeleteTemplateRequest
func (*TemplateAPIService) DeleteTemplateExecute ¶
func (a *TemplateAPIService) DeleteTemplateExecute(r ApiDeleteTemplateRequest) (*http.Response, error)
Execute executes the request
func (*TemplateAPIService) ListTemplates ¶
func (a *TemplateAPIService) ListTemplates(ctx context.Context) ApiListTemplatesRequest
ListTemplates Method for ListTemplates
Returns the IDs of image template objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListTemplatesRequest
func (*TemplateAPIService) ListTemplatesExecute ¶
func (a *TemplateAPIService) ListTemplatesExecute(r ApiListTemplatesRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*TemplateAPIService) ReadTemplate ¶
func (a *TemplateAPIService) ReadTemplate(ctx context.Context, templateId string) ApiReadTemplateRequest
ReadTemplate Method for ReadTemplate
Returns a image template.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param templateId The ID of the image template. @return ApiReadTemplateRequest
func (*TemplateAPIService) ReadTemplateExecute ¶
func (a *TemplateAPIService) ReadTemplateExecute(r ApiReadTemplateRequest) (*Template, *http.Response, error)
Execute executes the request
@return Template
func (*TemplateAPIService) UpdateTemplate ¶
func (a *TemplateAPIService) UpdateTemplate(ctx context.Context, templateId string) ApiUpdateTemplateRequest
UpdateTemplate Method for UpdateTemplate
Updates a image template configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param templateId The ID of the image template. @return ApiUpdateTemplateRequest
func (*TemplateAPIService) UpdateTemplateExecute ¶
func (a *TemplateAPIService) UpdateTemplateExecute(r ApiUpdateTemplateRequest) (*Template, *http.Response, error)
Execute executes the request
@return Template
type TokenAPIService ¶
type TokenAPIService service
TokenAPIService TokenAPI service
func (*TokenAPIService) DeleteApiToken ¶
func (a *TokenAPIService) DeleteApiToken(ctx context.Context, tokenId string) ApiDeleteApiTokenRequest
DeleteApiToken Method for DeleteApiToken
Deletes an existing server-to-server authentication security token.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param tokenId The ID of the server-to-server authentication security token. @return ApiDeleteApiTokenRequest
func (*TokenAPIService) DeleteApiTokenExecute ¶
func (a *TokenAPIService) DeleteApiTokenExecute(r ApiDeleteApiTokenRequest) (*http.Response, error)
Execute executes the request
func (*TokenAPIService) ListApiTokens ¶
func (a *TokenAPIService) ListApiTokens(ctx context.Context) ApiListApiTokensRequest
ListApiTokens Method for ListApiTokens
Returns the IDs of server-to-server authentication security token objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListApiTokensRequest
func (*TokenAPIService) ListApiTokensExecute ¶
func (a *TokenAPIService) ListApiTokensExecute(r ApiListApiTokensRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*TokenAPIService) ReadApiToken ¶
func (a *TokenAPIService) ReadApiToken(ctx context.Context, tokenId string) ApiReadApiTokenRequest
ReadApiToken Method for ReadApiToken
Returns a server-to-server authentication security token.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param tokenId The ID of the server-to-server authentication security token. @return ApiReadApiTokenRequest
func (*TokenAPIService) ReadApiTokenExecute ¶
func (a *TokenAPIService) ReadApiTokenExecute(r ApiReadApiTokenRequest) (*ApiToken, *http.Response, error)
Execute executes the request
@return ApiToken
func (*TokenAPIService) UpdateApiToken ¶
func (a *TokenAPIService) UpdateApiToken(ctx context.Context, tokenId string) ApiUpdateApiTokenRequest
UpdateApiToken Method for UpdateApiToken
Updates a server-to-server authentication security token configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param tokenId The ID of the server-to-server authentication security token. @return ApiUpdateApiTokenRequest
func (*TokenAPIService) UpdateApiTokenExecute ¶
func (a *TokenAPIService) UpdateApiTokenExecute(r ApiUpdateApiTokenRequest) (*ApiToken, *http.Response, error)
Execute executes the request
@return ApiToken
type User ¶
type User struct { // The Kowabunga user ID (auto-generated). Id *string `json:"id,omitempty"` // The Kowabunga user name. Name string `json:"name"` // The Kowabunga user description. Description *string `json:"description,omitempty"` // User email address. Email string `json:"email"` // The Kowabunga user role. Role string `json:"role"` // Whether or not to receive email notifications on events. Notifications *bool `json:"notifications,omitempty"` }
User A Kowabunga user.
func NewUser ¶
NewUser instantiates a new User object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserWithDefaults ¶
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*User) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*User) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetEmailOk ¶
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*User) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*User) GetNotifications ¶
GetNotifications returns the Notifications field value if set, zero value otherwise.
func (*User) GetNotificationsOk ¶
GetNotificationsOk returns a tuple with the Notifications field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetRoleOk ¶
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*User) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*User) HasNotifications ¶
HasNotifications returns a boolean if a field has been set.
func (User) MarshalJSON ¶
func (*User) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*User) SetNotifications ¶
SetNotifications gets a reference to the given bool and assigns it to the Notifications field.
func (*User) UnmarshalJSON ¶
type UserAPIService ¶
type UserAPIService service
UserAPIService UserAPI service
func (*UserAPIService) CreateUser ¶
func (a *UserAPIService) CreateUser(ctx context.Context) ApiCreateUserRequest
CreateUser Method for CreateUser
Creates a new Kowabunga user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateUserRequest
func (*UserAPIService) CreateUserExecute ¶
func (a *UserAPIService) CreateUserExecute(r ApiCreateUserRequest) (*User, *http.Response, error)
Execute executes the request
@return User
func (*UserAPIService) DeleteUser ¶
func (a *UserAPIService) DeleteUser(ctx context.Context, userId string) ApiDeleteUserRequest
DeleteUser Method for DeleteUser
Deletes an existing Kowabunga user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId The ID of the Kowabunga user. @return ApiDeleteUserRequest
func (*UserAPIService) DeleteUserExecute ¶
func (a *UserAPIService) DeleteUserExecute(r ApiDeleteUserRequest) (*http.Response, error)
Execute executes the request
func (*UserAPIService) ListUsers ¶
func (a *UserAPIService) ListUsers(ctx context.Context) ApiListUsersRequest
ListUsers Method for ListUsers
Returns the IDs of Kowabunga user objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListUsersRequest
func (*UserAPIService) ListUsersExecute ¶
func (a *UserAPIService) ListUsersExecute(r ApiListUsersRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*UserAPIService) Login ¶
func (a *UserAPIService) Login(ctx context.Context) ApiLoginRequest
Login Method for Login
Creates a new Kowabunga user login credentials.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiLoginRequest
func (*UserAPIService) LoginExecute ¶
func (a *UserAPIService) LoginExecute(r ApiLoginRequest) (*UserCredentials, *http.Response, error)
Execute executes the request
@return UserCredentials
func (*UserAPIService) Logout ¶
func (a *UserAPIService) Logout(ctx context.Context) ApiLogoutRequest
Logout Method for Logout
Creates a new Kowabunga user logout session.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiLogoutRequest
func (*UserAPIService) LogoutExecute ¶
func (a *UserAPIService) LogoutExecute(r ApiLogoutRequest) (*http.Response, error)
Execute executes the request
func (*UserAPIService) ReadUser ¶
func (a *UserAPIService) ReadUser(ctx context.Context, userId string) ApiReadUserRequest
ReadUser Method for ReadUser
Returns a Kowabunga user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId The ID of the Kowabunga user. @return ApiReadUserRequest
func (*UserAPIService) ReadUserExecute ¶
func (a *UserAPIService) ReadUserExecute(r ApiReadUserRequest) (*User, *http.Response, error)
Execute executes the request
@return User
func (*UserAPIService) ResetPassword ¶
func (a *UserAPIService) ResetPassword(ctx context.Context) ApiResetPasswordRequest
ResetPassword Method for ResetPassword
Updates a Kowabunga userreset of password for the provided email (server-side generated, will replace any existing one) configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiResetPasswordRequest
func (*UserAPIService) ResetPasswordExecute ¶
func (a *UserAPIService) ResetPasswordExecute(r ApiResetPasswordRequest) (*http.Response, error)
Execute executes the request
func (*UserAPIService) ResetUserPassword ¶
func (a *UserAPIService) ResetUserPassword(ctx context.Context, userId string) ApiResetUserPasswordRequest
ResetUserPassword Method for ResetUserPassword
Performs a Kowabunga user reset of password (server-side generated, will replace any existing one).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId The ID of the Kowabunga user. @return ApiResetUserPasswordRequest
func (*UserAPIService) ResetUserPasswordExecute ¶
func (a *UserAPIService) ResetUserPasswordExecute(r ApiResetUserPasswordRequest) (*http.Response, error)
Execute executes the request
func (*UserAPIService) SetUserApiToken ¶
func (a *UserAPIService) SetUserApiToken(ctx context.Context, userId string) ApiSetUserApiTokenRequest
SetUserApiToken Method for SetUserApiToken
Performs a Kowabunga user setting of API token (will replace any existing one).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId The ID of the Kowabunga user. @return ApiSetUserApiTokenRequest
func (*UserAPIService) SetUserApiTokenExecute ¶
func (a *UserAPIService) SetUserApiTokenExecute(r ApiSetUserApiTokenRequest) (*http.Response, error)
Execute executes the request
func (*UserAPIService) SetUserPassword ¶
func (a *UserAPIService) SetUserPassword(ctx context.Context, userId string) ApiSetUserPasswordRequest
SetUserPassword Method for SetUserPassword
Updates a Kowabunga user password (will replace any existing one) configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId The ID of the Kowabunga user. @return ApiSetUserPasswordRequest
func (*UserAPIService) SetUserPasswordExecute ¶
func (a *UserAPIService) SetUserPasswordExecute(r ApiSetUserPasswordRequest) (*http.Response, error)
Execute executes the request
func (*UserAPIService) UpdateUser ¶
func (a *UserAPIService) UpdateUser(ctx context.Context, userId string) ApiUpdateUserRequest
UpdateUser Method for UpdateUser
Updates a Kowabunga user configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId The ID of the Kowabunga user. @return ApiUpdateUserRequest
func (*UserAPIService) UpdateUserExecute ¶
func (a *UserAPIService) UpdateUserExecute(r ApiUpdateUserRequest) (*User, *http.Response, error)
Execute executes the request
@return User
type UserCredentials ¶
type UserCredentials struct { // The user email address for login. Email string `json:"email"` // The user password for login. Password string `json:"password"` // The resulting server-generated JWT token for Bearer Authentication (read-only). Jwt *string `json:"jwt,omitempty"` }
UserCredentials A Kowabunga user login credentials.
func NewUserCredentials ¶
func NewUserCredentials(email string, password string) *UserCredentials
NewUserCredentials instantiates a new UserCredentials object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserCredentialsWithDefaults ¶
func NewUserCredentialsWithDefaults() *UserCredentials
NewUserCredentialsWithDefaults instantiates a new UserCredentials object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UserCredentials) GetEmail ¶
func (o *UserCredentials) GetEmail() string
GetEmail returns the Email field value
func (*UserCredentials) GetEmailOk ¶
func (o *UserCredentials) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*UserCredentials) GetJwt ¶
func (o *UserCredentials) GetJwt() string
GetJwt returns the Jwt field value if set, zero value otherwise.
func (*UserCredentials) GetJwtOk ¶
func (o *UserCredentials) GetJwtOk() (*string, bool)
GetJwtOk returns a tuple with the Jwt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserCredentials) GetPassword ¶
func (o *UserCredentials) GetPassword() string
GetPassword returns the Password field value
func (*UserCredentials) GetPasswordOk ¶
func (o *UserCredentials) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*UserCredentials) HasJwt ¶
func (o *UserCredentials) HasJwt() bool
HasJwt returns a boolean if a field has been set.
func (UserCredentials) MarshalJSON ¶
func (o UserCredentials) MarshalJSON() ([]byte, error)
func (*UserCredentials) SetEmail ¶
func (o *UserCredentials) SetEmail(v string)
SetEmail sets field value
func (*UserCredentials) SetJwt ¶
func (o *UserCredentials) SetJwt(v string)
SetJwt gets a reference to the given string and assigns it to the Jwt field.
func (*UserCredentials) SetPassword ¶
func (o *UserCredentials) SetPassword(v string)
SetPassword sets field value
func (UserCredentials) ToMap ¶
func (o UserCredentials) ToMap() (map[string]interface{}, error)
func (*UserCredentials) UnmarshalJSON ¶
func (o *UserCredentials) UnmarshalJSON(data []byte) (err error)
type UserEmail ¶
type UserEmail struct { // The user email address used for login. Email string `json:"email"` }
UserEmail A Kowabunga user email.
func NewUserEmail ¶
NewUserEmail instantiates a new UserEmail object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserEmailWithDefaults ¶
func NewUserEmailWithDefaults() *UserEmail
NewUserEmailWithDefaults instantiates a new UserEmail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UserEmail) GetEmailOk ¶
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (UserEmail) MarshalJSON ¶
func (*UserEmail) UnmarshalJSON ¶
type VNet ¶
type VNet struct { // The virtual network ID (auto-generated). Id *string `json:"id,omitempty"` // The virtual network name. Name string `json:"name"` // The virtual network description. Description *string `json:"description,omitempty"` // The VLAN identifier (0 if unspecified). Vlan *int64 `json:"vlan,omitempty"` // The libvirt's bridge network interface (brX). Interface string `json:"interface"` // Is the virtual network adapter connected to private (LAN) or public (WAN) physical network ?. Private *bool `json:"private,omitempty"` }
VNet A virtual network.
func NewVNet ¶
NewVNet instantiates a new VNet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVNetWithDefaults ¶
func NewVNetWithDefaults() *VNet
NewVNetWithDefaults instantiates a new VNet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VNet) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*VNet) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VNet) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VNet) GetInterface ¶
GetInterface returns the Interface field value
func (*VNet) GetInterfaceOk ¶
GetInterfaceOk returns a tuple with the Interface field value and a boolean to check if the value has been set.
func (*VNet) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*VNet) GetPrivate ¶
GetPrivate returns the Private field value if set, zero value otherwise.
func (*VNet) GetPrivateOk ¶
GetPrivateOk returns a tuple with the Private field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VNet) GetVlanOk ¶
GetVlanOk returns a tuple with the Vlan field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VNet) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*VNet) HasPrivate ¶ added in v0.52.3
HasPrivate returns a boolean if a field has been set.
func (VNet) MarshalJSON ¶
func (*VNet) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*VNet) SetPrivate ¶
SetPrivate gets a reference to the given bool and assigns it to the Private field.
func (*VNet) SetVlan ¶
SetVlan gets a reference to the given int64 and assigns it to the Vlan field.
func (*VNet) UnmarshalJSON ¶
type VnetAPIService ¶
type VnetAPIService service
VnetAPIService VnetAPI service
func (*VnetAPIService) CreateSubnet ¶
func (a *VnetAPIService) CreateSubnet(ctx context.Context, vnetId string) ApiCreateSubnetRequest
CreateSubnet Method for CreateSubnet
Creates a new network subnet.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param vnetId The ID of the virtual network. @return ApiCreateSubnetRequest
func (*VnetAPIService) CreateSubnetExecute ¶
func (a *VnetAPIService) CreateSubnetExecute(r ApiCreateSubnetRequest) (*Subnet, *http.Response, error)
Execute executes the request
@return Subnet
func (*VnetAPIService) DeleteVNet ¶
func (a *VnetAPIService) DeleteVNet(ctx context.Context, vnetId string) ApiDeleteVNetRequest
DeleteVNet Method for DeleteVNet
Deletes an existing virtual network.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param vnetId The ID of the virtual network. @return ApiDeleteVNetRequest
func (*VnetAPIService) DeleteVNetExecute ¶
func (a *VnetAPIService) DeleteVNetExecute(r ApiDeleteVNetRequest) (*http.Response, error)
Execute executes the request
func (*VnetAPIService) ListVNetSubnets ¶
func (a *VnetAPIService) ListVNetSubnets(ctx context.Context, vnetId string) ApiListVNetSubnetsRequest
ListVNetSubnets Method for ListVNetSubnets
Returns the IDs of network subnet objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param vnetId The ID of the virtual network. @return ApiListVNetSubnetsRequest
func (*VnetAPIService) ListVNetSubnetsExecute ¶
func (a *VnetAPIService) ListVNetSubnetsExecute(r ApiListVNetSubnetsRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*VnetAPIService) ListVNets ¶
func (a *VnetAPIService) ListVNets(ctx context.Context) ApiListVNetsRequest
ListVNets Method for ListVNets
Returns the IDs of virtual network objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListVNetsRequest
func (*VnetAPIService) ListVNetsExecute ¶
func (a *VnetAPIService) ListVNetsExecute(r ApiListVNetsRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*VnetAPIService) ReadVNet ¶
func (a *VnetAPIService) ReadVNet(ctx context.Context, vnetId string) ApiReadVNetRequest
ReadVNet Method for ReadVNet
Returns a virtual network.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param vnetId The ID of the virtual network. @return ApiReadVNetRequest
func (*VnetAPIService) ReadVNetExecute ¶
func (a *VnetAPIService) ReadVNetExecute(r ApiReadVNetRequest) (*VNet, *http.Response, error)
Execute executes the request
@return VNet
func (*VnetAPIService) SetVNetDefaultSubnet ¶
func (a *VnetAPIService) SetVNetDefaultSubnet(ctx context.Context, vnetId string, subnetId string) ApiSetVNetDefaultSubnetRequest
SetVNetDefaultSubnet Method for SetVNetDefaultSubnet
Performs a virtual network setting of default network subnet.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param vnetId The ID of the virtual network. @param subnetId The ID of the network subnet. @return ApiSetVNetDefaultSubnetRequest
func (*VnetAPIService) SetVNetDefaultSubnetExecute ¶
func (a *VnetAPIService) SetVNetDefaultSubnetExecute(r ApiSetVNetDefaultSubnetRequest) (*http.Response, error)
Execute executes the request
func (*VnetAPIService) UpdateVNet ¶
func (a *VnetAPIService) UpdateVNet(ctx context.Context, vnetId string) ApiUpdateVNetRequest
UpdateVNet Method for UpdateVNet
Updates a virtual network configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param vnetId The ID of the virtual network. @return ApiUpdateVNetRequest
func (*VnetAPIService) UpdateVNetExecute ¶
func (a *VnetAPIService) UpdateVNetExecute(r ApiUpdateVNetRequest) (*VNet, *http.Response, error)
Execute executes the request
@return VNet
type Volume ¶
type Volume struct { // The storage volume ID (auto-generated). Id *string `json:"id,omitempty"` // The storage volume name. Name string `json:"name"` // The storage volume description. Description *string `json:"description,omitempty"` // The storage volume type. Type string `json:"type"` // The storage volume size (in bytes). Size int64 `json:"size"` }
Volume A storage volume.
func NewVolume ¶
NewVolume instantiates a new Volume object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVolumeWithDefaults ¶
func NewVolumeWithDefaults() *Volume
NewVolumeWithDefaults instantiates a new Volume object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Volume) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Volume) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Volume) GetSizeOk ¶
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*Volume) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Volume) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (Volume) MarshalJSON ¶
func (*Volume) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Volume) UnmarshalJSON ¶
type VolumeAPIService ¶
type VolumeAPIService service
VolumeAPIService VolumeAPI service
func (*VolumeAPIService) DeleteVolume ¶
func (a *VolumeAPIService) DeleteVolume(ctx context.Context, volumeId string) ApiDeleteVolumeRequest
DeleteVolume Method for DeleteVolume
Deletes an existing storage volume.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param volumeId The ID of the storage volume. @return ApiDeleteVolumeRequest
func (*VolumeAPIService) DeleteVolumeExecute ¶
func (a *VolumeAPIService) DeleteVolumeExecute(r ApiDeleteVolumeRequest) (*http.Response, error)
Execute executes the request
func (*VolumeAPIService) ListVolumes ¶
func (a *VolumeAPIService) ListVolumes(ctx context.Context) ApiListVolumesRequest
ListVolumes Method for ListVolumes
Returns the IDs of storage volume objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListVolumesRequest
func (*VolumeAPIService) ListVolumesExecute ¶
func (a *VolumeAPIService) ListVolumesExecute(r ApiListVolumesRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*VolumeAPIService) ReadVolume ¶
func (a *VolumeAPIService) ReadVolume(ctx context.Context, volumeId string) ApiReadVolumeRequest
ReadVolume Method for ReadVolume
Returns a storage volume.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param volumeId The ID of the storage volume. @return ApiReadVolumeRequest
func (*VolumeAPIService) ReadVolumeExecute ¶
func (a *VolumeAPIService) ReadVolumeExecute(r ApiReadVolumeRequest) (*Volume, *http.Response, error)
Execute executes the request
@return Volume
func (*VolumeAPIService) UpdateVolume ¶
func (a *VolumeAPIService) UpdateVolume(ctx context.Context, volumeId string) ApiUpdateVolumeRequest
UpdateVolume Method for UpdateVolume
Updates a storage volume configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param volumeId The ID of the storage volume. @return ApiUpdateVolumeRequest
func (*VolumeAPIService) UpdateVolumeExecute ¶
func (a *VolumeAPIService) UpdateVolumeExecute(r ApiUpdateVolumeRequest) (*Volume, *http.Response, error)
Execute executes the request
@return Volume
type Zone ¶
type Zone struct { // The availability zone ID (auto-generated). Id *string `json:"id,omitempty"` // The availability zone name. Name string `json:"name"` // The availability zone description. Description *string `json:"description,omitempty"` }
Zone A availability zone.
func NewZone ¶
NewZone instantiates a new Zone object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewZoneWithDefaults ¶
func NewZoneWithDefaults() *Zone
NewZoneWithDefaults instantiates a new Zone object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Zone) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Zone) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Zone) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (Zone) MarshalJSON ¶
func (*Zone) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Zone) UnmarshalJSON ¶
type ZoneAPIService ¶
type ZoneAPIService service
ZoneAPIService ZoneAPI service
func (*ZoneAPIService) CreateKaktus ¶
func (a *ZoneAPIService) CreateKaktus(ctx context.Context, zoneId string) ApiCreateKaktusRequest
CreateKaktus Method for CreateKaktus
Creates a new Kaktus computing node.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The ID of the availability zone. @return ApiCreateKaktusRequest
func (*ZoneAPIService) CreateKaktusExecute ¶
func (a *ZoneAPIService) CreateKaktusExecute(r ApiCreateKaktusRequest) (*Kaktus, *http.Response, error)
Execute executes the request
@return Kaktus
func (*ZoneAPIService) DeleteZone ¶
func (a *ZoneAPIService) DeleteZone(ctx context.Context, zoneId string) ApiDeleteZoneRequest
DeleteZone Method for DeleteZone
Deletes an existing availability zone.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The ID of the availability zone. @return ApiDeleteZoneRequest
func (*ZoneAPIService) DeleteZoneExecute ¶
func (a *ZoneAPIService) DeleteZoneExecute(r ApiDeleteZoneRequest) (*http.Response, error)
Execute executes the request
func (*ZoneAPIService) ListZoneKaktuses ¶
func (a *ZoneAPIService) ListZoneKaktuses(ctx context.Context, zoneId string) ApiListZoneKaktusesRequest
ListZoneKaktuses Method for ListZoneKaktuses
Returns the IDs of Kaktus computing node objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The ID of the availability zone. @return ApiListZoneKaktusesRequest
func (*ZoneAPIService) ListZoneKaktusesExecute ¶
func (a *ZoneAPIService) ListZoneKaktusesExecute(r ApiListZoneKaktusesRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*ZoneAPIService) ListZones ¶
func (a *ZoneAPIService) ListZones(ctx context.Context) ApiListZonesRequest
ListZones Method for ListZones
Returns the IDs of availability zone objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListZonesRequest
func (*ZoneAPIService) ListZonesExecute ¶
func (a *ZoneAPIService) ListZonesExecute(r ApiListZonesRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*ZoneAPIService) ReadZone ¶
func (a *ZoneAPIService) ReadZone(ctx context.Context, zoneId string) ApiReadZoneRequest
ReadZone Method for ReadZone
Returns a availability zone.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The ID of the availability zone. @return ApiReadZoneRequest
func (*ZoneAPIService) ReadZoneExecute ¶
func (a *ZoneAPIService) ReadZoneExecute(r ApiReadZoneRequest) (*Zone, *http.Response, error)
Execute executes the request
@return Zone
func (*ZoneAPIService) UpdateZone ¶
func (a *ZoneAPIService) UpdateZone(ctx context.Context, zoneId string) ApiUpdateZoneRequest
UpdateZone Method for UpdateZone
Updates a availability zone configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The ID of the availability zone. @return ApiUpdateZoneRequest
func (*ZoneAPIService) UpdateZoneExecute ¶
func (a *ZoneAPIService) UpdateZoneExecute(r ApiUpdateZoneRequest) (*Zone, *http.Response, error)
Execute executes the request
@return Zone
Source Files
¶
- api_adapter.go
- api_agent.go
- api_instance.go
- api_kaktus.go
- api_kawaii.go
- api_kiwi.go
- api_kompute.go
- api_konvey.go
- api_kylo.go
- api_nfs.go
- api_pool.go
- api_project.go
- api_record.go
- api_region.go
- api_subnet.go
- api_team.go
- api_template.go
- api_token.go
- api_user.go
- api_vnet.go
- api_volume.go
- api_zone.go
- client.go
- configuration.go
- model_adapter.go
- model_agent.go
- model_api_error_bad_request.go
- model_api_error_conflict.go
- model_api_error_forbidden.go
- model_api_error_insufficient_resource.go
- model_api_error_not_found.go
- model_api_error_unauthorized.go
- model_api_error_unprocessable_entity.go
- model_api_token.go
- model_cost.go
- model_dns_record.go
- model_instance.go
- model_instance_remote_access.go
- model_instance_state.go
- model_ip_range.go
- model_kaktus.go
- model_kaktus_caps.go
- model_kaktus_cpu.go
- model_kawaii.go
- model_kawaii_d_nat_rule.go
- model_kawaii_firewall.go
- model_kawaii_firewall_egress_rule.go
- model_kawaii_firewall_ingress_rule.go
- model_kawaii_ip_sec.go
- model_kawaii_net_ip.go
- model_kawaii_net_ip_zone.go
- model_kawaii_vpc_forward_rule.go
- model_kawaii_vpc_net_ip_zone.go
- model_kawaii_vpc_peering.go
- model_kiwi.go
- model_kompute.go
- model_konvey.go
- model_konvey_backends.go
- model_konvey_endpoint.go
- model_kylo.go
- model_metadata.go
- model_password.go
- model_project.go
- model_project_resources.go
- model_region.go
- model_region_subnet.go
- model_storage_nfs.go
- model_storage_pool.go
- model_subnet.go
- model_team.go
- model_template.go
- model_user.go
- model_user_credentials.go
- model_user_email.go
- model_v_net.go
- model_volume.go
- model_zone.go
- response.go
- utils.go