model

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSREnrollCertificateRequest

type CSREnrollCertificateRequest struct {
	Csr string `json:"csr"`
}

type CertificateRequest

type CertificateRequest struct {
	ID string `json:"id"`
}

type CertificateRequestResponse

type CertificateRequestResponse struct {
	ID          string               `json:"id"`
	Certificate *CertificateResponse `json:"certificate"`
}

type CertificateResponse

type CertificateResponse struct {
	Certificate string `json:"certificate"`
	Key         string `json:"key"`
	Expiry      string `json:"expiry"`
}

type EnrollCertificateRequest

type EnrollCertificateRequest struct {
	JwtToken           string  `json:"jwtToken"`
	CommonName         string  `json:"commonName"`
	Organization       *string `json:"organization"`
	OrganizationalUnit *string `json:"organizationalUnit"`
	Locality           *string `json:"locality"`
	Province           *string `json:"province"`
	Country            *string `json:"country"`
}

type PolicyValues

type PolicyValues struct {
	CommonName         *string `json:"commonName"`
	Organization       *string `json:"organization"`
	OrganizationalUnit *string `json:"organizationalUnit"`
	Locality           *string `json:"locality"`
	Province           *string `json:"province"`
	Country            *string `json:"country"`
}

type SignupRequest

type SignupRequest struct {
	Username    string `json:"username"`
	Password    string `json:"password"`
	Application string `json:"application"`
}

type SignupResponse

type SignupResponse struct {
	JwtToken string `json:"jwtToken"`
}

type ZoneRequest

type ZoneRequest struct {
	Name string `json:"name"`
}

type ZoneResponse

type ZoneResponse struct {
	Zone                string        `json:"zone"`
	PolicyConfiguration *PolicyValues `json:"policyConfiguration"`
}

Jump to

Keyboard shortcuts

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