Skip to main content

info

info

import "github.com/cloudfoundry/go-cf-api/internal/api/v3/info"

Index

func ExternalURL

func ExternalURL(endpoint string, conf *config.CfAPIConfig) string

func NewV3InfoEndpoint

func NewV3InfoEndpoint(config *config.CfAPIConfig) echo.HandlerFunc

type CLIVersion

type CLIVersion struct {
Minimum string `json:"minimum"`
Recommended string `json:"recommended"`
}
type Link struct {
HREF string `json:"href"`
Meta map[string]string `json:"meta,omitempty"`
}

type V3Info

type V3Info struct {
Name string `json:"name"`
Description string `json:"description"`
Build string `json:"build"`
Version int `json:"version"`
CLIVersion CLIVersion `json:"cli_version"`
Links V3Links `json:"links"`
}
type V3Links struct {
Self Link `json:"self"`
Support Link `json:"support"`
}

Generated by gomarkdoc