Documentation ¶
Index ¶
- func DeleteOIDCIdentityByID(client newclient.Client, serviceAccountID string, ID string) error
- func GetOIDCIdentities(client newclient.Client, query OIDCIdentityQuery) (*resources.Resources[*OIDCIdentity], error)
- func UpdateOIDCIdentity(client newclient.Client, identity *OIDCIdentity) error
- type OIDCIdentity
- func AddOIDCIdentity(client newclient.Client, identity *OIDCIdentity) (*OIDCIdentity, error)
- func GetOIDCIdentityByID(client newclient.Client, serviceAccountID string, ID string) (*OIDCIdentity, error)
- func NewOIDCIdentity(serviceAccountID string, name string, issuer string, subject string) *OIDCIdentity
- type OIDCIdentityQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteOIDCIdentityByID ¶
DeleteOIDCIdentityByID remove an OIDC identity by ID for the provided service account ID
func GetOIDCIdentities ¶
func GetOIDCIdentities(client newclient.Client, query OIDCIdentityQuery) (*resources.Resources[*OIDCIdentity], error)
GetOIDCIdentities queries all OIDC identities for the provided service account ID
func UpdateOIDCIdentity ¶
func UpdateOIDCIdentity(client newclient.Client, identity *OIDCIdentity) error
UpdateOIDCIdentity will update the OIDC identity, update does not return the updated OIDC identity
Types ¶
type OIDCIdentity ¶
type OIDCIdentity struct { Audience string `json:"Audience"` Issuer string `json:"Issuer"` Name string `json:"Name"` ServiceAccountID string `json:"ServiceAccountId"` Subject string `json:"Subject"` resources.Resource }
func AddOIDCIdentity ¶
func AddOIDCIdentity(client newclient.Client, identity *OIDCIdentity) (*OIDCIdentity, error)
AddOIDCIdentity creates a new OIDC Identity for the service account
func GetOIDCIdentityByID ¶
func GetOIDCIdentityByID(client newclient.Client, serviceAccountID string, ID string) (*OIDCIdentity, error)
GetOIDCIdentityByID queries OIDC identities by ID for the provided service account ID
func NewOIDCIdentity ¶
func NewOIDCIdentity(serviceAccountID string, name string, issuer string, subject string) *OIDCIdentity
NewOIDCIdentity initializes a Service Account with required fields.
type OIDCIdentityQuery ¶
Click to show internal directories.
Click to hide internal directories.