zpa

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: MIT Imports: 36 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommonPolicySchema

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

func ExpandPolicyRuleResourceConditions

func ExpandPolicyRuleResourceConditions(d map[string]interface{}) ([]lssconfigcontroller.PolicyRuleResourceConditions, error)

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 SetToStringList

func SetToStringList(d *schema.ResourceData, key string) []string

func SetToStringSlice

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

func ValidateConditions

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

func ValidateStringFloatBetween

func ValidateStringFloatBetween(min, max float64) schema.SchemaValidateFunc

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

Directories

Path Synopsis
common

Jump to

Keyboard shortcuts

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