types

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	ID        string
	Name      string
	Scheduler string
	Slug      string
}

type AppAndChannels

type AppAndChannels struct {
	App      *App
	Channels []Channel
}

type Channel

type Channel struct {
	ID          string
	Name        string
	Description string

	ReleaseSequence int64
	ReleaseLabel    string
}

type CollectorInfo added in v0.12.0

type CollectorInfo struct {
	ActiveChannels []Channel
	AppID          string
	CreatedAt      time.Time
	EditedAt       time.Time
	Name           string
	SpecID         string
	Config         string
}

type Customer added in v0.18.0

type Customer struct {
	ID       string
	Name     string
	Channels []Channel
	Type     string
	Expires  *time.Time
}

func (Customer) WithExpiryTime added in v0.18.0

func (c Customer) WithExpiryTime(expiryTime string) (Customer, error)

type EntitlementSpec added in v0.11.0

type EntitlementSpec struct {
	ID        string `json:"id,omitempty"`
	Spec      string `json:"spec,omitempty"`
	Name      string `json:"name,omitempty"`
	CreatedAt string `json:"createdAt,omitempty"`
}

type EntitlementValue added in v0.11.0

type EntitlementValue struct {
	ID         string `json:"id,omitempty"`
	SpecID     string `json:"specId,omitempty"`
	CustomerID string `json:"customerId,omitempty"`
	Key        string `json:"key,omitempty"`
	Value      string `json:"value,omitempty"`
}

type InstallerSpec added in v0.21.0

type InstallerSpec struct {
	AppID           string    `json:"appId"`
	KurlInstallerID string    `json:"kurlInstallerID"`
	Sequence        int64     `json:"sequence"`
	YAML            string    `json:"yaml"`
	ActiveChannels  []Channel `json:"channels"`
	CreatedAt       util.Time `json:"created"`
	Immutable       bool      `json:"isInstallerNotEditable"`
}

type LintLinePosition added in v0.8.0

type LintLinePosition struct {
	Position int64 `json:"position"`
	Line     int64 `json:"line"`
	Column   int64 `json:"column"`
}

type LintMessage added in v0.8.0

type LintMessage struct {
	Rule      string          `json:"rule"`
	Type      string          `json:"type"`
	Path      string          `json:"path"`
	Message   string          `json:"message"`
	Positions []*LintPosition `json:"positions"`
}

type LintPosition added in v0.8.0

type LintPosition struct {
	Path  string           `json:"path"`
	Start LintLinePosition `json:"start"`
	End   LintLinePosition `json:"end"`
}

type PlatformChannel added in v0.12.0

type PlatformChannel struct {
	ID   string
	Name string
}

type ReleaseInfo

type ReleaseInfo struct {
	ActiveChannels []Channel
	AppID          string
	CreatedAt      time.Time
	EditedAt       time.Time
	Editable       bool
	Sequence       int64
	Version        string
}

Jump to

Keyboard shortcuts

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