front50

package
v1.1.1-6 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Project(project string) (Response, error)
}

func NewClient

func NewClient(url string) Client

func NewDefaultClient

func NewDefaultClient() Client

type Cluster

type Cluster struct {
	Account      string   `json:"account"`
	Stack        string   `json:"stack"`
	Detail       string   `json:"detail"`
	Applications []string `json:"applications"`
}

type Config

type Config struct {
	PipelineConfigs []PipelineConfig `json:"pipelineConfigs"`
	Applications    []string         `json:"applications"`
	Clusters        []Cluster        `json:"clusters"`
}

type PipelineConfig

type PipelineConfig struct {
	Application      string `json:"application"`
	PipelineConfigID string `json:"pipelineConfigId"`
}

type Response

type Response struct {
	ID             string `json:"id"`
	Name           string `json:"name"`
	Email          string `json:"email"`
	Config         Config `json:"config"`
	UpdateTs       int64  `json:"updateTs"`
	CreateTs       int64  `json:"createTs"`
	LastModifiedBy string `json:"lastModifiedBy"`
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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