Versions in this module Expand all Collapse all v0 v0.1.1 Nov 19, 2024 v0.1.0 Nov 18, 2024 Changes in this version + func DeleteValsSecret(ctx context.Context, client dynamic.Interface, secretName string, ...) error + func New(version string) func() provider.Provider + func NewSecretDataSource() datasource.DataSource + func NewValsSecretDataSource() datasource.DataSource + func NewValsSecretResource() resource.Resource + type DataSource struct + Encoding string + Ref string + type Database struct + Driver string + Hosts []string + LoginCredentials DatabaseLoginCredentials + PasswordKey string + Port int + UserHost string + UsernameKey string + type DatabaseLoginCredentials struct + Namespace string + PasswordKey string + SecretName string + UsernameKey string + type KubeClientsets interface + AggregatorClientset func() (*aggregator.Clientset, error) + DiscoveryClient func() (discovery.DiscoveryInterface, error) + DynamicClient func() (dynamic.Interface, error) + MainClientset func() (*kubernetes.Clientset, error) + RestClientConfig func() (*restclient.Config, error) + type SecretDataSource struct + func (d *SecretDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...) + func (d *SecretDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...) + func (d *SecretDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse) + func (d *SecretDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...) + type SecretDataSourceModel struct + BinaryData types.String + Data types.String + Name types.String + Namespace types.String + Type types.String + type TfDataSource struct + Encoding types.String + Key types.String + Ref types.String + type TfTemplateSource struct + Name types.String + Value types.String + type ValsOperatorProvider struct + func (p *ValsOperatorProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...) + func (p *ValsOperatorProvider) DataSources(ctx context.Context) []func() datasource.DataSource + func (p *ValsOperatorProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...) + func (p *ValsOperatorProvider) Resources(ctx context.Context) []func() resource.Resource + func (p *ValsOperatorProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse) + type ValsOperatorProviderModel struct + ClientCertificate types.String + ClientKey types.String + ClusterCACertificate types.String + ConfigContext types.String + ConfigContextAuthInfo types.String + ConfigContextCluster types.String + ConfigPath types.String + ConfigPaths []types.String + Exec []struct{ ... } + Host types.String + IgnoreAnnotations types.List + IgnoreLabels types.List + Insecure types.Bool + Password types.String + ProxyURL types.String + TLSServerName types.String + Token types.String + Username types.String + type ValsSecret struct + Spec ValsSecretSpec + Status ValsSecretStatus + func CreateValsSecret(ctx context.Context, client dynamic.Interface, plan ValsSecretResourceModel) (*ValsSecret, error) + func GetValsSecret(ctx context.Context, client dynamic.Interface, secretName string, ...) (*ValsSecret, error) + type ValsSecretDataSource struct + func (d *ValsSecretDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...) + func (d *ValsSecretDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...) + func (d *ValsSecretDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse) + func (d *ValsSecretDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...) + type ValsSecretDataSourceModel struct + Data []TfDataSource + Name types.String + Namespace types.String + Template []TfTemplateSource + Ttl types.Int64 + Type types.String + type ValsSecretReference struct + Encoding string + Name string + Ref string + type ValsSecretResource struct + func (r *ValsSecretResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...) + func (r *ValsSecretResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse) + func (r *ValsSecretResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse) + func (r *ValsSecretResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...) + func (r *ValsSecretResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...) + func (r *ValsSecretResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse) + func (r *ValsSecretResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse) + func (r *ValsSecretResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse) + type ValsSecretResourceModel struct + Name types.String + Namespace types.String + SecretRef []ValsSecretReference + Template []ValsSecretTemplate + Ttl types.Int64 + Type types.String + type ValsSecretSpec struct + Data map[string]DataSource + Databases []Database + Name string + TTL int64 + Template map[string]string + Type string + type ValsSecretStatus struct + type ValsSecretTemplate struct + Name string + Value string