extservice

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2025 License: MIT Imports: 16 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServiceDiscovery added in v1.0.6

func NewServiceDiscovery() discovery_kit_sdk.TargetDiscovery

Types

type Component

type Component struct {
	Id          int        `json:"id"`
	Name        string     `json:"name"`
	State       State      `json:"state"`
	Properties  Properties `json:"properties"`
	Identifiers []string   `json:"identifiers"`
}

type GetSnapshotApi added in v1.0.14

type GetSnapshotApi interface {
	GetServiceSnapshot(ctx context.Context, serviceId string) (*resty.Response, ViewSnapshotResponseWrapper, error)
}

type GetSnapshotsApi added in v1.0.14

type GetSnapshotsApi interface {
	GetServiceSnapshots(ctx context.Context) (*resty.Response, ViewSnapshotResponseWrapper, error)
}

type Properties

type Properties struct {
	NamespaceIdentifier   string `json:"namespaceIdentifier"`
	ClusterNameIdentifier string `json:"clusterNameIdentifier"`
}

type ServiceStatusCheckAction

type ServiceStatusCheckAction struct{}

func (*ServiceStatusCheckAction) Describe

func (*ServiceStatusCheckAction) NewEmptyState

func (*ServiceStatusCheckAction) Start

func (*ServiceStatusCheckAction) Status

type ServiceStatusCheckState

type ServiceStatusCheckState struct {
	ServiceId          string
	ServiceName        string
	ClusterName        string
	End                time.Time
	ExpectedStatus     string
	StatusCheckMode    string
	StatusCheckSuccess bool
}

type StackStateHttpClient added in v1.0.14

type StackStateHttpClient struct {
	Client *resty.Client
}
var Client *StackStateHttpClient

func (*StackStateHttpClient) GetServiceSnapshot added in v1.0.14

func (s *StackStateHttpClient) GetServiceSnapshot(ctx context.Context, serviceId string) (*resty.Response, ViewSnapshotResponseWrapper, error)

func (*StackStateHttpClient) GetServiceSnapshots added in v1.0.14

type State

type State struct {
	HealthState string `json:"healthState"`
}

type ViewSnapshotResponse

type ViewSnapshotResponse struct {
	Components []Component `json:"components"`
}

type ViewSnapshotResponseWrapper

type ViewSnapshotResponseWrapper struct {
	ViewSnapshotResponse ViewSnapshotResponse `json:"viewSnapshotResponse"`
}

Jump to

Keyboard shortcuts

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