zpa

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 License: MIT Imports: 26 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommonPolicySchema

func CommonPolicySchema() map[string]*schema.Schema

func ExpandPolicyConditions

func ExpandPolicyConditions(d *schema.ResourceData) ([]policysetrule.Conditions, error)

func FlattenPolicyConditions

func FlattenPolicyConditions(conditions []policysetrule.Conditions) []interface{}

func GetPolicyConditionsSchema

func GetPolicyConditionsSchema(objectTypes []string) *schema.Schema

func ListToStringSlice

func ListToStringSlice(v []interface{}) []string

func MergeSchema

func MergeSchema(schemas ...map[string]*schema.Schema) map[string]*schema.Schema

func Provider

func Provider() *schema.Provider

func SetToStringSlice

func SetToStringSlice(d *schema.Set) []string

func ValidateConditions

func ValidateConditions(conditions []policysetrule.Conditions, zClient *Client) bool

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

type Config

type Config struct {
	ClientID     string
	ClientSecret string
	CustomerID   string
	BaseURL      string
}

func (*Config) Client

func (c *Config) Client() (*Client, error)

type Getter

type Getter func(id string) error

func (Getter) Get

func (g Getter) Get(id string) error

Jump to

Keyboard shortcuts

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