Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Endpoint is the API endpoint of the service this client action interacts // with. Endpoint = "/v1/clusters/%s/ingress-ports/" // Name is the service name being implemented. This can be used for e.g. // logging. Name = "cluster/ingress-ports/searcher" )
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Config ¶
type Config struct { // Dependencies. Logger micrologger.Logger RestClient *resty.Client // Settings. URL *url.URL }
Config represents the configuration used to create a creator service.
type Response ¶
type Response struct { ID string `json:"id"` ProtocolPorts []response.ProtocolPort `json:"protocol_ports"` }
Response is the return value of this endpoint.
Click to show internal directories.
Click to hide internal directories.