Documentation
¶
Overview ¶
Package core 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.
This is not autogenerated.
This is not autogenerated.
This is not autogenerated.
Package core 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 ¶
- func MapToStruct(m map[string]interface{}, obj interface{}) error
- func StructToMap(obj interface{}) (map[string]interface{}, error)
- func UUIDOrUUIDNil(value *uuid.UUID) uuid.UUID
- type AcceptedTermsAt
- type AvatarUrl
- type Bio
- type ConnectionId
- type ConnectionKind
- type ContextId
- type CreatedAt
- type CredentialID
- type CredentialId
- type Cumulative
- type DeletedAt
- type DesignId
- type Email
- type EmailPreference
- type Emails
- type Empty
- type Endpoint
- type EnvironmentId
- type EventsFilter
- type Filter
- type GeneralId
- type Id
- type InstanceId
- type IsOAuth
- type KubernetesServerID
- type Map
- type MapObject
- type MesheryInstanceID
- type MesheryVersion
- type Name
- type Namespace
- type NullTime
- type Number
- type OamType
- type OperationID
- type Order
- type OrgId
- type OrganizationId
- type Os
- type Page
- type PageSize
- type PlanId
- type Playground
- type Price
- type Provider
- type Purpose
- type RecordsPage
- type RequestFilter
- type ResultID
- type ResultsPage
- type RoleNames
- type Search
- type ServerId
- type Status
- type SystemID
- type TeamId
- type Text
- type Time
- type Type
- type UpdatedAt
- type UserID
- type UserId
- type UserIds
- type Username
- type ViewId
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapToStruct ¶ added in v0.8.80
func StructToMap ¶ added in v0.8.80
Types ¶
type AcceptedTermsAt ¶
type AcceptedTermsAt = string
AcceptedTermsAt defines model for accepted_terms_at.
type ConnectionId ¶ added in v0.7.11
type ConnectionId = Id
ConnectionId defines model for connectionId.
type ConnectionKind ¶ added in v0.7.11
type ConnectionKind = string
ConnectionKind defines model for connectionKind.
type CredentialId ¶ added in v0.7.11
type CredentialId = string
CredentialId defines model for credentialId.
type Cumulative ¶ added in v0.7.11
type Cumulative = string
Cumulative defines model for cumulative.
type EmailPreference ¶
type EmailPreference struct {
NotifyRoleChange bool `json:"notify_role_change,omitempty"`
WelcomeEmail bool `json:"welcome_email,omitempty"`
}
EmailPreference defines model for email_preference.
type EnvironmentId ¶ added in v0.7.11
EnvironmentId defines model for environment_id.
type EventsFilter ¶ added in v0.7.11
type EventsFilter struct {
EventType *[]string `json:"event_type,omitempty"`
Provider *[]string `json:"provider,omitempty"`
}
EventsFilter defines model for eventsFilter.
type KubernetesServerID ¶
KubernetesServerID defines model for kubernetes_server_uuid.
type Map ¶ added in v0.8.27
Map is a map[string]interface.
func (*Map) Scan ¶ added in v0.8.27
Scan implements the sql.Scanner interface. It allows to read the map from the database value.
func (*Map) UnmarshalJSON ¶ added in v0.8.27
UnmarshalJSON will unmarshall JSON value into the map representation of this value.
type MapObject ¶
MapObject defines model for map_object.
func (MapObject) GormDataType ¶ added in v0.8.135
GormDataType returns the data type for GORM to use when creating the database column.
type MesheryInstanceID ¶
MesheryInstanceID defines model for meshery_instance_uuid.
type MesheryVersion ¶ added in v0.7.11
type MesheryVersion = string
MesheryVersion defines model for mesheryVersion.
type NullTime ¶
NullTime replaces sql.NullTime with an implementation that supports proper JSON encoding/decoding.
func (NullTime) MarshalJSON ¶ added in v0.8.27
MarshalJSON marshals the underlying value to a proper JSON representation.
func (NullTime) MarshalYAML ¶ added in v0.8.28
func (*NullTime) UnmarshalJSON ¶ added in v0.8.27
UnmarshalJSON will unmarshal a JSON value into the propert representation of that value. -- This NullTime implementation supports unmarshaling from both: - A JSON time string (e.g., "2023-07-05T15:04:05Z") - A JSON object (e.g., {"Time":"0001-01-01T00:00:00Z","Valid":false}) - A JSON null value
we need support for JSON object as provider is using sql.NullTime now for DeletedAt field which is marshaled to json as such object and is returned from api
func (*NullTime) UnmarshalYAML ¶ added in v0.8.28
type OrganizationId ¶ added in v0.7.11
OrganizationId defines model for organization_id.
type Playground ¶ added in v0.7.11
type Playground = string
Playground defines model for playground.
type Provider ¶
type Provider = string
Provider One of (x-oapi-codegen-extra-tags-cloud, github, google)
type RecordsPage ¶
type RecordsPage struct {
Page int `json:"page,omitempty"`
PageSize int `json:"page_size,omitempty"`
RecordType string `json:"recordType,omitempty"`
RecordsTotal int `json:"records_total,omitempty"`
}
RecordsPage defines model for recordsPage.
type RequestFilter ¶ added in v0.7.11
RequestFilter defines model for requestFilter.
type ResultsPage ¶
type ResultsPage struct {
Page int `json:"page,omitempty"`
PageSize int `json:"page_size,omitempty"`
ResultType string `json:"resultType,omitempty"`
TotalCount int `json:"total_count,omitempty"`
}
ResultsPage defines model for resultsPage.
type WorkspaceId ¶ added in v0.7.14
WorkspaceId defines model for workspace_id.