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 App
- type AppStep
- type Cluster
- type ClusterOptions
- type ClusterOverview
- type Credential
- type DeploymentOverview
- type IPPool
- type Login
- type Node
- type NodePool
- type NodePoolOptions
- type Options
- type Organization
- type OrganizationOverview
- type Overview
- type StepOption
- type StorageResource
- type Tokens
- type UnprocessableEntityErrors
- type User
- type UserOverview
- type Workload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { AppSteps *[]AppStep `json:"app_steps,omitempty"` Description *string `json:"description,omitempty"` Icon *string `json:"icon,omitempty"` ID string `json:"id"` Name string `json:"name"` }
App defines model for app.
type AppStep ¶
type AppStep struct { Name string `json:"name"` StepOptions *[]StepOption `json:"step_options,omitempty"` }
AppStep defines model for app_step.
type Cluster ¶
type Cluster struct { AllocateInternalIP *bool `json:"allocate_internal_ip,omitempty"` CreatedAt time.Time `json:"created_at"` Duration *string `json:"duration,omitempty"` ID string `json:"id"` Name string `json:"name"` NodeCount int `json:"node_count"` NodePools []NodePool `json:"node_pools"` Organization string `json:"organization"` State string `json:"state"` Version string `json:"version"` }
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 ClusterOverview ¶
type ClusterOverview struct { Deployments *[]DeploymentOverview `json:"deployments,omitempty"` ID string `json:"id"` Name string `json:"name"` }
ClusterOverview defines model for cluster_overview.
type Credential ¶
type Credential struct { CredentialTemplate *string `json:"credential_template,omitempty"` Data *map[string][]byte `json:"data,omitempty"` ID string `json:"id"` Name string `json:"name"` Organization string `json:"organization"` }
Credential defines model for credential.
type DeploymentOverview ¶
DeploymentOverview defines model for deployment_overview.
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 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 *string `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 { CreatedAt time.Time `json:"created_at"` DisplayName *string `json:"display_name,omitempty"` Duration *string `json:"duration,omitempty"` ID string `json:"id"` Name string `json:"name"` UpdatedAt time.Time `json:"updated_at"` }
Organization defines model for organization.
type OrganizationOverview ¶
type OrganizationOverview struct { Clusters *[]ClusterOverview `json:"clusters,omitempty"` ID string `json:"id"` Name string `json:"name"` Users *[]UserOverview `json:"users,omitempty"` }
OrganizationOverview defines model for organization_overview.
type Overview ¶
type Overview struct {
Organizations []OrganizationOverview `json:"organizations"`
}
Overview defines model for overview.
type StepOption ¶
type StepOption struct { Default *string `json:"default,omitempty"` DisplayName *string `json:"display_name,omitempty"` Hidden *bool `json:"hidden,omitempty"` JSONPointer *string `json:"json_pointer,omitempty"` Managed *bool `json:"managed,omitempty"` Selection *[]string `json:"selection,omitempty"` Tags *[]string `json:"tags,omitempty"` Toggle *[]string `json:"toggle,omitempty"` Type *string `json:"type,omitempty"` }
StepOption defines model for step_option.
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"` Email string `json:"email"` ID string `json:"id"` Name string `json:"name"` Password *string `json:"password,omitempty"` UpdatedAt *time.Time `json:"updated_at,omitempty"` }
User defines model for user.
type UserOverview ¶
UserOverview defines model for user_overview.
type Workload ¶
type Workload struct { ID *string `json:"id,omitempty"` Input *map[string]interface{} `json:"input,omitempty"` Name *string `json:"name,omitempty"` Namespace *string `json:"namespace,omitempty"` Provenience *string `json:"provenience,omitempty"` WorkloadTemplateName *string `json:"workload_template_name,omitempty"` }
Workload defines model for workload.