Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TerminateRole is the role a containership jwt token needs to be signed // with to be authenticated to make a request to the /terminate route TerminateRole = "terminate" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSServer ¶
type CSServer struct {
// contains filtered or unexported fields
}
CSServer defines the server
type ContainershipCustomClaim ¶
type ContainershipCustomClaim struct { Metadata struct { Roles []string `json:"https://containership.io/roles"` } `json:"metadata"` jwt.StandardClaims }
ContainershipCustomClaim allows us to reference custom properties in the claim of a JWT
Click to show internal directories.
Click to hide internal directories.