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.5.1 DO NOT EDIT.
This is not autogenerated.
This is not autogenerated.
This is not autogenerated.
This is not autogenerated.
This is not autogenerated.
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 All
- type AvatarUrl
- type Bio
- type Class
- type ComponentStyles
- type ComponentStylesBorderStyle
- type ComponentStylesGhost
- type ComponentStylesTextHalign
- type ComponentStylesTextTransform
- type ComponentStylesTextValign
- type ContentTechnology
- type ContentType
- type CreatedAt
- type CredentialID
- type Cumulative
- type DeletedAt
- type DesignId
- type EdgeStyles
- type EdgeStylesCurveStyle
- type EdgeStylesLineCap
- type EdgeStylesLineStyle
- type EdgeStylesMidTargetArrowFill
- type EdgeStylesMidTargetArrowShape
- type EdgeStylesTargetArrowFill
- type EdgeStylesTargetArrowShape
- type EdgeStylesTextTransform
- type Email
- type EmailPreference
- type Emails
- type Empty
- type Endpoint
- type EnvironmentId
- type Filter
- type GeneralId
- type IaCFileTypes
- type Id
- type InputString
- type IsOAuth
- type KubernetesServerID
- type Map
- type MapObject
- type MesheryInstanceID
- type MesheryVersion
- type Metrics
- type Name
- type Namespace
- type NonResolvedAlias
- type NullTime
- type Number
- type OperationID
- type Order
- type OrganizationId
- type Os
- type Page
- type Pagesize
- type Playground
- type Populate
- type Price
- type Provider
- type Purpose
- type RecordsPage
- type RelationshipStyles
- func (t RelationshipStyles) AsEdgeStyles() (EdgeStyles, error)
- func (t RelationshipStyles) AsRelationshipStyles1() (RelationshipStyles1, error)
- func (t *RelationshipStyles) FromEdgeStyles(v EdgeStyles) error
- func (t *RelationshipStyles) FromRelationshipStyles1(v RelationshipStyles1) error
- func (t RelationshipStyles) MarshalJSON() ([]byte, error)
- func (t *RelationshipStyles) MergeEdgeStyles(v EdgeStyles) error
- func (t *RelationshipStyles) MergeRelationshipStyles1(v RelationshipStyles1) error
- func (t *RelationshipStyles) UnmarshalJSON(b []byte) error
- type RelationshipStyles1
- type RelationshipStyles1TextTransform
- type ResolvedAlias
- type ResourceType
- type ResultsPage
- type RoleNames
- type Search
- type SemverString
- type Shape
- type SqlNullTime
- type Status
- type Styles
- type StylesTextTransform
- type SystemID
- type SystemId
- type TeamId
- type Text
- type Time
- type Type
- type UpdatedAt
- type UserID
- type UserId
- type UserIds
- type UserUuid
- type Userid
- type Username
- type Uuid
- type VersionString
- type ViewId
- type Visibility
- 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 ComponentStyles ¶ added in v1.0.0
type ComponentStyles struct {
// ActiveBgColor The colour of the indicator shown when the background is grabbed by the user. Selector needs to be *core*. Colours may be specified by name (e.g. red), hex (e.g.
ActiveBgColor *string `json:"active-bg-color,omitempty" yaml:"active-bg-color,omitempty"`
// ActiveBgOpacity The opacity of the active background indicator. Selector needs to be *core*.
ActiveBgOpacity *string `json:"active-bg-opacity,omitempty" yaml:"active-bg-opacity,omitempty"`
// ActiveBgSize The opacity of the active background indicator. Selector needs to be *core*.
ActiveBgSize *string `json:"active-bg-size,omitempty" yaml:"active-bg-size,omitempty"`
// Animation The animation to apply to the element. example ripple,bounce,etc
Animation *map[string]interface{} `json:"animation,omitempty" yaml:"animation,omitempty"`
// BackgroundBlacken Blackens the node's body for values from 0 to 1; whitens the node's body for values from 0 to -1.
BackgroundBlacken *float32 `json:"background-blacken,omitempty" yaml:"background-blacken,omitempty"`
// BackgroundClip How the background image is clipped to the node. Can be 'none', 'node', or 'node-border'.
BackgroundClip *string `json:"background-clip,omitempty" yaml:"background-clip,omitempty"`
// BackgroundColor The colour of the node's body. Colours may be specified by name (e.g. red), hex (e.g.
BackgroundColor *string `json:"background-color,omitempty" yaml:"background-color,omitempty"`
// BackgroundFit How the background image is fit to the node. Can be 'none', 'contain', or 'cover'.
BackgroundFit *string `json:"background-fit,omitempty" yaml:"background-fit,omitempty"`
// BackgroundHeightRelativeTo How the background image's height is determined. Can be 'none', 'inner', or 'outer'.
BackgroundHeightRelativeTo *string `json:"background-height-relative-to,omitempty" yaml:"background-height-relative-to,omitempty"`
// BackgroundImage The URL that points to the image to show in the node.
BackgroundImage *string `json:"background-image,omitempty" yaml:"background-image,omitempty"`
// BackgroundOffsetX The x offset of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px)
BackgroundOffsetX *string `json:"background-offset-x,omitempty" yaml:"background-offset-x,omitempty"`
// BackgroundOffsetY The y offset of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px)
BackgroundOffsetY *string `json:"background-offset-y,omitempty" yaml:"background-offset-y,omitempty"`
// BackgroundOpacity The opacity level of the node's background colour
BackgroundOpacity *float32 `json:"background-opacity,omitempty" yaml:"background-opacity,omitempty"`
// BackgroundPositionX The x position of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px)
BackgroundPositionX *string `json:"background-position-x,omitempty" yaml:"background-position-x,omitempty"`
// BackgroundPositionY The y position of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px)
BackgroundPositionY *string `json:"background-position-y,omitempty" yaml:"background-position-y,omitempty"`
// BackgroundWidthRelativeTo How the background image's width is determined. Can be 'none', 'inner', or 'outer'.
BackgroundWidthRelativeTo *string `json:"background-width-relative-to,omitempty" yaml:"background-width-relative-to,omitempty"`
// BodyText The text to display for an element's body. Can give a path, e.g. data(id) will label with the elements id
BodyText *string `json:"body-text,omitempty" yaml:"body-text,omitempty"`
// BodyTextBackgroundColor The colour of the node's body text background. Colours may be specified by name (e.g. red), hex (e.g.
BodyTextBackgroundColor *string `json:"body-text-background-color,omitempty" yaml:"body-text-background-color,omitempty"`
// BodyTextColor The colour of the node's body text. Colours may be specified by name (e.g. red), hex (e.g.
BodyTextColor *string `json:"body-text-color,omitempty" yaml:"body-text-color,omitempty"`
// BodyTextDecoration A CSS text decoration to be applied to the node's body text.
BodyTextDecoration *string `json:"body-text-decoration,omitempty" yaml:"body-text-decoration,omitempty"`
// BodyTextFontSize The size of the node's body text.
BodyTextFontSize *float32 `json:"body-text-font-size,omitempty" yaml:"body-text-font-size,omitempty"`
// BodyTextFontWeight A CSS font weight to be applied to the node's body text.
BodyTextFontWeight *string `json:"body-text-font-weight,omitempty" yaml:"body-text-font-weight,omitempty"`
// BodyTextHorizontalAlign A CSS horizontal alignment to be applied to the node's body text.
BodyTextHorizontalAlign *string `json:"body-text-horizontal-align,omitempty" yaml:"body-text-horizontal-align,omitempty"`
// BodyTextMaxWidth The maximum width for wrapping text in the node.
BodyTextMaxWidth *string `json:"body-text-max-width,omitempty" yaml:"body-text-max-width,omitempty"`
// BodyTextOpacity The opacity of the node's body text, including its outline.
BodyTextOpacity *float32 `json:"body-text-opacity,omitempty" yaml:"body-text-opacity,omitempty"`
// BodyTextVerticalAlign A CSS vertical alignment to be applied to the node's body text.
BodyTextVerticalAlign *string `json:"body-text-vertical-align,omitempty" yaml:"body-text-vertical-align,omitempty"`
// BodyTextWrap How to wrap the text in the node. Can be 'none', 'wrap', or 'ellipsis'.
BodyTextWrap *string `json:"body-text-wrap,omitempty" yaml:"body-text-wrap,omitempty"`
// BorderColor The colour of the node's border. Colours may be specified by name (e.g. red), hex (e.g.
BorderColor *string `json:"border-color,omitempty" yaml:"border-color,omitempty"`
// BorderOpacity The opacity of the node's border
BorderOpacity *float32 `json:"border-opacity,omitempty" yaml:"border-opacity,omitempty"`
// BorderStyle The style of the node's border
BorderStyle *ComponentStylesBorderStyle `json:"border-style,omitempty" yaml:"border-style,omitempty"`
// BorderWidth The size of the node's border.
BorderWidth *float32 `json:"border-width,omitempty" yaml:"border-width,omitempty"`
// Color The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g.
Color *string `json:"color,omitempty" yaml:"color,omitempty"`
// FontFamily A comma-separated list of font names to use on the label text.
FontFamily *string `json:"font-family,omitempty" yaml:"font-family,omitempty"`
// FontSize The size of the label text.
FontSize *string `json:"font-size,omitempty" yaml:"font-size,omitempty"`
// FontStyle A CSS font style to be applied to the label text.
FontStyle *string `json:"font-style,omitempty" yaml:"font-style,omitempty"`
// FontWeight A CSS font weight to be applied to the label text.
FontWeight *string `json:"font-weight,omitempty" yaml:"font-weight,omitempty"`
// Ghost Whether to use the ghost effect, a semitransparent duplicate of the element drawn at an offset.
Ghost *ComponentStylesGhost `json:"ghost,omitempty" yaml:"ghost,omitempty"`
// Height The height of the node's body
Height *float32 `json:"height,omitempty" yaml:"height,omitempty"`
// Label The text to display for an element's label. Can give a path, e.g. data(id) will label with the elements id
Label *string `json:"label,omitempty" yaml:"label,omitempty"`
// MenuBackgroundColor The colour of the background of the component menu. Colours may be specified by name (e.g. red), hex (e.g.
MenuBackgroundColor *string `json:"menu-background-color,omitempty" yaml:"menu-background-color,omitempty"`
// MenuBackgroundOpacity The opacity of the background of the component menu.
MenuBackgroundOpacity *float32 `json:"menu-background-opacity,omitempty" yaml:"menu-background-opacity,omitempty"`
// MenuForgroundColor The colour of the text or icons in the component menu. Colours may be specified by name (e.g. red), hex (e.g.
MenuForgroundColor *string `json:"menu-forground-color,omitempty" yaml:"menu-forground-color,omitempty"`
// Opacity The opacity of the element, ranging from 0 to 1. Note that the opacity of a compound node parent affects the effective opacity of its children.
Opacity *float32 `json:"opacity,omitempty" yaml:"opacity,omitempty"`
// OutsideTextureBgColor The colour of the area outside the viewport texture when initOptions.textureOnViewport === true. Selector needs to be *core*. Colours may be specified by name (e.g. red), hex (e.g.
OutsideTextureBgColor *string `json:"outside-texture-bg-color,omitempty" yaml:"outside-texture-bg-color,omitempty"`
// OutsideTextureBgOpacity The opacity of the area outside the viewport texture. Selector needs to be *core*
OutsideTextureBgOpacity *float32 `json:"outside-texture-bg-opacity,omitempty" yaml:"outside-texture-bg-opacity,omitempty"`
// Padding The amount of padding around all sides of the node.
Padding *float32 `json:"padding,omitempty" yaml:"padding,omitempty"`
// Position The position of the node. If the position is set, the node is drawn at that position in the given dimensions. If the position is not set, the node is drawn at a random position.
Position *struct {
// X The x-coordinate of the node.
X float64 `json:"x" yaml:"x"`
// Y The y-coordinate of the node.
Y float64 `json:"y" yaml:"y"`
} `json:"position,omitempty" yaml:"position,omitempty"`
// PrimaryColor Primary color of the component used for UI representation.
PrimaryColor string `json:"primaryColor" yaml:"primaryColor"`
// SecondaryColor Secondary color of the entity used for UI representation.
SecondaryColor *string `json:"secondaryColor,omitempty" yaml:"secondaryColor,omitempty"`
// SelectionBoxBorderWidth The size of the border on the selection box. Selector needs to be *core*
SelectionBoxBorderWidth *float32 `json:"selection-box-border-width,omitempty" yaml:"selection-box-border-width,omitempty"`
// SelectionBoxColor The background colour of the selection box used for drag selection. Selector needs to be *core*. Colours may be specified by name (e.g. red), hex (e.g.
SelectionBoxColor *string `json:"selection-box-color,omitempty" yaml:"selection-box-color,omitempty"`
// SelectionBoxOpacity The opacity of the selection box. Selector needs to be *core*
SelectionBoxOpacity *float32 `json:"selection-box-opacity,omitempty" yaml:"selection-box-opacity,omitempty"`
// Shape The shape of the node's body. Note that each shape fits within the specified width and height, and so you may have to adjust width and height if you desire an equilateral shape (i.e. width !== height for several equilateral shapes)
Shape *Shape `json:"shape,omitempty" yaml:"shape,omitempty"`
// ShapePolygonPoints An array (or a space-separated string) of numbers ranging on [-1, 1], representing alternating x and y values (i.e. x1 y1 x2 y2, x3 y3 ...). This represents the points in the polygon for the node's shape. The bounding box of the node is given by (-1, -1), (1, -1), (1, 1), (-1, 1). The node's position is the origin (0, 0 )
ShapePolygonPoints *string `json:"shape-polygon-points,omitempty" yaml:"shape-polygon-points,omitempty"`
// SvgColor Colored SVG of the entity used for UI representation on light background.
SvgColor string `json:"svgColor" yaml:"svgColor"`
// SvgComplete Complete SVG of the entity used for UI representation, often inclusive of background.
SvgComplete string `json:"svgComplete" yaml:"svgComplete"`
// SvgWhite White SVG of the entity used for UI representation on dark background.
SvgWhite string `json:"svgWhite" yaml:"svgWhite"`
// TextHalign The horizontal alignment of a node's label
TextHalign *ComponentStylesTextHalign `json:"text-halign,omitempty" yaml:"text-halign,omitempty"`
// TextOpacity The opacity of the label text, including its outline.
TextOpacity *float32 `json:"text-opacity,omitempty" yaml:"text-opacity,omitempty"`
// TextTransform A transformation to apply to the label text
TextTransform *ComponentStylesTextTransform `json:"text-transform,omitempty" yaml:"text-transform,omitempty"`
// TextValign The vertical alignment of a node's label
TextValign *ComponentStylesTextValign `json:"text-valign,omitempty" yaml:"text-valign,omitempty"`
// Width The width of the node's body or the width of an edge's line.
Width *float32 `json:"width,omitempty" yaml:"width,omitempty"`
// ZIndex An integer value that affects the relative draw order of elements. In general, an element with a higher z-index will be drawn on top of an element with a lower z-index. Note that edges are under nodes despite z-index.
ZIndex *int `json:"z-index,omitempty" yaml:"z-index,omitempty"`
AdditionalProperties map[string]interface{} `json:"-" yaml:"-"`
}
ComponentStyles defines model for componentStyles.
func (ComponentStyles) Get ¶ added in v1.0.0
func (a ComponentStyles) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ComponentStyles. Returns the specified element and whether it was found
func (ComponentStyles) MarshalJSON ¶ added in v1.0.0
func (a ComponentStyles) MarshalJSON() ([]byte, error)
Override default JSON handling for ComponentStyles to handle AdditionalProperties
func (*ComponentStyles) Set ¶ added in v1.0.0
func (a *ComponentStyles) Set(fieldName string, value interface{})
Setter for additional properties for ComponentStyles
func (*ComponentStyles) UnmarshalJSON ¶ added in v1.0.0
func (a *ComponentStyles) UnmarshalJSON(b []byte) error
Override default JSON handling for ComponentStyles to handle AdditionalProperties
type ComponentStylesBorderStyle ¶ added in v1.0.0
type ComponentStylesBorderStyle string
ComponentStylesBorderStyle The style of the node's border
const ( ComponentStylesBorderStyleDashed ComponentStylesBorderStyle = "dashed" ComponentStylesBorderStyleDotted ComponentStylesBorderStyle = "dotted" ComponentStylesBorderStyleDouble ComponentStylesBorderStyle = "double" ComponentStylesBorderStyleSolid ComponentStylesBorderStyle = "solid" )
Defines values for ComponentStylesBorderStyle.
type ComponentStylesGhost ¶ added in v1.0.0
type ComponentStylesGhost string
ComponentStylesGhost Whether to use the ghost effect, a semitransparent duplicate of the element drawn at an offset.
const ( No ComponentStylesGhost = "no" Yes ComponentStylesGhost = "yes" )
Defines values for ComponentStylesGhost.
type ComponentStylesTextHalign ¶ added in v1.0.0
type ComponentStylesTextHalign string
ComponentStylesTextHalign The horizontal alignment of a node's label
const ( ComponentStylesTextHalignCenter ComponentStylesTextHalign = "center" ComponentStylesTextHalignLeft ComponentStylesTextHalign = "left" ComponentStylesTextHalignRight ComponentStylesTextHalign = "right" )
Defines values for ComponentStylesTextHalign.
type ComponentStylesTextTransform ¶ added in v1.0.0
type ComponentStylesTextTransform string
ComponentStylesTextTransform A transformation to apply to the label text
const ( ComponentStylesTextTransformLowercase ComponentStylesTextTransform = "lowercase" ComponentStylesTextTransformNone ComponentStylesTextTransform = "none" ComponentStylesTextTransformUppercase ComponentStylesTextTransform = "uppercase" )
Defines values for ComponentStylesTextTransform.
type ComponentStylesTextValign ¶ added in v1.0.0
type ComponentStylesTextValign string
ComponentStylesTextValign The vertical alignment of a node's label
const ( ComponentStylesTextValignBottom ComponentStylesTextValign = "bottom" ComponentStylesTextValignCenter ComponentStylesTextValign = "center" ComponentStylesTextValignTop ComponentStylesTextValign = "top" )
Defines values for ComponentStylesTextValign.
type ContentTechnology ¶ added in v1.0.0
type ContentTechnology = string
ContentTechnology defines model for contentTechnology.
type ContentType ¶ added in v1.0.0
type ContentType = string
ContentType defines model for contentType.
type Cumulative ¶ added in v0.7.11
type Cumulative = string
Cumulative defines model for cumulative.
type DesignId ¶ added in v0.7.14
type DesignId = Uuid
Compatibility aliases for generated packages that still reference historical core type names.
type EdgeStyles ¶ added in v1.0.0
type EdgeStyles struct {
// Animation The animation to apply to the element. example ripple,bounce,etc
Animation *map[string]interface{} `json:"animation,omitempty" yaml:"animation,omitempty"`
// ArrowScale Scaling for the arrow size.
ArrowScale *float32 `json:"arrow-scale,omitempty" yaml:"arrow-scale,omitempty"`
// Color The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g.
Color *string `json:"color,omitempty" yaml:"color,omitempty"`
// CurveStyle The curving method used to separate two or more edges between two nodes; may be haystack (very fast, bundled straight edges for which loops and compounds are unsupported), straight (straight edges with all arrows supported), bezier (bundled curved edges), unbundled-bezier (curved edges for use with manual control points), segments (a series of straight lines), taxi (right-angled lines, hierarchically bundled). Note that haystack edges work best with ellipse, rectangle, or similar nodes. Smaller node shapes, like triangle, will not be as aesthetically pleasing. Also note that edge endpoint arrows are unsupported for haystack edges.
CurveStyle *EdgeStylesCurveStyle `json:"curve-style,omitempty" yaml:"curve-style,omitempty"`
// EdgeAnimation The animation to use for the edge. Can be like 'marching-ants' , 'blink' , 'moving-gradient',etc .
EdgeAnimation *string `json:"edge-animation,omitempty" yaml:"edge-animation,omitempty"`
// FontFamily A comma-separated list of font names to use on the label text.
FontFamily *string `json:"font-family,omitempty" yaml:"font-family,omitempty"`
// FontSize The size of the label text.
FontSize *string `json:"font-size,omitempty" yaml:"font-size,omitempty"`
// FontStyle A CSS font style to be applied to the label text.
FontStyle *string `json:"font-style,omitempty" yaml:"font-style,omitempty"`
// FontWeight A CSS font weight to be applied to the label text.
FontWeight *string `json:"font-weight,omitempty" yaml:"font-weight,omitempty"`
// Label The text to display for an element's label. Can give a path, e.g. data(id) will label with the elements id
Label *string `json:"label,omitempty" yaml:"label,omitempty"`
// LineCap The cap style of the edge's line; may be butt (default), round, or square. The cap may or may not be visible, depending on the shape of the node and the relative size of the node and edge. Caps other than butt extend beyond the specified endpoint of the edge.
LineCap *EdgeStylesLineCap `json:"line-cap,omitempty" yaml:"line-cap,omitempty"`
// LineColor The colour of the edge's line. Colours may be specified by name (e.g. red), hex (e.g.
LineColor *string `json:"line-color,omitempty" yaml:"line-color,omitempty"`
// LineOpacity The opacity of the edge's line and arrow. Useful if you wish to have a separate opacity for the edge label versus the edge line. Note that the opacity value of the edge element affects the effective opacity of its line and label subcomponents.
LineOpacity *float32 `json:"line-opacity,omitempty" yaml:"line-opacity,omitempty"`
// LineStyle The style of the edge's line.
LineStyle *EdgeStylesLineStyle `json:"line-style,omitempty" yaml:"line-style,omitempty"`
// MidTargetArrowColor The colour of the edge's source arrow. Colours may be specified by name (e.g. red), hex (e.g.
MidTargetArrowColor *string `json:"mid-target-arrow-color,omitempty" yaml:"mid-target-arrow-color,omitempty"`
// MidTargetArrowFill The fill state of the edge's source arrow
MidTargetArrowFill *EdgeStylesMidTargetArrowFill `json:"mid-target-arrow-fill,omitempty" yaml:"mid-target-arrow-fill,omitempty"`
// MidTargetArrowShape The shape of the edge's source arrow
MidTargetArrowShape *EdgeStylesMidTargetArrowShape `json:"mid-target-arrow-shape,omitempty" yaml:"mid-target-arrow-shape,omitempty"`
// Opacity The opacity of the element, ranging from 0 to 1. Note that the opacity of a compound node parent affects the effective opacity of its children.
Opacity *float32 `json:"opacity,omitempty" yaml:"opacity,omitempty"`
// PrimaryColor Primary color of the component used for UI representation.
PrimaryColor string `json:"primaryColor" yaml:"primaryColor"`
// SecondaryColor Secondary color of the entity used for UI representation.
SecondaryColor *string `json:"secondaryColor,omitempty" yaml:"secondaryColor,omitempty"`
// SourceLabel The text to display for an edge's source label. Can give a path, e.g. data(id) will label with the elements id
SourceLabel *string `json:"source-label,omitempty" yaml:"source-label,omitempty"`
// SvgColor Colored SVG of the entity used for UI representation on light background.
SvgColor string `json:"svgColor" yaml:"svgColor"`
// SvgComplete Complete SVG of the entity used for UI representation, often inclusive of background.
SvgComplete string `json:"svgComplete" yaml:"svgComplete"`
// SvgWhite White SVG of the entity used for UI representation on dark background.
SvgWhite string `json:"svgWhite" yaml:"svgWhite"`
// TargetArrowColor The colour of the edge's source arrow. Colours may be specified by name (e.g. red), hex (e.g.
TargetArrowColor *string `json:"target-arrow-color,omitempty" yaml:"target-arrow-color,omitempty"`
// TargetArrowFill The fill state of the edge's source arrow
TargetArrowFill *EdgeStylesTargetArrowFill `json:"target-arrow-fill,omitempty" yaml:"target-arrow-fill,omitempty"`
// TargetArrowShape The shape of the edge's source arrow
TargetArrowShape *EdgeStylesTargetArrowShape `json:"target-arrow-shape,omitempty" yaml:"target-arrow-shape,omitempty"`
// TargetLabel The text to display for an edge's target label. Can give a path, e.g. data(id) will label with the elements id
TargetLabel *string `json:"target-label,omitempty" yaml:"target-label,omitempty"`
// TextOpacity The opacity of the label text, including its outline.
TextOpacity *float32 `json:"text-opacity,omitempty" yaml:"text-opacity,omitempty"`
// TextTransform A transformation to apply to the label text
TextTransform *EdgeStylesTextTransform `json:"text-transform,omitempty" yaml:"text-transform,omitempty"`
// ZIndex An integer value that affects the relative draw order of elements. In general, an element with a higher z-index will be drawn on top of an element with a lower z-index. Note that edges are under nodes despite z-index.
ZIndex *int `json:"z-index,omitempty" yaml:"z-index,omitempty"`
AdditionalProperties map[string]interface{} `json:"-" yaml:"-"`
}
EdgeStyles defines model for edgeStyles.
func (EdgeStyles) Get ¶ added in v1.0.0
func (a EdgeStyles) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for EdgeStyles. Returns the specified element and whether it was found
func (EdgeStyles) MarshalJSON ¶ added in v1.0.0
func (a EdgeStyles) MarshalJSON() ([]byte, error)
Override default JSON handling for EdgeStyles to handle AdditionalProperties
func (*EdgeStyles) Set ¶ added in v1.0.0
func (a *EdgeStyles) Set(fieldName string, value interface{})
Setter for additional properties for EdgeStyles
func (*EdgeStyles) UnmarshalJSON ¶ added in v1.0.0
func (a *EdgeStyles) UnmarshalJSON(b []byte) error
Override default JSON handling for EdgeStyles to handle AdditionalProperties
type EdgeStylesCurveStyle ¶ added in v1.0.0
type EdgeStylesCurveStyle string
EdgeStylesCurveStyle The curving method used to separate two or more edges between two nodes; may be haystack (very fast, bundled straight edges for which loops and compounds are unsupported), straight (straight edges with all arrows supported), bezier (bundled curved edges), unbundled-bezier (curved edges for use with manual control points), segments (a series of straight lines), taxi (right-angled lines, hierarchically bundled). Note that haystack edges work best with ellipse, rectangle, or similar nodes. Smaller node shapes, like triangle, will not be as aesthetically pleasing. Also note that edge endpoint arrows are unsupported for haystack edges.
const ( Bezier EdgeStylesCurveStyle = "bezier" Haystack EdgeStylesCurveStyle = "haystack" Segments EdgeStylesCurveStyle = "segments" Straight EdgeStylesCurveStyle = "straight" Taxi EdgeStylesCurveStyle = "taxi" UnbundledBezier EdgeStylesCurveStyle = "unbundled-bezier" )
Defines values for EdgeStylesCurveStyle.
type EdgeStylesLineCap ¶ added in v1.0.0
type EdgeStylesLineCap string
EdgeStylesLineCap The cap style of the edge's line; may be butt (default), round, or square. The cap may or may not be visible, depending on the shape of the node and the relative size of the node and edge. Caps other than butt extend beyond the specified endpoint of the edge.
const ( EdgeStylesLineCapButt EdgeStylesLineCap = "butt" EdgeStylesLineCapRound EdgeStylesLineCap = "round" EdgeStylesLineCapSquare EdgeStylesLineCap = "square" )
Defines values for EdgeStylesLineCap.
type EdgeStylesLineStyle ¶ added in v1.0.0
type EdgeStylesLineStyle string
EdgeStylesLineStyle The style of the edge's line.
const ( EdgeStylesLineStyleDashed EdgeStylesLineStyle = "dashed" EdgeStylesLineStyleDotted EdgeStylesLineStyle = "dotted" EdgeStylesLineStyleSolid EdgeStylesLineStyle = "solid" )
Defines values for EdgeStylesLineStyle.
type EdgeStylesMidTargetArrowFill ¶ added in v1.0.0
type EdgeStylesMidTargetArrowFill string
EdgeStylesMidTargetArrowFill The fill state of the edge's source arrow
const ( EdgeStylesMidTargetArrowFillFilled EdgeStylesMidTargetArrowFill = "filled" EdgeStylesMidTargetArrowFillHollow EdgeStylesMidTargetArrowFill = "hollow" )
Defines values for EdgeStylesMidTargetArrowFill.
type EdgeStylesMidTargetArrowShape ¶ added in v1.0.0
type EdgeStylesMidTargetArrowShape string
EdgeStylesMidTargetArrowShape The shape of the edge's source arrow
const ( EdgeStylesMidTargetArrowShapeChevron EdgeStylesMidTargetArrowShape = "chevron" EdgeStylesMidTargetArrowShapeCircle EdgeStylesMidTargetArrowShape = "circle" EdgeStylesMidTargetArrowShapeCircleTriangle EdgeStylesMidTargetArrowShape = "circle-triangle" EdgeStylesMidTargetArrowShapeDiamond EdgeStylesMidTargetArrowShape = "diamond" EdgeStylesMidTargetArrowShapeNone EdgeStylesMidTargetArrowShape = "none" EdgeStylesMidTargetArrowShapeSquare EdgeStylesMidTargetArrowShape = "square" EdgeStylesMidTargetArrowShapeTee EdgeStylesMidTargetArrowShape = "tee" EdgeStylesMidTargetArrowShapeTriangle EdgeStylesMidTargetArrowShape = "triangle" EdgeStylesMidTargetArrowShapeTriangleBackcurve EdgeStylesMidTargetArrowShape = "triangle-backcurve" EdgeStylesMidTargetArrowShapeTriangleCross EdgeStylesMidTargetArrowShape = "triangle-cross" EdgeStylesMidTargetArrowShapeTriangleTee EdgeStylesMidTargetArrowShape = "triangle-tee" EdgeStylesMidTargetArrowShapeVee EdgeStylesMidTargetArrowShape = "vee" )
Defines values for EdgeStylesMidTargetArrowShape.
type EdgeStylesTargetArrowFill ¶ added in v1.0.0
type EdgeStylesTargetArrowFill string
EdgeStylesTargetArrowFill The fill state of the edge's source arrow
const ( EdgeStylesTargetArrowFillFilled EdgeStylesTargetArrowFill = "filled" EdgeStylesTargetArrowFillHollow EdgeStylesTargetArrowFill = "hollow" )
Defines values for EdgeStylesTargetArrowFill.
type EdgeStylesTargetArrowShape ¶ added in v1.0.0
type EdgeStylesTargetArrowShape string
EdgeStylesTargetArrowShape The shape of the edge's source arrow
const ( EdgeStylesTargetArrowShapeChevron EdgeStylesTargetArrowShape = "chevron" EdgeStylesTargetArrowShapeCircle EdgeStylesTargetArrowShape = "circle" EdgeStylesTargetArrowShapeCircleTriangle EdgeStylesTargetArrowShape = "circle-triangle" EdgeStylesTargetArrowShapeDiamond EdgeStylesTargetArrowShape = "diamond" EdgeStylesTargetArrowShapeNone EdgeStylesTargetArrowShape = "none" EdgeStylesTargetArrowShapeSquare EdgeStylesTargetArrowShape = "square" EdgeStylesTargetArrowShapeTee EdgeStylesTargetArrowShape = "tee" EdgeStylesTargetArrowShapeTriangle EdgeStylesTargetArrowShape = "triangle" EdgeStylesTargetArrowShapeTriangleBackcurve EdgeStylesTargetArrowShape = "triangle-backcurve" EdgeStylesTargetArrowShapeTriangleCross EdgeStylesTargetArrowShape = "triangle-cross" EdgeStylesTargetArrowShapeTriangleTee EdgeStylesTargetArrowShape = "triangle-tee" EdgeStylesTargetArrowShapeVee EdgeStylesTargetArrowShape = "vee" )
Defines values for EdgeStylesTargetArrowShape.
type EdgeStylesTextTransform ¶ added in v1.0.0
type EdgeStylesTextTransform string
EdgeStylesTextTransform A transformation to apply to the label text
const ( EdgeStylesTextTransformLowercase EdgeStylesTextTransform = "lowercase" EdgeStylesTextTransformNone EdgeStylesTextTransform = "none" EdgeStylesTextTransformUppercase EdgeStylesTextTransform = "uppercase" )
Defines values for EdgeStylesTextTransform.
type EmailPreference ¶
type EmailPreference struct {
NotifyRoleChange bool `json:"notify_role_change,omitempty" yaml:"notify_role_change,omitempty"`
WelcomeEmail bool `json:"welcome_email,omitempty" yaml:"welcome_email,omitempty"`
}
EmailPreference defines model for email_preference.
type EnvironmentId ¶ added in v0.7.11
EnvironmentId defines model for environment_id.
type IaCFileTypes ¶ added in v1.0.0
type IaCFileTypes string
IaCFileTypes The type of the IaC file
const ( DockerCompose IaCFileTypes = "docker-compose" HelmChart IaCFileTypes = "helm-chart" K8sKustomize IaCFileTypes = "k8s-kustomize" K8sManifest IaCFileTypes = "k8s-manifest" MesheryDesign IaCFileTypes = "meshery-design" )
Defines values for IaCFileTypes.
type InputString ¶ added in v1.0.0
type InputString = string
InputString A string starting with an alphanumeric character. Spaces and hyphens allowed.
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 MapObject.
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 NonResolvedAlias ¶ added in v1.0.0
type NonResolvedAlias struct {
// AliasComponentId A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
AliasComponentId Uuid `json:"alias_component_id" yaml:"alias_component_id"`
// ImmediateParentId A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
ImmediateParentId Uuid `json:"immediate_parent_id" yaml:"immediate_parent_id"`
ImmediateRefFieldPath []string `json:"immediate_ref_field_path" yaml:"immediate_ref_field_path"`
// RelationshipId A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
RelationshipId Uuid `json:"relationship_id" yaml:"relationship_id"`
}
NonResolvedAlias An alias is an component that acts as an ref/pointer to a field in another component, nonResolvedAlias are not aware of there immediate parents
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 Number ¶ added in v0.7.11
type Number = int
NullTime SQL null Timestamp to handle null values of time. type NullTime — defined in manual helper file Number defines model for number.
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" yaml:"page,omitempty"`
PageSize int `json:"page_size,omitempty" yaml:"page_size,omitempty"`
RecordType string `json:"recordType,omitempty" yaml:"recordType,omitempty"`
RecordsTotal int `json:"records_total,omitempty" yaml:"records_total,omitempty"`
}
RecordsPage defines model for recordsPage.
type RelationshipStyles ¶ added in v1.0.0
type RelationshipStyles struct {
// contains filtered or unexported fields
}
RelationshipStyles defines model for relationshipStyles.
func (RelationshipStyles) AsEdgeStyles ¶ added in v1.0.0
func (t RelationshipStyles) AsEdgeStyles() (EdgeStyles, error)
AsEdgeStyles returns the union data inside the RelationshipStyles as a EdgeStyles
func (RelationshipStyles) AsRelationshipStyles1 ¶ added in v1.0.0
func (t RelationshipStyles) AsRelationshipStyles1() (RelationshipStyles1, error)
AsRelationshipStyles1 returns the union data inside the RelationshipStyles as a RelationshipStyles1
func (*RelationshipStyles) FromEdgeStyles ¶ added in v1.0.0
func (t *RelationshipStyles) FromEdgeStyles(v EdgeStyles) error
FromEdgeStyles overwrites any union data inside the RelationshipStyles as the provided EdgeStyles
func (*RelationshipStyles) FromRelationshipStyles1 ¶ added in v1.0.0
func (t *RelationshipStyles) FromRelationshipStyles1(v RelationshipStyles1) error
FromRelationshipStyles1 overwrites any union data inside the RelationshipStyles as the provided RelationshipStyles1
func (RelationshipStyles) MarshalJSON ¶ added in v1.0.0
func (t RelationshipStyles) MarshalJSON() ([]byte, error)
func (*RelationshipStyles) MergeEdgeStyles ¶ added in v1.0.0
func (t *RelationshipStyles) MergeEdgeStyles(v EdgeStyles) error
MergeEdgeStyles performs a merge with any union data inside the RelationshipStyles, using the provided EdgeStyles
func (*RelationshipStyles) MergeRelationshipStyles1 ¶ added in v1.0.0
func (t *RelationshipStyles) MergeRelationshipStyles1(v RelationshipStyles1) error
MergeRelationshipStyles1 performs a merge with any union data inside the RelationshipStyles, using the provided RelationshipStyles1
func (*RelationshipStyles) UnmarshalJSON ¶ added in v1.0.0
func (t *RelationshipStyles) UnmarshalJSON(b []byte) error
type RelationshipStyles1 ¶ added in v1.0.0
type RelationshipStyles1 struct {
// Animation The animation to apply to the element. example ripple,bounce,etc
Animation *map[string]interface{} `json:"animation,omitempty" yaml:"animation,omitempty"`
// Color The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g.
Color *string `json:"color,omitempty" yaml:"color,omitempty"`
// FontFamily A comma-separated list of font names to use on the label text.
FontFamily *string `json:"font-family,omitempty" yaml:"font-family,omitempty"`
// FontSize The size of the label text.
FontSize *string `json:"font-size,omitempty" yaml:"font-size,omitempty"`
// FontStyle A CSS font style to be applied to the label text.
FontStyle *string `json:"font-style,omitempty" yaml:"font-style,omitempty"`
// FontWeight A CSS font weight to be applied to the label text.
FontWeight *string `json:"font-weight,omitempty" yaml:"font-weight,omitempty"`
// Label The text to display for an element's label. Can give a path, e.g. data(id) will label with the elements id
Label *string `json:"label,omitempty" yaml:"label,omitempty"`
// Opacity The opacity of the element, ranging from 0 to 1. Note that the opacity of a compound node parent affects the effective opacity of its children.
Opacity *float32 `json:"opacity,omitempty" yaml:"opacity,omitempty"`
// PrimaryColor Primary color of the component used for UI representation.
PrimaryColor string `json:"primaryColor" yaml:"primaryColor"`
// SecondaryColor Secondary color of the entity used for UI representation.
SecondaryColor *string `json:"secondaryColor,omitempty" yaml:"secondaryColor,omitempty"`
// SvgColor Colored SVG of the entity used for UI representation on light background.
SvgColor string `json:"svgColor" yaml:"svgColor"`
// SvgComplete Complete SVG of the entity used for UI representation, often inclusive of background.
SvgComplete string `json:"svgComplete" yaml:"svgComplete"`
// SvgWhite White SVG of the entity used for UI representation on dark background.
SvgWhite string `json:"svgWhite" yaml:"svgWhite"`
// TextOpacity The opacity of the label text, including its outline.
TextOpacity *float32 `json:"text-opacity,omitempty" yaml:"text-opacity,omitempty"`
// TextTransform A transformation to apply to the label text
TextTransform *RelationshipStyles1TextTransform `json:"text-transform,omitempty" yaml:"text-transform,omitempty"`
// ZIndex An integer value that affects the relative draw order of elements. In general, an element with a higher z-index will be drawn on top of an element with a lower z-index. Note that edges are under nodes despite z-index.
ZIndex *int `json:"z-index,omitempty" yaml:"z-index,omitempty"`
AdditionalProperties map[string]interface{} `json:"-" yaml:"-"`
}
RelationshipStyles1 defines model for .
func (RelationshipStyles1) Get ¶ added in v1.0.0
func (a RelationshipStyles1) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for RelationshipStyles1. Returns the specified element and whether it was found
func (RelationshipStyles1) MarshalJSON ¶ added in v1.0.0
func (a RelationshipStyles1) MarshalJSON() ([]byte, error)
Override default JSON handling for RelationshipStyles1 to handle AdditionalProperties
func (*RelationshipStyles1) Set ¶ added in v1.0.0
func (a *RelationshipStyles1) Set(fieldName string, value interface{})
Setter for additional properties for RelationshipStyles1
func (*RelationshipStyles1) UnmarshalJSON ¶ added in v1.0.0
func (a *RelationshipStyles1) UnmarshalJSON(b []byte) error
Override default JSON handling for RelationshipStyles1 to handle AdditionalProperties
type RelationshipStyles1TextTransform ¶ added in v1.0.0
type RelationshipStyles1TextTransform string
RelationshipStyles1TextTransform A transformation to apply to the label text
const ( RelationshipStyles1TextTransformLowercase RelationshipStyles1TextTransform = "lowercase" RelationshipStyles1TextTransformNone RelationshipStyles1TextTransform = "none" RelationshipStyles1TextTransformUppercase RelationshipStyles1TextTransform = "uppercase" )
Defines values for RelationshipStyles1TextTransform.
type ResolvedAlias ¶ added in v1.0.0
type ResolvedAlias struct {
// AliasComponentId A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
AliasComponentId Uuid `json:"alias_component_id" yaml:"alias_component_id"`
// ImmediateParentId A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
ImmediateParentId Uuid `json:"immediate_parent_id" yaml:"immediate_parent_id"`
ImmediateRefFieldPath []string `json:"immediate_ref_field_path" yaml:"immediate_ref_field_path"`
// RelationshipId A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
RelationshipId Uuid `json:"relationship_id" yaml:"relationship_id"`
// ResolvedParentId A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
ResolvedParentId Uuid `json:"resolved_parent_id" yaml:"resolved_parent_id"`
ResolvedRefFieldPath []string `json:"resolved_ref_field_path" yaml:"resolved_ref_field_path"`
}
ResolvedAlias defines model for ResolvedAlias.
func ResolvedAliasFromNonResolved ¶ added in v1.0.0
func ResolvedAliasFromNonResolved(nonResolved NonResolvedAlias, resolvedParentId uuid.UUID, resolvedField []string) ResolvedAlias
type ResourceType ¶ added in v1.0.0
type ResourceType = string
ResourceType defines model for resourceType.
type ResultsPage ¶
type ResultsPage struct {
Page int `json:"page,omitempty" yaml:"page,omitempty"`
PageSize int `json:"page_size,omitempty" yaml:"page_size,omitempty"`
ResultType string `json:"resultType,omitempty" yaml:"resultType,omitempty"`
TotalCount int `json:"total_count,omitempty" yaml:"total_count,omitempty"`
}
ResultsPage defines model for resultsPage.
type SemverString ¶ added in v1.0.0
type SemverString = string
SemverString A valid semantic version string between 5 and 100 characters. The pattern allows for a major.minor.patch version followed by an optional pre-release tag like '-alpha' or '-beta.2' and an optional build metadata tag like '+build.1'.
type Shape ¶ added in v1.0.0
type Shape string
Shape The shape of the node's body. Note that each shape fits within the specified width and height, and so you may have to adjust width and height if you desire an equilateral shape (i.e. width !== height for several equilateral shapes)
const ( Barrel Shape = "barrel" BottomRoundRectangle Shape = "bottom-round-rectangle" ConcaveHexagon Shape = "concave-hexagon" CutRectangle Shape = "cut-rectangle" Diamond Shape = "diamond" Ellipse Shape = "ellipse" Heptagon Shape = "heptagon" Hexagon Shape = "hexagon" Octagon Shape = "octagon" Pentagon Shape = "pentagon" Polygon Shape = "polygon" Rectangle Shape = "rectangle" Rhomboid Shape = "rhomboid" RoundDiamond Shape = "round-diamond" RoundHeptagon Shape = "round-heptagon" RoundHexagon Shape = "round-hexagon" RoundOctagon Shape = "round-octagon" RoundPentagon Shape = "round-pentagon" RoundRectangle Shape = "round-rectangle" RoundTag Shape = "round-tag" RoundTriangle Shape = "round-triangle" Star Shape = "star" Tag Shape = "tag" Triangle Shape = "triangle" Vee Shape = "vee" )
Defines values for Shape.
type SqlNullTime ¶ added in v1.0.0
SqlNullTime defines model for SqlNullTime.
type Styles ¶ added in v1.0.0
type Styles struct {
// Animation The animation to apply to the element. example ripple,bounce,etc
Animation *map[string]interface{} `json:"animation,omitempty" yaml:"animation,omitempty"`
// Color The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g.
Color *string `json:"color,omitempty" yaml:"color,omitempty"`
// FontFamily A comma-separated list of font names to use on the label text.
FontFamily *string `json:"font-family,omitempty" yaml:"font-family,omitempty"`
// FontSize The size of the label text.
FontSize *string `json:"font-size,omitempty" yaml:"font-size,omitempty"`
// FontStyle A CSS font style to be applied to the label text.
FontStyle *string `json:"font-style,omitempty" yaml:"font-style,omitempty"`
// FontWeight A CSS font weight to be applied to the label text.
FontWeight *string `json:"font-weight,omitempty" yaml:"font-weight,omitempty"`
// Label The text to display for an element's label. Can give a path, e.g. data(id) will label with the elements id
Label *string `json:"label,omitempty" yaml:"label,omitempty"`
// Opacity The opacity of the element, ranging from 0 to 1. Note that the opacity of a compound node parent affects the effective opacity of its children.
Opacity *float32 `json:"opacity,omitempty" yaml:"opacity,omitempty"`
// PrimaryColor Primary color of the component used for UI representation.
PrimaryColor string `json:"primaryColor" yaml:"primaryColor"`
// SecondaryColor Secondary color of the entity used for UI representation.
SecondaryColor *string `json:"secondaryColor,omitempty" yaml:"secondaryColor,omitempty"`
// SvgColor Colored SVG of the entity used for UI representation on light background.
SvgColor string `json:"svgColor" yaml:"svgColor"`
// SvgComplete Complete SVG of the entity used for UI representation, often inclusive of background.
SvgComplete string `json:"svgComplete" yaml:"svgComplete"`
// SvgWhite White SVG of the entity used for UI representation on dark background.
SvgWhite string `json:"svgWhite" yaml:"svgWhite"`
// TextOpacity The opacity of the label text, including its outline.
TextOpacity *float32 `json:"text-opacity,omitempty" yaml:"text-opacity,omitempty"`
// TextTransform A transformation to apply to the label text
TextTransform *StylesTextTransform `json:"text-transform,omitempty" yaml:"text-transform,omitempty"`
// ZIndex An integer value that affects the relative draw order of elements. In general, an element with a higher z-index will be drawn on top of an element with a lower z-index. Note that edges are under nodes despite z-index.
ZIndex *int `json:"z-index,omitempty" yaml:"z-index,omitempty"`
AdditionalProperties map[string]interface{} `json:"-" yaml:"-"`
}
Styles Common styles for all entities
func (Styles) Get ¶ added in v1.0.0
Getter for additional properties for Styles. Returns the specified element and whether it was found
func (Styles) MarshalJSON ¶ added in v1.0.0
Override default JSON handling for Styles to handle AdditionalProperties
func (*Styles) UnmarshalJSON ¶ added in v1.0.0
Override default JSON handling for Styles to handle AdditionalProperties
type StylesTextTransform ¶ added in v1.0.0
type StylesTextTransform string
StylesTextTransform A transformation to apply to the label text
const ( Lowercase StylesTextTransform = "lowercase" None StylesTextTransform = "none" Uppercase StylesTextTransform = "uppercase" )
Defines values for StylesTextTransform.
type Uuid ¶ added in v1.0.0
Uuid A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
type VersionString ¶ added in v1.0.0
type VersionString = string
VersionString API version of the object, optionally prefixed with an API group (e.g. "group.example.io/v1beta1" or bare "v1beta1").
type Visibility ¶ added in v1.0.0
type Visibility string
Visibility Visibility level of a resource. Controls who can see and access it. - `private`: Only the owner and explicitly shared users can access. - `public`: Anyone in the organization (or anonymous, depending on resource) can discover and access. - `published`: Promoted to the catalog for broad discovery beyond the owning organization.
const ( Private Visibility = "private" Public Visibility = "public" Published Visibility = "published" )
Defines values for Visibility.
type WorkspaceId ¶ added in v0.7.14
WorkspaceId defines model for workspace_id.