Back to godoc.org

Package microsserver

v0.0.0-...-e0434a4
Latest Go to latest

The latest major version is .

Published: Jun 30, 2019 | License: Apache-2.0 | Module: github.com/atlassian/voyager

Index

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"`
}

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier