Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployment ¶
type Deployment struct {
DeploymentID string `json:"deploymentId"`
}
type Registration ¶
type Registration struct { Issuer string `json:"issuer"` ClientID string `json:"clientId"` KeySetURL string `json:"keySetUrl"` AuthTokenURL string `json:"authTokenUrl"` AuthLoginURL string `json:"authLoginUrl"` ToolPrivateKey string `json:"toolPrivateKey"` DeploymentIds []string `json:"deploymentIds,omitempty"` }
type RegistrationDatastore ¶
type RegistrationDatastore interface { FindRegistration(issuer string) (*Registration, error) FindDeployment(issuer, deploymentID string) (*Deployment, error) }
func NewJsonRegistrationDatastore ¶
func NewJsonRegistrationDatastore(jsonPath string) (RegistrationDatastore, error)
Click to show internal directories.
Click to hide internal directories.