Documentation
¶
Index ¶
- func Client(cfg *Config) (*rest_management_api_client.ZitiEdgeManagement, error)
- func CreateIdentity(name string, roleAttributes rest_model_edge.Attributes, ...) (*identity.CreateIdentityCreated, error)
- func DeleteIdentity(zId string, edge *rest_management_api_client.ZitiEdgeManagement) error
- func EnrollIdentity(zId string, edge *rest_management_api_client.ZitiEdgeManagement) (*ziti.Config, error)
- func GetIdentityByName(name string, edge *rest_management_api_client.ZitiEdgeManagement) (*identity.ListIdentitiesOK, error)
- func PatchIdentity(zId string, roleAttributes rest_model_edge.Attributes, ...) (*identity.PatchIdentityOK, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Client ¶
func Client(cfg *Config) (*rest_management_api_client.ZitiEdgeManagement, error)
func CreateIdentity ¶
func CreateIdentity(name string, roleAttributes rest_model_edge.Attributes, identityType rest_model_edge.IdentityType, edge *rest_management_api_client.ZitiEdgeManagement) (*identity.CreateIdentityCreated, error)
func DeleteIdentity ¶
func DeleteIdentity(zId string, edge *rest_management_api_client.ZitiEdgeManagement) error
func EnrollIdentity ¶
func EnrollIdentity(zId string, edge *rest_management_api_client.ZitiEdgeManagement) (*ziti.Config, error)
func GetIdentityByName ¶
func GetIdentityByName(name string, edge *rest_management_api_client.ZitiEdgeManagement) (*identity.ListIdentitiesOK, error)
func PatchIdentity ¶
func PatchIdentity(zId string, roleAttributes rest_model_edge.Attributes, edge *rest_management_api_client.ZitiEdgeManagement) (*identity.PatchIdentityOK, error)
Types ¶
type Config ¶
type Config struct { ApiEndpoint string Cert *x509.Certificate PrivateKey crypto.PrivateKey CAS x509.CertPool }
Click to show internal directories.
Click to hide internal directories.