-
Notifications
You must be signed in to change notification settings - Fork 88
/
fabricoperatorapiauth.go
64 lines (56 loc) · 3.05 KB
/
fabricoperatorapiauth.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
* Copyright Kungfusoftware.es. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1alpha1
// FabricOperatorAPIAuthApplyConfiguration represents an declarative configuration of the FabricOperatorAPIAuth type for use
// with apply.
type FabricOperatorAPIAuthApplyConfiguration struct {
OIDCJWKS *string `json:"oidcJWKS,omitempty"`
OIDCIssuer *string `json:"oidcIssuer,omitempty"`
OIDCAuthority *string `json:"oidcAuthority,omitempty"`
OIDCClientId *string `json:"oidcClientId,omitempty"`
OIDCScope *string `json:"oidcScope,omitempty"`
}
// FabricOperatorAPIAuthApplyConfiguration constructs an declarative configuration of the FabricOperatorAPIAuth type for use with
// apply.
func FabricOperatorAPIAuth() *FabricOperatorAPIAuthApplyConfiguration {
return &FabricOperatorAPIAuthApplyConfiguration{}
}
// WithOIDCJWKS sets the OIDCJWKS field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the OIDCJWKS field is set to the value of the last call.
func (b *FabricOperatorAPIAuthApplyConfiguration) WithOIDCJWKS(value string) *FabricOperatorAPIAuthApplyConfiguration {
b.OIDCJWKS = &value
return b
}
// WithOIDCIssuer sets the OIDCIssuer field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the OIDCIssuer field is set to the value of the last call.
func (b *FabricOperatorAPIAuthApplyConfiguration) WithOIDCIssuer(value string) *FabricOperatorAPIAuthApplyConfiguration {
b.OIDCIssuer = &value
return b
}
// WithOIDCAuthority sets the OIDCAuthority field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the OIDCAuthority field is set to the value of the last call.
func (b *FabricOperatorAPIAuthApplyConfiguration) WithOIDCAuthority(value string) *FabricOperatorAPIAuthApplyConfiguration {
b.OIDCAuthority = &value
return b
}
// WithOIDCClientId sets the OIDCClientId field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the OIDCClientId field is set to the value of the last call.
func (b *FabricOperatorAPIAuthApplyConfiguration) WithOIDCClientId(value string) *FabricOperatorAPIAuthApplyConfiguration {
b.OIDCClientId = &value
return b
}
// WithOIDCScope sets the OIDCScope field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the OIDCScope field is set to the value of the last call.
func (b *FabricOperatorAPIAuthApplyConfiguration) WithOIDCScope(value string) *FabricOperatorAPIAuthApplyConfiguration {
b.OIDCScope = &value
return b
}