Documentation ¶
Overview ¶
Copyright 2020 IBM Corporation
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Package v1 contains API Schema definitions for the oidc v1 API group +k8s:deepcopy-gen=package,register +groupName=oidc.security.ibm.com
Package v1 contains API Schema definitions for the oidc v1 API group +k8s:deepcopy-gen=package,register +groupName=oidc.security.ibm.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "oidc.security.ibm.com", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type Client ¶
type Client struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClientSpec `json:"spec,omitempty"` Status ClientStatus `json:"status,omitempty"` }
Client is the Schema for the clients API +k8s:openapi-gen=true +kubebuilder:subresource:status
func (*Client) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Client.
func (*Client) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Client) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Client) IsCPClientCredentialsEnabled ¶
IsCPClientCredentialsEnabled returns whether the fields required for a Client to be granted authentication tokens with a Client ID and Secret are set.
type ClientCondition ¶
type ClientCondition struct { // Type of the condition, currently ('Ready'). Type ClientConditionType `json:"type"` // Status of the condition, one of ('True', 'False', 'Unknown'). // +kubebuilder:validation:Enum=True;False;Unknown Status ConditionStatus `json:"status"` // LastTransitionTime is the timestamp corresponding to the last status // change of this condition. // +optional LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` // Reason is a brief machine readable explanation for the condition's last // transition. // +optional Reason string `json:"reason,omitempty"` // Message is a human readable description of the details of the last // transition, complementing reason. // +optional Message string `json:"message,omitempty"` }
CertificateCondition contains condition information for an Certificate.
func (*ClientCondition) DeepCopy ¶
func (in *ClientCondition) DeepCopy() *ClientCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientCondition.
func (*ClientCondition) DeepCopyInto ¶
func (in *ClientCondition) DeepCopyInto(out *ClientCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClientConditionType ¶
type ClientConditionType string
CertificateConditionType represents an Certificate condition value.
const ( // CertificateConditionReady indicates that a certificate is ready for use. // This is defined as: // - The target secret exists // - The target secret contains a certificate that has not expired // - The target secret contains a private key valid for the certificate // - The commonName and dnsNames attributes match those specified on the Certificate ClientConditionReady ClientConditionType = "Ready" )
type ClientList ¶
type ClientList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Client `json:"items"` }
ClientList contains a list of Client
func (*ClientList) DeepCopy ¶
func (in *ClientList) DeepCopy() *ClientList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientList.
func (*ClientList) DeepCopyInto ¶
func (in *ClientList) DeepCopyInto(out *ClientList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClientList) DeepCopyObject ¶
func (in *ClientList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClientSpec ¶
type ClientSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html OidcLibertyClient OidcLibertyClient `json:"oidcLibertyClient"` Secret string `json:"secret"` ClientId string `json:"clientId"` ZenAuditUrl string `json:"zenAuditUrl,omitempty"` ZenInstanceId string `json:"zenInstanceId,omitempty"` ZenProductNameUrl string `json:"zenProductNameUrl,omitempty"` Roles []string `json:"roles,omitempty"` }
ClientSpec defines the desired state of Client +k8s:openapi-gen=true
func (*ClientSpec) DeepCopy ¶
func (in *ClientSpec) DeepCopy() *ClientSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientSpec.
func (*ClientSpec) DeepCopyInto ¶
func (in *ClientSpec) DeepCopyInto(out *ClientSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClientStatus ¶
type ClientStatus struct { Conditions []ClientCondition `json:"conditions,omitempty"` // +optional LastFailureTime *metav1.Time `json:"lastFailureTime,omitempty"` }
ClientStatus defines the observed state of Client +k8s:openapi-gen=true
func (*ClientStatus) DeepCopy ¶
func (in *ClientStatus) DeepCopy() *ClientStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientStatus.
func (*ClientStatus) DeepCopyInto ¶
func (in *ClientStatus) DeepCopyInto(out *ClientStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionStatus ¶
type ConditionStatus string
ConditionStatus represents a condition's status.
const ( // ConditionTrue represents the fact that a given condition is true ConditionTrue ConditionStatus = "True" // ConditionFalse represents the fact that a given condition is false ConditionFalse ConditionStatus = "False" // ConditionUnknown represents the fact that a given condition is unknown ConditionUnknown ConditionStatus = "Unknown" )
These are valid condition statuses. "ConditionTrue" means a resource is in the condition; "ConditionFalse" means a resource is not in the condition; "ConditionUnknown" means kubernetes can't decide if a resource is in the condition or not. In the future, we could add other intermediate conditions, e.g. ConditionDegraded.
type OidcLibertyClient ¶
type OidcLibertyClient struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html RedirectUris []string `json:"redirect_uris"` TrustedUris []string `json:"trusted_uri_prefixes"` LogoutUris []string `json:"post_logout_redirect_uris"` }
func (*OidcLibertyClient) DeepCopy ¶
func (in *OidcLibertyClient) DeepCopy() *OidcLibertyClient
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OidcLibertyClient.
func (*OidcLibertyClient) DeepCopyInto ¶
func (in *OidcLibertyClient) DeepCopyInto(out *OidcLibertyClient)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.