Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Link ¶
type Link struct { ID string `json:"id"` Name string `json:"name"` URL string `json:"url"` LoginProvider `json:"login_provider"` }
Link is the request sent to the /cluster/v1/links endpoint to link the cluster handled by the client to a cluster using its id, name, url, and login provider.
type Linker ¶
type Linker struct {
// contains filtered or unexported fields
}
Linker manages DC/OS cluster links.
func New ¶
func New(baseClient *httpclient.Client, logger *logrus.Logger) *Linker
New creates a new cluster linker client from a standard HTTP client.
type Links ¶
type Links struct {
Links []*Link `json:"links"`
}
Links is the structure returned by the /cluster/v1/links endpoint.
type LoginProvider ¶
LoginProvider representing a part of the message when sending a link request, it gives information about the cluster to link to.
Click to show internal directories.
Click to hide internal directories.