Documentation ¶
Index ¶
- Constants
- type ActiveDirectoryProvider
- type AuthProvider
- type AuthProviderClient
- func (c *AuthProviderClient) ByID(id string) (*AuthProvider, error)
- func (c *AuthProviderClient) Create(container *AuthProvider) (*AuthProvider, error)
- func (c *AuthProviderClient) Delete(container *AuthProvider) error
- func (c *AuthProviderClient) List(opts *types.ListOpts) (*AuthProviderCollection, error)
- func (c *AuthProviderClient) Update(existing *AuthProvider, updates interface{}) (*AuthProvider, error)
- type AuthProviderCollection
- type AuthProviderOperations
- type BasicLogin
- type Client
- type GithubLogin
- type GithubProvider
- type Initializer
- type Initializers
- type ListMeta
- type LocalProvider
- type ObjectMeta
- type OwnerReference
- type Status
- type StatusCause
- type StatusDetails
- type Token
Constants ¶
View Source
const ( ActiveDirectoryProviderType = "activeDirectoryProvider" ActiveDirectoryProviderFieldAnnotations = "annotations" ActiveDirectoryProviderFieldCreated = "created" ActiveDirectoryProviderFieldCreatorID = "creatorId" ActiveDirectoryProviderFieldDefaultLoginDomain = "defaultLoginDomain" ActiveDirectoryProviderFieldLabels = "labels" ActiveDirectoryProviderFieldName = "name" ActiveDirectoryProviderFieldOwnerReferences = "ownerReferences" ActiveDirectoryProviderFieldRemoved = "removed" ActiveDirectoryProviderFieldType = "type" ActiveDirectoryProviderFieldUuid = "uuid" )
View Source
const ( AuthProviderType = "authProvider" AuthProviderFieldAnnotations = "annotations" AuthProviderFieldCreated = "created" AuthProviderFieldCreatorID = "creatorId" AuthProviderFieldLabels = "labels" AuthProviderFieldName = "name" AuthProviderFieldOwnerReferences = "ownerReferences" AuthProviderFieldRemoved = "removed" AuthProviderFieldType = "type" AuthProviderFieldUuid = "uuid" )
View Source
const ( BasicLoginType = "basicLogin" BasicLoginFieldDescription = "description" BasicLoginFieldPassword = "password" BasicLoginFieldResponseType = "responseType" BasicLoginFieldTTLMillis = "ttl" BasicLoginFieldUsername = "username" )
View Source
const ( GithubLoginType = "githubLogin" GithubLoginFieldCode = "code" GithubLoginFieldDescription = "description" GithubLoginFieldResponseType = "responseType" GithubLoginFieldTTLMillis = "ttl" )
View Source
const ( GithubProviderType = "githubProvider" GithubProviderFieldAnnotations = "annotations" GithubProviderFieldCreated = "created" GithubProviderFieldCreatorID = "creatorId" GithubProviderFieldLabels = "labels" GithubProviderFieldName = "name" GithubProviderFieldOwnerReferences = "ownerReferences" GithubProviderFieldRedirectURL = "redirectUrl" GithubProviderFieldRemoved = "removed" GithubProviderFieldType = "type" GithubProviderFieldUuid = "uuid" )
View Source
const ( InitializerType = "initializer" InitializerFieldName = "name" )
View Source
const ( InitializersType = "initializers" InitializersFieldPending = "pending" InitializersFieldResult = "result" )
View Source
const ( ListMetaType = "listMeta" ListMetaFieldContinue = "continue" ListMetaFieldResourceVersion = "resourceVersion" ListMetaFieldSelfLink = "selfLink" )
View Source
const ( LocalProviderType = "localProvider" LocalProviderFieldAnnotations = "annotations" LocalProviderFieldCreated = "created" LocalProviderFieldCreatorID = "creatorId" LocalProviderFieldLabels = "labels" LocalProviderFieldName = "name" LocalProviderFieldOwnerReferences = "ownerReferences" LocalProviderFieldRemoved = "removed" LocalProviderFieldType = "type" LocalProviderFieldUuid = "uuid" )
View Source
const ( ObjectMetaType = "objectMeta" ObjectMetaFieldAnnotations = "annotations" ObjectMetaFieldCreated = "created" ObjectMetaFieldFinalizers = "finalizers" ObjectMetaFieldLabels = "labels" ObjectMetaFieldName = "name" ObjectMetaFieldNamespace = "namespace" ObjectMetaFieldOwnerReferences = "ownerReferences" ObjectMetaFieldRemoved = "removed" ObjectMetaFieldUuid = "uuid" )
View Source
const ( OwnerReferenceType = "ownerReference" OwnerReferenceFieldAPIVersion = "apiVersion" OwnerReferenceFieldBlockOwnerDeletion = "blockOwnerDeletion" OwnerReferenceFieldController = "controller" OwnerReferenceFieldKind = "kind" OwnerReferenceFieldName = "name" OwnerReferenceFieldUID = "uid" )
View Source
const ( StatusType = "status" StatusFieldAPIVersion = "apiVersion" StatusFieldCode = "code" StatusFieldDetails = "details" StatusFieldKind = "kind" StatusFieldListMeta = "metadata" StatusFieldMessage = "message" StatusFieldReason = "reason" StatusFieldStatus = "status" )
View Source
const ( StatusCauseType = "statusCause" StatusCauseFieldField = "field" StatusCauseFieldMessage = "message" StatusCauseFieldType = "reason" )
View Source
const ( StatusDetailsType = "statusDetails" StatusDetailsFieldCauses = "causes" StatusDetailsFieldGroup = "group" StatusDetailsFieldKind = "kind" StatusDetailsFieldName = "name" StatusDetailsFieldRetryAfterSeconds = "retryAfterSeconds" StatusDetailsFieldUID = "uid" )
View Source
const ( TokenType = "token" TokenFieldAnnotations = "annotations" TokenFieldAuthProvider = "authProvider" TokenFieldCreated = "created" TokenFieldCreatorID = "creatorId" TokenFieldDescription = "description" TokenFieldExpired = "expired" TokenFieldExpiresAt = "expiresAt" TokenFieldGroupPrincipals = "groupPrincipals" TokenFieldIsDerived = "isDerived" TokenFieldLabels = "labels" TokenFieldLastUpdateTime = "lastUpdateTime" TokenFieldName = "name" TokenFieldOwnerReferences = "ownerReferences" TokenFieldProviderInfo = "providerInfo" TokenFieldRemoved = "removed" TokenFieldTTLMillis = "ttl" TokenFieldToken = "token" TokenFieldUserID = "userId" TokenFieldUserPrincipal = "userPrincipal" TokenFieldUuid = "uuid" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveDirectoryProvider ¶
type ActiveDirectoryProvider struct { Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` Created string `json:"created,omitempty" yaml:"created,omitempty"` CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"` DefaultLoginDomain string `json:"defaultLoginDomain,omitempty" yaml:"defaultLoginDomain,omitempty"` Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` Type string `json:"type,omitempty" yaml:"type,omitempty"` Uuid string `json:"uuid,omitempty" yaml:"uuid,omitempty"` }
type AuthProvider ¶
type AuthProvider struct { types.Resource Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` Created string `json:"created,omitempty" yaml:"created,omitempty"` CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"` Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` Type string `json:"type,omitempty" yaml:"type,omitempty"` Uuid string `json:"uuid,omitempty" yaml:"uuid,omitempty"` }
type AuthProviderClient ¶
type AuthProviderClient struct {
// contains filtered or unexported fields
}
func (*AuthProviderClient) ByID ¶
func (c *AuthProviderClient) ByID(id string) (*AuthProvider, error)
func (*AuthProviderClient) Create ¶
func (c *AuthProviderClient) Create(container *AuthProvider) (*AuthProvider, error)
func (*AuthProviderClient) Delete ¶
func (c *AuthProviderClient) Delete(container *AuthProvider) error
func (*AuthProviderClient) List ¶
func (c *AuthProviderClient) List(opts *types.ListOpts) (*AuthProviderCollection, error)
func (*AuthProviderClient) Update ¶
func (c *AuthProviderClient) Update(existing *AuthProvider, updates interface{}) (*AuthProvider, error)
type AuthProviderCollection ¶
type AuthProviderCollection struct { types.Collection Data []AuthProvider `json:"data,omitempty"` // contains filtered or unexported fields }
func (*AuthProviderCollection) Next ¶
func (cc *AuthProviderCollection) Next() (*AuthProviderCollection, error)
type AuthProviderOperations ¶
type AuthProviderOperations interface { List(opts *types.ListOpts) (*AuthProviderCollection, error) Create(opts *AuthProvider) (*AuthProvider, error) Update(existing *AuthProvider, updates interface{}) (*AuthProvider, error) ByID(id string) (*AuthProvider, error) Delete(container *AuthProvider) error }
type BasicLogin ¶
type BasicLogin struct { Description string `json:"description,omitempty" yaml:"description,omitempty"` Password string `json:"password,omitempty" yaml:"password,omitempty"` ResponseType string `json:"responseType,omitempty" yaml:"responseType,omitempty"` TTLMillis *int64 `json:"ttl,omitempty" yaml:"ttl,omitempty"` Username string `json:"username,omitempty" yaml:"username,omitempty"` }
type Client ¶
type Client struct { clientbase.APIBaseClient AuthProvider AuthProviderOperations }
func NewClient ¶
func NewClient(opts *clientbase.ClientOpts) (*Client, error)
type GithubLogin ¶
type GithubLogin struct { Code string `json:"code,omitempty" yaml:"code,omitempty"` Description string `json:"description,omitempty" yaml:"description,omitempty"` ResponseType string `json:"responseType,omitempty" yaml:"responseType,omitempty"` TTLMillis *int64 `json:"ttl,omitempty" yaml:"ttl,omitempty"` }
type GithubProvider ¶
type GithubProvider struct { Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` Created string `json:"created,omitempty" yaml:"created,omitempty"` CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"` Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` RedirectURL string `json:"redirectUrl,omitempty" yaml:"redirectUrl,omitempty"` Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` Type string `json:"type,omitempty" yaml:"type,omitempty"` Uuid string `json:"uuid,omitempty" yaml:"uuid,omitempty"` }
type Initializer ¶
type Initializer struct {
Name string `json:"name,omitempty" yaml:"name,omitempty"`
}
type Initializers ¶
type Initializers struct { Pending []Initializer `json:"pending,omitempty" yaml:"pending,omitempty"` Result *Status `json:"result,omitempty" yaml:"result,omitempty"` }
type LocalProvider ¶
type LocalProvider struct { Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` Created string `json:"created,omitempty" yaml:"created,omitempty"` CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"` Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` Type string `json:"type,omitempty" yaml:"type,omitempty"` Uuid string `json:"uuid,omitempty" yaml:"uuid,omitempty"` }
type ObjectMeta ¶
type ObjectMeta struct { Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` Created string `json:"created,omitempty" yaml:"created,omitempty"` Finalizers []string `json:"finalizers,omitempty" yaml:"finalizers,omitempty"` Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` Uuid string `json:"uuid,omitempty" yaml:"uuid,omitempty"` }
type OwnerReference ¶
type OwnerReference struct { APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"` BlockOwnerDeletion *bool `json:"blockOwnerDeletion,omitempty" yaml:"blockOwnerDeletion,omitempty"` Controller *bool `json:"controller,omitempty" yaml:"controller,omitempty"` Kind string `json:"kind,omitempty" yaml:"kind,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` UID string `json:"uid,omitempty" yaml:"uid,omitempty"` }
type Status ¶
type Status struct { APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"` Code *int64 `json:"code,omitempty" yaml:"code,omitempty"` Details *StatusDetails `json:"details,omitempty" yaml:"details,omitempty"` Kind string `json:"kind,omitempty" yaml:"kind,omitempty"` ListMeta *ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` Message string `json:"message,omitempty" yaml:"message,omitempty"` Reason string `json:"reason,omitempty" yaml:"reason,omitempty"` Status string `json:"status,omitempty" yaml:"status,omitempty"` }
type StatusCause ¶
type StatusDetails ¶
type StatusDetails struct { Causes []StatusCause `json:"causes,omitempty" yaml:"causes,omitempty"` Group string `json:"group,omitempty" yaml:"group,omitempty"` Kind string `json:"kind,omitempty" yaml:"kind,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` RetryAfterSeconds *int64 `json:"retryAfterSeconds,omitempty" yaml:"retryAfterSeconds,omitempty"` UID string `json:"uid,omitempty" yaml:"uid,omitempty"` }
type Token ¶
type Token struct { Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` AuthProvider string `json:"authProvider,omitempty" yaml:"authProvider,omitempty"` Created string `json:"created,omitempty" yaml:"created,omitempty"` CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"` Description string `json:"description,omitempty" yaml:"description,omitempty"` Expired bool `json:"expired,omitempty" yaml:"expired,omitempty"` ExpiresAt string `json:"expiresAt,omitempty" yaml:"expiresAt,omitempty"` GroupPrincipals []string `json:"groupPrincipals,omitempty" yaml:"groupPrincipals,omitempty"` IsDerived bool `json:"isDerived,omitempty" yaml:"isDerived,omitempty"` Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` LastUpdateTime string `json:"lastUpdateTime,omitempty" yaml:"lastUpdateTime,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` ProviderInfo map[string]string `json:"providerInfo,omitempty" yaml:"providerInfo,omitempty"` Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` TTLMillis *int64 `json:"ttl,omitempty" yaml:"ttl,omitempty"` Token string `json:"token,omitempty" yaml:"token,omitempty"` UserID string `json:"userId,omitempty" yaml:"userId,omitempty"` UserPrincipal string `json:"userPrincipal,omitempty" yaml:"userPrincipal,omitempty"` Uuid string `json:"uuid,omitempty" yaml:"uuid,omitempty"` }
Source Files ¶
- zz_generated_active_directory_provider.go
- zz_generated_auth_provider.go
- zz_generated_basic_login.go
- zz_generated_client.go
- zz_generated_github_login.go
- zz_generated_github_provider.go
- zz_generated_initializer.go
- zz_generated_initializers.go
- zz_generated_list_meta.go
- zz_generated_local_provider.go
- zz_generated_object_meta.go
- zz_generated_owner_reference.go
- zz_generated_status.go
- zz_generated_status_cause.go
- zz_generated_status_details.go
- zz_generated_token.go
Click to show internal directories.
Click to hide internal directories.