Documentation
¶
Overview ¶
Package acl consists of access control list functions.
Copyright 2021 Michael Bungenstock ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func GetEffecticeACLPolicies(ctx context.Context, p *api.AuthenticationConfig, urls []string) (interface{}, error)
- func GetEffecticeACLPoliciesRaw(ctx context.Context, p *api.AuthenticationConfig, urls []string) (*http.Response, error)
- func GetPermissionsAndResources(ctx context.Context, p *api.AuthenticationConfig) (interface{}, error)
- func GetPermissionsAndResourcesRaw(ctx context.Context, p *api.AuthenticationConfig) (util.JSONResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEffecticeACLPolicies ¶
func GetEffecticeACLPolicies(ctx context.Context, p *api.AuthenticationConfig, urls []string) (interface{}, error)
GetEffecticeACLPolicies returns the effective acl policies
func GetEffecticeACLPoliciesRaw ¶ added in v0.2.0
func GetEffecticeACLPoliciesRaw(ctx context.Context, p *api.AuthenticationConfig, urls []string) (*http.Response, error)
GetEffecticeACLPoliciesRaw returns the effective acl policies
func GetPermissionsAndResources ¶
func GetPermissionsAndResources(ctx context.Context, p *api.AuthenticationConfig) (interface{}, error)
GetPermissionsAndResources returns the access control policies.
func GetPermissionsAndResourcesRaw ¶ added in v0.2.0
func GetPermissionsAndResourcesRaw(ctx context.Context, p *api.AuthenticationConfig) (util.JSONResponse, error)
GetPermissionsAndResourcesRaw returns the access control policies.
Types ¶
This section is empty.