Documentation
¶
Overview ¶
Package types provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.
Index ¶
- type Cluster
- type ClusterOptions
- type Credential
- type CredentialOptions
- type IPPool
- type IdentityProvider
- type Invitation
- type InvitationOptions
- type KubeconfigOptions
- type LoginOptions
- type Node
- type NodePool
- type NodePoolOptions
- type Options
- type Organization
- type OrganizationOptions
- type StorageResource
- type Tokens
- type UnprocessableEntityErrors
- type User
- type UserOptions
- type Workload
- type WorkloadOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
AllocateInternalIP *bool `json:"allocate_internal_ip,omitempty"`
APIEndpoint *string `json:"api_endpoint,omitempty"`
Condition *string `json:"condition,omitempty"`
CreatedAt time.Time `json:"created_at"`
DeletedAt *time.Time `json:"deleted_at,omitempty"`
DNSZones *[]string `json:"dns_zones,omitempty"`
Duration *string `json:"duration,omitempty"`
ExpiresAt *time.Time `json:"expires_at,omitempty"`
ID string `json:"id"`
Name string `json:"name"`
NodePoolsCount *int `json:"node_pools_count,omitempty"`
NodesCount *int `json:"nodes_count,omitempty"`
Organization *string `json:"organization,omitempty"`
State *string `json:"state,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
Version *string `json:"version,omitempty"`
}
Cluster defines model for cluster.
type ClusterOptions ¶
type ClusterOptions struct {
AllocateInternalIP *bool `json:"allocate_internal_ip,omitempty"`
ClusterTemplate *string `json:"cluster_template,omitempty"`
Duration *string `json:"duration,omitempty"`
IngressProvider *string `json:"ingress_provider,omitempty"`
Name string `json:"name"`
NoClusterApps *bool `json:"no_cluster_apps,omitempty"`
NoIngressProvider *bool `json:"no_ingress_provider,omitempty"`
NodePoolOptions *[]NodePoolOptions `json:"node_pool_options,omitempty"`
Version *string `json:"version,omitempty"`
}
ClusterOptions defines model for cluster_options.
type Credential ¶
type Credential struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
CredentialTemplateName *string `json:"credential_template_name,omitempty"`
Data *map[string][]byte `json:"data,omitempty"`
DeletedAt *time.Time `json:"deleted_at,omitempty"`
ID string `json:"id"`
Name string `json:"name"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
Credential defines model for credential.
type CredentialOptions ¶
type CredentialOptions struct {
CredentialTemplateName *string `json:"credential_template_name,omitempty"`
Data *map[string][]byte `json:"data,omitempty"`
Name *string `json:"name,omitempty"`
}
CredentialOptions defines model for credential_options.
type IPPool ¶
type IPPool struct {
Addresses *[]string `json:"addresses,omitempty"`
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
}
IPPool defines model for ip_pool.
type IdentityProvider ¶
type IdentityProvider struct {
DisplayName *string `json:"display_name,omitempty"`
ID string `json:"id"`
Name string `json:"name"`
}
IdentityProvider defines model for identity_provider.
type Invitation ¶
type Invitation struct {
CreatedAt time.Time `json:"created_at"`
DeletedAt *time.Time `json:"deleted_at,omitempty"`
Duration *string `json:"duration,omitempty"`
Email *string `json:"email,omitempty"`
ExpiresAt *time.Time `json:"expires_at,omitempty"`
ID string `json:"id"`
Name string `json:"name"`
OrganizationDisplayName *string `json:"organization_display_name,omitempty"`
OrganizationName *string `json:"organization_name,omitempty"`
Role string `json:"role"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
Invitation defines model for invitation.
type InvitationOptions ¶
type InvitationOptions struct {
Duration *string `json:"duration,omitempty"`
Email string `json:"email"`
Role string `json:"role"`
}
InvitationOptions defines model for invitation_options.
type KubeconfigOptions ¶
type KubeconfigOptions struct {
Duration *string `json:"duration,omitempty"`
}
KubeconfigOptions defines model for kubeconfig_options.
type LoginOptions ¶
LoginOptions defines model for login_options.
type NodePool ¶
type NodePool struct {
ClusterID *string `json:"cluster_id,omitempty"`
ControlPlane *bool `json:"control_plane,omitempty"`
ControlPlaneComponentsOnly *bool `json:"control_plane_components_only,omitempty"`
CPUCount *int `json:"cpu_count,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
DeletedAt *time.Time `json:"deleted_at,omitempty"`
DiskSize *string `json:"disk_size,omitempty"`
ID string `json:"id"`
LoadBalancer *bool `json:"load_balancer,omitempty"`
Name string `json:"name"`
Nodes *[]Node `json:"nodes,omitempty"`
Quantity *int `json:"quantity,omitempty"`
RAMSize *string `json:"ram_size,omitempty"`
StorageResources *[]StorageResource `json:"storage_resources,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
NodePool defines model for node_pool.
type NodePoolOptions ¶
type NodePoolOptions struct {
ControlPlane *bool `json:"control_plane,omitempty"`
ControlPlaneComponentsOnly *bool `json:"control_plane_components_only,omitempty"`
CPUCount *int `json:"cpu_count,omitempty"`
DiskSize *string `json:"disk_size,omitempty"`
LoadBalancer *bool `json:"load_balancer,omitempty"`
Name *string `json:"name,omitempty"`
Quantity *int `json:"quantity,omitempty"`
RAMSize *string `json:"ram_size,omitempty"`
StorageResources *[]StorageResource `json:"storage_resources,omitempty"`
}
NodePoolOptions defines model for node_pool_options.
type Options ¶
type Options struct {
StorageResourceTypes *[]string `json:"storage_resource_types,omitempty"`
Version []string `json:"version"`
}
Options defines model for options.
type Organization ¶
type Organization struct {
Condition *string `json:"condition,omitempty"`
CreatedAt time.Time `json:"created_at"`
CredentialReferenceName *string `json:"credential_reference_name,omitempty"`
DeletedAt *time.Time `json:"deleted_at,omitempty"`
DisplayName *string `json:"display_name,omitempty"`
Duration *string `json:"duration,omitempty"`
ExpiresAt *time.Time `json:"expires_at,omitempty"`
ID string `json:"id"`
Name string `json:"name"`
ProviderID *string `json:"provider_id,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
VoucherCode *string `json:"voucher_code,omitempty"`
}
Organization defines model for organization.
type OrganizationOptions ¶
type OrganizationOptions struct {
CredentialReferenceName *string `json:"credential_reference_name,omitempty"`
DisplayName *string `json:"display_name,omitempty"`
Duration *string `json:"duration,omitempty"`
VoucherCode *string `json:"voucher_code,omitempty"`
}
OrganizationOptions defines model for organization_options.
type StorageResource ¶
type StorageResource struct {
Name string `json:"name"`
Quantity string `json:"quantity"`
Type *string `json:"type,omitempty"`
}
StorageResource defines model for storage_resource.
type Tokens ¶
type Tokens struct {
AccessToken string `json:"AccessToken"`
RefreshToken string `json:"RefreshToken"`
}
Tokens defines model for tokens.
type UnprocessableEntityErrors ¶
type UnprocessableEntityErrors struct {
Errors []string `json:"errors"`
}
UnprocessableEntityErrors defines model for unprocessable_entity_errors.
type User ¶
type User struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
DisplayName *string `json:"display_name,omitempty"`
Email string `json:"email"`
ID string `json:"id"`
Name string `json:"name"`
Password *string `json:"password,omitempty"`
ProviderID *string `json:"provider_id,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
User defines model for user.
type UserOptions ¶
type UserOptions struct {
DisplayName *string `json:"display_name,omitempty"`
Email string `json:"email"`
Password string `json:"password"`
}
UserOptions defines model for user_options.
type Workload ¶
type Workload struct {
Condition *string `json:"condition,omitempty"`
CreatedAt time.Time `json:"created_at"`
DeletedAt *time.Time `json:"deleted_at,omitempty"`
ID string `json:"id"`
Input *map[string]interface{} `json:"input,omitempty"`
Name string `json:"name"`
Namespace *string `json:"namespace,omitempty"`
Provenience *string `json:"provenience,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
WorkloadTemplateName *string `json:"workload_template_name,omitempty"`
}
Workload defines model for workload.
type WorkloadOptions ¶
type WorkloadOptions struct {
Input *map[string]interface{} `json:"input,omitempty"`
Name *string `json:"name,omitempty"`
Namespace *string `json:"namespace,omitempty"`
WorkloadTemplateName *string `json:"workload_template_name,omitempty"`
}
WorkloadOptions defines model for workload_options.