Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientSet ¶
type ClientSet interface {
OrganizationV1Alpha1() organizationv1alpha1.OrganizationClient
TrustZoneV1Alpha1() trustzonev1alpha1.TrustZoneClient
TrustZoneServerV1Alpha1() trustzoneserverv1alpha1.TrustZoneServerClient
ClusterV1Alpha1() clusterv1alpha1.ClusterClient
AgentV1Alpha1() agentv1alpha1.AgentClient
AttestationPolicyV1Alpha1() attestationpolicyv1alpha1.AttestationPolicyClient
APBindingV1Alpha1() apbindingv1alpha1.APBindingClient
ExchangePolicyV1Alpha1() exchangepolicyv1alpha1.ExchangePolicyClient
FederationV1Alpha1() federationV1Alpha1.FederationClient
DataStoreV1Alpha1() datastorev1alpha1.DataStoreClient
WorkloadV1Alpha1() workloadv1alpha1.WorkloadClient
IdentityV1Alpha1() identityv1alpha1.IdentityClient
RoleBindingV1Alpha1() rolebindingv1alpha1.RoleBindingClient
AuditV1Alpha1() auditv1alpha1.AuditClient
}
ClientSet is an interface that provides methods for accessing individual versioned clients for specific gRPC services in Cofide Connect API.
func New ¶
func New(conn grpc.ClientConnInterface) ClientSet
New instantiates a new ClientSet for communication with a Connect API.
func NewSPIFFEMTLSClient ¶ added in v0.46.0
func NewSPIFFEMTLSClient( connectTarget string, connectSpiffeId spiffeid.ID, x509Source X509Source, opts ...Option, ) (ClientSet, *grpc.ClientConn, error)
NewSPIFFEMTLSClient creates a ClientSet and underlying gRPC connection to the Cofide Connect API secured with SPIFFE mTLS. The caller is responsible for closing the returned *grpc.ClientConn.
connectTarget is the host[:port] or full gRPC URI (e.g. dns:///host:port) to dial. connectSpiffeId is the SPIFFE ID of the Connect server.
type Option ¶ added in v0.46.0
type Option func(*options)
func WithAuthority ¶ added in v0.62.0
WithAuthority overrides the authority sent (the TLS SNI) to select the mTLS authentication path. If not set no explicit authority will be set.
func WithGRPCDialOptions ¶ added in v0.46.0
func WithGRPCDialOptions(dialOpts ...grpc.DialOption) Option
WithGRPCDialOptions appends additional gRPC dial options (e.g. interceptors).
type X509Source ¶ added in v0.62.0
type X509Source interface {
x509svid.Source
x509bundle.Source
}
Directories
¶
| Path | Synopsis |
|---|---|
|
agent
|
|
|
apbinding
|
|
|
attestationpolicy
|
|
|
audit
|
|
|
cluster
|
|
|
datastore
|
|
|
exchangepolicy
|
|
|
fake
|
|
|
federation
|
|
|
identity
|
|
|
organization
|
|
|
rolebinding
|
|
|
trustzone
|
|
|
trustzoneserver
|
|
|
workload
|
|