Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultAPIVersion = "v2"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIVersion ¶
type APIVersion int
const ( V1 APIVersion = iota V2 V3 )
func (APIVersion) String ¶
func (v APIVersion) String() string
type AuthAction ¶
type AuthAction string
func ParseAuthAction ¶
func ParseAuthAction(action string) (AuthAction, error)
func (AuthAction) String ¶
func (a AuthAction) String() string
type AuthPolicies ¶
type AuthPolicies struct {
NamespaceAuth map[string]AuthAction `json:"namespace_auth"`
DestinationAuth map[string]map[string]AuthAction `json:"destination_auth"`
SubscriptionAuthRoles map[string][]string `json:"subscription_auth_roles"`
}
func NewAuthPolicies ¶
func NewAuthPolicies() *AuthPolicies
Click to show internal directories.
Click to hide internal directories.