microsserver

package
v0.0.0-...-e0434a4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alias

type Alias struct {
	DomainName string `json:"domainName"`
}

type AliasInfo

type AliasInfo struct {
	Alias   Alias   `json:"alias"`
	Service Service `json:"service"`
}

type Client

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

Client is a minimalistic Micros Server client for our needs See full API spec https://stash.atlassian.com/projects/MICROS/repos/micros-server/browse/schema/swagger.yaml

func NewMicrosServerClient

func NewMicrosServerClient(logger *zap.Logger, httpClient *http.Client, asap pkiutil.ASAP, baseURL *url.URL) *Client

func (*Client) GetAlias

func (c *Client) GetAlias(ctx context.Context, domainName string) (*AliasInfo, error)

type Service

type Service struct {
	Name  string `json:"name"`
	Owner string `json:"owner"`
}

Jump to

Keyboard shortcuts

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