Documentation ¶
Index ¶
Constants ¶
Variables ¶
View Source
var (
ServiceInstance = vim.ManagedObjectReference{
Type: "LookupServiceInstance",
Value: "ServiceInstance",
}
)
Functions ¶
func EndpointURL ¶
func EndpointURL(ctx context.Context, c *vim25.Client, path string, filter *types.LookupServiceRegistrationFilter) string
EndpointURL uses the Lookup Service to find the endpoint URL and thumbprint for the given filter. If the endpoint is found, its TLS certificate is also added to the vim25.Client's trusted host thumbprints. If the Lookup Service is not available, the given path is returned as the default.
Types ¶
type Client ¶
type Client struct { *soap.Client ServiceContent types.LookupServiceContent }
Client is a soap.Client targeting the SSO Lookup Service API endpoint.
func NewClient ¶
NewClient returns a client targeting the SSO Lookup Service API endpoint.
func (*Client) List ¶
func (c *Client) List(ctx context.Context, filter *types.LookupServiceRegistrationFilter) ([]types.LookupServiceRegistrationInfo, error)
Click to show internal directories.
Click to hide internal directories.