views

package
v0.0.0-...-7b9f81f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BreakingChangeView

type BreakingChangeView struct {
	// contains filtered or unexported fields
}

BreakingChangeView renders the UI when Breaking Changes are detected.

func NewBreakingChangesView

func NewBreakingChangesView(input []changes.Change) BreakingChangeView

func (BreakingChangeView) RenderMarkdown

func (v BreakingChangeView) RenderMarkdown() (*string, error)

RenderMarkdown renders the Breaking Changes View using Markdown, intended for both display in a Terminal and to be output as a GitHub Comment.

type ChangesView

type ChangesView struct {
	// contains filtered or unexported fields
}

ChangesView renders the UI when any Changes are detected.

func NewChangesView

func NewChangesView(input []changes.Change) ChangesView

func (ChangesView) RenderMarkdown

func (v ChangesView) RenderMarkdown() (*string, error)

RenderMarkdown renders the Changes View using Markdown, intended for both display in a Terminal and to be output as a GitHub Comment.

type ResourceIdSegmentsView

type ResourceIdSegmentsView struct {
	// contains filtered or unexported fields
}

func NewResourceIdSegmentsView

func NewResourceIdSegmentsView(input []changes.Change) ResourceIdSegmentsView

func (ResourceIdSegmentsView) RenderMarkdown

func (v ResourceIdSegmentsView) RenderMarkdown() (*string, error)

type View

type View interface {
	// RenderMarkdown renders the View using Markdown, intended for both display
	// in a Terminal and to be output as a GitHub Comment.
	RenderMarkdown() (*string, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL