Help us shape the future of Go! Take the 2026 Go Developer Survey

zrokEdgeSdk

package
v1.1.13 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client added in v0.4.0

func CreateAgentRemoteServiceEdgeRouterPolicy added in v1.0.5

func CreateAgentRemoteServiceEdgeRouterPolicy(envZId, enrollmentToken, zId string, edge *rest_management_api_client.ZitiEdgeManagement) error

func CreateConfig

func CreateConfig(cfgTypeZId, envZId, shrToken string, options *FrontendOptions, edge *rest_management_api_client.ZitiEdgeManagement) (cfgZId string, err error)

func CreateEdgeRouterPolicy

func CreateEdgeRouterPolicy(name, zId string, edge *rest_management_api_client.ZitiEdgeManagement) error

func CreateEnvironmentIdentity

func CreateEnvironmentIdentity(uniqueToken, accountEmail, envDescription string, edge *rest_management_api_client.ZitiEdgeManagement) (*identity.CreateIdentityCreated, error)

func CreateIdentity

func CreateIdentity(name string, identityType rest_model_edge.IdentityType, addlTags map[string]interface{}, edge *rest_management_api_client.ZitiEdgeManagement) (*identity.CreateIdentityCreated, error)

func CreateService

func CreateService(name string, cfgZIds []string, addlTags map[string]interface{}, edge *rest_management_api_client.ZitiEdgeManagement) (zId string, err error)

func CreateServiceEdgeRouterPolicy

func CreateServiceEdgeRouterPolicy(name, shrZId string, moreTags map[string]interface{}, edge *rest_management_api_client.ZitiEdgeManagement) (string, error)

func CreateServicePolicyBind

func CreateServicePolicyBind(name, shrZId, bindZId string, addlTags map[string]interface{}, edge *rest_management_api_client.ZitiEdgeManagement) error

func CreateServicePolicyDial

func CreateServicePolicyDial(name, shrZId string, dialZIds []string, addlTags map[string]interface{}, edge *rest_management_api_client.ZitiEdgeManagement) error

func CreateShareService

func CreateShareService(envZId, shrToken, cfgZId string, edge *rest_management_api_client.ZitiEdgeManagement) (shrZId string, err error)

func CreateShareServiceEdgeRouterPolicy

func CreateShareServiceEdgeRouterPolicy(envZId, shrToken, shrZId string, edge *rest_management_api_client.ZitiEdgeManagement) error

func DeleteConfig

func DeleteConfig(envZId, shrToken string, edge *rest_management_api_client.ZitiEdgeManagement) error

func DeleteEdgeRouterPolicy

func DeleteEdgeRouterPolicy(envZId string, edge *rest_management_api_client.ZitiEdgeManagement) error

func DeleteService

func DeleteService(envZId, shrZId string, edge *rest_management_api_client.ZitiEdgeManagement) error

func DeleteServiceEdgeRouterPolicy

func DeleteServiceEdgeRouterPolicy(envZId, filter string, edge *rest_management_api_client.ZitiEdgeManagement) error

func DeleteServiceEdgeRouterPolicyForAgentRemote added in v1.0.5

func DeleteServiceEdgeRouterPolicyForAgentRemote(envZId, enrollmentToken string, edge *rest_management_api_client.ZitiEdgeManagement) error

func DeleteServiceEdgeRouterPolicyForShare added in v1.0.5

func DeleteServiceEdgeRouterPolicyForShare(envZId, shrToken string, edge *rest_management_api_client.ZitiEdgeManagement) error

func DeleteServicePolicies added in v0.4.0

func DeleteServicePolicies(envZId, filter string, edge *rest_management_api_client.ZitiEdgeManagement) error

func DeleteServicePoliciesBindForAgentRemote added in v1.0.5

func DeleteServicePoliciesBindForAgentRemote(envZId, enrollmentToken string, edge *rest_management_api_client.ZitiEdgeManagement) error

func DeleteServicePoliciesBindForShare added in v1.0.5

func DeleteServicePoliciesBindForShare(envZId, shrToken string, edge *rest_management_api_client.ZitiEdgeManagement) error

func DeleteServicePoliciesDialForAgentRemote added in v1.0.5

func DeleteServicePoliciesDialForAgentRemote(envZId, enrollmentToken string, edge *rest_management_api_client.ZitiEdgeManagement) error

func DeleteServicePoliciesDialForShare added in v1.0.5

func DeleteServicePoliciesDialForShare(envZId, shrToken string, edge *rest_management_api_client.ZitiEdgeManagement) error

func FindServicePolicyByName added in v1.1.12

func FindShareService added in v0.4.0

func FindShareService(svcZId string, edge *rest_management_api_client.ZitiEdgeManagement) (string, error)

func GetConfig added in v0.4.40

func MergeTags

func MergeTags(tags *rest_model.Tags, addl map[string]interface{}) *rest_model.Tags

func UpdateConfig added in v0.4.40

func UpdateConfig(shrToken, cfgZId string, cfg *sdk.FrontendConfig, edge *rest_management_api_client.ZitiEdgeManagement) error

func ZrokAgentRemoteTags added in v1.0.5

func ZrokAgentRemoteTags(enrollmentToken, envZId string) *rest_model.Tags

func ZrokShareTags

func ZrokShareTags(shrToken string) *rest_model.Tags

func ZrokTags

func ZrokTags() *rest_model.Tags

Types

type Config added in v0.4.0

type Config struct {
	ApiEndpoint string
	Username    string
	Password    string `cf:"+secret"`
}

type FrontendOptions added in v0.4.7

type FrontendOptions struct {
	Interstitial   bool
	AuthScheme     sdk.AuthScheme
	BasicAuthUsers []*sdk.AuthUserConfig
	Oauth          *sdk.OauthConfig
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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