cf

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CCResponse

type CCResponse struct {
	NextURL      string     `json:"next_url"`
	Resources    []Resource `json:"resources"`
	TotalResults int        `json:"total_results"`
}

type Config

type Config struct {
	ClientID           string   `json:"clientID"`
	ClientSecret       string   `json:"clientSecret"`
	RedirectURI        string   `json:"redirectURI"`
	APIURL             string   `json:"apiURL"`
	RootCAs            []string `json:"rootCAs"`
	InsecureSkipVerify bool     `json:"insecureSkipVerify"`
}

func (*Config) Open

func (c *Config) Open(id string, logger log.Logger) (connector.Connector, error)

type Entity

type Entity struct {
	Name             string `json:"name"`
	OrganizationGUID string `json:"organization_guid"`
}

type Metadata

type Metadata struct {
	GUID string `json:"guid"`
}

type Org

type Org struct {
	Name string
	GUID string
}

type Resource

type Resource struct {
	Metadata Metadata `json:"metadata"`
	Entity   Entity   `json:"entity"`
}

type Space

type Space struct {
	Name    string
	GUID    string
	OrgGUID string
	Role    string
}

Jump to

Keyboard shortcuts

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