Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the KfAwsPlugin v1alpha1. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubeflow/kfctl/v3/pkg/kfconfig/awsplugin +k8s:defaulter-gen=TypeMeta +groupName=awsplugin.internal.kubeflow.org
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type Auth
- type AwsPluginSpec
- func (in *AwsPluginSpec) DeepCopy() *AwsPluginSpec
- func (in *AwsPluginSpec) DeepCopyInto(out *AwsPluginSpec)
- func (p *AwsPluginSpec) GetEnableNodeGroupLog() bool
- func (p *AwsPluginSpec) GetEnablePodIamPolicy() bool
- func (p *AwsPluginSpec) GetManagedCluster() bool
- func (plugin *AwsPluginSpec) IsValid() (bool, string)
- type BasicAuth
- type Coginito
- type KfAwsPlugin
- type OIDC
- type ObjectStorageConfig
- type RelationDatabaseConfig
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "awsplugin.internal.kubeflow.org", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is required by pkg/kfdef/... AddToScheme = localSchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource is required by pkg/kfdef/listers/...
Types ¶
type Auth ¶
type Auth struct { BasicAuth *BasicAuth `json:"basicAuth,omitempty"` Oidc *OIDC `json:"oidc,omitempty"` Cognito *Coginito `json:"cognito,omitempty"` }
func (*Auth) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Auth.
func (*Auth) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AwsPluginSpec ¶
type AwsPluginSpec struct { Auth *Auth `json:"auth,omitempty"` Region string `json:"region,omitempty"` Roles []string `json:"roles,omitempty"` EnablePodIamPolicy *bool `json:"enablePodIamPolicy,omitempty"` EnableNodeGroupLog *bool `json:"enableNodeGroupLog,omitempty"` ManagedCluster *bool `json:"managedCluster,omitempty"` ManagedRelationDatabase *RelationDatabaseConfig `json:"managedRelationDatabase,omitempty"` ManagedObjectStorage *ObjectStorageConfig `json:"managedObjectStorage,omitempty"` }
AwsPlugin defines the extra data provided by the GCP Plugin in KfDef
func (*AwsPluginSpec) DeepCopy ¶
func (in *AwsPluginSpec) DeepCopy() *AwsPluginSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AwsPluginSpec.
func (*AwsPluginSpec) DeepCopyInto ¶
func (in *AwsPluginSpec) DeepCopyInto(out *AwsPluginSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AwsPluginSpec) GetEnableNodeGroupLog ¶
func (p *AwsPluginSpec) GetEnableNodeGroupLog() bool
GetEnableNodeGroupLog return true if user want to enable fluentd cloud watch logs
func (*AwsPluginSpec) GetEnablePodIamPolicy ¶
func (p *AwsPluginSpec) GetEnablePodIamPolicy() bool
GetEnablePodIamPolicy return true if user want to enable pod iam policy
func (*AwsPluginSpec) GetManagedCluster ¶
func (p *AwsPluginSpec) GetManagedCluster() bool
GetManagedCluster return true if user want to create a new cluster and then deploy kubeflow
func (*AwsPluginSpec) IsValid ¶
func (plugin *AwsPluginSpec) IsValid() (bool, string)
IsValid returns true if the spec is a valid and complete spec. If false it will also return a string providing a message about why its invalid.
type BasicAuth ¶
type BasicAuth struct { Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` }
func (*BasicAuth) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicAuth.
func (*BasicAuth) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Coginito ¶
type Coginito struct { CognitoAppClientId string `json:"cognitoAppClientId,omitempty"` CognitoUserPoolArn string `json:"cognitoUserPoolArn,omitempty"` CognitoUserPoolDomain string `json:"cognitoUserPoolDomain,omitempty"` CertArn string `json:"certArn,omitempty"` }
func (*Coginito) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Coginito.
func (*Coginito) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KfAwsPlugin ¶
type KfAwsPlugin struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AwsPluginSpec `json:"spec,omitempty"` }
+k8s:openapi-gen=true Placeholder for the plugin API.
func (*KfAwsPlugin) DeepCopy ¶
func (in *KfAwsPlugin) DeepCopy() *KfAwsPlugin
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KfAwsPlugin.
func (*KfAwsPlugin) DeepCopyInto ¶
func (in *KfAwsPlugin) DeepCopyInto(out *KfAwsPlugin)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KfAwsPlugin) DeepCopyObject ¶
func (in *KfAwsPlugin) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OIDC ¶
type OIDC struct { OidcAuthorizationEndpoint string `json:"oidcAuthorizationEndpoint,omitempty"` OidcIssuer string `json:"oidcIssuer,omitempty"` OidcTokenEndpoint string `json:"oidcTokenEndpoint,omitempty"` OidcUserInfoEndpoint string `json:"oidcUserInfoEndpoint,omitempty"` CertArn string `json:"certArn,omitempty"` OAuthClientId string `json:"oAuthClientId,omitempty"` OAuthClientSecret string `json:"oAuthClientSecret,omitempty"` }
func (*OIDC) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OIDC.
func (*OIDC) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectStorageConfig ¶
type ObjectStorageConfig struct { Endpoint string `json:"endpoint,omitempty"` Region string `json:"region,omitempty"` Bucket string `json:"bucket,omitempty"` PathPrefix string `json:"pathPrefix,omitempty"` }
func (*ObjectStorageConfig) DeepCopy ¶
func (in *ObjectStorageConfig) DeepCopy() *ObjectStorageConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectStorageConfig.
func (*ObjectStorageConfig) DeepCopyInto ¶
func (in *ObjectStorageConfig) DeepCopyInto(out *ObjectStorageConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RelationDatabaseConfig ¶
type RelationDatabaseConfig struct { Host string `json:"host,omitempty"` Port *int `json:"port,omitempty"` Database string `json:"database,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` }
func (*RelationDatabaseConfig) DeepCopy ¶
func (in *RelationDatabaseConfig) DeepCopy() *RelationDatabaseConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RelationDatabaseConfig.
func (*RelationDatabaseConfig) DeepCopyInto ¶
func (in *RelationDatabaseConfig) DeepCopyInto(out *RelationDatabaseConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.