identity

package
v1.1.58-test Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: MIT Imports: 1 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsIdentity

type AwsIdentity struct {
	CloudAccountLink string            `json:"cloudAccountLink"`
	PolicyRefs       []PolicyRef       `json:"policyRefs,omitempty"`
	TrustPolicy      AwsPolicyDocument `json:"trustPolicy,omitempty"`
	RoleName         AwsRoleName       `json:"roleName,omitempty"`
}

type AwsPolicyDocument

type AwsPolicyDocument struct {
	Version   string                       `json:"Version,omitempty"`
	Statement []AwsPolicyDocumentStatement `json:"Statement,omitempty"`
}

type AwsPolicyDocumentStatement

type AwsPolicyDocumentStatement map[string]any

type AwsRoleName

type AwsRoleName string

type AzureIdentity

type AzureIdentity struct {
	CloudAccountLink string                `json:"cloudAccountLink"`
	RoleAssignments  []AzureRoleAssignment `json:"roleAssignments,omitempty"`
}

type AzureRoleAssignment

type AzureRoleAssignment struct {
	Scope string   `json:"scope,omitempty"`
	Roles []string `json:"roles,omitempty"`
}

type GcpIdentity

type GcpIdentity struct {
	CloudAccountLink string                `json:"cloudAccountLink"`
	Scopes           []string              `json:"scopes,omitempty"`
	ServiceAccount   string                `json:"serviceAccount,omitempty"`
	Bindings         []GcpIdentityBindings `json:"bindings,omitempty"`
}

type GcpIdentityBindings

type GcpIdentityBindings struct {
	Resource string        `json:"resource,omitempty"`
	Roles    []GcpRoleName `json:"roles,omitempty"`
}

type GcpRoleName

type GcpRoleName string

type Identity

type Identity struct {
	Id                     string                  `json:"id,omitempty"`
	Name                   base.Name               `json:"name,omitempty"`
	Kind                   base.Kind               `json:"kind,omitempty"`
	Version                *float32                `json:"version,omitempty"`
	Description            string                  `json:"description,omitempty"`
	Tags                   IdentityTags            `json:"tags,omitempty"`
	Created                string                  `json:"created,omitempty"`
	LastModified           string                  `json:"lastModified,omitempty"`
	Links                  base.Links              `json:"links,omitempty"`
	Aws                    *AwsIdentity            `json:"aws,omitempty"`
	Gcp                    *GcpIdentity            `json:"gcp,omitempty"`
	Azure                  *AzureIdentity          `json:"azure,omitempty"`
	Ngs                    *NgsIdentity            `json:"ngs,omitempty"`
	NetworkResources       []NetworkResource       `json:"networkResources,omitempty"`
	NativeNetworkResources []NativeNetworkResource `json:"nativeNetworkResources,omitempty"`
	MemcacheAccess         []MemcacheAccess        `json:"memcacheAccess,omitempty"`
	SpicedbAccess          []SpicedbAccess         `json:"spicedbAccess,omitempty"`
	Status                 Status                  `json:"status,omitempty"`
	Gvc                    string                  `json:"gvc,omitempty"`
}

type IdentityTags

type IdentityTags map[string]any

type MemcacheAccess

type MemcacheAccess struct {
	ClusterLink string             `json:"clusterLink"`
	Role        MemcacheAccessRole `json:"role,omitempty"`
}

type MemcacheAccessRole

type MemcacheAccessRole string
const (
	MemcacheAccessRoleReadWrite MemcacheAccessRole = "readWrite"
)

type NativeNetworkResource

type NativeNetworkResource struct {
	Name              any                                    `json:"name"`
	FQDN              string                                 `json:"FQDN,omitempty"`
	Ports             []float32                              `json:"ports"`
	AwsPrivateLink    NativeNetworkResourceAwsPrivateLink    `json:"awsPrivateLink,omitempty"`
	GcpServiceConnect NativeNetworkResourceGcpServiceConnect `json:"gcpServiceConnect,omitempty"`
}
type NativeNetworkResourceAwsPrivateLink struct {
	EndpointServiceName string `json:"endpointServiceName"`
}

type NativeNetworkResourceGcpServiceConnect

type NativeNetworkResourceGcpServiceConnect struct {
	TargetService string `json:"targetService"`
}

type NetworkResource

type NetworkResource struct {
	Name       any       `json:"name"`
	AgentLink  string    `json:"agentLink,omitempty"`
	IPs        []string  `json:"IPs,omitempty"`
	FQDN       string    `json:"FQDN,omitempty"`
	ResolverIP string    `json:"resolverIP,omitempty"`
	Ports      []float32 `json:"ports"`
}

type NgsIdentity

type NgsIdentity struct {
	CloudAccountLink string          `json:"cloudAccountLink"`
	Pub              NgsIdentityPub  `json:"pub,omitempty"`
	Sub              NgsIdentitySub  `json:"sub,omitempty"`
	Resp             NgsIdentityResp `json:"resp,omitempty"`
	Subs             *float32        `json:"subs,omitempty"`
	Data             *float32        `json:"data,omitempty"`
	Payload          *float32        `json:"payload,omitempty"`
}

type NgsIdentityPub

type NgsIdentityPub struct {
	Allow []string `json:"allow,omitempty"`
	Deny  []string `json:"deny,omitempty"`
}

type NgsIdentityResp

type NgsIdentityResp struct {
	Max *float32 `json:"max,omitempty"`
	Ttl string   `json:"ttl,omitempty"`
}

type NgsIdentitySub

type NgsIdentitySub struct {
	Allow []string `json:"allow,omitempty"`
	Deny  []string `json:"deny,omitempty"`
}

type PolicyRef

type PolicyRef string

type SpicedbAccess

type SpicedbAccess struct {
	ClusterLink string            `json:"clusterLink"`
	Role        SpicedbAccessRole `json:"role,omitempty"`
}

type SpicedbAccessRole

type SpicedbAccessRole string
const (
	SpicedbAccessRoleCheckPermission SpicedbAccessRole = "checkPermission"
	SpicedbAccessRoleRead            SpicedbAccessRole = "read"
	SpicedbAccessRoleWrite           SpicedbAccessRole = "write"
)

type Status

type Status struct {
	ObjectName string      `json:"objectName,omitempty"`
	Aws        StatusAws   `json:"aws,omitempty"`
	Gcp        StatusGcp   `json:"gcp,omitempty"`
	Azure      StatusAzure `json:"azure,omitempty"`
}

type StatusAws

type StatusAws struct {
	LastError string `json:"lastError,omitempty"`
	Usable    bool   `json:"usable,omitempty"`
}

type StatusAzure

type StatusAzure struct {
	LastError string `json:"lastError,omitempty"`
	Usable    bool   `json:"usable,omitempty"`
}

type StatusGcp

type StatusGcp struct {
	LastError string `json:"lastError,omitempty"`
	Usable    bool   `json:"usable,omitempty"`
}

Jump to

Keyboard shortcuts

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