Documentation
¶
Index ¶
- func CreateOrUpdateAuthMethod(client *api.Client, am *api.ACLAuthMethod, opts *Options) (*api.ACLAuthMethod, error)
- func CreateOrUpdateBindingRule(client *api.Client, rule *api.ACLBindingRule, opts *Options) (*api.ACLBindingRule, error)
- func CreateOrUpdatePolicy(client *api.Client, p *api.ACLPolicy, opts *Options) (*api.ACLPolicy, error)
- func CreateOrUpdateToken(client *api.Client, t *api.ACLToken, opts *Options) (*api.ACLToken, error)
- func GetACLMode(client *api.Client, name string) (int, error)
- func GetBindingRuleByDescription(client *api.Client, description string, opts *Options) (*api.ACLBindingRule, error)
- func GetClient(ip, token string) (*api.Client, error)
- func GetPolicyByName(client *api.Client, name string, opts *Options) (*api.ACLPolicy, error)
- func GetTokenByDescription(client *api.Client, description string, opts *Options) (*api.ACLToken, error)
- func HasAllNodeUpdates(nodes []*api.Node) bool
- func ListAllConfigEntries(client *api.Client, enterprise bool) (map[ConfigKindName]api.ConfigEntry, error)
- func ListAllNodes(client *api.Client, dc string, enterprise bool) ([]*api.Node, error)
- func ListAllNodesWithFilter(client *api.Client, dc string, enterprise bool, filter string) ([]*api.Node, error)
- func ListAllServices(client *api.Client, enterprise bool) ([]util.Identifier, error)
- func ListExistingBindingRuleIDsForAuthMethod(client *api.Client, authMethod string, opts *Options) (map[string]string, error)
- func ListExistingPoliciesByName(client *api.Client, opts *Options) (map[string]string, error)
- func ListExistingTokenAccessorsByDescription(client *api.Client, opts *Options) (map[string]string, error)
- func ListNamespaceNames(client *api.Client, partition string) ([]string, error)
- func ListNamespaces(client *api.Client, partition string) ([]*api.Namespace, error)
- func ListPartitionNames(client *api.Client) ([]string, error)
- func ListPartitions(client *api.Client) ([]*api.Partition, error)
- func PartitionQueryOptionsList(client *api.Client, enterprise bool) ([]*api.QueryOptions, error)
- func TenantQueryOptionsList(client *api.Client, enterprise bool) ([]*api.QueryOptions, error)
- type ConfigKindName
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateAuthMethod ¶
func CreateOrUpdateAuthMethod(client *api.Client, am *api.ACLAuthMethod, opts *Options) (*api.ACLAuthMethod, error)
func CreateOrUpdateBindingRule ¶
func CreateOrUpdateBindingRule(client *api.Client, rule *api.ACLBindingRule, opts *Options) (*api.ACLBindingRule, error)
func CreateOrUpdatePolicy ¶
func CreateOrUpdateToken ¶
func GetPolicyByName ¶
func GetTokenByDescription ¶
func HasAllNodeUpdates ¶
func ListAllConfigEntries ¶
func ListAllConfigEntries(client *api.Client, enterprise bool) (map[ConfigKindName]api.ConfigEntry, error)
func ListAllNodes ¶
func ListAllNodesWithFilter ¶
func ListAllServices ¶
func ListNamespaceNames ¶
func ListNamespaces ¶
func TenantQueryOptionsList ¶
Types ¶
type ConfigKindName ¶
Click to show internal directories.
Click to hide internal directories.