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

package tenant

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


Package Files


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 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 12 packages (graph) and is imported by 1 packages. Updated 2019-09-16. Refresh now. Tools for package owners.