Documentation ¶
Overview ¶
Copyright 2022 Google LLC. All Rights Reserved.
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.
Copyright 2022 Google LLC. All Rights Reserved.
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.
Copyright 2022 Google LLC. All Rights Reserved.
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.
Copyright 2022 Google LLC. All Rights Reserved.
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.
Copyright 2022 Google LLC. All Rights Reserved.
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.
Copyright 2022 Google LLC. All Rights Reserved.
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.
Index ¶
- func ApplyEndpoint(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyEndpointTrafficSplit(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyMetadataSchema(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyMetadataStore(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyModel(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyModelDeployment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func DeleteEndpoint(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteEndpointTrafficSplit(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteMetadataSchema(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteMetadataStore(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteModel(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteModelDeployment(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func EndpointHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func EndpointID(u *unstructured.Resource) (string, error)
- func EndpointToUnstructured(r *dclService.Endpoint) *unstructured.Resource
- func EndpointTrafficSplitHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func EndpointTrafficSplitID(u *unstructured.Resource) (string, error)
- func EndpointTrafficSplitToUnstructured(r *dclService.EndpointTrafficSplit) *unstructured.Resource
- func GetEndpoint(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetEndpointTrafficSplit(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetMetadataSchema(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetMetadataStore(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetModel(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetModelDeployment(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func ListEndpoint(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func ListMetadataSchema(ctx context.Context, config *dcl.Config, project string, location string, ...) ([]*unstructured.Resource, error)
- func ListMetadataStore(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func ListModel(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func ListModelDeployment(ctx context.Context, config *dcl.Config, project string, location string, ...) ([]*unstructured.Resource, error)
- func MetadataSchemaHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func MetadataSchemaID(u *unstructured.Resource) (string, error)
- func MetadataSchemaToUnstructured(r *dclService.MetadataSchema) *unstructured.Resource
- func MetadataStoreHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func MetadataStoreID(u *unstructured.Resource) (string, error)
- func MetadataStoreToUnstructured(r *dclService.MetadataStore) *unstructured.Resource
- func ModelDeploymentHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func ModelDeploymentID(u *unstructured.Resource) (string, error)
- func ModelDeploymentToUnstructured(r *dclService.ModelDeployment) *unstructured.Resource
- func ModelHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func ModelID(u *unstructured.Resource) (string, error)
- func ModelToUnstructured(r *dclService.Model) *unstructured.Resource
- func UnstructuredToEndpoint(u *unstructured.Resource) (*dclService.Endpoint, error)
- func UnstructuredToEndpointTrafficSplit(u *unstructured.Resource) (*dclService.EndpointTrafficSplit, error)
- func UnstructuredToMetadataSchema(u *unstructured.Resource) (*dclService.MetadataSchema, error)
- func UnstructuredToMetadataStore(u *unstructured.Resource) (*dclService.MetadataStore, error)
- func UnstructuredToModel(u *unstructured.Resource) (*dclService.Model, error)
- func UnstructuredToModelDeployment(u *unstructured.Resource) (*dclService.ModelDeployment, error)
- type Endpoint
- func (r *Endpoint) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Endpoint) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Endpoint) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Endpoint) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Endpoint) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Endpoint) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Endpoint) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Endpoint) ID(resource *unstructured.Resource) (string, error)
- func (r *Endpoint) STV() unstructured.ServiceTypeVersion
- func (r *Endpoint) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Endpoint) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Endpoint) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type EndpointTrafficSplit
- func (r *EndpointTrafficSplit) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *EndpointTrafficSplit) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *EndpointTrafficSplit) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *EndpointTrafficSplit) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *EndpointTrafficSplit) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *EndpointTrafficSplit) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *EndpointTrafficSplit) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *EndpointTrafficSplit) ID(resource *unstructured.Resource) (string, error)
- func (r *EndpointTrafficSplit) STV() unstructured.ServiceTypeVersion
- func (r *EndpointTrafficSplit) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *EndpointTrafficSplit) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *EndpointTrafficSplit) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type MetadataSchema
- func (r *MetadataSchema) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *MetadataSchema) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *MetadataSchema) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *MetadataSchema) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *MetadataSchema) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *MetadataSchema) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *MetadataSchema) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *MetadataSchema) ID(resource *unstructured.Resource) (string, error)
- func (r *MetadataSchema) STV() unstructured.ServiceTypeVersion
- func (r *MetadataSchema) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *MetadataSchema) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *MetadataSchema) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type MetadataStore
- func (r *MetadataStore) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *MetadataStore) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *MetadataStore) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *MetadataStore) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *MetadataStore) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *MetadataStore) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *MetadataStore) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *MetadataStore) ID(resource *unstructured.Resource) (string, error)
- func (r *MetadataStore) STV() unstructured.ServiceTypeVersion
- func (r *MetadataStore) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *MetadataStore) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *MetadataStore) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type Model
- func (r *Model) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Model) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Model) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Model) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Model) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Model) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Model) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Model) ID(resource *unstructured.Resource) (string, error)
- func (r *Model) STV() unstructured.ServiceTypeVersion
- func (r *Model) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Model) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Model) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type ModelDeployment
- func (r *ModelDeployment) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ModelDeployment) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *ModelDeployment) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *ModelDeployment) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *ModelDeployment) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *ModelDeployment) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ModelDeployment) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *ModelDeployment) ID(resource *unstructured.Resource) (string, error)
- func (r *ModelDeployment) STV() unstructured.ServiceTypeVersion
- func (r *ModelDeployment) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ModelDeployment) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ModelDeployment) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyEndpoint ¶
func ApplyEndpoint(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyEndpointTrafficSplit ¶
func ApplyEndpointTrafficSplit(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyMetadataSchema ¶
func ApplyMetadataSchema(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyMetadataStore ¶
func ApplyMetadataStore(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyModel ¶
func ApplyModel(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyModelDeployment ¶
func ApplyModelDeployment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func DeleteEndpoint ¶
func DeleteMetadataSchema ¶
func DeleteMetadataStore ¶
func DeleteModel ¶
func DeleteModelDeployment ¶
func EndpointHasDiff ¶
func EndpointHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func EndpointID ¶
func EndpointID(u *unstructured.Resource) (string, error)
func EndpointToUnstructured ¶
func EndpointToUnstructured(r *dclService.Endpoint) *unstructured.Resource
func EndpointTrafficSplitHasDiff ¶
func EndpointTrafficSplitHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func EndpointTrafficSplitID ¶
func EndpointTrafficSplitID(u *unstructured.Resource) (string, error)
func EndpointTrafficSplitToUnstructured ¶
func EndpointTrafficSplitToUnstructured(r *dclService.EndpointTrafficSplit) *unstructured.Resource
func GetEndpoint ¶
func GetEndpoint(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetEndpointTrafficSplit ¶
func GetEndpointTrafficSplit(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetMetadataSchema ¶
func GetMetadataSchema(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetMetadataStore ¶
func GetMetadataStore(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetModel ¶
func GetModel(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetModelDeployment ¶
func GetModelDeployment(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func ListEndpoint ¶
func ListMetadataSchema ¶
func ListMetadataStore ¶
func ListModelDeployment ¶
func MetadataSchemaHasDiff ¶
func MetadataSchemaHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func MetadataSchemaID ¶
func MetadataSchemaID(u *unstructured.Resource) (string, error)
func MetadataSchemaToUnstructured ¶
func MetadataSchemaToUnstructured(r *dclService.MetadataSchema) *unstructured.Resource
func MetadataStoreHasDiff ¶
func MetadataStoreHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func MetadataStoreID ¶
func MetadataStoreID(u *unstructured.Resource) (string, error)
func MetadataStoreToUnstructured ¶
func MetadataStoreToUnstructured(r *dclService.MetadataStore) *unstructured.Resource
func ModelDeploymentHasDiff ¶
func ModelDeploymentHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func ModelDeploymentID ¶
func ModelDeploymentID(u *unstructured.Resource) (string, error)
func ModelDeploymentToUnstructured ¶
func ModelDeploymentToUnstructured(r *dclService.ModelDeployment) *unstructured.Resource
func ModelHasDiff ¶
func ModelHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func ModelToUnstructured ¶
func ModelToUnstructured(r *dclService.Model) *unstructured.Resource
func UnstructuredToEndpoint ¶
func UnstructuredToEndpoint(u *unstructured.Resource) (*dclService.Endpoint, error)
func UnstructuredToEndpointTrafficSplit ¶
func UnstructuredToEndpointTrafficSplit(u *unstructured.Resource) (*dclService.EndpointTrafficSplit, error)
func UnstructuredToMetadataSchema ¶
func UnstructuredToMetadataSchema(u *unstructured.Resource) (*dclService.MetadataSchema, error)
func UnstructuredToMetadataStore ¶
func UnstructuredToMetadataStore(u *unstructured.Resource) (*dclService.MetadataStore, error)
func UnstructuredToModel ¶
func UnstructuredToModel(u *unstructured.Resource) (*dclService.Model, error)
func UnstructuredToModelDeployment ¶
func UnstructuredToModelDeployment(u *unstructured.Resource) (*dclService.ModelDeployment, error)
Types ¶
type Endpoint ¶
type Endpoint struct{}
func (*Endpoint) Apply ¶
func (r *Endpoint) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*Endpoint) DeletePolicyMember ¶
func (r *Endpoint) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*Endpoint) Get ¶
func (r *Endpoint) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Endpoint) GetPolicy ¶
func (r *Endpoint) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Endpoint) GetPolicyMember ¶
func (*Endpoint) STV ¶
func (r *Endpoint) STV() unstructured.ServiceTypeVersion
func (*Endpoint) SetPolicy ¶
func (r *Endpoint) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*Endpoint) SetPolicyMember ¶
func (r *Endpoint) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*Endpoint) SetPolicyWithEtag ¶
func (r *Endpoint) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type EndpointTrafficSplit ¶
type EndpointTrafficSplit struct{}
func (*EndpointTrafficSplit) Apply ¶
func (r *EndpointTrafficSplit) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*EndpointTrafficSplit) Delete ¶
func (r *EndpointTrafficSplit) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*EndpointTrafficSplit) DeletePolicyMember ¶
func (r *EndpointTrafficSplit) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*EndpointTrafficSplit) Get ¶
func (r *EndpointTrafficSplit) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*EndpointTrafficSplit) GetPolicy ¶
func (r *EndpointTrafficSplit) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*EndpointTrafficSplit) GetPolicyMember ¶
func (r *EndpointTrafficSplit) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*EndpointTrafficSplit) HasDiff ¶
func (r *EndpointTrafficSplit) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*EndpointTrafficSplit) ID ¶
func (r *EndpointTrafficSplit) ID(resource *unstructured.Resource) (string, error)
func (*EndpointTrafficSplit) STV ¶
func (r *EndpointTrafficSplit) STV() unstructured.ServiceTypeVersion
func (*EndpointTrafficSplit) SetPolicy ¶
func (r *EndpointTrafficSplit) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*EndpointTrafficSplit) SetPolicyMember ¶
func (r *EndpointTrafficSplit) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*EndpointTrafficSplit) SetPolicyWithEtag ¶
func (r *EndpointTrafficSplit) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type MetadataSchema ¶
type MetadataSchema struct{}
func (*MetadataSchema) Apply ¶
func (r *MetadataSchema) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*MetadataSchema) Delete ¶
func (r *MetadataSchema) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*MetadataSchema) DeletePolicyMember ¶
func (r *MetadataSchema) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*MetadataSchema) Get ¶
func (r *MetadataSchema) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*MetadataSchema) GetPolicy ¶
func (r *MetadataSchema) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*MetadataSchema) GetPolicyMember ¶
func (r *MetadataSchema) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*MetadataSchema) HasDiff ¶
func (r *MetadataSchema) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*MetadataSchema) ID ¶
func (r *MetadataSchema) ID(resource *unstructured.Resource) (string, error)
func (*MetadataSchema) STV ¶
func (r *MetadataSchema) STV() unstructured.ServiceTypeVersion
func (*MetadataSchema) SetPolicy ¶
func (r *MetadataSchema) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*MetadataSchema) SetPolicyMember ¶
func (r *MetadataSchema) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*MetadataSchema) SetPolicyWithEtag ¶
func (r *MetadataSchema) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type MetadataStore ¶
type MetadataStore struct{}
func (*MetadataStore) Apply ¶
func (r *MetadataStore) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*MetadataStore) Delete ¶
func (r *MetadataStore) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*MetadataStore) DeletePolicyMember ¶
func (r *MetadataStore) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*MetadataStore) Get ¶
func (r *MetadataStore) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*MetadataStore) GetPolicy ¶
func (r *MetadataStore) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*MetadataStore) GetPolicyMember ¶
func (r *MetadataStore) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*MetadataStore) HasDiff ¶
func (r *MetadataStore) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*MetadataStore) ID ¶
func (r *MetadataStore) ID(resource *unstructured.Resource) (string, error)
func (*MetadataStore) STV ¶
func (r *MetadataStore) STV() unstructured.ServiceTypeVersion
func (*MetadataStore) SetPolicy ¶
func (r *MetadataStore) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*MetadataStore) SetPolicyMember ¶
func (r *MetadataStore) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*MetadataStore) SetPolicyWithEtag ¶
func (r *MetadataStore) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type Model ¶
type Model struct{}
func (*Model) Apply ¶
func (r *Model) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*Model) DeletePolicyMember ¶
func (r *Model) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*Model) Get ¶
func (r *Model) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Model) GetPolicy ¶
func (r *Model) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Model) GetPolicyMember ¶
func (*Model) STV ¶
func (r *Model) STV() unstructured.ServiceTypeVersion
func (*Model) SetPolicy ¶
func (r *Model) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*Model) SetPolicyMember ¶
func (r *Model) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*Model) SetPolicyWithEtag ¶
func (r *Model) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type ModelDeployment ¶
type ModelDeployment struct{}
func (*ModelDeployment) Apply ¶
func (r *ModelDeployment) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*ModelDeployment) Delete ¶
func (r *ModelDeployment) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*ModelDeployment) DeletePolicyMember ¶
func (r *ModelDeployment) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*ModelDeployment) Get ¶
func (r *ModelDeployment) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*ModelDeployment) GetPolicy ¶
func (r *ModelDeployment) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*ModelDeployment) GetPolicyMember ¶
func (r *ModelDeployment) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*ModelDeployment) HasDiff ¶
func (r *ModelDeployment) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*ModelDeployment) ID ¶
func (r *ModelDeployment) ID(resource *unstructured.Resource) (string, error)
func (*ModelDeployment) STV ¶
func (r *ModelDeployment) STV() unstructured.ServiceTypeVersion
func (*ModelDeployment) SetPolicy ¶
func (r *ModelDeployment) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*ModelDeployment) SetPolicyMember ¶
func (r *ModelDeployment) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*ModelDeployment) SetPolicyWithEtag ¶
func (r *ModelDeployment) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)