jx: github.com/jenkins-x/jx/pkg/tenant Index | Files

package tenant

import "github.com/jenkins-x/jx/pkg/tenant"

Index

Package Files

tenant.go

func NewTenantClient Uses

func NewTenantClient(options ...Option) *tenantClient

NewTenantClient creates a new tenant client

func ValidateDomainName Uses

func ValidateDomainName(domain string) error

ValidateDomainName checks for compliance in a supplied domain name

type Domain Uses

type Domain struct {
    Data struct {
        Subdomain string `json:"subdomain"`
    } `json:"data"`
}

Domain type for domain response

type Installation Uses

type Installation struct {
    InstallationId string `json:installation-id`
    Organisation   string `json:org`
}

type Option Uses

type Option func(*tenantClient)

func SetHTTPClient Uses

func SetHTTPClient(httpClient *http.Client) Option

SetHTTPClient used to set the HTTP Client

type Result Uses

type Result struct {
    Message string `json:"message"`
}

Result type for nameservers response

Package tenant imports 18 packages (graph) and is imported by 2 packages. Updated 2019-11-14. Refresh now. Tools for package owners.