policies

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package policies provides an interface to Insights policy settings and enforcement.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PushPolicies

func PushPolicies(pushDir, org, insightsToken, host string, dryrun bool) error

PushPolicies verifies the policies settings file is readable, then pushes it to the Insights API.

func PutPolicies

func PutPolicies(policies io.Reader, org, token, hostName string) error

PutPolicies submits the io.Reader as an HTTP PUT request, content-type text/yaml, to the Insights API policies endpoint.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL